How to restore stock recovery? - Huawei P9 Questions & Answers

Hi there,
I want to change my P9 from Vodafone branding to C432 following the steps in these articles [1] [2].
It seems that after flashing the first update file and using paulobrien's c432 oeminfo update zip, I will need to revert to stock recovery before flashing the first dload file again.
My question is, can I simply copy the stock recovery.img before flashing TWRP, and then flash over it in fastboot, the same way a Nexus works?
Or is there another procedure? I am using a Mac so I can't use the SRK Toolkit.
Thanks!

I have now found this tool to unpack the stock rom file. It seems to work fine other than the fact that the CRC checking function fails, apparently it needs to be run on Linux.
Is it possible just to flash the recovery.img produced by the program or is there a danger it would be corrupted?
Alternatively would anyone be willing to unpack the file on a linux system, so that CRC can be verified, then upload the recovery file? Or is there another way to verify file integrity?

Related

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?

Flashing UPDATE.APP via the DLoad method clarification

Hello Guys,
I am new to Huawei so I am just gathering information on manually updating stock rom. From what I have search through so far, the easiest and safest way is to download the stock rom, copy the update.app file to the dload folder on your sdcard and then reboot the phone while holding down vol up + vol down +power.
Now what I need clarification on is what are the prerequisite before doing this. So I have already unlocked the bootloader, have TWRP recovery and rooted. Reading through the forum, some threads states you need stock recovery while others say it works even with TWRP recovery. Some say you need to un-root first while others say you dont. Is there anyone here who can clarify what needs to be done before flashing the stock rom?
Just to paint a picture on what I am planning on doing, I currently have a C34 (Optus, Australia) and I want to debrand it by flashing C636 (Asia Pacific) and I think flashing via the sdcard is the simpliest and safest way.

[GUIDE] NEM-L51 - Unroot and stock recovery so you can update to EMUI 5

I'm currently on:
emui 4.1
model NEM-l51 (l51c432b102)
rooted
twrp recovery
I want to revert completely back to stock so I can upgrade
Download stock recovery from here (l51c432b102)
https://drive.google.com/file/d/0B1Ez6wAY1mj6cFFoSEdVR1ZkT00/view
Download Huawei Update Extractor
https://forum.xda-developers.com/showthread.php?t=2433454
Download ADB and fastboot driver for windows or ADB and Fastboot for Mac and install it on your PC
https://forum.xda-developers.com/showthread.php?t=2588979
Download your latest fullOTA package, and place Update.APP into a folder called "dload" in your internal space
https://forum.xda-developers.com/ho...lota-upgrade-packages-models-nem-l51-t3473110
With your stock recovery, unZIP/unRAR the file and load Update.APP into Huawei Update Extractor
Select BOOT.img and RECOVERY.img and extract to your location (I placed these wherever ADB is located)
If you've used ADB tool before then fastboot both BOOT.img and Recovery.img
If not, follow this guide
http://www.stechguide.com/root-and-install-twrp-recovery-on-honor-5c/
Now that the stock recovery and boot or loaded, turn off your phone, and press Power + UP + DOWN all at once, your device will now go into firmware installing and install your download FullOTA
Once this is done you can update to the latest EMUI 5.0 Version 7
My inapp updater download the EMUI 5.0 automatically and installed with no issues
Enjoy
Just flash the stock recovery the same way as you flashed twrp.
Then create a folder with the name "dload" on the sdcard and copy the update.app file from the FullOTA firmware in that folder.
You can find the firmware here: https://forum.xda-developers.com/ho...lota-upgrade-packages-models-nem-l51-t3473110
Now shutdown your device and press and hold the volume up AND down key together with the power button.
Your device will revert to stock now.
I thought I had stock recovery, XDA post points to that link
But thats just the update.app file, that tries to load n twrp
I can't believe how impossible it is to find stock recovery
flash stock recovery then flash stock firmware
Jstyants said:
I thought I had stock recovery, XDA post points to that link
But thats just the update.app file, that tries to load n twrp
I can't believe how impossible it is to find stock recovery
Click to expand...
Click to collapse
download the update.app,Use Huawei extractor to extract the recovery.img
Flash this img via bootloader.
You are with stock recovery now.
Now put the update.app file in dload folder under sd card.
Use dload method to flash this now.
Happy flashing
Managed to figure it out myself after reading some french stuff
Jstyants said:
Managed to figure it out myself after reading some french stuff
Click to expand...
Click to collapse
Glad that you fixed it.

How to extract stock recovery and ramdisk img files from UPDATE.APP

I downloaded UPDATE.ZIP and got the UPDATE.APP file from there.
I then extracted recovery_ramdisk_a.img and ramdisk_a.img, and flashed them in the phone, but it bricked my phone: not booting, no recovery, no fastboot (fastboot devices show empty; it gives Error 10 and 20 No boot on the phone)
Somehow after a few reboot, it got itself into a erecovery and downloaded full stock image and reflashed. Now it is unbricked.
Am I missing any steps? Why are these img files bricking?
Anyone knows please help
How did you extract the imgs from update.app? did you use Huawei Update Extractor tool?

How to install stock recovery

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

Categories

Resources