How to install stock recovery - Sony Xperia XZ1 Compact Questions & Answers

Does anyone know how to remove TWRP and reinstall the stock recovery again without flashing the whole Stock firmware? I'm currently on a LOS 17.1 and want to stay there.
I'd like to test some things (Magisk in this case) with the stock recovery hoping that this solves issues but I flashed TWRP with fastboot and I haven't found a stock recovery img anywhere and couldn't find it in the stock ftf file either

Flamefire said:
Does anyone know how to remove TWRP and reinstall the stock recovery again without flashing the whole Stock firmware? I'm currently on a LOS 17.1 and want to stay there.
I'd like to test some things (Magisk in this case) with the stock recovery hoping that this solves issues but I flashed TWRP with fastboot and I haven't found a stock recovery img anywhere and couldn't find it in the stock ftf file either
Click to expand...
Click to collapse
As far as I know in the latest stock firmware of your phone in the images folder there should be a recovery img file. Flashing that should work.

Thanks for the reply. I checked the ftf file and it has neither a "images" folder nor a recovery.* file but only lots of sin and ta files. Are there other firmwares somewhere which may have them? Doy ou know where to get them? Got the ftf from xperiafirm

Related

[Q] When do I flash boot.img?

Hi.
I've got a problem. In all of the tutorials I read about how to flash ROM:s, it says that I have to flash boot.img through fastboot, then enter recovery and flash the ROM. I can not do this. When I flash the boot.img, I can not enter recovery or anything, I get stuck in a bootloop and have to restore through flashtool. When I flashed Taylor_Swift's 4.3 ROM, I flashed the ROM first and then the boot.img, it worked, I got up and running, but after that I couldn't enter recovery and therefore not obtain root access, making the ROM almost useless because the lack of the Battery Calibration app. Now I want to flash the PAC ROM, but I'm not sure how to do with the boot.img part. If it's relevant I have the lockeddualrecovery as my recovery.
Help please
Grozos said:
Hi.
I've got a problem. In all of the tutorials I read about how to flash ROM:s, it says that I have to flash boot.img through fastboot, then enter recovery and flash the ROM. I can not do this. When I flash the boot.img, I can not enter recovery or anything, I get stuck in a bootloop and have to restore through flashtool. When I flashed Taylor_Swift's 4.3 ROM, I flashed the ROM first and then the boot.img, it worked, I got up and running, but after that I couldn't enter recovery and therefore not obtain root access, making the ROM almost useless because the lack of the Battery Calibration app. Now I want to flash the PAC ROM, but I'm not sure how to do with the boot.img part. If it's relevant I have the lockeddualrecovery as my recovery.
Help please
Click to expand...
Click to collapse
No special order, really, as long as the kernel (boot.img) is fully compatible with the rom.
I'd flash PAC boot.img first though. Flash boot.img, then enter recovery and flash the zip containing the rom information.
Usually you should flash the boot.img that came inside the rom's zip and it should have a recovery,than you will have to install the rom from the recovery.
Don't forget to factory reset/wipe data inside the recovery.
Sent from my C6603 using xda premium

[Q] VZW Dev Ed 4.4.2?

Is there a guide anywhere on how to install 4.4.2 on the Dev Ed phones?
Assume I can just use TWRP for root after updating?
Thanks!
Mercutio5 said:
Is there a guide anywhere on how to install 4.4.2 on the Dev Ed phones?
Assume I can just use TWRP for root after updating?
Thanks!
Click to expand...
Click to collapse
Are you rooted now? If you are rooted, as long as you haven't changed any of the system files you can install the .zip through the stock recovery and you're good to go (you don't lose root).
If you aren't rooted, just install the .zip through the stock recovery and then flash TWRP recovery and root.
Assuming you have an unlocked bootloader, flashed TWRP and rooted (but no other changes, no VZWentitlement hacks, delete/removing/renaming any apps from /system/app or /system/priv-app, no Xposed Installer and modules installed, etc...).
Download the 4.4.2 update .zip to your phone.
Flash the stock recovery back to your phone.
Boot to recovery and install the .zip you downloaded.
Done.
You'll need to find the .zip and download it.
You'll need to know how to flash the stock recovery back and have it downloaded so you can flash it
You'll need to know how to use the stock recovery (button combos to boot to recovery and enter recovery)
tcrews said:
Are you rooted now? If you are rooted, as long as you haven't changed any of the system files you can install the .zip through the stock recovery and you're good to go (you don't lose root).
If you aren't rooted, just install the .zip through the stock recovery and then flash TWRP recovery and root.
Assuming you have an unlocked bootloader, flashed TWRP and rooted (but no other changes, no VZWentitlement hacks, delete/removing/renaming any apps from /system/app or /system/priv-app, no Xposed Installer and modules installed, etc...).
Download the 4.4.2 update .zip to your phone.
Flash the stock recovery back to your phone.
Boot to recovery and install the .zip you downloaded.
Done.
You'll need to find the .zip and download it.
You'll need to know how to flash the stock recovery back and have it downloaded so you can flash it
You'll need to know how to use the stock recovery (button combos to boot to recovery and enter recovery)
Click to expand...
Click to collapse
Thank you!
Ah, I had forgotten about having to use the stock recovery to flash. When I last updated, I dirty flashed a TWRP-able image. Might wait for someone to make one for maximum laziness
Edit the updater-script and remove the device check for ghost in the OTA zip that's posted. Then you can flash it in CWM or TWRP as long as /system is stock.
Sent from my Moto X

OTA update

Hi guys!
I've finally received 4.4.4 notification to update my German Moto x!!
I'd like to know one thing before I proceed.. If I update, will I have to root again the phone?
My phone has unlocked bootloader so there is no problem, but right now I'm on holiday and I don't have a pc to root it again..
Thanks a lot!
I have not upgrade to 4.4.4 yet.
I don't think you need to root again
Thanks!
I've read some other user just flashed the stock recovery, installed the ota and flashed back twrp recovery..
Others instead use fwz method
I think I'll wait until I'm home just to be sure I need my phone during the holidays!
daede86 said:
Thanks!
I've read some other user just flashed the stock recovery, installed the ota and flashed back twrp recovery..
Others instead use fwz method
I think I'll wait until I'm home just to be sure I need my phone during the holidays!
Click to expand...
Click to collapse
Hi, i was wondering the same thing. Is there a method for someone to create an update for rooted phones?
Also can you link me to the threads for flashing back to stock and what this fwz is?
thank you
Here you can find some info about FXZ (sorry for my typo)
http://forum.xda-developers.com/moto-x/general/fxz-moto-x-4-4-4-212-55-26-t2827307
In the same thread you can find the stock recovery, a user posted it. Just search stock recovery in the thread and you'll find it!
I'm not the right person to help you in detail.
I'm not an expert user
In the meantime I froze motorola OTA app to hide the update notification..
Guys, before anyone gets in trouble....there is no FXZ for the german (or any asia/european) Moto X's yet.
The only one released is the Verizon one....so DON'T flash the verizon FXZ.
You need to flash stock recovery back, and if the phone STILL won't take the OTA, also use "mfastboot" to flash system.img from the 4.4.2 FXZ (which IS released for the european/asia models). Afterwards, the OTA should install without fail.
You WILL need to re-flash TWRP no matter which method you use. You will also need to re-root IF you flash the system.img from the 4.4.2 SBF in order to be able to accept the OTA (you only flash system.img from 4.4.2 if the OTA fails after you have flashed stock recovery - it normally means you have modified /system in some way, and restoring the full system.img fixes this issue).
Good Luck - Remember: Don't flash the Verizon 4.4.4 FXZ to your non-Verizon phone. Not a good idea...
If your phone doesn't vary from Stock but rooted, you can get away with flashing stock recovery back on there and taking the OTA. (OTA wont install via custom recovery like TWRP, CWM, etc). And if that is the case, you will retain root. You can optionally flash TWRP back on there.
If you have Xposed installed, it will need to be disabled or removed for the OTA install to work.
It is when you mess with stock files in /System or other folders on the phone.. i.e. remove, rename, etc. files from them, that you may also need to flash system.img and possibly other parts. This is due to verification checks in the OTA zip itself. If you have to flash those parts, you will have to re-root. Not an issue if you have an unlocked bootloader.
Thanks a lot for your help and clarification!!
I knew I wasn't the right person
Guys just to be sure of the right process..
-download the actual sbf of my phone
-extract recovery.img from the sbf
-remove xposed
-flash the recovery with flashify
-take the ota
-flash back twrp recovery
Am I right?!
Thanks a lot
daede86 said:
Guys just to be sure of the right process..
-download the actual sbf of my phone
-extract recovery.img from the sbf
-remove xposed
-flash the recovery with flashify
-take the ota
-flash back twrp recovery
Am I right?!
Thanks a lot
Click to expand...
Click to collapse
IF you do not vary too much from Stock (i.e. didn't remove, rename or replace any "stock" files on your phone), then yes.
Oh, for Xposed, there is a disabler ZIP you can flash from custom recovery located in /storage/emulated/0/Android/data/de.robv.android.xposed.installer (or /SdCard/Android/data/de.robv.android.xposed.installer ) instead of removing it, as sometimes removing it doesn't undo all the changes.

Download TWRP for G800F and stock recovery image?

Can someone help me find the download for a good working newest as is stable copy of TWRP that I can flash? Also, I would appreciate finding the stock recovery so I can always install it back again if I need to. With my S4 mini I found some guide that let me take the recovery I extracted from the stock firmware image and turn that recovery file into a version that odin can use, something about embedding hashes or something? Not sure. So if I can just download the stock recovery that would be helpful instead of having to flash the entire firmware.
Or is there a way to selectively only flash the recovery from the entire image?
techbeasts.com/2014/12/06/install-twrp-recovery-samsung-galaxy-s5-mini-g800f/
s.basketbuild.com/devs/rutvikrvr/kminilte/twrp
Thanks. Do you know a method for me to obtain the true default recovery?
sorry, I don't understand... Do you need original recovery?

Tried to root but now can't boot up -fixed

Hi guys,
I can't seem to boot up after I successfully root it with the file name "SM-N950F_U6_9.0" through odin v3.13.1
Really not sure what I did wrong :crying:
Currently trying to download the stock firmware to recover it
How do I upload pics when I'm still new?
*edit*
I flashed the stock firmware and managed to install magisk through TWRP. The issue is that I didn't go into recovery straight from fastboot :laugh:

Categories

Resources