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
Hi friends.
I have a doubt about what is needed for a correct OTA installation in official ROM.
For example, I was in 20s, fresh install, no root, and with twrp then an update appeared for OTA, the 23s, I did it from the update icon, it was about 1.8GB, even with the TWRP, it was installed normally, the TWRP was replaced by stock recovery. I flashed the TWRP again, and flash SuperSU too.
When I was in 23s, an update prompt appeared, the 26s, I did it by the update icon, it was about 500MB, after it downloaded and went for install it booted on TWRP but nothing happened, so I flashed stock recovery, and did the procedure again, it said installation failed.
So I don't know what I am missing? Do I need a special recovery, do I have to be unroot?
Thanks for your help.
https://forum.xda-developers.com/android/software/tool-tool-one-driversunlocktwrpfactory-t3358711
Try this tool to root
Leo7D said:
https://forum.xda-developers.com/android/software/tool-tool-one-driversunlocktwrpfactory-t3358711
Try this tool to root
Click to expand...
Click to collapse
I don't get you. I am already root user.
Do I need to unroot?
icerebro said:
I don't get you. I am already root user.
Do I need to unroot?
Click to expand...
Click to collapse
I mean flash just recovery from this toolbox after 26s. It's ALL-IN-ONE TOOLBOX.
You don't need special recovery. You need stock recovery for official OTA update which is 26s. If you try to update official ota with twrp nothing will happen.
by the way how did you get OTA even after root?
Leo7D said:
I mean flash just recovery from this toolbox after 26s. It's ALL-IN-ONE TOOLBOX.
You don't need special recovery. You need stock recovery for official OTA update which is 26s. If you try to update official ota with twrp nothing will happen.
by the way how did you get OTA even after root?
Click to expand...
Click to collapse
When I was in 20s CN I was without root, just fresh install, so I did OTA to 23s, then I rooted. Now I can't do the OTA by the update app, I think it is because of the root.
OTA because of root? Strange!? it was booting in twrp?while flashing 26s
Leo7D said:
OTA because of root? Strange!? it was booting in twrp?while flashing 26s
Click to expand...
Click to collapse
Sorry I missed a negation of "can"
Well. I unrooted, and the same problem EUI Update Failed Cause: Installation Failed.
I did many tests, but was not succesfull.
Anyway, I restored my 20s CN version, and then the OTA prompt for 26 appeared, when I was in 23s the OTA for 26s was about 500MB, now from 20s to 26s it was around 1.8Gb, and worked. Now i have the 26s CN.
icerebro said:
Well. I unrooted, and the same problem EUI Update Failed Cause: Installation Failed.
I did many tests, but was not succesfull.
Anyway, I restored my 20s CN version, and then the OTA prompt for 26 appeared, when I was in 23s the OTA for 26s was about 500MB, now from 20s to 26s it was around 1.8Gb, and worked. Now i have the 26s CN.
Click to expand...
Click to collapse
You can only update full ota updates via TWRP delta ota can't be flashed via twrp that's why 500 MB 26S failed via twrp ( 1.8GB is full update, if you​ skip any delta ota next time you'll receive full ota update), so if you want to update delta ota you have to install stock recovery and most times you need a factory reset or complete wipe.
The strange is that I was on stock recovery pm 23s, evento like that the OTA oficina 500MB didnt work.
Hi,
same problem here.
TWRP was recovery. My solution:
First I replaced TWRP with stock recovery ("hxxp://xxx.leeco.re/topic/1942-updatedofficial-stock-recovery-lemax2_x820_x822-enus" (I'm not allowed to use links as new user...)) but TWRP was still there as "app". So I flashed s23 (with file manager, named as "update") again. Here it works.
Then I flashed the update.
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.
I have a Moto E 2015 XT1526 with an unlocked bootloader, and TWRP. After trying many roms I finally settled on the stock rom in the interest of having a reliable phone.
The stock rom I flashed isn't the latest so I get the update nag, what happens if I update using this?
I don't mind if it deletes TWRP or kills root I am just worried it will brick the device.
Don't install a stock ota update if you have TWRP... Device will hard brick!
Some users reported that if you want to get ota updates you had to (if i remember):
- Unroot phone and remove all mods
- Install stock recovery
-Get and install ota
Aftee this you can re-install TWRP and other mods.
dxp420 said:
Don't install a stock ota update if you have TWRP... Device will hard brick!
Some users reported that if you want to get ota updates you had to (if i remember):
- Unroot phone and remove all mods
- Install stock recovery
-Get and install ota
Aftee this you can re-install TWRP and other mods.
Click to expand...
Click to collapse
Heard the same and personally wouldn't risk it.