[Tuto] [Mi 9] Install xiaomi.eu + Magisk


Gboz_ak

Members
Mar 23, 2019
3
5
Hello Everyone,

This short tutorial to summurize today's working method/files to install xiaomi.eu rom + Magisk. (on Mi 9)

Files :
- Mi Unlock (
and the USB driver included)
- xiaomi.eu rom (v.9.3.21 for mi 9)
- TWRP 3.2.3 for mi 9 (UPDATE @raskolnikov link, this version seems to be better)
- ADB flash tool
- Magisk 18.2 + Manager
(@Laserek_Poland link, this version works fine for me)

Pre-requiered :
- Unlocked Bootloader
- Enable USB debugging (developper mode)

Process rom :
- Boot on fastboot
- Flash twrp (fastboot flash recovery twrp_cepheus.img)
- Boot on twrp
- FORMAT DATA (your mi 9 should disconnect from USB et auto-connect again. All files should be unencrypted)
- Now you can copy xiaomi.eu rom to internal storage.
- Install it
If you get a red ERROR 7 follow this :
In the ROM ZIP Edit update-script file located in META-INF/com/google/android and delete the whole first line
Inject the edited file to the ROM ZIP and copy on the phone

A huge thanks to @Laserek_Poland to find that
- Reboot and activate your phone.

Process magisk (no problem here) :
- Enable USB debugging
- Flash recovery
- Install magisk 18.2
- Reboot
- Check if ctsProfile and basicintegrity are true. (mine are ok)

I hope it can help :)
 
Last edited:
What is the 9.3.21 ROM based on for Mi9, as I'm not able to find a developer ROM released for it at all? (It's delayed?)

Thanks
 
Thanks a lot for this topic.

I tried everything, TWRP is well instaled, but I can't install the xiaomi.eu ROM, say ERROR 7. After updated the script and put it back in the folder, then ZIP again the whole ROM, TWRP says the ZIP is not good, and stop immediatly...
I will wait few days :)
 
how to check what the device ID is on genuine software?


On DRM info the fingerprint is: xiaomi/cepheus so i dont have to edit update script etc.
I can just flash the maronofio img?
 
Last edited:
I unlocked my device.

So fastboot is working
When i flashed twrp it seems to work, i flashes...
But when i reboot to recovery its still stock.

I tried several times, after i tried fastboot boot recovery , i tried volume up and power

when typing fastboot devices its connected

Anybody got an idea how to let TWRP stick instead off stock?
 
Last edited:
I unlocked my device.

So fastboot is working
When i flashed twrp it seems to work, i flashes...
But when i reboot to recovery its still stock.

I tried several times, after i tried fastboot boot recovery , i tried volume up and power

when typing fastboot devices its connected

Anybody got an idea how to let TWRP stick instead off stock?
fastboot flash recovery xxxx.img
> reboot directly to twrp
or

fastboot flash recovery xxxx.img
fastboot boot xxxxxx.img
in twrp flash recocery to recovery partition
 
fastboot flash recovery xxxx.img
> reboot directly to twrp
or

fastboot flash recovery xxxx.img
fastboot boot xxxxxx.img
in twrp flash recocery to recovery partition
Tried Both yesterday.

Both boot to system.

When i power down and use power and vol up, i get stock recovery


Verstuurd vanaf mijn MI 9 met Tapatalk
 
Do you booting after recovery flash to recovery with buttons combo? flash rec > unplug phone > hold on/off + vol up
Flash recovery, hold power and vol up till mi logo unlocked in screen, then i released power button and hold vol up
 
I am on the below DRM.
The ROM is globale from the shop but missing alot.of tools like email app or agenda . There just build in apps of MUI.
My phone is not unlocked yet . I have to wait 360 hours.
 

Attachments

  • Screenshot_2019-03-28-00-59-20-486_com.androidfung.drminfo.jpg
    Screenshot_2019-03-28-00-59-20-486_com.androidfung.drminfo.jpg
    178.1 KB · Views: 811
Hello Everyone,

This short tutorial to summurize today's working method/files to install xiaomi.eu rom + Magisk. (on Mi 9)

Files :
- Mi Unlock (
and the USB driver included)
- xiaomi.eu rom (v.9.3.21 for mi 9)
- TWRP 3.2.3 for mi 9 (UPDATE @raskolnikov link, this version seems to be better)
- ADB flash tool
- Magisk 18.2 + Manager
(@Laserek_Poland link, this version works fine for me)

Pre-requiered :
- Unlocked Bootloader
- Enable USB debugging (developper mode)

Process rom :
- Boot on fastboot
- Flash twrp (fastboot flash recovery twrp_cepheus.img)
- Boot on twrp
- FORMAT DATA (your mi 9 should disconnect from USB et auto-connect again. All files should be unencrypted)
- Now you can copy xiaomi.eu rom to internal storage.
- Install it

- Reboot and activate your phone.

Process magisk (no problem here) :
- Enable USB debugging
- Flash recovery
- Install magisk 18.2
- Reboot
- Check if ctsProfile and basicintegrity are true. (mine are ok)

I hope it can help :)





It works with mi 9 se to?
 
Last edited:
The step after format data is unclear to me.
How can i copy data when i need to restart my phone. I cannot find it via OTG or something.
Can you tell me how to install.
 
Using the TWRP provided in this thread I was able to successfully switch from Global ROM to Xiaomi EU on a Global device.

However, I'm unable to install updates due to an "encrypted device" warning, even though I did not activate any encryption and I also formatted data prior to installing the new ROM.

I tried the old DMVerity and Encryption remover package but it seems is not working on this device.

Has anyone experienced this issue?

Update:

It appears the problem is only ostensible: all installed apps along with TWRP have access to internal storage, without problems. Once downloaded the update, even with the updater app, the usual reboot in TWRP is enough to apply it.
 
Last edited: