[POCO M3 Pro / Redmi Note 10 / 10T 5G] Karli7ca:
Hello !

Its for root POCO M3 Pro 5G ( Camellia M2103K19PG MT6833 ) with success.

With any miui rom of your choice but you had to download the rom in question which corresponds to your phone to patch the correct version of the boot.img corresponding to it.

I post this, the main line to proceed because I wanted to do it as much as possible myself.

I made a video with this same procedure in description :

All you need Phone/Magisk/Miunlock/Miflash/Fastboot and miui "fastboot update" image

The steps that I did:

Unlock

https://c.mi.com/thread-2740493-1-0.html

Wait a week!

During this waiting time I advise you not to go to the developer option relating to the Mi account, try the unlock once, you have the timer like 7 days, and now leave the phone off, and you give it an appointment in 7 days.

Download "fastboot update" corresponding your phone country.

https://c.mi.com/oc/miuidownload/detail?guide=2

For example Eu / eea global : https://bigota.d.miui.com/V12.0.10....EUXM_20210809.0000.00_11.0_eea_3a153481fd.tgz

Extract with 7zip for exemple to get folder with files like this inside:

images

build_all.sh

flash_all.bat

flash_all.sh

....

Put phone in fastboot mode (vol-down+power)

Flash this rom using MiFlash https://cdn.alsgp0.fds.api.mi-img.com/micomm/MiFlash2020-3-14-0.rar

!!Before click on flash!! :

Don't not lose your unlock. On miflash check "cleanall" and not "cleanall and lock"

At the end an error occurs it's normal that we don't want to lock the bootloader.

(Check the "log" folder on Miflash folder to be sure all is fine)

When done install Magisk on the phone.

https://github.com/topjohnwu/Magisk/releases/download/v22.1/Magisk-v22.1.apk

Save from previously original extracted miui rom archive, boot.img and vbmeta.img

Put boot.img on phone storage.

Open Magisk click install and patch manually boot.img with “Select and patch a file” (If you don't have this option connect phone to network)

Now you have on "Download" folder a file named magisk_patched......img

Save back the patched boot.img to your computer rename like bootpatch.img

Put phone in fastboot mode.

Flash using platform-tools https://dl.google.com/android/repository/platform-tools_r31.0.3-windows.zip

Put bootpatch.img and vbmeta.img on fastboot.exe folder.

On fastboot folder type cmd in the address bar and press return.

Now flash original vbmeta.img like this to disable android verified boot (AVB):

fastboot --disable-verity --disable-verification flash vbmeta_a vbmeta.img

fastboot --disable-verity --disable-verification flash vbmeta_b vbmeta.img

And flash patched boot.img (bootpatch.img) like this:

fastboot flash boot_a bootpatch.img

fastboot flash boot_b bootpatch.img

Reboot.

fastboot reboot

Open magisk and check if its good.

And there he is rooted. Your turn to do it !

----------------------------------------------------------------------------------

Optionally:

For better lightness and privacy on Miui 12:

Install afwall to control which apps have network access.

GitHub - ukanth/afwall: AFWall+ (Android Firewall +) - iptables based firewall for Android

AFWall+ (Android Firewall +) - iptables based firewall for Android - GitHub - ukanth/afwall: AFWall+ (Android Firewall +) - iptables based firewall for Android

github.com

Removing unwanted app.

But many others are grayed and impossible to remove from the ui

You can do it by enabling usb debugging on developer option

Connect phone and with ADB type:

adb shell

su

Accept magisk root request.

Now you can remove app like this exemple:

pm disable com.miui.micloudsync (to disable app)

pm uninstall --user 0 com.miui.micloudsync (to uninstall app)

pm clear com.miui.micloudsync (to clear app data)

"pm uninstall --user 0" and "pm clear" Is sufficient to remove the app.

The list you can remove without significative problem:

com.google.android.apps.subscriptions.red

com.google.android.youtube

com.xiaomi.miplay_client

com.google.android.googlequicksearchbox

com.milink.service

com.xiaomi.account

com.miui.msa.global

com.xiaomi.payment

com.miui.micloudsync

com.miui.daemon

com.google.android.gm

com.google.android.setupwizard

com.facebook.services

com.android.printspooler

com.miui.cloudbackup

com.xiaomi.upnp

com.google.android.tts

com.xiaomi.mipicks

com.xiaomi.joyose

com.google.android.printservice.recommendation

com.xiaomi.midrop

com.miui.cloudservice

com.miui.cloudservice.sysbase

com.facebook.system

com.miui.analytics

com.miui.yellowpage

com.facebook.appmanager

com.xiaomi.discover

com.mipay.wallet.in

com.miui.fmservice

com.xiaomi.finddevice

!!Don't remove com.xiaomi.finddevice or your device bootloop.

And do not remove com.facebook.... if you using facebook for example....

To check network activity use a terminal emulator or adb shell and type:

su

netstat -t -u -p

(That display network list about active connection, udp, tcp, port, app name)

Best Regards.