Related
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?
Can anybody help me with three files:
build.prop - in /system,
custom.bin - in /data,
oeminfo - in /dev/block/platform/hi_mci.0/by-name/
This is important that model device is BTV-W09 - only WiFi, Android is 7, and location is eu!
My firmware is BTV-W09C100B301.
I would be very grateful!
Vuanerges said:
Can anybody help me with three files:
build.prop - in /system,
custom.bin - in /data,
oeminfo - in /dev/block/platform/hi_mci.0/by-name/
This is important that model device is BTV-W09 - only WiFi, Android is 7, and location is eu!
My firmware is BTV-W09C100B301.
I would be very grateful!
Click to expand...
Click to collapse
Hi! How did you flash the data zip after the fullota zip?
TaRsY said:
Hi! How did you flash the data zip after the fullota zip?
Click to expand...
Click to collapse
I use TWRP
But You can flash UPDATE.APP from update_data_full_hw_eu.zip after this one from data.zip. Replace it in folder dload in root.
Vuanerges said:
But You can flash UPDATE.APP from update_data_full_hw_eu.zip after this one from data.zip. Replace it in folder dload in root.
Click to expand...
Click to collapse
The update.app within update_data_full_hw_eu.zip is ~110MB which is small, every single applications are in folders next to the update.app, this means flashing the zip itself would be the best solution.
Flashing from TWRP failed for me, also some partitions fails to mount. How did you flash it via TWRP?
TaRsY said:
"new users prevented from posting outside links"
I use this twrp_BTV-W09_5_greatslon.img
You can find it at 4pda ru, in Huawei MediaPad M3 - Прошивки, Сообщение #362
Click to expand...
Click to collapse
Vuanerges said:
TaRsY said:
"new users prevented from posting outside links"
I use this twrp_BTV-W09_5_greatslon.img
You can find it at 4pda ru, in Huawei MediaPad M3 - Прошивки, Сообщение #362
Click to expand...
Click to collapse
I use the same version.
Click to expand...
Click to collapse
This version is for Android 7, EMUI5.
What is yours?
https://forum.xda-developers.com/mediapad-m3/development/twrp-greatslon-mod-t3489232
is for Android 6, EMUI4.1
Vuanerges said:
This version is for Android 7, EMUI5.
What is yours?
https://forum.xda-developers.com/mediapad-m3/development/twrp-greatslon-mod-t3489232
is for Android 6, EMUI4.1
Click to expand...
Click to collapse
I have BTV-W09C100B301 on my device. But only the update.app from the update.zip. After flashing and booting it up (Android 7), I unlocked the bootloader and flashed twrp_BTV-W09_5_greatslon.img (that's for Android 7). But from the recovery I was not able to flash update_data_full_hw_eu.zip.
I had a problem with chinese firmware.
Because of this I made Unbrick with Huawei_Multi-Tool. It's necessary to exstract 4 files from update.zip - 3 and 1 from update_data_full_hw_eu.zip. This exstract makes HuaweiUpdateExtractor_0.9.9.5.
Than flash TWRP, and with it flash first update.zip and update_data_full_hw_eu.zip right away.
I want to flash the ROM BTV-W09C100B301 with three buttons, but it is imposable - I made big mistake with location change, when I flashed chinese ROM...
That's why I need these three files: build.prop, custom.bin and oeminfo.
TaRsY said:
The update.app within update_data_full_hw_eu.zip is ~110MB which is small, every single applications are in folders next to the update.app, this means flashing the zip itself would be the best solution.
Flashing from TWRP failed for me, also some partitions fails to mount. How did you flash it via TWRP?
Click to expand...
Click to collapse
One question: In case of small update.app in update_data_full_hw_eu.zip, Do I have to flash it via twrp?
Via sideload, flashing lasts few seconds and it does not install any of the apps.
Thanks!
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.
Does someone have the original recovery for OREO?
I have TWRP and Magisk Installed and cannot install OTA or FULL-OTA with twrp.
I need the stock recovery for OREO.
I would appreciate if someone can share it.
eRecovery doesn't work for me and I don't want to format the device again (I already bricked it once and don't want to play with HWOTA - testpoint method was needed to get it back to life)
I've extracted the recovery myself
Here is a link for the stock recovery extracted from VKY-L29 8.0.0.365 firmware (for the C432) variant):
http://www.mediafire.com/file/dy4m97771qz6m7z/RECOVERY_RAMDISKB365.img
You can flash the .img file using TWRP (flash it over the recovery partition) - not tested with fastboot.
I was able to update to the last version using the FULL-OTA-PV file and my bootloader is still unlocked, then I flashed twrp, installed magisk and then again flashed the stock recovery for future updates.
USE AT YOUR OWN RISK!!!
Here is a link for the stock recovery extracted from VKY-L29 8.0.0.369 firmware (for the C432) variant):
http://www.mediafire.com/file/77hkxqtlu1f1r52/RECOVERY_RAMDISKB369.img/file
Stock recovery for VKY-L29 (ver c636)
mexusbg said:
Here is a link for the stock recovery extracted from VKY-L29 8.0.0.369 firmware (for the C432) variant):
Hi there. I have TWRP. I need stock recovery for VKY-L29 (ver C636). currently i am on 8.0.0.366 and want to get OTA update. Can i use your C432 variant? i have used Huawei Update extractor to extract the latest update.app but i am getting three recovery files, Recovery_Ramdis, Recovery_Vbmeta and Recovery_Vendor. i dont know which file to use or how to proceed. Any help will be much appreciated. Thank you
Click to expand...
Click to collapse
gucchh said:
mexusbg said:
Here is a link for the stock recovery extracted from VKY-L29 8.0.0.369 firmware (for the C432) variant):
Hi there. I have TWRP. I need stock recovery for VKY-L29 (ver C636). currently i am on 8.0.0.366 and want to get OTA update. Can i use your C432 variant? i have used Huawei Update extractor to extract the latest update.app but i am getting three recovery files, Recovery_Ramdis, Recovery_Vbmeta and Recovery_Vendor. i dont know which file to use or how to proceed. Any help will be much appreciated. Thank you
Click to expand...
Click to collapse
It should work.
Do not use firmware extractor without creating a map for your device.... or you may brick it. The correct partition is recovery_ramdisk
Click to expand...
Click to collapse
Hello, I have a 2016 p9 lite. I would like to sell it. So I would like to re-lock the bootloader and re-install the original rom.
build number: VNS-L31C432B412
version of EMUI: 5.0.1
Android 7.0 version
How should I do it ? Where can I get the original rom?
Currently I have twrp elite 3.1.1.1 installed and it refuses to boot on the system because: "encryption unsuccessfull: encryption was interrupted and can't complete. As a result, the data on your phone is no longer accessible.
Please help
toto6976 said:
Hello, I have a 2016 p9 lite. I would like to sell it. So I would like to re-lock the bootloader and re-install the original rom.
build number: VNS-L31C432B412
version of EMUI: 5.0.1
Android 7.0 version
How should I do it ? Where can I get the original rom?
Currently I have twrp elite 3.1.1.1 installed and it refuses to boot on the system because: "encryption unsuccessfull: encryption was interrupted and can't complete. As a result, the data on your phone is no longer accessible.
Please help
Click to expand...
Click to collapse
Try to install Service ROM from SD card using dload method.
Link:
https://androidhost.ru/41d
Follow instructions in file "ReleaseDoc". (Read everything carefully before doing anything).
Through this process, your data will be deleted and bootloader will be locked again.
Dload method works with Stock Recovery only, you have to install Stock Recovery first.
toto6976 said:
Hello, I have a 2016 p9 lite. I would like to sell it. So I would like to re-lock the bootloader and re-install the original rom.
build number: VNS-L31C432B412
version of EMUI: 5.0.1
Android 7.0 version
How should I do it ? Where can I get the original rom?
Currently I have twrp elite 3.1.1.1 installed and it refuses to boot on the system because: "encryption unsuccessfull: encryption was interrupted and can't complete. As a result, the data on your phone is no longer accessible.
Please help
Click to expand...
Click to collapse
Hey dude !!
So you bricked the device ....
I don't know why but if you want B412 firmware
you can use @-Alf- guide and re-upgrade via Firmware Finder
to B370 fullota-mf-pv first, then to B412 fullota-mf...
Or download a previous from B412 firmware (ex: VNS-L31C432B410 fullota-mf)
and use HuRupdater method to flash the firmware.
Extract then stock recovery from B410 via Huawei Extractor and flash it via TWRP.
Re-update finally to B412 using Firmware Finder.
I can help you doing this, worked on my ex device but i can't guarantee 100%.
Cheers
Dadditz said:
Hey dude !!
So you bricked the device ....
I don't know why but if you want B412 firmware
you can use @-Alf- guide and re-upgrade via Firmware Finder
to B370 fullota-mf-pv first, then to B412 fullota-mf...
Or download a previous from B412 firmware (ex: VNS-L31C432B410 fullota-mf)
and use HuRupdater method to flash the firmware.
Extract then stock recovery from B410 via Huawei Extractor and flash it via TWRP.
Re-update finally to B412 using Firmware Finder.
I can help you doing this, worked on my ex device but i can't guarantee 100%.
Cheers
Click to expand...
Click to collapse
Please read carefully, Maestro :
"I would like to sell it. So I would like to re-lock the bootloader and re-install the original rom."
Piece.
Hello,
I reinstalled the custom rom that I found on the net: C432B414 with Hurupdater.
It works.
However, the bootloader is still unlocked ... however, I would like to return to the factory configuration with the bootloader locked.
https://www.cjoint.com/c/JItgZO6GuGB
I have the stock recovery install :
https://www.cjoint.com/c/JItg7SqQmdB
I am currently downloading the file indicated by this link : https://androidhost.ru/41d
In the file provided by Alf, there are two files:
'HUAWEI P9 Lite Android7.0 rollback to Android6.0 operation instruction'
'HUAWEI VNS-L31C432B416 Software Upgrade Guideline'
which one do I choose
toto6976 said:
I am currently downloading the file indicated by this link : https://androidhost.ru/41d
In the file provided by Alf, there are two files:
'HUAWEI P9 Lite Android7.0 rollback to Android6.0 operation instruction'
'HUAWEI VNS-L31C432B416 Software Upgrade Guideline'
which one do I choose
Click to expand...
Click to collapse
Unpack downloaded .zip package, you will see two files - ReleaseDoc and Software. Open "Software" and unpack SDUpdate_Package.tar.gaz. Transfer file dload to SD card and follow instructions - there is 'Software upgrade guidline' in file ReleaseDoc.
Edit.:
You can also safely lock BL with OEMINFO flashing and rollback to A6:
-Download OEMINFO:
https://mega.nz/#!xhEwFYLZ!Sv2nB5GERB_js76sAUWxj8hQgsjnf_YPobVbtrxpCew
Transfer it to the SD Card.
Download VNS-L31C432B160 fullupdate.zip:
http://update.hicloud.com:8180/TDS/data/files/p3/s15/G1164/g104/v66015/f1/full/update.zip
Create a folder dload on your SD , unpack downloaded .zip file and copy it to the dload folder.
Install TWRP 3.1.0-2:
https://mega.nz/#!EsESQQhK!uc_lfXEfDW6U7Lq2VeNOYq5OWUID0G-YyhK-oUL4deU
using command
fastboot flash recovery2 twrp.img (OVER eRECOVERY!) , boot in TWRP, fĺash oeminfo.zip , go back to TWRP's main menu, select Reboot and Power Off. Then use three button combo and flash firmware from dload. Your phone will running A6 with locked bontloader. If you want, you can upgrade back to A7 via OTA update or using Fipmware finder.