G7-L03 stock recovery? - Huawei Ascend G7 Questions & Answers

TWRP managed to completely mangle my software, and the backup I had produced was lost, and now my phone has no OS. I did find the stock firmware on Huawei's Web site, but I do not have the stock recovery image, which is (apparently?) necessary to apply the UPDATE.APP file. Could anyone help?

JKingWeb said:
TWRP managed to completely mangle my software, and the backup I had produced was lost, and now my phone has no OS. I did find the stock firmware on Huawei's Web site, but I do not have the stock recovery image, which is (apparently?) necessary to apply the UPDATE.APP file. Could anyone help?
Click to expand...
Click to collapse
There are guides out there to unpack the UPDATE.APP file and extract the stock recovery, so you can try that.

Related

Need help to create a TWRP update from OTA

I just receveid an OTA update, but the installation stuck because the system is rooted.
I found the update.zip file on my Handy, but it contains some directory (Meta-inf, patch and system) and a big file update.app that I believe contais all the update file.
Is it possible to extract the file from update.app and then create an update that can I launche from TWRP? And if so how could I do it?
Thanks
You can't.
flash back a stock recovery.
After ulocking bootloader and root the OTA didn't work with original recovery that's why I wanto to create an update that works with TWRP
did you try?
ItalianWolf said:
did you try?
Click to expand...
Click to collapse
Yes I reinstalled the original recovery that you can find in t he root package and I completely unroot the phone using the unroot command in SuperSu.
Then I launch the update but after reboot it stuck at 11%, so I create the dload folder in my handy memory and copied there the content of update.zip and then forced the update. In this case, after reboot, it load until 99% that it reboot, but the installed version is still the 170 and not the 188.
Here worked, from post #393 to # 397 and #400
Stock recovery in root zip maybe too old.
Edit:
Ops perhaps it work on full update packages.
ItalianWolf said:
Here worked, from post #393 to # 397 and #400
Stock recovery in root zip maybe too old.
Edit:
Ops perhaps it work on full update packages.
Click to expand...
Click to collapse
What does here mean?
Which thread?
Thanks
Harlock1978 said:
What does here mean?
Which thread?
Thanks
Click to expand...
Click to collapse
Sorry, forgot link: http://forum.xda-developers.com/p8l...-lite-android-6-0-marshmallow-t3305550/page40
You need the Huawei Update Extractor Tool, and do the following:
Load the UPDATE.APP file inside the HUET
Extract boot.img, system.img, and cust.img, from UPDATE.APP inside the HUET
Flash the respective files via Fastboot
so if I am on Marshmallow beta, should I flash the recovery that comes with the marshmallow or the recovery of the B052 rom ?
AmINoS007 said:
so if I am on Marshmallow beta, should I flash the recovery that comes with the marshmallow or the recovery of the B052 rom ?
Click to expand...
Click to collapse
If you have to, flash the B052 recovery... you can always flash the Marshmallow recovery if it doesn't let you update.
I only flashed boot.img, cust.img, and system.img, when I upgraded; didn't flash Marshmallow's recovery at all.
Don't think you can even get OTA updates on the Marshmallow beta anyway (even via a normal bootloader-locked device).
Sorry for my late answer but I was travelling only with a Mac and I couldn't use Huaweu Update extractor.
This are the file that you can find in UpdateApp 188:
00.SHA256rsa.img
01.crc.img
02.curver.img
03.verlist.img
04.efi.img
05.fastboot1.img
06.boot.img
07.recovery.img
08.recovery2.img
11.cache.img
13.dtimage.img
14.dsp.img
15.fastboot.img
16.hifi.img
17.mcuimage.img
18.modemimage.img
19.modemnvm1.img
20.teeos.img
21.trustfirmware.img
And also the following directory:
META-INF
patch
system
Which file should I install, I didn't find a system.img and there are two different recovery
Thanks
You should not install any OTA with TWRP...
Flash back the stock recovery, update, then flash the twrp again, it's way easier and more secure, than doing a flashable zip from an OTA update without knowing what to do with the file within.
The OTA updates usually doesn't contain the SYSTEM.IMG file you are looking for, it contains individual files and scripts to patch up the current system partition to work with the new update.
From the two recoveries you should use the RECOVERY.IMG (the one without the 2 in it).
But again, I do recommend to flash the original recovery(not the one in the update), do the update, and put twrp back.
Where can I find the original recovery from ALE-L21C432B170, so that I can flash the original recovery again?
TIA
I found the original recovery and flashed it then I did a complete unroot and tried again to do the OTA update but it stopped at 11%.
Is there a different way to update?

Cant flash stock rom

Hi guys. M currently usimg Nephilim Rom V2. I was trying to flash b594 stock rom. Whenever i tried to install it with stock recovery it just says no update.app is found. Even though i extracted the update.zip file and put it in internal storage in dload folder. I cant even flash it through fastboot because it gives error even though i extracted the img files through Huawei extractor. Can anyone help!!!!
What kind of error fastboot method gives you? I always have went back to stock rom by flashing a rom in fastboot and never had problems with it
While flashing system.img i got error cant load system.img. even though it's in the same folder as adb is. There was also an error whule flashing recovery extracted from update.zip. i was flashing the recovery.img only and it says errot:too many links.
Try to re-download your adb and its related files
cheapster8 said:
Try to re-download your adb and its related files
Click to expand...
Click to collapse
Done that to same result...
So you want your original firmware correct ? If so , go here: http://consumer.huawei.com/nl-en/support/downloads/detail/index.htm?id=82749
Change region (if needed) find your phone and download that.
Once you downloaded it:
1. put it on your sd card
1.1 Since when you download the file, its gonna be in .zip or .rar format, you are gonna need to extract that and what you get out of that file (its gonna be a folder called dload) put that whole thing "dload" on to your sdcard. ( put in in a main folder of your sd card its called root folder, its where your main folders are like pictures, DCIM etc.)
2. turn off your phone leave it for a sec
3. then hold all 3 buttons ( power ,volume up , volume down) and it should start installing the thing.
Hope this helps.
Check this
https://forum.xda-developers.com/honor-4x/how-to/install-emui-4-1-4x-4c-g-play-g-play-t3515702
It's on honor 4x forum but it says it works on p8lite android 5.0 or higher.
Are you able to install stock recovery through adb? If you are, you can easily use Huawei's recovery to flash the stock firmware
cheapster8 said:
Are you able to install stock recovery through adb? If you are, you can easily use Huawei's recovery to flash the stock firmware
Click to expand...
Click to collapse
I guess u havent read my post coz i had clearly stated that i had tried flashing update through stock recovery but it says no update.app found.
keikari said:
Check this
https://forum.xda-developers.com/honor-4x/how-to/install-emui-4-1-4x-4c-g-play-g-play-t3515702
It's on honor 4x forum but it says it works on p8lite android 5.0 or higher.
Click to expand...
Click to collapse
Thanks man it was of some help. I now have b896.
hussam.aleem said:
I guess u havent read my post coz i had clearly stated that i had tried flashing update through stock recovery but it says no update.app found.
Click to expand...
Click to collapse
Ahh, sorry, I meant to say that you could try after flashing stock recovery to use EMUI updater to start the flashing.. anyway good that you got it to work

Is it possible to update to B381 (via OTA update) having a custom recovery?

Hi all,
I currently have a P9 Lite with VNS-L31C432B371 firmware installed.
Recently, I received the VNS-L31C432B381 update via OTA. Unfortunately, when the phone reboots into recovery mode, the update does not even start; instead, I get redirected to the custom recovery (TWRP 3.1.0.-2, system partition read-only) "homescreen".
Is there a way to update to B381 without wiping the entire phone?
Thank you for your time.
The OTA update system uses the EMUI stock recovery so no, there is no way you can update your phone through the updater by using the custom recovery
SALVO9 said:
The OTA update system uses the EMUI stock recovery so no, there is no way you can update your phone through the updater by using the custom recovery
Click to expand...
Click to collapse
Ok, thank you!
Another question: is there a way to obtain the stock EMUI recovery and flash it to execute the update?
_n0153_ said:
Ok, thank you!
Another question: is there a way to obtain the stock EMUI recovery and flash it to execute the update?
Click to expand...
Click to collapse
Yes.
Download your build's update.zip, extract the zip to desktop, you'll then have an update.app (you probably need the full ~2GB build, not OTA, e.g I use B370);
Extract recovery.img from the update.app via HuaweiUpdateExtractor;
boot to bootloader;
fastboot flash recovery recovery.img.
Done.
JHD94 said:
Yes.
Download your build's update.zip, extract the zip to desktop, you'll then have an update.app (you probably need the full ~2GB build, not OTA, e.g I use B370);
Extract recovery.img from the update.app via HuaweiUpdateExtractor;
boot to bootloader;
fastboot flash recovery recovery.img.
Done.
Click to expand...
Click to collapse
Thank you!
I succeeded in extracting and installing the recovery from the update.zip. Unfortunately the OTA failed anyway.
At this point, I think I should just wipe the phone and install the complete update from here.
_n0153_ said:
Thank you!
I succeeded in extracting and installing the recovery from the update.zip. Unfortunately the OTA failed anyway.
At this point, I think I should just wipe the phone and install the complete update from here.
Click to expand...
Click to collapse
Well I , like you, had a custom recovery. The 3-button method didn't work for me and even after restoring the stock recovery I was unable to install the update.
I unpacked the Update.APP file and flashed through fastboot the BOOT, RECOVERY, VENDOR and SYSTEM .img files and I was succesful but now I have the Model number as generic_a15 and Build number NRD90M test-keys. I can only assume some of the other img files carry the information about my phone. At the moment is stable enough but I can't open the Security menu.
If someone has any idea on how to flash the other img files, please let me know
okaar said:
Well I , like you, had a custom recovery. The 3-button method didn't work for me and even after restoring the stock recovery I was unable to install the update.
I unpacked the Update.APP file and flashed through fastboot the BOOT, RECOVERY, VENDOR and SYSTEM .img files and I was succesful but now I have the Model number as generic_a15 and Build number NRD90M test-keys. I can only assume some of the other img files carry the information about my phone. At the moment is stable enough but I can't open the Security menu.
If someone has any idea on how to flash the other img files, please let me know
Click to expand...
Click to collapse
well, if you flash your oeminfo zip, you should get it back
mjz2cool said:
well, if you flash your oeminfo zip, you should get it back
Click to expand...
Click to collapse
I only have old oeminfo.img packages, do you know how I can build one? There is a PRODUCT.img but it is considerably bigger than the oeminfo package that I have seen.
I flashed all the old B370 files, update.zip and update...hw_eu.zip, with DC Phoneix (a non free tool but saved me from.a bricked phone). After that, I flashed the new package and got the Security settings and Developer Options to work again.

Anyone have the stock recovery image for Asus Zenfone 3 Zoom (ZE553KL)?

I newbed up my phone (soft bricked) and am trying to flash back to stock, but didn't think to save the stock recovery image before I flashed TWRP. Does anyone happen to have it for the ZE553KL? Or perhaps the stock firmware can be flashed through TWRP? I tried to flash via adb sideload, and it appeared to work, but that could be the totally wrong way.
Thanks!
Check the ROM somewhere here "convert CN to WW". There's a stock image in there with instructions how to sideload through ADB.
Thanks @magicmanfk!
The recovery.img is indeed in the ROM file attached to that thread. I extracted it and ran
Code:
fastboot flash recovery recovery.img
and it brought back the stock recovery. Then I was able to flash one of the older firmware files via
Code:
adb sideload UL-Z01H-WW-11.41.87.2-user-1.zip
and I'm back to stock. Now going to try to upgrade to N.
lirpa said:
Thanks @magicmanfk!
The recovery.img is indeed in the ROM file attached to that thread. I extracted it and ran
Code:
fastboot flash recovery recovery.img
and it brought back the stock recovery. Then I was able to flash one of the older firmware files via
Code:
adb sideload UL-Z01H-WW-11.41.87.2-user-1.zip
and I'm back to stock. Now going to try to upgrade to N.
Click to expand...
Click to collapse
Did you use that image for a US phone or other?
The image you used looks like the firmware on the Asus site dated 6/6/2017 so I guess the firmware there are full images and not patches like someone suggested???
I'm asking because I feel like I may want to go back to US version stock at some point and don't have a backup so if the above is the case then I probably don't need to ask someone for a backup...
Did you have any luck upgrading to N? When I try using the phone's normal procedure I get an error saying I can't upgrade to N from a firmware less current than 11.41.87.2 even though that's the one I'm running. After flaking back to stock recovery I was able to update to that one normally... I wonder if there was something subtle that went wrong.

KDZ to TWRP flashable ZIP?

I more or less understand what a KDZ is, and how to flash it with LGUP. I also sorta understand that a TWRP flashable .zip file is basically just an archive of a bunch of .img files that TWRP (magically) knows where to flash to on the device. So I can get a KDZ for the stock ROM from LG, or I can get a .zip of a custom ROM such as LineageOS. However I've also seen .zips of stock ROMs such as in this thread by dudeawsome.
What I want to know is, is there a way to convert an official KDZ to a .zip file that TWRP can flash? I'm assuming that is what's done to make a stock ROM available in a convenient .zip format for use in TWRP, but I'd like to know the details of the process. The closest I've found is something called KDZZ by weakNPCdotCom, but it appears that it no longer works and is discontinued.
I want to be able to take any official KDZ and convert it to a TWRP-friendly zip. I also want to remove the laf and recovery images as well since I don't want TWRP overwritten. Can anyone give me the lowdown on this?

Categories

Resources