Upgrade stock firmware - twrp and root - Huawei Mate 9 Questions & Answers

Current Firmware: MHA-L09C346B136
I would like to apply the OTA firmware update but I can't since I had flashed TWRP and superuser a long time ago.
I've been googling around for the last 2 hours but I'm not still not sure what to do. The most relevant thread I found was: https://forum.xda-developers.com/mate-9/help/upgrade-firmware-due-to-twrp-root-t3591428
- "Flash original recovery.img from your firmware file via fastboot then upgrade your firmware via ota"
I've been searching around for my firmware but I can't seem to find it anywhere. Would any MHA-L09 firmware work?
And once I do find the firmware file, what other steps are there?
Do I need to extract recovery.img from the firmware using HuaweiUpdateExtractor or something like that?
Do I run the command fastboot flash recovery recovery.img after I find the recovery image?

triplemonitor said:
Current Firmware: MHA-L09C346B136
I would like to apply the OTA firmware update but I can't since I had flashed TWRP and superuser a long time ago.
I've been googling around for the last 2 hours but I'm not still not sure what to do. The most relevant thread I found was: https://forum.xda-developers.com/mate-9/help/upgrade-firmware-due-to-twrp-root-t3591428
- "Flash original recovery.img from your firmware file via fastboot then upgrade your firmware via ota"
I've been searching around for my firmware but I can't seem to find it anywhere. Would any MHA-L09 firmware work?
And once I do find the firmware file, what other steps are there?
Do I need to extract recovery.img from the firmware using HuaweiUpdateExtractor or something like that?
Do I run the command fastboot flash recovery recovery.img after I find the recovery image?
Click to expand...
Click to collapse
You could probably use L09C33B136 and extract recovery.img from that, then flash using fastboot as you said. Worst case you have to flash back TWRP if recovery doesn't work.
Do you know if you've modified /system, /product or /vendor? If you have you won't be able to install OTA, it will fail when checking if those partitions are modified.
If you want to update using full firmware you will have to rebrand.

ante0 said:
You could probably use L09C33B136 and extract recovery.img from that, then flash using fastboot as you said. Worst case you have to flash back TWRP if recovery doesn't work.
Click to expand...
Click to collapse
Thanks! I flashed the recovery.img file from that firmware as you suggested and now I have the latest firmware.
I noticed that the incremental firmware update that was already downloaded to my phone failed halfway though. Upon rebooting, I checked for updates again and this time round, it decided to download the full firmware instead which ended up being applied successfully.

Related

FRD-L19C432B120 Stock Recovery

Hello!
I own a FRD-L19C432 device loaded with B120 FW, TWRP flashed to erecovery, the recovery partition is stock (?) since I haven't flashed anything on it and it is also rooted.
A few days ago, I got the notification of the availability of B131 update. According to some info I've read over the web, the erecovery isn't/wasn't used for anything, so I tried my luck and proceeded with updating operation from UI. It booted to recovery, failed to install, showed some error and booted to OS, that stills on B120.
Introduction made, the question is:
I already downloaded the FRD-L19C432B131 full update zip, can I simply flash it through the dload method, or, must I first unroot and flash stock B120 recovery in order to perform the dload flash?
If so, where can I get the B120 stock recovery and erecovery? I'm not finding it while using the Firmware Finder app by Team MT.
Hope you can give some help.
Tks,
RM
you can extract the recovery.img using huawei update extractor and then flash via adb or the multitool
jkccl9 said:
you can extract the recovery.img using huawei update extractor and then flash via adb or the multitool
Click to expand...
Click to collapse
Thank you for trying to help, but that's not what I'm asking in first place:
I already downloaded the FRD-L19C432B131 full update zip, can I simply flash it through the dload method, or, must I first unroot and flash stock B120 recovery in order to perform the dload flash?
Click to expand...
Click to collapse
Thank you.
RM
omartins said:
Thank you for trying to help, but that's not what I'm asking in first place:
Thank you.
RM
Click to expand...
Click to collapse
well you have to unroot and install stock recovery before being able to update
jkccl9 said:
well you have to unroot and install stock recovery before being able to update
Click to expand...
Click to collapse
Stock recovery from B120, right? If so, where can I find this recovery since I'm not finding the full B120 FW zip?
omartins said:
Stock recovery from B120, right? If so, where can I find this recovery since I'm not finding the full B120 FW zip?
Click to expand...
Click to collapse
Try huawei firmware Updater by team mt (can't remember full name) to search for the last update and extract using tool from post 1 ^^
omartins said:
Hello!
I own a FRD-L19C432 device loaded with B120 FW, TWRP flashed to erecovery, the recovery partition is stock (?) since I haven't flashed anything on it and it is also rooted.
A few days ago, I got the notification of the availability of B131 update. According to some info I've read over the web, the erecovery isn't/wasn't used for anything, so I tried my luck and proceeded with updating operation from UI. It booted to recovery, failed to install, showed some error and booted to OS, that stills on B120.
Introduction made, the question is:
I already downloaded the FRD-L19C432B131 full update zip, can I simply flash it through the dload method, or, must I first unroot and flash stock B120 recovery in order to perform the dload flash?
If so, where can I get the B120 stock recovery and erecovery? I'm not finding it while using the Firmware Finder app by Team MT.
Hope you can give some help.
Tks,
RM
Click to expand...
Click to collapse
It's weird and sad to hear that you flashed twrp to erecovery.
Let me explain u briefly what erecovery does . when u use dload method (while flashing an update.app) , erecovery extracts all .img and .bin files and later it flashes the each file (image files) to its respective partition .
In ur case. The normal stock recovery flashed the update.zip which was included in the script . but it failed to extract update.app in the update.zip and finally output u got is error.
Solution:
The only solution for this problem is ..
Download a full update package of stock ROM...
Extract Update.app (use huawei update extractor) and then find erecovery.IMG
Install adb and fastboot drivers ..
Put your phone in fastboot mode .
Connect to PC ..
In the terminal (command prompt) , type this command and hit enter .
fastboot flash erecovery erecovery.img
(From here u can reinstall the update.zip ) if it fails .
And then try to shutdown the phone , later put full update.app in dload folder ..
Use the 3 button combination to install full package of update.app and thats it .
It reboots to stock again .besure to take a backup of your data before attempting above step . after everything done check for update from settings and install it normally
hello!
Thanks for a proper answer
At the moment I'm stuck (paused) at the TWRP backup operation, since I don't seem to be able to perform a full back to internal storage (with the previous NEXUS phones I owned it was possible...) I need first to get an USB-C adapter in order to use USB OTG to perform the safety backup.
After That I'll flash B120 stock recovery and erecovery, unroot and dload the new FW version.
Meanwhile, another question: Using the FW Finder APP from Team MT on Windows it gets a FRD-L19C432B131 result, while on the Android version of the same AP it only finds B130, not B131 (?). On the other hand, I can only find the B120 full FW over Android APP, and don't seem to find it while using Windows... Any idea why this occurs?
RM
Hello!
Task accomplished! TWRP full backup made, flashed stock recoveries from B120 and after that flashed B131 update.app though dload method.
Everything went OK except for the fact I got bootloader relocked after the second flash. I miss the simplicity of the Nexus devices...
With the TWRP backup made before I was able to restore most of the definitions though. It would be nice to digg a workaround to flash update.app without getting bootloader relocked...
I wonder if extracting boot, system and recoveries IMGs and flash all this through fastboot wouldn't work!? Did anyone tried?
RM

Ota after twrp installed... How?

Mu bootloader is unlocked and have twrp... Now im getting ota uodate but cant do it because of twrp... How the hell can i restore my stock recovery and remove twrp...? I keep reading forum but cant find answer... Its l29c432b185 version...
Will funky huawei restore everything or use another free method? Thanx!
+1
Extract recovery.img from update.app using Huawei Update extractor.
Get your firmware update.zip from: http://hwmt.ru/hwmtsite/firmware-database/?firmware_model=MHA-L29C432&firmware_page=0
Extract zip, open up update.app in Huawei Update Extractor: https://forum.xda-developers.com/showthread.php?t=2433454
Rightclick on RECOVERY and click on Extract Selected.
Flash RECOVERY.img using fastboot flash recovery RECOVERY.img
You're now on stock recovery and will be able to flash OTA.
Though, flashing OTA will lock your bootloader again, so you'll have to unlock it again. (if you want to)
And if you modified /system, /product or /vendor it will fail to install.
For a free alternative, if it should fail, use https://forum.xda-developers.com/mate-9/how-to/guide-mate-9-flash-update-package-t3593108
THANX ALOT MAN...IT WORKS! That extractor is a great thing!

Rooted mate 9 ota

I have a rooted mate 9 c185 but how to update it also im getting ota but when i install it it jumps in to twrp and fails
zaidavais said:
I have a rooted mate 9 c185 but how to update it also im getting ota but when i install it it jumps in to twrp and fails
Click to expand...
Click to collapse
In your case it is better flash FullOTA ROM via FF.
But first return stock recovery.
5[Strogino] said:
In your case it is better flash FullOTA ROM via FF.
But first return stock recovery.
Click to expand...
Click to collapse
Sorry for little knowledge but whats ff and how can i return to stock. Is there anyway to update without losing root
zaidavais said:
Sorry for little knowledge but whats ff and how can i return to stock. Is there anyway to update without losing root
Click to expand...
Click to collapse
Firmware Finder. Stock recovery can be flashed from download mode (fastboot).
But first you need to extract your firmwares recovery.
Here you can search and download firmware http://pro-teammt.ru/firmware-database/
Search for your brand and build (MHA-LxxC185Bxxx, fill in x's) then extract UPDATE.APP from zip.
After that download Huawei Update Extractor: https://forum.xda-developers.com/showthread.php?t=2433454
Extract and open HuaweiUpdateExtractor.exe, click on the '..' button to the right of "Update file", open UPDATE.APP you extracted.
Rightclick on RECOVERY and click on "Extract Selected".
Now put phone in download mode and flash the extracted RECOVERY.img (fastboot flash recovery RECOVERY.img)
Now you have stock recovery and you can flash the FULL update through Firmware Finder.
There is no way to keep root, twrp or bootloader unlocked. So you'll have to unlock BL and flash twrp again, which means you need to factory reset (mandatory after unlocking bootloader).
So backup stuff you want to keep from sdcard.

Need Moto G7 Power RETUS Recovery.zip or .img so i can flash ota on stock

Just as title says I am searching but cannnot locat a img or zip for the stock recovery anyone got a copy for RETUS so i can flash this ota? for magisk you just have to open it scroll down tap uninstall tap restore images, to get your stock boot, but if you flashed twrp it will fail also must be on wifi so I have the full firmware for RETUS but none of them seem to be recovery or its named something else, all the commands to return to stock stay nothing about flash recovery either any help or upload would be very appreciated so i can take this ota until i decide what rom to go with.
toxinburn said:
Just as title says I am searching but cannnot locat a img or zip for the stock recovery anyone got a copy for RETUS so i can flash this ota? for magisk you just have to open it scroll down tap uninstall tap restore images, to get your stock boot, but if you flashed twrp it will fail also must be on wifi so I have the full firmware for RETUS but none of them seem to be recovery or its named something else, all the commands to return to stock stay nothing about flash recovery either any help or upload would be very appreciated so i can take this ota until i decide what rom to go with.
Click to expand...
Click to collapse
there is none.....why not just download and flash the latest firmware on lolinet
toxinburn said:
Just as title says I am searching but cannnot locat a img or zip for the stock recovery anyone got a copy for RETUS so i can flash this ota? for magisk you just have to open it scroll down tap uninstall tap restore images, to get your stock boot, but if you flashed twrp it will fail also must be on wifi so I have the full firmware for RETUS but none of them seem to be recovery or its named something else, all the commands to return to stock stay nothing about flash recovery either any help or upload would be very appreciated so i can take this ota until i decide what rom to go with.
Click to expand...
Click to collapse
Recovery is part of boot.img now.
Sent from my mata using XDA Labs
Ahh okay found one with a script and all gonna see if it works once you go to the latest firmware page sort by latest modified and go to this post https://forum.xda-developers.com/g7-power/how-to/update-retail-moto-g7-power-manually-to-t3946233 and up to you choose either update with or without erase bat file open cmd as admin reboot fastboot while the script is already open waiting for fastboot, but u do have to completly remove magisk for this to work then just go back to fastboot boot into twrp reflash no verity if you like and latest magisk again and should be all gravy for now id suggest not flashing twrp as your recovery.

[REQUEST] TWRP or Stock boot.img

I want to install the Magisk but not achieved yet because of TWRP is not available and the stock boot.img not found.
Now OTA is coming(1.02.709.7), so I tried to obtain boot.img from the OTA image by the following steps but didn't succeeded.
Download the OTA image by checking the system update on the device.
The image will be stored on /sdcard/Download/OTA_1.01.709.1-1.02.709.7.zip
Copy the OTA image to PC and extract the file "payload.bin".
Use the payload dumper(Thanks to vm03), dump the boot partition from payload.bin but failed with the following error.
Processing boot partition.Unsupported type = 9
* Type of 9 is IMGDIFF according to what I found (no further info).
* I modified "payload_dumper.py" to dump only the boot partition.
Could someone please share the stock boot.img or TWRP for this device?
or tell me another way to achieve this.
Thanks.
I'm looking for it, too. :crying:
Did you get the 1.03.709.1 version boot.img file?
I don't think OTAs contain the whole boot.img, only the binary diff of the new version.
so far nobody has found a boot.img ? the device is around for some months now...
Is there still nothing? Not even a boot.img?
I will post my stock boot.img, recovery.img, and SW version # once I get to my computer.
Should be able to extract it with ADB/commands.
I'm not able to get anything using ADB/fastboot and no root method is working for me. I wish I had an OTA file to work with so I could patch the boot.img and try that but OTAs have already been done on this phone.
The only thing I've managed to do is unlock the bootloader.
Here is a copy of the OTA zip I'm running on
https://drive.google.com/file/d/122ky9if8FqTKz0tvqVi_8-FkA-GjHX9A/view?usp=drivesdk
And here is the payload.bin from that OTA
payload.bin
drive.google.com
So far I haven't managed to get the boot.img and I have a long day tomorrow. Maybe you guys can come up with something?
Well I downloaded the automated script version of payload dumper located here:
How to extract payload.bin from OTA update or firmware
In a few rare cases, you may need to extract the payload.bin that is part of firmware and OTA update files from some OEMs to get the stock boot and system images. This helps when you are looking un…
nerdschalk.com
And that payload.bin seems to only contain abl.img. Nothing else which is unfortunate.
like i've written before, the OTA simply does not contain the whole boot.img - only the binary difference from the previous build.
with only the difference it is not possible to reconstruct a whole boot.img
the only options i see is wait for a RUU or the kernel source to be published
Another OTA came through 227MB, extracted and only thing in there is abl.img again.
is this will work
HTCdev - HTC Kernel Source Code and Binaries
www.htcdev.com
can we find boot.img
Did you get the 1.00.468.1 version boot.img file?
I'll try to port twrp this week.
Just wait for the good news
4096abcd said:
I'll try to port twrp this week.
Just wait for the good news
Click to expand...
Click to collapse
please make one also for htc u20 5g if possibile
lostic-b said:
please make one also for htc u20 5g if possibile
Click to expand...
Click to collapse
Still there's no way to unlock the bootloader of U20

Categories

Resources