[Q] Flash stock recovery - Xperia Z3 Q&A, Help & Troubleshooting

Hey guys, yesterday I rooted my phone using KingRoot and XZRecovery to flash Super SU and now I want to flash back the stock recovery again because I want install future system updates without problems.
How can I flash it again? (I have my bootloader locked)

kapucho19 said:
Hey guys, yesterday I rooted my phone using KingRoot and XZRecovery to flash Super SU and now I want to flash back the stock recovery again because I want install future system updates without problems.
How can I flash it again? (I have my bootloader locked)
Click to expand...
Click to collapse
There is no accessible stock recovery on Xperia phones, the actual recovery partition will still be there. Dual recovery is installed on the system partition.
If your bootloader is locked you will be able to OTA, but you will lose root. The best thing to do is flash a pre-rooted flashable zip in the dual recovery you have. As soon as there is an update you can make a new pre-rooted flashable zip using PRFCreator.

Related

[Q] Request

I rooted my ville c2 and installed twrp. And after that i downloaded OTA 4.1.1 and clicked the install button. But it ended up in twrp. And i can't even flash the ota.zip through twrp and fastboot. It always said error. status 7... So somebody show me a way and if you have stock recovery.img, share it please.
Little K said:
I rooted my ville c2 and installed twrp. And after that i downloaded OTA 4.1.1 and clicked the install button. But it ended up in twrp. And i can't even flash the ota.zip through twrp and fastboot. It always said error. status 7... So somebody show me a way and if you have stock recovery.img, share it please.
Click to expand...
Click to collapse
you need the stock recovery for installing OTAs,
flash the stock recovery and install the OTA (you dont need to relock your bootloader)
after installing the OTA you can flash your custom recovery back again.
It could be that you will loose your root after installing the OTA so you have to root your phone again.
I dont have any experience with root-keeper etc. so I cant tell you anything about it.
you will find the stock recovery for the One S C2 here:
http://forum.xda-developers.com/showpost.php?p=28087059&postcount=18

How to flash OTA update on rooted phone with custom recovery?

Trying to flash 5.0 OTA from 4.4.4 without losing data on Nexus 5.
I don't know how to remove custom recovery so I can sideload the OTA zip in the stock recovery. It keeps loading into TWRP instead.
Can someone explain step by step how I flash the factory recovery.img?
That's not even possible (as far as I know)...
XDA Visitor said:
Trying to flash 5.0 OTA from 4.4.4 without losing data on Nexus 5.
I don't know how to remove custom recovery so I can sideload the OTA zip in the stock recovery. It keeps loading into TWRP instead.
Can someone explain step by step how I flash the factory recovery.img?
Click to expand...
Click to collapse
Removing a custom recovery while preserving data is not possible, you should backup all your data, remove the custom recovery, flash 5.0 and then restore your custom recovery.
Are you using the Nexus Root Toolkit? It's incredibly easy and I use it for almost all my flashing, rooting, etc.
You can't apply an OTA on a rooted phone. On Kitkat and before you could end up in a boot loop. After Lollipop the OTA changed to system-level verification, and any change to the ROM stopped the OTA - all you get is a reboot to an unchanged system.
In any case, major ROM jumps usually work best with a total wipe and clean install of the new ROM. somerandomatoms is right - back up and install the new ROM. But why go to 5? You may as well go straight to 6.0.1.

[Q] Update to Lollipop without USB and with root

Hi, my N5 has a problem, it has the USB port broken so i can't connect it to the PC. It now has KitKat 4.4.4.
Here is my problem:
I want to update to Lollipop but i can't do it with Factory image and/or Sideload because the USB problem.
I tried to "unroot" but i couldn't do it right, i've downloaded the 5.0 OTA and my phone rebooted with a red triangle and it said "error" i know this is because i still keep my phone rooted.
So i would like to know 2 things:
1) How do i unroot definitely? because i did it before but it seems it didn't do right, i clicked "unroot" on SuperSU (i read that sometimes when you press "unroot" it doesn't erase all the folders and files so you have to do by your own, but what files and what folders are they?)
2) If i unroot and i if update to Lollipop, can i be root without using the USB port?
Of you're rooted, why would you want the stock ota anyway? There are PLENTY of 5.0 Roms in the development section with custom kernels (custom kernels are needed in 5.0 lollipop for root). Flash one of those in recovery. Make sure you have the latest TWRP which you can flash with flashify if you can't fastboot flash using USB.
Sent from my Nexus 5 using xda premium
Pain-N-Panic said:
Of you're rooted, why would you want the stock ota anyway? There are PLENTY of 5.0 Roms in the development section with custom kernels (custom kernels are needed in 5.0 lollipop for root). Flash one of those in recovery. Make sure you have the latest TWRP which you can flash with flashify if you can't fastboot flash using USB.
Sent from my Nexus 5 using xda premium
Click to expand...
Click to collapse
Is really needed to flash a custom kernel to get root on Lollipop? I'm asking because in this thread [ROM] [STOCK] Android 5.0 LRX21O - Stock/Flashable (11/12/14) FAQ nº 2 it says:
Q: How do I get root?
A: If you want to keep the stock kernel, use CF-Auto-Root. If you flash a custom kernel, just flash the newest SuperSU ZIP afterwards.
Click to expand...
Click to collapse
So i understand that we can have root with stock kernel, is this ok or did i misunderstood something?
If i want to flash a custom kernel, where can i get "SuperSU" Zip to get root? and does it need to clean something after or before flashing this file? caché, data, etc?
Yes CF AUTO ROOT will allow your to root the stock image. However since youre already rooted youre running into issues flashing it successfully. I attached the SU zip below. My recomendation is if you want the stock ota image, download it from the developer thread, flash francos custim kernel for lollipop ans then flash the root zip i have attached below. I would complete a full wipe of system, data, and both caches (not internal storage or you will lose all on sd card) before flashing. Once you wipe just flash the the rom, kernel and root zip in that order.
Pain-N-Panic said:
Yes CF AUTO ROOT will allow your to root the stock image. However since youre already rooted youre running into issues flashing it successfully. I attached the SU zip below. My recomendation is if you want the stock ota image, download it from the developer thread, flash francos custim kernel for lollipop ans then flash the root zip i have attached below. I would complete a full wipe of system, data, and both caches (not internal storage or you will lose all on sd card) before flashing. Once you wipe just flash the the rom, kernel and root zip in that order.
Click to expand...
Click to collapse
Thanks!!!
It worked perfectly!
I tried first with CF AutoRoot but it failed, but it worked with SuperSU.

[Q] Root and custom recovery question

Hello? I was recently s-off, unlocked and using Adrenaline sense 6 lollipop rom.
Yesterday, I went back to stock 4.4.4 using the ruu file. I still have the s-off and unlocked.
Now my questions are..
1. Can I install custom recovery first then root by using supersu.zip file?
2. Or do I need to root first by weaksauce or something then get custom recovery?
You can go straight to installing a custom recovery. From there you can either flash the su binaries to achieve pure stock rooted rom or you could flash any one of the custom roms available which are pre-rooted.

D6603 23.4.A.1.264 Lollipop 5.1.1 downgrade

Hi all i just bought this mobile and i was curious to know if it was possible to install a custom rom.
I saw that the downgrade is the only solution to root and install custom recovery.
In my case i wish to know which file i have to flash with flashtool.
Thanks all
http://forum.xda-developers.com/showthread.php?t=3017056
You just have to follow this Guide...
Gesendet von meinem D6603 mit Tapatalk
My Z3 is totally stock i didn't made any backup and save of DRM TA etc. can i do the downgrade anyway?
Thanks
PdorITA said:
My Z3 is totally stock i didn't made any backup and save of DRM TA etc. can i do the downgrade anyway?
Thanks
Click to expand...
Click to collapse
Yes
Update:
Downgrade --> Done
Root and DualRecovery--> Done
Backup DRM TA --> done
Bootloader Unlock --> Done
I'm trying to flash custom room rebooting in Teamwin recovery the flash goes perfect but after when i reboot the Z3 it goes in boot loop and i can enter only in the recovery the Z3 won't start at all.
I've tryied with 2 custom ROm and the original rom lollipop rooted and patched.
What i do wrong? I just put the custom rom in the Micro-sd card and i flash it using the teamwin recovery (before i wipe cache and Dalvik). Do i have to flash before the boot.img?
Thanks
PdorITA said:
Update:
Downgrade --> Done
Root and DualRecovery--> Done
Backup DRM TA --> done
Bootloader Unlock --> Done
I'm trying to flash custom room rebooting in Teamwin recovery the flash goes perfect but after when i reboot the Z3 it goes in boot loop and i can enter only in the recovery the Z3 won't start at all.
I've tryied with 2 custom ROm and the original rom lollipop rooted and patched.
What i do wrong? I just put the custom rom in the Micro-sd card and i flash it using the teamwin recovery (before i wipe cache and Dalvik). Do i have to flash before the boot.img?
Thanks
Click to expand...
Click to collapse
You are either flashing an incompatible custom ROM or your boot loader is not unlocked.
Flash a stock FTF again, then goto the dialer and dial *#*#7378423#*#* then goto service info, configuration and post here what it says in the rooting status.
gregbradley said:
You are either flashing an incompatible custom ROM or your boot loader is not unlocked.
Flash a stock FTF again, then goto the dialer and dial *#*#7378423#*#* then goto service info, configuration and post here what it says in the rooting status.
Click to expand...
Click to collapse
Screenshot:
http://dl-1.va.us.xda-developers.com/3/6/5/9/4/7/7/Screenshot_2016-02-25-14-31-22.jpg?key=GrIQDs1awaejgcECU90NhA&ts=1456407354http://
ROM: http://forum.xda-developers.com/z3/development/d6603-23-1-1-28-t3102271
ROM2: http://forum.xda-developers.com/z3/development/rom-existenz-y-1-0-0-02-07-t3148877
PdorITA said:
Screenshot:
http://dl-1.va.us.xda-developers.com/3/6/5/9/4/7/7/Screenshot_2016-02-25-14-31-22.jpg?key=GrIQDs1awaejgcECU90NhA&ts=1456407354http://
ROM: http://forum.xda-developers.com/z3/development/d6603-23-1-1-28-t3102271
ROM2: http://forum.xda-developers.com/z3/development/rom-existenz-y-1-0-0-02-07-t3148877
Click to expand...
Click to collapse
Well, neither of those require an unlocked bootloader, but that should not make a difference.
What boot.img are you flashing, both of those ROMs require a stock kernel.
gregbradley said:
Well, neither of those require an unlocked bootloader, but that should not make a difference.
What boot.img are you flashing, both of those ROMs require a stock kernel.
Click to expand...
Click to collapse
at moment i have a 4.4.4 stock rooted http://dl-1.va.us.xda-developers.com/3/6/5/9/5/7/4/Screenshot_2016-02-25-15-46-09.jpg?key=4YW3-mNtbisUcXLWsSrQ_g&ts=1456411770
Which procedure i have to follow to flash a custom ROM?
i normally copy the rom zip on the external micro SD card
i go to teamwin recovery i do a wipe and after i do install
The install finish and i click on reboot
DO i have to do other steps to flash the stock kernel?
i didn't flash any boot.img and kernel until now
UPDATE
problem solved i flashed the stock 5.1.1 kernel before to flash the rom and the bootloop disappeared.
Now i'm with the custom Mod there is any possibility to restore the DRM functions with the custom rom?
PdorITA said:
at moment i have a 4.4.4 stock rooted http://dl-1.va.us.xda-developers.com/3/6/5/9/5/7/4/Screenshot_2016-02-25-15-46-09.jpg?key=4YW3-mNtbisUcXLWsSrQ_g&ts=1456411770
Which procedure i have to follow to flash a custom ROM?
i normally copy the rom zip on the external micro SD card
i go to teamwin recovery i do a wipe and after i do install
The install finish and i click on reboot
DO i have to do other steps to flash the stock kernel?
i didn't flash any boot.img and kernel until now
UPDATE
problem solved i flashed the stock 5.1.1 kernel before to flash the rom and the bootloop disappeared.
Now i'm with the custom Mod there is any possibility to restore the DRM functions with the custom rom?
Click to expand...
Click to collapse
Well, if you only want to stay on these stock based custom rooms there was no need to unlock the bootloader. You only need that for truly custom rooms like cm or aosp.
If you want these rooms with drm keys then do this.
Restore your T A backup. This will relocate your bootloader
If this results in a boot loop, then flash a stock ftf, and do everything again EXCEPT do not unlock the bootloader this time

Categories

Resources