Xiaomi Mi 9T Pro EU ROM - How To Install OTA Updates Through TWRP? - Redmi K20 / Xiaomi Mi 9T Questions & Answers

Hi so recently today I was able to successfully flash my stock ROM from Global 11.0.3 to Europe 11.2 (20.3.5).
All works, I have a new and version specific TWRP recovery which solves the decryption issue and such.
Only problem though is I can't seem to update my ROM from the latest Europe 11.2 (20.3.12). I am aware that we cannot install OTA updates like we normally would because we are on a custom recovery. I tried flashing it from the 'choose update package' where it brought me to the TWRP and executed OpenScript to flash, and also tried flashing from TWRP itself. No luck. Bootloop into Redmi Logo and TWRP recovery, so I end up restoring the working Eu version.
An updated tutorial on how to install OTA roms on custom recoveries would really be appreciated, thanks!

TheDarkLord098 said:
Hi so recently today I was able to successfully flash my stock ROM from Global 11.0.3 to Europe 11.2 (20.3.5).
All works, I have a new and version specific TWRP recovery which solves the decryption issue and such.
Only problem though is I can't seem to update my ROM from the latest Europe 11.2 (20.3.12). I am aware that we cannot install OTA updates like we normally would because we are on a custom recovery. I tried flashing it from the 'choose update package' where it brought me to the TWRP and executed OpenScript to flash, and also tried flashing from TWRP itself. No luck. Bootloop into Redmi Logo and TWRP recovery, so I end up restoring the working Eu version.
An updated tutorial on how to install OTA roms on custom recoveries would really be appreciated, thanks!
Click to expand...
Click to collapse
IMO, if you want to update by "choose update package'", you should be also on stock recovery, not TWRP (but I'm not using eu weekly ROMs)

TheDarkLord098 said:
Hi so recently today I was able to successfully flash my stock ROM from Global 11.0.3 to Europe 11.2 (20.3.5).
All works, I have a new and version specific TWRP recovery which solves the decryption issue and such.
Only problem though is I can't seem to update my ROM from the latest Europe 11.2 (20.3.12). I am aware that we cannot install OTA updates like we normally would because we are on a custom recovery. I tried flashing it from the 'choose update package' where it brought me to the TWRP and executed OpenScript to flash, and also tried flashing from TWRP itself. No luck. Bootloop into Redmi Logo and TWRP recovery, so I end up restoring the working Eu version.
An updated tutorial on how to install OTA roms on custom recoveries would really be appreciated, thanks!
Click to expand...
Click to collapse
You use "xiaomi.eu" custom ROM ; saying "Europe" could be confused with Official EEA ROM. ^^
You can use the Updater app in this custom ROM and update/flash ROM updates.
You don't say if you use Magisk or not. Magisk could be the raison of your issue after flashing new ROM version.

Related

Unable to install ROM/update recovery?

Heya guys, I've been rocking my OnePlus 2 for a while. I was wanting to install a newer ROM on it but I seem to run into some problems and I just can't figure it out.
I tried to install several roms (which are all based on 7.1 android) and I seem to be getting the same error on all of them: E:Error executing updater binary in zip '/sdcard/crDroidAndroid-7.1-20161128-oneplus2.zip' This was when I tried the crDroid mod, of course. The only ones that seem to work are CM13 and OxygenOS 2.2.
Couldn't really find a good solution for this when I google'd. I tried carefully wiping what I had to but that didn't seem to help.
I also tried updating my recovery, but when I try to update my recovery it just freezes when I boot. I tried this using fastboot and or via TWRP. I'm currently using version 2.8.7.0 of TWRP because the lastest version of TWRP bricks my recovery. I've also tried the blue spark TWRP and TWRP-hybrid, they don't seem to work either, my phone just stays on the 1+ logo. I have to flash the old version of TWRP back onto it using fastboot to get a working recovery.
Anyone have a solution for me?
EDIT: I have a Chinese OnePlus2, the A2001.
EDIT2: Forgot to mention something that might be critical to the problem: I did update from OxygenOS 2.2.1 to the latest as of now, 3.1. This removed my TWRP recovery and I couldn't get the new one to work, which made me install 2.2.1 again. I've seen people mention some problems with 3.1 so this might be the cause of it?

How to stock update with rooted and TWRP?

Have a LeEco Pro 3 (US Version) running 5.8.19s official stock version, bootloader unlocked and official TWRP installed. But my system update fails everytime eventhough it shows there is new update 5.8.21s but phone boots to recovery in TWRP and asking for password. I have tried several times but its the same thing over and over again. Am I doing something wrong? Is there some different file that I must flash?
How can I stock update with rooted and TWRP?
Chattersking said:
Have a LeEco Pro 3 (US Version) running 5.8.19s official stock version, bootloader unlocked and official TWRP installed. But my system update fails everytime eventhough it shows there is new update 5.8.21s but phone boots to recovery in TWRP and asking for password. I have tried several times but its the same thing over and over again. Am I doing something wrong? Is there some different file that I must flash?
How can I stock update with rooted and TWRP?
Click to expand...
Click to collapse
You need the official recovery for update to work
Chattersking said:
Have a LeEco Pro 3 (US Version) running 5.8.19s official stock version, bootloader unlocked and official TWRP installed. But my system update fails everytime eventhough it shows there is new update 5.8.21s but phone boots to recovery in TWRP and asking for password. I have tried several times but its the same thing over and over again. Am I doing something wrong? Is there some different file that I must flash?
How can I stock update with rooted and TWRP?
Click to expand...
Click to collapse
You can update to 21s on the US version (727) from TWRP with a few modifications to the updater-script file (see the below post/thread):
https://forum.xda-developers.com/showpost.php?p=72815409&postcount=48
This will remove root but it keeps TWRP so you should be able to just reinstall root through TWRP.
Thank you. Will it keep my data and apps intact or will it erase them? I don't want to lose all my important data and setup.
Chattersking said:
Thank you. Will it keep my data and apps intact or will it erase them? I don't want to lose all my important data and setup.
Click to expand...
Click to collapse
I did a wipe before updating but it should work without wiping as the update zip file is the official OTA with only a modified updater-script. Do a backup from TWRP before you try it and if anything goes wrong you can revert to that backup.
Running into the same issue..did your script and that worked. Thanks for that.
Flash 19s using TWRP and needed a somewhat official way to get to 21s. Use the script of d/l the official 21s update and pushed the modified zip to sdcard to get flashed in TWRP. So hopefully this update, updated whatever it needs to update and maybe it will fix my other issue... why when I flash Lineage base ROMs they show my battery only at 50%
I followed the above instructions and replaced with the updated script however TWRP is giving me Error 7 and a quick google search is saying it is due to problem with updated script. How do you guys fix this?

Always returns to stock recovery

Good morning all,
I tried 2 days ago to upgrade to Oreo and since then all my troubles began.
I have unlocked bootloader and encrypted device.
The problem is that in every reboot a stock recovery shows up ,while i have installed the latest blue spark or any other recovery.
Now i can only install stock rom with no root.
kimon60 said:
Good morning all,
I tried 2 days ago to upgrade to Oreo and since then all my troubles began.
I have unlocked bootloader and encrypted device.
The problem is that in every reboot a stock recovery shows up ,while i have installed the latest blue spark or any other recovery.
Now i can only install stock rom with no root.
Click to expand...
Click to collapse
Are you going for root? I think you have to flash Magisk (or other root-solution) in order for your custom recovery to stick.
Augustin79 said:
Are you going for root? I think you have to flash Magisk (or other root-solution) in order for your custom recovery to stick.
Click to expand...
Click to collapse
In Nougat that was not the case,maybe in Oreo there is something different?
I'm having a similar problem! I'm rooted, unlocked, and decrypted but I can't seem to install any Oreo Rom. Do I need to re-encrypt my rom??
WIMP35 said:
I'm having a similar problem! I'm rooted, unlocked, and decrypted but I can't seem to install any Oreo Rom. Do I need to re-encrypt my rom??
Click to expand...
Click to collapse
No, I managed to load the latest twrp recovery and without reboot I installed the xXx rom Oreo.
After that there was an App installed already called TWRP recovery. Since I flashed the recovery again through that app the problem is gone.
Now I have Oreo xXx rom and everything works fine.
After fastboot flash recovery, reboot into recovery and flash recovery IMG again. Then it will be there regardless of what ROM encrypted or not.

Rooting with official rom?

Hi fellows
I wanted to root my Mi 9T, but I don't want to flash a custom rom, I just want to have root on the official rom (global stable).
As I understand, the correct procedure is:
-unlock nootloader
-flash twrp
-flash magisk
But I have a couple of doubts about this, in particular about updates:
-If my phone is unlocked and I have root, will I still receive official updates from xiaomi?
-if yes, do they install via twrp? Do they fail installation? Do I loose root/bootloader unlock if I install them on unlocked/rooted phone?
-if no, is there an alternative way to install updates without losing root every time?
In other words, what is the best way to have a rooted phone but with official, up-to-date rom? (I have no problems downloading/installing updates manually, but having to reapply root every time would be annoying)
Master_T said:
Hi fellows
I wanted to root my Mi 9T, but I don't want to flash a custom rom, I just want to have root on the official rom (global stable).
As I understand, the correct procedure is:
-unlock nootloader
-flash twrp
-flash magisk
But I have a couple of doubts about this, in particular about updates:
-If my phone is unlocked and I have root, will I still receive official updates from xiaomi?
-if yes, do they install via twrp? Do they fail installation? Do I loose root/bootloader unlock if I install them on unlocked/rooted phone?
-if no, is there an alternative way to install updates without losing root every time?
In other words, what is the best way to have a rooted phone but with official, up-to-date rom? (I have no problems downloading/installing updates manually, but having to reapply root every time would be annoying)
Click to expand...
Click to collapse
As I know you could receive updates if you unlock your bootloader and flash magisk, I don't have experience with that, I've read that from other brands people do this and still get their updates.
If I'm wrong correct my.
• You will receive the ota but it won't install
• You'll have to install the full rom and reflash Magisk everytime
• Orange Fox recovery can install ota BUT not available for Mi 9T/K20
I'm not sure about Mi 9t (have to wait for bootloader unlock), but it was so on Redmi 3s: I can install OTA updates, it goes through TWRP, but after every update I have to flash Magisk.
It was several years ago, so probably they've changed something
Thanks for your replies guys.
I can now confirm (just tested) that to update a rooted mi9t all you have to do is this:
-flash update zip with twrp (you have to download the update zip from somewhere, like mifirm website, the one downloaded by the update tool is encrypted and won't work!)
-flash magisk
-reboot
Very simple! No need to reflash magisk modules, just the magisk base package and everything works as expected ?
Master_T said:
Thanks for your replies guys.
I can now confirm (just tested) that to update a rooted mi9t all you have to do is this:
-flash update zip with twrp (you have to download the update zip from somewhere, like mifirm website, the one downloaded by the update tool is encrypted and won't work!)
-flash magisk
-reboot
Very simple! No need to reflash magisk modules, just the magisk base package and everything works as expected
Click to expand...
Click to collapse
Which twrp and magisk do you use?
grinandbearit said:
Which twrp and magisk do you use?
Click to expand...
Click to collapse
First TWRP that came out (LR Team), but that is because it was the only one available at the time, there might be better ones out now, check the TWRP thread for more info.
Magisk, I used the latest stable release.
Master_T said:
Thanks for your replies guys.
I can now confirm (just tested) that to update a rooted mi9t all you have to do is this:
-flash update zip with twrp (you have to download the update zip from somewhere, like mifirm website, the one downloaded by the update tool is encrypted and won't work!)
-flash magisk
-reboot
Very simple! No need to reflash magisk modules, just the magisk base package and everything works as expected
Click to expand...
Click to collapse
I think it is more simple to do the update and reflash magisk instead of searching for the update package manually, isn't it?
Edit: wrong quote
fabsen said:
I think it is more simple to do the update and reflash magisk instead of searching for the update package manually, isn't it?
Click to expand...
Click to collapse
You mean flash the fastboot rom using a computer and then reinstall twrp and magisk?
Seems more convoluted to me, since you still need to download the rom from an external website and additionally you need a pc and you need to reflash twrp every time.... it'll probably work fine, but it seems more complicated to me
Master_T said:
You mean flash the fastboot rom using a computer and then reinstall twrp and magisk?
Seems more convoluted to me, since you still need to download the rom from an external website and additionally you need a pc and you need to reflash twrp every time.... it'll probably work fine, but it seems more complicated to me
Click to expand...
Click to collapse
Nah, I mean you flash the update you get the usual way. And then magisk afterwards. At least I've never lost twrp with OTA updates.
fabsen said:
Nah, I mean you flash the update you get the usual way. And then magisk afterwards. At least I've never lost twrp with OTA updates.
Click to expand...
Click to collapse
You mean the one downloaded through the miui updater? I can't flash that with twrp, it's encrypted. In fact, I can't even open the zip file with file manager, it says the file is corrupted. How do you decrypt/use it?
Few days ago I got OTA update while having magisk root and TWRP installed. It rebooted phone into TWRP and installed itself through TWRP. So it seems Xiaomi can now detect what recovery you are using and instead send you recovery OTA instead? Sadly I lost TWRP and root this way and needed to find newer TWRP (old one didnt boot and caused bootloop). Rom also didnt boot (after flashing new TWRP) until I flashed magisk.
Thank you all, it's nice to find this post before I create a new with the same questions.
I bought a new "Mi 9t", it received the latest OTA update, and it has been unlocked after waiting 170 hours.
MIUI Version: MIUI Global 10.3.11 Stable
Android Version: 9 PKQ1.190302.001
Model Name: M1903F10G
Now I need to root it without flashing twrp, I need to be on the Stock recovery because I don't want to lose the OTA update.
I ran this command :
Code:
C:\adb>fastboot boot recovery.img
Downloading ‘boot.img’ OKAY [ 1.404s]
booting OKAY [ 0.127s]
Finished. Total time: 1.560s
but the device reboot to MI-Recovery 3.0, can someone correct me if I'm wrong? also which twrp version support MIUI Global 10.3.11 Stable?
Matthas said:
Few days ago I got OTA update while having magisk root and TWRP installed. It rebooted phone into TWRP and installed itself through TWRP. So it seems Xiaomi can now detect what recovery you are using and instead send you recovery OTA instead? Sadly I lost TWRP and root this way and needed to find newer TWRP (old one didnt boot and caused bootloop). Rom also didnt boot (after flashing new TWRP) until I flashed magisk.
Click to expand...
Click to collapse
Weird, I tried that (downloading update from the updater app and rebooting to twrp to auto-flash it), but TWRP said update was corrupted. I had to download an unencrypted version from mifirm site to flash it with twrp.
Maybe it's a problem with the version of twrp? Which one are you using? I'm using the one from LR Team
Master_T said:
Weird, I tried that (downloading update from the updater app and rebooting to twrp to auto-flash it), but TWRP said update was corrupted. I had to download an unencrypted version from mifirm site to flash it with twrp.
Maybe it's a problem with the version of twrp? Which one are you using? I'm using the one from LR Team
Click to expand...
Click to collapse
oh I wish I knew After update when I went to flash back old twrp and magisk it resulted in bootloop so I was flashing all twrp I could find just to make them boot and then be able to flash magisk. However name of my file is "recovery-TWRP-3.3.1-0607-REDMI_K20-CN-wzsx150" I think its "fixed" chinese one.
Is "recovery-TWRP-3.3.1-0607-REDMI_K20-CN-wzsx150" support for MIUI Global 10.3.11 Stable?
Can I boot from it to root Mi 9T without flashing?
akha666 said:
Is "recovery-TWRP-3.3.1-0607-REDMI_K20-CN-wzsx150" support for MIUI Global 10.3.11 Stable?
Can I boot from it to root Mi 9T without flashing?
Click to expand...
Click to collapse
Is any expert have an answer to my questions?
Schnedi said:
• You will receive the ota but it won't install
• You'll have to install the full rom and reflash Magisk everytime
• Orange Fox recovery can install ota BUT not available for Mi 9T/K20
Click to expand...
Click to collapse
How do i root global stable rom 10.3.11 without bootlooping? Just rooting and no twarp .

Update with Custom Recovery and Root possible?

Hi, my device is on an older version and i want to upgrade it to the newest - but my device is unlocked, rooted and has an custom recovery - is there any way to flash the update files without loosing anything?
To update download the BIGOTA zip, do a dirty flash trough the custom recovery, do this only for update the same type of MIUI rom (Global, China, Europe)
:good:
Hi, thanks for your answer - where i can get a legit bigota zip? Is there any profen source?

Categories

Resources