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

Search This thread

mankokoma

Senior Member
Dec 28, 2010
802
319
Berlin
  • Like
Reactions: geoanto555

valenhz

New member
Feb 26, 2021
3
0
that one by @geoanto555 works for Gingko:
just tried it, decryption not working for me😭, thank u anyway
 

Primezoop

New member
Nov 17, 2015
3
0
I'm trying to install the new magisk but it has a different process and it looks like I will have to patch my recovery.img file. I'm not sure if this relates to TWRP or my rom, ressurection remix. I'm guessing TWRP but I'm not sure where to find that file. Could someone help me out? I'm not sure where to start. Thank you so much
 

MichaelMay

Senior Member
Nov 15, 2020
131
53
I'm trying to install the new magisk but it has a different process and it looks like I will have to patch my recovery.img file. I'm not sure if this relates to TWRP or my rom, ressurection remix. I'm guessing TWRP but I'm not sure where to find that file. Could someone help me out? I'm not sure where to start. Thank you so much

I use the 3.4A9 version from geoanto555, I just renamed the magisk*.apk file to magisk*.zip and flashed it. Once booted it did some additional setup and that was it.
 
  • Like
Reactions: geoanto555

Freizer_G

New member
Sep 8, 2020
2
2
Nakuru
Hi have been using twrp and updated magisk to version 22.0 when I reboot phone goes back to the device is destroyed. Flashing twrp and vbmeta again give a feedback

target didn't report max-download-size
Failed (Command write failed (No error))

Need some help!!
 

Attachments

  • tmp-cam-1091515468170172019.jpg
    tmp-cam-1091515468170172019.jpg
    1.4 MB · Views: 52
Last edited:

Freizer_G

New member
Sep 8, 2020
2
2
Nakuru
Hi have been using twrp and updated magisk to version 22.0 when I reboot phone goes back to the device is destroyed. Flashing twrp and vbmeta again give a feedback

target didn't report max-download-size
Failed (Command write failed (No error))

Need some help!!
Found a fix.
Update windows adb composite drivers and fastboot drivers, If running windows 7 like me update all Android drivers from the web.
Flash orange fox recovery.img file then flash vbmeta.img
Boot to recovery with volume up button and power button. NB: do not use fastboot boot recovery command this returns to system is destroyed screen!!!
In orange fox recovery flash twrp.img latest version. It will reboot to twrp automatically.
In twrp flash any older version of magisk preferably any 21. version and safely wait for another update. The 22.0 version patches both boot and recovery files.
Tried it 3 times before posting. Thanks guys.
 
  • Like
Reactions: drdtyc and wsdyleon

wsdyleon

Senior Member
Feb 2, 2012
592
43
Found a fix.
Update windows adb composite drivers and fastboot drivers, If running windows 7 like me update all Android drivers from the web.
Flash orange fox recovery.img file then flash vbmeta.img
Boot to recovery with volume up button and power button. NB: do not use fastboot boot recovery command this returns to system is destroyed screen!!!
In orange fox recovery flash twrp.img latest version. It will reboot to twrp automatically.
In twrp flash any older version of magisk preferably any 21. version and safely wait for another update. The 22.0 version patches both boot and recovery files.
Tried it 3 times before posting. Thanks guys.
good tips
 
  • Like
Reactions: Freizer_G

MichaelMay

Senior Member
Nov 15, 2020
131
53
I love you! It's so simple! So many time searching an answare and it was so simple.
Just to note, this doesn't work for any of the problems with newer encryption or different encryption models.

Every ROM builder also builds a recovery with that ROM, it might be a pain in the arse to use it and you can't just flip ROM's with it but if you are having problems, don't blame the devs unless they didn't post the applicable recovery with the ROM.

I'm moving to the newer and better supported hardware file based encryption and for that you'll have to use my recovery. I'm building a TWRP as well but the code is so very old for that crap that I don't think it's useful anymore (same goes for orangefox and pitchblack).
 
  • Like
Reactions: predatorian

jakip61315

New member
Apr 14, 2021
4
1
Just to note, this doesn't work for any of the problems with newer encryption or different encryption models.

Every ROM builder also builds a recovery with that ROM, it might be a pain in the arse to use it and you can't just flip ROM's with it but if you are having problems, don't blame the devs unless they didn't post the applicable recovery with the ROM.

I'm moving to the newer and better supported hardware file based encryption and for that you'll have to use my recovery. I'm building a TWRP as well but the code is so very old for that crap that I don't think it's useful anymore (same goes for orangefox and pitchblack).
I for one, cannot wait for this recovery... Wonder how many devices you are gonna brick this time Mr. Meh.
 
  • Like
Reactions: NeoPreacher

helloyello

Senior Member
  • Feb 11, 2020
    89
    4
    Hi folks,

    I'm waiting for unlocking my boot loader from Xiaomi and considering to flash LOS 17.1 on my Note 8. Stumbled upon this thread and got worried now that I might not be able to use TWRP to backup/restore LOS 17.1 , since it's based on Android 10 and as I read in this thread, it looks like TWRP has issues with it.

    I have some other Samsung phone where I had to run some commands to fix the root partition after restoring LOS 17.1 with TWRP.

    Can someone confirm or provide more details over which TWRP image (if any) I should use that wold work fine with the official LOS 17.1 Note 8 - ginko from here:

    Thanks in advance!
     

    Uluru25

    Senior Member
    Nov 27, 2016
    79
    15
    Samsung Galaxy A6
    Redmi Note 8
    Hi folks,

    I'm waiting for unlocking my boot loader from Xiaomi and considering to flash LOS 17.1 on my Note 8. Stumbled upon this thread and got worried now that I might not be able to use TWRP to backup/restore LOS 17.1 , since it's based on Android 10 and as I read in this thread, it looks like TWRP has issues with it.

    I have some other Samsung phone where I had to run some commands to fix the root partition after restoring LOS 17.1 with TWRP.

    Can someone confirm or provide more details over which TWRP image (if any) I should use that wold work fine with the official LOS 17.1 Note 8 - ginko from here:

    Thanks in advance!
    Should be working with e. g. this recovery: twrp-3.4.0-10-ginkgo-mauronofrio.img. I am running Dark Joker's LOS18.1 which is Android 11. Join his telegram group if you feel unsure, he is very very helpful to answer questions (but as written above you should not expect issues with this recovery).
     
    • Like
    Reactions: helloyello

    Uluru25

    Senior Member
    Nov 27, 2016
    79
    15
    Samsung Galaxy A6
    Redmi Note 8
    Hi folks,

    I'm waiting for unlocking my boot loader from Xiaomi and considering to flash LOS 17.1 on my Note 8. Stumbled upon this thread and got worried now that I might not be able to use TWRP to backup/restore LOS 17.1 , since it's based on Android 10 and as I read in this thread, it looks like TWRP has issues with it.

    I have some other Samsung phone where I had to run some commands to fix the root partition after restoring LOS 17.1 with TWRP.

    Can someone confirm or provide more details over which TWRP image (if any) I should use that wold work fine with the official LOS 17.1 Note 8 - ginko from here:

    Thanks in advance!
    ... and if you chose LOS17.1 because it is named "official" whereas his LOS18.1 is named "unofficial" please consider his explanation (taken from his telegram channel):

    =====
    Once for all. Why there's no official 18.1?


    I am not providing LineageOS 18.1 official because I have to upstream 17.1 trees to 18.1 and I already did it and I have a bugless 18.1 since November 2020.

    Why I am not applying then? Because there is an issue since 17.1 preventing me to update blobs because there will be mismatch with our display hal resulting in bootloop. This can be solved by using BSP blobs but LineageOS won't allow using them and those are necessary to boot 18.1. Also keeping old display hal will make sources failing to build.

    Looking to new trees, currently used in 18.1 builds, we have a better notch cutout, a better performances, blobs (almost all) and kernel full updated to R and everything is perfect.

    Of course I want to bring the same support as official builds because I would happy to provide it for you and for me.
    So I made my own infrastructure with automatic builds and everything like official builds.

    The reason is not that I don't want to provide it, it's just a worth move to provide the best support you can have.
    ===

    In my experience LOS18.1 is very stable and well maintained.
     
    • Like
    Reactions: dxD7

    helloyello

    Senior Member
  • Feb 11, 2020
    89
    4
    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!
     
    Last edited:

    Top Liked Posts

    • There are no posts matching your filters.
    • 1
      Just to note, this doesn't work for any of the problems with newer encryption or different encryption models.

      Every ROM builder also builds a recovery with that ROM, it might be a pain in the arse to use it and you can't just flip ROM's with it but if you are having problems, don't blame the devs unless they didn't post the applicable recovery with the ROM.

      I'm moving to the newer and better supported hardware file based encryption and for that you'll have to use my recovery. I'm building a TWRP as well but the code is so very old for that crap that I don't think it's useful anymore (same goes for orangefox and pitchblack).
      I for one, cannot wait for this recovery... Wonder how many devices you are gonna brick this time Mr. Meh.
      1
      Hi folks,

      I'm waiting for unlocking my boot loader from Xiaomi and considering to flash LOS 17.1 on my Note 8. Stumbled upon this thread and got worried now that I might not be able to use TWRP to backup/restore LOS 17.1 , since it's based on Android 10 and as I read in this thread, it looks like TWRP has issues with it.

      I have some other Samsung phone where I had to run some commands to fix the root partition after restoring LOS 17.1 with TWRP.

      Can someone confirm or provide more details over which TWRP image (if any) I should use that wold work fine with the official LOS 17.1 Note 8 - ginko from here:

      Thanks in advance!
      Should be working with e. g. this recovery: twrp-3.4.0-10-ginkgo-mauronofrio.img. I am running Dark Joker's LOS18.1 which is Android 11. Join his telegram group if you feel unsure, he is very very helpful to answer questions (but as written above you should not expect issues with this recovery).
      1
      Hi folks,

      I'm waiting for unlocking my boot loader from Xiaomi and considering to flash LOS 17.1 on my Note 8. Stumbled upon this thread and got worried now that I might not be able to use TWRP to backup/restore LOS 17.1 , since it's based on Android 10 and as I read in this thread, it looks like TWRP has issues with it.

      I have some other Samsung phone where I had to run some commands to fix the root partition after restoring LOS 17.1 with TWRP.

      Can someone confirm or provide more details over which TWRP image (if any) I should use that wold work fine with the official LOS 17.1 Note 8 - ginko from here:

      Thanks in advance!
      ... and if you chose LOS17.1 because it is named "official" whereas his LOS18.1 is named "unofficial" please consider his explanation (taken from his telegram channel):

      =====
      Once for all. Why there's no official 18.1?


      I am not providing LineageOS 18.1 official because I have to upstream 17.1 trees to 18.1 and I already did it and I have a bugless 18.1 since November 2020.

      Why I am not applying then? Because there is an issue since 17.1 preventing me to update blobs because there will be mismatch with our display hal resulting in bootloop. This can be solved by using BSP blobs but LineageOS won't allow using them and those are necessary to boot 18.1. Also keeping old display hal will make sources failing to build.

      Looking to new trees, currently used in 18.1 builds, we have a better notch cutout, a better performances, blobs (almost all) and kernel full updated to R and everything is perfect.

      Of course I want to bring the same support as official builds because I would happy to provide it for you and for me.
      So I made my own infrastructure with automatic builds and everything like official builds.

      The reason is not that I don't want to provide it, it's just a worth move to provide the best support you can have.
      ===

      In my experience LOS18.1 is very stable and well maintained.
    • 66
      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
      14
      TWRP 3.3.1-8 Redmi Note 8 ginkgo/willow by mauronofrio:
      Added the fully support for redmi note 8t willow. (Now all is working)

      TWRP 3.3.1-8 Unofficial by mauronofrio

      p.s. sorry for the previous update
      11
      11
      TWRP 3.4.0-2 for Xiaomi Redmi Note 8 (ginkgo-willow) by mauronofrio:
      Fixed a recognition problem with a new willow version.

      TWRP 3.4.0-2 Unofficial by mauronofrio

      P.s. soon i will update also the official TWRP
      7
      Redmi Note 8 + TWRP Official 3.3.1.0 + MIUI 11.0.3.0 stable EU + Magisk 20.1 everything works fine.

      No factory reset, My steps after unlocked.
      - fastboot flash recovery twrp.img then boot TWRP
      - swipe to NOT read only. (/system can be modified)
      - format data then swipe to wipe data, cache (basic wipe) because i don't know the format data process also wipe cache or not.
      - flash EU ROM reboot recovery.
      - flash Magisk reboot recovery.
      - reboot system.
    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