[GUIDE][venus|star|mars] How to install Xiaomi.eu ROM for Xiaomi MI11 / Pro / Ultra


There are multiples ways to open .sh files given from the link I gave... :)

Please try them and report here what worked for you. ;)
Yes thanks for the link I can open the sh file but it appears that the image and the phone are not compatible
See msg from terminal
Robs-MacBook:~ MacBookAir$ sh /Users/MacBookAir/Downloads/EU\ Rom/macos_fastboot_first_install_with_data_format.sh
usage: dirname path
You are going to wipe your data and internal storage. It will delete all your files and photos stored on internal storage. Do you agree? (Y/N) y

Missmatching image and device

I am downloading another rom
 
typed sh space and dragged file in, but it says mismatched file and device. View attachment 36281
There is an issue with the install script (.sh file) of Xiaomi.eu when the path - where the script is located - includes one (or multiple) space(s).

EDIT: That only happens if you don't use cd /path/where/script/is then ./install_script_name.sh to run the script!

So you can:

Rename the "EU Rom" folder to "EU_Rom"

-OR-

Edit the first line of the install script (.sh file) => Replace cd `dirname $0` to cd "`dirname -- "$0"`"

;)
 
Last edited:
There is an issue with the install script (.sh file) of Xiaomi.eu when the path where the script is located includes one (or multiple) space(s). ;)

So you can:

Rename the "EU Rom" folder to "EU_Rom" then try again

-OR-

Edit the first line of the install script (.sh file):

Replace
Code:
cd `dirname $0`
to
Code:
cd `dirname -- "$0"`

:)
Thanks for helping me
 
When twrp come out will we need to reset the phone and lose all data again?

Or flashing the twrp is seamless and will keep all the data as before?

I wouldnt want to reset my phone again and so all the setup process from scratch
 
When twrp come out will we need to reset the phone and lose all data again?
No

Or flashing the twrp is seamless and will keep all the data as before?
Yes

I wouldnt want to reset my phone again and so all the setup process from scratch
No worry
 
  • Like
Reactions: Eli k
Successed to flash 11U from 12.5.2CN to 12.5.2 EU and my step as below...
1. Login Miflash tool
2. Setting phone to Fastboot mode
3. Unlocked phone and reboot
4. Quick setting and makesure can login to phone
5. Setting phone to Fastboot moda again
6. Open CMD as administrator
7. Go to folder platform-tools-windows as keying command
fastboot devices > check phone already link with PC
fastboot getvar current-slot > check slot is a or b, and my device show the slot on b
fastboot set_active a > change the slot from b to a
8. Back to extract file folder and keying command
windows_fastboot_first_install_with_data_format.bat
9. Auto reboot phone when finished and successed.

Wonder if you skipped these platform-tools steps what would've happened. Especially the set_active_a, because you were on slot b. I guess more people need to try them before flashing.
 
When twrp come out will we need to reset the phone and lose all data again?

Or flashing the twrp is seamless and will keep all the data as before?

I wouldnt want to reset my phone again and so all the setup process from scratch
TWRP will not affect your system in any way..
 
  • Like
Reactions: Eli k
Hello, here i have a big question
will Unlocking bootloader and installing this ROM remove the phone storage encryption so anyone who for e.g steal the phone can easily access the files on storage and anything?
Thanks
 
Hello, here i have a big question
will Unlocking bootloader and installing this ROM remove the phone storage encryption so anyone who for e.g steal the phone can easily access the files on storage and anything?
Thanks
Hello, installing then booting this ROM (Xiaomi.eu) will encrypt the content of the /data partition like Official MIUI ROMs. ;)
 
I hope someone can reiterate this ... I'm on 12.0.13CN and waiting for unlock
But i wanted to try 12.5.20CN before going custom ROM

I'll wait until the unlock period is over before making a decision

Successed to flash 11U from 12.5.2CN to 12.5.2 EU and my step as below...
1. Login Miflash tool
2. Setting phone to Fastboot mode
3. Unlocked phone and reboot
4. Quick setting and makesure can login to phone
5. Setting phone to Fastboot moda again
6. Open CMD as administrator
7. Go to folder platform-tools-windows as keying command
fastboot devices > check phone already link with PC
fastboot getvar current-slot > check slot is a or b, and my device show the slot on b
fastboot set_active a > change the slot from b to a
8. Back to extract file folder and keying command
windows_fastboot_first_install_with_data_format.bat
9. Auto reboot phone when finished and successed.
 
  • Like
Reactions: splinson
I hope someone can reiterate this ... I'm on 12.0.13CN and waiting for unlock
But i wanted to try 12.5.20CN before going custom ROM

I'll wait until the unlock period is over before making a decision
be brave and be our testdummie
 
be brave and be our testdummie
I am also going to be the testdummie . I applied for unlock while the device was on 12.0 CN and after that updated to 12.5 CN. Tomorrow after the unlock period ends I'll try to probably flash the global 12.0 on top of 12.5 CN. I checked for anti-roll-back (ARB) protection and the value is at 1 which means there is no ARB activated. If this goes successfully I'll try the fastboot set_active a command as described in the previous posts before flashing EU 12.5.3 on top of Global 12.0. I'll report what happened and try to write down all the steps.
 
If this goes successfully I'll try the fastboot set_active a command
If you install Global 12.0.1.0, do not use "fastboot set_active a" but use "fastboot getvar current-slot" value first (slot a or slot b?). :)

This "fastboot set_active a" command may be useful on latest China ROM only. ;)
 
If you install Global 12.0.1.0, do not use "fastboot set_active a" but use "fastboot getvar current-slot" value first (slot a or slot b?). :)

This "fastboot set_active a" command may be useful on latest China ROM only. ;)
Thanks
 
I just checked now while the device is still locked when I type "fastboot getvar current-slot" command it says "current-slot: a". Does that mean I don't have to run the command "fastboot set_active a" ?
 
I just checked now while the device is still locked when I type "fastboot getvar current-slot" command it says "current-slot: a". Does that mean I don't have to run the command "fastboot set_active a" ?
only it is on slot b
whatever?
 
Has anyone been able to flash Mi 11 Pro to Miui 12.5.3.0 without issue?

I'm going to do EDL in a moment, what do you recommend to avoid getting stuck in Fastboot again?
 
Successed to flash 11U from 12.5.2CN to 12.5.2 EU and my step as below...
1. Login Miflash tool
2. Setting phone to Fastboot mode
3. Unlocked phone and reboot
4. Quick setting and makesure can login to phone
5. Setting phone to Fastboot moda again
6. Open CMD as administrator
7. Go to folder platform-tools-windows as keying command
fastboot devices > check phone already link with PC
fastboot getvar current-slot > check slot is a or b, and my device show the slot on b
fastboot set_active a > change the slot from b to a
8. Back to extract file folder and keying command
windows_fastboot_first_install_with_data_format.bat
9. Auto reboot phone when finished and successed.

What do you mean by

3. Unlocked phone and reboot
4. Quick setting and makesure can login to phone

There is no option to unlock phone in miflashtool??

Did you mean the unlock tool?



Could you tell me excactly which ROM did you use for Flashing??

The link for 12.5.2.0 from the first Post of this Thread, because there is also appearing a 12.5.3 version at this time.

Thanks :cool:
 
Last edited:
. VoLTE and VoWLAN works after I disabled the carrier checks.
Hey thanks for sharing! How u disabled carrier check !?! I never heard of it ???

you mean to (activate) enable VoLTE you have to “disable” it ?
thank you
 
Last edited: