How To Guide [ROM][MIUI][venus] Xiaomi.eu ROM for Xiaomi MI 11

Search This thread

Unknown.Guy

Member
Aug 25, 2016
24
6
Workaround:
I flashed the latest weekly build.

I downloaded an old weekly (22.6.15) and flashed the boot.img from that build which has the stock recovery image. Made a factory reset with the stock recovery and media issue is now solved.
This cannot be continued for long tho with the new builds every week. So it would be great if you guys started shipping the stock recovery or found a fix for the mediastorage.
 

Rigardi

Senior Member
Jan 11, 2009
94
26
Vienna
Workaround:
I flashed the latest weekly build.

I downloaded an old weekly (22.6.15) and flashed the boot.img from that build which has the stock recovery image. Made a factory reset with the stock recovery and media issue is now solved.
This cannot be continued for long tho with the new builds every week. So it would be great if you guys started shipping the stock recovery or found a fix for the mediastorage.
So THAT is why a number of things dont appear to work (Telegram uploads only on certain clients like BGram, Gmail attachements/embeds that cant be downloaded etc). I also suspect its part of why the Xiaomi.eu ROM is so incredibly unstable on my Mi 11 and loves to crash, especially in combination with GCam ports and any other apps that may sometimes access the media storage.
 

ingbrzy

Senior Member
Mar 25, 2011
881
879
Kosice
www.miuios.cz
So THAT is why a number of things dont appear to work (Telegram uploads only on certain clients like BGram, Gmail attachements/embeds that cant be downloaded etc). I also suspect its part of why the Xiaomi.eu ROM is so incredibly unstable on my Mi 11 and loves to crash, especially in combination with GCam ports and any other apps that may sometimes access the media storage.
in that case, we recommend to make a format data via fastboot

Code:
fastboot erase metadata
fastboot erase userdata
 

Rigardi

Senior Member
Jan 11, 2009
94
26
Vienna
in that case, we recommend to make a format data via fastboot

Code:
fastboot erase metadata
fastboot erase userdata
Yeah, I will at some point. but since setting up my phone takes quite an effort (moving 2FA auth back and forth, restoring/reconfiguring app settings, reauthenticating for eBanking etc) I haven't convinced myself to do that yet :D
 

Rigardi

Senior Member
Jan 11, 2009
94
26
Vienna
Yeah, I will at some point. but since setting up my phone takes quite an effort (moving 2FA auth back and forth, restoring/reconfiguring app settings, reauthenticating for eBanking etc) I haven't convinced myself to do that yet :D
Update: I completely reflashed my phone with an older stable via fastboot first install option. then updated via TWRP to the current stable and additionally erased metadata and userdata afterwards. stability issues remain. the phone first soft-rebooted when selecting a language in the MIUI 13 setup dialogue. -.-
 

stino.cele

Member
Dec 10, 2018
36
3
Sardinia

Update: I completely reflashed my phone with an older stable via fastboot first install option. then updated via TWRP to the current stable and additionally erased metadata and userdata afterwards. stability issues remain. the phone first soft-rebooted when selecting a language in the MIUI 13 setup dialogue. -.-
I don't have your problems and I have the same device with the weekly eu rom, do another factory reset
 

Rigardi

Senior Member
Jan 11, 2009
94
26
Vienna
I don't have your problems and I have the same device with the weekly eu rom, do another factory reset
Id a while later via fastboot -w and it seems to be more stable now. but still occassional crashes (last one ironically while beginning to type this reply) and apps suddenly refusing to work until a reboot. still its a step forward.

lets see how it goes from here but next time I need a phone ill go with the regular device with original international firmware rather than the CN version and a custom firmware.
 

stino.cele

Member
Dec 10, 2018
36
3
Sardinia
Id a while later via fastboot -w and it seems to be more stable now. but still occassional crashes (last one ironically while beginning to type this reply) and apps suddenly refusing to work until a reboot. still its a step forward.

lets see how it goes from here but next time I need a phone ill go with the regular device with original international firmware rather than the CN version and a custom firmware.
I have this device since its launch in China, as soon as the eu rom was available I have used it and in the meantime I have also used the Xiaomi international rom but it did not pass the Google certifications and I returned to the eu rom. The only time I had to delete the device and in the step from 12.5 to 13 because I had problems with the telegram and Gmail attachments but other malfunctions there were none
 

zgfg

Senior Member
Oct 10, 2016
7,800
5,206
I have this device since its launch in China, as soon as the eu rom was available I have used it and in the meantime I have also used the Xiaomi international rom but it did not pass the Google certifications and I returned to the eu rom. The only time I had to delete the device and in the step from 12.5 to 13 because I had problems with the telegram and Gmail attachments but other malfunctions there were none
Stock Global could not pass Device certified (without Magisk and USNF) if your Bootloader was unlocked (as you needed for cross-flashing the ROMs)

However. Xiaomi.eu ROM has that mechanism to hide the unlocked Bootloader already built-in, therefore you pass out-of-the-box
 

Rigardi

Senior Member
Jan 11, 2009
94
26
Vienna
Stock Global could not pass Device certified (without Magisk and USNF) if your Bootloader was unlocked (as you needed for cross-flashing the ROMs)

However. Xiaomi.eu ROM has that mechanism to hide the unlocked Bootloader already built-in, therefore you pass out-of-the-box
afaik the Xiaomi EU ROM cant hide the unlocked BL properly without Magisk treatment. Because an eGov app straight out refuses to work on my device due to the unlocked BL being detected.
 

zgfg

Senior Member
Oct 10, 2016
7,800
5,206
afaik the Xiaomi EU ROM cant hide the unlocked BL properly without Magisk treatment. Because an eGov app straight out refuses to work on my device due to the unlocked BL being detected.
To test SafetyNet you need to use eg: YASNAC (available from Google Play Store)

Banking apps, your app you mention usually apply much more than SN testing (now, Google is switching to Play Integrity API. Therefore, to pass those apps you need Magisk and additional modules and tricks.

But SafetyNet is pretty straightforward and should already pass out of the box. And SaferyNez is then enough for Device Certified

Again, apps like you cite are not a relevant tests about SafetyNet because they look for many other indications that device is (or might be) is not 'secure" (meaning: BL locked, stock ROM, etc). And they use those additional techniques because SN is well known to be easily tricked (USNF)

Moreover, there is an app Momo (available from GitHub) that you cannot trick. It will always find Bootloader unlocked, Magisk, Zygisk - no matter you do. Only if you return to stock and relock BL
 

Rigardi

Senior Member
Jan 11, 2009
94
26
Vienna
To test SafetyNet you need to use eg: YASNAC (available from Google Play Store)

Banking apps, your app you mention usually apply much more than SN testing (now, Google is switching to Play Integrity API. Therefore, to pass those apps you need Magisk and additional modules and tricks.

But SafetyNet is pretty straightforward and should already pass out of the box. And SaferyNez is then enough for Device Certified

Again, apps like you cite are not a relevant tests about SafetyNet because they look for many other indications that device is (or might be) is not 'secure" (meaning: BL locked, stock ROM, etc). And they use those additional techniques because SN is well known to be easily tricked (USNF)

Moreover, there is an app Momo (available from GitHub) that you cannot trick. It will always find Bootloader unlocked, Magisk, Zygisk - no matter you do. Only if you return to stock and relock BL
Yes, Safetynet does pass as advertized. My eGov app specificly complains about "root or unlocked bootloader" and since my device is not rooted it must be detecting the unlocked BL (my eBanking app on the other hand only cares about root and thus works without issues).

I wonder if the Xiaomi EU ROMs will at some point be able to work with a relocked Bootloader (like Graphene OS on Pixel devices, but I assume that there are major differences that make this possible).
 

ingbrzy

Senior Member
Mar 25, 2011
881
879
Kosice
www.miuios.cz
Yes, Safetynet does pass as advertized. My eGov app specificly complains about "root or unlocked bootloader" and since my device is not rooted it must be detecting the unlocked BL (my eBanking app on the other hand only cares about root and thus works without issues).

I wonder if the Xiaomi EU ROMs will at some point be able to work with a relocked Bootloader (like Graphene OS on Pixel devices, but I assume that there are major differences that make this possible).
try just rename TWRP folder on your storage..
 
  • Like
Reactions: delipey.e

delipey.e

Member
Jun 8, 2018
21
9
Hello everyone, flashed this ROM on my 11tpro. Everything is perfect, especially the Xiaomi caller and contacts + call recording (that was the main reason i flashed it).

I have one issue however. Gmail gives an error when trying to download attachments. Tried all the google search related troubleshooting but no help. Failed to download attachment remains.
Anyone has a solution?

Thanks 👍
Bro this is the thread for MI 11 venus, without T, Pro, Ultra, Lite
 

zgfg

Senior Member
Oct 10, 2016
7,800
5,206
will do.
would this affect TWRP from operating when trying to directly reboot into recovery? (so would I need to change the name again before that?)
Try simply renaming to TWRP.bak
For some TWRP versions everything works fine - (backup, restore - it needs the folder for them)
 

zgfg

Senior Member
Oct 10, 2016
7,800
5,206
new issue: there doesnt seem to be a folder named TWRP. Neither in my user data (/sdcard) nor on the system partition.
Omg - you should have checked that before posting two posts about TWRP

Anyway, various apps use various methods to detect unsecure environment (Bootloader unlocked, not-stock ROM, etc).
I don't use your eGov app and have no idea.
Ask if somebody else uses, and precisely which app

Btw, there are a lot of discussions about hiding from this and that app and how in General Magisk thread - but it requires Magisk/root and its modules. You could check also there
 

Top Liked Posts

  • There are no posts matching your filters.
  • 2
    What's wrong? Coming from latest miui dev ROM, cannot flash
    random TWRP issue..
    reboot to TWRP again until it installs correctly..
    1
    Hi, is it possible to install updates without the help of a PC? Without necessarily having to download the rom from a PC every time and without giving the command fastboot.exe boot twrp.img
    For venus
    You can flash twrp to be more permanent and then just boot to twrp and flash the update when you want without the need to flash it on the computer every time.
    For flashing twrp.
    1.Reboot to fastboot mode.
    2."fastboot boot twrp.img" on windows cmd
    3.go to Advanced ,then Flash Current TWRP.
    4.reboot.
    1
    Didn't know you could on A12, in which directory?
    I update to the last beta today with twrp without issues .I boot to twrp pressing the power and volume up buttons. You need to use this twrp
    https://androidfilehost.com/?w=files&flid=321497
    Download the skkk version.
    1
    Didn't know it can be done on A12, in which directory?
    The following guide explains EVERYTHING one needs to know to install custom recoveries to Xiaomi phones for MIUI 13/A12: where to download from, how to install temporary (for one time booting) and permanently:

    It's all about taking time and carefully reading (if necessary, several times). All those who did so, were able to do it without further questions

    Good luck
  • 23
    How to install Xiaomi.eu ROM for Xiaomi MI 11



    We will release fastboot ROM versions until TWRP for venus is released TWRP is RELEASED

    Steps to install xiaomi.eu ROM for first time from China ROM (All your data and files on internal storage will be deleted!)
    - Update your stock ROM to the latest via updater app first..
    - Unlock your bootloader by Mi Unlock tool https://en.miui.com/unlock/
    - Download our ROM zip file BETA or STABLE
    - If you are on Windows: Right click on downloaded zip - Settings - Unblock zip content
    D9NcJZp.png

    - Unpack downloaded zip file in the PC
    - Reboot your device to fastboot mode (press volume down + power)
    - Connect to PC via original USB cable
    - Run fastboot installation script as administrator from unpacked zip according your PC operating system

    For Windows OS ./windows_fastboot_first_install_with_data_format.bat
    For Linux ./linux_fastboot_first_install_with_data_format.sh
    For MacOS ./macos_fastboot_first_install_with_data_format.sh

    - After reboot its done (first boot may take up to 15min)


    Steps to install update of xiaomi.eu ROM (All your data and files on internal storage will NOT be deleted!)
    - Download our ROM zip file WEEKLY or STABLE
    - Unpack downloaded zip file in the PC
    - Reboot your device to fastboot mode (press volume down + power)
    - Connect to PC via USB cable
    - Run fastboot installation script from unpacked zip according your PC operating system

    For Windows OS ./windows_fastboot_update_rom.bat
    For Linux ./linux_fastboot_update_rom.sh
    For MacOS ./macos_fastboot_update_rom.sh

    Update guide on the video

    - After reboot its done (first boot may take up to 10min)

    Update via OTA:
    Installation via OTA is currently not possible due to missing TWRP
    Updater will notify you about new version and download it to your device for you
    You have to copy it to your PC, unpack it and run fastboot_update_rom sctipt



    Enjoy.. :)

    -----------EDIT 20.5.2021--------------

    Since weekly 21.5.20, we are releasing TWRP version of our ROMs for MI11...


    TWRP install via fastboot command
    Code:
    fastboot boot twrp.img

    To change TWRP language to English, press bottom right button and select English..

    TWRP for MI11 venus

    For install ROM, just select in TWRP - Install - ROM zip - reboot


    Enjoy.. :)
    5
    Stupid question but EU network band work as it should ? L1 certificate? What about Google pay?
    all OK..
    4

    [Update!] So after 6 days of testing I am satisfied with 12.5 rom and stayed on this rom. But I did had a little adventure which I want to share. After first installation I uninstalled bunch of apps (some to many) and I had some random freezes and few minor bugs. So I tried to download EU stable but all of the files were corrupted on the export (I downloaded around 5 times from 3 different devices and exported with 3 different software's like WinRAR, 7zip and windows) and the result was always the same ending in errors. But non the less I tried to install it and I bricked my device :) first time :) So I tried to install global 12.0.3.0 and bricked my device for the second time :) (follow @PandaKiller instruction how to solve rollback protection if you want to go back from 12.5 to global or some other rom) and so I tried my last option that is to just install the same rom 12.5 which I was already on and that end up successful. I uninstall bunch of apps again but much less this time and the rom is very stable since than (March 6.) and works good. Insignificant battery drain on airplane mode or while the phone is off, around 4 - 6 % which is acceptable. Global rom have google dialer which for me is hideous and I like miui dialer much much more. EU 12.5 is noticeable faster and more responsive.​


    Apps that I removed :

    pm uninstall -k --user 0 com.mi.globalbrowser (MIUI browser)
    pm uninstall -k --user 0 com.google.android.googlequicksearchbox (Google)
    pm uninstall -k --user 0 com.android.hotwordenrollment.xgoogle (Google Assistant)
    pm uninstall -k --user 0 com.android.hotwordenrollment.okgoogle (Google Assistant)
    pm uninstall -k --user 0 com.mi.health (MIUI Health)
    pm uninstall -k --user 0 com.google.ar.lens (Google Lens)
    pm uninstall -k --user 0 com.android.email (Mail)
    pm uninstall -k --user 0 com.android.mms (Messaging)
    pm uninstall -k --user 0 com.xiaomi.payment (Mi Coin)
    pm uninstall -k --user 0 com.miui.videoplayer (Mi Video)
    pm uninstall -k --user 0 com.miui.player (Music)
    pm uninstall -k --user 0 com.miui.notes (Notes)
    pm uninstall -k --user 0 com.miui.huanji (Mi Mover)
    pm uninstall -k --user 0 com.miui.weather2 (Weather)
    pm uninstall -k --user 0 com.miui.personalassistant (MIUI app vault)
    pm uninstall -k --user 0 com.xiaomi.migameservice (Mi Game Service)
    pm uninstall -k --user 0 com.android.protips (Home Screen Tips)

    I updated uninstalled apps on 2 places where I posted it so for other users don't have same problems I had.
    4
    Updated my Xiaomi Mi11 yesterday to EU-rom Stable.
    I've had many doubts about flashing, because so many people here bricked their Mi11's.

    Followed all the rules, and..... it worked :)

    Some remarks to people who have fear to update:

    -my phone is European version, with latest 12.0.9 version on it. Not chinese (as the instrucions tell you). That is no problem for flashing the EU Rom.

    -i unlocked bootloader through official Xiami unlock tool

    -after unlock, i rebooted phone and set it up again (just quick and dirty). Also check if "OEM Unlock" is still switched on.

    -after downloading ROM it was kind of hard to find the "Unblock zip content" in the properties of the zip-file. It's there right after you download the file, but disappears after some seconds, leaving you no option to select that in Windows. Kind of strange.
    I downloaded the file 3 times, third time i was quick enough to be able to tick the box.

    -i followed all the rules stated in the start of this topic

    -another part where it could have gone wrong: a couple of seconds after starting the update procedure in CMD, you see the screen stopping. Leaving you with the last message: "Successful". I almost wanted to plug out the usb-cable and restart, but then i realized: "this has taken only 20 seconds, it can't be that fast...". But: the screen on my pc didn't show any sign of further progress. So: my hands already became sweaty.... "oh no...another mi11 bricked". But: it worked. After some time the update process continued.
    So the advice here is: Stay Calm And Wait!! It will continue after a minute or so.

    -i also got an error message in the end about not being able to create some disk part. But: that was no problem. Mi11 booted, which took around 8 minutes and then it was done.

    Happy.