Ota after twrp installed... How? - Huawei Mate 9 Questions & Answers

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!

Related

OTA failed with BootLoader locked/Stock Recovery !?

Hi Guys, I need some help
I am on MT-LV09xxxB137SP03/KitKat 4.4.2/EMUI 3.0 build. Recently I got a notification about an intermediate update before LolliPop: xxxB145: so I tried a OTA update which failed (no specific error, just "software update failed"). I downloaded manually the update, put that in the dload folder and tried a local update, failed for the same reason.
My phone is rooted via KingRoot (amazingly worked) but the bootloader is locked, so I wonder why the update fails.
With KingRoot there is an option to "Remove Root Permission" which I tried, thinking that it was the culprit. Then I tried to update and still it failed.
I was under the impression an OTA update fails only with a unlocked bootloader/custom recovery, but this does not seem the case. Any idea about what should I do?
Thanks,
Anubis
.
Hey man,
Just wanted to let you know: I have the EXACT same problem. Huawei AM7, KingRoot, OTA xxxB145 fail. I cannot further help, as I have no solution myself.
Hope someone can help.
Flash the stock image. Kingroot may have left some files behind even though you "uprooted" this the system is still seen as modified for purposes of the ota.
Milly7 said:
Flash the stock image. Kingroot may have left some files behind even though you "uprooted" this the system is still seen as modified for purposes of the ota.
Click to expand...
Click to collapse
Did a factory reset, still software update fail. Then tried to install stock rom over the stock rom, but software update still fails...
Did you try local update from internal or external SD card?
Yes, tried that, but same 'software update fail' problem...
Are you sure that you are flashing the correct file for your specific variant? You cannot flash TL10 on L09, etc. It will give the error if you do that.
I found the problem:
1) When installing an OTA there is a check on the file system first and if it fails, the update is aborted
2) KingUser/KingRoot leaves the file system in a dirty state (there is a kinguser.apk left in /system/app) so the check fails
3) to install a clean OTA you need to have a clean recovery so you need to:
3.1) unlock the bootloader (to be able to install a stock recovery)
3.2) download the update (e.g. ...B145) you want to install
3.3) use the Huawei extractor to get the recovery.img file from the package
3.4) flash the stock recovery
3.5) upgrate with the OTA
I discovered it step by step. Basically you need to unlock the bootloader to fix things and therefore it is a waste of time to user KingRoot/KingUser in the first place: but faster/cleaner to unlock the bootloader and install SuperSU.
Anubis
Still doesn't work I had the same but also had twrp recovery, I have my unlock code but no matter what adb I use I get remote command not allowed for trying to get stock recovery back or parse file failed with unlock code.
Any ideas would be much appreciated.
Anubis1965 said:
Hi Guys, I need some help
I am on MT-LV09xxxB137SP03/KitKat 4.4.2/EMUI 3.0 build. Recently I got a notification about an intermediate update before LolliPop: xxxB145: so I tried a OTA update which failed (no specific error, just "software update failed"). I downloaded manually the update, put that in the dload folder and tried a local update, failed for the same reason.
My phone is rooted via KingRoot (amazingly worked) but the bootloader is locked, so I wonder why the update fails.
With KingRoot there is an option to "Remove Root Permission" which I tried, thinking that it was the culprit. Then I tried to update and still it failed.
I was under the impression an OTA update fails only with a unlocked bootloader/custom recovery, but this does not seem the case. Any idea about what should I do?
Thanks,
Anubis
Click to expand...
Click to collapse
u need to be unrooted to proceed ota. ..
Okay,
I have been trying over and over but there is no way I can perform an OTA. Here's the situation:
- The bootloader is unlocked
- Current Firmware: MT7-L09 ... B137SP03. According to the updater it should go with MT7-L09 ... B145
- OTA fails: on WiFi, local update (SD), forced (three buttons)
- In the systems/app folder I have this "KingUser.apk" app, has been left hanging there by KingRoot when I removed it
I was told to reinstall the stock recovery and try a local update, here's what I did:
1) I downloaded again the current FW (B137SP03) from here: http://www.huaweiblog.de/huawei/firmwareupdate-b137-fuer-mate-7-ota/
2) extracted update.app, opened with the Huawei Extractor, got recovery.img from update.app
3) rebooted the Mate 7 (vol down + power) in fastboot mode
4) flashed the stock recovery: fastboot flash recovery recovery.img, got an ok
5) rebooted
6) put update.zip in the dload folder of the SD, performed a local update --> failed as usual
Is there anything I am doing wrong?
Anubis
Anubis1965 said:
6) put update.zip in the dload folder of the SD, performed a local update --> failed as usual
Is there anything I am doing wrong?
Anubis
Click to expand...
Click to collapse
"UPDATE.ZIP" ??? I wonder that stock recovery may flash a zip file.
Check elsewhere in this forum the matter of the trash files left by kingroot, intead...
tuddu said:
"UPDATE.ZIP" ??? I wonder that stock recovery may flash a zip file.
Check elsewhere in this forum the matter of the trash files left by kingroot, intead...
Click to expand...
Click to collapse
Did you read what I wrote?
The OTA is called update.zip and you can perform an update by putting it into the dload folder of the SD card and then using the updater or with a forced update (three buttons boot).
The recovery file is called recovery.img and it is inside the archive update.app which is inside update.zip
Anubis
Correct. But you wrote "put the update.zip file in the SD folder".
I suppose you mean the EXTRACTED update.app file in the SD folder.
That's it.
Anyway, peace and love.
tuddu said:
Correct. But you wrote "put the update.zip file in the SD folder".
I suppose you mean the EXTRACTED update.app file in the SD folder.
...
.
Click to expand...
Click to collapse
No. I put the update.zip file in the dload folder of the SD card.
About removing KingRoot/KingUser after the self-removal option failed, I have only heard about installing SuperSu. Are you referring to it? Because that would imply to install a custom recovery, install supersu, clean-up, unroot via supersu, reinstall the stock recovery and then perform finally the OTA.
Paolo
:good:
oh well... Did everything (KingUser was removed with the support of SuperSuMe), reverted back to the stock recovery and guess what? Software update failed as before.
I guess I'll have to stay with my firmware until lollipop or a custom rom based on lollipop will come
Anubis
Anubis1965 said:
oh well... Did everything (KingUser was removed with the support of SuperSuMe), reverted back to the stock recovery and guess what? Software update failed as before.
I guess I'll have to stay with my firmware until lollipop or a custom rom based on lollipop will come
Anubis
Click to expand...
Click to collapse
Hello,
tuddu is wright. The file which must be put in the dload folder is update.app and no update.zip.
grofock said:
Hello,
tuddu is wright. The file which must be put in the dload folder is update.app and no update.zip.
Click to expand...
Click to collapse
I wish it would be that easy. It makes absolutely no difference whether I put in dload update.zip or its unzipped content.
the message is always "software install failed".
Anubis
Anubis1965 said:
I wish it would be that easy. It makes absolutely no difference whether I put in dload update.zip or its unzipped content.
the message is always "software install failed".
Anubis
Click to expand...
Click to collapse
You should do a clean install ( 3 buttons ) of the full B137 firmware, it was happening also with my phone and I solved the issue in that way.
After the flash you'll be on a clean stock B137 so you can put the "update.zip" in the "dload" folder ( it's an OTA update, not a full update.app firmware ) and be able to get the latest B145 :good:

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

NXT-L29C432B560 recovery needed (to flash)

Dears,
I'm actually on NXT-L29C432B560 firmware and I'd like to apply the B581 upgrade.
Unfortunately, I rooted my phone, I installed the TWRP recovery, but I didn't decrypted my SD, so to apply the update I must change TWRP with B560 recovery.
I'm no more able to find the B560 firmware since all the published links are no more active ...
Is there anybody going to share a valid link with me or the recovery file directly?
Many thanks,
Enrico
Here is NXT-L29C432B560 RECOVERY.img extracted from NXT-L29C432B560 full zip.
https://drive.google.com/file/d/0ByhZ6GRuHf_WajNSUUtYNlJsZjQ/view?usp=drivesdk
Boosik said:
Here is NXT-L29C432B560 RECOVERY.img extracted from NXT-L29C432B560 full zip.
https://drive.google.com/file/d/0ByhZ6GRuHf_WajNSUUtYNlJsZjQ/view?usp=drivesdk
Click to expand...
Click to collapse
Thank you so much mate!

Upgrade stock firmware - twrp and root

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.

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.

Categories

Resources