Trying to get back to stock ROM - Sony Xperia XZ1 Compact Questions & Answers

Hey guys,
Today I messed up with TWRP and accidentally deleted the data partition.
I had used janjan's solution like a year ago to get magisk (I'm assuming my DRM keys are gone), and my BL is also unlocked.
Sadly, my phone booted to the new setup wizard, and now magisk is not working.
I'm desperately trying to get back to stock ROM in order to get root again and have a custom kernel or some other custom ROM instead.
I'm not sure if that is possible any longer, I tried using newflasher (v19) to flash into stock but sadly it didn't recognize the phone.
I'm kinda lost, and I would love if someone would help and point me in some direction in order to get things working again.
Current situation is I'm on firmware 47.1.A.12.179, and cannot simply update it through fota (it won't install), magisk isn't working, but the phone does connect to google play store and functions 'normally' (without root though).
If anyone has any idea of what I could do next, that would be supreme.
Thanks for your time!

Use EMMA.

Thanks! I'll update with details
Edit: Amazing mate! This worked! My camera is back!
So many many many thanks

Just came here to say thanks. Spend few hours trying to install drivers when I actually mistook flash mode with fastboot mode lol

Hi, I have an xz1 compact with bootloader unlocked and root with custom rom installed (AEX rom). can i use emma to restore android 9 stock?
Thank you

AciDBorN said:
Hi, I have an xz1 compact with bootloader unlocked and root with custom rom installed (AEX rom). can i use emma to restore android 9 stock?
Thank you
Click to expand...
Click to collapse
Can someone help me? Thank you

AciDBorN said:
can i use emma to restore android 9 stock?
Click to expand...
Click to collapse
Yes.

SXUsr said:
Yes.
Click to expand...
Click to collapse
Thank you

Hello
Tried to restore to stock ROM from EMMA, worked like a charm... But I can't ReLock back the bootloader.
Any advice?

It's not possible to relock the XZ1C's bootloader.

Related

Brick every custom rom flash

I have followed the rooting, backup (drm keys), flash new firmware etc etc procedure. However every time i flash a custom rom and reboot it goes into brick. I mean no bootloop just flashing red led when on charger, i cant even get to recovery to restore.
then i have to do
Flash .105 kitkat stock firmware>giefroot>dualrecovery install.bat>flash new pre rooted firmware>try flashing custom rom again>BRICK>(return to start)^
i have unlocked bootloader, everything done, even when i try and restore drm keys i get bricked.
i have currently given up on custom roms and im living with crap camera, no custom rom.....nothing.
please help, send food n water
Help please
:crying:
Did you find a solution for this.this? I have the same problem. I don't know what to do.
thefanofmusic said:
Did you find a solution for this.this? I have the same problem. I don't know what to do.
Click to expand...
Click to collapse
This was a year old post, but I did manage to fix it, flash stock pre rooted firmwares, then u have lollipop rooted. It was my bootloader was locked or something
xpzx said:
This was a year old post, but I did manage to fix it, flash stock pre rooted firmwares, then u have lollipop rooted. It was my bootloader was locked or something
Click to expand...
Click to collapse
Oh OK. Thanks for replying . Damn but my bootloader is unlocked. No idea what I should do.

Soft brick on every custom rom

Hi guys.
Well I am very confused about this. I don't know how to fix it and it locks like there is not a alot of people who had the same problem.
I rooted the device, backed up drm keys, unlocked bootloader.
So and now if I want to install custom roms it installs them but as soon as I reboot it is soft bricked.
I tried it with resurrecting remix lollipop and marshmallow.
I would appreciate it if you could help me.
Thanks
thefanofmusic said:
Hi guys.
Well I am very confused about this. I don't know how to fix it and it locks like there is not a alot of people who had the same problem.
I rooted the device, backed up drm keys, unlocked bootloader.
So and now if I want to install custom roms it installs them but as soon as I reboot it is soft bricked.
I tried it with resurrecting remix lollipop and marshmallow.
I would appreciate it if you could help me.
Thanks
Click to expand...
Click to collapse
Are you sure that your phone can be unlocked? some can't.
You've done the right thing backing up your TA partition.
With an unlocked phone, after you've flashed the rom you will need to flash a kernel .img in flashtool or it won't boot.
I've never tried to unlock my bootloader, so I'm not sure I can give much advice.
Perhaps someone who's got a CM rom working can help?
Didgesteve said:
Are you sure that your phone can be unlocked? some can't.
You've done the right thing backing up your TA partition.
With an unlocked phone, after you've flashed the rom you will need to flash a kernel .img in flashtool or it won't boot.
I've never tried to unlock my bootloader, so I'm not sure I can give much advice.
Perhaps someone who's got a CM rom working can help?
Click to expand...
Click to collapse
Yes it is already unlocked. I looked it up.
Maybe it is kernel which is missing but before I never needed to flash a kernel and the custom Rom. I mean on other Sony devices.
I really need help. I don't know how to solve this.
Have you tried flashing boot.img using fastboot flash boot boot.img command?
mrrflagg said:
Have you tried flashing boot.img using fastboot flash boot boot.img command?
Click to expand...
Click to collapse
Yeah I thought about it to. Will try it later. But why can't I just flash it like a regular zip file

CyanogenMod Problem

I flashed my phone with CyanogenMod13, completely not knowing what I was doing. I realized there were a few bugs on CM13 like my camera not working and things like that so I want to go back to stock Marshmallow 6.0.1 so I can have FOTA and a fully functioning phone. I know it was pretty silly of me to actually attempt this without consideration but could anyone help me out on getting back?
I have a Z5 Compact E5823.
Thanks.
Just download flashtool, stock firmware and flash it
btw. It's Xperia Z section, not Z5
Thanks man, sorry about the wrong section.
Will I be able to flash stock rom and receive OTA updates? My bootloader is currently unlocked.
I have already tried flashing before and I am getting random errors each time, with all drivers downloaded properly.
I flashed it with Emma last night and it took me to 5.1.1, and I cant receive any updates, so what am I doing wrong?
I want to go back to stock rom with OTA updates, although CyanogenMod13 was great.
MattyCurrann said:
Thanks man, sorry about the wrong section.
Will I be able to flash stock rom and receive OTA updates? My bootloader is currently unlocked.
I have already tried flashing before and I am getting random errors each time, with all drivers downloaded properly.
I flashed it with Emma last night and it took me to 5.1.1, and I cant receive any updates, so what am I doing wrong?
I want to go back to stock rom with OTA updates, although CyanogenMod13 was great.
Click to expand...
Click to collapse
Nope, OTA not working on unlocked bootloader, this can brick your phone
How can I lock my bootloader? Or do you think its recommended I keep the bootloader unlocked?
I just wanted to go back to stock rom for OTA updates thats all.
Many thanks.
MattyCurrann said:
How can I lock my bootloader? Or do you think its recommended I keep the bootloader unlocked?
I just wanted to go back to stock rom for OTA updates thats all.
Many thanks.
Click to expand...
Click to collapse
Do you have TA partition backup? If no, it's not posible to relock bootloader
Kuciak said:
Do you have TA partition backup? If no, it's not posible to relock bootloader
Click to expand...
Click to collapse
I don't even know what that is lol. I should've done research in advance before proceeding to unlock my bootloader. I did make a backup of everything though, I used a tutorial, I used TWRP to backup stuff, or something like that?
Also, is there no way to receive OTA updates now that my bootloader is unlocked? Will flashing stock rom not allow me to receive OTA updates?
Thanks for your ongoing support btw, really stressing me out lol.

Reverto to stock after root and custom Rom

Hi all. I would like to revert the phone to stock after root and custom rom. Ther's a guide? I can't find anything on the forum. Thanks at all.
I think you just flash the stock firmware over what you have.
StoneyJSG said:
I think you just flash the stock firmware over what you have.
Click to expand...
Click to collapse
Thank's! So, no warry bout unlocked bootloader?
You might want to relock it first, but I don't think it matters. I am not sure though. Just basing this off my time with the S3 and S4 back in the day. With those phones it didn't matter. The S10 line are newer so it might with them.
rubino25 said:
Hi all. I would like to revert the phone to stock after root and custom rom. Ther's a guide? I can't find anything on the forum. Thanks at all.
Click to expand...
Click to collapse
I presume you want the boot screens to revert to normal without the Bootloader Unlocked warning screen.
If so, see my post HERE
robbo1947 said:
I presume you want the boot screens to revert to normal without the Bootloader Unlocked warning screen.
If so, see my post HERE
Click to expand...
Click to collapse
I am on lineage os (Ivan_Meler) not rooted
under the developer there is no OEM option showing. My bootloader is unlocked, recovery is TWRP.
how can i goo back to stock ?
Just to be sure: Before I flash a custom firmware on a S10(+,e) like lineage, there is nothing to back up like DRM keys or certificates? (I had SONY phones before. If you reverted to stock on those some SONY apps would not work anymore if you did not backup the DRM keys).
Hello guys,
Similar question what is the procedure when I want S10e with flashed custom rom (TWRP Recovery), rooted and unlocked bootloader to return to stock firmware?

Help recovering XZ3 device please!!

Hello All,
I have not posted on here for MANY years, but I need your help and advice!!
I have a Xperia XZ3 and I was trying to upgrate it to an Android 11 ROM.
I have unlocked the boot loader, and tried to flash TWRP to it, but now when the phone boots, it goes straight in to TWRP and I cannot get it to do anything other then enter TWRP.
How can I solve this issue?
Thanks.
Nick
Flash original rom with newflasher
irfanbd94 said:
Flash original rom with newflasher
Click to expand...
Click to collapse
Thanks. I found that. I am running a restore now.
thanks again. Nick

Categories

Resources