Back to Stock - Redmi K20 Pro / Xiaomi Mi 9T Pro Questions & Answe

Hi,
I bought this Mi 9T Pro, a year and 5 months ago. It already came rooted and with Miui 20.5.7 Beta.
However i run in to the problems that i am starting to use this phone for work now and it can't be used due some checks that this phone is rooted and on an old updated version.
Is there a way to get back to the stock eu rom. With automatic updates and to unroot it, without losing all my programs/photos etc.?

themack said:
Hi,
I bought this Mi 9T Pro, a year and 5 months ago. It already came rooted and with Miui 20.5.7 Beta.
However i run in to the problems that i am starting to use this phone for work now and it can't be used due some checks that this phone is rooted and on an old updated version.
Is there a way to get back to the stock eu rom. With automatic updates and to unroot it, without losing all my programs/photos etc.?
Click to expand...
Click to collapse
By 'rooted', do you mean that Magisk is installed (that you really have SuperUser privileges in Android) or only that Bootloader is unlocked (and maybe TWRP/custom Recovery is installed)?
Also, by Miui 20.5.7 Beta do you mean an old Xiaomi.eu Weekly or some other custom ROM or what?
You can flash Magisk uninstall.zip from TWRP to unroot=uninstall Magisk (that will not relock BL, but properly speaking rooting should be related to su and hence Magisk).
In Magisk app (former Magisk manager) there is also Uninstall Magisk option but I would suggest to flash the uninstall.zip instead.
It would be also good that you go to the Modules in Magisk app/mngr and uninstall all modules (and reboot) first
If you are on Xiaomi.eu Weekly, you should be able to upgrade to the latest Weekly or even better to the Xuaomi.eu Stable without Formatting Data (hence keeping your apps, settings and documents).
Better than latest stock and (without Magisk - to avoid troubles with hiding the Magisk) you will be passing SafetyNet right away (Xiaomi.eu hides that Bootloader is unlocked) and you should not have any problem for your business apps.
For updating Xiaomi.eu you will need TWRP - you probably have an older version, you will need to update the TWRP first (or Orange Fox or your customRecovery of choice)
But if you really want to go back to stock you MUST do FORMAT DATA (if you don't you might be able to install the stock but you will complain then that this or that does not work, etc), hence you will loose all your user apps, settings, data - you need to think about backing up and later restoring (cooying e.g. photos to PC, backing up contacts via Google account, and Xiaomi Clouds also provide useful back-ups for apps and their settings, Comtacts, Calls and SMS, even WiFi passwords)

zgfg said:
By 'rooted', do you mean that Magisk is installed (that you really have SuperUser privileges in Android) or only that Bootloader is unlocked (and maybe TWRP/custom Recovery is installed)?
Also, by Miui 20.5.7 Beta do you mean an old Xiaomi.eu Weekly or some other custom ROM or what?
You can flash Magisk uninstall.zip from TWRP to unroot=uninstall Magisk (that will not relock BL, but properly speaking rooting should be related to su and hence Magisk).
In Magisk app (former Magisk manager) there is also Uninstall Magisk option but I would suggest to flash the uninstall.zip instead.
It would be also good that you go to the Modules in Magisk app/mngr and uninstall all modules (and reboot) first
If you are on Xiaomi.eu Weekly, you should be able to upgrade to the latest Weekly or even better to the Xuaomi.eu Stable without Formatting Data (hence keeping your apps, settings and documents).
Better than latest stock and (without Magisk - to avoid troubles with hiding the Magisk) you will be passing SafetyNet right away (Xiaomi.eu hides that Bootloader is unlocked) and you should not have any problem for your business apps.
For updating Xiaomi.eu you will need TWRP - you probably have an older version, you will need to update the TWRP first (or Orange Fox or your customRecovery of choice)
But if you really want to go back to stock you MUST do FORMAT DATA (if you don't you might be able to install the stock but you will complain then that this or that does not work, etc), hence you will loose all your user apps, settings, data - you need to think about backing up and later restoring (cooying e.g. photos to PC, backing up contacts via Google account, and Xiaomi Clouds also provide useful back-ups for apps and their settings, Comtacts, Calls and SMS, even WiFi passwords)
Click to expand...
Click to collapse
By 'rooted', do you mean that Magisk is installed (that you really have SuperUser privileges in Android) or only that Bootloader is unlocked (and maybe TWRP/custom Recovery is installed)? =
Yes, Mgisk and SU are installed and with OrangeFox.
If you are on Xiaomi.eu Weekly, you should be able to upgrade to the latest Weekly or even better to the Xuaomi.eu Stable without Formatting Data (hence keeping your apps, settings and documents).
Better than latest stock and (without Magisk - to avoid troubles with hiding the Magisk) you will be passing SafetyNet right away (Xiaomi.eu hides that Bootloader is unlocked) and you should not have any problem for your business apps.
For updating Xiaomi.eu you will need TWRP - you probably have an older version, you will need to update the TWRP first (or Orange Fox or your customRecovery of choice) =
Are the weekly builds also availble on OTA updates? So i won't have to update manually every time? Because saving the files and apps that i have right now are key. Otherwise i can just buy a new phone and transfer everything. Is there a good tutorial on how to update it to the latest weekly?

themack said:
Yes, Mgisk and SU are installed and with OrangeFox.
Are the weekly builds also availble on OTA updates? So i won't have to update manually every time? Because saving the files and apps that i have right now are key. Otherwise i can just buy a new phone and transfer everything. Is there a good tutorial on how to update it to the latest weekly?
Click to expand...
Click to collapse
Ok, from Magisk app/mngr uninstall all modules and reboot. Later when you update Xiaomi.eu, it will flash the new, clean boot.img without the Magisk patch.
Finally, you will uninstall the Magisk app/mngr then (app/mngr is apk, not the Magisk itself, only it's front-end/UI to manage the Magisk)
For Orange Fox you will need to search where to download the update.
You can also take latest TWRP from TWRP.me and flash the img file (to Recovery) from OF
If you are really on Xiaomi.eu (check My Device does it really say MIUI by Xiaomi.eu or so), go to Xiaomi.eu forum, open the Stable (or Weekly) thread and read the OP posts (usually, posts #1 and #2) where to download and how to install/update
When updating from the old Xiaomi.eu Weekly/Stable to the latest Stable, the following should be enough:
- download the ROM zip for raphael
- go to OF/TWRP and flash the ROM
- Wipe Dalwik and Cache
- Go to Advance (maybe in OF named differently, I don't use OF), File Manager, navigate to /data/system and delete its package_cache subfolder
(Btw, I downgraded that way from Xiaomi.eu weekly to always the little older Stable and everything went ok - I only had an issue with Gallery app that was newer in my Weekly than in the Stable - but that is also solvable and could not apply to your ancient Weekly)
I.e., the guide might say that you need to Format Data, but since you are upgrading from an really old Weekly/Stable version there is no fear that you might downgrade any system app
PS: Xiaomi.eu provides its own OTA mechanism but for updating you will always need TWRP (OF), not the stock Recovery.
However, Mi 9 series (plain, T, T Pro, SE, all of them) are on the end-of-line. There will be no Xiaomi.eu Weeklies any more for them, and it's unclear would they receive additional Stable updates (just like the newer Security patches).
But the similar fate applies to stock OTA upgrades, too. Phones were released with MIUI 10/A 9, more than two years ago, Xiaomi upgraded them to MIUI 12 / A11 (two major versions ahead) - and that's it

See also the post #6 in that thread and subsequent posts about successful and happy move to the latest Xiaomi.eu Stable:
jacksterky said:
Hi I'm K20pro/Mi 9t pro user currently on latest 12.5.1.0 raphael stock rom, can you give bit of advice about going to eu stable rom(12.5.6.0 latest) from stock miui. I do have orange fox recovery installed but confused about what to wipe(dalvik/cache/...other options) or format data(yes confirmation option) and if rom flash needs to be in clean internal storage via format data(yes confirmation option), will i need latest firmware with it or just eu rom.
After that i will install magisk
I'm pretty much new custom roms with just a week of 35-40 hours of research, I will be glad if you or anyone reading this, willing to clear my doubts.
Thank you in advance
Click to expand...
Click to collapse
Also the post #6 here and the story around (Widevine L1 with Xiaomi.eu):
arecflo said:
Changed the rom to Xiaomi.eu and I got it! Thanks.
Click to expand...
Click to collapse

Thanks!
However the latest stable for rapheal says its for china. SHouldnt that be global? Or am i looking wrong?

themack said:
Thanks!
However the latest stable for rapheal says its for china. SHouldnt that be global? Or am i looking wrong?
Click to expand...
Click to collapse
Are you talking about Xiaomi.eu Stable from here or stock CN:
MIUI 12.0 - MIUI 12.0/12.1/12.2/12.5 STABLE RELEASE
STABLE RELEASE RULES WHEN POSTING 1. If a ROM is not published DONT ASK ABOUT ITS ETA 2. If a ROM is not published DONT ASK why! 3. If a ROM is available, download it and use it 4. If a ROM has bugs, post the bug to the bug section if the BUG is not already listed 5. If you use any form of...
xiaomi.eu
Xiaomi.eu IS NOT FOR CHINA - read the Forum about.
However, it's up to you do you want to try or not. Be aware that it is not the Xiaomi official/stock ROM.
If you have furtther questions, google on the Net about user opinions, consult their Forum or (create account) and ask there

Related

First Things To Do After Getting My Mi Mix?

Just found out that I have a Mi Mix waiting for me when I get home. I've made a checklist of what I want to do to it to get it setup for my use. I wanted to know if anyone had anything to add or has done any of what I'm planning on.
Unlock Bootloader
This should be relatively simple. I already have my unlock permission and will be using the directions from here: http://en.miui.com/thread-202290-1-1.html
As far as I can tell by reading that thread, I do not need to install the developer ROM first. Is this correct?
I will also follow the top reply to this thread which mentions linking your device to your Mi account before unlocking to prevent errors: https://m.reddit.com/r/Xiaomi/comments/5co8t1/mi_unlock_approval/​
Install TWRP
My plan is to follow these instructions: http://forum.xda-developers.com/mi-mix/development/recovery-official-twrp-xiaomi-mi-mix-t3498960
This is where I start having questions. I've been out of the rooting and ROMing game for a couple of years. Does anyone recommend rooting with anything other than SuperSU? I'm reading that it was bought by a Chinese company and shouldn't be trusted. I've also read that using Magisk you can have root that is easily turned off. I'll admit I'm pretty lost at the moment when it comes to what Magisk does and how to use it. But if it is the recommended way of doing things I will do the research to learn it.​
Flash The EU ROM
I think my plan is to flash this EU ROM which debloats everything and seems to come with gapps and a lot of other nice optimizations: https://xiaomi.eu/community/threads/6-11-10.36056/
My first question is has anyone tried this?
My second question is will I need to reinstall TWRP and re-root? I think I will have to re-TWRP because on the TWRP page there is one version for stock and one for the EU version. I will be on stock first and I can't flash EU until after I flash TWRP. So I think the procedure will have to be:
Flash stock TWRP
Flash EU ROM
Flash EU TWRP
Re-Root?
Turn Off All Battery Optimizations
Don't have a guide for this yet but I'm guessing it's not hard to find. Feel free to reply with one if you have one.​
Personalize
Launchers/Themes/Icon Packs/etc. Don't need suggestions here since I already know what I have in mind.​
Anything else?
The only other thing I can think of that I might want to install is Xposed. I've never used it and don't know how to install it but I'll learn if I can be convinced that it's something I want.
What else am I missing?​
I think right now the biggest thing I'm curious about is if anyone has used the EU ROM and what the procedure is if you use that ROM since there are 2 different versions of TWRP for the Mi Mix. But any other suggestions on what to do with the initial setup or how to make my experience better are welcome. I'd also love to hear about any "gotchas" that aren't mentioned in the guides from people who have actually done it.
Well I took the plunge without waiting for feedback and for anyone who is interested, I'll answer my own questions. Read the posts that I linked in the OP to understand what I'm doing below. I will not cover how to get unlock permission as this has been covered elsewhere.
Unlock Bootloader
As far as I can tell by reading that thread, I do not need to install the developer ROM first. Is this correct?
Click to expand...
Click to collapse
This is not correct. You must install the Dev ROM and connect to WiFi and follow the steps to enable Developer options and login to your Mi account in developer options.​
Install TWRP
Before installing TWRP you must update back to the stable ROM. The non-EU version of TWRP will not work with the Dev ROM as of this posting. You can update to the stable ROM using the same steps as updating to the developer ROM. In the TWRP install guide I linked above, I stopped right after step 6 and continued below.​
Flash the EU ROM
Instead of flashing SuperSU after installing TWRP, I copied over the EU ROM linked above and flashed that. Then I followed the instructions starting from step 3 of this post to flash SuperSU, Magisk, and suhide: https://www.reddit.com/r/pokemongod...k_v7_systemless_xposed_v866_released/d8d7ziw/
The only change I made is that in between steps 4 and 5, I flashed the EU version of TWRP before continuing because otherwise the touchscreen would not work in TWRP. I used the most recent versions for the SuperSU, Magisk, and suhide and I did not flash Xposed yet but I believe I can do that in the future if I want to.​
That's where I'm at now. The rest of my checklist was mostly personal preference so I won't go into that. Hope this helps.
@chimera533
THX for taking the plunge & sharing your results with us.
I'm sure I'll be doing the same once mine arrives, hope you don't mind if I look this way if I have any questions regarding TWRP/Root/etc.....
Thank you for posting this, this is the exact list of what I will be doing when my Mi Mix comes in the mail (C'mon Ibuygou).
I couldn't seem to find a EU rom for Mi mix though it is listed in the thread as a supported drive. Will you please drop me the link to download? Thank you.
jim380 said:
I couldn't seem to find a EU rom for Mi mix though it is listed in the thread as a supported drive. Will you please drop me the link to download? Thank you.
Click to expand...
Click to collapse
I think I got mine from here: https://megadysk.pl/f/6.11.10
Just scroll down to the Mi Mix one.
There are 3 repositories to the 6.11.10 weekly ROMs at the top of the page here: https://xiaomi.eu/community/threads/6-11-10.36056/
As far as I know there are no stable EU builds for the Mi Mix probably because it's so new.
Also I believe the weekly updates show up here: https://xiaomi.eu/community/forums/miui-weekly-rom-releases.103/
The Mi Mix was skipped for 6.11.17 as evidenced by the note at the top of the 6.11.17 thread.
That's about all I know. I highly recommend reading all or most of every link I posted here. I'll confess that if I had, I would've known things like having to flash back to stable before TWRP-ing as well as some other things.
It would be nice if you did an edit of your original post, rather than a 'by the way' post below it. It would be much easier to follow the instructions.
I've installed TWRP on multiple phones. The dm-verity stuff is new to me (A xiaomi/MIUI thing I guess),
so the sequence appears to be:
install Official MIUI China developer ROM
<unlock>
install Official stable rom
install Official (Non-EU) TWRP (requires stable)
copy/install EU ROM after step 6 (aka before exiting TWRP)
< Do you reboot now and go back into fastload now? or stay inside TWRP? >
Install EU TWRP
install supersu (again, before you exit TWRP?)
Install Magisk, suhide?
Apologies but I'm away from home at the moment. I'll update the OP with more detail when I have a bit more time. But I'll give you some quick answers below.
install Official MIUI China developer ROM
Remember to log in to your Mi account in the developer options
<unlock>
install Official stable rom
install Official (Non-EU) TWRP (requires stable)
copy/install EU ROM after step 6 (aka before exiting TWRP)
While still in TWRP, install SuperSU in systemless mode.
Boot to system once
Boot back to fastboot and install EU TWRP
Boot to TWRP and install Magisk, suhide
Boot to system and install magisk manager
Got the Mi Mix 128GB overpriced in Thailand, but without any waiting time.
Love your early thread, very helpful.
I also want to get twrp, suhide, magisk and xposed, but I like to stay on the Chinese Dev or official ROM, not xiaomi.eu, because I like the paid themes which are only available on official ROMs.
I've got a MIUI developer account for 4 years, so I can unlock the device directly, being on stable ROM.
Now the steps are a bit unclear for me. Do I understand them correctly?
1. Unlock bootloader
Download and install the developer rom: http://en.miui.com/download-317.html
Create/Login with your MI Account on the device.
Apply for unlocking the bootloader here: http://en.miui.com/unlock/
Install stable ROM if desired
2. Install official TWRP (NON-EU)
Boot into fastboot mode by turning off your device then pressing volume up and power button
Install Minimal ADB and Fastboot on your PC: http://forum.xda-developers.com/showthread.php?t=2317790
Download the correct TWRP image file: https://dl.twrp.me/lithium/twrp-3.0.2-0-lithium.img.html
Copy the twrp file to where minimal adb and fastboot has been installed and rename the twrp file to twrp.img
Open fastboot on your computer and type:
Code:
fastboot flash recovery twrp.img
Code:
fastboot reboot
3. Install SuperSU in systemless mode
Download newest SuperSU: https://play.google.com/store/apps/details?id=eu.chainfire.supersu / http://download.chainfire.eu/1013/SuperSU/SR4-SuperSU-v2.78-SR4-20161115184928.zip
In ADB shell or TWRP shell, type
Code:
echo SYSTEMLESS=true > /data/.supersu
if you don't already have this file to configure SuperSU to install in systemless mode.
Flash SuperSU.
4. Boot to system
5. Boot into TWRP, install Magisk, suhide, Xposed
suhide: http://forum.xda-developers.com/apps/supersu/suhide-t3450396
systemless xposed 86.2: http://forum.xda-developers.com/attachment.php?attachmentid=3897543&d=1475913773
magisk: http://tiny.cc/latestmagisk
6. Boot to system and install Magistk Manager
magisk manager: http://tiny.cc/latestmanager
7. Install XPosed
chimera533 said:
I think I got mine from here: https://megadysk.pl/f/6.11.10
Just scroll down to the Mi Mix one.
There are 3 repositories to the 6.11.10 weekly ROMs at the top of the page here: https://xiaomi.eu/community/threads/6-11-10.36056/
As far as I know there are no stable EU builds for the Mi Mix probably because it's so new.
Also I believe the weekly updates show up here: https://xiaomi.eu/community/forums/miui-weekly-rom-releases.103/
The Mi Mix was skipped for 6.11.17 as evidenced by the note at the top of the 6.11.17 thread.
That's about all I know. I highly recommend reading all or most of every link I posted here. I'll confess that if I had, I would've known things like having to flash back to stable before TWRP-ing as well as some other things.
Click to expand...
Click to collapse
Thank you so much for your help. I installed the ROM and have had it running for 2 days now. Coming from a HTC 10 (custom ROMed and everything), I;m really not digging MIUI on this phone. Lags so much it's literally driving me crazy. My 2 yrs old LG G2, which also has amazing screen-to-body ratio btw, runs circle around this phone. Really disappointed about this phone due to the software performance issues.
jim380 said:
Thank you so much for your help. I installed the ROM and have had it running for 2 days now. Coming from a HTC 10 (custom ROMed and everything), I;m really not digging MIUI on this phone. Lags so much it's literally driving me crazy. My 2 yrs old LG G2, which also has amazing screen-to-body ratio btw, runs circle around this phone. Really disappointed about this phone due to the software performance issues.
Click to expand...
Click to collapse
I don't experience any lags on the original ROM.
From my experience those micro-lags and performance issuese showed up on various devices in my Android past whenever something was wrong with the ROM. A clean flash mostly helped solve the problem.
I'm currently on the original Chinese stable with SuperSu and TWRP. It's blazing fast. What's the reason to flash the xiaomi.eu rom?
underlines said:
I don't experience any lags on the original ROM.
From my experience those micro-lags and performance issuese showed up on various devices in my Android past whenever something was wrong with the ROM. A clean flash mostly helped solve the problem.
I'm currently on the original Chinese stable with SuperSu and TWRP. It's blazing fast. What's the reason to flash the xiaomi.eu rom?
Click to expand...
Click to collapse
I had a nightmare trying to get to the EU Rom yesterday, I was mostly successful, however after a reboot i'd lose Touch in both TWRP and System. Thanks to this post from Chimera533 I was finally able to do it!
Anyway the main reason for the EU ROM is to get rid of all the Bloat and Chinese throughout the ROM that you cannot get rid of. It also has Google Services baked in properly so everything works correctly.
I also had a few other little niggles while on the Chinese ROM :-
Purchases from Google Play Movies wouldn't work
No Smart Lock while connected to Android Wear
No way to replace BAIDU and set Google as the search
So far i'm loving the EU Rom, i've not seen any lag at all while using it and pretty much everything seems to work exactly as it should - it has enhanced the MIX experience so much for me - love this thing!
Guys, how do I disable all battery saving optimizations / memory management optimzations? My background apps keep shutting automatically off after a while.
I'm on the default ROM without root (still waiting for developer approval)...
yakuzlin said:
Guys, how do I disable all battery saving optimizations / memory management optimzations? My background apps keep shutting automatically off after a while.
I'm on the default ROM without root (still waiting for developer approval)...
Click to expand...
Click to collapse
Go to the battery section & have a look around, you should find several settings for battery management.
You're gonna need root & an app such as Titanium Backup Pro, or, SD Maid Pro to disable a lot of the MIUI & Cheetah Mobile applications.
Fine tuning on a per app basis isn't enough (do not optimize battery savings for the apps you want to work properly, notifications, messaging, etc) .....
I highly recommend flashing the EU ROM, it seems to have better memory management than the Global ROM, but, you'll still need to disable a lot of the MIUI apps & all of the Cheetah Mobile s***ware to get memory management more to what you're used to experiencing.
One other item, go to Developer Options & disable MIUI Optimization, it should be the last item or close to it....

TWRP, Root, CN vs EU...Confusion!

OK, I need some clarification please. I just ordered the phone on Swappa and will have it soon but I would like to have a plan in place for reaching my goal...A rooted phone with TWRP (don't know about what ROM yet)
I'm not sure what software will be on this phone when I get it (EU or Chinese stock/dev) but does that make a difference when attempting to put TWRP on the phone? Also, are there still 2 separate versions or is there just one now?
Also in regards to the initial root and TWRP procedure is it not possible to have SU zip on your phone beforehand or does it have to be transferred from your computer while in TWRP? Finally, the verity no opt encrypt zip must be flashed regardless of whether you are rooting or not? Many thanks for any and all help!
SantinoInc said:
I'm not sure what software will be on this phone when I get it (EU or Chinese stock/dev) but does that make a difference when attempting to put TWRP on the phone? Also, are there still 2 separate versions or is there just one now?
Click to expand...
Click to collapse
Presently if you read max of the posts in major of the forums, you will find out there are three versions of ROM majorly (removing Chinese dev from the list as many don't seem to be on this) - If you are buying the phone from a reseller and not directly from xiaomi, mostly you will end up with Vendor ROM
1) Vendor ROM global (8.08.0 something version) which comes with very less bloatware and Google play services. Sometimes people said their bootloader was unlocked and for some its not. (mine was locked, so had to apply for unlock - It took 3 days to get the approval).
PLEASE NOTE THAT MANY TIMES THIS VENDOR ROM HAS A "NOTES APP" WITH TROJAN ON IT. MALWARE BYTES DETECTS THIS. HENCE I DECIDED TO GET OFF IT.
2) Chinese stable ROM - The official miui ROM. It has OTA updates but comes with bloatware and quite cumbersome to use for a non Chinese person like me or thats what I felt. If you really want to use Chinese stable (and still need google apps) there is a guide which is available some where in one of the forums, right now can't get hold of it somehow.
3) EU ROM (weekly updates - I believe to be done manually) - This one is so far the best I have used and very less bloatware (there is "Qunar travel" and one Chinese app that came with it. I simply uninstalled them blindly). Comes with google play services and you can download the rest from google store.
My journey so far is Vendor ROM --> Chinese Stable --> EU ROM (Non-root)
Why i didn't go directly from Vendor ROM to EU ROM is because
1) some of the users had issues with TWRP's touch non-responsiveness.
2) I want to see what is there on Chinese Stable before going to EU ROM, so that I can do a comparison.
For Vendor ROM to Chinese Stable use the guide below (by @satishp)
https://forum.xda-developers.com/mi-mix/how-to/kindly-help-flashing-to-china-stable-t3528652
For Chinese Stable (or if you want to try from Vendor ROM directly to EU ROM) to EU ROM use the guide below (by @underlines)
https://forum.xda-developers.com/mi-mix/how-to/guide-flash-global-china-rom-root-gapps-t3510592
Following the steps exactly in the above two guides, I was able to install EU ROM without any issues.
SantinoInc said:
Also in regards to the initial root and TWRP procedure is it not possible to have SU zip on your phone beforehand or does it have to be transferred from your computer while in TWRP?
Click to expand...
Click to collapse
When you enable developer options on your phone and enable USB debugging, then I believe when you connect your phone to laptop/desktop it should connect using MTP and should be seen as device. So I guess you can copy the zip before hand on to the phone.
SantinoInc said:
Finally, the verity no opt encrypt zip must be flashed regardless of whether you are rooting or not? Many thanks for any and all help!
Click to expand...
Click to collapse
All the guides mention that whenever you want to install the EU ROM without root, the dm-verity is compulsory to flash before reboot.
Hope this helps!!. Enjoy your MIX.
thehearty said:
Presently if you read max of the posts in major of the forums, you will find out there are three versions of ROM majorly (removing Chinese dev from the list as many don't seem to be on this) - If you are buying the phone from a reseller and not directly from xiaomi, mostly you will end up with Vendor ROM
1) Vendor ROM global (8.08.0 something version) which comes with very less bloatware and Google play services. Sometimes people said their bootloader was unlocked and for some its not. (mine was locked, so had to apply for unlock - It took 3 days to get the approval).
PLEASE NOTE THAT MANY TIMES THIS VENDOR ROM HAS A "NOTES APP" WITH TROJAN ON IT. MALWARE BYTES DETECTS THIS. HENCE I DECIDED TO GET OFF IT.
2) Chinese stable ROM - The official miui ROM. It has OTA updates but comes with bloatware and quite cumbersome to use for a non Chinese person like me or thats what I felt. If you really want to use Chinese stable (and still need google apps) there is a guide which is available some where in one of the forums, right now can't get hold of it somehow.
3) EU ROM (weekly updates - I believe to be done manually) - This one is so far the best I have used and very less bloatware (there is "Qunar travel" and one Chinese app that came with it. I simply uninstalled them blindly). Comes with google play services and you can download the rest from google store.
My journey so far is Vendor ROM --> Chinese Stable --> EU ROM (Non-root)
Why i didn't go directly from Vendor ROM to EU ROM is because
1) some of the users had issues with TWRP's touch non-responsiveness.
2) I want to see what is there on Chinese Stable before going to EU ROM, so that I can do a comparison.
For Vendor ROM to Chinese Stable use the guide below (by @satishp)
https://forum.xda-developers.com/mi-mix/how-to/kindly-help-flashing-to-china-stable-t3528652
For Chinese Stable (or if you want to try from Vendor ROM directly to EU ROM) to EU ROM use the guide below (by @underlines)
https://forum.xda-developers.com/mi-mix/how-to/guide-flash-global-china-rom-root-gapps-t3510592
Following the steps exactly in the above two guides, I was able to install EU ROM without any issues.
When you enable developer options on your phone and enable USB debugging, then I believe when you connect your phone to laptop/desktop it should connect using MTP and should be seen as device. So I guess you can copy the zip before hand on to the phone.
All the guides mention that whenever you want to install the EU ROM with/without root, the dm-verity is compulsory to flash before reboot.
Hope this helps!!. Enjoy your MIX.
Click to expand...
Click to collapse
Wow, thank you so much for that very thorough answer! I will be getting the phone tomorrow and my goal will be to get the EU Rom on my phone with TWRP and Xposed.
One more small question. So if I happen to get the touch screen freeze (in TWRP or after system reboot) how do you recover from this situation?
SantinoInc said:
One more small question. So if I happen to get the touch screen freeze (in TWRP or after system reboot) how do you recover from this situation?
Click to expand...
Click to collapse
I believe you have to go to Chinese Stable then using MiFlash or install one more version of TWRP which is compatible with Chinese ROM and then other steps. (one of the guides mentions these too)
But my suggestion is simply follow the steps in both the guides, go to chinese stable and then to EU ROM. Its worth the 15 min extra effort as surely i can tell this will not have problems and I believe you can definitely got to root/xposed too finally.
There is a small typo in my previous answer (I corrected it now). Sincere apologies for the same.
Dm-verity is not needed if you are going to root. If you flash to EU ROM and don't want root, then install dm-verity. This is as per the guide mentioned in my last answer.
Hope this helps.

Questions about TWRP/ROM/ etc

Hello, I'm new to the Xiaomi world and I still have trouble understanding some terms ...
I am currently waiting for the necessary 168 hours before I can unlock my bootloader.
I would like to know what are the differences between orangefox and twrp, which one to choose?
What are the differences between global and eu?
I think I'm in global because I'm in 10.3.2.0
If I root my phone will I be able to update without removing everything?
Thank you in advance.
ImEraaz said:
Hello, I'm new to the Xiaomi world and I still have trouble understanding some terms ...
I am currently waiting for the necessary 168 hours before I can unlock my bootloader.
I would like to know what are the differences between orangefox and twrp, which one to choose?
What are the differences between global and eu?
I think I'm in global because I'm in 10.3.2.0
If I root my phone will I be able to update without removing everything?
Thank you in advance.
Click to expand...
Click to collapse
TWRP is very customisable and as such there are many different versions. Orange Fox is just a very heavily customised version of TWRP. It has a number of additional features over vanilla TWRP, some of which are specific to Xiaomi devices. However there are other versions of TWRP that also have been customised with additional features that are Xiaomi specific, it's just that these other versions are still very much recognisable as a version of TWRP as they keep the same UI design.
I don't think anyone is really sure what differences, if any, there are between the global and EU ROMs, at least from a functionality point of view. It might just be ad delivery and data collection differences, due to the EU having stricter laws around data protection and such things.
If you root you won't be able to use OTA. If you do you will lose root. You will need to manually update by installing the latest recovery ROM followed by Magisk again. (I assume that will be your root solution)
Just use either recovery for now. The only difference is the interface imo. F2fs support is still bad in recovery.
Use miui.eu, it's the same but stripped down and without ads.
Sure, as long as it's a compatible update.
-
I do recommend you backup your Android 9 partitions before flashing. I wiped and installed 10 and cannot go back.
Thank you guys for the infos, I think I'll go with classic TWRP and install the xiaomi.eu rom and then for the root I would reinstall it with each update this is not a problem
Orangefox has the ability to surviving OTA updates if prepared well.
Sent from my Mi 9T Pro using Tapatalk
ImEraaz said:
Thank you guys for the infos, I think I'll go with classic TWRP and install the xiaomi.eu rom and then for the root I would reinstall it with each update this is not a problem
Click to expand...
Click to collapse
If you go with the xiaomi.eu ROM then Magisk will automatically install itself when you update.
Cool Thanks.
And for the TWRP the best actually is the unofficial one from @mauronofrio or there is an official for android p ? Is the last on twrp.me will work ? Thanks
Robbo.5000 said:
[…] followed by Magisk again. (I assume that will be your root solution)
Click to expand...
Click to collapse
Robbo.5000 said:
If you go with the xiaomi.eu ROM then Magisk will automatically install itself when you update.
Click to expand...
Click to collapse
If Magisk is a rooting solution, and if Xiaomi.eu ROM installs Magisk automatically, does it mean If I install Xiaomi.eu ROM, I have no other choice but to root my phone, therefore I won't be able to use OTA updates and will have to update manually each time there is a new ROM ?
Thordelan said:
If Magisk is a rooting solution, and if Xiaomi.eu ROM installs Magisk automatically, does it mean If I install Xiaomi.eu ROM, I have no other choice but to root my phone, therefore I won't be able to use OTA updates and will have to update manually each time there is a new ROM ?
Click to expand...
Click to collapse
I tried to find infos on xiaomi.eu and I don't think magisk is automatically installed
Thordelan said:
If Magisk is a rooting solution, and if Xiaomi.eu ROM installs Magisk automatically, does it mean If I install Xiaomi.eu ROM, I have no other choice but to root my phone, therefore I won't be able to use OTA updates and will have to update manually each time there is a new ROM ?
Click to expand...
Click to collapse
No.
Magisk will automatically install itself if you have already installed it.
This is common behaviour for things like Magisk and GApps. If they've been installed on a custom ROM, they will automatically reinstall themselves when you update that ROM.
Xiaomi.eu does not come with Magisk pre-installed.
You are also confusing OTA updating a rooted phone with an official ROM and with a Xiaomi.eu ROM.
Xiaomi.eu is a custom ROM and so updating it is more like other typical custom ROMs.

[Help] [New] Miui 10 to Miui11

Hi all.
I've just bought this device. When I first launched it, it was on miui9, i updated to miui 10 stable 10.0.3.0 (8.1 Android) via ota. Then, I saw that I could also upgrade to miui 11. However, I've read that battery is worse than Miui 10 so I don't know If I should install it.
I've unlocked the recovery because I want to try some custom roms but I'm a bit scared of the anti-rollback.
Could you please tell me what should I do?
Thanks all.
Before you do anything you need to figure out which device you own. You bought it and you already unlocked the bootloader? That generally takes 360 hours, are you sure it wasn't already unlocked? If it was unlocked you probably have a Chinese device, and in that case be extremely careful about not relocking the bootloader. if the phone is not bound to your account ( linked to you personally) then you could brick it and have no recourse.
if you unlocked it yourself and you have a locked device , then don't worry about anti-rollback. So far it has not been implemented. Next, you heard wrong about Miui 11, its battery is equally as good. Although the best version of Miui and currently the most stable Android 10 overall is Xiaomi.EU which is a custom rom based on the china beta but globalised, with Google services.
Again do your homework, avoid extremely old posts that are no longer relevant. Never attempting upgrading your screen refresh and never flash someone else's persist image and you will be good. This community has tons of infor...read a lot and take your own notes.
tsongming said:
Before you do anything you need to figure out which device you own. You bought it and you already unlocked the bootloader? That generally takes 360 hours, are you sure it wasn't already unlocked? If it was unlocked you probably have a Chinese device, and in that case be extremely careful about not relocking the bootloader. if the phone is not bound to your account ( linked to you personally) then you could brick it and have no recourse.
if you unlocked it yourself and you have a locked device , then don't worry about anti-rollback. So far it has not been implemented. Next, you heard wrong about Miui 11, its battery is equally as good. Although the best version of Miui and currently the most stable Android 10 overall is Xiaomi.EU which is a custom rom based on the china beta but globalised, with Google services.
Again do your homework, avoid extremely old posts that are no longer relevant. Never attempting upgrading your screen refresh and never flash someone else's persist image and you will be good. This community has tons of infor...read a lot and take your own notes.
Click to expand...
Click to collapse
Hi Thanks for your reply.
My device is global version (not just global ROM, I do know the difference)
I am unlocked the bootloader using the Xiaomi official tool, i had to activate the developer tools on the device and check the bootloader status and the button which was there ( U know what I mean). Besides, when I turn on the device it says unlocked.
I've read that miui 11 has kinda bad sot because of miui and/or the bug with WhatsApp. So I don't know if I have to update via ota and If I do that I don't know if I will have any problems while trying to install a custom ROM.
I've had a Xiaomi before so I know that I shouldn't install strange zips.
Thank you
Boiisxu said:
Hi Thanks for your reply.
My device is global version (not just global ROM, I do know the difference)
I am unlocked the bootloader using the Xiaomi official tool, i had to activate the developer tools on the device and check the bootloader status and the button which was there ( U know what I mean). Besides, when I turn on the device it says unlocked.
I've read that miui 11 has kinda bad sot because of miui and/or the bug with WhatsApp. So I don't know if I have to update via ota and If I do that I don't know if I will have any problems while trying to install a custom ROM.
I've had a Xiaomi before so I know that I shouldn't install strange zips.
Thank you
Click to expand...
Click to collapse
Yes, the last build of Xiaomi.EU had worse SOT than usual ( about 5 hours. However, the issue was only with one of the weekly builds) I personally resolved that issue for myself by flashing the kernel from the previous build. Also, Xiaomi.EU is updated every Thursday so later today there will be a new build that will very likely resolve the issue. On the other hand the stable builds do not have an issue with SOT. At least not in my experience. I have averaged around 8 to 9 hours SOT.
I don't use Whatsapp, so I can't help you with that.
Since you were previously on stock you will need to backup your data, if you are still using stock, backup to MiCloud as well. This way if you use a Miui based rom you can quickly restored most of your data and partial settings. You will also need to format use storage (type yes, reboot to recovery)
tsongming said:
Yes, the last build of Xiaomi.EU had worse SOT than usual ( about 5 hours. However, the issue was only with one of the weekly builds) I personally resolved that issue for myself by flashing the kernel from the previous build. Also, Xiaomi.EU is updated every Thursday so later today there will be a new build that will very likely resolve the issue. On the other hand the stable builds do not have an issue with SOT. At least not in my experience. I have averaged around 8 to 9 hours SOT.
I don't use Whatsapp, so I can't help you with that.
Since you were previously on stock you will need to backup your data, if you are still using stock, backup to MiCloud as well. This way if you use a Miui based rom you can quickly restored most of your data and partial settings. You will also need to format use storage (type yes, reboot to recovery)
Click to expand...
Click to collapse
I see.
I've just updated to miui 11 stable via ota.
BTW, Is TWRP the best recovery for this device isn't it? I've read that exist other types of recovery (not CWM but someones).
And my last question, I cannot find which version of gcam fits on miui 11 (Android Pie). Is there any thread, telegram channel?
Thanks for all.
Boiisxu said:
I see.
I've just updated to miui 11 stable via ota.
BTW, Is TWRP the best recovery for this device isn't it? I've read that exist other types of recovery (not CWM but someones).
And my last question, I cannot find which version of gcam fits on miui 11 (Android Pie). Is there any thread, telegram channel?
Thanks for all.
Click to expand...
Click to collapse
Personally I use the TWRP that I posted here : I talked to a few friends / android developers on other devices and several of them believe that this a TWRP issue.
I have not had any more of these issues since using this TWRP https://forum.xda-developers.com/showpost.php?p=80952013&postcount=121
If using AOSP, you should use the official version.
The best Gcam ( I Think is by Sanity )
https://www.celsoazevedo.com/files/android/google-camera/dev-san1ty/
FYI the builds made for the Poco F1 and Razer 2 are also compatible.
tsongming said:
Personally I use the TWRP that I posted here : I talked to a few friends / android developers on other devices and several of them believe that this a TWRP issue.
I have not had any more of these issues since using this TWRP https://forum.xda-developers.com/showpost.php?p=80952013&postcount=121
If using AOSP, you should use the official version.
The best Gcam ( I Think is by Sanity )
https://www.celsoazevedo.com/files/android/google-camera/dev-san1ty/
FYI the builds made for the Poco F1 and Razer 2 are also compatible.
Click to expand...
Click to collapse
Thank for helping me.
As I've posted in the official twrp thread, I was able to install twrp and get to it but after power off the phone and try to get there again miui recovery was there instead.
I've installed the last build of twrp 3.3.1.1.
Maybe If I install magisk via TWRP I will have twrp *forever*.(?)
Thank you man
Boiisxu said:
Thank for helping me.
As I've posted in the official twrp thread, I was able to install twrp and get to it but after power off the phone and try to get there again miui recovery was there instead.
I've installed the last build of twrp 3.3.1.1.
Maybe If I install magisk via TWRP I will have twrp *forever*.(?)
Thank you man
Click to expand...
Click to collapse
No problem.
After installing TWRP, you must initially install Root and then reboot to recovery.
Often you will see a message asking if you want to install the TWRP manager, click those boxes and then proceed to rebooting to recovery.
If you are using the full stock Rom, you must have root, so anytime that you flash the official Global stable rom, or an update, flash root again...unless you see via the Recovery terminal that Root maintained it's persistence.
tsongming said:
No problem.
After installing TWRP, you must initially install Root and then reboot to recovery.
Often you will see a message asking if you want to install the TWRP manager, click those boxes and then proceed to rebooting to recovery.
If you are using the full stock Rom, you must have root, so anytime that you flash the official Global stable rom, or an update, flash root again...unless you see via the Recovery terminal that Root maintained it's persistence.
Click to expand...
Click to collapse
Okey, I'll try tomorrow again.
Thanks.

Confusion with firmware, vendor etc.

Hey guys,
as my last phone was an OPO where flashing custom roms was pretty simple, I don't understand the principle of flashing the Mi 9T Pro, where you always have to consider and install separately the right version of firmware, vendor etc. I would be thankful if someone could explain it to me.
I try to order my questions:
Why are ROM, firmware and vendor separated and don't come together in a single file?
How do I find out the correct version of firmware for my phone? And what is the difference between those versions, eg. China, Global and EU? And is EU the same as EEA?
The recommendation is always to update the firmware when flashing a ROM - but for vendor it is not (like for LineageOS 18.1) - why? Wouldn't it be beneficial to update vendor, too? As I understand, vendor contains necessary proprietary binaries.
Is it recommended to regularly update the firmware even if there is no update for my ROM? And what is the most comfortable way, is something like OTA possible?
What is different about TWRP images with a "_9"? (twrp-3.5.0_9-0-raphael.img vs. twrp-3.4.0-0 or -1). Recently broke the recovery of my OPO when I installed its latest twrp version which had the 9
Thank you for helping an interested person with little IT/android knowledge
oriped said:
Hey guys,
as my last phone was an OPO where flashing custom roms was pretty simple, I don't understand the principle of flashing the Mi 9T Pro, where you always have to consider and install separately the right version of firmware, vendor etc. I would be thankful if someone could explain it to me.
I try to order my questions:
Why are ROM, firmware and vendor separated and don't come together in a single file?
How do I find out the correct version of firmware for my phone? And what is the difference between those versions, eg. China, Global and EU? And is EU the same as EEA?
The recommendation is always to update the firmware when flashing a ROM - but for vendor it is not (like for LineageOS 18.1) - why? Wouldn't it be beneficial to update vendor, too? As I understand, vendor contains necessary proprietary binaries.
Is it recommended to regularly update the firmware even if there is no update for my ROM? And what is the most comfortable way, is something like OTA possible?
What is different about TWRP images with a "_9"? (twrp-3.5.0_9-0-raphael.img vs. twrp-3.4.0-0 or -1). Recently broke the recovery of my OPO when I installed its latest twrp version which had the 9
Thank you for helping an interested person with little IT/android knowledge
Click to expand...
Click to collapse
If you stick with stock ROMs, you don't need to worry anout firmware, vendor, etc.
You update by OTA or by downloading the so-called zip/recovery package that can be installed by the stock recovery or from TWRP
Only in rare occasions (usually when people screw something, want to go back from custom ROMs and so), you would need Xiaomi Flash tool and the so-called tgz/fastboot packages.
They include vendor and again, you don't need to worry about downloading and flashing vendor
How (and do you really) need downloading and flashing vendor for LOS, I have no idea (I don't use AOSP ROMs)
What do you mean by Eu?
If you mean Xoaomi.eu ROMs - they are not the same as stock EEA ROMs.
Actually, Xiaomi.eu IS NOT stock or even not an official ROM endorsed by Xiaomi Inc.
Personally, I started on my Mi 9T two years ago with A9/MIUI 10 (I think). Mine was EEA and I followed the updates till A10/MIUI 11.
From the beginning I unlocked Bootloader, played with various versions and incarnations of TWRP, I always rooted my phone with the latest (Canary) Magisk, played with debloating, various Magisk modules, etc.
I also played with Kali Nethunter at the time
Never in my carrier I needed to use Xiaomi Flash tool and tgz/fastboot firmwares (specially not vendor packages), always only zip/recovery ROM packages were enough for me
A year ago I moved to Xiaomi.eu weeklies. A month ago I decided it was enough and settled to Xiaomi.eu but Stable.
Xiaomi.eu, both weeklies and stable are built on A11/MIUI 12.5 (recently stock was finally also updated to A11/MIUI 12+ but I didn't return to stock)
Since 'official' Magisk is kind of 'dead' for 5 or so months, for the last two months I play with Magisk Alpha (recently incl. Zygisk and so)
Again, I have no experience (and no interests at all) about AOSP and GSI ROMs, particularly the LOS (in my past life with another phone, I used an earlier version of LOS for quite some time there)
Some links maybe of interest for you to read/learn from:
https://c.mi.com/thread-1857937-1-1.html
How to Flash Xiaomi Firmware using MIUI Fastboot and Recovery ROM
Ever since the dawn of affordable smartphones in countries like India and China, the demand for more has increased. The consumers now, more than ever, are
www.getdroidtips.com
How-to use Xiaomi Flash Tool to flash or install Firmware
Step-by-Step guidelines to use Xiaomi Flash Tool to Flash Stock Firmware on Xiaomi Smartphone and Tablets.
xiaomiflashtool.com
Xiaomi's Anti-Rollback Protection Explained: How to avoid bricking your phone
All Xiaomi smartphones and tablets will have anti-rollback protection enabled. What is it and how do you avoid bricking your device because of it?
www.xda-developers.com
[INFO] Widevine L1 Support
This thread should answer most of your questions regarding Widevine L1 support on your device(s). I will try to keep it maintained and up-to-date. Notes: * This list includes only supported Android 10+ devices that either support Widevine L1 officially, or support it unofficially by Xiaomi.eu...
xiaomi.eu
What the letters in the MIUI version designation mean
MIUI V12.0.5.0. QFJMIXM - Android version M - Android 6.x (Marshmallow) N - Android 7.x (nugát) O - Android 8.x (Oreo) P - Android 9.x (Pie) Q - Android 10.x R - Android 11.x S - Android 12.x - device code (phone model) JA - Xiaomi Mi 10 Pro JB - Xiaomi Mi 10 JC - Redmi 9 JO - Redmi Note 9 JZ...
xiaomi.eu
PS: Yeah, I am from Mi 9T (not Pro) world, but your questions and my comments and links are common and more general (not limited to Mi 9T Pro or plain, or to MI 9 *** range of models, but general for Xiaomi devices)
But if you meant EU letters in the stock ROM name - then yes, EU means European and that is EEA stock ROM
Similarly like MI letters (probably abbreviated from MIUI) in the stock ROM name mean International - see the attachement
Btw, this app might be also useful (not only for newbies):
MIUI Downloader - Apps on Google Play
MIUI upgrade app for Mi users.
play.google.com
Open your Settings/My Device/MIUI Version (top left), aka System Updater app, read the full name of your stock ROM and compare against the attached chart
Thank you!
One more question: How do I change magisk to vvb2060 alpha version?
oriped said:
Thank you!
One more question: How do I change magisk to vvb2060 alpha version?
Click to expand...
Click to collapse
His Github page where you can download the 'latest official' Alpha:
GitHub - vvb2060/magisk_files
Contribute to vvb2060/magisk_files development by creating an account on GitHub.
github.com
Newer, unofficial (I'm on the latest) can be downloaded here:
Magisk alpha
带遥测的第三方Magisk版本,比Canary通道更加不稳定,与上游行为有较大不同,无安全性保证,无可用性保证,无隐私协议。 问题反馈请加群发送日志文件,非alpha独有问题建议先在GitHub反馈。
t.me
You download and install Magisk (Alpha) apk (formerly, in Magisk v22 it was Magisk mngr)
If you are already rooted, you can take then Direct install to 'upgrade' to the same Magisk Alpha version
If you were not rooted yet, you can patch your boot.img (it can be extracted from your zip/recovery or tgz/fastboot stock ROM), later you will flash that patched img by Fastboot.
Instead of boot.img, you can patch boot.emmc.win Boot backup from TWRP
You can also rename magisk apk file (that Magisk Alpha app you downloaded) to install.zip and flash through TWRP (old school for those who are accustomed to flash Magisk zip through TWRP).
If you have the latest 3.5.-9 official TWRP, you don't even need to rename, you can flash as it was downloaded as magisk apk file
But be aware that Magisk Alpha has no more MagiskHide, instead it is now DenyList.
And configuring DenyList to pass SafetyNet is another (short) story
zgfg said:
If you stick with stock ROMs, you don't need to worry anout firmware, vendor, etc.
You update by OTA or by downloading the so-called zip/recovery package that can be installed by the stock recovery or from TWRP
Only in rare occasions (usually when people screw something, want to go back from custom ROMs and so), you would need Xiaomi Flash tool and the so-called tgz/fastboot packages.
They include vendor and again, you don't need to worry about downloading and flashing vendor
How (and do you really) need downloading and flashing vendor for LOS, I have no idea (I don't use AOSP ROMs)
What do you mean by Eu?
If you mean Xoaomi.eu ROMs - they are not the same as stock EEA ROMs.
Actually, Xiaomi.eu IS NOT stock or even not an official ROM endorsed by Xiaomi Inc.
Personally, I started on my Mi 9T two years ago with A9/MIUI 10 (I think). Mine was EEA and I followed the updates till A10/MIUI 11.
From the beginning I unlocked Bootloader, played with various versions and incarnations of TWRP, I always rooted my phone with the latest (Canary) Magisk, played with debloating, various Magisk modules, etc.
I also played with Kali Nethunter at the time
Never in my carrier I needed to use Xiaomi Flash tool and tgz/fastboot firmwares (specially not vendor packages), always only zip/recovery ROM packages were enough for me
A year ago I moved to Xiaomi.eu weeklies. A month ago I decided it was enough and settled to Xiaomi.eu but Stable.
Xiaomi.eu, both weeklies and stable are built on A11/MIUI 12.5 (recently stock was finally also updated to A11/MIUI 12+ but I didn't return to stock)
Since 'official' Magisk is kind of 'dead' for 5 or so months, for the last two months I play with Magisk Alpha (recently incl. Zygisk and so)
Again, I have no experience (and no interests at all) about AOSP and GSI ROMs, particularly the LOS (in my past life with another phone, I used an earlier version of LOS for quite some time there)
Some links maybe of interest for you to read/learn from:
https://c.mi.com/thread-1857937-1-1.html
How to Flash Xiaomi Firmware using MIUI Fastboot and Recovery ROM
Ever since the dawn of affordable smartphones in countries like India and China, the demand for more has increased. The consumers now, more than ever, are
www.getdroidtips.com
How-to use Xiaomi Flash Tool to flash or install Firmware
Step-by-Step guidelines to use Xiaomi Flash Tool to Flash Stock Firmware on Xiaomi Smartphone and Tablets.
xiaomiflashtool.com
Xiaomi's Anti-Rollback Protection Explained: How to avoid bricking your phone
All Xiaomi smartphones and tablets will have anti-rollback protection enabled. What is it and how do you avoid bricking your device because of it?
www.xda-developers.com
[INFO] Widevine L1 Support
This thread should answer most of your questions regarding Widevine L1 support on your device(s). I will try to keep it maintained and up-to-date. Notes: * This list includes only supported Android 10+ devices that either support Widevine L1 officially, or support it unofficially by Xiaomi.eu...
xiaomi.eu
What the letters in the MIUI version designation mean
MIUI V12.0.5.0. QFJMIXM - Android version M - Android 6.x (Marshmallow) N - Android 7.x (nugát) O - Android 8.x (Oreo) P - Android 9.x (Pie) Q - Android 10.x R - Android 11.x S - Android 12.x - device code (phone model) JA - Xiaomi Mi 10 Pro JB - Xiaomi Mi 10 JC - Redmi 9 JO - Redmi Note 9 JZ...
xiaomi.eu
PS: Yeah, I am from Mi 9T (not Pro) world, but your questions and my comments and links are common and more general (not limited to Mi 9T Pro or plain, or to MI 9 *** range of models, but general for Xiaomi devices)
Click to expand...
Click to collapse
Hi I'm K20pro/Mi 9t pro user currently on latest 12.5.1.0 raphael stock rom, can you give bit of advice about going to eu stable rom(12.5.6.0 latest) from stock miui. I do have orange fox recovery installed but confused about what to wipe(dalvik/cache/...other options) or format data(yes confirmation option) and if rom flash needs to be in clean internal storage via format data(yes confirmation option), will i need latest firmware with it or just eu rom.
After that i will install magisk
I'm pretty much new custom roms with just a week of 35-40 hours of research, I will be glad if you or anyone reading this, willing to clear my doubts.
Thank you in advance
jacksterky said:
Hi I'm K20pro/Mi 9t pro user currently on latest 12.5.1.0 raphael stock rom, can you give bit of advice about going to eu stable rom(12.5.6.0 latest) from stock miui. I do have orange fox recovery installed but confused about what to wipe(dalvik/cache/...other options) or format data(yes confirmation option) and if rom flash needs to be in clean internal storage via format data(yes confirmation option), will i need latest firmware with it or just eu rom.
After that i will install magisk
I'm pretty much new custom roms with just a week of 35-40 hours of research, I will be glad if you or anyone reading this, willing to clear my doubts.
Thank you in advance
Click to expand...
Click to collapse
When switching to Xiaomi.eu (and generally when switching the ROMs) it's required to Format Data (not just to Wipe Data - fornatting does more than wiping)
More about downloading and installing Xiaomi.eu ROMs find on their forum, in the OP posts:
MIUI 12.0 - MIUI 12.0/12.1/12.2/12.5 STABLE RELEASE
STABLE RELEASE RULES WHEN POSTING 1. If a ROM is not published DONT ASK ABOUT ITS ETA 2. If a ROM is not published DONT ASK why! 3. If a ROM is available, download it and use it 4. If a ROM has bugs, post the bug to the bug section if the BUG is not already listed 5. If you use any form of...
xiaomi.eu
Better also Wipe Cache (Dalwik will be wiped as part of Data partition hence you can wipe it too but it won't matter)
You can use OF but make sure you use a recent/latest version, or use the latest official TWRP. More about the suitable custom recoveries can be found in the Forum/thread as above
Generally:
- backup your photos, docs, etc (transfer to PC)
- use Google to backup, some apps like Whatsapp provide backing up to clouds, etc
- With Xiaomi Cloud you can backup installed apps and their settings, Contacts, Call History, SMS, even WiFi passwords
- Download the ROM to Internal memory
- reboot to OF/TWRP and install (flash) the downloaded zip
- Wipe Dalwik and Cache (TWRP automatically offers upon installing)
- Do not reboot to System but go back in OF/TWRP and do Format Data (do not Format Data before flashing the zip because Formatting Data will wipe your Internal memory, hence it would also wipe your downloaded zip - although you could, but then flash the zip from OTG stick)
Then reboot to System, setup your new Android/MIUI, restore things...
zgfg said:
When switching to Xiaomi.eu (and generally when switching the ROMs) it's required to Format Data (not just to Wipe Data - fornatting does more than wiping)
More info about downloading and installing Xiaomi.eu ROMs find on their forum, in the OP posts:
MIUI 12.0 - MIUI 12.0/12.1/12.2/12.5 STABLE RELEASE
STABLE RELEASE RULES WHEN POSTING 1. If a ROM is not published DONT ASK ABOUT ITS ETA 2. If a ROM is not published DONT ASK why! 3. If a ROM is available, download it and use it 4. If a ROM has bugs, post the bug to the bug section if the BUG is not already listed 5. If you use any form of...
xiaomi.eu
Better also Wipe Cache (Dalwik will be wiped as part of Data partition hence you can wipe it too but it won't matter)
You can use OF but make sure you use a recent/latest version, or use the latest official TWRP. More about suitable custom recoveries can be found on the Forum/thread as above
Generally:
- backup your photos, docs, etc (transfer to PC)
- use Google to backup, some apps like Whatsapp provide backing up to clouds, etc
- With Xiaomi Cloud you can backup installed apps and their settings, Contacts, Call History, SMS, even WiFi passwords
- Download the ROM to Internal memory
- reboot to OF/TWRP and install (flash) the downloaded zip
- Wipe Dalwik and Cache (TWRP automatically offers upon installing)
- Do not reboot to System but go back in OF/TWRP and do Format Data (do not Format Data before flashing the zip because Formatting Data will wipe your Internal memory, hence it would also wipe your downloaded zip - although you could, but then flash the zip from OTG stick)
Then reboot to System, setup your new Android/MIUI, restore things...
Click to expand...
Click to collapse
I'll follow your instructions step by step.
Again thank you for your quick support, really appreciate your help
jacksterky said:
I'll follow your instructions step by step.
Again thank you for your quick support, really appreciate your help
Click to expand...
Click to collapse
Do not wipe any other partition, specially not Persist (you would loose DRM L1), modem, and so on.
Since you are on stock, all that is good and Xiaomi.eu will actually flash only to System and Vendor
You probably use pin or pattern for screen unlocking, you will need to enter the same when you boot to OF/TWRP that it can read Internal memory (later, when you Format Data it will be gone and you will have to setup your pin/pattern again once you boot to your new System)
First time you boot to the new System give it some time (might be slow at first, doing things in the background)
Xiaomi.eu 'hides' that Bootloader is unlocked, hence you will pass SafetyNet (i e., Device will be certified in Playstore) right away
You will also have DRM L1 (you may need to download the certificate, but that's easy)
When you later need to reboot to OF/TWRP, you don't need to struggle with key combos - in Xiaomi.eu, from System updater, when you open the top-right menu, you have Reboot to recovery option (root not needed)
Later you can think about rooting with Magisk, installing nodules, additionally debloating, etc
Be aware that raphael is on the end-of-line and it's not clear would it receive any more Xiaomi.eu updates (or if, then just a newer Security Patch).
But that's also the case with stock
zgfg said:
Do not wipe any other partition, specially not Persist (you would loose DRM L1), modem, and so on.
Since you are on stock, all that is good and Xiaomi.eu will actually flash only to System and Vendor
You probably use pin or pattern for screen unlocking, you will need to enter the same when you boot to OF/TWRP that it can read Internal memory (later, when you Format Data it will be gone and you will have to setup your pin/pattern again once you boot to your new System)
First time you boot to the new System give it some time (might be slow at first, doing things in the background)
Xiaomi.eu 'hides' that Bootloader is unlocked, hence you will pass SafetyNet (i e., Device will be certified in Playstore) right away
You will also have DRM L1 (you may need to download the certificate, but that's easy)
When you later need to reboot to OF/TWRP, you don't need to struggle with key combos - in Xiaomi.eu, from System updater, when you open the top-right menu, you have Reboot to recovery option (root not needed)
Later you can think about rooting with Magisk, installing nodules, additionally debloating, etc
Be aware that raphael is on the end-of-line and it's not clear would it receive any more Xiaomi.eu updates (or if, then just a newer Security Patch).
But that's also the case with stock
Click to expand...
Click to collapse
Okay i'll follow your given directions, I'll update you after installation, Thank you
I'm now on latest weekly build on eu rom, and it's butter smooth and i know this might be the last beta version for the raphael but experience is just flawless and new features work perfectly fine, again thanks for your instructions i'll remember them for future installations.
jacksterky said:
I'm now on latest weekly build on eu rom, and it's butter smooth and i know this might be the last beta version for the raphael but experience is just flawless and new features work perfectly fine, again thanks for your instructions i'll remember them for future installations.
Click to expand...
Click to collapse
Doesn't matter if it's last Weekly as long as you are satisfied with.
Btw, I thought you'd be little more conservative and go for Stable, but probably differences are minor
Stable is MIUI 12.6 (also A11) with Security patch Oct 1 - what are your parameters?
Also, check Widewine L1 certificate and update if neccessary:
Settings / Passwords and security / Fingerprint unlock / Fingerprint payments
Check do you have Widevine L1 cert.
If necessary, take Certificate update
Btw, you are ready now for Magisk, AdAway, Vanced YT, Viper4Android, CustoMIUIzer and so

Categories

Resources