Can I unroot my MI 11 Ultra using images from MIUI 13 EU?


momenezes

Members
Dec 27, 2022
16
15
Hi,
I bought my MI 11 Ultra with Global ROM; last week I've installed MIUI 13.0.12 with fastboot.
My wish was to have certain internet banking operations working again, but it failed. Bank support said such operations would not work on rooted phones.
One such operations is validating credit card added to Google Wallet; this can only be done through bank app and it simply does not work.
Previously to installing EU ROM, Google Wallet would not even allow to add the credit cart, so I was very happy when it passed this first step.
So my question is: can I unroot my phone using images from MIUI 13 EU? I have these files:

1672320584027.png


Android version: 12 SKQ1.211006.001
Phone Model: M2102K1G

Thanks.
 
So you have installed Xiaomi.eu ROM? It's not rooted if you didn't explicitly root it by yourself. All banking apps work fine for me out of the box.
 
So you have installed Xiaomi.eu ROM? It's not rooted if you didn't explicitly root it by yourself. All banking apps work fine for me out of the box.
Tks for your reply.
I thought it was rooted because vendor said so; they installed Global ROM.
1672324432344.png

But I ran some apps (e.g., "Root Checker" and "DevCheck") now and both say my phone is not rooted. Confused now ....
Does "unlocked bootloader" means another thing? Or does installing Xiaomi.eu ROM through fastboot locked things again?
Any other hint on how to have those banking apps working on my device? Additional checks, config options, permissions, etc .. anything to help?
Thanks again,
Regards
 
An update: one of my banking app (third one) finally worked; I've succeed adding a card to Google Wallet; payment worked fine!
I'm starting to think that my other two apps might be too crazy about device checks; but have no idea what else could be the problem.
 
Tks for your reply.
I thought it was rooted because vendor said so; they installed Global ROM.
View attachment 45383
But I ran some apps (e.g., "Root Checker" and "DevCheck") now and both say my phone is not rooted. Confused now ....
Does "unlocked bootloader" means another thing? Or does installing Xiaomi.eu ROM through fastboot locked things again?
Any other hint on how to have those banking apps working on my device? Additional checks, config options, permissions, etc .. anything to help?
Thanks again,
Regards
Unlocked bootloader means you can use non native ROMs, custom ROMs like Xiaomi.eu or Global ROM on a China device.

I don't get what you are trying to do, you want to randomly mix and match parts of the ROMs instead of just installing Xiaomi.eu ?
 
Look out for a folder called twrp. If you have it, delete it. Some banking apps see it as a security risk and won't work.
The EU ROM shows the bootloader open but all apps see it as locked.
Test your phone with the safety net app (screenshot attached). It will tell you if you are secure. You may have magisk app still installed.
If you want to be rooted and want bank apps to work, there are magisk modules that can hide root from apps too, just do a search but if you just want a normal rootless phone, flash an EU ROM, check for the twrp folder and then check that safety net passes.
The ultimate way is to download latest EU ROM and use the first install option and reset your phone.
 

Attachments

  • Screenshot_2023-01-01-10-16-31-450_org.freeandroidtools.safetynettest.jpg
    Screenshot_2023-01-01-10-16-31-450_org.freeandroidtools.safetynettest.jpg
    273.2 KB · Views: 243
Unlocked bootloader means you can use non native ROMs, custom ROMs like Xiaomi.eu or Global ROM on a China device.

I don't get what you are trying to do, you want to randomly mix and match parts of the ROMs instead of just installing Xiaomi.eu ?
Hi. Tks for your answer.
I really want to have two of my banking apps work with Google Pay in my phone; and for this I must be sure that phone meets some security checks that they demand because I'm beating hard on their support channel because of these failures.
As I said, one of my banking app is now working, so I think the problem is not with my device but with the other two banking apps.
 
Look out for a folder called twrp. If you have it, delete it. Some banking apps see it as a security risk and won't work.
The EU ROM shows the bootloader open but all apps see it as locked.
Test your phone with the safety net app (screenshot attached). It will tell you if you are secure. You may have magisk app still installed.
If you want to be rooted and want bank apps to work, there are magisk modules that can hide root from apps too, just do a search but if you just want a normal rootless phone, flash an EU ROM, check for the twrp folder and then check that safety net passes.
The ultimate way is to download latest EU ROM and use the first install option and reset your phone.
Hi, tks for your answer.
I don't have twrp folder and don't have magisk app installed; never installed any of these.
I've done SafetyNet app test (screenshot attached) and it passes on all test; did the same with other tool (DevCheck) and both seems to show that my phone should be ok with these banking app + Google Pay.
I'll have to wait for some update on their apps and also continue to ask their support channel for a solution.
 

Attachments

  • 1672661554402.jpg
    1672661554402.jpg
    354.5 KB · Views: 187
  • 1672661554394.jpg
    1672661554394.jpg
    777.4 KB · Views: 192
Which apps don't work? Maybe if we know,we can ask others if theirs work or not or if anyone has other get around. Google pay should work out of the box with EU ROM. Is it the NFC payment not working or the app? You may need to change wallet type to pay. See screenshot but it is from my 12s ultra but you should have it set to gpay.
 

Attachments

  • Screenshot_2023-01-02-17-04-49-870_com.android.settings.jpg
    Screenshot_2023-01-02-17-04-49-870_com.android.settings.jpg
    206.9 KB · Views: 183
Last edited:
Hi Mark. Tks for your answer.

I'm having problems with Itaú Internet banking app and also with XP banking app (Brazilian banks). The one that is working is BB (Banco do Brasil) bank app.
The problem occurs when, after adding the card to Google Pay, I've to validate it in the bank app. Error messages are useless; nothing can be used to learn about the problem source.
In the Itaú app, I'm also facing another problem with virtual card generation (to use on Internet payments); it seems to me that both problems are related. In this case (virtual card), the message says something about a suspicious activity on my device and because of this the transaction would not be allowed. Support channel are also dumbs; anything that goes beyond their script, they can not answer or help.
BTW, is it OK to use fastboot to lock the boot loader with EU ROM installed? I mean, can I just do:
# fastboot oem lock
Or will this revert my ROM to the original one and lock the boot loader?
 
Last edited:
Again, you can't lock the bootloader with a custom ROM like Xiaomi.eu or a ROM not matching it's region, It will brick your phone.
 
Let's hope someone can help you with the bank apps. It does sound like the apps or the banks rather than the phone at fault as one works fine. The EU ROM should for all apps to be a normal allowed proper ROM. The only thing I found was the rear screen was seen by some apps as a shared or cast to screen. I never found a way around this for the UK Sky plus app.
And as someone has said, never lock the bootloader on anything other than your original stock ROM or its updates. It always shows as unlocked in dev settings and you cannot lock it from their.
Once last thought for you while talking about Dev settings, turn off debugging and see if it helps with your apps? I'm not sure and I doubt it that just turning on Dev settings will have any affect on apps but debugging will do.
 
Tks Mark.
I've already followed the steps you pointed out (turn off debugging/dev settings) but nothing works.
I'm quiet confident that the problem is with those banking apps; have to wait for them to update/fix this behavior.
Thanks again.
 
  • Like
Reactions: Mark F
I had with xiaomi.eu ROM all my banking works fine in the past. But sometimes it happened, the Google wallet quit his work because of rooted device message. A reboot solved this problem every time. But I solved the problem itself only by a reinstall
 
I to have problems with two banking apps. I prefer not to say which but they are main banks in the EU.
The phone is a MIX4 with a global rom (I think)
Qualcomm 888+
Android patch 2021-11-30, Android version 12.0
Kernal 3.18.79.......
custom build version alps.mp-01.mp2.V1.164_k80hd.bsp.fwv.512-_P15
It has Google Play and the app's will download but both complain that the Phone is rooted.

How do I solve this?.

I do not understand which of the install versions I am supposed to use and then how to install it.

Is this the correct procedure? At least it mentions Qualcomm 888+ and MIX4 but what is "boot a" and "boot b"?
Devices with Boot as Recovery (A/B):
These devices don't have a dedicated partition for recovery.
The recovery ramdisk resides in the "boot_a" and "boot_b" partitions.
A shared kernel is used for both the system and the recovery.
Due to that, you should never flash a custom recovery image directly to the "boot_a" and/or "boot_b" partitions. If you do that, the system will fail to boot.

Platforms: Snapdragon 678/680/695/778G/778G+/780G/870/888/888+
Devices: alioth, haydn, lisa, mona, munch, odin, psyche, redwood(in), renoir, spes(n), star/mars, sunny, sunstone, taoyao, thyme, venus, veux/peux, vili
Image size: 192 MiB (201,326,592 bytes), or 96/128 MiB (100,663,296/134,217,728 bytes) for low-mid devices
Installation:
Code:
fastboot boot recovery.img
In the recovery interface: Advanced -> Install Recovery Ramdisk

Do I need "Fastboot"
Do I need "Twrp"
and do they go on the PC or in the phone?

Further the "https://xiaomi.eu/community/threads/23-3-27-28.68739/" say's
Requirements:
  • Your device's bootloader must be unlocked.
Is an unlocked phone the issue with the bank?

How do I tell if my phone is unlocked?
[It may be that I unlocked the phone in the past and have forgotten. Certainly the procedure seems familiar]
Can I relock it?

Thank you in anticipation and the hope that you think there is no such thing as an silly question or to many.

I would like pointing to a step by step method of proceeding.
Peter

I have just found this:
is this a place to start?
 
Last edited:
I to have problems with two banking apps. I prefer not to say which but they are main banks in the EU.
The phone is a MIX4 with a global rom (I think)
Qualcomm 888+
Android patch 2021-11-30, Android version 12.0
Kernal 3.18.79.......
custom build version alps.mp-01.mp2.V1.164_k80hd.bsp.fwv.512-_P15
It has Google Play and the app's will download but both complain that the Phone is rooted.

How do I solve this?.

I do not understand which of the install versions I am supposed to use and then how to install it.

Is this the correct procedure? At least it mentions Qualcomm 888+ and MIX4 but what is "boot a" and "boot b"?


Do I need "Fastboot"
Do I need "Twrp"
and do they go on the PC or in the phone?

Further the "https://xiaomi.eu/community/threads/23-3-27-28.68739/" say's

Is an unlocked phone the issue with the bank?

How do I tell if my phone is unlocked?
[It may be that I unlocked the phone in the past and have forgotten. Certainly the procedure seems familiar]
Can I relock it?

Thank you in anticipation and the hope that you think there is no such thing as an silly question or to many.

I would like pointing to a step by step method of proceeding.
Peter

I have just found this:
is this a place to start?
The link is a good place to start!

You will know if your phone is bootloader unlocked if you see an 'unlocked lock icon' in the top center of your phone screen when you just switch on your phone or reboot your phone. The first screen which has the 'Mi' logo.

That's the only way I can think of.

Once your bootloader is unlocked using the Mi Unlock Tool, you can flash the Xiaomi.eu ROM using the fastboot method.

Since you wouldn't want to be rooted or anything -- for your banking apps, do not flash TWRP as such.

Only use the fastboot method to flash the xeu ROM and that's that.

Any future updates for the ROM, you can use the fastboot method again to flash the 'update ROM'.

You will end up losing your data when you decide to flash this ROM so take a backup of your apps + data + other files + photos.

--
Sent from my M2102K1G
 
Thank you for the reply.
I have started.

I have adb installed but windows 11 does not allow the installation of a suitable driver and keeps uninstalling the one I give it if the device is not connected.
The most promising response I have had from the cmd prompt is > "?????????? fastboot"

I will look again tomorrow when I am less tired.
 
Thank you for the reply.
I have started.

I have adb installed but windows 11 does not allow the installation of a suitable driver and keeps uninstalling the one I give it if the device is not connected.
The most promising response I have had from the cmd prompt is > "?????????? fastboot"

I will look again tomorrow when I am less tired.
Honestly not sure about this.
I've never faced an issue with Windows 11 and drivers for my phone.



--
Sent from my M2102K1G
 
I tried to connect to my phone using a laptop and despite tiredness this has worked.
PS C:\adb> fastboot devices
???????????? fastboot
PS C:\adb>
Can someone confirm this non numeric response is a valid reply.
Today back on my PC I forced the "driver installer" to accept a google driver for USB.
1680428328306.png


This produced the same response as the above.
Facet never post when you are tired.

Do I just have to run this File? (windows_fastboot_first_install_with_data_format.bat).
 
Last edited:
I tried to connect to my phone using a laptop and despite tiredness this has worked.
PS C:\adb> fastboot devices
???????????? fastboot
PS C:\adb>
Can someone confirm this non numeric response is a valid reply.
Today back on my PC I forced the "driver installer" to accept a google driver for USB.
View attachment 47096

This produced the same response as the above.
Facet never post when you are tired.

Do I just have to run this File? (windows_fastboot_first_install_with_data_format.bat).
Think you need to install drivers for your phone as well.

Did this a long time back and I'm running blank.

--
Sent from my M2102K1G
 
I tried to connect to my phone using a laptop and despite tiredness this has worked.
PS C:\adb> fastboot devices
???????????? fastboot
PS C:\adb>
Can someone confirm this non numeric response is a valid reply.
Today back on my PC I forced the "driver installer" to accept a google driver for USB.
View attachment 47096

This produced the same response as the above.
Facet never post when you are tired.

Do I just have to run this File? (windows_fastboot_first_install_with_data_format.bat).

--
Sent from my M2102K1G
 
I ran windows_fastboot_first_install_with_data_format.bat and received this respponse:-
Waiting for device...
Compatible devices: thor
Your device: K80HD_BSP_FWV_512M
Press any key to continue . . .
Pressing return closes the cmd window.

The device reported has an ARMv7 Processor not the Qualcomm 888+ claimed in the settings.
It is a custom build version
alps-mp-o1.mp1-V1-164_k80hd.bsp.fwv.512m_P15
This would explain why it is so slow.
Anyone know how to get a ROM for it?
 
Have you downloaded?:
Stable
xiaomi.eu_multi_MIX4_V14.0.3.0.TKMCNXM_v14-13.zip
Or
Dev
xiaomi.eu_multi_MIX4_V14.0.23.3.27.DEV_v14-13.zip