• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

How To Guide [ROM][MIUI][odin] Xiaomi.eu ROM for Xiaomi MIX 4

Search This thread

dastsong

Member
Mar 30, 2011
5
0
Help... just unlocked bootloader and flashed MIUI.eu , then I can't log in to google. It says "Checking info..." then "couldn't sign in. There was a problem communicating with Google servers. Try again later". I have network connection.
 

vamsi209

Senior Member
Nov 15, 2010
80
41
How to install Xiaomi.eu ROM for Xiaomi MIX 4



We will release fastboot ROM versions until TWRP for odin 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.. :)
Hi Dev, now that twrp is released can we flash the zips being released via twrp,?
 

EGGMEN

Member
Jan 9, 2019
18
4
I'm having problems installing the latest 12.5.9 xiaomi.eu rom to Mix 4 using TWRP. Have tried two versions of TWRP (mifirm.net and unofficial Twrp) and neither lets me install latest mix 4 stable ROM . I flashed TWRP, wiped the phone, format(yes), and adb push the zip file to the /data/ partition but when I run the rom zip in TWRP I always get an error. Not sure if this is relevant but even though I have done a format, when it fails and if I reboot to system, it re-installs the weekly version rom I had on it previously I've done this process dozens of times before but have I done something wrong this time? Any help would be great! Pictures of error attached.
 

Attachments

  • image2.jpeg
    image2.jpeg
    2.6 MB · Views: 53
  • Image1.jpeg
    Image1.jpeg
    2.7 MB · Views: 53
Last edited:
I'm having problems installing the latest 12.5.9 xiaomi.eu rom to Mix 4 using TWRP. Have tried two versions of TWRP (mifirm.net and unofficial Twrp) and neither lets me install latest mix 4 stable ROM . I flashed TWRP, wiped the phone, format(yes), and adb push the zip file to the /data/ partition but when I run the rom zip in TWRP I always get an error. Not sure if this is relevant but even though I have done a format, when it fails and if I reboot to system, it re-installs the weekly version rom I had on it previously I've done this process dozens of times before but have I done something wrong this time? Any help would be great! Pictures of error attached.
Somehow, that doesn't look right... care to explain, where you downloaded that one?

Edit: Never mind, i found it... will update my phone, see what went wrong.
 

jjjhitel

Senior Member
Feb 7, 2016
721
2,283
Incheon
I'm having problems installing the latest 12.5.9 xiaomi.eu rom to Mix 4 using TWRP. Have tried two versions of TWRP (mifirm.net and unofficial Twrp) and neither lets me install latest mix 4 stable ROM . I flashed TWRP, wiped the phone, format(yes), and adb push the zip file to the /data/ partition but when I run the rom zip in TWRP I always get an error. Not sure if this is relevant but even though I have done a format, when it fails and if I reboot to system, it re-installs the weekly version rom I had on it previously I've done this process dozens of times before but have I done something wrong this time? Any help would be great! Pictures of error attached.

Your problem was caused by an old update-binary that doesn't support the EROFS filesystem of MIX 4. The attached file has been extracted from one of the Project-ICE builds. Download and unzip it, replace xiaomi.eu_multi_MIX4_V12.5.9.0.RKMCNXM_v12-11.zip\META-INF\com\google\android\update-binary with the one. And then recompress, flash it.

Screenshot_2021-10-12-08-59-52.png
 

Attachments

  • update-binary.zip
    996.8 KB · Views: 36
Last edited:

EGGMEN

Member
Jan 9, 2019
18
4
Your problem was caused by an old update-binary that doesn't support the EROFS filesystem of MIX 4. The attached file has been extracted from one of the packages of Project-ICE. Download and unzip it, replace xiaomi.eu_multi_MIX4_V12.5.9.0.RKMCNXM_v12-11.zip\META-INF\com\google\android\update-binary with it. And then recompress, flash it.

View attachment 5431409
Thanks so much for this. I will do it this evening and report back.
 
  • Like
Reactions: SanHelios
Your problem was caused by an old update-binary that doesn't support the EROFS filesystem of MIX 4. The attached file has been extracted from one of the Project-ICE builds. Download and unzip it, replace xiaomi.eu_multi_MIX4_V12.5.9.0.RKMCNXM_v12-11.zip\META-INF\com\google\android\update-binary with the one. And then recompress, flash it.

View attachment 5431409
About that EROFS-Filesystem. How will it work with other roms i.e. LineageOS?
 

EGGMEN

Member
Jan 9, 2019
18
4
**UPDATE: I see the good folks on xiaomi.eu have released a fastboot version and am up and running now. Thanks for the help with this nevertheless, much appreciated.
 
Last edited:

JayBro725

Member
Oct 17, 2021
10
0
downloaded the latest update for EU rom can't update it, tried TWRP method but face with ERROR 1 as above.

(this is updating from EU rom to latest EU rom)

says to unpack and use the fastboot update option but there is no option within the ZIP for this.

im stuck how do i meant to update to the latest EU rom from EU rom?!

errors on TWRP & no fastboot update?
 
downloaded the latest update for EU rom can't update it, tried TWRP method but face with ERROR 1 as above.

(this is updating from EU rom to latest EU rom)

says to unpack and use the fastboot update option but there is no option within the ZIP for this.

im stuck how do i meant to update to the latest EU rom from EU rom?!

errors on TWRP & no fastboot update?
stable release of the Eu is available... go for the fastboot. There are still some issues with twrp.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 3
    I'm having problems installing the latest 12.5.9 xiaomi.eu rom to Mix 4 using TWRP. Have tried two versions of TWRP (mifirm.net and unofficial Twrp) and neither lets me install latest mix 4 stable ROM . I flashed TWRP, wiped the phone, format(yes), and adb push the zip file to the /data/ partition but when I run the rom zip in TWRP I always get an error. Not sure if this is relevant but even though I have done a format, when it fails and if I reboot to system, it re-installs the weekly version rom I had on it previously I've done this process dozens of times before but have I done something wrong this time? Any help would be great! Pictures of error attached.

    Your problem was caused by an old update-binary that doesn't support the EROFS filesystem of MIX 4. The attached file has been extracted from one of the Project-ICE builds. Download and unzip it, replace xiaomi.eu_multi_MIX4_V12.5.9.0.RKMCNXM_v12-11.zip\META-INF\com\google\android\update-binary with the one. And then recompress, flash it.

    Screenshot_2021-10-12-08-59-52.png
    1
    How to install Xiaomi.eu ROM for Xiaomi MIX 4



    We will release fastboot ROM versions until TWRP for odin 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.. :)
    1
    Your problem was caused by an old update-binary that doesn't support the EROFS filesystem of MIX 4. The attached file has been extracted from one of the packages of Project-ICE. Download and unzip it, replace xiaomi.eu_multi_MIX4_V12.5.9.0.RKMCNXM_v12-11.zip\META-INF\com\google\android\update-binary with it. And then recompress, flash it.

    View attachment 5431409
    Thanks so much for this. I will do it this evening and report back.
    1
    So literally just unzip it and rezip it nothing else?
    Aye. Just uncheck ZIP signature verification (if checked), since the ZIP will be unsigned (if you don't sign it yourself after recompression).