[RECOVERY][OFFICIAL][sagit] TWRP 3.2.2-0 for Xiaomi Mi 6

Search This thread

TheStrix

Recognized Developer
May 10, 2014
680
6,372
Mumbai
TheStrix.github.io
Team Win Recovery Project



WHAT IS TWRP?

Oh come on, you know what it is - don't try to fool me!
In case you're serious, though...

Team Win Recovery Project is a custom recovery for Android devices.
It allows you to back up and restore your data, flash custom ROMs to your device, repair broken file systems, and root your device.

Read more about TWRP here: https://twrp.me/about/

DOWNLOAD:
1) Install the TWRP app from the Play Store or grab the apk from our website
2) Open the app, agree to the terms, and enable root access
3) Select TWRP Flash
4) Search for your device and select the version you wish to download
5) Once the download is complete, select the file (it's usually in your downloads folder) and then Flash Recovery
OR:
Most devices can be updated quickly and easily within TWRP if you already have version 2.8.4.0 or higher installed
1) Download the latest version from our website on your device
2) Reboot to TWRP
3) Hit Install and tap the "Images..." button in the lower right
4) Browse to the location of the TWRP image on your device and select it
5) Select recovery from the partition list and swipe to flash
OR:
You can find more information and download links on our website.


FEATURES:
  • FBE Decryption support
  • MTP support
  • ADB root

SUPPORT:
Live support is available via #twrp on Freenode with your IRC client or just click this link.

CONTRIBUTIONS:
Gerrit for TWRP: http://gerrit.omnirom.org/
Gerrit for officially supported devices: http://gerrit.twrp.me/

XDA:DevDB Information
TWRP for Mi 6, Tool/Utility for the Xiaomi Mi 6

Contributors
TheStrix
Source Code: https://github.com/TeamWin


Version Information
Status: Stable

Created 2017-06-10
Last Updated 2018-07-07
 

TheStrix

Recognized Developer
May 10, 2014
680
6,372
Mumbai
TheStrix.github.io
FAQ

FAQ:

HOW DO I GET LOGS SO WHEN I COMPLAIN I'M NOT COMPLETELY IGNORED OR SHAMED BY OTHER USERS?

To get logs while in TWRP, you should connect your device to your PC and use adb.
adb pull /tmp/recovery.log
adb exec-out dmesg > dmesg.log

This will create 2 files in the directory your shell is currently in, recovery.log and dmesg.log. You will need to upload these somewhere such as a pastebin or Google Drive. You can also attach it to your XDA post (recommended!)

If you are having an operating system boot issue, you should gather a ramoops log instead. Do this while in TWRP after the failed boot:
adb exec-out "tar c /sys/fs/pstore 2>/dev/null" > pstore.tar


MY RECOVERY KEEP GETTING REPLACED WITH STOCK RECOVERY... WHAT KIND OF MAGIC IS THIS?

The file: /system/bin/install-recovery.sh present in stock system is responsible for that.
You can simply stop this from happening by deleting it or renaming it to install-recovery.sh.bak using any root explorer or via TWRP (Advanced -> File Manager).
 
Last edited:

ArcOnFire

Senior Member
Apr 15, 2011
418
54
Jakarta
Tried to restore from backup, This is the thing what I backed up :
1. Backup1 : boot, recovery, EFS
2. Backup2 : system, system image, data, cache

I tried to restore from backup2 first from failing the installation of China dev ROM. Wipe system, data, cache, dalvik, and do the backup.

It's booted okay (it uses the custom boot animation I picked), but at the end / near the end of the boot animation, there's low battery sound played, then the device is switched off.

Tried again to wipe everything, restore backup2, then backup1, I got the same "low battery" sound notification.

In the end I had to reflash Xiaomi.eu ROM and start fresh.

So what actually happened there?
 
Last edited:

TheStrix

Recognized Developer
May 10, 2014
680
6,372
Mumbai
TheStrix.github.io
TWRP 3.1.1-1 release:
  • Fixes the nandroid backup/restore issue
    (Notice: backups made using old recovery builds still won't restore fine)
  • Other updates

Also for some of you've have been wondering,
MY RECOVERY KEEP GETTING REPLACED WITH STOCK RECOVERY... WHAT KIND OF MAGIC IS THIS?

The file: /system/bin/install-recovery.sh present in stock system is responsible for that.
You can simply stop this from happening by deleting it or renaming it to install-recovery.sh.bak using any root explorer or via TWRP (Advanced -> File Manager).
 
  • Like
Reactions: Soni7037 and FuXiN

Top Liked Posts

  • There are no posts matching your filters.
  • 27
    Team Win Recovery Project



    WHAT IS TWRP?

    Oh come on, you know what it is - don't try to fool me!
    In case you're serious, though...

    Team Win Recovery Project is a custom recovery for Android devices.
    It allows you to back up and restore your data, flash custom ROMs to your device, repair broken file systems, and root your device.

    Read more about TWRP here: https://twrp.me/about/

    DOWNLOAD:
    1) Install the TWRP app from the Play Store or grab the apk from our website
    2) Open the app, agree to the terms, and enable root access
    3) Select TWRP Flash
    4) Search for your device and select the version you wish to download
    5) Once the download is complete, select the file (it's usually in your downloads folder) and then Flash Recovery
    OR:
    Most devices can be updated quickly and easily within TWRP if you already have version 2.8.4.0 or higher installed
    1) Download the latest version from our website on your device
    2) Reboot to TWRP
    3) Hit Install and tap the "Images..." button in the lower right
    4) Browse to the location of the TWRP image on your device and select it
    5) Select recovery from the partition list and swipe to flash
    OR:
    You can find more information and download links on our website.


    FEATURES:
    • FBE Decryption support
    • MTP support
    • ADB root

    SUPPORT:
    Live support is available via #twrp on Freenode with your IRC client or just click this link.

    CONTRIBUTIONS:
    Gerrit for TWRP: http://gerrit.omnirom.org/
    Gerrit for officially supported devices: http://gerrit.twrp.me/

    XDA:DevDB Information
    TWRP for Mi 6, Tool/Utility for the Xiaomi Mi 6

    Contributors
    TheStrix
    Source Code: https://github.com/TeamWin


    Version Information
    Status: Stable

    Created 2017-06-10
    Last Updated 2018-07-07
    24
    Download: twrp-3.2.1-internal-1-sagit.img

    TWRP built with omni android-8.1 branch.
    Added support for android 8.1 FBE decryption.
    Full TWRP device tree changes: https://gerrit.twrp.me/#/c/2898/


    PS: This is a test build, if everything is fine, change will be merged in upstream and you'll see updated build on official download page.
    16
    Update

    TWRP 3.2.1-1 now available for Xiaomi Mi 6 officially.
    Supports Android Oreo FBE decryption.
    Link is in OP.
    Thank you.
    15
    FAQ

    FAQ:

    HOW DO I GET LOGS SO WHEN I COMPLAIN I'M NOT COMPLETELY IGNORED OR SHAMED BY OTHER USERS?

    To get logs while in TWRP, you should connect your device to your PC and use adb.
    adb pull /tmp/recovery.log
    adb exec-out dmesg > dmesg.log

    This will create 2 files in the directory your shell is currently in, recovery.log and dmesg.log. You will need to upload these somewhere such as a pastebin or Google Drive. You can also attach it to your XDA post (recommended!)

    If you are having an operating system boot issue, you should gather a ramoops log instead. Do this while in TWRP after the failed boot:
    adb exec-out "tar c /sys/fs/pstore 2>/dev/null" > pstore.tar


    MY RECOVERY KEEP GETTING REPLACED WITH STOCK RECOVERY... WHAT KIND OF MAGIC IS THIS?

    The file: /system/bin/install-recovery.sh present in stock system is responsible for that.
    You can simply stop this from happening by deleting it or renaming it to install-recovery.sh.bak using any root explorer or via TWRP (Advanced -> File Manager).
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