Themes / Apps / Mods [MIX Fold 2][MAGISK] Global ROM-ify module collection [Add translations, Google Assistant, Android Auto]

Search This thread

knives of ice

Senior Member
Jul 12, 2007
1,617
263
Xiaomi Mix Fold 2
@AndroPlus is there any chance the lite module that changes the HD symbol to show VOLTE also mess with the reception signal and it might not display accurately? I have basically zero reception showing in my house now most o the time and I'm puzzled why and reception has never been an issue with any phone. If I reboot it I have reception and Volte for awhile but then it goes away and I have 1 bar. it could just be a weird day here as well.

EDIT - must just be a weird day as it's fine outside my house
 
Last edited:

frcraig

Senior Member
Jan 3, 2017
428
177
Halifax
I've noticed another oddity between folded and unfolded functionality. Although OK Google voice commands (by tapping the Google Assistant icon) work for most commands such as "what is tomorrow's weather" whether your phone is folded or unfolded, when you try to use the OK Google voice command to make a call or send a text message it can only do so when the phone is folded. When the phone is unfolded Google Assistant says "sorry I can't make calls or send messages yet".
 

frcraig

Senior Member
Jan 3, 2017
428
177
Halifax
Since the xda moderators don't want to create a forum for Xiaomi MIX Fold 2, I decided to create a module sharing thread here.

If Magisk is enabled, all modules will continue to work after the OTA update. (use "Install to Inactive Slot" method)
If Magisk is disabled, the module also loses its effectiveness.

Add official translations from Global ROM​

Since MIUI China ROM doesn't have translations other than English or China-related languages, I created Magisk module to add more languages.
I extracted official translations from MIUI Global ROM.

If there's no official translations, it will be showed in English (like search bar and some options only for China ROM).

This module also enables Google Location History & Nearby Share.

Global ROM-ify​


This Magisk module changes ROM flag to Global.
You can't change region, but some settings and VoLTE icons will become Global version.

Please note if you disabled MIUI optimization, you'll get duplicate Package Installer (MIUI and AOSP) and it will cause bootloop.
Please don't disable MIUI optimization before installing this module, and disable one of the Package Installer to prevent bootloop.

So for installing lite module, you need to do:
1. Enable MIUI optimization and reboot
2. Install lite module and reboot
3. Disable MIUI optimization
4. Two "Package Manager" app will be available so disable one of them (I recommend non-Xiaomi logo one)
5. Reboot
(MIUI optimization is optional so if you don't need, you don't need to disable it)


Enable Android Auto​


Here's the guide for enabling Android Auto.
You have to uninstall Android Auto first, then install Magisk module, and set permissions in AOSP settings (use "MIUI Hidden Settings" or something)

Enable Google Assistant and hide dialog of Google Photo​


You can activate Google Assistant with this Magisk module.
It also systemize Google Photo app so that you don't need to press Allow when you edit photos/videos.

If my modules are helpful, I appreciate your donation.
Donate via PayPal
Donate via GitHub Sponsors
Does your Google Assistant module require either of the CN-Global (full or lite version) modules to work?
 

knives of ice

Senior Member
Jul 12, 2007
1,617
263
Xiaomi Mix Fold 2
I've noticed another oddity between folded and unfolded functionality. Although OK Google voice commands (by tapping the Google Assistant icon) work for most commands such as "what is tomorrow's weather" whether your phone is folded or unfolded, when you try to use the OK Google voice command to make a call or send a text message it can only do so when the phone is folded. When the phone is unfolded Google Assistant says "sorry I can't make calls or send messages yet".

you must not have the correct modules installed because it works for me folded or unfolded. if my phone is turned on I don't need to hit a button, it responds to hey google and will send texts, calls, etc.

the only limitation right now seems to be it won't work with the phone screen off.
 

frcraig

Senior Member
Jan 3, 2017
428
177
Halifax
Did you have the Google App and Google Assistant App already installed before you installed the CN-Global Lite and Google Assistant modules in Magisk? I had to wipe my device last night to recover from a boot loop caused by both the CN-Global Lite and Full versions having the same file name. I'm reinstalling everything today, but haven't added the Google App or Google Assistant App yet, and I'm wondering if I should install them from the PlayStore before installing those two modules in Magisk.
 

knives of ice

Senior Member
Jul 12, 2007
1,617
263
Xiaomi Mix Fold 2
Did you have the Google App and Google Assistant App already installed before you installed the CN-Global Lite and Google Assistant modules in Magisk? I had to wipe my device last night to recover from a boot loop caused by both the CN-Global Lite and Full versions having the same file name. I'm reinstalling everything today, but haven't added the Google App or Google Assistant App yet, and I'm wondering if I should install them from the PlayStore before installing those two modules in Magisk.

i did have them installed prior to the magisk modules, yes. not sure if it matters or not. you definitely need the lite magisk module for assistant to work as mine wouldn't work before I installed this.
 

dee163

Senior Member
Nov 5, 2010
234
30
MIUI optimization is optional so if you don't need, you don't need to disable it)
@AndroPlus
I don't understand this statement 😂

Do you mean , if you want MIUI optimizations , you dont have to disable it when using your Global Romify module?
 

knives of ice

Senior Member
Jul 12, 2007
1,617
263
Xiaomi Mix Fold 2
@knives of ice
hmm, something went wrong since I set different ID for the modules...
I reuploaded lite module with different file name:

For the smart lock, you can enable it in "Trust agents" option and use "Activity Launcher" app to find and open smart lock options.


has anyone else tried this smart lock trick to get it working? I can get everything setup, but it doesn't seem to actually work. my devices still lock in my house and when connected to trusted bluetooth devices. is there any trick to get it to work? I think something isn't working right for sure.
 

carrieta17

Senior Member
Jan 1, 2008
100
5
Any suggestions on DPI setting Shen the phone is unfolded ? its seems that it zooms in to much, the z fold has that double column look, not sure if this is something that can be changed
 

mariocaz

Member
Nov 9, 2007
15
4
Hi bro @AndroPlus do you know if I can install your Android Auto module in a Vivo X Fold ? I tried but no success.

If you can help me will be awesome bro!!!
 

dee163

Senior Member
Nov 5, 2010
234
30
I am bit confused
Is it necessary to install the Global ROM patch to use Android Wear (gsm) version?

At the moment I have to install both gsm and le but I my Android Wear watch does can update weather due to missing location data
 

frcraig

Senior Member
Jan 3, 2017
428
177
Halifax
I decided to create a module sharing thread here.

If Magisk is enabled, all modules will continue to work after the OTA update. (use "Install to Inactive Slot" method)
If Magisk is disabled, the module also loses its effectiveness.

Add official translations from Global ROM​

Since MIUI China ROM doesn't have translations other than English or China-related languages, I created Magisk module to add more languages.
I extracted official translations from MIUI Global ROM.

If there's no official translations, it will be showed in English (like search bar and some options only for China ROM).

This module also enables Google Location History & Nearby Share.

Global ROM Flag Patch​


This Magisk module changes ROM flag to Global.
You can't change region, but some settings and VoLTE icons will become Global version.
This module doesn't contain translations.

You can install both translation patch and flag patch.


--- If you want to use flag patch with MIUI optimization turned off (optional) ---
Please note if you disabled MIUI optimization, you'll get duplicate Package Installer (MIUI and AOSP) and it will cause bootloop.
Please don't disable MIUI optimization before installing this module, and disable one of the Package Installer to prevent bootloop.

So for installing flag patch module, you need to do:
1. Enable MIUI optimization and reboot
2. Install lite module and reboot
3. Disable MIUI optimization
4. Two "Package Manager" app will be available so disable one of them (I recommend non-Xiaomi logo one)
5. Reboot
-------------


Enable Android Auto​


Here's the guide for enabling Android Auto.
You have to uninstall Android Auto first, then install Magisk module, and set permissions in AOSP settings (use "MIUI Hidden Settings" or something)

Enable Google Assistant and hide dialog of Google Photo​


You can activate Google Assistant with this Magisk module.
It also systemize Google Photo app so that you don't need to press Allow when you edit photos/videos.

If my modules are helpful, I appreciate your donation.
Donate via PayPal
Donate via GitHub Sponsors
I don't see "Package Manager" in apps. Do you mean "Package Installer"?
 

frcraig

Senior Member
Jan 3, 2017
428
177
Halifax
Thank you. I'm going to try to get Google Assistant working with OK Google by installing your global flag module and Google Assistant module. The Global flag (lite) module doesn't provide several of the settings for MIUI 13.1 that your full version CN-GLOBAL does, so I will use both of them. I will carefully follow the instructions about the MIUI Optimizations setting this time so that I don't get into another boot loop!
 

kartast

New member
Sep 9, 2014
1
0
I decided to create a module sharing thread here.

If Magisk is enabled, all modules will continue to work after the OTA update. (use "Install to Inactive Slot" method)
If Magisk is disabled, the module also loses its effectiveness.

Add official translations from Global ROM​

Since MIUI China ROM doesn't have translations other than English or China-related languages, I created Magisk module to add more languages.
I extracted official translations from MIUI Global ROM.

If there's no official translations, it will be showed in English (like search bar and some options only for China ROM).

This module also enables Google Location History & Nearby Share.

Global ROM Flag Patch​


This Magisk module changes ROM flag to Global.
You can't change region, but some settings and VoLTE icons will become Global version.
Please note Global version has less features than China version, so you can't see some settings like enhanced keyboard.

This module doesn't contain translations.

You can install both translation patch and flag patch.


--- If you want to use flag patch with MIUI optimization turned off (optional) ---
Please note if you disabled MIUI optimization, you'll get duplicate Package Installer (MIUI and AOSP) and it will cause bootloop.
Please don't disable MIUI optimization before installing this module, and disable one of the Package Installer to prevent bootloop.

So for installing flag patch module, you need to do:
1. Enable MIUI optimization and reboot
2. Install lite module and reboot
3. Disable MIUI optimization
4. Two "Package Installer" app will be available so disable one of them (I recommend non-Xiaomi logo one)
5. Reboot
-------------


Enable Android Auto​


Here's the guide for enabling Android Auto.
You have to uninstall Android Auto first, then install Magisk module, and set permissions in AOSP settings (use "MIUI Hidden Settings" or something)

Enable Google Assistant and hide dialog of Google Photo​


You can activate Google Assistant with this Magisk module.
It also systemize Google Photo app so that you don't need to press Allow when you edit photos/videos.

If my modules are helpful, I appreciate your donation.
Donate via PayPal
Donate via GitHub Sponsors
thank you for creating this. i am trying to get google login at fresh startup so i can enroll my device to android enterprise.

can i ask noob questions:
1. will global rom flag persist after factory data reset?
2. any way i can trigger google login during fresh factory reset since global rom is not available?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 10
    I decided to create a module sharing thread here.

    If Magisk is enabled, all modules will continue to work after the OTA update. (use "Install to Inactive Slot" method)
    If Magisk is disabled, the module also loses its effectiveness.

    Add official translations from Global ROM​

    Since MIUI China ROM doesn't have translations other than English or China-related languages, I created Magisk module to add more languages.
    I extracted official translations from MIUI Global ROM.

    If there's no official translations, it will be showed in English (like search bar and some options only for China ROM).

    This module also enables Google Location History & Nearby Share.

    Global ROM Flag Patch​


    This Magisk module changes ROM flag to Global.
    You can't change region, but some settings and VoLTE icons will become Global version.
    Please note Global version has less features than China version, so you can't see some settings like enhanced keyboard.

    This module doesn't contain translations and patch for Android Auto or location history.

    You can install both translation patch and flag patch.

    Please note this module can cause bootloops!

    --- If you want to use flag patch with MIUI optimization turned off (optional) ---
    Please note if you disabled MIUI optimization, you'll get duplicate Package Installer (MIUI and AOSP) and it will cause bootloop.
    Please don't disable MIUI optimization before installing this module, and disable one of the Package Installer to prevent bootloop.

    So for installing flag patch module, you need to do:
    1. Install above translation patch and reboot
    2. Enable MIUI optimization and reboot
    3. Install lite module and reboot
    4. Disable MIUI optimization
    5. Two "Package Installer" app will be available so disable one of them (I recommend non-Xiaomi logo one)
    6. Reboot
    -------------

    If bootloop happens, run this:
    adb wait-for-device shell su -c "touch /data/adb/modules/xiaomi-miui-conv-lite/disable;reboot"

    Enable Android Auto​


    Here's the guide for enabling Android Auto.
    You have to uninstall Android Auto first, then install Magisk module, and set permissions in AOSP settings (use "MIUI Hidden Settings" or something)

    Enable Google Assistant and hide dialog of Google Photo​


    You can activate Google Assistant with this Magisk module.
    It also systemize Google Photo app so that you don't need to press Allow when you edit photos/videos.

    If my modules are helpful, I appreciate your donation.
    Donate via PayPal
    Donate via GitHub Sponsors
    3
    so with the OTA what steps did you do to install it since you are rooted with Magisk? it sounds like you can just install it normally, even if you are rooted. what did you end up doing, did you turn off magisk at all or anything?
    I first turned off "automatically install updates" in Developer Settings. Then I went into Settings and clicked on my MIUI 13.1.16 version and it prompted me to check for updates. When it found an update it asked if I wanted to download it and I clicked yes. When it finished downloading it asked me if I wanted to install and I clicked yes. It quickly downloaded a relatively small 1.8 GB incremental update and began to install it and part way through it stopped and said "error installing MIUI ROM update". I went back and checked for update again and again was prompted to download the update. This time it downloaded a much larger 5.4 GB update and when I chose to install it took about twenty minutes to install but finished and then prompted me to reboot. I DID NOT reboot. Instead I opened the Magisk Manager app (I hadn't turned off Magisk or any of its modules) and within the Magisk Manager I chose to "install" Magisk (not 'install Magisk app) and I was then given three choices as to how to install Magisk. I chose "install to inactive slot after OTA"). When this completed within Magisk I was prompted to reboot my phone and it took about five minutes to boot back up (just like it did when I first flashed Magisk) and the phone was then up and running with the update installed and with Magisk still installed and all its modules still installed and active.

    Xiaomi will allow OTA updates with root, but apparently only full, not incremental updates. When it first tries to install an incremental update it will fail, but just do it again and this time it downloads the full update and you are good to go.
    2
    The native app does not work and i had many issues with it especially with group mms. So i switched to google messages and it works perfect
    I was having issues with both apps. I changed the APN settings around according to a forum post I found on Xiaomi.eu about my specific carrier. Now MMS, group MMS, and RCS are all working flawlessly.
    2
    There's an updated version of Google Assistant supporting MIUI 14 / Android 13 as well?
    Added.
    2
    Hi you have to unlockbthe bootloader and download the github linkbto magisk in your Phone. For instance i have do'ne yet and patched the boot image of the last rom but i am not sûre how to fastboot thé boot. Img someone should help please ? M'ybadb is only adb seconds ans i cant install platformbtools to put thé boot img the folder..
    After the Bootloader has been unlocked and you have patched the boot image, you shutdown the phone, then press and hold Power and volume down buttons until you see FASTBOOT written on the screen.
    Then you connect it to the PC and you use Fastboot command to flash the image.
    The command is: fastboot flash boot boot.img (or whatever the filename is)
    That flashes the patched Boot image and after that, you just install magisk on the phone (if not already done so.
    that's it