New [ Weekly 9.12.19 ] [ Mi 9T ] Bootloop in recovery if I don't remove Forceencrypt


giodeluigi

Members
Oct 2, 2019
230
52
Hi devs, thank you for the update but I have this problem:
The latest two MI 9T builds bring the new official TRWP recovery but I get recovery bootloop after updating the rom.
In this official recovery is missing a command (RM Forceencrypt) which is needed in my case to let the phone boot on system normally.
So I had to flash back the old TWRP-3.3.1-1109-REDMI_K20-CN-wzsx150.img which has this command on it.
My question is:
why I need to remove both "Remove DMVerity" and "Remove Forceencrypt" to boot on system regularly?
Is it possible to do this command with official recovery?
Thanks for clarify and helping.
 

ingbrzy

Xiaomi.eu ROM leader
Staff member
Feb 11, 2012
10,945
322
because you removed /data encryption by yourself.. in default, its encrypted..
 

giodeluigi

Members
Oct 2, 2019
230
52
because you removed /data encryption by yourself.. in default, its encrypted..
Yes, I removed encryption some weekly builds ago as I found folders and files encrypted in TWRP.
Is there another way to make the system boot without removing it on every update?
 

LOLO9393

Members
Feb 8, 2016
3,217
322
Is the latest official TWRP for MI 9T able to manage encryption?
I just finish to install eu 9.12.19 with TWRP 1109 and after install the rom came UNecrypted.
Then I flashed the embedded TWRP from the rom file. It is OFFICIAL TWRP version from TWRP Team.
Once I rebooted it the rom was encrypted and I was called for pin pass entry.
That's fine for me.
In case you don't get the same situation after full install of the rom you should go to a clean one with format data.
see you
 

giodeluigi

Members
Oct 2, 2019
230
52
I just finish to install eu 9.12.19 with TWRP 1109 and after install the rom came UNecrypted.
Then I flashed the embedded TWRP from the rom file. It is OFFICIAL TWRP version from TWRP Team.
Once I rebooted it the rom was encrypted and I was called for pin pass entry.
That's fine for me.
In case you don't get the same situation after full install of the rom you should go to a clean one with format data.
see you
Thanks for answering, I don't use any PIN, my phone has no unlocking method.
Everytime I update the weekly rom I get bootloop in recovery until I install TWRP-3.3.1-1109-REDMI_K20-CN-wzsx150.img which let me remove Forceencrypt again so I am able to boot in system normally.
ingbrzy already answered me and I believe the issue started with an old TRWP recovery I had which not was able to decrypt encryption.
 

giodeluigi

Members
Oct 2, 2019
230
52
You need to set screen unlock password to be able decrypt data in TWRP..
So if I set an unlock password (PIN, is it right?) before I update to the next Weekly build of the rom, my phone should boot in system normally instead of going bootloop in recovery?
Are these things related?
 

ingbrzy

Xiaomi.eu ROM leader
Staff member
Feb 11, 2012
10,945
322
Nope.. You have to format data and set screen unlock pattern..