[CLOSED]TWRP 3.3.1-1 for Pixel 3A XL [OFFICIAL]

Status
Not open for further replies.
Search This thread

ZVNexus

Recognized Developer
Feb 23, 2016
1,150
1,880
Tempe, AZ
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.

Code:
[I]#include <std_disclaimer.h>

/*
 * Your warranty is not 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 recovery
 * 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.
 *
 */[/I]

Note: Please be aware that you cannot install this without a kernel with LZMA compression support, I believe most ROMs have included my commit for this so you should be good for all custom ROMs and kernels. If not please file a request to the maintainer.

In addition, please be aware that TWRP is currently not compatible with Android 10. If you would like to use TWRP you will need to go back to Android 9. If you would like more information you can read at the link here.


Not a huge problem, stock users can just temporarily boot TWRP if you have access to a PC.
Not compatible with Android Q.

Pixel devices have 2 "slots" for ROMs / firmware. TWRP will detect whichever slot is currently active and use that slot for backup AND restore. There are buttons on the reboot page and under backup -> options to change slots. Changing the active slot will cause TWRP to switch which slot that TWRP is backing up or restoring. You can make a backup of slot A, switch to B, then restore the backup which will restore the backup of A to slot B. Changing the slot in TWRP also tells the bootloader to boot that slot.


Installation:

If you already have TWRP installed: Download the latest zip and install the zip using TWRP.

If you do not already have TWRP installed: Download both the img and the zip. You will need to have fastboot binaries and the correct drivers installed. Power off your device completely. Hold volume down and turn on the device. Your device should now be in the bootloader. Connect the device to your PC. Open a command window and run the following command from the proper location:

fastboot boot path/to/twrp.img

This will temporarily boot TWRP on your device. Use ADB or MTP to transfer the zip onto your device.

Go to install and browse to the zip and install the zip. The zip will install TWRP to both boot slots. Installing TWRP at this time will remove root if you are currently rooted.

If you accidently flash TWRP to your device using fastboot instead of temporarily booting the image, you will need to download the latest factory image for your device and reflash the boot image.

Changelog:
[BETA]
3.3.1-0: Initial release for Pixel 3A XL devices
3.3.1-1: Fixed having to manually change slots before rebooting.
3.3.1-2: Updated to July blobs!
3.3.1-3: Can now install TWRP to boot image. ADB, MTP, LOGD, Repack Tools and Logcat have all been removed to save the necessary space for this to work. You can grab stuff while in the OS, then flash it in TWRP (Keep in mind I have only tested this on stock as of now, feel free to test it on whatever ROM you use. It should work, but let me know if it doesn't).
3.3.1-4: Changed back to LZMA compression, also added back all the features besides ADB/Logcat. As long as your kernel supports LZMA you will be able to take advantage of installing it permanently without having to worry about space restrictions.
3.3.1-5:
Add persist entry to fstab
* To allow TWRP to store a backup settings file on /persist
and also to be used as QCOM time fix source during early boot.
Revert "Don't include logcat."
Revert "Don't include repack tools."
3.3.1-6:
Revert "Revert "Don't include repack tools.""
Add haptics firmware.
* This obviously on it's own isn't enough to get haptics working for the 3A in TWRP, but its a start.
Don't include a precompiled update_engine_sideload
* This should fix the issue of flashing officials for StatiXOS

[STABLE]
3.3.1-0: Initial official release!

Download:
https://twrp.me/google/googlepixel3axl.html

XDA:DevDB Information
TWRP, Tool/Utility for the Google Pixel 3a XL

Contributors
ZVNexus, janjan
Source Code: https://github.com/TeamWin/android_device_google_bonito


Version Information
Status: Stable
Current Stable Version: 3.3.1-0
Stable Release Date: 2019-07-17
Current Beta Version: 3.3.1-6
Beta Release Date: 2019-06-27

Created 2019-06-27
Last Updated 2019-11-15
 

DriveEuro

Senior Member
Aug 31, 2010
134
36
Awesome! Thank you so much!
So as of this moment, there is only the ability to boot to twrp via fastboot?
 
Last edited:

Seamonkey79

Senior Member
Jan 11, 2011
308
65
Tampa, FL
Yeah, having some issues actually installing it to the boot image. Should be fixed rather soon, just decided to post. Maybe I shoulda waited a bit longer, idk.

I don't mind, I haven't flashed TWRP to a device since Treble came out, but it's easy enough to boot an image, so at least for my usage case, this is all I need :)
 

neshipda

Member
Jun 8, 2017
19
5
otg mounting problem

Yeah, having some issues actually installing it to the boot image. Should be fixed rather soon, just decided to post. Maybe I shoulda waited a bit longer, idk.

no you shouldn't have waited;)!! thanks a lot specially from all of us checking if twrp came out every day!

hey maybe you can give me a tip since i have a problem mounting otg:
when i boot twrp image if i go to backup/select storage i find a storage/usb partition (0MB)
when i connect otg (and go to mount) it becomes storage/usbotg 1 (12000MB)
but the problem is that if i click it doesn’t remain selected, and the log reports “Unable to find partition for the path ‘/storage’ ”
if i go to mount or backup/select storage and click usbotg 1 storage it doesn’t remain selected and the log reports “E: unable to locate partition for ‘/storage/usbotg-1’ ”
(i’ve tried also with different keys but i don't think it's the point anyway the 1st was an 256GB usb/SD and the 2nd a 16GB usbkey but logs reports same error)

any tip?
 

DriveEuro

Senior Member
Aug 31, 2010
134
36
I'm on Q DP4. Anyone having luck flashing Magisk (canary)? In B slot it fails to mount system and vendor. I change to A slot. It completes. I reboot on A slot, I get stuck at Google starting logo and the phone never boots. If I attempt to boot B slot afterwards, it boots up fine, but I obviously don't have Magisk installed, verified with the Magisk APP.

Anyone have a clue?
 

Antonyo13

Member
Nov 5, 2015
11
12
Just to provide feedback.

Fastboot booted the image, it prompted for my pin, mounted system, and was able to backup properly, moved backup to computer.
Wiped the phone, reboot and went through setup, everything was working.
Back to twrp, adb pushed the backup to the phone, restored the backup and everything was functioning.
Also tested and was able to sideload flash Magisk.

So everything seems to be working as intended.

Thank you so much for your hard work!
 

DriveEuro

Senior Member
Aug 31, 2010
134
36
My TWRP is NOT prompting for pin/pattern. That has to be part of this...
Wiped data via google recovery. The phone booted to Pie (i had previously did the OTA from Pie to Q beta 4). So now I'm back on Pie somehow (without reflashing). I booted to TWRP, installed Magisk successfully.

So overall, I'm not sure if this was related to Q beta 4 OTA occupying B slot while Pie still was on A slot.

Thanks to all for their work with TWRP!
 
Last edited:
  • Like
Reactions: MikeW14

artiemon

Senior Member
May 25, 2004
264
81
Colorado
Google Pixel 7
Just to provide feedback.

Fastboot booted the image, it prompted for my pin, mounted system, and was able to backup properly, moved backup to computer.
Wiped the phone, reboot and went through setup, everything was working.
Back to twrp, adb pushed the backup to the phone, restored the backup and everything was functioning.
Also tested and was able to sideload flash Magisk.

So everything seems to be working as intended.

Thank you so much for your hard work!

On previous devices I have run into TWRP restore issues if I had a security PIN set on the device when I backed up. During your test did you have a PIN setup on the phone?
 

Antonyo13

Member
Nov 5, 2015
11
12
On previous devices I have run into TWRP restore issues if I had a security PIN set on the device when I backed up. During your test did you have a PIN setup on the phone?

I had a pattern, not sure if it makes a difference between pattern and pin.

I will say the only thing weird i noticed was when i wiped the phone (the default wipe from twrp, not a full format of data from twrp), when i booted I was prompted for my pattern on first unlock before the device setup. Even though it was wiped.

But restoring was perfectly fine.
 

spaceman860

Senior Member
Jan 11, 2012
2,642
3,278
I will say the only thing weird i noticed was when i wiped the phone (the default wipe from twrp, not a full format of data from twrp), when i booted I was prompted for my pattern on first unlock before the device setup. Even though it was wiped.

But restoring was perfectly fine.

That is normal on pixels. If you factory reset in TWRP your password still stays
 

DriveEuro

Senior Member
Aug 31, 2010
134
36
So just confirming - I am , I assume encrypted , as I have a PIN and a pattern with DU ROM. Can i safely backup the existing ROM and flash another and then be able to restore if need be using this version of TWRP?

Yes. This is how it has worked in the past. Don't see why it wouldn't work like this currently. If you flash a different vendor image or system image, you'll want to revert back before you restore your old ROM backup.
 
  • Like
Reactions: jcrompton

ZVNexus

Recognized Developer
Feb 23, 2016
1,150
1,880
Tempe, AZ
no you shouldn't have waited;)!! thanks a lot specially from all of us checking if twrp came out every day!

hey maybe you can give me a tip since i have a problem mounting otg:
when i boot twrp image if i go to backup/select storage i find a storage/usb partition (0MB)
when i connect otg (and go to mount) it becomes storage/usbotg 1 (12000MB)
but the problem is that if i click it doesn’t remain selected, and the log reports “Unable to find partition for the path ‘/storage’ ”
if i go to mount or backup/select storage and click usbotg 1 storage it doesn’t remain selected and the log reports “E: unable to locate partition for ‘/storage/usbotg-1’ ”
(i’ve tried also with different keys but i don't think it's the point anyway the 1st was an 256GB usb/SD and the 2nd a 16GB usbkey but logs reports same error)

any tip?

I didn't test OTG before I uploaded, didn't have an OTG cable, but now that I know its a problem I'll look into it.
 
  • Like
Reactions: neshipda
Status
Not open for further replies.

Top Liked Posts

  • There are no posts matching your filters.
  • 32
    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.

    Code:
    [I]#include <std_disclaimer.h>
    
    /*
     * Your warranty is not 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 recovery
     * 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.
     *
     */[/I]

    Note: Please be aware that you cannot install this without a kernel with LZMA compression support, I believe most ROMs have included my commit for this so you should be good for all custom ROMs and kernels. If not please file a request to the maintainer.

    In addition, please be aware that TWRP is currently not compatible with Android 10. If you would like to use TWRP you will need to go back to Android 9. If you would like more information you can read at the link here.


    Not a huge problem, stock users can just temporarily boot TWRP if you have access to a PC.
    Not compatible with Android Q.

    Pixel devices have 2 "slots" for ROMs / firmware. TWRP will detect whichever slot is currently active and use that slot for backup AND restore. There are buttons on the reboot page and under backup -> options to change slots. Changing the active slot will cause TWRP to switch which slot that TWRP is backing up or restoring. You can make a backup of slot A, switch to B, then restore the backup which will restore the backup of A to slot B. Changing the slot in TWRP also tells the bootloader to boot that slot.


    Installation:

    If you already have TWRP installed: Download the latest zip and install the zip using TWRP.

    If you do not already have TWRP installed: Download both the img and the zip. You will need to have fastboot binaries and the correct drivers installed. Power off your device completely. Hold volume down and turn on the device. Your device should now be in the bootloader. Connect the device to your PC. Open a command window and run the following command from the proper location:

    fastboot boot path/to/twrp.img

    This will temporarily boot TWRP on your device. Use ADB or MTP to transfer the zip onto your device.

    Go to install and browse to the zip and install the zip. The zip will install TWRP to both boot slots. Installing TWRP at this time will remove root if you are currently rooted.

    If you accidently flash TWRP to your device using fastboot instead of temporarily booting the image, you will need to download the latest factory image for your device and reflash the boot image.

    Changelog:
    [BETA]
    3.3.1-0: Initial release for Pixel 3A XL devices
    3.3.1-1: Fixed having to manually change slots before rebooting.
    3.3.1-2: Updated to July blobs!
    3.3.1-3: Can now install TWRP to boot image. ADB, MTP, LOGD, Repack Tools and Logcat have all been removed to save the necessary space for this to work. You can grab stuff while in the OS, then flash it in TWRP (Keep in mind I have only tested this on stock as of now, feel free to test it on whatever ROM you use. It should work, but let me know if it doesn't).
    3.3.1-4: Changed back to LZMA compression, also added back all the features besides ADB/Logcat. As long as your kernel supports LZMA you will be able to take advantage of installing it permanently without having to worry about space restrictions.
    3.3.1-5:
    Add persist entry to fstab
    * To allow TWRP to store a backup settings file on /persist
    and also to be used as QCOM time fix source during early boot.
    Revert "Don't include logcat."
    Revert "Don't include repack tools."
    3.3.1-6:
    Revert "Revert "Don't include repack tools.""
    Add haptics firmware.
    * This obviously on it's own isn't enough to get haptics working for the 3A in TWRP, but its a start.
    Don't include a precompiled update_engine_sideload
    * This should fix the issue of flashing officials for StatiXOS

    [STABLE]
    3.3.1-0: Initial official release!

    Download:
    https://twrp.me/google/googlepixel3axl.html

    XDA:DevDB Information
    TWRP, Tool/Utility for the Google Pixel 3a XL

    Contributors
    ZVNexus, janjan
    Source Code: https://github.com/TeamWin/android_device_google_bonito


    Version Information
    Status: Stable
    Current Stable Version: 3.3.1-0
    Stable Release Date: 2019-07-17
    Current Beta Version: 3.3.1-6
    Beta Release Date: 2019-06-27

    Created 2019-06-27
    Last Updated 2019-11-15
    12
    Just reuploaded 3.3.1-6 with one key fix, didn't feel like making a whole new version.

    USB OTG now works :)
    10
    Alright, reuploaded 3.3.1-1 with that oopsie fixed.
    9
    3.3.1-3: Can now install TWRP to boot image. ADB, MTP, LOGD, Repack Tools and Logcat have all been removed to save the necessary space for this to work. You can grab stuff while in the OS, then flash it in TWRP (Keep in mind I have only tested this on stock as of now, feel free to test it on whatever ROM you use. It should work, but let me know if it doesn't).

    3.3.1-4: Changed back to LZMA compression, also added back all the features besides ADB/Logcat. As long as your kernel supports LZMA you will be able to take advantage of installing it permanently without having to worry about space restrictions.

    3.3.1-5:
    Add persist entry to fstab
    * To allow TWRP to store a backup settings file on /persist
    and also to be used as QCOM time fix source during early boot.
    Revert "Don't include logcat."
    Revert "Don't include repack tools."
    8
    When twrp creators update their code to work on q with the new partition setup then we should get official q support, until then it's a waiting game.

    Yep, I'm ready any time on my end.