FORUMS
Remove All Ads from XDA

[RECOVERY][X00T] Unofficial TWRP 3.3.1-0 [26-05-2019]

5,400 posts
Thanks Meter: 4,884
 
Post Reply Email Thread


This is basically a tl;dr thread.
I don't want to make a thread that everyone will lazy to read.

Team Win Recovery Project 3.x, or twrp3 for short, is a custom recovery built with ease of use and customization in mind. It's 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.

Disclaimer
Code:
/*
 * Your warranty is... still valid?
 *
 * I am 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 RECOVERY
 * before flashing it! YOU are choosing to make these modifications, and if
 * you point the finger at me for messing up your device, I will laugh at you.
 */
Requirements
  • ASUS ZenFone Max Pro (M1) ZB601/2KL (of course)
  • Unlocked bootloader, in either ways (official, unofficial)
  • Some knowledge on how to deal with your device... and patience.

Flashing Instructions
I assume you've done (very) basic steps on preparing to flash your device.
  1. Reboot device to bootloader. If device is powered off, press and hold Power + Volume Up button until ASUS logo with "FASTBOOT MODE" message appears.
  2. Under same directory as TWRP image and ADB/Fastboot executables (if ever required), type this command:
    Code:
    fastboot flash recovery twrp-3.x.x-y-X00T-YYmmdd.img
    Where x, y, and YYmmdd are version of TWRP you're going to flash.
  3. IMPORTANT: After flashing, immediately press and hold Power + Volume Down for about 10 seconds button to reboot to recovery.
  4. Swipe the option to allow modifications. This way, you'll trip Android Verified Boot (AVB) and it's required to flash no verity zip in order to be able to boot stock ROM.

Downloads
Webserver - CDN | OSDN | AndroidFileHost

Known Issues
  • None?

Special Thanks
  • Dees_Troy and everyone behind TWRP
  • shakalaca - base device tree used for older releases
  • Ankit Gourav - his work on whyred
  • Shivam Kumar Jha - person who kickstarted ZenFone Max Pro (M1) development
  • Everyone involved in testing numbers of test builds.

Device Sources

XDA:DevDB Information
Unofficial TWRP 3.x (X00T), Tool/Utility for the Asus ZenFone Max Pro M1

Contributors
krasCGQ
Source Code: https://github.com/KudProject/bootable_recovery


Version Information
Status: Stable
Current Stable Version: 3.3.1-0-20190526
Stable Release Date: 2019-05-26
Current Beta Version: 3.3.0-0-20190513
Beta Release Date: 2019-05-13

Created 2019-01-09
Last Updated 2019-05-26
The Following 51 Users Say Thank You to krasCGQ For This Useful Post: [ View ] Gift krasCGQ Ad-Free
9th January 2019, 03:30 PM |#2  
krasCGQ's Avatar
OP Recognized Contributor
Flag Kendari
Thanks Meter: 4,884
 
More
Some stuffs...
Another TWRP thread? Why?
I like to keep discussions about my builds separate. Moreover, the existing TWRP that already available on XDA before doesn't seem to be maintained anymore.

I flashed via fastboot but it always fails.
Check or change your cable, use other USB slot, or if needed try to flash recovery with USB connected to a hub.

Changelogs
twrp-3.3.1-0-X00T-20190526
  • Fixed stock ROM flashing due to missing prop
  • Fixed FDE decryption

twrp-3.3.1-0-X00T-20190525
  • Updated F2FS on kernel to 5.2-rc1
  • TWRP 3.3.1 + upstream changes

twrp-3.3.0-0-X00T-20190513
  • Updated base to android-9.0
  • Updated blobs from 16.2017.1903.050
  • Support for flashing unmodified stock firmware (please read notes!)
  • Rebased kernel to S050 source drop
  • Updated F2FS on kernel to 5.1-rc1
  • TWRP 3.3.0 + upstream changes

twrp-3.2.3-0-X00T-20190217
  • Now based on whyred official TWRP tree
  • Reverted kernel to stock-based as-released (S339) with F2FS upstream and sdFAT included
    (this should fix USB-OTG support while retaining support with latest f2fs-tools)
  • TWRP upstream changes

twrp-3.2.3-0-X00T-20190118
  • Pick more patches from LineageTWRP project
  • Updated f2fs-tools to latest development branch
  • Slight cleanup
  • TWRP upstream changes

twrp-3.2.3-0-X00T-20190115
  • ADB sideload fixed for everyone
  • f2fs-tools v1.12.0
  • Disabled Synaptics' firmware update driver entirely
  • Removed qcacld-3.0 from kernel
  • TWRP upstream changes

twrp-3.2.3-0-X00T-20190108
  • Removed ntfs-3g from recovery
  • Included several extra recovery keys
  • Updated kernel to S338-based
  • Disabled Synaptics' startup firmware update
  • TWRP upstream changes

twrp-3.2.3-0-X00T-20181231
  • Updated platform security patch override to 2018-11-01 (matches 338 firmware)

twrp-3.2.3-0-X00T-20181226
  • Imported more proprietary blobs from stock 337 firmware
  • TWRP upstream changes

twrp-3.2.3-0-X00T-20181224
  • Allow wiping vendor partition
  • 2nd CPU target set to Cortex-A73
  • Initial import of proprietary blobs from stock 337 firmware
  • Updated kernel to S337-based
  • TWRP upstream changes

twrp-3.2.3-0-X00T-20181215
  • Removed texfat and tntfs stock modules
  • Enabled DT2W

twrp-3.2.3-0-X00T-20181214
  • Rebased to shakalaca's tree
  • CPU target set to kryo
  • Updated platform security patch override to 2018-10-01 (matches 337 firmware)
  • Switched to my rebased kernel
  • TWRP upstream changes (android-9.0 branch)

twrp-3.2.3-0-X00TD-20181024
The Following 23 Users Say Thank You to krasCGQ For This Useful Post: [ View ] Gift krasCGQ Ad-Free
9th January 2019, 03:30 PM |#3  
krasCGQ's Avatar
OP Recognized Contributor
Flag Kendari
Thanks Meter: 4,884
 
More
Notes
  • "fastboot boot" command isn't supported by our bootloader. Don't ever try that. (blame ASUS/Huaqin)
  • I'll try to always keep this recovery updated especially when ASUS releases firmware update that also updates AOSP security patch. Security patch set in TWRP needs to match stock firmware used so TWRP can decrypt data partition. This isn't possible with current state as the bump is useless. :(

Unmodified Stock Firmware Support
With introduction of unmodified stock firmware support, I need to clear up some confusions you've if any. Notes below are copy-pasta from my post elsewhere:
Code:
Starting this build, recovery supports flashing stock firmware without modifying the updater-script. In order for it to be possible, ro.product.device has to be set to ASUS_X00TD.
This, however, breaks flashing of custom ROMs that check for either X00TD or X00T.
Simply supporting it doesn't mean that you can flash stock firmware directly; you need to be at least on stock when you flash the recovery, so required properties can be exported to /persist which then will be set on every recovery boot up.

Still not sure though, as some ROMs check for ro.product.device and then fallback to ro.build.product for matching devices.

Flashing incremental OTAs are supported but not recommended, since you'll most likely flash verity disabler at the minimum and get the flashing failed upon patching boot.
In plain text:
  1. The recovery has ro.product.device set to ASUS_X00TD that may break custom ROM flashing.
  2. You need to be on stock before booting the recovery for the first time, then afterwards you can flash any stock firmware.
  3. If you modify your system in any ways and don't have any system backup to restore, don't flash incremental OTAs.
The Following 16 Users Say Thank You to krasCGQ For This Useful Post: [ View ] Gift krasCGQ Ad-Free
9th January 2019, 04:42 PM |#4  
Senior Member
Flag Delhi
Thanks Meter: 95
 
More
size is almost half from official recovery ?
9th January 2019, 04:47 PM |#5  
Tianhe's Avatar
Senior Member
Thanks Meter: 125
 
More
I have been using official TWRP 3.2.3.0 since last 2-3 FW updates and haven't faced any problem. However, it's good to have a specific updated TWRP for 601KL.
9th January 2019, 05:30 PM |#6  
krasCGQ's Avatar
OP Recognized Contributor
Flag Kendari
Thanks Meter: 4,884
 
More
Quote:
Originally Posted by theraaj

size is almost half from official recovery ?

And that almost half size comes from unwanted and unused SDM630, SDM636, and SDM660 DTBs concatenated inside kernel image used.

Sent from my ASUS_X00TD using XDA Labs
The Following User Says Thank You to krasCGQ For This Useful Post: [ View ] Gift krasCGQ Ad-Free
9th January 2019, 06:27 PM |#7  
Senior Member
Thanks Meter: 42
 
More
First of all thank you for updating the twrp. Could you make something clear.
Is it synaptic only twrp if not can it be flashed over the older twrp?
Will it be supporting encryption?
9th January 2019, 06:50 PM |#8  
krasCGQ's Avatar
OP Recognized Contributor
Flag Kendari
Thanks Meter: 4,884
 
More
Quote:
Originally Posted by Ak-64

First of all thank you for updating the twrp. Could you make something clear.
Is it synaptic only twrp if not can it be flashed over the older twrp?
Will it be supporting encryption?

1. It's not a Synaptics' exclusive version, and well you can override any installed TWRP versions.
2. Not tested on my side since my data isn't encrypted, but I try to keep the platform patch inline with latest firmware so feel free to test.

Sent from my ASUS_X00TD using XDA Labs
The Following User Says Thank You to krasCGQ For This Useful Post: [ View ] Gift krasCGQ Ad-Free
9th January 2019, 08:07 PM |#9  
VivekAarav's Avatar
Member
Thanks Meter: 11
 
More
Thank you very much for your amazing work..❤️.. hope this TWRP will get the official tag soon👍🙏
9th January 2019, 09:44 PM |#10  
Senior Member
Thanks Meter: 206
 
More
Can this decrypt encrypted data partition yet?
10th January 2019, 01:18 AM |#11  
Member
Thanks Meter: 53
 
More
Thank you for your excellent work, @krasCGQ
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