How to extract stock recovery and ramdisk img files from UPDATE.APP - Huawei P20 Pro Questions & Answers

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?

Related

How to restore stock recovery?

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?

how do i update using twrp recovery

i removed root so i could get updates. when i start updating, and the phone reboots, it starts up in twrp recovery. i tryed to install stock recovery, but still boots up in twrp.
can someone help med removing twrp and installing stock recovery correct? thank you
Extract the "RECOVERY.img" file from the UPDATE.APP with the Huawei Update Extractor tool.
Apply in fastboot mode: "fastboot flash recovery RECOVERY.img".
It's all.

[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.

Bootloop

I had installed TWRP and it was working fine.
I then installed SuperSU-v2.82-201705271822 via TWRP.
This did not root the phone, rootchecker etc. all said it's not working.
I had made a TWRP backup of the phone before that.
I then tried to restore that backup, and now the phone only starts either into the TWRP boot screen, then reboots endlessly, or goes into the Huawei recovery, and fails to download the recovery package there.
Any ideas?
I can get into fastboot and download mode, but using dload found on another thread here fails at 5%.
Got it fixed. Had to flash both kernel.img AND system.img for it to work, without kernel, it kept looping.
Arak0n said:
Got it fixed. Had to flash both kernel.img AND system.img for it to work, without kernel, it kept looping.
Click to expand...
Click to collapse
I'm in the same situation, can you please help me?
I tried to flash SuperSU but got stuck in a boot-loop. Did you flash the kernel.img and system.img extracted from a stock firmware update.app file? I tried flashing those two but am still stuck at the boot animation. Occasionally the device will automatically reboot from the boot animation and enter eRecovery, which always fails to get package info.
Mine were from update.app. I had also flashed vendor.img, not sure if that is related.
You can also try this:
https://forum.xda-developers.com/ho.../recovery-bkl-nocheck-recovery-flash-t3778085
The recovery is compatible. Since you can't boot to system, make sure you run the adb stuff in TWRP, then flash to the nocheck recovery in fastboot mode afterwards and follow the rest of the steps.
Huawei's recovery servers are down, that's why erecovery fails.
edit: nevermind, got kernel.img extracted by disabling "Verify Header Checksum" in Huawei Update Extractor settings. This post can be deleted.
need twrp backup
anyone have twrp backup for lld-l21 please help

[Request] VTR-L09 boot image location

Hey guys!
My P10 is stuck in a bootloop between two recovery modes (the wiping one and the flashing one), I can't access TWRP anymore even if I flash it through fastboot with the recovery_ramdisk command.
Can someone tell me how can I flash the boot image of the latest oreo update through fastboot? Which file is it when I have extracted the UPDATE.APP file?
Thank you!

Categories

Resources