[SOLVED][NO FIX] WHY DO TWRP FAILS TO FLASH HONOR official OTAs ? - Honor 5X Questions & Answers

Honor official OTAs includes Update.app files which can only be flashed by stock recovery .
Twrp wasnt implemented in a way to extract and push each file in its respective partitions .
This is the reason why the flash fails at some percentage of flashing .
As soon as the Updater script reaches a point to push the files in update.app , twrp can't do the job and it fails to flash .
So only fix is by flashing stock recovery to flash update instead of using custom recoveries .
Sent from my KIW-L22 using XDA-Developers mobile app

Related

How to flash OTA through TWRP?

I have official unlocked bootloader, with TWRP that patches boot.img automatically, and rooted Global Beta ROM on SD version. I successfully flashed full ROM zip without any problem, by just flashing in TWRP without any modifications or any other boot.img.
But I never flashed OTA before. I'm a little paranoid about this, I don't wanna brick my phone again. By my given condition, I should be able to flash OTA zips without any modifications, and keeping my TWRP and unlocked bootloader, right?
Sent from my Redmi Note 3 using Tapatalk
Did you flash official TWRP?
Klanac89 said:
Did you flash official TWRP?
Click to expand...
Click to collapse
No I didn't. I flashed the modified one that I do not have to flash boot.img when flashing miui rom
Sent from my Redmi Note 3 using Tapatalk
You don't need boot.img if you use official TWRP.
http://linuxwelt.blogspot.de/2016/04/twrp-recovery-flashen-xiaomi-anleitung.html
Flash TWRP (just check the Screenshots) and after that you can flash OTA without problems (I did it 2 times). Have no problems.
But first take the new TWRP and make a backup with EFS on a USB Stick or sd card. If something go wrong you can restore your RN3P.
Official twrp?
Lol yea u mite be able to flash ota with official twrp but won't it lock the bootloader and boot.img..
But there mite be a way to make it work .
Use the original boot.img of the current ROM and flash then flash the otathat(so there won't be error 7) will fix the issue .and the twrp will auto patch the boot.img after update

[Help] Installing ota on officially unlocked bootloader and rooted phone.

As the tiltle says I want to install ota update on my phone. It's bootloader is officially unlocked, rooted amd xposed is also installed. I'm right now on cofface twrp.
Unless you made a backup of unmodified stock boot and system before rooting etc.
The ota will probably fail.
If you have made a backup of them? Then restore the backup and apply the OTA.
Make backups again if the OTA gets applied. Then root and install xposed again.
If you can follow this thread you see the steps involved in applying an ota.
corkiejp said:
Unless you made a backup of unmodified stock boot and system before rooting etc.
The ota will probably fail.
If you have made a backup of them? Then restore the backup and apply the OTA.
Make backups again if the OTA gets applied. Then root and install xposed again.
If you can follow this thread you see the steps involved in applying an ota.
Click to expand...
Click to collapse
I didnt made the back up of those files but today i unrooted, uninstalled xposed, flashed stock recovery but still ota fails.
i even followed the guide and replaced emmc file and modified updater script but twrp was not able to flash the update and can i install recovery rom using twrp even when im rooted and xposed is install adn do i lose data by flashing it?
Once you have modified your system and boot images. you can not unmodified them by removing the changes. Because the images will still be modified!
I don't know if you can flash the latest rom, without losing your data. What rom are you using?
I flashed xiaomi.eu rom, to avoid having to worry about getting and applying OTA updates. As detail in my previous post.
With xiaomi.eu rom, I can flash the updated roms without losing data.
You could try, making a TWRP backup of your data partition.
Flash the latest version of your rom.
Then if data gets wiped, restore the TWRP backup of data partition.
My phone was officially unlocked, used alka twrp. I can still have ota update of cause failed on incremental update, alter rebooted the phone, I received the second ota update full rom and flashed it , flashed superSU and exposed v86 with success.
Sent from my Redmi Note 3 using Tapatalk
farhantahir said:
As the tiltle says I want to install ota update on my phone. It's bootloader is officially unlocked, rooted amd xposed is also installed. I'm right now on cofface twrp.
Click to expand...
Click to collapse
To flash recovery MIUI rom through twrp, delete the emmc_appsboot.mbn file from the firmware_update folder inside the rom zip file, and then flash rom through ALKA TWRP .
To update rom, download OTA through updater app or MIUI site and then open the OTA zip file and delete emmc_appsboot.mbn file inside the firmware-update folder and then flash through ALKA TWRP .
manishbhakuni14 said:
To flash recovery MIUI rom through twrp, delete the emmc_appsboot.mbn file from the firmware_update folder inside the rom zip file, and then flash rom through ALKA TWRP .
To update rom, download OTA through updater app or MIUI site and then open the OTA zip file and delete emmc_appsboot.mbn file inside the firmware-update folder and then flash through ALKA TWRP .
Click to expand...
Click to collapse
Officially unlocked the bootloader, I always successfully ota full rom flashed by alka twrp. No needed to do additional steps.
Sent from my Redmi Note 3 using Tapatalk
timberwolf60 said:
Officially unlocked the bootloader, I always successfully ota full rom flashed by alka twrp. No needed to do additional steps.
Sent from my Redmi Note 3 using Tapatalk
Click to expand...
Click to collapse
is this working for ota for you plz tell
android_smater said:
is this working for ota for you plz tell
Click to expand...
Click to collapse
On my rmn3 pro, failed on first incremental ota update. Upon reboot, I will received another ota, this time will be full rom. Flashed with alka twrp with success.
Sent from my Redmi Note 2 using Tapatalk
OTA not worked on twrp..only work full rom on twrp recovery so u flash full rom zip file ..u hv stock recovery then works ota updates

how to flash miui rom using twrp recovery without locking bootloader

i want to flash my kate variant the latest stock rom now i am using viper os > what can i do and what recovery should i use to njot get bootloob and other issues and do i need a new firmware cuz now my device tells me it is kenzo and at real it is kate
Download ROM & Lazy flasher zip file flash it done
Sent from my Redmi Note 3 using Tapatalk
lazy flasher will not work,
just download rom and delete emmc.appsboot file in firmware update folder inside the zip and install

[Guide] OTA update installation on rooted phone

This may be known to many but there are many users who were struggling with this.
Hello Folks,
Was getting few requests on XDA, Telegram and Facebook for this. As title says, there were few users reporting OTA failures while they were rooted with Magisk. Yes, that's obvious, it will fail as you have modified the boot.img (ramdisk) and stock recovery (Recovery_ramdisk.img) while rooting and installing TWRP.
Please follow below steps to update via OTA if you were rooted or using magisk.
Uninstall busybox binaries and Xposed framework (if you are using by any chance)
Uninstall Magisk (inside the app or by flashing the magisk uninstaller via TWRP)
Download update.app of your current firmware and extract stock recovery and boot file via Huawei extractor
Flash stock recovery of your actual variant as fastboot flash recovery_ramdisk recovery.img
Flash stock boot as fastboot flash ramdisk ramdisk.img
Boot to system.
Perform OTA update and reboot.
Root your phone again if you want.
Enjoy.
You could just :
1.patch the new ramdisk's update via magiskmanager then,
2.update via HuRUpdater without removing your root before,
3.then reboot straight to fastboot, and flash your new patched ramdisk
4.reboot to your rooted updated firmware with magisk module still working and root mods still applyied.
PS: I don't know about xposed frameworks
shashank1320 said:
This may be known to many but there are many users who were struggling with this.
Hello Folks,
Was getting few requests on XDA, Telegram and Facebook for this. As title says, there were few users reporting OTA failures while they were rooted with Magisk. Yes, that's obvious, it will fail as you have modified the boot.img (ramdisk) and stock recovery (Recovery_ramdisk.img) while rooting and installing TWRP.
Please follow below steps to update via OTA if you were rooted or using magisk.
Uninstall busybox binaries and Xposed framework (if you are using by any chance)
Uninstall Magisk (inside the app or by flashing the magisk uninstaller via TWRP)
Download update.app of your current firmware and extract stock recovery and boot file via Huawei extractor
Flash stock recovery of your actual variant as fastboot flash recovery_ramdisk recovery.img
Flash stock boot as fastboot flash ramdisk ramdisk.img
Boot to system.
Perform OTA update and reboot.
Root your phone again if you want.
Enjoy.
Click to expand...
Click to collapse
Do we need to keep "Enable OEM Unlock" checked or unchecked in developer settings?
mohsyn said:
Do we need to keep "Enable OEM Unlock" checked or unchecked in developer settings?
Click to expand...
Click to collapse
Doesn't matter unless you are rooting
shashank1320 said:
Doesn't matter unless you are rooting
Click to expand...
Click to collapse
Thanks
I am unable to download OTA update through system
I have the zips downloaded using firmware finder but both the dload and copying the zips to /data/update/HWoUC folder fails
dload method keeps throwing erecovery on screen and does nothing
my recovery + ramdisk + kernal are all stock
magisk completely removed
bootloader unlocked
frp unlock
am i missing something or is there some other manual update method
mohsyn said:
Thanks
I am unable to download OTA update through system
I have the zips downloaded using firmware finder but both the dload and copying the zips to /data/update/HWoUC folder fails
dload method keeps throwing erecovery on screen and does nothing
my recovery + ramdisk + kernal are all stock
magisk completely removed
bootloader unlocked
frp unlock
am i missing something or is there some other manual update method
Click to expand...
Click to collapse
It should be hwouc folder directly under root of internal memory and not data/update/hwouc

Desperate help needed to go back to stock (Mate 10 Pro EMUI 8 TWRP & MAGISK) BLA-L09

Desperate help needed to go back to stock (Mate 10 Pro EMUI 8 TWRP & MAGISK) BLA-L09
Hello there. I'm used to Samsung devices and the more I read about Huawei devices the more lost I feel about them.
So, my Mate 10 pro BLA-L09 is currently running Build Number 8.0.0.131(C782). It is rooted with Pretoriano's TWRP and Magisk (Using the All-In-One tool). Of course, I can't get any pending update installed. I would like to receive that EMUI 9 update. I've read people have been successful using HuRupdater and some others ended up with a hard bricked device. Some other people suggest the safest option is to uninstall Magisk, flash stock recovery and let the phone update itself.
So far, I've downloaded the same full 8.0.0.131(C782) firmware I'm on from Firmware Finder and downloaded Huawei Update extractor to extract the recovery from UPDATE.APP. However, instead of having one recovery file to extract, there are 3 Recoveries (named: RECOVERY_RAMDIS, RECOVERY_VBMETA, RECOVERY_VENDOR) and another 4 E-Recoveries.
Can anyone please give me some step by step guidance on what to do? I'll Paypal you a beer if I'm successful with the help.
Cheers!
May be you can simply dload the firmware and then it should be full stock if dload works. Dload guide is given in my signature
shashank1320 said:
May be you can simply dload the firmware and then it should be full stock if dload works. Dload guide is given in my signature
Click to expand...
Click to collapse
Thanks! But I think dload won't work with custom recovery, right? I'm on TWRP. And getting stock recovery is just what I'm trying to achieve.
93starletgt said:
Thanks! But I think dload won't work with custom recovery, right? I'm on TWRP. And getting stock recovery is just what I'm trying to achieve.
Click to expand...
Click to collapse
Dload replaces your twrp and custom boot both. It will bring back your phone to full stock. Else you could extract the images from your firmware and then flash. Let me give you the commands.
Thanks! I just fixed my issue by flashing this through TWRP: it Installs the Oreo stock recovery.
The procedure was:
-Booted into TWRP
-Uninstalled Magisk (by flashing Magisk Uninstall Zip)
-Flashed the stock recovery (from the link below) through TWRP
-Reboot
-Check for system updates, phone will install them with no problems
Phone will be unrooted and will have stock recovery. Don't know if this will work for every stock build, it worked with mine 8.0.0.131(C782).
Link:
https://mega.nz/#!8Swx3QaC!3JQ9imU70E9O1BxgO53Z754lGCZxCbKGgSHqvTEcXsQ
I was getting the command ready for you. Glad you fixed it yourself
[*]Run the command to boot to fastboot
Code:
adb reboot bootloader
[*]On fastboot screen, you will have bootloader state as Unlocked and FRP Unlocked.
[*]Flash the stock Recovery Ramdisk as
Code:
fastboot flash recovery_ramdisk <Recovery_File_Name>.img
[*]If you have installed magisk, flash the stock boot ramdisk.img as
Code:
fastboot flash ramdisk <ramdisk_File_Name>

Categories

Resources