[grus][recovery] TWRP-3.4.0-0-Mi9SE

redispade

Senior Member
Apr 18, 2013
81
98
18
Tirana
Team Win Recovery Project [TWRP]


Latest version : 3.4.0-0-Mi9SE

Credits to https://github.com/kudProject for initial version device tree of this recovery.
Original kernel source: https://github.com/pengus77/kowalski-grus Thanks @pengus77
Source of modified kernel(included in TWRP): https://github.com/redispade/kowalski-grus

Remember to join the telegram group for support:
https://t.me/GrusFamily
Ensure to read all the instructions. The download link is at the end for those who already know them.
You've been warned :)

Changelog :
* twrp-3.4.0-0-Mi9SE:
Update kernel to Kowalski kernel r2.2.0-grus
Reverted to default(colored) theme
Updated some libs from China stable 11.0.3.0
Twrp version 3.4.0

- Include latest twrp code changes from 18 May to 06 Jun 2020 https://gerrit.twrp.me/q/status:merged

Older changelogs on github


Flash using existing twrp or in fastboot using command:
Code:
 fastboot flash recovery twrp-PUTVERSIONHERE-Mi9SE.img
Install vbmeta.img (only if it reboots to fastboot)
Code:
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
REMEMBER TO NEVER USE "fastboot boot recovery.img"
it breaks encryption and a data format is needed

Download Link :
GitHub
 
Last edited:

shisaya24

Senior Member
Mar 10, 2013
183
41
28
Until now most people recommended the Chinese twrp for muiu Roms, and another one for gsi or non-MIUI Roms.

Is your twrp capable of dealing with both?

And what about encryption... Do I still need to format internal storage when I switch from MIUI to custom Rom or from one MIUI to another (for example, from xiaomi.eu to Masik MIUI)?

Thanks in advance for your time answering my questions :)
 
  • Like
Reactions: Fransis88

redispade

Senior Member
Apr 18, 2013
81
98
18
Tirana
I am currently using this with xiaomi.eu rom
The internal storage encryption problem is due to the kernel security date. If you install a kernel (or rom or recovery containing a different kernel from what you have)with higher security patch than what you actually have, the encryption keys get automatically updated and you can decrypt that storage only with that kernel. With TWRP this is not an issue, as long as you don't use the fastboot boot command. Anyway, in this recovery there are included zips to backup and restore internal storage to usb_otg so you can backup everything if switching roms. Always remember to copy TWRP backups out(or backup directly to usb_otg) because these scripts do not backup TWRP folder.
 

guacianiero

Member
Jul 15, 2012
49
1
28
I am currently using this with xiaomi.eu rom
The internal storage encryption problem is due to the kernel security date. If you install a kernel (or rom or recovery containing a different kernel from what you have)with higher security patch than what you actually have, the encryption keys get automatically updated and you can decrypt that storage only with that kernel. With TWRP this is not an issue, as long as you don't use the fastboot boot command. Anyway, in this recovery there are included zips to backup and restore internal storage to usb_otg so you can backup everything if switching roms. Always remember to copy TWRP backups out(or backup directly to usb_otg) because these scripts do not backup TWRP folder.
backup doesn't work for me. also this version does not read the internal partition and from error. how can i solve? both backup and recovery are essential for me
 

redispade

Senior Member
Apr 18, 2013
81
98
18
Tirana
backup doesn't work for me. also this version does not read the internal partition and from error. how can i solve? both backup and recovery are essential for me
Read the original post once again. Internal storage cannot be backed up directly by twrp. But you can find the scripts that I made in advanced -> tools

Sent from my Mi 9 SE using Tapatalk
 

guacianiero

Member
Jul 15, 2012
49
1
28
Read the original post once again. Internal storage cannot be backed up directly by twrp. But you can find the scripts that I made in advanced -> tools

Sent from my Mi 9 SE using Tapatalk
sorry, but what is the problem ?. I've never had this problem with other xiaomy cell phones. Through scripts I can backup and restore?
 

redispade

Senior Member
Apr 18, 2013
81
98
18
Tirana
Twrp does not have official support to backup internal storage. Our device does not have sdcard. Standard backup works perfectly Screenshot_2019-07-19-10-42-07.jpg

Sent from my Mi 9 SE using Tapatalk
 

redispade

Senior Member
Apr 18, 2013
81
98
18
Tirana
sorry again. But how standard backup works. I use the script and I need an otg usb adapter? If I connect the phone directly to the PC with cable in recovery it does not recognize it
Exactly, your pc is not usb otg. On your pc just copy files to a folder

Sent from my Mi 9 SE using Tapatalk
 

redispade

Senior Member
Apr 18, 2013
81
98
18
Tirana
Definitely not recovery problem. I backed up all and flashed xiaomi.eu release today with that. Everything smooth

Sent from my Mi 9 SE using Tapatalk