Will locking the bootloader with a Stock Rom from a different region present any issues?


pamlepidre

Members
20 Nov 2023
34
20
My phone came with a Global Rom in EU. After all the latest Google Pay shenanigans I flashed the Stock Rom but I chose the Taiwan rom in order to get call recording. Everything seems to work except the payments of course.

If I now lock the bootloader will I have any issues with using a Taiwan rom on a global device? I have read mixed reports online that it doesn't work and it might brick your device. Will it also pass all the integrity tests? Will GPay work?
 
I don't know what model of device you have. If you are in the EU, maybe a Russian ROM would be more suitable. Anyway, you shouldn't have any problems with TW ROM either if you lock the bootloader.
 
  • Like
Reactions: pamlepidre
I don't know what model of device you have. If you are in the EU, maybe a Russian ROM would be more suitable. Anyway, you shouldn't have any problems with TW ROM either if you lock the bootloader.
I have the Mi11T and flashed OS1.0.13.0.UKDTWXM (I was on the MIUI .eu one). Yes I'm in the EU. Should I try the Russian one first before locking?
 
Can confirm after locking the bootloader on Taiwan everything is running smoothly. Passing every integrity test, wallet working, play is certified and miui dialer
 
Can confirm after locking the bootloader on Taiwan everything is running smoothly. Passing every integrity test, wallet working, play is certified and miui dialer
Hello. I'm in the same situation you were in: I don't want to lose the ability to record conversations and I want to be able to use Google Wallet. I've already updated to the latest global ROM from Taiwan, removed bloatware, reinstalled my apps and data, and now I'm wondering whether to proceed with locking the bootloader directly or not. I'm reading a lot of contradictory messages. Some say that locking the bootloader deletes all your data, others say it doesn't.

What process did you follow? Did you use Miflash or the .bat files from the ROM directly? Also, did you first update to the global ROM from Taiwan and then lock the bootloader, or did you repeat the entire update and lock process with "Clean all and lock"?

That's all. Thanks in advance for your response.
 
The locking process will erase all user data.
You can lock by entering the fastboot command in the cmd prompt:
Code:
fastboot oem lock

Attention!

You can only lock the bootloader in the following cases:
- CN devices with CN ROM
- Global devices with any Global ROM derivative (MI, EEA, RU, TU, TW, ID, IN, etc.)

 
  • Like
Reactions: cordas0000
Hello. I'm in the same situation you were in: I don't want to lose the ability to record conversations and I want to be able to use Google Wallet. I've already updated to the latest global ROM from Taiwan, removed bloatware, reinstalled my apps and data, and now I'm wondering whether to proceed with locking the bootloader directly or not. I'm reading a lot of contradictory messages. Some say that locking the bootloader deletes all your data, others say it doesn't.

What process did you follow? Did you use Miflash or the .bat files from the ROM directly? Also, did you first update to the global ROM from Taiwan and then lock the bootloader, or did you repeat the entire update and lock process with "Clean all and lock"?

That's all. Thanks in advance for your response.
Updated to TW Rom first and tested it for a few days. Then fastboot -> "fastboot oem lock" which will lock the bootloader and also wipe all your data so backup everything you need first.
 
  • Like
Reactions: cordas0000
Done...!!! Thanks. But... my bank app is not validating my credit cards in google wallet... guess something is going wrong with the relock. Asked Gemini and this is the answer:

This is a very common security issue and has a direct explanation. Google Wallet (formerly Google Pay) has very strict security requirements to function, as it handles sensitive financial information.

The reason you can't activate the cards is because your Xiaomi 12T Pro has a blocked bootloader.

Although it seems contradictory, Google Wallet's security systems detect that the device has been tampered with, even if all you did was re-lock the bootloader.




Why Does This Happen?​



Google Wallet and most mobile payment services, like those offered by Caixabank, rely on your device's security certification, known as Play Protect.

When you unlock the bootloader, you break this chain of trust. Even if you re-lock it later, the system can leave a "trace" or a "risky" status that Google detects. This is done to protect you from potential threats, such as malicious software that could steal your payment data.




What Does Google Wallet Detect?​



Google Wallet verifies the integrity of your device. If it detects any of the following conditions, the payment service will stop working:

  • Unlocked bootloader: This is the most common cause.
  • Root (superuser access): If you have rooted the device.
  • Custom ROM: If you have installed unofficial firmware.
  • Any modification to the factory software: Even minor modifications can break the certification.
 
I have no idea. Make sure you actually locked it. Check for the tiny lock icon at the top of the screen during boot. If there is nothing there it's locked.