• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

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

Search This thread

comglorerate

Member
Jul 20, 2016
22
4
Yo también tuve esto.

La solución alternativa es realizar un arranque rápido o recuperar uno de estos.

prensa

Encendido + Bajar volumen = fastboot / bootloader
dispositivos fastboot para comprobar si el dispositivo se muestra


Encendido + Subir volumen = Recuperación
dispositivos adb para el mismo.

Déjame saber si funciona.
I already tried power button + volume down for Fastboot mode but when I connect to the pc it does not detect it. neither does any unknown device appear in the device manager option on the pc. The same happens with the power button + volume up, the pc also fails to detect anything. on the pc it does not indicate that the device is connected anywhere
 
I already tried power button + volume down for Fastboot mode but when I connect to the pc it does not detect it. neither does any unknown device appear in the device manager option on the pc. The same happens with the power button + volume up, the pc also fails to detect anything. on the pc it does not indicate that the device is connected anywhere
I am not sure for your case.

When it happened to me, I thought my device was bricked. But after few attempts i was able to Boot to recovery using volume up combination, then I sideloaded recovery again and it worked.

Keep trying.
 
Update: 12/09/2021
Changelog:

- Fixed Decryption on MIUI and Aosp Roms
- You Can now use TWRP with any version of MIUI(Xiaomi.eu or Stock)
- Added FastbootD ( Can Flash A12 Port)
- Can flash any rom Except arrow (Because of AES-Encryption)
- Updated Addon ( Thanks @risshhhiiii)



Credits:
@Dobsgw @Ramisky @sewa2k @Rumy786 @Superman_In_ur_garden @usmanov_ms @risshhhiiii and some i missed for helping and testing



Download | V1.1 :
Here | Mirror
 

j4ckyX

Member
May 31, 2021
10
2
I didn't test the wipe/format of data this time (no time to test atm). Mounting/Access to data is working now.

The only thing I'm still missing is the possibility to create a data backup. It is failing every time. But this is valid for whyle's TWRP also. The only TWRP I know which is able to backup data (for a nandroid backup of this devices) is geoanto's TWRP. So I will stick to it for this specific reason.
 
  • Like
Reactions: munteangabi

jenaplisken

Senior Member
Dec 2, 2008
377
107
I didn't test the wipe/format of data this time (no time to test atm). Mounting/Access to data is working now.

The only thing I'm still missing is the possibility to create a data backup. It is failing every time. But this is valid for whyle's TWRP also. The only TWRP I know which is able to backup data (for a nandroid backup of this devices) is geoanto's TWRP. So I will stick to it for this specific reason.
Booting this twrp (not flashing), i've done a complete nandroid backup without error. Miui eea 12.5.5.0
 

j4ckyX

Member
May 31, 2021
10
2
Booting this twrp (not flashing), i've done a complete nandroid backup without error. Miui eea 12.5.5.0
Hmm...
Didn't flash it either.
Xiaomi.eu Rom v21.7.28 Weekly/Beta @ Mi 10t pro. This might be the issue.
Anyway. It is working for Geoanto's TWRP and Orangefox as well.

Edit: Made a quick test right now. This time I took a screenshot. Maybe it helps to track the issue down.


mi10t-twrp.jpg


Edit2: recovery.log (last digits):

Code:
fscrypt_policy_get_struct::fep->version::0
found fscrypt policy '/data/mqsas/scout' - '0DK' - '8390a2a02587befe'
I:addFile '/data/mqsas/scout/app' including root: 1
  ==> set selinux context: u:object_r:mqsas_data_file:s0
fscrypt_policy_get_struct::fep->version::0
found fscrypt policy '/data/mqsas/scout/app' - '0DK' - '8390a2a02587befe'
I:addFile '/data/mqsas/scout/sys' including root: 1
  ==> set selinux context: u:object_r:mqsas_data_file:s0
fscrypt_policy_get_struct::fep->version::0
found fscrypt policy '/data/mqsas/scout/sys' - '0DK' - '8390a2a02587befe'
I:addFile '/data/mqsas/memory' including root: 1
  ==> set selinux context: u:object_r:mqsas_data_file:s0
fscrypt_policy_get_struct::fep->version::0
found fscrypt policy '/data/mqsas/memory' - '0DK' - '8390a2a02587befe'
I:addFile '/data/mqsas/memory/mem_shmem' including root: 1
  ==> set selinux context: u:object_r:mqsas_data_file:s0
I:addFile '/data/extm' including root: 1
  ==> set selinux context: u:object_r:extm_data_file:s0
fscrypt_policy_get_struct::fep->version::0
failed to lookup fscrypt tar policy for '/data/extm' - '1f6be2c2f373644f'
I:Error adding file '/data/extm' to '/data/media/0/TWRP/BACKUPS/xxxxxxx/2021-09-20--03-13-06/data.f2fs.win004'
Error creating backup.
I:ERROR tarList for thread ID 0
Error creating backup.
I:InfoManager saving '/data/media/0/TWRP/BACKUPS/xxxxxxx/2021-09-20--03-13-06/data.info'
createTarFork() process ended with ERROR: 255
Backup Failed. Cleaning Backup Folder.

Edit3: Might be relevant:


Last comment looks plausible to me. But I'm not going to delete system folders/users if other backups are working flawlessly. Btw. I'm not using multiple users profiles nor do I mess around with dual apps.
 
Last edited:

Jiehfeng

Member
Dec 10, 2015
7
2
Update: 12/09/2021
Changelog:

- Fixed Decryption on MIUI and Aosp Roms
- You Can now use TWRP with any version of MIUI(Xiaomi.eu or Stock)
- Added FastbootD ( Can Flash A12 Port)
- Can flash any rom Except arrow (Because of AES-Encryption)
- Updated Addon ( Thanks @risshhhiiii)



Credits:
@Dobsgw @Ramisky @sewa2k @Rumy786 @Superman_In_ur_garden @usmanov_ms @risshhhiiii and some i missed for helping and testing



Download | V1.1 :
Here | Mirror

Amazing work, thank you so much. Finally we can have twrp flashed and use it normally with decryption on stock firmwares. :D
 
  • Like
Reactions: Mohan41

jenaplisken

Senior Member
Dec 2, 2008
377
107
Hmm...
Didn't flash it either.
Xiaomi.eu Rom v21.7.28 Weekly/Beta @ Mi 10t pro. This might be the issue.
Anyway. It is working for Geoanto's TWRP and Orangefox as well.

Edit: Made a quick test right now. This time I took a screenshot. Maybe it helps to track the issue down.


View attachment 5414403

Edit2: recovery.log (last digits):

Code:
fscrypt_policy_get_struct::fep->version::0
found fscrypt policy '/data/mqsas/scout' - '0DK' - '8390a2a02587befe'
I:addFile '/data/mqsas/scout/app' including root: 1
  ==> set selinux context: u:object_r:mqsas_data_file:s0
fscrypt_policy_get_struct::fep->version::0
found fscrypt policy '/data/mqsas/scout/app' - '0DK' - '8390a2a02587befe'
I:addFile '/data/mqsas/scout/sys' including root: 1
  ==> set selinux context: u:object_r:mqsas_data_file:s0
fscrypt_policy_get_struct::fep->version::0
found fscrypt policy '/data/mqsas/scout/sys' - '0DK' - '8390a2a02587befe'
I:addFile '/data/mqsas/memory' including root: 1
  ==> set selinux context: u:object_r:mqsas_data_file:s0
fscrypt_policy_get_struct::fep->version::0
found fscrypt policy '/data/mqsas/memory' - '0DK' - '8390a2a02587befe'
I:addFile '/data/mqsas/memory/mem_shmem' including root: 1
  ==> set selinux context: u:object_r:mqsas_data_file:s0
I:addFile '/data/extm' including root: 1
  ==> set selinux context: u:object_r:extm_data_file:s0
fscrypt_policy_get_struct::fep->version::0
failed to lookup fscrypt tar policy for '/data/extm' - '1f6be2c2f373644f'
I:Error adding file '/data/extm' to '/data/media/0/TWRP/BACKUPS/xxxxxxx/2021-09-20--03-13-06/data.f2fs.win004'
Error creating backup.
I:ERROR tarList for thread ID 0
Error creating backup.
I:InfoManager saving '/data/media/0/TWRP/BACKUPS/xxxxxxx/2021-09-20--03-13-06/data.info'
createTarFork() process ended with ERROR: 255
Backup Failed. Cleaning Backup Folder.

Edit3: Might be relevant:


Last comment looks plausible to me. But I'm not going to delete system folders/users if other backups are working flawlessly. Btw. I'm not using multiple users profiles nor do I mess around with dual apps.
Try to see if you have this folder data/extm It's created by DualApps. I had the same problem. I deleted this folder and the next nandroid process finished without error.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    Update: 12/09/2021
    Changelog:

    - Fixed Decryption on MIUI and Aosp Roms
    - You Can now use TWRP with any version of MIUI(Xiaomi.eu or Stock)
    - Added FastbootD ( Can Flash A12 Port)
    - Can flash any rom Except arrow (Because of AES-Encryption)
    - Updated Addon ( Thanks @risshhhiiii)



    Credits:
    @Dobsgw @Ramisky @sewa2k @Rumy786 @Superman_In_ur_garden @usmanov_ms @risshhhiiii and some i missed for helping and testing



    Download | V1.1 :
    Here | Mirror

    Amazing work, thank you so much. Finally we can have twrp flashed and use it normally with decryption on stock firmwares. :D
    1
    Hi!
    I've flashed this recovery on my K30S Ultra, but touch is not responding. Tried both versions from this topic.
    Any solution?
    Thanks!
    Yeah people reported that. Will be fixed on A12 build.
  • 10
    1629015234149.png


    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
    • ADB Sideload
    Supported devices:
    • Mi 10T (apollo)
    • Mi 10T PRO (apollopro)
    • Redmi K30S Ultra (apollo)
    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.

    NOTE: Use BOOT COMMAND to Encrypt on MIUI. On AOSP you can directly flash.

    Install guide:
    To boot (Recommended if using MIUI Rom):
    Code:

    Code:
    fastboot boot <twrp.img>

    To recovery (Recommended if using AOSP Rom):
    Code:

    Code:
    fastboot flash recovery <twrp.img>

    Download: Here

    Device Source: https://github.com/mhmdeve/twrp_device_xiaomi_apollo
    TWRP Source:
    https://github.com/minimal-manifest-twrp

    Donate: Here

    Credits:
    @Whyle for base tree
    @akshat2012 for fixing Padding
    @usmanov_ms for testing
    @sewa2k for testing

    @apollocustom for testing
    7
    Update: 12/09/2021
    Changelog:

    - Fixed Decryption on MIUI and Aosp Roms
    - You Can now use TWRP with any version of MIUI(Xiaomi.eu or Stock)
    - Added FastbootD ( Can Flash A12 Port)
    - Can flash any rom Except arrow (Because of AES-Encryption)
    - Updated Addon ( Thanks @risshhhiiii)



    Credits:
    @Dobsgw @Ramisky @sewa2k @Rumy786 @Superman_In_ur_garden @usmanov_ms @risshhhiiii and some i missed for helping and testing



    Download | V1.1 :
    Here | Mirror
    2
    I didn't test the wipe/format of data this time (no time to test atm). Mounting/Access to data is working now.

    The only thing I'm still missing is the possibility to create a data backup. It is failing every time. But this is valid for whyle's TWRP also. The only TWRP I know which is able to backup data (for a nandroid backup of this devices) is geoanto's TWRP. So I will stick to it for this specific reason.
    Booting this twrp (not flashing), i've done a complete nandroid backup without error. Miui eea 12.5.5.0
    2
    Hi mhmdeveloper, will you support to modify system by file manager(TWRP) in the future?
    Thanks.
    1
    Okay I'll lookout