Just wanted to post my experience with the recent ota.
Yesterday I received Ota notification for 8.1.2.0 on Global stable mi5
The setup of my mi5 was global stable 8.0.5.0 with systemless supersu n suhide + official twrp
It failed to install couple of times. I tried to open to open the Ota zip, but it was encrypted.
Offical twrp couldn't flash it.
So googled for twrp with miui Ota support.
I found zcx twrp for mi5. It has the feature that supports reboot from updater app to flash Ota.
It failed again but now I can see the failure log in twrp. It was boot size mismatch.
Aah! Xiaomi now checking boot also while flashing Ota.
Left the whole Ota business and downloaded the full ROM and checked it's update script, no checks there! Cool.
Flashed it in twrp, peace of mind.
Whole thing done in 10 mins.
Rooted back again.
Suggestion: don't use incremental Ota unless you have nothing touched in the phone. Better go for full ROM.
But not everybody can afford to download full ROM.
Does anybody know how to decrypt Ota zip? Then atleast I can modify the update script to make it work
Related
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
I'm currently running MIUI 8 global dev ROM with officially unlocked bootloader, and there's a new update for it. Problem is, I rooted my phone already and I'm not sure if updating it will get rid of root. Also, twrp doesn't stick for some reason, so it's not very convenient to just flash SuperSU.zip after updating.
Install zcx recovery (search on MIUI forums )..that'll help you to receive ota updates (so you don't have to download and flash the entire ROM all the time ).if you follow the instructions on installing zcx recovery then that twrp will stick ..after that you can install SuperSU after updating ROM .
hey I have the redmi note 4 sd edition global stable , I wanna update to the latest V8.5.8.0 but my device is rooted and twrp is installed.. I tried by downloading from the updater but I got in the twrp recovery. when I root a device I know I can't get ota updates.. but I don't wanna lose my files photos etc... if I download the latest version with zip extension then I can get on the twrp recovery and flash it ? or I think there is way in the updater to flash a zip.. am I gonna lose files if I try any of these methods ? what about format ? do I need it?
Hi
I found myself in the very same situation, and despite a little bit of trial and error look at what finally helped me to update and regain root, I kept all my data and settings. No bugs so far!
https://forum.xda-developers.com/redmi-note-4/help/help-thread-questions-t3527620/post73956435
Hope you can find that useful
As the title states, will I receive OTA updates for my Redmi 5 after I install TWRP and flash Magisk?
morin_khuur said:
As the title states, will I receive OTA updates for my Redmi 5 after I install TWRP and flash Magisk?
Click to expand...
Click to collapse
I installed TWRP and Magisk, and I received OTA update, but with custom recovery, the phone can't install it, (it just reboots to TWRP when you press update).
I've read that you can install updates via TWRP but I am not sure from where to download the updates as currently, the official Xiaomi page is down, I presume because of the MIUI 10 update...
You can re-install the stock recovery and maybe unroot the phone and then try again, at least that's what i've read on other forums, but didn't test it myself yet.
iamboredatwork said:
I installed TWRP and Magisk, and I received OTA update, but with custom recovery, the phone can't install it, (it just reboots to TWRP when you press update).
I've read that you can install updates via TWRP but I am not sure from where to download the updates as currently, the official Xiaomi page is down, I presume because of the MIUI 10 update...
You can re-install the stock recovery and maybe unroot the phone and then try again, at least that's what i've read on other forums, but didn't test it myself yet.
Click to expand...
Click to collapse
Yes, although we still receive OTA update package from MIUI host, we can't update OTA with TWRP recovery for rosy at present. TWRP hasn't supported ota incremental update zips yet. We need some one can build RedWolf Recovery for rosy to have OTA incremental update supported
Yes u will receive update but u have to flash it via TWRP
I have read basically all the posts here on xda related to this matter. But, being a noob in "rom,kernel, recovery" world, I need to get spoon-fed in some area. Can any kindhearted fellow answer the following questions?
1. I will always use latest official MIUI global beta rom. I need to have the MOST stable custom recovery installed all the time (preferably TWRP official if possible). I want to receive OTA and flash them via custom recovery. Can it be done? if so, what are the MOST hassle-free steps? (want to have root for sum lucky pather action)
2. What are these "encryption", "force disable encryption treble" stand for and what it means for a user like me who wants to run latest Magisk all the time with custom recovery?
3. I can manage to flash OTA and then flash magisk again if needed to maintain root status, is that all I need to do before booting into the new updated and rooted system?
If someone can explain and provide insights, that will be a great help.
1. The most hassle free to do OTA updates is to revert back to stock recovery when the update.zip package is ready to be flashed because
2. Every OTA update in MIUI will encrypt /data partition. (This is Xiaomi's standard data protection). I didn't tried to do OTA updates with Official Twrp but you can try. That is why everyone when trying to flash custom rom, flashing DFE.zip (Disable Force Encryption) will of course disables the system to encrypt data during boot.
3. Magisk has OTA survival script so when there is OTA updates, Magisk will automatically install after OTA update is finished.