• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

TWRP 3.3.1-1 for Pixel 3A [OFFICIAL]

Status
Not open for further replies.
Search This thread

digital_dad

New member
Apr 23, 2020
4
0
If you're running LineageOS 17, I don't think there is a way to get TWRP functioning at the same time.
If you're running LineageOS 16, then TWRP works when using EX kernel. However, there is standby battery drain on LineageOS 16 with EX kernel on the Pixel 3a (device only deep sleeps around 60% of the time). I don't know if the battery drain occurs with the included kernel, but I suspect it does. This cuts standby time in half according to my testing.

Thank you xdadevnube. I'm on stock 10 rooted with Magisk, but missing TWRP. I'm considering going back to 9 with EX kernel so that I can get TWRP permanently. However, I'm also considering flashing GrapheneOS because I like its security focus, but the latest zips are based on 10. The main reason I want TWRP is so that I can take a system image for backup. If I can do that with ADB or another application then I don't need TWRP. Do you know of any alternatives that can take a system image of my phone? I have searched the forums unsuccessfully.
 

xdadevnube

Senior Member
Jun 28, 2011
1,038
178
Thank you xdadevnube. I'm on stock 10 rooted with Magisk, but missing TWRP. I'm considering going back to 9 with EX kernel so that I can get TWRP permanently. However, I'm also considering flashing GrapheneOS because I like its security focus, but the latest zips are based on 10. The main reason I want TWRP is so that I can take a system image for backup. If I can do that with ADB or another application then I don't need TWRP. Do you know of any alternatives that can take a system image of my phone? I have searched the forums unsuccessfully.
If running Android 9, backup and restore functionality with TWRP work properly per the instructions found in the video (posted in this thread by the OP).

I don't know whether it is possible to use fastboot to backup and restore.

If running Android 10, my inclination would be to try to temp boot TWRP with fastboot and then make a backup in TWRP. I hope somebody will correct me if I'm wrong, but I don't think TWRP can temp boot with Android 10 firmware. When I tried it, I didn't seem to have any luck. One might be able to fastboot flash an Android 9 boot image to get it to temp boot TWRP, then fastboot flash back to an Android 10 boot image after restoring.

Perhaps somebody more qualified can chime in!




Sent from my Pixel XL using Tapatalk
 

djjohnnyblaze

Senior Member
Nov 13, 2012
263
82
Toronto, Ontario
If running Android 9, backup and restore functionality with TWRP work properly per the instructions found in the video (posted in this thread by the OP).

I don't know whether it is possible to use fastboot to backup and restore.

If running Android 10, my inclination would be to try to temp boot TWRP with fastboot and then make a backup in TWRP. I hope somebody will correct me if I'm wrong, but I don't think TWRP can temp boot with Android 10 firmware. When I tried it, I didn't seem to have any luck. One might be able to fastboot flash an Android 9 boot image to get it to temp boot TWRP, then fastboot flash back to an Android 10 boot image after restoring.

Perhaps somebody more qualified can chime in!




Sent from my Pixel XL using Tapatalk

Can confirm. TWRP for Sargo does not work for Android 10 from my tests (temp boot or install)
 
  • Like
Reactions: k4zz and beeewell

joniroten

Member
Jun 16, 2020
6
0
You have the wrong kernel. Flash the right one and it'll boot up

I did something with the android flash tool (that you can use in the browser), so I flashed an AOSP version of Android (I don't know which one) and it worked but the phone boot and shut down automatically after you arrive on the homescreen.

What did you mean by the right kernel ? And where do I find it ?

I still would like to flash Lineage if possible.
 
Last edited:

joniroten

Member
Jun 16, 2020
6
0
I did something with the android flash tool (that you can use in the browser), so I flashed an AOSP version of Android (I don't know which one) and it worked but the phone boot and shut down automatically after you arrive on the homescreen.

What did you mean by the right kernel ? And where do I find it ?

I still would like to flash Lineage if possible.

I managed to flash a classic google android 10 so it's pretty much back to when I started to mess with my Pixel :D

But if anybody would direct me to a simple guide to install Lineage, it would be more than appreciated :)
 

thatsupnow

Senior Member
Jan 31, 2011
2,487
587
Vernon
Google Pixel 3a XL
Google Pixel 5
I managed to flash a classic google android 10 so it's pretty much back to when I started to mess with my Pixel :D

But if anybody would direct me to a simple guide to install Lineage, it would be more than appreciated :)

Most the Roms now you'll need to flash the latest stock, then you'll fastboot their boot.img to use their recovery, then ADB sideload the ROM from there. Then factory reset before booting back into system
 

joniroten

Member
Jun 16, 2020
6
0
Most the Roms now you'll need to flash the latest stock, then you'll fastboot their boot.img to use their recovery, then ADB sideload the ROM from there. Then factory reset before booting back into system

Hi thatsupnow,

thanks for your answer. I'm not quite sure I've fully understood what you said. (I'm not english speaker and a noob at these things).

From my understanding, steps are :
1) downgrade Android 10 to Android 9 (using the Google Rom Android 9 Pie).
2) flash TWRP with adb
3) install lineage os (which version ?) from the TWRP menu

Am I correct ?
 

thatsupnow

Senior Member
Jan 31, 2011
2,487
587
Vernon
Google Pixel 3a XL
Google Pixel 5
Hi thatsupnow,

thanks for your answer. I'm not quite sure I've fully understood what you said. (I'm not english speaker and a noob at these things).

From my understanding, steps are :
1) downgrade Android 10 to Android 9 (using the Google Rom Android 9 Pie).
2) flash TWRP with adb
3) install lineage os (which version ?) from the TWRP menu

Am I correct ?

If your planning on using any A10 ROM you'll need to flash the latest stock A10 firmware then you'll use the supplied boot.img from any ROM you plan on using. There's no TWRP on Android 10 they use a modified stock recovery and you'll just sideload the ROM
 
Nov 25, 2018
8
9
There is a new v3.4.0 for the Pixel 3a at TWRP's site. I don't know if it will work with 10.

Unfortunately, TWRP-3.4.0-0 doesn't work on Pixel 3a for Android 10, even just temporarily booting TWRP, so you still have to downgrade to Android 9 to boot/install TWRP on Pixel 3a.
TWRP-3.4.0-0 for Pixel 3a still requires a custom kernel with LZMA compression support (ElementalX-P3a-1.06 https://forum.xda-developers.com/pixel-3a/development/kernel-pixel-3a-xl-elementalx-1-01-t3931185) to properly install.

This is due to the following : "TWRP 3.4.0 does not yet bring support for dynamic/logical partitions". TWRP-3.4.0-0 only supports Android 10 on devices which upgraded from Android 9 AND "retain the old partition scheme".
Pixel 3a upgraded from Android 9, but adopted Android 10's Dynamic Partitions.
https://www.xda-developers.com/twrp-3-4-0-enables-ozip-decryption-realme-oppo-devices-support-legacy-devices-upgraded-android-10/
The problems TWRP Official talked about in their post "TWRP and Android 10", Oct 23, 2019, still haven't been fixed unfortunately: https://twrp.me/site/update/2019/10/23/twrp-and-android-10.html.

So, to install TWRP-3.4.0-0 on Pixel 3a:
Temporarily boot twrp-3.4.0-0-sargo.img (./fastboot boot twrp-3.4.0-0-sargo.img . Or for CMD: fastboot boot twrp-3.4.0-0-sargo.img).
In TWRP:
Flash the custom kernel with LZMA compression support;
Then flash twrp-installer-3.4.0-0-sargo.
Done.
 

Midomad

Recognized Contributor
May 7, 2011
4,154
3,234
Salé
Unfortunately, TWRP-3.4.0-0 doesn't work on Pixel 3a for Android 10, even just temporarily booting TWRP, so you still have to downgrade to Android 9 to boot/install TWRP on Pixel 3a.

TWRP-3.4.0-0 for Pixel 3a still requires a custom kernel with LZMA compression support (ElementalX-P3a-1.06 https://forum.xda-developers.com/pixel-3a/development/kernel-pixel-3a-xl-elementalx-1-01-t3931185) to properly install.



This is due to the following : "TWRP 3.4.0 does not yet bring support for dynamic/logical partitions". TWRP-3.4.0-0 only supports Android 10 on devices which upgraded from Android 9 AND "retain the old partition scheme".

Pixel 3a upgraded from Android 9, but adopted Android 10's Dynamic Partitions.

https://www.xda-developers.com/twrp...s-support-legacy-devices-upgraded-android-10/

The problems TWRP Official talked about in their post "TWRP and Android 10", Oct 23, 2019, still haven't been fixed unfortunately: https://twrp.me/site/update/2019/10/23/twrp-and-android-10.html.



So, to install TWRP-3.4.0-0 on Pixel 3a:

Temporarily boot twrp-3.4.0-0-sargo.img (./fastboot boot twrp-3.4.0-0-sargo.img . Or for CMD: fastboot boot twrp-3.4.0-0-sargo.img).

In TWRP:

Flash the custom kernel with LZMA compression support;

Then flash twrp-installer-3.4.0-0-sargo.

Done.
Well explained,and should be pinned on the OP.
 
Last edited:

Fentadroid

Senior Member
Jan 23, 2014
507
86
44
Turin
Code:
fastboot boot twrp-3.4.0-0-sargo.img
Sending 'boot.img' (65536 KB)                      OKAY [  1.482s]
Booting                                     FAILED (remote: 'Error verifying the received boot.img: Invalid Parameter')
fastboot: error: Command failed

Maybe something is missing....
 

joniroten

Member
Jun 16, 2020
6
0
Unfortunately, TWRP-3.4.0-0 doesn't work on Pixel 3a for Android 10, even just temporarily booting TWRP, so you still have to downgrade to Android 9 to boot/install TWRP on Pixel 3a.
TWRP-3.4.0-0 for Pixel 3a still requires a custom kernel with LZMA compression support (ElementalX-P3a-1.06 https://forum.xda-developers.com/pixel-3a/development/kernel-pixel-3a-xl-elementalx-1-01-t3931185) to properly install.

This is due to the following : "TWRP 3.4.0 does not yet bring support for dynamic/logical partitions". TWRP-3.4.0-0 only supports Android 10 on devices which upgraded from Android 9 AND "retain the old partition scheme".
Pixel 3a upgraded from Android 9, but adopted Android 10's Dynamic Partitions.
https://www.xda-developers.com/twrp-3-4-0-enables-ozip-decryption-realme-oppo-devices-support-legacy-devices-upgraded-android-10/
The problems TWRP Official talked about in their post "TWRP and Android 10", Oct 23, 2019, still haven't been fixed unfortunately: https://twrp.me/site/update/2019/10/23/twrp-and-android-10.html.

So, to install TWRP-3.4.0-0 on Pixel 3a:
Temporarily boot twrp-3.4.0-0-sargo.img (./fastboot boot twrp-3.4.0-0-sargo.img . Or for CMD: fastboot boot twrp-3.4.0-0-sargo.img).
In TWRP:
Flash the custom kernel with LZMA compression support;
Then flash twrp-installer-3.4.0-0-sargo.
Done.

Oh !!! It worked perfectly fine.

Thanks a lot guys for your help.
 

pauliusval99

Senior Member
Dec 4, 2011
121
26
Vilnius
Unfortunately, TWRP-3.4.0-0 doesn't work on Pixel 3a for Android 10, even just temporarily booting TWRP, so you still have to downgrade to Android 9 to boot/install TWRP on Pixel 3a.
TWRP-3.4.0-0 for Pixel 3a still requires a custom kernel with LZMA compression support (ElementalX-P3a-1.06 https://forum.xda-developers.com/pixel-3a/development/kernel-pixel-3a-xl-elementalx-1-01-t3931185) to properly install.

This is due to the following : "TWRP 3.4.0 does not yet bring support for dynamic/logical partitions". TWRP-3.4.0-0 only supports Android 10 on devices which upgraded from Android 9 AND "retain the old partition scheme".
Pixel 3a upgraded from Android 9, but adopted Android 10's Dynamic Partitions.
https://www.xda-developers.com/twrp...s-support-legacy-devices-upgraded-android-10/
The problems TWRP Official talked about in their post "TWRP and Android 10", Oct 23, 2019, still haven't been fixed unfortunately: https://twrp.me/site/update/2019/10/23/twrp-and-android-10.html.

So, to install TWRP-3.4.0-0 on Pixel 3a:
Temporarily boot twrp-3.4.0-0-sargo.img (./fastboot boot twrp-3.4.0-0-sargo.img . Or for CMD: fastboot boot twrp-3.4.0-0-sargo.img).
In TWRP:
Flash the custom kernel with LZMA compression support;
Then flash twrp-installer-3.4.0-0-sargo.
Done.


Edit: I think I had a brainfart. Please ignore and excuse me, thanks for the instructions
 
Last edited:
Status
Not open for further replies.

Top Liked Posts

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

    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.

    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 (Not Android 10), if not please file a request to the maintainer.

    To follow up, 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.



    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 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/googlepixel3a.html

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

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


    Version Information
    Status: Beta
    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
    25
    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).

    Slight word of warning, it can't install Magisk either as that slight change in size is just enough to go over the edge. I'll continue trimming TWRP down as much as I can, but at a certain point there's not much more I can do.

    Basically, what you should take from this is if you so much as even touch the boot image spare from installing TWRP it'll just refuse to boot. Not a release you probably want to flash unless this interests you.
    14
    Just reuploaded 3.3.1-6 with one key fix, didn't feel like making a whole new version.

    USB OTG now works :)
    13
    Just bought a flash drive so I can try and fix issues for people who use OTG