Question Install Xiaomi firmware after installed rom - Redmi Note 10 Pro

For about a couple of weeks I run crDroid 7.16. This because I think an EOL A11 rom is developed out with minimal bugs.
Inside the flashing instructions I didn't read nothing about flashing Xiaomi firmware before, so I didn't think about that.
My Xiaomi firmware version was 12.5.3.0. EEA and flashing crDroid didn't give problems.
But viewing build.prop I saw the rom was based on v. 12.5.4 Global
Although I haven't problems, I wonder if it wouldn't be wiser to flash 12.5.4 Global after all
However, I want to avoid a bootloop, format or other surprises.
That's why I have some questions
- Can I flash the Xiaomi firmware without a clean install?
- Or is it better to dirty flash crDroid, Gapps, Magisk and decrypt again too?
- Or is it better to flash the latest A11 firmware 12.5.9 Global?
- Or leave it as it is?

You would need to do a clean installation because you'll be changing firmware. However, you said you're device region is EEA. No need to change anything. EEA and Global variants are roughly the same but it is best to stick to your region firmware.

BigChungus321 said:
You would need to do a clean installation because you'll be changing firmware. However, you said you're device region is EEA. No need to change anything. EEA and Global variants are roughly the same but it is best to stick to your region firmware.
Click to expand...
Click to collapse
Thanks for your answer.
I don't talk about installing complete Miui rom, but firmware from which is mentioned here
This is only a part of a complete Miui rom. Is clean install than really neccesary?
I ask because I read on another tread
"Firmware is simply the bootloader, modem and baseband files that are responsible for bluetooth, wifi and all wireless connections on the device, it is only necessary to update if you are coming from a very old version of the stock ROM."
That's why I have some doubts if it makes much difference

Personally, running previously on ArrowOS 11 then 12, now on LOS, I've been dirty updating firmware without flashing rom, by flashing it with twrp, cleaning cache and dalvik, and everything is ok.

Related

Help! Need to revert vendors.

Hello XDA
Here's the history
Device - K20 pro Raphaelin
I had to install pixel experience. The OP suggested to install vendor 10.3.16cn. The chinese one.
I did. Also because the Indian vendor was throwing me into bootloops.
Chinese vendor although had minor issues, But was generally daily use material.
It was although showing compatibility error. But there was a workaround by editing a file with notepad ++
It was all hunky dory for a month, before I decided to upgrade to Android Q.
Decided on evolutionX 3.3 as it had the most activity and seemed plenty stable.
I followed the instructions and tried installing Indian Vendor, which threw up error 7. Incompatible zip
Tried global vendor. Which booted. But had a loss of functionality in the india specific payment apps. Tried china vendor and the same issues persisted, which weren't there when china vendor of pie was used.
Now, after changing vendors so many times, it seems a few more bugs have crept in.
So i thought going back to stock and starting fresh may solve the issue.
Downloaded MiFlash Tool, indian fastboot rom miui 11.0.3.
Flashed, and it failed because the rom was incompatible.
Can someone please help me.?
How do i revert to indian vendor?
aman2125 said:
Hello XDA
Here's the history
Device - K20 pro Raphaelin
I had to install pixel experience. The OP suggested to install vendor 10.3.16cn. The chinese one.
I did. Also because the Indian vendor was throwing me into bootloops.
Chinese vendor although had minor issues, But was generally daily use material.
It was although showing compatibility error. But there was a workaround by editing a file with notepad ++
It was all hunky dory for a month, before I decided to upgrade to Android Q.
Decided on evolutionX 3.3 as it had the most activity and seemed plenty stable.
I followed the instructions and tried installing Indian Vendor, which threw up error 7. Incompatible zip
Tried global vendor. Which booted. But had a loss of functionality in the india specific payment apps. Tried china vendor and the same issues persisted, which weren't there when china vendor of pie was used.
Now, after changing vendors so many times, it seems a few more bugs have crept in.
So i thought going back to stock and starting fresh may solve the issue.
Downloaded MiFlash Tool, indian fastboot rom miui 11.0.3.
Flashed, and it failed because the rom was incompatible.
Can someone please help me.?
How do i revert to indian vendor?
Click to expand...
Click to collapse
The file that was edited with notepad ++ was [META-INF/com/google/android/update-script]

Need help in flashing cutom roms

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.

Few questions to clarify my doubts regarding flashing ROMs

I am using K20 Pro in India and quite irritated with MIUI 12.0.3 right now and want to try other ROMs. I used to flash a lot in my last device (Redmi Note 3). But, nowadays the process seems a bit complex to me. I am mostly confused with the Firmware/Vendor things which I used to not worry about back in the days. I have a few questions to clarify.
In https://xiaomifirmwareupdater.com/, I can see that Firmware and Vendor both are available as two different files. Is the combination of these two files is what that is available at https://downloads.akhilnarang.dev/MIUI/raphael/ ?
When I am switching ROMs, is it always recommended to flash latest firmware+vendor first ? Right now, I am on MIUI 12.0.3 which is the latest one. So if I want to flash a miui-vendor based ROM, I think I don't need to flash the firmware first while flashing. Am I right ?
If I want to switch to an OSS vendor based ROM from MIUI vendor based ROM or vice-versa, should I first erase Vendor and system partition and then follow the rest of the process?
Does all MIUI vendor based ROM zips contain the vendor itself ? Probably not and that's why latest miui-firmware+vendor should always be flashed before flashing a miui-vendor based ROM. Am I correct?
Does all OSS vendor based ROM zips contain the OSS vendor within itself ? Probably yes and it should not be required to flash miui firmware+vendor before flashing a OSS vendor based ROM. Am I correct?
It will be a great help if someone can clear out my confusions and help me gather courage to go ahead and flash my first ROM for this device. Thanks in advance.
HostileSage said:
I am using K20 Pro in India and quite irritated with MIUI 12.0.3 right now and want to try other ROMs. I used to flash a lot in my last device (Redmi Note 3). But, nowadays the process seems a bit complex to me. I am mostly confused with the Firmware/Vendor things which I used to not worry about back in the days. I have a few questions to clarify.
In https://xiaomifirmwareupdater.com/, I can see that Firmware and Vendor both are available as two different files. Is the combination of these two files is what that is available at https://downloads.akhilnarang.dev/MIUI/raphael/ ?
When I am switching ROMs, is it always recommended to flash latest firmware+vendor first ? Right now, I am on MIUI 12.0.3 which is the latest one. So if I want to flash a miui-vendor based ROM, I think I don't need to flash the firmware first while flashing. Am I right ?
If I want to switch to an OSS vendor based ROM from MIUI vendor based ROM or vice-versa, should I first erase Vendor and system partition and then follow the rest of the process?
Does all MIUI vendor based ROM zips contain the vendor itself ? Probably not and that's why latest miui-firmware+vendor should always be flashed before flashing a miui-vendor based ROM. Am I correct?
Does all OSS vendor based ROM zips contain the OSS vendor within itself ? Probably yes and it should not be required to flash miui firmware+vendor before flashing a OSS vendor based ROM. Am I correct?
It will be a great help if someone can clear out my confusions and help me gather courage to go ahead and flash my first ROM for this device. Thanks in advance.
Click to expand...
Click to collapse
Haven't installed and OSS vendor based ROMs, so I'm a bit sketchy on those details.
1. The first link has vendor and firmware as separate packages. (They are separate, independent projects that package them, but pulled together and linked in the website). This site has a more compete collection, if you look into the archive section. The second link contains vendor and firmware files packaged into single zipped files.
2. You only need to flash firmware and vendor when the requirements are for a later version than currently installed. You have the latest version, so you won't need to flash firmware and vendor until a new version of MIUI is released AND ROMs change requirements to the new versions.
3. Follow the instructions for the individual ROM. I know of one OSS vendor ROM (can't remember which) that requires flashing the latest MIUI fastboot ROM before flashing the custom ROM. Don't know if this is a general rule for OSS vendor ROMs though. Shouldn't normally need to wipe partitions before installing, as the install will take care of that automatically.
4. If it's not an OSS vendor ROM it will not contain any firmware and vendor files. Installing 'normal' ROMs won't touch the existing firmware and vendor, so if you already have the latest MIUI firmware and vendor then you won't need to install them.
5 OSS vendor ROMs should contain the vendor files in the package. I don't believe they have any firmware files though, so you will need to make sure you have the correct firmware installed. Not having used an OSS vendor ROM, this is where I'm a little bit hazy on actual details.
Robbo.5000 said:
Haven't installed and OSS vendor based ROMs, so I'm a bit sketchy on those details.
1. The first link has vendor and firmware as separate packages. (They are separate, independent projects that package them, but pulled together and linked in the website). This site has a more compete collection, if you look into the archive section. The second link contains vendor and firmware files packaged into single zipped files.
2. You only need to flash firmware and vendor when the requirements are for a later version than currently installed. You have the latest version, so you won't need to flash firmware and vendor until a new version of MIUI is released AND ROMs change requirements to the new versions.
3. Follow the instructions for the individual ROM. I know of one OSS vendor ROM (can't remember which) that requires flashing the latest MIUI fastboot ROM before flashing the custom ROM. Don't know if this is a general rule for OSS vendor ROMs though. Shouldn't normally need to wipe partitions before installing, as the install will take care of that automatically.
4. If it's not an OSS vendor ROM it will not contain any firmware and vendor files. Installing 'normal' ROMs won't touch the existing firmware and vendor, so if you already have the latest MIUI firmware and vendor then you won't need to install them.
5 OSS vendor ROMs should contain the vendor files in the package. I don't believe they have any firmware files though, so you will need to make sure you have the correct firmware installed. Not having used an OSS vendor ROM, this is where I'm a little bit hazy on actual details.
Click to expand...
Click to collapse
Thanks a ton, I am a lot less confused now.

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

Question Easiest way to change from CN ROM to Global ROM without losing data?

Hi guys, I bought my Xiaomi 11 ultra via an exporter almost 6 months ago and I have been using it happily.
I updated to MIUI 13.0.9 recently based on the phone OTA updates and I have been experiencing issues with dark mode and notifications. Some apps don't show notifications despite me disablling MIUI battery saver and enabled auto start.
Been browsing this forum for awhile and reading all the guides but can't seem to find one that allows me to root and swap to Global ROM without losing my data.
I have tons of pictures and data in my phone that I don't want to lose.
Can anyone be so kind to point me the directions?
Regards,
James
Simplest and only way, LOSE YOUR DATA!!!
The other thing you can do is back your data up over cloud (google or Xiaomi) and then restore your phone once rom has changed
Can the unlock bootloader / flashing of the global ROM or eu rom work with the latest version of CN ROM?
Luck515 said:
Can the unlock bootloader / flashing of the global ROM or eu rom work with the latest version of CN ROM?
Click to expand...
Click to collapse
Global rom still 12.x so if u want to flash from CN 13.x to global 12.x U must change some line in fastboot file so can downgrade rom
EU ROM seems like it's on MIUI 13.0 already. Would you recommend me unlocking bootloader and flashing MIUI 13 EU ? I'm backing up my phone now, just a little worried about my Google authenticator and my other crypto defi wallet like metamask and etc .
Luck515 said:
EU ROM seems like it's on MIUI 13.0 already. Would you recommend me unlocking bootloader and flashing MIUI 13 EU ? I'm backing up my phone now, just a little worried about my Google authenticator and my other crypto defi wallet like metamask and etc .
Click to expand...
Click to collapse
EU rom is china rom with some mode to make it global. And miui 13 stil has alot of bug (im using it 1-2 months) and i will change back to global rom soon
With me, eu rom sometimes got so laggy, refresh rate suddenly change to very slow value. Never met it in global rom.
Unlocked and flash another rom is a must do thing if u dont live in china. So u can try global or EU, what do u feel better. I come from eu to global, then try eu 13.x and now really want to fall back to global now
Luck515 said:
EU ROM seems like it's on MIUI 13.0 already. Would you recommend me unlocking bootloader and flashing MIUI 13 EU ? I'm backing up my phone now, just a little worried about my Google authenticator and my other crypto defi wallet like metamask and etc .
Click to expand...
Click to collapse
I would also recommend you to use Swift Backup for App / Messages / Call logs / WiFi PW backups. It works for most of the Apps so that you don't loose anything. Usually with Banking apps the restore doesn't really work. But there is usually also no data to keep with it. I always copy the Download and DCIM folder directly to my Laptop and after local backup also the full Swift Backup folder. Then I'm ready to wipe. I do that on a regular base (every 4-6 weeks) as the daily updates of CN rom sometimes make the phone a bit unstable.
Don't forget that your phone will be wiped once you unlock the bootloader.
when you unlock your bootloader there is no other option then format. It happens without asking it is just mandatory. Like @RoughNeck1971 says... i also use Swift to backup and copy DCIM directly to laptop
Question though, I'm now currently on MIUI 13.0.9 on CN ROM through OTA ever since I got it out from the box.
Am I able to flash to global ROM from MIUI 13 CN to Global ROM MIUI 12?
I read that OTA doesn't work anymore after changing ROMs,
So the propery way is to
1. Unlock bootloader,
2. Flash Global ROM with TWRP
3. Then full back up with TWRP whenever I want to update it to a new version of global stable ROM?
Sorry guys I haven't been in xda for a long time, since the times HTC sensation was released I meddle with some roms and radio updates.
Appreciate your guidance.
Regards,
James
RoughNeck1971 said:
I would also recommend you to use Swift Backup for App / Messages / Call logs / WiFi PW backups. It works for most of the Apps so that you don't loose anything. Usually with Banking apps the restore doesn't really work. But there is usually also no data to keep with it. I always copy the Download and DCIM folder directly to my Laptop and after local backup also the full Swift Backup folder. Then I'm ready to wipe. I do that on a regular base (every 4-6 weeks) as the daily updates of CN rom sometimes make the phone a bit unstable.
Don't forget that your phone will be wiped once you unlock the bootloader.
Click to expand...
Click to collapse
First of all - when you go back to MIUI 12 on Android 11 then TWRP is the right way to go as it supports it. Then you don't have to care about changing line in fastboot for downgrade. But as long as you have TWRP installed instead of the xiaomi recovery you can't do OTA. But you can just "update" with the new full rom version.
If you should do a full backup with TWRP - can't really say as I never tried to restore a full backup. I wouldn't rely on it to be honest. Better to have everything backed up and do a new install if there are issues.
RoughNeck1971 said:
First of all - when you go back to MIUI 12 on Android 11 then TWRP is the right way to go as it supports it. Then you don't have to care about changing line in fastboot for downgrade. But as long as you have TWRP installed instead of the xiaomi recovery you can't do OTA. But you can just "update" with the new full rom version.
If you should do a full backup with TWRP - can't really say as I never tried to restore a full backup. I wouldn't rely on it to be honest. Better to have everything backed up and do a new install if there are issues.
Click to expand...
Click to collapse
I am really new to custom roms after using iPhone for a really long time and forgot how to root the phone.
I am fresh on CN ROM, on 13.0.9.
Can someone verify or guide if the steps I listed are correct?
0. Backup all files
1. Unlock "bootloader" with Mi Flash Unlock
2. Install ADB and flash TWRP Image
3. Install Global ROM (just to clarify, i can go back from 13.0.9 CN to Global MIUI 12 right?)
4. Check with Magisk that I am indeed rooted.
5. Restore backup from Swift / PC / Xiaomi Backup
You had it right. But you need to keep in mind that it takes usually 7 days until your bootloader will get unlocked! Sou you "apply" for it and then the counter starts from 168 hours to 0. Only then it will be unlocked. Unfortunately there is no way to get around that.
Hi guys, is it possible to flash the 512GB variant with a EU/Global rom or this can be done with a 256GB variant only?
You will lose data. You must format when you change ROM branch. I have Xiaomi EU ROM on my 11 512 Ultra now but did have global. Storage size doesn't affect ROM installation.
RoughNeck1971 said:
First of all - when you go back to MIUI 12 on Android 11 then TWRP is the right way to go as it supports it. Then you don't have to care about changing line in fastboot for downgrade. But as long as you have TWRP installed instead of the xiaomi recovery you can't do OTA. But you can just "update" with the new full rom version.
If you should do a full backup with TWRP - can't really say as I never tried to restore a full backup. I wouldn't rely on it to be honest. Better to have everything backed up and do a new install if there are issues.
Click to expand...
Click to collapse
But he is now at miui 13, so he must change fastboot file to rollback to miui 12 fastboot rom first
Then unlock, flash twrp and do everything else
Ah - OK. I understood that you have no problem installing Android 11 when you have TWRP running. Only to install Android 12 via TWRP has issues.
hi
my device is
MIUI GLOBAL 12.5.11 STABLE RKAEUXM MODEL M2102K1G
Can i install muiu 13 china version so i can get muiu 13
thanks
p.s any guide
alleshi said:
hi
my device is
MIUI GLOBAL 12.5.11 STABLE RKAEUXM MODEL M2102K1G
Can i install muiu 13 china version so i can get muiu 13
thanks
p.s any guide
Click to expand...
Click to collapse
[ROM][MIUI][star/mars] Xiaomi.eu ROM for Xiaomi MI 11 Pro / Ultra
How to install Xiaomi.eu ROM for Xiaomi MI 11 Pro / Ultra We will release fastboot ROM versions until TWRP for star/mars is released TWRP RELEASED Steps to install xiaomi.eu ROM for first time from China ROM (All your data and files on...
forum.xda-developers.com
alleshi said:
hi
my device is
MIUI GLOBAL 12.5.11 STABLE RKAEUXM MODEL M2102K1G
Can i install muiu 13 china version so i can get muiu 13
thanks
p.s any guide
Click to expand...
Click to collapse
You must format data when changing ROM branches. This due to possible partition differences between them. You may end in a boot loop until you do format.

Categories

Resources