FORUMS

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

177 posts
Thanks Meter: 360
 
Post Reply Email Thread
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 @d4e8ede8f1f2)
Added Splash img support.
*/
Code:
Flashing Commands:

fastboot boot recovery.img

Downloads :TeamWin

Status : OFFICIAL
Created 2018-11-02
Last Updated 2019-06-24
The Following 53 Users Say Thank You to Manish4586 For This Useful Post: [ View ] Gift Manish4586 Ad-Free
3rd November 2018, 05:59 PM |#2  
πŸ’‹ Mumu's Avatar
Member
Thanks Meter: 9
 
More
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.
3rd November 2018, 11:02 PM |#3  
kishd's Avatar
Senior Member
Thanks Meter: 197
 
More
Quote:
Originally Posted by πŸ’‹ Mumu

Hi Folk,

I see many thanks : do someone have tested this....

I have backed up and restored with this. It works well. Have not flashed any roms though.
The Following 2 Users Say Thank You to kishd For This Useful Post: [ View ] Gift kishd Ad-Free
4th November 2018, 06:59 AM |#4  
kishd's Avatar
Senior Member
Thanks Meter: 197
 
More
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.
The Following 2 Users Say Thank You to kishd For This Useful Post: [ View ] Gift kishd Ad-Free
5th November 2018, 05:07 PM |#5  
kishd's Avatar
Senior Member
Thanks Meter: 197
 
More
@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.
7th November 2018, 09:50 AM |#6  
Ironmaniaco's Avatar
Member
Flag Bento Gonçalves
Thanks Meter: 47
 
More
And, it seems in a near future that TWRP will be official to Mi A2 - https://github.com/TeamWin/android_d...xiaomi_jasmine

If you take a look at this repo, it's forked from the one that is the unofficial and linked on this thread.
27th November 2018, 01:40 PM |#7  
parduscix's Avatar
Member
Thanks Meter: 55
 
More
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"
The Following User Says Thank You to parduscix For This Useful Post: [ View ] Gift parduscix Ad-Free
28th November 2018, 04:03 AM |#8  
riirezende's Avatar
Senior Member
Thanks Meter: 840
 
Donate to Me
More
Quote:
Originally Posted by parduscix

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
The Following User Says Thank You to riirezende For This Useful Post: [ View ] Gift riirezende Ad-Free
26th January 2019, 08:45 PM |#9  
Member
Thanks Meter: 3
 
More
How to flash twrp I'm going in miA2. I have tried but failed no command show
14th February 2019, 06:27 AM |#10  
Manish4586's Avatar
OP Senior Member
Flag Agartala
Thanks Meter: 360
 
More
Quote:
Originally Posted by razahaider03

How to flash twrp I'm going in miA2. I have tried but failed no command show

unlock bootloader, then boot to fastboot and boot the recovery
14th February 2019, 06:29 AM |#11  
Manish4586's Avatar
OP Senior Member
Flag Agartala
Thanks Meter: 360
 
More
Quote:
Originally Posted by Ironmaniaco

And, it seems in a near future that TWRP will be official to Mi A2 - https://github.com/TeamWin/android_d...xiaomi_jasmine

If you take a look at this repo, it's forked from the one that is the unofficial and linked on this thread.

It's official now.
The Following 4 Users Say Thank You to Manish4586 For This Useful Post: [ View ] Gift Manish4586 Ad-Free
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes