boot.img
inside.select and patch file
and select the boot.img
you copied to your phone earlier.magisk_patched.img
on the root of internal storage. Copy that patched .img back to your PC.fastboot flash boot magisk_patched.img
Thanks mate. Will wait for the phone to be unlocked then will try these steps.You will need a Windows PC with Fastboot and Mi unlock tool installed. Here is what you could do without a TWRP to root through Magisk:
P.S. Don't forget to mark this answer as solved by clicking the check mark beside it if it solved your question so anyone can see this in the future.
- Apply for the Unlock process. This will take 167 hours and will factory reset your device. Backup your data before you do this. After the waiting period unlock your Bootloader.
- Download your matching or newer Fastboot firmware from here. I assumed you have note 10 non 5G (mojito) based on that screenshot, if not, then that website has it for different varieties as well.
- The Fastboot firmware is in .tgz format. Keep a copy for future screw ups just in case (will rescue you). Extract that archived folder and find
boot.img
inside.- Copy that .img to your phone, and download magisk manager 21.0 or newer and install it.
- When opening the Manager on your phone for the first time, it'll prompt you to install itself, choose
select and patch file
and select theboot.img
you copied to your phone earlier.- After it does that successfully, you will find a file called
magisk_patched.img
on the root of internal storage. Copy that patched .img back to your PC.- Reboot your phone to fastboot mode and connect to PC, flash that patched boot.img using:
Code:fastboot flash boot magisk_patched.img
- If flashed successfully, reboot your device and update/further install magisk.
- Done, Your device is rooted !!!
![]()
what about vbmeta?You will need a Windows PC with Fastboot and Mi unlock tool installed. Here is what you could do without a TWRP to root through Magisk:
P.S. Don't forget to mark this answer as solved by clicking the check mark beside it if it solved your question so anyone can see this in the future.
- Apply for the Unlock process. This will take 167 hours and will factory reset your device. Backup your data before you do this. After the waiting period unlock your Bootloader.
- Download your matching or newer Fastboot firmware from here. I assumed you have note 10 non 5G (mojito) based on that screenshot, if not, then that website has it for different varieties as well.
- The Fastboot firmware is in .tgz format. Keep a copy for future screw ups just in case (will rescue you). Extract that archived folder and find
boot.img
inside.- Copy that .img to your phone, and download magisk manager 21.0 or newer and install it.
- When opening the Manager on your phone for the first time, it'll prompt you to install itself, choose
select and patch file
and select theboot.img
you copied to your phone earlier.- After it does that successfully, you will find a file called
magisk_patched.img
on the root of internal storage. Copy that patched .img back to your PC.- Reboot your phone to fastboot mode and connect to PC, flash that patched boot.img using:
Code:fastboot flash boot magisk_patched.img
- If flashed successfully, reboot your device and update/further install magisk.
- Done, Your device is rooted !!!
![]()
I do not understand the question
Not really necessary for Xiaomi devices (apart from the Mi series) as far as I know, but maybe they changed that with the upgrade to android 11?
He meant disabling AVB 2.0 by flashing the vbmeta.img from the downloaded fastboot firmware by using:
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
precisely I did not take magisk v22 but v21, moreover I have exactly the same version as the first poster is 12.0.1 RKGEUXM.Not really necessary for Xiaomi devices (apart from the Mi series) as far as I know, but maybe they changed that with the upgrade to android 11?
He meant disabling AVB 2.0 by flashing the vbmeta.img from the downloaded fastboot firmware by using:
I personally have encountered many problems using Magisk 22.0 stable version, if you're using that, then either update to the canary version (you can switch the update channel in the manager settings) or use the older version 21.4.Code:fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
If all of the above fails, just reflash the stock boot.img and your phone will boot normally.
ha , sorry indeed I may have made a mistake, now I don't remember my exact version, it seemed to me that it was EU but in 12.0.1@titifayls The original poster had version
V12.0.1.0.RKGMIXM (Global) while you claim to have downloaded
V12.0.2.0.RKGEUXM (European) which are not interchangeable. If you want to use either global or eu. Then you would need to flash the full firmware, you can't flash the boot.img from EU to ROM of global. It won't boot.
If you don't really remember which version came with your device, then reply to me again and I can give you further instructions. Tell me which OS are you using to access fastboot and if you want to preserve your data.
I asked if you're using windows or linux to connect to your phone. About losing data, maybe a clean flash could be required, but trying first won't hurt.ha , sorry indeed I may have made a mistake, now I don't remember my exact version, it seemed to me that it was EU but in 12.0.1
I use ABD in fastboot and yes I would like to keep all my data that I did not save before wanting to root: /
I bought the phone on aliexpress, I am French, can I look on the box if I have any info on the version?
flash_all_except_data_storage.bat
for windows or flash_all_except_data_storage.sh
for linux. (Do not use the flash_all_lock.bat/.sh script or risk a hard brick, so read carefully this time!!!!)fastboot devices
to make sure device is recognized.so if i use latest magisk v22.1 , do i have to disable something like vbmeta.img or not ? or it is onli Mi Series that need to disable vbmeta.img ?Not really necessary for Xiaomi devices (apart from the Mi series) as far as I know, but maybe they changed that with the upgrade to android 11?
He meant disabling AVB 2.0 by flashing the vbmeta.img from the downloaded fastboot firmware by using:
I personally have encountered many problems using Magisk 22.0 stable version, if you're using that, then either update to the canary version (you can switch the update channel in the manager settings) or use the older version 21.4.Code:fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
If all of the above fails, just reflash the stock boot.img and your phone will boot normally.
Only MI series need that. You should not have to do that. Also yes, I meant to say that 22.0 stable magisk can make the patched boot.img unbootable. Using the 22.1 canary is the way to go.so if i use latest magisk v22.1 , do i have to disable something like vbmeta.img or not ? or it is onli Mi Series that need to disable vbmeta.img ?
You would need to connect your phone in fastboot mode and use MI unlock tool again. It'll tell you how many hours left. Usually, you just need to wait exactly one week or 168 hours.how to see how many hours left to unlock the phone ? i kinda forgot about it, it is my 1st MIUI device beside Xiaomi Mi A1
about mi unlock tool , what version that show how many hours left ? i use latest version and it show nothing on the tool , if i remember correctly the oldest version show the time remaining to unlock , sorry if i mistaken something here >.<Only MI series need that. You should not have to do that. Also yes, I meant to say that 22.0 stable magisk can make the patched boot.img unbootable. Using the 22.1 canary is the way to go.
You would need to connect your phone in fastboot mode and use MI unlock tool again. It'll tell you how many hours left. Usually, you just need to wait exactly one week or 168 hours.![]()
I used the latest as well. Most of the time, it errors out and I can't see the time left, but sometimes it works. Don't forget, you're giving them your imei for the freedom of your phone. Those imei's must be stored on Chinese servers and the tool must query those servers to get any info, depending on your country it may not work at all.about mi unlock tool , what version that show how many hours left ? i use latest version and it show nothing on the tool , if i remember correctly the oldest version show the time remaining to unlock , sorry if i mistaken something here >.<
boot.img
inside.select and patch file
and select the boot.img
you copied to your phone earlier.magisk_patched.img
on the root of internal storage. Copy that patched .img back to your PC.fastboot flash boot magisk_patched.img
Not really necessary for Xiaomi devices (apart from the Mi series) as far as I know, but maybe they changed that with the upgrade to android 11?
He meant disabling AVB 2.0 by flashing the vbmeta.img from the downloaded fastboot firmware by using:
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
what about vbmeta?You will need a Windows PC with Fastboot and Mi unlock tool installed. Here is what you could do without a TWRP to root through Magisk:
P.S. Don't forget to mark this answer as solved by clicking the check mark beside it if it solved your question so anyone can see this in the future.
- Apply for the Unlock process. This will take 167 hours and will factory reset your device. Backup your data before you do this. After the waiting period unlock your Bootloader.
- Download your matching or newer Fastboot firmware from here. I assumed you have note 10 non 5G (mojito) based on that screenshot, if not, then that website has it for different varieties as well.
- The Fastboot firmware is in .tgz format. Keep a copy for future screw ups just in case (will rescue you). Extract that archived folder and find
boot.img
inside.- Copy that .img to your phone, and download magisk manager 21.0 or newer and install it.
- When opening the Manager on your phone for the first time, it'll prompt you to install itself, choose
select and patch file
and select theboot.img
you copied to your phone earlier.- After it does that successfully, you will find a file called
magisk_patched.img
on the root of internal storage. Copy that patched .img back to your PC.- Reboot your phone to fastboot mode and connect to PC, flash that patched boot.img using:
Code:fastboot flash boot magisk_patched.img
- If flashed successfully, reboot your device and update/further install magisk.
- Done, Your device is rooted !!!
![]()