Development [RECOVERY] TWRP for ZenFone 8

Search This thread

Devione

Senior Member
Feb 27, 2011
56
14
Hey there,

i've been trying hard to flash TWRP / rewrite Lineage Recovery after flashing LineageOS. Using "fastboot boot recovery.img" in fastboot just doesn't seem to work, it just hangs at the "ASUS" splash screen.

Am I doing something wrong here?
 

HyperCriSiS

Senior Member
Nov 23, 2010
403
83
Samsung Galaxy S7
ASUS ZenFone 8
Hey there,

i've been trying hard to flash TWRP / rewrite Lineage Recovery after flashing LineageOS. Using "fastboot boot recovery.img" in fastboot just doesn't seem to work, it just hangs at the "ASUS" splash screen.

Am I doing something wrong here?
I also have this issue. Switched back to Linage now and can't replace the linage recovery.
The problem seems to be the different vendor image.
 
Last edited:

wesker1984

Member
Aug 24, 2017
7
1
Running Lineage 11, Android 11 and having the same issue with twrp-3.6.0_11-0-I006D.img. I reboot into the bootloader, use fastboot boot and it restarts but hangs on the ASUS screen.

The phone works fine after and I can get back into Lineage recovery, but the TWRP doesn't get past the ASUS splash.

As an aside is there any other steps that I need to take to replace the Lineage recovery? Or is it just 'Advanced > Flash Current TWRP option' once TWRP is booted? I just want to be able to backup my phone @[email protected]
 
Last edited:
  • Like
Reactions: chrisrevoltes

Captain_Throwback

Recognized Developer
Having the same issue with twrp-3.6.0_11-0-I006D.img. I reboot into the bootloader, use fastboot boot and it restarts and hangs on the ASUS screen.

The phone works fine after and I can get back into Lineage recovery, but the TWRP doesn't get past the ASUS splash.
I only use stock and don't have a problem with TWRP. I have no idea why LOS would be a problem, but since I'm not using it, I can't test it.

EDIT: Does TWRP work if it's flashed directly to the device rather than fastboot booted?
 

wesker1984

Member
Aug 24, 2017
7
1
I only use stock and don't have a problem with TWRP. I have no idea why LOS would be a problem, but since I'm not using it, I can't test it.

EDIT: Does TWRP work if it's flashed directly to the device rather than fastboot booted?
@HyperCriSiS said it may have to do with the vendor boot? That's a pre-requisite for Lineage.


Heh, I don't have the balls to flash it directly. I would if it was a throwaway phone but I just bought it xD
 

Captain_Throwback

Recognized Developer
@HyperCriSiS said it may have to do with the vendor boot? That's a pre-requisite for Lineage.


Heh, I don't have the balls to flash it directly. I would if it was a throwaway phone but I just bought it xD
Vendor_boot is where dtb lives, so perhaps that is the problem, although I have no idea how.

I don't think flashing it should be a problem; that won't prevent the device from booting as all that would get replaced is the recovery ramdisk. To be clear, I'm referring to flashing the TWRP zip in Magisk/EXKM/FKM to install TWRP permanently.
 

wesker1984

Member
Aug 24, 2017
7
1
Vendor_boot is where dtb lives, so perhaps that is the problem, although I have no idea how.

I don't think flashing it should be a problem; that won't prevent the device from booting as all that would get replaced is the recovery ramdisk. To be clear, I'm referring to flashing the TWRP zip in Magisk/EXKM/FKM to install TWRP permanently.

Welp, I'll have a look into Magisk. It's pretty crazy the lengths ya have to go to just to create a phone image.
 

wind0zer

Senior Member
Feb 15, 2010
381
59
Tested twrp-3.6.0_11-0-I006D.img and it's working with Android 11 rom. But only after setting a PIN in the OS and then flashing the recovery - TWRP then prompts for a pin on first start and properly mounts the sd card.

Tried the same with ASUS beta (Android 12) firmware after setting PIN but no dice.

Edit: attached recovery log.
 
Last edited:

Captain_Throwback

Recognized Developer
Tested twrp-3.6.0_11-0-I006D.img and it's working with Android 11 rom. But only after setting a PIN in the OS and then flashing the recovery - TWRP then prompts for a pin on first start and properly mounts the sd card.

Tried the same with ASUS beta (Android 12) firmware after setting PIN but no dice.

Edit: attached recovery log.
That log seems to be from an Alpha Android 12 test build. Can you update to the latest Beta, remove any password in Android, and try booting into TWRP again? And also, please attach the log to the post directly.
 

Captain_Throwback

Recognized Developer

Adaoh

Senior Member
Jun 13, 2021
141
64
ASUS ZenFone 8
Running Lineage 11, Android 11 and having the same issue with twrp-3.6.0_11-0-I006D.img. I reboot into the bootloader, use fastboot boot and it restarts but hangs on the ASUS screen.

The phone works fine after and I can get back into Lineage recovery, but the TWRP doesn't get past the ASUS splash.

As an aside is there any other steps that I need to take to replace the Lineage recovery? Or is it just 'Advanced > Flash Current TWRP option' once TWRP is booted? I just want to be able to backup my phone @[email protected]
Having the same issue here. Did anyone find a workaround that I could try? The Lineage recovery is a bit restrictive and does not let me install MicroG for ArrowOS.

EDIT: I GOT IT WORKING! I had to install the stock firmware from the steps on the Asus Android 12 page (opt out section)
Edit2: Now I have another problem, TWRP keeps getting overwritten by the Lineage/ArrowOS recovery (which i think is based on Lineage recovery bacause it has the Asus logo issue) so that is problematic...
 
Last edited:

HyperCriSiS

Senior Member
Nov 23, 2010
403
83
Samsung Galaxy S7
ASUS ZenFone 8
Having the same issue here. Did anyone find a workaround that I could try? The Lineage recovery is a bit restrictive and does not let me install MicroG for ArrowOS.

EDIT: I GOT IT WORKING! I had to install the stock firmware from the steps on the Asus Android 12 page (opt out section)
Edit2: Now I have another problem, TWRP keeps getting overwritten by the Lineage/ArrowOS recovery (which i think is based on Lineage recovery bacause it has the Asus logo issue) so that is problematic...
Did you succeed booting TWRP while Lineage installed?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 26
    Code:
    *** Disclaimer ***
    
    All flashing is done at your own risk!
    While nothing from this thread should break your device,
    don't come back here blaming anyone if it does!

    Introduction
    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.

    Images


    Prerequisites

    Installation instructions
    Fastboot Install Method:
    You will need the platform-tools from the Android SDK on your computer. Find the Android command line tools section on the page linked and install the SDK tools package. From the SDK Manager, download only the platform-tools to get adb and fastboot binaries.

    Windows users will need proper drivers installed on their computer. You can try the Naked ADB drivers or the Universal ADB drivers if you don't already have a working driver installed

    On your device, go into Settings -> About and find the Build Number and tap on it 7 times to enable developer settings. Press back and go into Developer Options and enable USB debugging. From your computer, open a command prompt and type:
    Code:
    adb reboot bootloader
    You should now be in fastboot mode.

    Download the correct image file and copy the file into the same folder as your adb and fastboot binaries. Rename the image to twrp.img and type:
    Code:
    fastboot boot twrp.img
    Now you are booted into TWRP, but it is NOT permanently installed. To install it permanently, use the "Flash current TWRP" option in the Advanced menu. This will install the currently booted TWRP permanently to both slots. NOTE: If you were previously rooted, you will need to re-install the root apk/zip as the TWRP install will overwrite it!

    Alternate Installation Method (requires prior TWRP installation, or if fastboot booted into TWRP already, start at step 3):
    TWRP Image Install method:
    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 of TWRP appropriate for your device/firmware
    2. Reboot to TWRP
    3. Hit Install and tap the "Install Image" button in the lower right
    4. Browse to the location of the TWRP image on your device and select it
    5. Select "Install Recovery Ramdisk" from the partition list and swipe to flash
    6. (Optional) If previously rooted, re-install root apk/zip, as the TWRP install will overwrite root.

    Device Changelog

    TWRP Official Change Log

    Downloads


    Known Issues
    Device-specific
    • USB-OTG not working
    • Battery Status not working
    TWRP Upstream
    • Android 12 decryption only works if no password/PIN/pattern is set (i.e. only default password)

    Bug Reporting
    If you have an issue, the first step is to post a recovery log so we can determine the cause of the issue. This is done in recovery using Advanced -> Copy Log, or adb pull /tmp/recovery.log. Once a log is uploaded we can determine how best to proceed. NOTE: Posts that are reporting bugs or issues without an accompanying recovery log will be ignored! Additionally, providing details about your device setup, including variant, firmware version, and exact steps to reproduce your issue will also be helpful in diagnosing the problem.
    4rev3d.jpg

    If your issue is determined to be a bug, please consider posting it to our github issues log. It's pretty much impossible for us to keep up with the more than 40 threads that we have for the devices that we "directly" support. If you have a significant problem that cannot be answered in this thread, your best bet is to contact us via our website. If you see someone that's struggling, feel free to point it out to us. We need your help to help us keep track of all of our devices! Thanks!

    Additional Help/Support
    Live support is available on Zulip.
    6
    Maybe 3 to be safe
    5
    Hi, I have acutally the same problem
    I am on latest stock Firmware Android 12 and no Password / PIN / is set
    If I wipe Data in TWRP then my Storage is encrypted
    But if I reboot once into system, I can't access the Data on my Phone in TWRP
    Even if I try to save logs from TWRP they are not saved on the Phone
    Am I something missing out?
    If you Format Data while on 12, then it's expected that TWRP won't be able to decrypt. The current official version can only decrypt if the keys are upgraded from A11.

    If you want to try a version that might decrypt on 12 if no password is set, even after you format data in TWRP, see the test version attached here.

    NOTE: This version will have to be installed either from existing TWRP or in Android through Magisk/EXKM/FKM. If rooted, root will need to be reinstalled after the zip is flashed.
    5
    New test version uploaded. Thanks to @micky387 for his help with the TWRP tree!