[Recovery][TWRP][OFFICIAL] for Mi A2 (jasmine_sprout)

Search This thread

Manish4586

Recognized Developer
Apr 22, 2016
190
359
Agartala
Team's Win Recovery Project 3.x, or TWRP3.x 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.

Cautious :-
Quote:
/*
* Your warranty is now void.
*
* 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.
*
*/

What's new in 3.1.1-0:

Backups will now include adopted storage keys (Dees_Troy)
Fixed an adb restore issue (bigbiff)
Fixed rebooting when no OS is present (Dees_Troy)
Fixed line wrapping in the GUI terminal (_that)
Updated TWRP source code to AOSP 7.1.2 (Dees_Troy)Updated TWRP source code to AOSP 7.1.2

What's new in 3.2.1-1:

* minui fixes (cryptomilk)
* Better android-8.0 compatibility in ROM trees (Dees_Troy)
* Fix missing library in android-8.0 (nkk71)
* Fix inconsistent SDCard naming (DevUt)
* Default to TWRP restore instead of adb backup restore to fix restore on fresh TWRP boot (jlask)

What's new in 3.2.0-0:

* Allow restoring adb backups in the TWRP GUI (bigbiff)
* Fix gzip backup error in adb backups (bigbiff)
* Fix a bug in TWRP's backup routines that occasionally corrupted backup files (nkk71)
* Better support for installing Android 8.0 based zips due to legacy props (nkk71)
* Support vold decrypt with keymaster 3.0 in 8.0 firmwares (nkk71)
* Decrypt of synthetic passwords for Pixel 2 (Dees_Troy)
* Support newer ext4 FBE policies for backup and restore in libtar (Dees_Troy)
* v2 fstab support (Dees_Troy)
* Bring TWRP forward to android 8.0 AOSP base (Dees_Troy)
* Various other minor bugfixes and tweaks

What's new in 3.3.0-0:

(Dees_Troy)
Detect mkfs.f2fs version to properly format on f2fs partitions (Dees_Troy)
Allow TWRP to use md5 and sha256 checksums for zip installs (bigbiff)
TWRP can use /data/cache/recovery and /persist/cache/recovery on AB devices with no cache partition (bigbiff)
Switch part of advanced menus in TWRP to use a listbox of options (Dees_Troy)
Use magiskboot to allow repacking boot images for installing TWRP (Dees_Troy with thanks to topjohnwu of course)

What's new in 3.3.1-0:

* Fix selinux issues during formatting - dianlujitao
* Various fixes for toybox and toolbox builds - CaptainThrowback and bigbiff
* Flash both A and B partitions when installing a recovery ramdisk - Dees_Troy
* Add option to uninstall TWRP app from /system - Dees_Troy
* Create digest for subpartitions - bigbiff

Code:
/*
Whats Working?
All paritions are mounting.
Can change Slot A/Slot B on twrp.
Add system_image mount point to flash system images.
Fixed MTP and OTG issues.
Fixed JDI Pannels issue on pie
Added Pie Support.
Fixed Pie permanent twrp.
Added Pie decryption support. (thanks to @[URL="https://4pda.ru/forum/index.php?showuser=6362530"]d4e8ede8f1f2[/URL])
Added Splash img support.
*/

Code:
Flashing Commands:

fastboot boot recovery.img


Downloads :TeamWin

Status : OFFICIAL
Created 2018-11-02
Last Updated 2019-06-24
 
Last edited:

? Mumu

Member
Jul 27, 2018
49
8
Another recovery ?

Hi Folk,

We got 4 available recovery as far as now but 100% get buggy for now.
I see many thanks : do someone have tested this Recovery for Mi A2 ? Do it can flash LOS on both slot A and B without failed ?

Thank for your enlightenment.
 

kishd

Senior Member
Oct 25, 2011
560
196
I updated my phone to the November beta and could not boot into this twrp as it did not recognize the device was encrypted. The temporary twrp from TingyiChen did work however. Had to wipe and install the October version to get everything back to normal. Will wait for the official release to test some more. Just a heads up to be aware that the next os update might cause some complications.
 

kishd

Senior Member
Oct 25, 2011
560
196
@Manish4586
I can confirm the latest security update breaks encryption detection by this twrp version. I just updated to the official ota for November and twrp loads but does not ask for the decryption pattern and thus the drive is not decrypted.
 

parduscix

Senior Member
Dec 11, 2015
65
54
It works well but It has encryption issue. I have a fix for this issue:

-find /vendor/etc/fstab.qcom file and replace line 10:
"
Code:
/dev/block/bootdevice/by-name/system     /                     ext4   ro,barrier=1,discard                             wait,resize,slotselect,verify
"
-reboot fastboot mode and run it:
"fastboot -w"
 
Last edited:
  • Like
Reactions: ItsMeShouko

riirezende

Senior Member
Nov 2, 2014
728
838
It works well but It has encryption issue. I have a fix for this issue:

-find /vendor/etc/fstab.qcom file and replace line 10:
""
-reboot fastboot mode and run it:
"fastboot -w"

This format userdata and others partitions
Totally useless.
Same of format data using TWRP
 
  • Like
Reactions: kishd

satti8893

Senior Member
Aug 20, 2011
310
43
Hyderabad
Thx man. Its working.
I booted into twrp and then flashed the installer zip which is i took from your sourceforge account.

Now im able to boot into recovery without fastboot. ??
 

Top Liked Posts

  • There are no posts matching your filters.
  • 53
    Team's Win Recovery Project 3.x, or TWRP3.x 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.

    Cautious :-
    Quote:
    /*
    * Your warranty is now void.
    *
    * 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.
    *
    */

    What's new in 3.1.1-0:

    Backups will now include adopted storage keys (Dees_Troy)
    Fixed an adb restore issue (bigbiff)
    Fixed rebooting when no OS is present (Dees_Troy)
    Fixed line wrapping in the GUI terminal (_that)
    Updated TWRP source code to AOSP 7.1.2 (Dees_Troy)Updated TWRP source code to AOSP 7.1.2

    What's new in 3.2.1-1:

    * minui fixes (cryptomilk)
    * Better android-8.0 compatibility in ROM trees (Dees_Troy)
    * Fix missing library in android-8.0 (nkk71)
    * Fix inconsistent SDCard naming (DevUt)
    * Default to TWRP restore instead of adb backup restore to fix restore on fresh TWRP boot (jlask)

    What's new in 3.2.0-0:

    * Allow restoring adb backups in the TWRP GUI (bigbiff)
    * Fix gzip backup error in adb backups (bigbiff)
    * Fix a bug in TWRP's backup routines that occasionally corrupted backup files (nkk71)
    * Better support for installing Android 8.0 based zips due to legacy props (nkk71)
    * Support vold decrypt with keymaster 3.0 in 8.0 firmwares (nkk71)
    * Decrypt of synthetic passwords for Pixel 2 (Dees_Troy)
    * Support newer ext4 FBE policies for backup and restore in libtar (Dees_Troy)
    * v2 fstab support (Dees_Troy)
    * Bring TWRP forward to android 8.0 AOSP base (Dees_Troy)
    * Various other minor bugfixes and tweaks

    What's new in 3.3.0-0:

    (Dees_Troy)
    Detect mkfs.f2fs version to properly format on f2fs partitions (Dees_Troy)
    Allow TWRP to use md5 and sha256 checksums for zip installs (bigbiff)
    TWRP can use /data/cache/recovery and /persist/cache/recovery on AB devices with no cache partition (bigbiff)
    Switch part of advanced menus in TWRP to use a listbox of options (Dees_Troy)
    Use magiskboot to allow repacking boot images for installing TWRP (Dees_Troy with thanks to topjohnwu of course)

    What's new in 3.3.1-0:

    * Fix selinux issues during formatting - dianlujitao
    * Various fixes for toybox and toolbox builds - CaptainThrowback and bigbiff
    * Flash both A and B partitions when installing a recovery ramdisk - Dees_Troy
    * Add option to uninstall TWRP app from /system - Dees_Troy
    * Create digest for subpartitions - bigbiff

    Code:
    /*
    Whats Working?
    All paritions are mounting.
    Can change Slot A/Slot B on twrp.
    Add system_image mount point to flash system images.
    Fixed MTP and OTG issues.
    Fixed JDI Pannels issue on pie
    Added Pie Support.
    Fixed Pie permanent twrp.
    Added Pie decryption support. (thanks to @[URL="https://4pda.ru/forum/index.php?showuser=6362530"]d4e8ede8f1f2[/URL])
    Added Splash img support.
    */

    Code:
    Flashing Commands:
    
    fastboot boot recovery.img


    Downloads :TeamWin

    Status : OFFICIAL
    Created 2018-11-02
    Last Updated 2019-06-24
    8
    Twrp now updated ?
    7
    Hi, twrp will get an official update soon with jdi fix and new version tag.


    Regards,
    Manish4586
    6
    As soon as i am able to fix keymaster issue on pie permanent twrp it will be rolled out. There's a test version though but its only for testing purpose and limited to A2 Twrp chat group.
    6
    TWRP modded for stock Pie December

    @Manish4586

    Stock december update won't boot into twrp, hangs or gives just a black screen.

    This is because twrp is still running the android 8.1 kernel and is not compatible with stock Pie December update.

    What I did to get it to boot:

    Took offical twrp, unpacked it.
    Took stock December's Magisk patched_boot, unpacked it.
    Replaced the zImage (kernel) inside the unpacked twrp split_img folder with the one from the unpacked patched_ boot & renamed it.
    Repacked twrp with new zImage.

    Bugs:

    Same as official (encrypted /data not supported)

    Download link: https://drive.google.com/open?id=1q1Y4U1lXbpT2zhck-MYSp1nU5KPzE-AX
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