[Xiaomi Mi 11] mancohtc:
Xiaomi mi 11 OK bank app!

I take no responsibility for any damage!

I purchased the Xiaomi mi 11 on the well-known Chinese online site. The phone had a MIUI 13 Global ROM and unlocked bootloader. I tried with Magisk and the various tools but the bank apps didn't install and NFC payments didn't work.

I installed the Chinese Stock Rom following this Guide https://xdaforums.com/t/how-to-flash-a-stock-rom-alioth.4355797/ and https://www.youtube.com/watch?v= 4YaAhyD8Yv4 How to Restore the Original ROM & Lock the Bootloader on Xiaomi Mi 11 Ultra or Any Xiaomi device.

I downloaded the venus_images_V12.5.16.0.RKBCNXM_20211211.0000.00_11.0_cn_e27b02d10b stable fastboot stock rom from the site https://xiaomirom.com/en/download/mi-11-venus-stable-V12.5.16.0.RKBCNXM/#china -fastboot

I remember that you have to flash the original rom of the phone (Chinese phone with stock Chinese rom, global phone with stock global rom etc! otherwise you will turn it into a brick!)

To downgrade from 13 to 12.5 you need to modify the flash_all_lock file if you want to block the bootloader, flash_all if you want hard reset and flash, based on the options chosen (Clean all, save user data, Clean all and lock) eliminating the antirollback lines. There are many guides on YouTube.

::check anti_version

if exist %~dp0images\anti_version.txt (for /f "delims==" %%a in (%~dp0images\anti_version.txt) do (set CURRENT_ANTI_VER=%%a))

if [%CURRENT_ANTI_VER%] EQU [] set CURRENT_ANTI_VER=0

for /f "tokens=2 delims=: " %%i in ('fastboot %* getvar anti 2^>^&1 ^| findstr /r /c:"anti:"') do (set version=%%i)

if [%version%] EQU [] set version=0

set anticheck="antirollback check pass"

if %version% GTR %CURRENT_ANTI_VER% set anticheck="Current device antirollback version is greater than this pakcage"

echo %anticheck% | findstr /r /c:"pass" || @ECHO "Antirollback check error" && exit /B 1.

Enable USB debugging on your phone from developer options. You need to create an empty folder and name it log inside the MiFlash20220507 folder (I used the latest version) to avoid the Microsoft miflash Unhandled exception has occurred error. I crossed my fingers, clicked Clean all and lock, turned off the phone and restarted in fastboot, connected to the PC (laptop to avoid any voltage cuts) then refresh to make sure the phone is recognized and then Flash. The flash lasted about 10 minutes and the reboot about 5 minutes. At this point I debloated with uad_gui-windows by disabling and not uninstalling these applications:

com.android.bookmarkprovider

com.android.browser

com.android.calendar

com.android.calllogbackup

com.android.deskclock

com.android.dreams.basic

com.android.dreams.phototable

com.android.fileexplorer

com.android.htmlviewer

com.android.providers.downloads.ui

com.android.quicksearchbox

com.android.traceur

com.android.wallpaper.livepicker

com.android.wallpaperbackup

com.bsp.catchlog

com.google.android.marvin.talkback

com.google.android.printservice.recommendation

com.milink.service

com.mipay.wallet

com.miui.analytics

com.miui.backup

com.miui.bugreport

com.miui.cit

com.miui.cloudbackup

com.miui.cloudservice

com.miui.cloudservice.sysbase

com.miui.daemon

com.miui.hybrid

com.miui.hybrid.accessory

com.miui.micloudsync

com.miui.miservice

com.miui.nextpay

com.miui.personalassistant

com.miui.phrase

com.miui.player

com.miui.touchassistant

com.miui.voiceassist

com.miui.voicetrigger

com.miui.vsimcore

com.miui.yellowpage

com.tencent.soter.soterserver

com.unionpay.tsmservice.mi

com.xiaomi.aiasst.service

com.xiaomi.joyose

com.xiaomi.mi_connect_service

com.xiaomi.micloud.sdk

com.xiaomi.migameservice

com.xiaomi.miplay_client

com.xiaomi.payment

com.xiaomi.simactivate.service

You need to uninstall com.sohu.inputmethod.sogou.xiaomi otherwise you need to re-enable gboard every time you reboot!

I googled to lighten the chinese rom.

I installed google play from apkmirror, then google wallet. Banks work but NFC payment does not.

To solve the NFC payment I followed this guide https://www.olorin.me/2023/02/19/how-to-use-google-pay-or-google-wallet-on-miui-china-roms/ and NFC payments work before we get to Troubleshoot why Google Wallet / Google Pay is not working.

Everything works very well!

BUG: Miui contact dialer does not share contacts. Bypass: share contacts by selecting the contact directly from WhatsApp.​

To solve the English language problem I installed More local 2 to add the Italian language.

To do this, in addition to enabling USB debugging, you must enable install via USB and USB debbugging security settings, Enable Viewing attributes. Then you install More local 2 and then enable it with the command line 02_grant_permission.bat and then set the Italian language

Also do this with setedit apk install, check permission to modify the system. Start the app, look for the System_locales line, select en-US, the popup opens, select edit, instead of en-Us enter it-IT and save. Then restart. If you want, you can enter other languages at the same time by typing en-US,it-IT,etcetc.