[RECOVERY][3.4.0-10][ginkgo/willow]Off/Unof TWRP for Xiaomi Redmi Note 8/8T (Stable)

Search This thread

wsdyleon

Senior Member
Feb 2, 2012
594
43
@Uluru25

Thanks for the hints with the TWRP. As for LOS18.1, well, it looks like even 17.1 is too new for the available tools ;)
yes,the easiest way to solve “system destroyed” is flashing the fastboot rom。
yet,the best way to solve “system destroyed” is using “fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img” through android paltfrom
tools .then flash(unlocked)twrp,once your system has encrypted,your reboot will come to “system destroyed” or your twrp would be overwrite again,so i advise you boot twrp,and flash "disable dm verity forceencrypt 20201008.zip"and magisk.zip
 

Uluru25

Senior Member
Nov 27, 2016
95
20
Samsung Galaxy A6
Redmi Note 8
Well, I managed to soft brick the phone with twrp-3.4.0-10-ginkgo-mauronofrio.img ... System destroyed!

Phone is Xiaomi Note 8, recently bought, loaded from factory with: miui_GINKGOEEAGlobal_V12.0.6.0.QCOEUXM

I did the following:
- unlocked the boot loader by following Xiaomi's official Guides and Tools (had to wait 7 days)
- prepared a SDCard with the LOS17.1 zip image and the VBMETA PATCHER and inserted it into the phone
- flashed twrp-3.4.0-10-ginkgo-mauronofrio.img (fastboot) and restarted in recovery mode (TWRP)
- tried to apply the VBMETA PATCHER and got into a lot of errors - mainly permission & not found - a lot of red lines
- then I tried to create a backup from the Stock ROM by selecting all partitions (not only data & system), this one failed too with errors like:
E:Unable to decrypt FBE device
...
Updating partition details...
Error opening: '/data/misc/recovery' (Operation not permitted)
I:Real error: Unable to stat '/data/misc/recovery'
... ending with:
I:Error writing destination fd (Operation not permitted)
Backup Failed. Cleaning Backup Folder.
- then I tried to prepare for the LOS17.1 installation, while still in TWRP I went to Wipe > format data (again a lot of permission errors) - then in Advanced Wipe -> wipe: system & data & cache (again errors)
- next stage, I thought that the wiping wasn't actually successful and exited TWRP - restarting the phone, was considering to enter the stock Android Settings and disable encryption (I didn't know this wasn't possible).
- anyways, after the reboot the phone just entered "System destroyed!" and it didn't allow me to enter recovery again. Basically soft bricked.
- took the official Xiaomi MI Flasher and official Stock ROM miui_GINKGOEEAGlobal_V12.0.6.0.QCOEUXM and flashed the Phone
- all went well, but the boot loader got locked again, I had to unlock it (luckily I didn't need to wait for another 7 days)

Finally, I followed the LOS17.1 official guide:
- installed LOS17.1 recovery (fastboot)
- then started the phone in LOS17.1 recovery, went to Factory Reset, then Format data / factory reset - no errors!
- then installed the LOS17.1 zip image from the SDCard
- now I have LOS17.1 running and LOS17.1 recovery

Problem is, LOS17.1 recovery doesn't have a Backup/Restore function and I'd like to use TWRP.
With my latest experience, I'm not sure now if twrp-3.4.0-10-ginkgo-mauronofrio.img is actually working and looking for advice.

Thanks!
From my experience 3.4.0-10 will work. Your success was not because of using LOS-recovery but because of FORMATTING (!) /data in your second trial. Now you can flash the mauronofrio (or any other recovery) from within the recovery. Last point from my side. The first thing I do after having unlocked the bootloader (even before flashing magisk) is to let the phone normally boot, then rebooting into recovery and making a full backup of all partitions.
 

NEROVINCIO

Senior Member
Feb 7, 2012
140
13
Team Win Recovery Project 3.x, or twrp3 for short, is a custom recovery built with ease of use and customization in mind. Its a fully touch driven user interface no more volume rocker or power buttons to mash. The GUI is also fully XML driven and completely theme-able. You can change just about every aspect of the look and feel.

Code:
#include <std_disclaimer.h>
/*
*
* We are not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at us for messing up your device, we will laugh at you.
*
*/

Features:
- Decryption works
- Otg works
- Backups works
- Flash Rom works
- F2FS support
- Fastboot boot command support
- Compatibility.zip error fixed
- Willow fully supported
- Android 11 Decryption


Download:
TWRP 3.4.0-10 Unofficial by mauronofrio
TWRP 3.4.0-0 Unofficial by mauronofrio

TWRP 3.3.1-10 Unofficial by mauronofrio / Sourceforge
TWRP 3.3.1-9 Unofficial by mauronofrio / Mediafire
TWRP 3.3.1-8 Unofficial by mauronofrio
TWRP Official Builds
TWRP 3.3.1-5 Unofficial by mauronofrio
TWRP 3.3.1-2 Unofficial by mauronofrio

To Flash the TWRP:
if it's the first time you flash the TWRP or you are getting problems of TWRP lost or device doesn't boot after flashed magisk or something else you need to flash a script to patch your vbmeta:
VBMETA PATCHER
To flash the TWRP:
Code:
fastboot flash recovery twrp-3.3.1-xx-xxxxxx-mauronofrio.img
Then reboot in TWRP manually or using a fastboot command.
Code:
fastboot boot twrp-3.3.1-xx-xxxxxx-mauronofrio.img
or
Code:
fastboot oem reboot-recovery
Flash the VBMETA PATCHER and reboot.
REMEMBER: is important that from fastboot you directly go in TWRP mode or the TWRP will be overwritten.

Reccomended ADB and Fastboot binaries:

Adb and Fastboot Installer

Source code:
https://github.com/omnirom/android_bootable_recovery
https://github.com/mauronofrio/android_device_xiaomi_ginkgo
Using precompiled stock kernel

My Telegram TWRP Support Group:
https://t.me/twrp_Mauronofrio

Donations:



Credits:
Thanks to @ash4win for the first test

Created 2019-11-04



Hi, after fastboot flash recovery recovery.img and fastboot boot recovery.img (both appears in cmd as OKAY and with the finished time) it doesn't reboot into TWRP, and when I reboot manually (volume up + power) the phone enters in MI-recovery. I tried with orangefox too, but same results. how can I fix it?
 

wsdyleon

Senior Member
Feb 2, 2012
594
43
Hi, after fastboot flash recovery recovery.img and fastboot boot recovery.img (both appears in cmd as OKAY and with the finished time) it doesn't reboot into TWRP, and when I reboot manually (volume up + power) the phone enters in MI-recovery. I tried with orangefox too, but same results. how can I fix it?
unlocked,and make sure you succeed,then reboot into recovery manually
 

Enddo

Senior Member
Oct 31, 2013
1,994
850
Atlanta, Ga.
www.AndroidExplained.com
so what's going on with this phone/recovery?

I'm using the official TWRP documentation and it's not letting me access the data partition (encryption issue likely)

should I be using a different (unofficial) version of TWRP linked in the OP? I was just downloading the official binary and then using the instructions here but that doesn't seem to be working

can someone point to a post/thread explaining the steps that are CURRENT and up to date?

thank you in advance
 

Cristina.D.M

Member
  • Dec 31, 2020
    23
    1
    so what's going on with this phone/recovery?

    I'm using the official TWRP documentation and it's not letting me access the data partition (encryption issue likely)

    should I be using a different (unofficial) version of TWRP linked in the OP? I was just downloading the official binary and then using the instructions here but that doesn't seem to be working

    can someone point to a post/thread explaining the steps that are CURRENT and up to date?

    thank you in advance
    I have this issue too, and fix it with OrangeFox-ginkgo-stable.R11.0_1.zip.
    I dont recommand unofficial TWRP.

    Could you test sideload function?
    Coz I have tried twrp-3.5.2_9-0-ginkgo.img, twrp-3.5.1_9-0-ginkgo.img, OrangeFox-ginkgo-stable.R11.0_1.zip.
    None of them can start sideload.
     

    Enddo

    Senior Member
    Oct 31, 2013
    1,994
    850
    Atlanta, Ga.
    www.AndroidExplained.com
    I have this issue too, and fix it with OrangeFox-ginkgo-stable.R11.0_1.zip.
    I dont recommand unofficial TWRP.

    Could you test sideload function?
    Coz I have tried twrp-3.5.2_9-0-ginkgo.img, twrp-3.5.1_9-0-ginkgo.img, OrangeFox-ginkgo-stable.R11.0_1.zip.
    None of them can start sideload.
    I did try sideloading the verity disable zip file and it fails when trying to execute the script
     

    Enddo

    Senior Member
    Oct 31, 2013
    1,994
    850
    Atlanta, Ga.
    www.AndroidExplained.com
    So weird, I cant even start it on my phone.
    I was able to fastboot flash it to the recovery partition and then boot it using fastboot boot as well as the button combo after fastboot flash

    but yea, I'm just not able to decrypt the data. even attempting to format /data via that official TWRP build fails in the logs

    thanks for that tip. I'll check into that orange recovery build. is it linked here on XDA or do I need to google it?
     
    Last edited:

    Cristina.D.M

    Member
  • Dec 31, 2020
    23
    1
    I was able to fastboot flash it to the recovery partition and then boot it using fastboot boot as well as the button combo after fastboot flash

    but yea, I'm just not able to decrypt the data. even attempting to format /data via that official TWRP build fails in the logs

    thanks for that tip. I'll check into that orange recovery build. is it linked here on XDA or do I need to google it?

    google "orangefox recovery"
    using twrp to flash OrangeFox-ginkgo-stable.R11.0_1.zip
    or unzip the file with img extention, flash it by fastboot flash
     

    Enddo

    Senior Member
    Oct 31, 2013
    1,994
    850
    Atlanta, Ga.
    www.AndroidExplained.com
    google "orangefox recovery"
    using twrp to flash OrangeFox-ginkgo-stable.R11.0_1.zip
    or unzip the file with img extention, flash it by fastboot flash
    thanks again, was able to get it up and running yesterday

    Just extracted the img file and flashed it via fastboot (very easy)

    I wish official TWRP builds were more reliable (I've seen this type of stuff so often with Redmi/OnePlus phones and TWRP)
     
    • Like
    Reactions: zipalign

    Erik1

    Member
    Sep 29, 2007
    5
    1
    HTC Desire
    HTC One (m7)
    I also had these issues with official TWRP not being able to format/wipe and "System has been destroyed" after reboot.

    I got out of the destroyed message by extracting the contents of my ROM zip (Lineage 17.1), then with fastboot separately flashing the boot, dtbo and vbmeta, also flash the recovery again. One of these must have fixed the destroyed message. I was able to reboot to TWRP. Then disabled MTP before formatting data and wiping the other 3 partitions. No errors this time! After this i was able to flash my ROM and all is working now.
     

    zipalign

    Senior Member
    Sep 5, 2012
    895
    768
    ~$:
    thanks again, was able to get it up and running yesterday

    Just extracted the img file and flashed it via fastboot (very easy)

    I wish official TWRP builds were more reliable (I've seen this type of stuff so often with Redmi/OnePlus phones and TWRP)
    was struggling trying to permanently install TWRP in ginkgo.
    tried latest official TWRP and twrp-3.4.0-10-ginkgo-mauronofrio.img, but to no avail.

    I watched this YT tutorial you shared, it's easy AF and orangefox is marvelous.
    thanks!!
     

    Top Liked Posts

    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