How To Guide Root POCO M3 Pro 5G yourself and optionnal Debloat/Privacy.

Search This thread

Karli7ca

New member
Sep 22, 2021
2
9
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.

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.
 
Last edited:

Karli7ca

New member
Sep 22, 2021
2
9
Yes I see, I did this to make it more detailed, and maybe more secure, starting from a xiaomi rom and without pushing .img from unknown sources, moreover to deactivate the AVB. original vbmeta is sufficient with the option --disable-verity --disable-verification why propose another one vbmeta.img ... I hear well, I do this to help people see more clear,to avoid any inconvenience, so as not to brick the phone. Sorry if I could deeply hurt you in your pride. If it poses a serious and dramatic problem, see apocalyptic, tell me.
 
  • Like
  • Haha
Reactions: drdedus and simika

simika

Senior Member
May 19, 2012
404
100
Rome
Amazon Fire TV
Yes I see, I did this to make it more detailed, and maybe more secure, starting from a xiaomi rom and without pushing .img from unknown sources, moreover to deactivate the AVB. original vbmeta is sufficient with the option --disable-verity --disable-verification why propose another one vbmeta.img ... I hear well, I do this to help people see more clear,to avoid any inconvenience, so as not to brick the phone. Sorry if I could deeply hurt you in your pride. If it poses a serious and dramatic problem, see apocalyptic, tell me.
well in 3 months everybody was happy to root m3 and redmi without any issue but if this makes you happy... than be happy 😂
 

drdedus

Senior Member
Jul 4, 2013
199
13
Realme GT 2
Yes I see, I did this to make it more detailed, and maybe more secure, starting from a xiaomi rom and without pushing .img from unknown sources, moreover to deactivate the AVB. original vbmeta is sufficient with the option --disable-verity --disable-verification why propose another one vbmeta.img ... I hear well, I do this to help people see more clear,to avoid any inconvenience, so as not to brick the phone. Sorry if I could deeply hurt you in your pride. If it poses a serious and dramatic problem, see apocalyptic, tell me.
Thank you for your detailed info and for your time.
 

shi-no_tenshi

Senior Member
Mar 4, 2019
67
20
Magisk v24.1 confirmed to work following this guide. You just need to enable install the universal safetynet fix for zygisk and enable denylist within the app.
 
  • Like
Reactions: Gorg2331

julkidi

Member
Jun 20, 2011
27
4
Avignon
there is a simply graphic tool to do a good debloat. https://github.com/Szaki/XiaomiADBFastbootTools
I just test this tool while I turn back to MIUI as i did not find the GSI ROM I wanted.
I install OpenJDK (because i did not have any java version installed) and launch it from a dos windows as administrator (with "X:\blablabla\jdk\bin\java.exe" -jar X:\XiaomiADBFastbootTools.jar command ) and it seems to do the job.
Still see some apps that it did not see, but quite good and easy
 

wetito

Senior Member
Dec 12, 2014
1,331
268
49
reggio emilia
Xiaomi Mi A3
if someone is interested, i can share with some new miui13 magisks modules super cools! example... MIUI13 MONET ENGINE

tell me, if you are interested, i will shares in a new thread
 

Attachments

  • Screenshot_2022-08-02-23-29-40-846_org.telegram.messenger.jpg
    Screenshot_2022-08-02-23-29-40-846_org.telegram.messenger.jpg
    506 KB · Views: 36
  • Screenshot_2022-08-03-00-16-06-949_com.android.settings.jpg
    Screenshot_2022-08-03-00-16-06-949_com.android.settings.jpg
    316.3 KB · Views: 36
  • Screenshot_2022-08-03-00-15-59-065_com.android.settings.jpg
    Screenshot_2022-08-03-00-15-59-065_com.android.settings.jpg
    270.4 KB · Views: 33
  • Screenshot_2022-08-03-00-15-51-925_com.miui.home.jpg
    Screenshot_2022-08-03-00-15-51-925_com.miui.home.jpg
    1.1 MB · Views: 33
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.

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.
This guide help me alot. Thank you very much. Not to much hassle and easy to understand. Btw Im using Poco M3 Pro 5G miui 13.0.2 Global Rom. Unlock bootloader using GSM Sulteng Tool v1.3.6.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 7
    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.

    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.
    2
    Yes I see, I did this to make it more detailed, and maybe more secure, starting from a xiaomi rom and without pushing .img from unknown sources, moreover to deactivate the AVB. original vbmeta is sufficient with the option --disable-verity --disable-verification why propose another one vbmeta.img ... I hear well, I do this to help people see more clear,to avoid any inconvenience, so as not to brick the phone. Sorry if I could deeply hurt you in your pride. If it poses a serious and dramatic problem, see apocalyptic, tell me.
    2
    This is a very well written and concise guide @Karli7ca. You should be proud of yourself.

    This is exactly what the community should be about - helping others. And you have done a very good job with this, well done!

    As a veteran here, top notch job!
    2
    Yes I see, I did this to make it more detailed, and maybe more secure, starting from a xiaomi rom and without pushing .img from unknown sources, moreover to deactivate the AVB. original vbmeta is sufficient with the option --disable-verity --disable-verification why propose another one vbmeta.img ... I hear well, I do this to help people see more clear,to avoid any inconvenience, so as not to brick the phone. Sorry if I could deeply hurt you in your pride. If it poses a serious and dramatic problem, see apocalyptic, tell me.
    Thank you for your detailed info and for your time.
    1
    well in 3 months everybody was happy to root m3 and redmi without any issue but if this makes you happy... than be happy 😂
    what's your problem?