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

Search This thread

koff75

New member
May 7, 2020
1
0
Hi there,

I have the latest custom version of TWRP : "twrp-3.3.1-16-Mi9SE.img" which working fine.
I would like to update MIUI from 11.0.2.0 to 11.0.3.0 for the patch security.
I downloaded the recovery image from the MI website, then I used TWRP to install the .zip file. OK.
I installed MAGISK. OK.
Result: Impossible to boot on the system. ==> It loads TWRP on each reboot...

Any ideas to boot directly on the system and not on TWRP ?

Thanks :)
 

R!ffRaff

Senior Member
Oct 21, 2019
222
41
thanks for your work, i have different devices, would it be possible to offer the stock theme? unfortunately I didn't find anything.
that shouldn't be a criticism either, it would be easy for me because of the habit.
 

chris5s

Senior Member
May 27, 2009
1,669
342
Scotland
Just want to say thanks for this. Haven't come across a TWRP recovery that's been so all encompassing and done so many things flawlessly. I like the way it's bundled with Magisk and works! Kudos @redispade

Peace
 

cthulhu79

Member
Jan 20, 2012
43
1
Hello.
I flash twrp-3.3.1-16-Mi9SE.img (fastboot flash recovery twrp-3.3.1-16-Mi9SE.img). At the same time, custom TWRP did not boot, but the stock recovery and system OS booted.
Then did (fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img).
Now always downloads "TWRP 3.3.1-16-Mi9SE by redispade". From it it is possible to execute "Power Off" and "Bootloader" ("Recovery" by itself, of course, too). System OS is not possible.
Files on sdcard (internal storage) were renamed as: 5u0WCOcxzOmR, FYMyGgroB

vbmeta.img downloaded from the link at https://forum.xda-developers.com/mi-9-se/how-to/guide-how-to-flash-twrp-gsi-roms-mi-9-se-t3939254 (https://drive.google.com/file/d/1-Np...w?usp=drivesdk)

Maybe this is due to encryption? I ask for help !!!
I have the same issue, following this thread!
 

gaberson

New member
May 23, 2020
1
0
error twrp to mi9se

hello, recently I installed twrp on my mi 9SE and when I pass the FIX so that it fixes it simply the following error: Update process ended with ERROR: 1 what i'm do?
 

R!ffRaff

Senior Member
Oct 21, 2019
222
41
installed the last version from here. the phone always only boots into recovery. clean installation of image and vbmeta does not work here. I also tried shrp - same problem. can anyone help?
 

atmauki

Member
Feb 15, 2013
47
21
Surakarta
installed the last version from here. the phone always only boots into recovery. clean installation of image and vbmeta does not work here. I also tried shrp - same problem. can anyone help?

1. Flash latest Q fastboot rom with miflash,
2. Flash recovery (twrp) & vbmeta then boot recovery
3. Wipe system, cache, dalvick
4. Format data
5. Reboot recovery
6. On recovery mode, copy your rom into your device(from otg or PC)
7. Reboot
 
Last edited:

R!ffRaff

Senior Member
Oct 21, 2019
222
41
had already done that yesterday and of course works. just do not understand why a weekly update breaks the whole system and it no longer boots. i tried the new version of twrp and sky hawk, bliss rom 13.05 & 22.05 - no chance. clean install does not work. the miui only solved the problem.

this has never happened to me in all the years. any ideas what it could have been?
 

Humpfrey

Senior Member
Jan 18, 2013
93
27
1. Flash latest Q fastboot rom with miflash,
2. Flash recovery (twrp) & vbmeta then boot recovery
3. Wipe system, cache, dalvick
4. Format data
5. Reboot recovery
6. On recovery mode, copy your rom into your device(from otg or PC)
7. Reboot

Had the same issue, just rebooting revovery all the time, no chance to start OS.
Just the solution above worked.

But will i have to set up a new phone everytime i´d like to update my phone to latest miui weekly?
i hope not..

even tried shrp recovery, makes no difference for me..

Cheers, and thank you for the solution above.
 

v.konvict

Senior Member
Dec 1, 2012
1,661
928
Mwanza
just to post this hear. had the issue of my gf phone booting into recovery only after 21-05 build update. nothing seemed to work to get it to boot so i tried everything.
i extracted the stock recovery and flashed it via fastboot then used the mi assistant option to flash latest stock q rom and eventually the phone booted up with 11.05 build and had to root again and flash the xiaomi.eu build i wanted. so now today they have released a new build am just worried if same thing will happen again or this is actually fixed with the latest recovery??

edit : can confirm the issue is still there
 
Last edited:

Humpfrey

Senior Member
Jan 18, 2013
93
27
Thank your for this information, so I won't update by now.
But what's the reason for this? Is it caused by wrong recovery or is it rom related?
 

atmauki

Member
Feb 15, 2013
47
21
Surakarta
Had the same issue, just rebooting revovery all the time, no chance to start OS.
Just the solution above worked.

But will i have to set up a new phone everytime i´d like to update my phone to latest miui weekly?
i hope not..

even tried shrp recovery, makes no difference for me..

Cheers, and thank you for the solution above.

If you just update to latest miui weekly, you only need wipe cache and dalvick then flash your update rom. I use miui eu weekly and update it every week.
 

sounknownyet

Member
Apr 4, 2019
21
1
1. Flash latest Q fastboot rom with miflash,
2. Flash recovery (twrp) & vbmeta then boot recovery
3. Wipe system, cache, dalvick
4. Format data
5. Reboot recovery
6. On recovery mode, copy your rom into your device(from otg or PC)
7. Reboot

Where can I get latest ROM compatible with miflash? It seems like grus rom types do not work.
 

mhoogveld

New member
Jun 14, 2020
2
1
1. Flash latest Q fastboot rom with miflash,
2. Flash recovery (twrp) & vbmeta then boot recovery
3. Wipe system, cache, dalvick
4. Format data
5. Reboot recovery
6. On recovery mode, copy your rom into your device(from otg or PC)
7. Reboot

I have tried these exact steps, but I'm still stuck in booting to recovery every time. I'm not sure how I can solve this. Am I missing a step or doing something wrong?

The 7 steps, as I have performed them, in more detail:
1. Flash latest Q fastboot rom with miflash
Downloaded latest official MIUI 11 fastboot ROM for Mi 9 SE from what appeared to be the most reliable source. https://c.mi.com/oc/miuidownload/detail?guide=2. (Source: https://c.mi.com/global/miuidownload/index)
After unpacking the 3Gb file named "grus_global_images_V11.0.2.0.QFBMIXM_20200310.0000.00_10.0_global_0fc5ca5acd.tgz", MiFlash would accept is and I flashed it to my phone (remember to choose "clean" and to bottom in MiFlash and not "clean_and_lock" so you don't have to unlock the bootloader again)
This resulted in my Mi 9 SE booting into a fresh stock MIUI 11. Always nice to know I can fall back to this again if all else fails...
2. Flash recovery twrp and vbmeta and boot into recovery
I flashed twrp-3.4.0 for Mi9SE from https://github.com/redispade/device_xiaomi_grus-twrp/releases
Code:
flashboot flash recovery twrp-3.4.0-0-grus.img
and (without reboot) flashed vbmeta.img from link in second post on https://forum.xda-developers.com/mi-9-se/how-to/guide-how-to-flash-twrp-gsi-roms-mi-9-se-t3939254 (again, the best matching source I could find)
Code:
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
Then rebooted by issuing
Code:
fastboot reboot
(could not find a better way to "boot recovery" from a phone in fastboot-mode)
The phone rebooted into recovery.
3. Wipe system, cache, dalvick
In TWRP: Main menu- > Wipe -> Advanced wipe. Checked Dalvik, Cache and System. Swiped to Wipe.
4. Format data
In TWRP: Main menu- > Wipe. Clicked the "Format Data" button (next to "Advanced Wipe") and confirmed.
5. Reboot recovery
In TWRP: Main menu- > Reboot -> Recovery
6. On recovery mode, copy your rom into your device(from otg or PC)
Once in TWRP again, copied MIUI 12 ROM from https://xiaomi.eu/community/threads/20-6-11.56171/ to phone by issuing
Code:
adb push xiaomi.eu_multi_MI9SE_20.6.11_v12-10.zip /data/
In TWRP: Main menu-> Install. Selected the ROM I had just uploaded in /data. Left the "Check zip signature" checked and "Reboot after install" unchecked. Swiped to install. (I've tried both with and without installing the TWRP app after the installation)
7. Reboot
Rebooted the phone from TWRP Main menu -> Reboot -> System

After this, it still just keeps rebooting to recovery (TWRP).
What am I missing here?
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 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