Related
Hello everybody,
I was just wondering if there's any daily driver Treble roms out there that you would suggest, Thanks ?
I'm using phhtreble AOSP 9.0 v111 (with gapps) on top of Xiaomi.eu 9.1.24 and it's working flawlessly. Only thing I can't test is the screen cast thing, since I don't have an enabled tv and VoLTE since my carrier doesn't use it. Also GCam crashes when trying to use slow mo. One last thing, I'd recommend using Magisk Canary 18.2 since that works. Cheers.
liquid or descendant, im using liquid tho
guglicap said:
... on top of Xiaomi.eu 9.1.24 ...
Click to expand...
Click to collapse
How did you flash MIUI 9.1.24. What I mean did you remove Firmware Update folder from the ZIP or leave it be? I am currently on MIUI 8.7.5 and affraid to get Anti Rollback protection. So I remove this Firmware Update just in case, but after flashing such ZIP my MI8SE doesn't want to boot. It stucks on MI Unlocked logo, it is not even a bootloop.
Doman said:
How did you flash MIUI 9.1.24. What I mean did you remove Firmware Update folder from the ZIP or leave it be? I am currently on MIUI 8.7.5 and affraid to get Anti Rollback protection. So I remove this Firmware Update just in case, but after flashing such ZIP my MI8SE doesn't want to boot. It stucks on MI Unlocked logo, it is not even a bootloop.
Click to expand...
Click to collapse
I think Xiaomi.eu roms shouldn't trigger anti rollback anyway. If you want to be safe flash a China Pie rom, then Xiaomi.eu 9.1.24 then whatever. I think I did china 9.1.3, eu 9.1.24 and PE 190111, but I'm not sure
@guglicap
Thanks for all the tips. Before I had MIUI EU 8.7.5 as a base. I could run most treble GSI, but with some problems and issues (like phone reboot after trying to make call or a few reboots before the system finally started). With MIUI EU 9.1.24 as a base they seems to run much better. I will try to test more features soon.
A few remarks from myself for anyone who wants to try treble GSI:
1. Flash full MIUI EU zip, do not remove Firmware Update folder as I tried before. Firmware Update contains some necessary files to be flash to run latest builds. Regarding the Anti Rollback protection... I had a FALSE response for fastboot getvar anti on MIUI EU 8.7.5, and after MIUI EU 9.1.24 I have anti:1... so it is still safe.
2. Use MIUI 9.1.24 (xiaomi.eu_multi_MI8SE_9.1.24_v10-9) as a base, not the newer builds, as they did not work for me. Also use TWRP 1227 for this build.
3. You can also use MIUI stable 10.2.2 (xiaomi.eu_multi_MI8SE_V10.2.2.0.PEBCNXM_v10-9), but this build works with TWRP 1217.
4. The precedure to run GSI is as below:
a) preferably clean: System, Data, Cache, Dalvik-Cache
b) flash MIUI EU as above, make sure it boots
c) flash treble GSI as System Image (there is many available, I prefer Resurrection Remix, LiquidRemix, HavocOS, AEX, AOISP... I find them the most customizable)
d) clean Cache, Dalvik-Cache, Data (or format Data as an option)
e) disable dm-verity in TWRP => Advanced => RM-dm-verity (very important, as most of the GSI will not run without this step)
What I still need to figure out is:
- encryption (that is a must have for me, so far with no luck on MIUI nor on treble GSI ROMs using the system build in option)
- camera (either working MIUI Camera or GCam, as the AOSP cameras are really bad)
Doman said:
@guglicap
Thanks for all the tips. Before I had MIUI EU 8.7.5 as a base. I could run most treble GSI, but with some problems and issues (like phone reboot after trying to make call or a few reboots before the system finally started). With MIUI EU 9.1.24 as a base they seems to run much better. I will try to test more features soon.
A few remarks from myself for anyone who wants to try treble GSI:
1. Flash full MIUI EU zip, do not remove Firmware Update folder as I tried before. Firmware Update contains some necessary files to be flash to run latest builds. Regarding the Anti Rollback protection... I had a FALSE response for fastboot getvar anti on MIUI EU 8.7.5, and after MIUI EU 9.1.24 I have anti:1... so it is still safe.
2. Use MIUI 9.1.24 (xiaomi.eu_multi_MI8SE_9.1.24_v10-9) as a base, not the newer builds, as they did not work for me. Also use TWRP 1227 for this build.
3. You can also use MIUI stable 10.2.2 (xiaomi.eu_multi_MI8SE_V10.2.2.0.PEBCNXM_v10-9), but this build works with TWRP 1217.
4. The precedure to run GSI is as below:
a) preferably clean: System, Data, Cache, Dalvik-Cache
b) flash MIUI EU as above, make sure it boots
c) flash treble GSI as System Image (there is many available, I prefer Resurrection Remix, LiquidRemix, HavocOS, AEX, AOISP... I find them the most customizable)
d) clean Cache, Dalvik-Cache, Data (or format Data as an option)
e) disable dm-verity in TWRP => Advanced => RM-dm-verity (very important, as most of the GSI will not run without this step)
What I still need to figure out is:
- encryption (that is a must have for me, so far with no luck on MIUI nor on treble GSI ROMs using the system build in option)
- camera (either working MIUI Camera or GCam, as the AOSP cameras are really bad)
Click to expand...
Click to collapse
About camera, this works well for me https://f.celsoazevedo.com/file/gcamera/MGC_6.1.021_MI8_V2b_plus3.apk
you need to flash a Magisk module for the fix which is in another thread. Even slow mo works.
Also, I never had a problem with dm-verity, could you elaborate on that? I'm curious now.
guglicap said:
... Also, I never had a problem with dm-verity, could you elaborate on that? I'm curious now.
Click to expand...
Click to collapse
phhtreble AOSP 9.0 v111 ROM worked out-of-the-box, with dm-verity untouched. But for many other ROMs I got bootloop. You need to disable dm-verity to make those ROMs to boot properly.
phhtreble v111 with magisk on top of miui pro seems to work without any problem.
The only bug i experience is that google camera crashes when entering slow-mo mode. Also, notification light works only for charging battery.
Geekbench 4 shows the same results as on miui, battery life seems pretty solid.
Currently using it as daily driver, no problems so far.
adrian.boata.7 said:
phhtreble v111 with magisk on top of miui pro seems to work without any problem.
The only bug i experience is that google camera crashes when entering slow-mo mode. Also, notification light works only for charging battery.
Geekbench 4 shows the same results as on miui, battery life seems pretty solid.
Currently using it as daily driver, no problems so far.
Click to expand...
Click to collapse
does double tap to wake work on you ?
twentyfourinc said:
does double tap to wake work on you ?
Click to expand...
Click to collapse
Hi, apparently it doesn't.
So, after i've spent few days with phhtreble v111, i've noticed the following bugs:
-Bluetooth call doesn't work (the phone rings, music stops playing, but the call runs through the phone speaker)
-Double tap to wake doesn't work
-LED lights up only when charging (Lightflow and other apps designed to take control over it are unable to do it)
-Front facing flash is dead
-Slow motion crashes camera app.
In rest, everything else seem to work fine, even the notch cutout.
Battery and performance are rock solid, substratum is fully compatible.
For camera, i use BSG's Google Camera, which excepting front flash and slow-motion, works like a charm.
Since those bugs are not critical or annoying, at least for me, i currently recommend it as a daily driver.
I got my device yesterday and today i have been trying to flash legion os 2.11 but i always keep getting error 7 even tried by installing global rom through mi flash tool but still got error 7 from twrp and oxfox both.
Can someone just guide me clearly on flashing roms on this k20 pro.
Currently i using global miui 11 11.0.4.0 rom but want to try other custom roms as well..
Ezio553 said:
I got my device yesterday and today i have been trying to flash legion os 2.11 but i always keep getting error 7 even tried by installing global rom through mi flash tool but still got error 7 from twrp and oxfox both.
Can someone just guide me clearly on flashing roms on this k20 pro.
Currently i using global miui 11 11.0.4.0 rom but want to try other custom roms as well..
Click to expand...
Click to collapse
Try the latest TWRP from here.
https://forum.xda-developers.com/k2...icial-twrp-xiaomi-redmi-t3944363/post79823568
If you still get the same problem, report back in this thread.
Robbo.5000 said:
Try the latest TWRP from here.
https://forum.xda-developers.com/k2...icial-twrp-xiaomi-redmi-t3944363/post79823568
If you still get the same problem, report back in this thread.
Click to expand...
Click to collapse
yeah finally the twrp 3.4 unofficial worked fine from global miui 11 rom i wiped everything and flashed indian vendor-firmware file and then flashed rom with fcrypt zip file nd worked fine...
Thanks for suggesting this file i was using youtube videos as guide and everyone was using oxfox or older twrp..
Ezio553 said:
yeah finally the twrp 3.4 unofficial worked fine from global miui 11 rom i wiped everything and flashed indian vendor-firmware file and then flashed rom with fcrypt zip file nd worked fine...
Thanks for suggesting this file i was using youtube videos as guide and everyone was using oxfox or older twrp..
Click to expand...
Click to collapse
I've got a bit more time to reply now.
OFox is really designed to be used with MIUI. The majority of it's extra features are specific to running MIUI. I would only recommend it if you decide to stick with MIUI in the long run.
The TWRP I pointed to is from the dev who maintains the official TWRP for our device. The unofficial version you've installed is identical to the official version, but with the TWRP app removed. If you intend to stick with custom ROMs, I recommend you stick with TWRP from mauronofrio.
If you prefer to have your phone encrypted, then there was no need to flash fcrypt/DFE. There are a small number of users that continue to insist that we need to disable encryption, but it is not needed.
Having the phone unencrypted does make life a little easier when flashing, but if you prefer the security and want to know about living with an encrypted phone, reply back and I'll give you more details.
Robbo.5000 said:
I've got a bit more time to reply now.
OFox is really designed to be used with MIUI. The majority of it's extra features are specific to running MIUI. I would only recommend it if you decide to stick with MIUI in the long run.
The TWRP I pointed to is from the dev who maintains the official TWRP for our device. The unofficial version you've installed is identical to the official version, but with the TWRP app removed. If you intend to stick with custom ROMs, I recommend you stick with TWRP from mauronofrio.
If you prefer to have your phone encrypted, then there was no need to flash fcrypt/DFE. There are a small number of users that continue to insist that we need to disable encryption, but it is not needed.
Having the phone unencrypted does make life a little easier when flashing, but if you prefer the security and want to know about living with an encrypted phone, reply back and I'll give you more details.
Click to expand...
Click to collapse
I tried Legion Os which is Aosp based and it installed fine but then i tried Masik X 16 which again said this isn't for your device so had to make changes in updater script then it flashed fine.
Also i would like to know about decryption of storage and would it cause any issues in flashing roms again nd again..
Ezio553 said:
I tried Legion Os which is Aosp based and it installed fine but then i tried Masik X 16 which again said this isn't for your device so had to make changes in updater script then it flashed fine.
Also i would like to know about decryption of storage and would it cause any issues in flashing roms again nd again..
Click to expand...
Click to collapse
If you want to be permanently decrypted, then you will not have any problems flashing ROMs. However, whenever you need to update the vendor and firmware, you will also need to flash the DFE script again.
If you want to be encrypted, then the best thing to do, every time you flash, is to temporarily remove encryption by removing all lockscreen security just before flashing, then once you've finished, restore encryption by adding back lockscreen security. However, if you restore MIUI, then choose to go to another custom ROM, you will need to format the data partition when flashing over MIUI, even if you've removed lockscreen security first.
Robbo.5000 said:
If you want to be permanently decrypted, then you will not have any problems flashing ROMs. However, whenever you need to update the vendor and firmware, you will also need to flash the DFE script again.
If you want to be encrypted, then the best thing to do, every time you flash, is to temporarily remove encryption by removing all lockscreen security just before flashing, then once you've finished, restore encryption by adding back lockscreen security. However, if you restore MIUI, then choose to go to another custom ROM, you will need to format the data partition when flashing over MIUI, even if you've removed lockscreen security first.
Click to expand...
Click to collapse
Ok that means going from miui to aosp & vice versa - format data needed.
So this should similarly apply to all Miui based roms like xiaomi.eu or masik x or it is just for stock miui.
Ezio553 said:
Ok that means going from miui to aosp & vice versa - format data needed.
So this should similarly apply to all Miui based roms like xiaomi.eu or masik x or it is just for stock miui.
Click to expand...
Click to collapse
As far as I know, you only need to format data when flashing over official MIUI. I don't know the details, but it is my understanding that encryption on MIUI does not follow standard practice, which is why it it's necessary to format data when flashing over MIUI. I don't believe this issue exists with MIUI based custom ROMs, or when reverting back to MIUI.
Though, there may be occasions, when flashing from one AOSP ROM to another, and the phone is encrypted, when you may get a bootloop. In this case booting to TWRP and formatting data, will fix the problem. This is why I earlier recommended temporarily removing lockscreen security, if you choose to have an encrypted phone, even though this is a rare occurrence.
Robbo.5000 said:
As far as I know, you only need to format data when flashing over official MIUI. I don't know the details, but it is my understanding that encryption on MIUI does not follow standard practice, which is why it it's necessary to format data when flashing over MIUI. I don't believe this issue exists with MIUI based custom ROMs, or when reverting back to MIUI.
Though, there may be occasions, when flashing from one AOSP ROM to another, and the phone is encrypted, when you may get a bootloop. In this case booting to TWRP and formatting data, will fix the problem. This is why I earlier recommended temporarily removing lockscreen security, if you choose to have an encrypted phone, even though this is a rare occurrence.
Click to expand...
Click to collapse
Thanks for the info.
I tried custom miui rom and well flashing dfe worked fine so i think its just for official miui.
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
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
Hi!
Recently updated my Moto G9 Plus to A11, but is laggy and buggy as hell in matter of emulation, when A10 doesn't have this problems. So I intented to downgrade to A10 but at the flashing moment (fastboot with stock rom A10) fails at some point (vbmeta). It boots anyway, but breaks NFC module, so can't use it until upgrade to A11 again.
Cause of this, tried some custom roms like Lineage that I found in Telegram room. Didn't realize that i've installed an A12 rom, that I do not knew how to add Gapps. So, when tried the A11 one, the recovery doesn't allow me to install it because of the Anti-RollBack function. Then I give up and tried to go back to A10 stock, and had a bootloop as a result. Then flashing A11 solve the problem, so I have to stay in that f***ing OS...
I'm kind of new in this, besides i've done some things like this before, but I do not have any clue on how to procede... Really want to switch to A10 or A11 custom like Lineage, but don't know how... Any help you can give me?
PD: Sorry, I'm Argentinian, gave the best of me to make this understable