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

Search This thread

nJoy-Android

Senior Member
Feb 16, 2013
88
26
Failed to decrypt user 999...
What does it mean?
Is it possible, due dual-apps from Xiaomi?
IMG-20200815-WA0000.jpg
 
Last edited:

person66

Member
Dec 28, 2011
15
3
Hi
After flashing my mi 9 se with the latest twrp (twrp-3.4.0-1-grus) and vbmeta, it nows keeps booting on twrp
It cant boot on the main system anymore.
I read all this thread, did all the steps correctly, but still no luck
I tried to reflash twrp, then vbme, then the original rom (miui_GRUSEEAGlobal_V11.0.6.0.QFBEUXM_508141efd0_10.0.zip)
But still rebooting in twrp every time.
I dont know how to get it back
Any idea ?
Thanks :)

---------- Post added at 06:00 PM ---------- Previous post was at 05:18 PM ----------

ok, i got it back, despite i tried every thing.. except flash shrp (https://forum.xda-developers.com/mi-9-se/development/recovery-sky-hawk-recovery-project-t4046451)
instead of twrp :p
so :
reboot in fastboot
fastboot flash recovery shrp.img
reboot with power and volume+
boot in recovery on shrp > wipe > dalvik/cache/data/system/vendor
reboot recovery
format data
reboot recovery
copied the official grus rom zip file on the pĥone
from shrp install > select the zip file
finally reboot
and it's ok :)

Thank you so much. This was my first time unlocking/flashing anything on this phone (done it on other phones, but never xiaomi) and I could not figure out what I was doing wrong. Tried everything, including starting all over from scratch with MiFlash, and nothing worked. Turns out this version of TWRP (3.4.0-1) just doesn't work, at least not on my phone. It just constantly reboots back to recovery like you said. Switching to SHRP 2.2 fixed the problem, and everything worked properly right away! I'm not sure if older versions of TWRP would work or when this issue was introduced, but I think I'll just stick with SHRP until this problem is fixed.
 

ZduneX25

Recognized Themer
Nov 4, 2010
4,104
5,001
miuipolska.pl
Hi
After flashing my mi 9 se with the latest twrp (twrp-3.4.0-1-grus) and vbmeta, it nows keeps booting on twrp
It cant boot on the main system anymore.
I read all this thread, did all the steps correctly, but still no luck
I tried to reflash twrp, then vbme, then the original rom (miui_GRUSEEAGlobal_V11.0.6.0.QFBEUXM_508141efd0_10.0.zip)
But still rebooting in twrp every time.
I dont know how to get it back
Any idea ?
Thanks :)

---------- Post added at 06:00 PM ---------- Previous post was at 05:18 PM ----------

ok, i got it back, despite i tried every thing.. except flash shrp (https://forum.xda-developers.com/mi-9-se/development/recovery-sky-hawk-recovery-project-t4046451)
instead of twrp :p
so :
reboot in fastboot
fastboot flash recovery shrp.img
reboot with power and volume+
boot in recovery on shrp > wipe > dalvik/cache/data/system/vendor
reboot recovery
format data
reboot recovery
copied the official grus rom zip file on the pĥone
from shrp install > select the zip file
finally reboot
and it's ok :)

even after all those steps i still cannot pass to system, now its shrp that keep looping

EDIT: I fixed the problem using miflash, but i lost all data.
 
Last edited:

psydex

Senior Member
Nov 25, 2012
438
52
Plovdiv
mobers.org
Flashed this but got no twrp.
HTML:
sending 'recovery' (40264 KB)...
OKAY [  0.880s]
writing 'recovery'...
OKAY [  0.185s]
finished. total time: 1.081s
Mi Recovery boots instead...
What am I doing wrong?
 

kotsk

New member
Feb 18, 2013
4
0
Bontang
kotsk.wordpress.com
i've success with these steps:
1. flash "miui 12 grus_global_images_V12.0.2.0.QFBMIXM" by recovery or fastboot
2. fastboot flash recovery.img of shrp v2.3.1 (extract it from the zip file)
3. fastboot flash vbmeta.img
4. reboot to recovery mode manually --- pwr + vol down
5. wipe dalvik/cache, data, internal storage
6. flash "Disable_Dm-Verity_ForceEncrypt_03.04.2020.zip" (i forgot the link, plz googling)
7. reboot to recovery mode again
8. format data
9. reboot to recovery mode again
10. flash magisk
11. reboot to system

ps. twrp 3.4.0.1 not work -- bootloop to recovery
 
Last edited:

fatjoez

Senior Member
Feb 25, 2011
619
137
use this vbmeta...
This worked to unbrick my bootloop (recovery) after upgrading from android 10 to android 11 (xiaomi eu)

I only used this command:
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img

I didn't flash a zip file in recovery to disable verity.

Phone boots now
 
  • Like
Reactions: psydex

dav999

Member
Jan 30, 2013
20
1
This worked to unbrick my bootloop (recovery) after upgrading from android 10 to android 11 (xiaomi eu)

I only used this command:
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img

I didn't flash a zip file in recovery to disable verity.

Phone boots now

Hi mate,

what did you do to flash the MIUI based on android 11 on our phone?
juste dirty flash and reflash then the vbmeta, that's right?
I assume you didn't lost any data on the phone?

Cheers
David
 

fatjoez

Senior Member
Feb 25, 2011
619
137
Hi mate,

what did you do to flash the MIUI based on android 11 on our phone?
juste dirty flash and reflash then the vbmeta, that's right?
I assume you didn't lost any data on the phone?

Cheers
David

Just follow what I said above. Run that command. Phone boots. No format.
 

aytukabozs

Member
Oct 20, 2015
32
1
Budapest
i've success with these steps:
1. flash "miui 12 grus_global_images_V12.0.2.0.QFBMIXM" by recovery or fastboot
2. fastboot flash recovery.img of shrp v2.3.1 (extract it from the zip file)
3. fastboot flash vbmeta.img
4. reboot to recovery mode manually --- pwr + vol down
5. wipe dalvik/cache, data, internal storage
6. flash "Disable_Dm-Verity_ForceEncrypt_03.04.2020.zip" (i forgot the link, plz googling)
7. reboot to recovery mode again
8. format data
9. reboot to recovery mode again
10. flash magisk
11. reboot to system

ps. twrp 3.4.0.1 not work -- bootloop to recovery

In addition if anybody need it: https://androidfilehost.com/?fid=4349826312261749617
 

dav999

Member
Jan 30, 2013
20
1
Hi Guys,

I ****ed up....
I flashed 6. flash "Disable_Dm-Verity_ForceEncrypt_03.04.2020.zip"
But now i can't restart MIUI (stays on MIUI screen the last 15 minutes), which i understand, do we have any solution to force again encryption in order to start MIUI without format all data?

I ****ing mess up because I was stupidly following the tutorial without thinking to backup pictures before!

If anyone can help i would really appreciate

Cheers
David
 

HorstSch

New member
Oct 17, 2019
2
0
Can't access TWRP any more, any key combo ends in Fastboot

What I did: I used TWRP-3.4.0-2-Mi9SE to update grus to xiaomi.eu_multi_MI9SE_V12.5.1.0.RFBCNXM_v12-11.zip.
Success.
But I can't access TWRP anymore. I always end in Fastboot.

Whats wrong here?
 

dav999

Member
Jan 30, 2013
20
1
Can't access TWRP any more, any key combo ends in Fastboot

What I did: I used TWRP-3.4.0-2-Mi9SE to update grus to xiaomi.eu_multi_MI9SE_V12.5.1.0.RFBCNXM_v12-11.zip.
Success.
But I can't access TWRP anymore. I always end in Fastboot.

Whats wrong here?
Hi Mate,

Download this recovery:
twrp_grus-MI9SE_3.5.A9_07-03-2021_d-bl.img

And try this:
Code:
fastboot boot twrp_grus-MI9SE_3.5.A9_07-03-2021_d-bl.img

Should be fine, and BTW, this seems to be the only solution to boot and be able to decrypt data under Android 11

More infos: https://xiaomi.eu/community/threads/official-twrp-for-mi-9-se.58589/post-599211

Good luck
 

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    Latest official twrp-3.5.2_9-0 @ https://eu.dl.twrp.me/grus/
  • 31
    Team Win Recovery Project [TWRP]


    Latest version : 3.4.0-2-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:

    Q: Does this recovery work with <INSERT ROM NAME HERE>?
    A: I use Xiaomi.eu latest stable rom, the recovery is tested with that rom by me, and when released, everything should be working, unless stated otherwise. I don't support weekly roms(beta) and I can't test with other roms as Grus is my daily driver. For every other rom, use the Telegram group for support. You are welcome to report bugs, but expect no ETA.


    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-2-Mi9SE:
    Update kernel to Kowalski Kernel r2.2.14


    - Include latest twrp code changes from 02 Aug to 10 Nov 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

    Download Link :
    GitHub
    4
    Just some Info:
    Android has chandeg from FDE (full disc encryption) to FBE (file based encrytion) with the upgrade to Android 10.
    (src: https://source.android.com/security/encryption/file-based.html)

    That gave me headache in the earlier HTC M7/M9 and Mi MIX times years ago - maybe there is a quickwin possible by changing the recovery.fstab or twrp.fstab to a compatible FBE mode.

    Thanks for the help. The recovery was FBE compatible since the beginning, but it was missing the correct encryption flags in recovery.fstab
    Posted updated version in first page
    2
    It's working with MIUI, though. TWRP doesn't ask for password, but we can access data.
    2
    Posted update with official internal storage backup
    2
    I think all you have to do is flash twrp. You only flash vbmeta if you're stuck on fastboot. As you're on stock MIUI I don't think that'll happen.

    So, flash stock rom with mi flash tools, go to fastboot and flash this twrp, reboot to recovery (using power and vol up), install magisk and reboot to system.

    PS. If you use this recovery, you don't have to download magisk. Just go to advanced and there's an option to install magisk.
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