[RECOVERY][3.5.1][UNOFFICIAL] TWRP Xiaomi Mi 10 Pro [cmi]

Search This thread

manuelbianco

Senior Member
Sep 30, 2013
80
385
Team Win Recovery Project 3.x, or twrp3 for short, is a custom recovery built with ease of use and customization in mind. Its a fully touch driven user interface no more volume rocker or power buttons to mash. The GUI is also fully XML driven and completely theme-able. You can change just about every aspect of the look and feel.

Code:
Code:
/*
*
* 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.
*
*/


Features:
- Decryption work
- Otg work
- Vibrator
- Zip Flash
- Mtp/adb
- F2FS support
- Fastbootd
- Adb sideload
- Backup restore and image flash

Not working:
-Tell me

INSTALLATION:
1. Download the TWRP image file to your PC.
2. Put your device into fastboot.
3. Type the following command to flash the recovery:-

Code:
fastboot flash recovery "name_of_recovery.img"

4. On installation of TWRP , to boot the recovery do:-

Code:
fastboot boot "name_of_recovery.img"
The device will automatically reboot into TWRP.

5-A. You are using Xiaomi.eu Miui or custom Rom?
You can enjoy with a functional Data Decrypt

5-B You are using Miui EEA - Global -Cn or any custom rom that doesn't ship custom vbmeta.

6. Download this zip, copy by pc or using otg and flash this zip that will prevent twrp replacing.​
7. 7. Download VbMeta and flash by fastboot​
Code:
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img"
7. Reboot into twrp (Take longer Time)
Code:
fastboot boot "name_of_recovery.img"
8. Format Data and Reboot​

NOTES:
By Command fastboot boot, recovery will decrypt everytimes you need, also with Global Rom and without patched vbmeta.

Download:
TWRP
VbMeta
(Version tag will follow vendor, a lower version tag than your vendor does not mean that recovery will not work)

Donation:
PayPal: paypal.me/manuelbiancodev

Kernel Source: Prebuilt kernel extracted from https://bigota.d.miui.com/V12.2.6.0.RJBMIXM/miui_UMIGlobal_V12.2.6.0.RJBMIXM_2bd819937d_11.0.zip

Telegram Group: @MBsRoom
 
Last edited by a moderator:

LuHash

Senior Member
Jul 29, 2010
150
69
Elblag
What's the preferred option - installation as a default recovery or rather booting from PC?
I ask because majority of recent recoveries tend to fall in fastboot bootloop and were not working properly with MTP nor decryption once flashed
 

Dr_Long

Member
Aug 30, 2018
36
6
Firmware xiaomi.eu 21.2.24, installed recovery 3.5.0_10 (MBTWRP_12.2.5_CMI), accepts the password, decryption is successful, the system section in the recovery explorer sees but, when trying to create a backup, writes that "not all users are decrypted" and asks decrypt user XSpace (999) and enter his password. My current password is failing. If you ignore the decryption of this user, and try to continue creating the archive, the system partition is not in the backup list (although it is mounted beforehand).
What could be the problem and how to fix it?
 

marcel112

Senior Member
New Release!
-Merged 3.5.1 teamwin recovery changes
-Cleaned and ordered twrp flags
-Support to system_ext ro mount
-Improvements into usb managing
when i boot in this latest, i can't flash all custom, like hentaiOS.

When i am on 12.2.5 ( previous ) it works.
But how can i switch/flash twrp img file when i a, on your twrp?
When i choose install and use image, in wich slot is recovery?
 

manuelbianco

Senior Member
Sep 30, 2013
80
385
New Release!
-Merged teamwin recovery changes
-Workaround for mtp after format data
(After format data, reboot to recovery, now mtp is working, unmount data and re-mount data or reboot to recovery to flash or manage data files)
 
  • Like
Reactions: Camerado and B!GBOY

slawekking

New member
Sep 9, 2010
1
0
Hi,

I flash my mi 10 pro with the Mi flashtool to V12.2.5.0.RJAMIXM_20210123.0000.00_11.0_global and after that I follow your description.

After:
- C:\adb>fastboot flash recovery MBTWRP_14-03-2021_CMI.img
target reported max download size of 805306368 bytes
sending 'recovery' (131072 KB)...
OKAY [ 2.890s]
writing 'recovery'...
OKAY [ 0.476s]
finished. total time: 3.367s


- install no_replace_twrp_avb2.zip under TWRP

- C:\adb>fastboot flash vbmeta vbmeta.img
target reported max download size of 805306368 bytes
sending 'vbmeta' (4 KB)...
OKAY [ 0.008s]
writing 'vbmeta'...
OKAY [ 0.010s]
finished. total time: 0.018s

- fastboot boot MBTWRP_14-03-2021_CMI.img

It is not possible to mount the storage


Maybe someone have an idea?
 
Last edited:

manuelbianco

Senior Member
Sep 30, 2013
80
385

manuelbianco, I love you. This is awesome! Finally someone solving the TWRP problem on CMI. We should all donate money for your efforts! Any patreon or paypal link to send you a beer or dinner?​

Thanks
 

kettly1260

New member
Apr 18, 2019
1
0
Hello, I can decrypt it directly after flashing in, but it can’t be decrypted normally after updating the flashing package. What should I do with this?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 5
    Team Win Recovery Project 3.x, or twrp3 for short, is a custom recovery built with ease of use and customization in mind. Its a fully touch driven user interface no more volume rocker or power buttons to mash. The GUI is also fully XML driven and completely theme-able. You can change just about every aspect of the look and feel.

    Code:
    Code:
    /*
    *
    * 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.
    *
    */


    Features:
    - Decryption work
    - Otg work
    - Vibrator
    - Zip Flash
    - Mtp/adb
    - F2FS support
    - Fastbootd
    - Adb sideload
    - Backup restore and image flash

    Not working:
    -Tell me

    INSTALLATION:
    1. Download the TWRP image file to your PC.
    2. Put your device into fastboot.
    3. Type the following command to flash the recovery:-

    Code:
    fastboot flash recovery "name_of_recovery.img"

    4. On installation of TWRP , to boot the recovery do:-

    Code:
    fastboot boot "name_of_recovery.img"
    The device will automatically reboot into TWRP.

    5-A. You are using Xiaomi.eu Miui or custom Rom?
    You can enjoy with a functional Data Decrypt

    5-B You are using Miui EEA - Global -Cn or any custom rom that doesn't ship custom vbmeta.

    6. Download this zip, copy by pc or using otg and flash this zip that will prevent twrp replacing.​
    7. 7. Download VbMeta and flash by fastboot​
    Code:
    fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img"
    7. Reboot into twrp (Take longer Time)
    Code:
    fastboot boot "name_of_recovery.img"
    8. Format Data and Reboot​

    NOTES:
    By Command fastboot boot, recovery will decrypt everytimes you need, also with Global Rom and without patched vbmeta.

    Download:
    TWRP
    VbMeta
    (Version tag will follow vendor, a lower version tag than your vendor does not mean that recovery will not work)

    Donation:
    PayPal: paypal.me/manuelbiancodev

    Kernel Source: Prebuilt kernel extracted from https://bigota.d.miui.com/V12.2.6.0.RJBMIXM/miui_UMIGlobal_V12.2.6.0.RJBMIXM_2bd819937d_11.0.zip

    Telegram Group: @MBsRoom
    2
    New Release!
    -Merged 3.5.1 teamwin recovery changes
    -Cleaned and ordered twrp flags
    -Support to system_ext ro mount
    -Improvements into usb managing
    2
    New Release!
    -Merged teamwin recovery changes
    -Workaround for mtp after format data
    (After format data, reboot to recovery, now mtp is working, unmount data and re-mount data or reboot to recovery to flash or manage data files)
    1
    New instructions for eea and global miui user, post updated
    1
    Twrp 3.5.2 Released !