Stock Revovery problem - Huawei P20 Lite Questions & Answers

So i rooted my phone ANE-LX2C185 ( Hauwei P20 Lite )
And since it was my first time rooting i flashed twrp instead of just booting it up temporarly.
But i cant seem to find the stock firmware files for my build number anywhere.
All i want is to replace twrp with my stock recovery again.
Can anyone please give me some advice or a plan B.
Thank you.

Must Have!
- Huawei Firmware Finder (HFF)
- Huawei Update Extractor (HUE)
(search for this in xda)
Use HFF to find YOUR build. Download "your build: FullUpdate"
Use HUE to extract from Update.app (inside Update.zip) the "recovery_ramdis.img". HUE make automatic "recovery_ramdis.img.header".
Copy this 2 files to your ADB-Folder
If you need stock-recovery:
- fastboot flash recovery_ramdisk recovery_ramdis.img
If you DONT find your build - you must wait. It's a very good idea before flash anything download a FullUpdate. We need this for self repair.
Other chance : search if other user with this device AND build have "recovery_ramdis.img" and "recovery_ramdis.img.header" and share.

JamesBott said:
Must Have!
- Huawei Firmware Finder (HFF)
- Huawei Update Extractor (HUE)
(search for this in xda)
Use HFF to find YOUR build. Download "your build: FullUpdate"
Use HUE to extract from Update.app (inside Update.zip) the "recovery_ramdis.img". HUE make automatic "recovery_ramdis.img.header".
Copy this 2 files to your ADB-Folder
If you need stock-recovery:
- fastboot flash recovery_ramdisk recovery_ramdis.img
If you DONT find your build - you must wait. It's a very good idea before flash anything download a FullUpdate. We need this for self repair.
Other chance : search if other user with this device AND build have "recovery_ramdis.img" and "recovery_ramdis.img.header" and share.
Click to expand...
Click to collapse
When I try to extract the UPDATE.APP from HUE i got the error recovery_ramdis.img:invalid header crc- expected 57520 got: 19383
https://ibb.co/k0HmGy

@haidermiz
go in Extractor to Settings
un-check all : remove the hock's
then extract

JamesBott said:
@haidermiz
go in Extractor to Settings
un-check all : remove the hock's
then extract
Click to expand...
Click to collapse
thanks it worked

Related

Extracting Stock firmware files using Huawei Update Extractor/splitupdate

hello,
i´ve a honor 9 oero b360 (open bootloader, rooted (phone&frp) but some problems (no usb-con.). I would like to restore my system with the multi tool (unbrick section), but i dont know which file is correct from the pro-team website (http://pro-teammt.ru/firmware-databa...irmware_page=0) -> i tried the first 3 update files (FullOTA-MF) but during the extraction i cannot find the cust.img - file ? which is the correct file and is the cust.img in emui8 neede?
thx cosmic
https://forum.xda-developers.com/showthread.php?t=2433454
using this tool you will be able to extract .img from huawei update
thx sonneper, but the honor 9 is not directly available in the profiles - which update file i will use?`
but the honor 9 is not directly available in the profiles --> Don't understand ? If you're talking about the tools used to extract : You can use it to open any Huawei Update , I've try with Honor 9 zip and it works , If you're talking about the link you provide, IDK , I don't use this site : use Firmware Finder on your PC or on your phone ( any android device ) you will be able to download all firmware you need . Please give me more explications if I misunderstood.
FirmwareFiderforHuawei :
https://forum.xda-developers.com/tools/general/huawei-firmware-finder-team-mt-t3469146

I accidentally wipe my system by twrp

Hello
I have Huawei mate 9 pro
and i installed twrp
by accident i wiped system so now my phone is only restarting
but i can enter to twrp mode ..
so i searched for rom to install in twrp so maybe it work but i couldn't found any for Huawei mate 9 pro !!!
Help please
update ::
when I try to flash the update for the system so it run , it gave me message "Error 9"
Help please
Any help ?
Hi , put your phone in fastboot mode:
https://www.hardreset.info/devices/huawei/huawei-mate-9/fastboot-mode/
Download and extract stock firmware for your device and flash boot.img , recovery.img and system.img .
If your firmware come up with .app use Huawei Update extractor in order to take those files from in to flash with ADB & Fastboot command line .
You have examples on the YouTube how to take and flash those files from .app. : ) Good luck
Thank you very much
that was helpful
Teddy Lo said:
Hi , put your phone in fastboot mode:
https://www.hardreset.info/devices/huawei/huawei-mate-9/fastboot-mode/
Download and extract stock firmware for your device and flash boot.img , recovery.img and system.img .
If your firmware come up with .app use Huawei Update extractor in order to take those files from in to flash with ADB & Fastboot command line .
You have examples on the YouTube how to take and flash those files from .app. : ) Good luck
Click to expand...
Click to collapse

How to get the right recovery to perform OTA

Hi,
I have global Honor 9, updated to 8.0.0.379(C432), unlocked and rooted.
Previously in order to get the OTA I flashed stock recovery B364 since it was the recovery of the version I had.
Now I found recovery B368, I couldn't find recovery C432 anywhere. Does it matter? will I be able to get the OTA if I flash stock recovery B368 while I have firmware C432, or will it brick my phone?
Thanks
Clonimus said:
Hi,
I have global Honor 9, updated to 8.0.0.379(C432), unlocked and rooted.
Previously in order to get the OTA I flashed stock recovery B364 since it was the recovery of the version I had.
Now I found recovery B368, I couldn't find recovery C432 anywhere. Does it matter? will I be able to get the OTA if I flash stock recovery B368 while I have firmware C432, or will it brick my phone?
Thanks
Click to expand...
Click to collapse
C432 is the code for the HONOR 9 global (STF-L09C432), yor version is B379 and you can extract the recovery from the FULL-OTA firmware file version B379.
mtvento said:
C432 is the code for the HONOR 9 global (STF-L09C432), yor version is B379 and you can extract the recovery from the FULL-OTA firmware file version B379.
Click to expand...
Click to collapse
How do I do that?
I opened the image file there was no recovery.img
Also, I tried using the "Huawei Update Extractor" but I couldn't figure out what the recovery was (there was no file there called recovery)
Thanks
Clonimus said:
How do I do that?
I opened the image file there was no recovery.img
Also, I tried using the "Huawei Update Extractor" but I couldn't figure out what the recovery was (there was no file there called recovery)
Thanks
Click to expand...
Click to collapse
Extract the update.app file from the firmware .zip file you downloaded;
launch the Huawei Update Extractor and select "Unknown" as profile and the extracted update.app as file,
it should read the content and give you a list of files inside, with all the .img ones too.
Right click an the one you need and select extract and the destination.
In case of error opening the file go to the extractor settings and disable header crc checking.
Hope it helps you
I downloaded the Update.zip and update_full_STF-L09_hw_eu.zip from this link.
The update.app from Update.zip file didn't work, it gave the error recovery_ramdis.img: invalid header crc - expected: 16878 got: 54779
So I disabled the header crc check as you suggested, but doesn't it create a risk of corrupted extraction?
I attach 2 pics:
one has no img with the name "recovery", can it be under a different name - this is from the full ROM
The other has multiple recovery img files, none is "recovery.img", they have different prefixes (similar ones, like RAMDI and RAMDIS), which one do I need to use? is it different than "recovery.img"?
Thanks
Clonimus said:
I downloaded the Update.zip and update_full_STF-L09_hw_eu.zip from this link.
The update.app from Update.zip file didn't work, it gave the error recovery_ramdis.img: invalid header crc - expected: 16878 got: 54779
So I disabled the header crc check as you suggested, but doesn't it create a risk of corrupted extraction?
I attach 2 pics:
one has no img with the name "recovery", can it be under a different name - this is from the full ROM
The other has multiple recovery img files, none is "recovery.img", they have different prefixes (similar ones, like RAMDI and RAMDIS), which one do I need to use? is it different than "recovery.img"?
Thanks
Click to expand...
Click to collapse
recovery_ramdis.img

Method of Rooting Infinix Hot S 3

INFINIX HOT S 3 ROOTING PROCEDURE WITH LOCKED BOOTLOADER
Things You must First Do
1. Install Qualcomm drivers for your PC
2. Learn how to remove the device back cover:
3. Learn how to boot the device to EDL mode :
4. Learn how to backup your device full firmware with a box like miracle box or cracked version :
5. Learn how to flash firmware with QFIL tool version 2.0.1.9 :
PROCEDURE 1
1. Get hold of your device full stock firmware. Some build numbers do not have stock firmware especially my Hot S3 build number do not have correct stock firmware.
2. Install latest official magisk manager apk.
3. Copy stock boot.img to your device internal storage.
4. Launch magisk manager app, select install magisk 18.1v or any version that will appear, there will be an options select patch boot.img. Now locate where you stored your boot.img. After patch magisk will show you the location of the patched bootimg.
5. Copy the patched boot.img into the device firmware folder. Remove the original boot.img from the firmware folder and save it somewhere and rename the patched boot.img to boot.img.
6. Now launch the QFIL tool and flash using the previous procedure.
7. After successful flash, boot to the device recovery (Volume up + power button) wipe partition and factory wipe, then power off and reboot.
8. After reboot update Google play store and services sign into your account successfully to have a recognize certify device. Install magisk manager apk. Launch magisk manager app, update and install any other updates that will pop up. Every installed thing in magisk will show green.
9. Reboot. The device successfully rooted.
NOTE:
1. Those who have their correct official firmware and have tested and working correctly, there will be firehose file, patch0 file, rawprogram0 files, NON-HLOS file. These are the necessary files for the flashing.
2. Those who don't have the correct stock firmware use the backup firmware from the miracle and rename these files as;
boot= boot.img
Cache= cache.img
dummy= dummy.img
misc= misc.img
persist= persist.img
recovery= recovery.img
splash= splash.img
system= system.img
userdata= userdata.img
aboot= emmc_appsboot.mbn
Modem=NON-HLOS bin
The rest of the files add .mbn to it end.
You need:
patch0.xml
rawprogram0.xml
prog_emmc_firehose_8937_ddr.mbn
if you don't have these files I will upload my full prepared stock firmware so that you take all the necessary files from it into yours and flash.
But if you have any downloaded stock HOT S 3 firmware with only one system and vendor inside you can use it.
3. Those who have their stock firmware, if the system and vendor in the folder is in multiple form meaning more than one ( system and vendor are in parts) you can't use QFIL tool to flash, it require different flash tool. Use your backup firmware.
4. If any find things difficult I will upload my stock firmware so that all builds can use to create their own stock firmware.
Thank you.
5. After every flash try to remove battery cable and replace for some seconds when the device cover is opened.
6. At a point where the device refuse to boot or power off, long press power button to power off or reboot.
7. Do not be in haste, take your time to follow all these procedures to avoid the device going dead. Because a device does not go dead in my hands. It may brick but when you use good and required flash files everything will be okay.
With ease, convenience and future developments for the device I have created Facebook group for that because some informations are hard to come by. I have posted a lot of help in different forums, nobody seems to help, so this how far I have gone. Now trying to Port custom recovery like twrp for the device even though bootloader is locked.
Procedure 2
1. Follow procedure 1 to backup device
2. Patch boot.img with magisk manager
3. Copy patched image rename as boot.img into backup folder.
4. Flash only the patched boot.img by any supported tool.
5. Reboot device install magisk manager apk reboot and update magisk done.
Those who have already rooted or gone far with the device can join the facebook group or provide me better links. Thanks
Facebook Group Link: https://www.facebook.com/groups/324251668449205/
CREDITS
Thanks to XDA for creating this wonderful platform
The best App ever magisk
The best tool ever Miracle box
Hamenth Jabalpuri my best friend XDA Senior Member
Thanks to everyone.
CAUTION
If any want to use this information in his site, don't forget to credit XDA.
TWRP LINK
https://forum.xda-developers.com/android/development/unofficial-twrp-infinix-hot-s3-x573-t4064705
Skyhuppa said:
Hamenth Jabalpuri my best friend XDA Senior Member
Click to expand...
Click to collapse
Thank you too for sharing this.....
Great tutorial thx
i can't get into edl mode
i used the shorting method via the back cover.. the device was blinking... was detected in device manager but when i clicked on port inside miracle box... nothing happened
i am trying to dump the firmware
Skyhuppa said:
INFINIX HOT S 3 ROOTING PROCEDURE WITH LOCKED BOOTLOADER
Click to expand...
Click to collapse
aus7een said:
i used the shorting method via the back cover.. the device was blinking... was detected in device manager but when i clicked on port inside miracle box... nothing happened
i am trying to dump the firmware
Skyhuppa said:
INFINIX HOT S 3 ROOTING PROCEDURE WITH LOCKED BOOTLOADER
Click to expand...
Click to collapse
I'm not getting your device blinking well but;
1. Make sure your device driver 9008 in edl mode installed well. When you open device manager you must see driver 9008 for your device. Download driver
https://www.allmobitools.com/download/Qualcomm_HS_USB_QDLoader_9008_Driver_Download.zip
2. If you are using windows 10 make sure you disable driver signature before installing any driver on your computer
3. Make sure you disconnect and reconnect battery cable on the board before and after every connection.
4. Use the miracle tutorial when you see driver Qloader 9008 in device manager after connecting device.
5. You must connect the two edl points well. Poor connection boot to battery charge.
6. Use miracle 2.82 version
Click to expand...
Click to collapse
did you have TWRP for infinix hot s3?
Nice well done thanks for sharing
agnitoya said:
did you have TWRP for infinix hot s3?
Click to expand...
Click to collapse
Not yet unless bootloader is fully unlocked.
Flash???
which file should i flash it,becouse i dont have the file... and almost all my frimware have .bak at the end so which flasher i should use,QFIL or others? heres the link of the pic of it
Nthn_Knt said:
which file should i flash it,becouse i dont have the file... and almost all my frimware have .bak at the end so which flasher i should use,QFIL or others? heres the link of the pic of it
Click to expand...
Click to collapse
Where did you get the .bak firmware files? Qfil can't flash such firmware. Use mobilsea tool or emmc tool.
Skyhuppa said:
INFINIX HOT S 3 ROOTING PROCEDURE WITH LOCKED BOOTLOADER
Things You must First Do
1. Install Qualcomm drivers for your PC
2. Learn how to remove the device back cover:
3. Learn how to boot the device to EDL mode :
4. Learn how to backup your device full firmware with a box like miracle box or cracked version :
5. Learn how to flash firmware with QFIL tool version 2.0.1.9 :
PROCEDURE 1
1. Get hold of your device full stock firmware. Some build numbers do not have stock firmware especially my Hot S3 build number do not have correct stock firmware.
2. Install latest official magisk manager apk.
3. Copy stock boot.img to your device internal storage.
4. Launch magisk manager app, select install magisk 18.1v or any version that will appear, there will be an options select patch boot.img. Now locate where you stored your boot.img. After patch magisk will show you the location of the patched bootimg.
5. Copy the patched boot.img into the device firmware folder. Remove the original boot.img from the firmware folder and save it somewhere and rename the patched boot.img to boot.img.
6. Now launch the QFIL tool and flash using the previous procedure.
7. After successful flash, boot to the device recovery (Volume up + power button) wipe partition and factory wipe, then power off and reboot.
8. After reboot update Google play store and services sign into your account successfully to have a recognize certify device. Install magisk manager apk. Launch magisk manager app, update and install any other updates that will pop up. Every installed thing in magisk will show green.
9. Reboot. The device successfully rooted.
NOTE:
1. Those who have their correct official firmware and have tested and working correctly, there will be firehose file, patch0 file, rawprogram0 files, NON-HLOS file. These are the necessary files for the flashing.
2. Those who don't have the correct stock firmware use the backup firmware from the miracle and rename these files as;
boot= boot.img
Cache= cache.img
dummy= dummy.img
misc= misc.img
persist= persist.img
recovery= recovery.img
splash= splash.img
system= system.img
userdata= userdata.img
aboot= emmc_appsboot.mbn
Modem=NON-HLOS bin
The rest of the files add .mbn to it end.
You need:
patch0.xml
rawprogram0.xml
prog_emmc_firehose_8937_ddr.mbn
if you don't have these files I will upload my full prepared stock firmware so that you take all the necessary files from it into yours and flash.
But if you have any downloaded stock HOT S 3 firmware with only one system and vendor inside you can use it.
3. Those who have their stock firmware, if the system and vendor in the folder is in multiple form meaning more than one ( system and vendor are in parts) you can't use QFIL tool to flash, it require different flash tool. Use your backup firmware.
4. If any find things difficult I will upload my stock firmware so that all builds can use to create their own stock firmware.
Thank you.
5. After every flash try to remove battery cable and replace for some seconds when the device cover is opened.
6. At a point where the device refuse to boot or power off, long press power button to power off or reboot.
7. Do not be in haste, take your time to follow all these procedures to avoid the device going dead. Because a device does not go dead in my hands. It may brick but when you use good and required flash files everything will be okay.
With ease, convenience and future developments for the device I have created Facebook group for that because some informations are hard to come by. I have posted a lot of help in different forums, nobody seems to help, so this how far I have gone. Now trying to Port custom recovery like twrp for the device even though bootloader is locked.
Procedure 2
1. Follow procedure 1 to backup device
2. Patch boot.img with magisk manager
3. Copy patched image rename as boot.img into backup folder.
4. Flash only the patched boot.img by any supported tool.
5. Reboot device install magisk manager apk reboot and update magisk done.
Those who have already rooted or gone far with the device can join the facebook group or provide me better links. Thanks
Facebook Group Link: https://www.facebook.com/groups/324251668449205/
CREDITS
Thanks to XDA for creating this wonderful platform
The best App ever magisk
The best tool ever Miracle box
Hamenth Jabalpuri my best friend XDA Senior Member
Thanks to everyone.
CAUTION
If any want to use this information in his site, don't forget to credit XDA.
Click to expand...
Click to collapse
TWRP LINK
https://forum.xda-developers.com/android/development/unofficial-twrp-infinix-hot-s3-x573-t4064705

[RESOLVED] Mate 10 PRO stock return > What did am I missing ?

[HELP] Mate 10 PRO stock return > What did am I missing ?
Hello,
Here is the summary
- Mate 10 PRO - BLA-L29 - 8.0.0.142(C432 EU model)
- Magisk Rooted
- Bootloader unlocked (via Huawei code)
- TWRP 3.2.1.0
I need to make my phone stock again, for that, I tried to make an OTA upgrade, but each time the phone reboot to apply the update, it ends to TWRP which is unable to deal with Huawei updates. I also tried with Huawei Hi Suite with same result.
I guess that I have to restore back the original recovery instead of TWRP, and this is where I'm facing some difficulties...
I've download this archive : Huawei Mate 10 Pro hw eu BLA-L29C 8.0.0.157(C432) Firmware 8.0.0 r1 EMUI8.0 05014VLL [androidhost.ru], put the 3 items (BLA-L09_hw_eu + BLA-L29_hw_eu + update_sd.zip) into the DLOAD folder placed in the root of my OTG USB key, but it ends to TWRP also.
Then I download this HuaweiUpdateExtractor_0.9.9.5 in order to extract the Huawei Recovery with no success :
- If I open the UPDATE.APP file, it ends up with a "RECOVERY_RAMDIS.img invalid image reader crc"
- If I open the "update_BLA-L29_hw_eu.app", no way to find the recovery file among thoses files : (look attached image)
Now, can anyone clearly explain me live I'm 5 how to proceed, or maybe provide me the original Huawei recovery image ???
Many thanks for help provided
solid.snake said:
[HELP] Mate 10 PRO stock return > What did am I missing ?
Hello,
Here is the summary
- Mate 10 PRO - BLA-L29 - 8.0.0.142(C432 EU model)
- Magisk Rooted
- Bootloader unlocked (via Huawei code)
- TWRP 3.2.1.0
I need to make my phone stock again, for that, I tried to make an OTA upgrade, but each time the phone reboot to apply the update, it ends to TWRP which is unable to deal with Huawei updates. I also tried with Huawei Hi Suite with same result.
I guess that I have to restore back the original recovery instead of TWRP, and this is where I'm facing some difficulties...
I've download this archive : Huawei Mate 10 Pro hw eu BLA-L29C 8.0.0.157(C432) Firmware 8.0.0 r1 EMUI8.0 05014VLL [androidhost.ru], put the 3 items (BLA-L09_hw_eu + BLA-L29_hw_eu + update_sd.zip) into the DLOAD folder placed in the root of my OTG USB key, but it ends to TWRP also.
Then I download this HuaweiUpdateExtractor_0.9.9.5 in order to extract the Huawei Recovery with no success :
- If I open the UPDATE.APP file, it ends up with a "RECOVERY_RAMDIS.img invalid image reader crc"
- If I open the "update_BLA-L29_hw_eu.app", no way to find the recovery file among thoses files : (look attached image)
Now, can anyone clearly explain me live I'm 5 how to proceed, or maybe provide me the original Huawei recovery image ???
Many thanks for help provided
Click to expand...
Click to collapse
In Huawei Extractor you need to disable the Header CRC check in options, then extracting will work just fine.
After extracting the recovery ramdisk image, flash it with :
fastboot flash recovery_ramdisk RECOVERY_RAMDIS.IMG
That will replace TWRP with the original recovery and the OTA should install just fine after that.
Pretoriano80 said:
In Huawei Extractor you need to disable the Header CRC check in options, then extracting will work just fine.
After extracting the recovery ramdisk image, flash it with :
fastboot flash recovery_ramdisk RECOVERY_RAMDIS.IMG
That will replace TWRP with the original recovery and the OTA should install just fine after that.
Click to expand...
Click to collapse
@Pretoriano80 :
You the man !!
This is exactly the missing part I needed, You've juste made my day, many thanks.
Info : If you plan to upgrade successively your phone through OTA, just ensure that you have a sim card inserted.

Categories

Resources