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

Mareman

Member
Jan 14, 2016
35
10
28
Brno
@Whyle thank You for your work !


I have problem with BackUp, probably because I use dual applications (for MiHome application I need regions of China and Europe). When attempting a TWRP backup, it lists the need to decrypt the Xspace user (999), but the standard user's password does not work. How can I decrypt it and perform backup and restore?
 

Whyle

Senior Member
Mar 10, 2017
129
96
28
Italy
@Whyle thank You for your work !


I have problem with BackUp, probably because I use dual applications (for MiHome application I need regions of China and Europe). When attempting a TWRP backup, it lists the need to decrypt the Xspace user (999), but the standard user's password does not work. How can I decrypt it and perform backup and restore?
i also find some problem with it, i will try to resolve it. for moment i reccomenb u use miui buildi-n backup(Setting - about phone - backup and restore) or with Titanium Backup.
 

Mareman

Member
Jan 14, 2016
35
10
28
Brno
i also find some problem with it, i will try to resolve it. for moment i reccomenb u use miui buildi-n backup(Setting - about phone - backup and restore) or with Titanium Backup.
Thank you for answer. I understand the possibility of a second profile for an application as running a process under another user. However, I would expect the password hash to be used as for the primary user. That would make sense.
 

BlueMan_86

Senior Member
Jul 2, 2015
70
5
28
Novi Sad
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.

What magisk module to use so we can mount root/system partition...??? THX
Just want to place my gamepad *.kl file to system/usr/keylayout folder....
Also latest twrp not working at all on my Mi 10TPro 12.0.10.0(QJDEUXM) older version I did not check...
 
Last edited:
  • Like
Reactions: 17007501

calinorg

Senior Member
Mar 5, 2010
251
122
63
Belgrade
i installed it to recovery but it just goes back to default after boot?
That's because they didn't implement protection against stock recovery recovering itself, and that's present by default on all android 8+ devices (something called avb 2.0 or android verified boot) . That's why you fastboot boot twrp, not install until they make a proper twrp...
 
  • Like
Reactions: munteangabi

Tousief

Member
Dec 17, 2020
6
1
13
ADB SIDELOAD is working with this TWRP version (y)
Note: unzip and flash img ...
I have flashed it on Mi 10t pro, it is working but I did not get a chance to flash a zip file as I had already did it using Whyle's twrp. Can you please confirm if we can flash roms and magisk zips using this recovery, as the name on recovery says Redmi K30s ultra (it is a rebranded version of Mi10t not Mi10t pro). Please confirm.

Thanks in advance. I appreciate your hard work.
 
Last edited:

Tousief

Member
Dec 17, 2020
6
1
13
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

------------------------------------
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
Thanks Whyle for your awesome work. Can we expect an update to have fixed update zip sideload function? I see there is a recovery on this thread, which says to have ADB functions working, can it be implemented in your version?
 
  • Like
Reactions: munteangabi

Tousief

Member
Dec 17, 2020
6
1
13
I confirm.
My activites with wzsx twrp:
- dirty flash global rom
- flash Magisk
- backup
- adb sideload flash
- disable replace recovery


However, there is probably a problem with decrypting the 999 user for dual applications, as in whyle twrp :(
Thanks for confirming!