[RECOVERY][UNOFFICIAL][3.5.0][apollo]TWRP for Mi 10T/Mi 10T Pro/Redmi K30S Ultra

Search This thread

Desmanto

Senior Member
Apr 2, 2014
417
448
Xiaomi Mi 10T / 10T Pro
COULD U MAKE ONE GUIDE THREAD FOR THE NOOB LIKE ME ?
THANKS IN ADVANCE
The one here :
Is quite complete already. But stop at step 12 if you want to stay on MIUI. I still haven't tried cusrom yet in MI 10T pro, so can't speak from own experience.

But one thing for sure, is to prepare the full recovery ROM and fastboot ROM before doing. So in the worst case, you still can flash it to restore back your original ROM. Prepare USB OTG too as precaution.

You can find those ROM based on your model region here :
 
What have you done?

I face the same problem because I update full zip recovery from MIUI 12.0.4.0 (A10) to 12.1.1.0 (A11). I simply do backup and then flash the zip and flash magisk. Got this problem.

After I flash back original boot.img (extracted from recovery/fastboot rom) from fastboot, then it boot normally, but lose the root (and magisk). Someone told me that it is because I don't disable magisk module before flashing, causing the partition to be dirty when updating.

I don't know that yet, so I ended up flashing fastboot rom A10 (still can't boot) and factory reset data to clear all the dirty partition. In your case, you probably stucked also. You can only flash original boot.img to boot normally. Backup your data as needed, then do a factory reset (probably have to reset from original recovery) to clear all the partition. Then you can try to boot TWRP and root again using magisk, and then restore your data as needed.


MTP is working as long as your partition is not stuck just like above. It seems you have to wipe data after flashing any ROM, as the remnant from previous ROM will get it to bootloop.
I flash the rom using twrp directly on stock version without update. Could be this the issue?
 

Desmanto

Senior Member
Apr 2, 2014
417
448
Xiaomi Mi 10T / 10T Pro
I flash the rom using twrp directly on stock version without update. Could be this the issue?
What ROM? A11 based ROM? Because it seems this error only appear on A11 based ROM.

Do you factory reset/wipe after flashing the ROM? Try to follow the instruction specific to that ROM. I still stay on MIUI, currently fine with it after disabling many stuff.
 

Desmanto

Senior Member
Apr 2, 2014
417
448
Xiaomi Mi 10T / 10T Pro
I flash xiaomi.eu and i have done format data before flash
I don't what's wrong with the Xiaomi.eu ROM, but it seems there are several others who get the same boot stuck problem. Or maybe it must be region specific. What is your Mi 10T model (europe, global, or which one?) and which xiaomi.eu ROM version did you flash?

You can try other ROM to see if the ROM is the root cause.
 

SaherSamir

Member
Apr 9, 2020
9
2
1. format data;
2. reboot to twrp;
3. wipe cache/dalvik cache
4. flashing rom file
5. rebooting to system and finish all setup
6. rebooting to twrp and enter the password you setup and checking whether it decrypt your data partition

If you don't want to key-in password when entering twrp; the steps you should do so
1. format data;
2. reboot to twrp;
3. wipe cache/dalvik cache
4. flashing rom file
5. flash DFE(https://zackptg5.com/downloads/Disable_Dm-Verity_ForceEncrypt_11.02.2020.zip)
5. rebooting to system and finish all setup
6. rebooting to twrp and checking whether you need to key-in password(It should be no)

Good luck !
Thank you dear
I followed the instructions and working fine now
 
I don't what's wrong with the Xiaomi.eu ROM, but it seems there are several others who get the same boot stuck problem. Or maybe it must be region specific. What is your Mi 10T model (europe, global, or which one?) and which xiaomi.eu ROM version did you flash?

You can try other ROM to see if the ROM is the root cause.
I have bought eu model and i flash last weekly bro
 

dusko_m

Senior Member
Aug 10, 2010
171
29
Xiaomi Mi 10T / 10T Pro
I am doing something wrong. :confused: After flashing this recovery and formating of sdcard i can confirm that i have read access to sdcard partition. After flashing PixelExpirience, rebooting into recovery results in sdcard partition being encrypted and non readable. I format data again, wipe cache, flash *.zip to disable forced encryption. boot, reboot to recovery and voila, sdcard again not mounted and unredble. in android, it says that phone is encrypted

what is interesting, if I boot same recovery through "fastboot boot", recovery succeeds in "decrypting with default password" and sdcard partition is again readable

wft is "default password"?

in the meantime, phone is operating with PixelExpirience without any issues. boots, reboots... only, I can not perform OTA update since sdcard is not accessible from recovery
 
  • Like
Reactions: gdgrozev

steven81ir

Senior Member
I am doing something wrong. :confused: After flashing this recovery and formating of sdcard i can confirm that i have read access to sdcard partition. After flashing PixelExpirience, rebooting into recovery results in sdcard partition being encrypted and non readable. I format data again, wipe cache, flash *.zip to disable forced encryption. boot, reboot to recovery and voila, sdcard again not mounted and unredble. in android, it says that phone is encrypted

what is interesting, if I boot same recovery through "fastboot boot", recovery succeeds in "decrypting with default password" and sdcard partition is again readable

wft is "default password"?

in the meantime, phone is operating with PixelExpirience without any issues. boots, reboots... only, I can not perform OTA update since sdcard is not accessible from recovery
I had exactly the same issue. Download 3.5.0_10-beta_1 twrp. Move it to your fastboot folder and rename it to recovery. Fastboot mode and flash and boot the recovery image file. First flash after boot with fastboot command. Now you should have access to your storage...
 

Top Liked Posts

  • There are no posts matching your filters.
  • 3
    What have you done?

    I face the same problem because I update full zip recovery from MIUI 12.0.4.0 (A10) to 12.1.1.0 (A11). I simply do backup and then flash the zip and flash magisk. Got this problem.

    After I flash back original boot.img (extracted from recovery/fastboot rom) from fastboot, then it boot normally, but lose the root (and magisk). Someone told me that it is because I don't disable magisk module before flashing, causing the partition to be dirty when updating.

    I don't know that yet, so I ended up flashing fastboot rom A10 (still can't boot) and factory reset data to clear all the dirty partition. In your case, you probably stucked also. You can only flash original boot.img to boot normally. Backup your data as needed, then do a factory reset (probably have to reset from original recovery) to clear all the partition. Then you can try to boot TWRP and root again using magisk, and then restore your data as needed.


    MTP is working as long as your partition is not stuck just like above. It seems you have to wipe data after flashing any ROM, as the remnant from previous ROM will get it to bootloop.
    COULD U MAKE ONE GUIDE THREAD FOR THE NOOB LIKE ME ?
    THANKS IN ADVANCE
    2
    COULD U MAKE ONE GUIDE THREAD FOR THE NOOB LIKE ME ?
    THANKS IN ADVANCE
    The one here :
    Is quite complete already. But stop at step 12 if you want to stay on MIUI. I still haven't tried cusrom yet in MI 10T pro, so can't speak from own experience.

    But one thing for sure, is to prepare the full recovery ROM and fastboot ROM before doing. So in the worst case, you still can flash it to restore back your original ROM. Prepare USB OTG too as precaution.

    You can find those ROM based on your model region here :
    2
    1. format data;
    2. reboot to twrp;
    3. wipe cache/dalvik cache
    4. flashing rom file
    5. rebooting to system and finish all setup
    6. rebooting to twrp and enter the password you setup and checking whether it decrypt your data partition

    If you don't want to key-in password when entering twrp; the steps you should do so
    1. format data;
    2. reboot to twrp;
    3. wipe cache/dalvik cache
    4. flashing rom file
    5. flash DFE(https://zackptg5.com/downloads/Disable_Dm-Verity_ForceEncrypt_11.02.2020.zip)
    5. rebooting to system and finish all setup
    6. rebooting to twrp and checking whether you need to key-in password(It should be no)

    Good luck !
    Thank you dear
    I followed the instructions and working fine now
    1
    It decrypts only if you use password. If you use pattern it doesn't work. Fastboot booting (not flashing) every twrp out there works properly, though
    Well, we talking about flashing and direct boot into recovery, if you don't want it then ok i guess
    PS: it work for pattern too, what are you talking about? I have the recovery flashed
    1
    Hi guys, i face this issue. Could it be solved?
    What have you done?

    I face the same problem because I update full zip recovery from MIUI 12.0.4.0 (A10) to 12.1.1.0 (A11). I simply do backup and then flash the zip and flash magisk. Got this problem.

    After I flash back original boot.img (extracted from recovery/fastboot rom) from fastboot, then it boot normally, but lose the root (and magisk). Someone told me that it is because I don't disable magisk module before flashing, causing the partition to be dirty when updating.

    I don't know that yet, so I ended up flashing fastboot rom A10 (still can't boot) and factory reset data to clear all the dirty partition. In your case, you probably stucked also. You can only flash original boot.img to boot normally. Backup your data as needed, then do a factory reset (probably have to reset from original recovery) to clear all the partition. Then you can try to boot TWRP and root again using magisk, and then restore your data as needed.

    1.MTP not working
    2.rom flashing automatically reboot to recovery got boot loop
    device : Mi10t Pro 5g
    MTP is working as long as your partition is not stuck just like above. It seems you have to wipe data after flashing any ROM, as the remnant from previous ROM will get it to bootloop.
  • 16
    3.4.0_0 (07.11.2020)
    - Init twrp recovery
    - Decryption data
    - Vibration

    3.4.0_1 (08.11.2020)
    - Can flash twrp in recovery partition.

    3.4.0_2 (20.11.2020)
    - Fix permission denied on mount
    - Fix mtp not work after install ROM. (For me seem work)

    3.4.0_3 (21.11.2020)
    - Fix f2fs file system
    - Fix screenshots(in TWRP folder)
    - Adjust MTP device name
    - Resize GUI measures
    after wipe, I suggest you change filesystem to f2fs.

    -..


    3.4.0_10(07.12.2020)
    - /data filesystem to f2fs
    - Fix mtp after factory reset
    - Add some partition (flash .img)
    After working on TWRP for 2 weeks (without configuring the system), I finally found solution to resolve it.
    Now you can flash all roms as you have done usually

    3.5.0_10-beta_1(04.01.2021
    - Android 11 support
    - Android 11 data decryption
    - Add-on zips
    (install > select storage)
    - Add prevent twrp replace
    - Add OTA fingerprint
    Notice: in some case a11 data decryption won't work, i will fix it as soon as possible.

    Tips: after wipe data, I was set the default mtp directory to /data/media and after boot, the mtp directory will set /data/media/0.
    ----------------------------------------------------------------------
    Thanks every testers:
    @xingdu @GabSam @kimbo_985

    give me yours right id.
    ----------------------------------------------------------------------
    If you like my hard works, please buy me a coffee to keep me alive.:cry:
    PayPal
    ----------------------------------------------------------------------
    Blocking checks
    - [✔] Correct screen/recovery size
    - [✔] Working Touch, screen
    - [✔] Backup to internal/microSD
    - [✔] Restore from internal/microSD
    - [✔] reboot to system
    - [✔] ADB


    Medium checks
    - [❌] update.zip sideload
    - [✔] UI colors (red/blue inversions)
    - [✔] Screen goes off and on
    - [✔] F2FS/EXT4 Support, exFAT/NTFS where supported
    - [✔] all important partitions listed in mount/backup lists
    - [✔] backup/restore to/from external (USB-OTG) storage (not supported by the device)
    - [❌] backup/restore to/from adb (https://gerrit.omnirom.org/#/c/15943/)
    - [✔] decrypt /data
    - [✔] Correct date



    Minor checks
    - [✔] MTP export
    - [✔] reboot to bootloader
    - [✔] reboot to recovery
    - [✔] poweroff
    - [✔] battery level
    - [✔] temperature
    - [❓] encrypted backups
    - [❓] input devices via USB (USB-OTG) - keyboard, mouse and disks (not supported by the device)
    - [✔] set brightness
    - [✔] vibrate
    - [✔] screenshot
    14
    Code:
    /**
    * 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.
    **/

    Working:
    • Boot
    • Decryption data
    • Vibration
    • flash zip
    • Android 11 support
    • Ota update
    continue in #2 post

    Not working:
    • ADB sideload

    Supported devices:
    • Mi 10T (apollo)
    • Mi 10T PRO (apollopro)
    • Redmi K30S Ultra (apollo)
    I haven't tested on Mi 10T and K30S, but it should work


    We couldn't modify /system /vendor /product and /odm, caused by new type of partition, so if you want modify them, use magisk module instead.​

    Install guide:
    To boot (Reccomended):
    Code:
    fastboot boot <twrp.img>

    To recovery (Not Reccomended):
    Code:
    fastboot flash recovery <twrp.img>

    -----
    How can I pass file to device, if mtp not work s?
    You can use adb command, to push them.
    Code:
    adb push C:\<file>.zip /sdcard

    Where are the files, which i copied with mtp?
    Maybe you can find them in /data/media

    Can i flash twrp in recovery partition?
    Yes, you can flash since 3.5.0_10-beta 1. I provided prevent-twrp-replace (to keep twrp after reboot) and stock-fingerprint (for ota update).

    -----

    Download:

    Donation:

    Discussion:


    Code source:
    https://github.com/Whyle/android_device_xiaomi_apollo
    https://github.com/TeamWin/android_bootable_recovery
    -----
    Thanks:
    @mauronofrio and other twrp developer.
    6
    My brother installed the newest 3.5.0 beta on his mi 10t pro but the system Partition doesn't show up. Flashing the newest xiaomi EU fails. (Unable to mount/unable to open block device)

    Any ideas ?

    Edit: he managed to boot the rom after a few attempts. Seems like it was a recovery bootloop. But still weird, that the system Partition does not show up in twrp
    It's because google introduced dynamic partitioning a while ago. And TWRP just added support for it in 3.5 - basically super is a "master partition" containing system, vendor, and bunch of other partitions, and instructions on where is what. Without supported software such as magisk you can't really see those partitions. TWRP just added that few days ago, so expect it to work after a while...
    4
    For those who are trying to flash xiaomi.eu roms, here is what I did using this twrp:
    (I flashed this twrp)

    **i'm from global rom mi 10t (apollo)
    **Weekly eu rom is what I installed
    **Since I cannot format the system, I tried to dirty flashed the rom.

    1. Format data only (advance format)
    2. Flash rom zip file and wait until it's done.
    *You will notice that after flashing, if you will reboot into system, you will be stucked in bootlooping into twrp.
    *In twrp, go to "mount", you will also notice that you cannot mount data and system.
    Next step...
    3. Format data (not in advance format) and wait until it's successful
    4. Go back to "mount" and you will notice now that data was already mounted.
    5. Mount system and reboot. First boot will take at least 5 minutes to load.

    *Data decryption is working when you successfully flashed the eu rom.

    This worked for me like a charm. Hope this helps.
    3
    What have you done?

    I face the same problem because I update full zip recovery from MIUI 12.0.4.0 (A10) to 12.1.1.0 (A11). I simply do backup and then flash the zip and flash magisk. Got this problem.

    After I flash back original boot.img (extracted from recovery/fastboot rom) from fastboot, then it boot normally, but lose the root (and magisk). Someone told me that it is because I don't disable magisk module before flashing, causing the partition to be dirty when updating.

    I don't know that yet, so I ended up flashing fastboot rom A10 (still can't boot) and factory reset data to clear all the dirty partition. In your case, you probably stucked also. You can only flash original boot.img to boot normally. Backup your data as needed, then do a factory reset (probably have to reset from original recovery) to clear all the partition. Then you can try to boot TWRP and root again using magisk, and then restore your data as needed.


    MTP is working as long as your partition is not stuck just like above. It seems you have to wipe data after flashing any ROM, as the remnant from previous ROM will get it to bootloop.
    COULD U MAKE ONE GUIDE THREAD FOR THE NOOB LIKE ME ?
    THANKS IN ADVANCE
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone