[CONFIRMED] ( WORKING ON XIAOMI MI 10T/PRO )
|-Full tutorial for everything-|
/**
* Your warranty is now void.
*
* We are not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at us for messing up your device, we will laugh at you.
**/
---Unlocking bootloader---
This is one of the easiest parts of this tutorial.
You will need:
- Xiaomi Mi 10T/PRO device
- USB cable
- Computer
- MiFlash tool (official by Xiaomi for unlocking bootloader) [LINK]
- 168 hours already spent on your Xiaomi device (It is a security feature that you cannot bypass)
- USB drivers for your device [LINK]
- Created Xiaomi Account (Used to log in to the MiFlash tool --> so you could unlock your specific device that has the same account on it) [LINK]
- ADB, Fastboot tools on Windows [LINK]
-And that should everything needed for unlocking your bootloader-
Process:
- Open Settings --> About Phone --> TAP on your MIUI version till you see (You are now a developer)
-
- Go to Additional Settings --> Developer Options --> OEM Unlock + Mi Unlock Status + USB Debugging
- Go to Mi Unlock Status --> Add your Account (If you have not already) and device (Do what you see on the screen)
- Enable USB Debugging + Change Default USB Configuration (saves us some time)
- Plug your Xiaomi Mi 10T/Pro into the computer and choose on your mobile File Transfer. If anytime it asks you to prompt USB debugging from your computer --> Allow it and set it always to allow this computer.
- You will now run Command prompt as ADMIN. Go to your ADB, Fastboot tools path with
$ cd C:\YOUR\PATH\TO\PLATFORM\TOOLS
(now your adb and fastboot commands will work) - Check if your device is connected to the computer -->
$ adb devices
Now go to fastboot$ adb reboot bootloader
- Open the MiFlash tool and log in to your Xiaomi Account --> Hit refresh and you should see your Xiaomi Mi 10T/Pro device (It will have a different name in the program --> fastboot name) Now hit UNLOCK, and that is all, your device is now Unlocked.
- OPTIONAL: If your device has not appeared in the MiFlash tool, open up Driver Booster and check for Drivers, update any MISSING DRIVERS and try again (The program works 100%, but sometimes it does not show the device because of NONE USB drivers in Fastboot mode or BAD USB drivers --> if you fix this you can easily Unlock it like in step 7.)
- Now your DEVICE will reset and show you a little icon of an unlocked lock on the top of the screen, which means your bootloader is unlocked.
- DONE
---Flashing TWRP and ROOT---
You will need:
- Xiaomi Mi 10T/PRO device
- USB cable
- Computer
- TWRP image (should be renamed to recovery.img) [LINK]
- Vbmeta - This is used to flash to vbmeta, so No-verity-opt-encrypt could work (the file is inside vbmeta.zip called vbmeta.img) [LINK]
- No-verity-opt-encrypt - this is used so we could decrypt our phone storage (in short --> so we could WIPE everything --> very useful when flashing custom ROMS) [LINK]
- MAGISK for ROOT (rename .apk to .zip) [LINK] (could be outdated in the future, search for Magisk GitHub and download the latest .apk version)
Process:
- Plug your Xiaomi Mi 10T/Pro into the computer and choose on your mobile File Transfer. If anytime it asks you to prompt USB debugging from your computer --> Allow it and set it always to allow this computer.
- You will now run Command prompt as ADMIN. Go to your ADB, Fastboot tools path with
$ cd C:\YOUR\PATH\TO\PLATFORM\TOOLS
(now your adb and fastboot commands will work) - Check if your device is connected to the computer -->
$ adb devices
Now go to fastboot$ adb reboot bootloader
- Your downloaded files should be in your ADB, Fastboot folder so you can flash them (TWRP, vbmeta)
- Now type
$ fastboot flash recovery recovery.img
- After that is done, we will go to the recovery. Type
$ fastboot boot recovery.img
this will boot us into the recovery. - Now you should be in TWRP recovery.
- Now we can flash MAGISK. Firstly we need to send it to our mobile phone.
$ adb push Magisk.zip /sdcard
(name of the magisk will be different) - Go to the Install section on your phone and select Magisk --> now, swipe. Now you should have Magisk successfully flashed into your device.
- Exit from recovery to system. --> Reboot section --> choose System (on the top)
- If everything goes right, you can now run MAGISK apk, and it will ask you for additional things, etc.; etc., click OK, and your phone will reboot after 5 seconds. Congratulations, you have successfully installed TWRP recovery, and you have ROOT too.
- Now let's go back to fastboot mode. This time we will use MAGISK. On the top right side should be a "reload button," click it and select REBOOT TO BOOTLOADER.
- On your computer, now flash vbmeta with this command.
$ fastboot flash vbmeta vbmeta.img
. - Next type
$ fastboot boot recovery.img
to go back to recovery, we need to flash now the no-verity-opt-encrypt. When you are there, push that file to your mobile like this.$ adb push Disable_Dm-Verity_ForceEncrypt_11.02.2020.zip /sdcard
(name of the file could be different). Once that is done, go to the install section, click on the no-verity-opt-encrypt, and swipe to flash it. - Now you can reboot to System and download the Official TWRP app [LINK] (might be outdated, search for TWRP Official app apkmirror, and download the latest version)
- This app is handy for flashing other versions of TWRP without the need for a computer. GUIDE: Open the app --> TWRP Flash --> It will ask you to prompt SuperUser rights, click allow. --> You will see two buttons (Select a device and Select a file to flash) --> The Select Device option is left empty (No device selected) and now click on the Select a file to flash and choose your .img file of TWRP. Now you tap, FLASH TO RECOVERY, and you are done.
- DONE
---Flashing custom ROMS---
You will need:
- Xiaomi Mi 10T/PRO device
- USB cable
- Computer
- Your custom ROM .zip file
- Everything else mentioned in this tutorial (TWRP, MAGISK, etc...)
Process:
- Go to the recovery using Magisk or whatever you like.
- This time, we will go to the WIPE section. Do a regular SWIPE --> then FORMAT DATA (type YES) --> then Advanced WIPE (select everything EXCEPT for USB OTG)
- Now, if you did everything right, there should not be many errors (It should always show SUCCESSFUL on the top of the screen when operating)
- Now we can push our custom ROM .zip file to our Xiaomi Mi 10T/Pro device. The command should look like this
$ adb push Evolution_X.zip /sdcard
(the name of the custom ROM can be different) - Go to the Install section, select your custom ROM and install it. Now, pray that nothing goes wrong. I have done it right with THIS EXACT TUTORIAL (made by my friend and me). If anything bad happens, ask me for help if you need it. Reboot to the System and ENJOY your new ROM.
- DONE
There are more Custom ROMS for Xiaomi Mi 10T/Pro:
(not on xda, but a Telegram group)
- Project 404
- CrDroid
- Fluid
- ArrowOS [FIRMWARE]
- Pixel Experience
- Evolution X
- NusantaraProject
- ShapeShiftOS - I don't recommend it
- Xiaomi.eu BETA 12.5
MOD EDIT: Telegram link removed, please read the STICKY!
PitchBlackRecoveryProject (might not work for everyone)
[LINK]
Last edited by a moderator: