Android 11 TWRP + root (needed turn off encryption)
If you want root, download these (otherwise skip steps 14, 16-21):
option for root - download Canary Magisk Manager (
https://raw.githubusercontent.com/topjohnwu/magisk_files/canary/app-release.apk )
also download magisk module safetynet-fix-v1.1.1.zip (
https://github.com/kdrag0n/safetynet-fix/releases )
Needed:
- download TWRP (see first post

for twrp-3.5.2_9-0-laurel_sprout.img )
- download DisableForceEncryption.zip (
https://androidfilehost.com/?fid=6006931924117915021 )
- download stock full fastboot ROM (For me = EU -
https://bigota.d.miui.com/V12.0.7.0....RFQEUXM_20210513.0000.00_11.0_3e81dfb140.tgz for others
https://forum.xda-developers.com/t/rom-official-fastboot-xiaomi-mi-a3-laurel_sprout.3962489/ )
- extract ROM and extract ROM again to c:\work\ (example)
- edit flash_all.bat:
a) on system_b change system_other.img -> system.img
b) move line with "fastboot %* reboot" after "pause"
- in images\crclist.txt delete line with system_b
- in images\sparsecrclist.txt copy line with system_a and rename to system_b
- copy vbmeta.img from images to folder with bat files
- copy boot.img from images to folder with bat files
- move app-release.apk to folder with bat files
- copy app-release.apk and this copy rename as magisk.zip
- rename TWRP image just to twrp.img
- download ADB minimal portable extract to folder with bat files (
https://androidfilehost.com/?fid=962187416754459552 )
- run cmd-here.exe as administrator
- enable USB debugging in phone (if you dont know how or how to find it you are dumb and not do next steps!)
- run adb devices, remember and allow in phone
- shutdown phone, still connected to USB
Connect phone to PC,
1) Hold vol- a power until BL shows
2) fastboot flashing unlock (before click Enter, hold vol-)
3) fastboot flashing unlock_critical (before click Enter, hold vol-)
4) fastboot --set-active=a, then flash_all.bat (laurel_sprout_eea_global_images_V12.0.7.0.RFQEUXM_11.0)
5) after rom is flashed, hold vol- and then click enter -> vbmeta patching:
run cmd-here.exe as administrator again
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
fastboot --disable-verity --disable-verification flash vbmeta_a vbmeta.img
fastboot --disable-verity --disable-verification flash vbmeta_b vbmeta.img
6) fastboot --set-active=b
7) fastboot flash boot twrp.img
8) fastboot reboot (before click Enter, hold vol+ -> go to new recovery)
9) Wipe -> Format Data (yes), after that empty disk appears in windows explorer ( Mi A3 - Internal storage ). Select boot.img + twrp.img + DisableForceEncryption.zip + magisk.zip in folder with bat files and copy to phone
10) Go to menu Install-> select boot.img and flash it to boot partition (both slots)
11) Go to menu Advanced -> install recovery ramdisk and select twrp.img
12) Go to menu Reboot -> enable slot A and then reboot to recovery
13) Go to menu Install (folder changes to /data/media) -> DisableForceEncryption.zip, after install wipe dalvik
14) Go to menu Install -> magisk.zip, after install wipe dalvik and finally click reboot system
15) set up your phone, then click to Magiks in menu a tap download (allow installation from Unknown Sources)
16) delete boot.img + twrp.img + DisableForceEncryption.zip + magisk.zip from /data/media/ (use file manager in TWRP)
17) if you root, then copy safetynet-fix-v1.1.1.zip to internal storage (to folder Downloads for example)
18) Go to magisk settings and tap Hide app Magisk, change name to something and wait a while - app restarts in about 10-15s, allow add icon to desktop
19) enable in settings MagiskHide, then go to Home , tap last icon modules and select install from storage
20) select safetynet-fix-v1.1.1.zip and after install restart
21) check SafetyNET status -> PASS
System startup with root, disabled encrypting and TWRP stay in boot image. In slot B is boot image without root.
Maybe is playing with system_b useless, but i try different procedures and this one works best (no problems yet, I don't have time to try less steps. But vbmeta is important, also flash DisableForceEncryption before Magisk...
Enjoy and dont hate me if something go wrong