Tutorial How To Flash Xiaomi.eu Rom [tutorial]


Muhamed

Members
Jun 24, 2014
342
67
Xiaomi.eu and me are not responsible for on any damage.
Please do some research if you have any concerns about this tutorial before flashing!


When you buy/import a Xiaomi device (smartphone or tablet), than you will get official ROM from Xiaomi http://en.miui.com/download.html or vendor/shop ROM from seller. I will show you how you can flash ROM's from xiaomi.eu

First of all, sry for my bad english but I hope this willanyway help someone...
For Windows you need to download adb and fastboot, install it and later you will see, what you need to do. In the Tutorial I show you also, how it works under Linux, the second part. The first part you need to do under Windows, because the Tools from Xiaomi only support Windows.
I did this on Windows 10 Pro, 64 bit, with the Redmi Note 3 Pro, Redmi 3 Pro, Redmi 4, Redmi Note 4, Mi Note 2, Mi5, Mi5s, Mi5s Plus, MiMax Pro and more. I know, it sounds sick but I did it also for friends and only for my uncle I bought 6 times the Redmi 4x, so I know what I did and I will help you guys.

1. We need to unlock bootloader first. So take your device, go to settings and than to about device/info
entwicklerfreischalten.png


Click few times on MIUI-Version to unlock the developer mode. MIUI will show you "you are now developer".
Go back and to "more settings", than to "developer mode"
oemunlockmiui.png

Allow OEM unlock and than:
miunlockbootloader.png

Go to "Mi Unlock Status"
geraetverbinden.png

So, you click on register account and device and log in to you MIUI account, not your xiaomi.eu account. You need to set "find my device" and allow anything, what is asking for.
At this moment you need to wait 72h. If you try to unlock your device, it will show:
e.png

This is something new from Xiaomi, I think it start 05/2017.
If you got an account, which don't have permission to unlock a Xiaomi device, go to this site and ask for: http://en.miui.com/unlock/
You can unlock one device in 30 days. If you plan to unlock more, like I did, so create more accounts or you will need to wait 30 days. Sometimes I wait 2 days for the permission to unlock xiaomi devices, sometimes 10-12 days. I can not explain you why, but that my experience.

2. Safe all your data and turn off the device. Hold the volume down button and power button.
It will start and show you just this picture.
fastbootmiui.jpg

Use USB 2.0 (if possible) and connect the device to your Windows PC.
a.png

It will download all driver, which we need to unlock our device. Usually I don't use Windows. I did it on 3 Windows PC's. On some I need to install all Xiaomi Tools and sometimes I need to switch just the USB Port and anything works perfect. No idea why, just want to tell you.
Let the device on the table, don't press anything, just wait and continue with this tutorial.

3. We need Mi Unlock Tool to unlock the device, so go to http://en.miui.com/unlock/ click on unlock and log in with your account. It must be the same account like on your device. Download the Tool, unzip it and run it.
miunlocktoollogin.png

Log in to your Xiaomi account
4.png

It will check and after that you will see this
5.png

Click on Unlock and wait
7.png

Wait untill it say's "device unlocked" after that reboot your device. Hold the power button for 20 sec, it will reboot. On some version you can click "reboot device" but if not do it like I sad.
problemswithunlock.png

If you can not connect your device, than you got a problem with the drivers. Reboot, install MI Tools, try it again, change USB cable or port... something is wrong.
Couldn't verify device = you need to flash official ROM, because you got one of this vendor/shop ROM's. I will also create a new thread for this problem, so check it out.

4. Download the ROM which you want to install (flash) and put it on the device.
abcd.png

Don't put it in folders, just on the internal storage, like on this picture.

5. We need to flash a custom recovery, so this will be TWRP. TWRP you can download here:
twrpmiui.png

Just click on DOWNLOAD and find TWRP for your device. Sometimes you will not find TWRP, so you need to wait. Download this file, unzip it and rename the .img file to recovery.img
This file you put in the adb folder on your Windows PC. It need to look like this:
aaa.png

Now open CMD as admin in this folder (hold Shift and right click in the folder)
twrpflashadb.png

First type dir and press enter (1), you need to find a file like in the picture recovery.img (2), boot your device in fastboot mode, like we already did and run fastboot device, it need to look like on the picture (3), than type fastboot flash recovery recovery.img (4), it show "OKAY" and "finished", after that boot in TWRP with the command fastboot boot recovery.img (5)
Just wait, sometimes you need to wait up to 2 min, sometimes it start instant.
If you got Linux, it is the same. Install ADB and Fastboot with this commands over terminal:
sudo apt-get install android-tools-adb
sudo apt-get install android-tools-fastboot

Open the terminal
twrpoverlinuxxiaomi.png

Linux don't care of the location of TWRP, filename, USB 2.0/3.0 or Type C 3.1, anything works, after you install it with that commands. When I got problems with flashing, I just switch to Linux and have no problems.
Sometimes you will se just chinese font on the first boot. This is not a problem, just use this picture:
twrp-chinesisch-chinese.png

You can see, which button is select language, use it and set it to English, set "never show this screen during boot again" and Swipe to allow modifications. After that you will see this picture:
twrpxiaomimiui.png

If you use TWRP for the first time, you can find videos on YouTube, to see what they do. Don't use CyanogenMod/Lineage OS tutorials for this ROM! It is not the same!
First of all make a backup, so you can go back, EFS backup is anytime good to have. You can also use OTG in TWRP, this is also a better choice, because the files are safe after backup.
After backup you need to wipe.
flashxiaomi.eutwrp.png

Be careful! You will always find some additional information in the main thread, especially when we get a new Android Version, be very careful!
So after that you go to install, choose the files, swipe to install and after that reboot device. That's it! The first boot can take up to 5 min., just wait and if you wanna update the rom, boot to TWRP, go to install, choose the filme and swipe to install.

Fell free to share this, but please be fair and share the source (link to xiaomi.eu is enough).
 
Xiaomi.eu and me are not responsible for on any damage.
Please do some research if you have any concerns about this tutorial before flashing!


When you buy/import a Xiaomi device (smartphone or tablet), than you will get official ROM from Xiaomi http://en.miui.com/download.html or vendor/shop ROM from seller. I will show you how you can flash ROM's from xiaomi.eu

First of all, sry for my bad english but I hope this willanyway help someone...
For Windows you need to download adb and fastboot, install it and later you will see, what you need to do. In the Tutorial I show you also, how it works under Linux, the second part. The first part you need to do under Windows, because the Tools from Xiaomi only support Windows.
I did this on Windows 10 Pro, 64 bit, with the Redmi Note 3 Pro, Redmi 3 Pro, Redmi 4, Redmi Note 4, Mi Note 2, Mi5, Mi5s, Mi5s Plus, MiMax Pro and more. I know, it sounds sick but I did it also for friends and only for my uncle I bought 6 times the Redmi 4x, so I know what I did and I will help you guys.

1. We need to unlock bootloader first. So take your device, go to settings and than to about device/info
entwicklerfreischalten.png


Click few times on MIUI-Version to unlock the developer mode. MIUI will show you "you are now developer".
Go back and to "more settings", than to "developer mode"
oemunlockmiui.png

Allow OEM unlock and than:
miunlockbootloader.png

Go to "Mi Unlock Status"
geraetverbinden.png

So, you click on register account and device and log in to you MIUI account, not your xiaomi.eu account. You need to set "find my device" and allow anything, what is asking for.
At this moment you need to wait 72h. If you try to unlock your device, it will show:
e.png

This is something new from Xiaomi, I think it start 05/2017.
If you got an account, which don't have permission to unlock a Xiaomi device, go to this site and ask for: http://en.miui.com/unlock/
You can unlock one device in 30 days. If you plan to unlock more, like I did, so create more accounts or you will need to wait 30 days. Sometimes I wait 2 days for the permission to unlock xiaomi devices, sometimes 10-12 days. I can not explain you why, but that my experience.

2. Safe all your data and turn off the device. Hold the volume down button and power button.
It will start and show you just this picture.
fastbootmiui.jpg

Use USB 2.0 (if possible) and connect the device to your Windows PC.
a.png

It will download all driver, which we need to unlock our device. Usually I don't use Windows. I did it on 3 Windows PC's. On some I need to install all Xiaomi Tools and sometimes I need to switch just the USB Port and anything works perfect. No idea why, just want to tell you.
Let the device on the table, don't press anything, just wait and continue with this tutorial.

3. We need Mi Unlock Tool to unlock the device, so go to http://en.miui.com/unlock/ click on unlock and log in with your account. It must be the same account like on your device. Download the Tool, unzip it and run it.
miunlocktoollogin.png

Log in to your Xiaomi account
4.png

It will check and after that you will see this
5.png

Click on Unlock and wait
7.png

Wait untill it say's "device unlocked" after that reboot your device. Hold the power button for 20 sec, it will reboot. On some version you can click "reboot device" but if not do it like I sad.
problemswithunlock.png

If you can not connect your device, than you got a problem with the drivers. Reboot, install MI Tools, try it again, change USB cable or port... something is wrong.
Couldn't verify device = you need to flash official ROM, because you got one of this vendor/shop ROM's. I will also create a new thread for this problem, so check it out.

4. Download the ROM which you want to install (flash) and put it on the device.
abcd.png

Don't put it in folders, just on the internal storage, like on this picture.

5. We need to flash a custom recovery, so this will be TWRP. TWRP you can download here:
twrpmiui.png

Just click on DOWNLOAD and find TWRP for your device. Sometimes you will not find TWRP, so you need to wait. Download this file, unzip it and rename the .img file to recovery.img
This file you put in the adb folder on your Windows PC. It need to look like this:
aaa.png

Now open CMD as admin in this folder (hold Shift and right click in the folder)
twrpflashadb.png

First type dir and press enter (1), you need to find a file like in the picture recovery.img (2), boot your device in fastboot mode, like we already did and run fastboot device, it need to look like on the picture (3), than type fastboot flash recovery recovery.img (4), it show "OKAY" and "finished", after that boot in TWRP with the command fastboot boot recovery.img (5)
Just wait, sometimes you need to wait up to 2 min, sometimes it start instant.
If you got Linux, it is the same. Install ADB and Fastboot with this commands over terminal:
sudo apt-get install android-tools-adb
sudo apt-get install android-tools-fastboot

Open the terminal
twrpoverlinuxxiaomi.png

Linux don't care of the location of TWRP, filename, USB 2.0/3.0 or Type C 3.1, anything works, after you install it with that commands. When I got problems with flashing, I just switch to Linux and have no problems.
Sometimes you will se just chinese font on the first boot. This is not a problem, just use this picture:
twrp-chinesisch-chinese.png

You can see, which button is select language, use it and set it to English, set "never show this screen during boot again" and Swipe to allow modifications. After that you will see this picture:
twrpxiaomimiui.png

If you use TWRP for the first time, you can find videos on YouTube, to see what they do. Don't use CyanogenMod/Lineage OS tutorials for this ROM! It is not the same!
First of all make a backup, so you can go back, EFS backup is anytime good to have. You can also use OTG in TWRP, this is also a better choice, because the files are safe after backup.
After backup you need to wipe.
flashxiaomi.eutwrp.png

Be careful! You will always find some additional information in the main thread, especially when we get a new Android Version, be very careful!
So after that you go to install, choose the files, swipe to install and after that reboot device. That's it! The first boot can take up to 5 min., just wait and if you wanna update the rom, boot to TWRP, go to install, choose the filme and swipe to install.

Fell free to share this, but please be fair and share the source (link to xiaomi.eu is enough).
In Italiano > Ammirevole
Thank you, big work
 
I have Redmi Note3 MTK (hennessy) with latest china stable 9.6.1.0.00(LHNCNFD) and trying to install Eu ROM xiaomi.eu_multi_HMNote3_V9.2.2.0.LHNCNEK_v9-5.0 found at https://androidfilehost.com/?w=files&flid=237597

All goes well.
fastboot flash recovery recovery.img (4), is "OKAY" and "finished",
after that boot in TWRP with the command fastboot boot recovery.img (5) fails with message:
Code:
booting. . .

FAILED (remote: unknown command)

finished. total time: 0.874s

What can I do?

Disclaimer: flashing newbie :)
 
I have Redmi Note3 MTK (hennessy) with latest china stable 9.6.1.0.00(LHNCNFD) and trying to install Eu ROM xiaomi.eu_multi_HMNote3_V9.2.2.0.LHNCNEK_v9-5.0 found at https://androidfilehost.com/?w=files&flid=237597

All goes well.
fastboot flash recovery recovery.img (4), is "OKAY" and "finished",
after that boot in TWRP with the command fastboot boot recovery.img (5) fails with message:
Code:
booting. . .

FAILED (remote: unknown command)

finished. total time: 0.874s

What can I do?

Disclaimer: flashing newbie :)
if the twrp installed you can open it in recovery mod
if dose not work make sure you have the correct twrp for your phone and try to booting from power shell or cmd while your phone in fastboot mod
 
if the twrp installed you can open it in recovery mod
if dose not work make sure you have the correct twrp for your phone and try to booting from power shell or cmd while your phone in fastboot mod

I'm using the latest official twrp for hennessy. I think it did not got installed. I also tried to boot directly (load to RAM without success, same fail).
I always did (and just retried) this from an adminstrator shell with the phone connected in fastboot mode.

Now I'll try to find specific info on how to trwp A redmi note 3 hennessy
 
  • Like
Reactions: basheir
I'm using the latest official twrp for hennessy. I think it did not got installed. I also tried to boot directly (load to RAM without success, same fail).
I always did (and just retried) this from an adminstrator shell with the phone connected in fastboot mode.

Now I'll try to find specific info on how to trwp A redmi note 3 hennessy
OK when you go to developer options and allow oem unlocking reboot to the fastboot directly because sometimes turned off when you leave developer options
Another thing make sure you install your phone drivers
I which help you more but this is my best
 
So, you click on register account and device and log in to you MIUI account, not your xiaomi.eu account. You need to set "find my device" and allow anything, what is asking for.

Unfortunately, I didn’t set "find my device" when I initially registered my device. Rather, I enabled this setting and the mi cloud afterwards. Will I still be able to unlock my device after the 360 hour waiting period?

Dummerweise habe ich "find my device" und die mi cloud nicht bei der ersten Registrierung aktiviert, sondern erst hinterher in den Einstellungen. Funktioniert der Unlock nach Ablauf der 360 Stunden oder soll ich das Gerät nochmal neu einrichten und mit meinem Account verbinden?
 
@dariusmk: I think that's not necessary. It should work when these 2 points are present just in the moment when you are doing the unlock with the unlock tool.
 
  • Like
Reactions: dariusmk
@dariusmk: I think that's not necessary. It should work when these 2 points are present just in the moment when you are doing the unlock with the unlock tool.

Thank you.

One final question: Is it ok if I don’t use the phone during the waiting period? I’d like to turn it completely off and put it in my wardrobe until the end of the waiting period. Or am I required to use it during the waiting period to "prove" that I’m not a commercial seller who unlocks devices before selling them?

I’m asking because someone claimed his waiting period was exetended due to the lack of use of his phone.
 
That sounds very weird, never heard of that. It should be ok if you don't use your phone during the waiting period and turn it off.
I read something else that indeed could extend the time to unlock: checking the unlock tool BEFORE the 360 h are over can prolong the period to e. g. 720 h.
So just relax and wait. If I were you, I'd turn on the phone from time to time and surf the Internet, I couldn't keep my hands off the new toy completely :)
 
  • Like
Reactions: dariusmk
Good day guys, just newly registered.
I'm currently using stable 10.1.1.0 NDDCNFI in my mimax 2, I wish to try the weekly releases.... how do I install it?
Can I just install the rom package over the existing version I'm using through twrp? Or should I wipe the data partition first then install the weekly?
Please help me... thanks in advance.
 
Hi there

I would like to know something similar to @BlackRose07 question, it's possible to flash the last xiaomi.eu_multi_MI3WMI4W_8.9.13_v10-6.0 directly, i flashed it over the last global stable, but would like to have a clean install, can i Wipe all (system/data/internal) with twrp and then install just this one?
Will it work?

Thks
 
Good day guys, just newly registered.
I'm currently using stable 10.1.1.0 NDDCNFI in my mimax 2, I wish to try the weekly releases.... how do I install it?
Can I just install the rom package over the existing version I'm using through twrp? Or should I wipe the data partition first then install the weekly?
Please help me... thanks in advance.
Yes you can install the weekly over the stable with preferably only a cache wipe.
PS make for security reasons always a TWRP backup prior to flashing.
Going back to an older stable version might require a system and or data wipe before flashing as the older stable system files might be incompatible with the weekly updates.

Verstuurd vanaf mijn Mi Note 2 met Tapatalk
 
  • Like
Reactions: BlackRose07
Yes you can install the weekly over the stable with preferably only a cache wipe.
PS make for security reasons always a TWRP backup prior to flashing.
Going back to an older stable version might require a system and or data wipe before flashing as the older stable system files might be incompatible with the weekly updates.

Verstuurd vanaf mijn Mi Note 2 met Tapatalk

Hi @hblek ,

I'm on a weekly, if i want to flash last chinese stable (the only Miui10 stable for Mi4) should i wipe system, cache and data first?
And if i want a clean installation can i do the same, all the wipes first? There are some people saying that we cannot wipe system partition... it will brick the phone...

Thks
 
Hi @hblek ,

I'm on a weekly, if i want to flash last chinese stable (the only Miui10 stable for Mi4) should i wipe system, cache and data first?
And if i want a clean installation can i do the same, all the wipes first? There are some people saying that we cannot wipe system partition... it will brick the phone...

Thks
Flashing mi stable chinese to your phone should be done with mi flash or fastboot. Your phone will be most likely have a. Locked bootloader after flashing and loss of data and forced encription. This method will prevent you for a bootloop.

Verstuurd vanaf mijn Mi Note 2 met Tapatalk
 
If it locks the bootloader, will i have to ask for a unlock to xiaomi or it's enough to run mi unlock again?
If i want to stay in last weekly without going to chinese one, doing a clean install, can i do all the wipes in TWRP (including system) and then install without problem?
 
If it locks the bootloader, will i have to ask for a unlock to xiaomi or it's enough to run mi unlock again?
If i want to stay in last weekly without going to chinese one, doing a clean install, can i do all the wipes in TWRP (including system) and then install without problem?
From Xiaomi.eu developer to Xiaomi.eu stable You must do wipe data, cache and dalvik on twrp... Do not wipe system.!

Verstuurd vanaf mijn Mi Note 2 met Tapatalk