yashsingh1/xdaforums huggingface dataset:
[Google Pixel 3a ROMs, Kernels, Recoveries, & Other] bejunk:
I wanted to try it tomorrow, but it seems ill better wait for a new update on the canary build:

https://github.com/topjohnwu/magisk_files/blob/master/canary_builds/notes.md

-> see the notes for the latest build. Afaik we need logical partition support or root will not work (correctly)

I'm also thinking if i can just pull boot.img via twrp backup (then extract if needed) or should i pull it via fastboot.

Really the userdata wipe holds me back (when OEM unlocking the device.)

Guess i will wait when root is successfully reported on P3 by topjohnwu, just to be sure.
[Google Pixel 3a ROMs, Kernels, Recoveries, & Other] ZVNexus:
Why? Anything you need from it in particular?
[Google Pixel 3a ROMs, Kernels, Recoveries, & Other] Pogo:
using adb in TWRP

This thread might be a better place to discuss below:

I'm getting this while trying to uninstall Google apps in TWRP using ADB:

c:\adb>adb uninstall com.google.android.youtube

/sbin/sh: cmd: not found

Some adb commands like push and pull are working fine. Some shell commands are working, some are not (like pm command).

I will almost swear this was working on Nexus 5 and some HTC phone I was using over the years.

It seems to me more likely TWRP limitation but I might be wrong.

USB drivers and adb are pretty fresh, not older than 2 months.

adb version:

Android Debug Bridge version 1.0.41

Version 29.0.1-5644136

USB Driver, ver 11.0.0.0 was downloaded from developer.android.com.

Windows 10 recognize device as 'Android Composite ADB Interface'.

I have tried to disable MTP, unmount/mount System, Data but no avail.

Any thoughts?
[Google Pixel 3a ROMs, Kernels, Recoveries, & Other] :
Hi I cant get twrp to stick with DU rom. I've been told you are the maintainer for that also, so I can only assume its something Ive done wrong. Cand anyone give me an idea please
[Google Pixel 3a ROMs, Kernels, Recoveries, & Other] ZVNexus:
Boot TWRP. Flash DU. Flash TWRP. Done.
[Google Pixel 3a ROMs, Kernels, Recoveries, & Other] Fentadroid:
How is DU compared to stock? I see there's a Pixel 3a version on their website but nothing here..... no screenshots at all, no feature, no instructions about how to install it....

Sorry for the OT.
[Google Pixel 3a ROMs, Kernels, Recoveries, & Other] :
I think they came off xda years ago.

Been running only today so far. Seems really good. Pretty much stock but just with some nice basic mods like dark theme, status bar mods etc.

Battery seems the same as stock so far. Thats about it.

Install, boot twrp, wipe, install DU, install vendor img, install twrp zip. All files on site.
[Google Pixel 3a ROMs, Kernels, Recoveries, & Other] ZVNexus:
Boot TWRP, factory reset, flash DU. Go check out the DU DIscord for more info.
[Google Pixel 3a ROMs, Kernels, Recoveries, & Other] Fentadroid:
Today, maybe, Android 10 will be released. Are you developing a working TWRP for Android Q? Just curious...
[Google Pixel 3a ROMs, Kernels, Recoveries, & Other] ZVNexus:
No. I don't decide when that happens, I maintain a device for TWRP, I don't maintain TWRP. TWRPs incompatibility with Android Q is a TWRP problem. I'll be waiting until the core team updates it to Q.
[Google Pixel 3a ROMs, Kernels, Recoveries, & Other] Helios747:
Note, you can still root Android Q without TWRP. You just need a PC and fastboot. Download and install Magisk Manager Canary, download the factory recovery image that matches your build number for sargo from google (NOT THE OTA IMAGE. FACTORY.)

Extract boot.img from the zip file, it's contained in another zip file inside the first one you downloaded.

Place it on your phone via MTP or adb or whatever. Doesn't matter where.

In Magisk Manager, click install on Magisk and select "Select and Patch a File"

Select the boot.img you placed on your phone. The magisk patched/installed boot image will be placed in I think Downloads/. Somewhere. It'll tell you where.

copy this patched image to your PC. Boot your phone into fastboot with Power+Vol down.

fastboot flash boot (patched boot img)

Reboot your phone.
[Google Pixel 3a ROMs, Kernels, Recoveries, & Other] Dixon Butz:
Old news. Already more than 3 guides for for this procedure for the 3a and xl
[Google Pixel 3a ROMs, Kernels, Recoveries, & Other] A380:
Any idea what to do when TWRP cannot mount /system nor /storage? I'm on Android 10.
[Google Pixel 3a ROMs, Kernels, Recoveries, & Other] Rudi154:
TWRP is not working on Android 10 yet
[Google Pixel 3a ROMs, Kernels, Recoveries, & Other] ZVNexus:
Please read the red, bold note in OP before asking for help.
[Google Pixel 3a ROMs, Kernels, Recoveries, & Other] edufur:
In all fairness, it would be nice if that text was bigger. I almost even missed it.
[Google Pixel 3a ROMs, Kernels, Recoveries, & Other] j-a-d-z:
And, in all fairness,;) in the xda app the text is not red at all. Why ever. :confused:
[Google Pixel 3a ROMs, Kernels, Recoveries, & Other] ZVNexus:
Fixed.
[Google Pixel 3a ROMs, Kernels, Recoveries, & Other] j-a-d-z:
That's great. And big. :eek:
[Google Pixel 3a ROMs, Kernels, Recoveries, & Other] flash-heavy:
Had the exact same behavior (3.3.1-1), glad to see it spelled out. I also have the "July update", just bought this phone. That first bootloop after recovery was terrifying! After reading all of the posts, we now know it's the LZMA thingy... So I take it we trashed the stock recovery when installing the twrp zip? :eek:
[Google Pixel 3a ROMs, Kernels, Recoveries, & Other] flash-heavy:
error boot prepare

Has anyone ran into boot problems with "Enter reason: error boot prepare" on their fastboot screen? I recently did a "fastboot boot twrp-3.3.1-1-sargo.img" took a backup ... and now I can't boot into the normal O.S. anymore.

When I click "Start" the screen goes dark, and stays dark. To recover from the dark screen I have to hold pwr for like 15 seconds, which then re-enters fastboot.
[Google Pixel 3a ROMs, Kernels, Recoveries, & Other] flash-heavy:
Figured it out, it was due to the wrong slot being active. It is also crazy that RAM booting cares about the slot as well. I'll post commands if anyone's interested.
[Google Pixel 3a ROMs, Kernels, Recoveries, & Other] AJ:
ok can i have access to betas please , as am trying 3.3.1-1 on LZMA kernel but can't mount system .
[Google Pixel 3a ROMs, Kernels, Recoveries, & Other] ZVNexus:
By chance are you using Android 10?
[Google Pixel 3a ROMs, Kernels, Recoveries, & Other] AJ:
Of course
[Google Pixel 3a ROMs, Kernels, Recoveries, & Other] spaceman860:
It's been mentioned a few times and it's also in the OP.

TWRP DOES NOT WORK ON ANDROID 10 (Q)
[Google Pixel 3a ROMs, Kernels, Recoveries, & Other] AJ:
even with LZMA kernel as mentioned in op ??
[Google Pixel 3a ROMs, Kernels, Recoveries, & Other] creeve4:
http://twrp.me/site/update/2019/10/23/twrp-and-android-10.html
[Google Pixel 3a ROMs, Kernels, Recoveries, & Other] jojo334:
Now I see why reading and comprehension was stressed so much in grade school.
[Google Pixel 3a ROMs, Kernels, Recoveries, & Other] Skittles9823:
I so very hope this reply get all the thanks and praise it deserves.
[Google Pixel 3a ROMs, Kernels, Recoveries, & Other] sic0048:
Well, to be honest, the OP could be written a whole lot better. Yes it says, "Note: You cannot install this on stock without a kernel with LZMA compression support. Not compatible with Android Q." That might be clear to everyone that already knows that TWRP doesn't work with Android 10, but it isn't as clear as it should be for newbies or people that haven't followed the TWRP story. After all, "cannot install on stock" what???? Then after that confusion and in the same paragraph, it says "Not compatible with Android Q" - but what's not compatible, the last noun used was "kernel". Is the OP still talking about the kernel????

It would be much better to say, "At this time, TWRP does not work with Android 10. In order to use TWRP, you must be on Android 9 (Pie)" and then on another line say, "To permanently install TWRP on the Pixel 3a/3a XL devices, you must be on Android 9 (Pie) and use a kernel that supports LZMA compression. The stock Google kernel does NOT support LZMA. Therefore, users who want to permanently install TWRP must flash a custom kernel (with LZMA support) prior to installing TWRP. "

Yes that says the same information as the OP, but it conveys it in a manner that will cause a lot fewer questions and issues from people that misunderstand the OP. A good technical writer needs to learn how to very precisely convey information. The OP isn't a well written technical document. It honestly comes off like a "brain dump" of information. Yes the information is there, but it isn't clear and concise at all.
[Google Pixel 3a ROMs, Kernels, Recoveries, & Other] ZVNexus:
Thank you for the recommendation, both threads have been updated for the warning to be clearer.
[Google Pixel 3a ROMs, Kernels, Recoveries, & Other] Skittles9823:
That's all fair enough, but you forgot one key factor. Most noobs don't read the OP, they go straight to the links and attempt to flash.

Again, all the information is already in replies in this thread, they could have just as easily searched the thread and found an answer, but they didn't.

Most users nowadays, with a handful of exceptions don't think before asking or trying anything. If more people were to read up on a subject before replying, this forum would be a much less irritating place to use.
[Google Pixel 3a ROMs, Kernels, Recoveries, & Other] Wiebenor:
Hate to follow all that, but I would like to know if you guys have Android 10 supported yet??? I've heard on other threads, here and/or elsewhere, that twrp in Android 10 is getting close to being done, if it isn't, while most OPs, especially here, say it won't work on 10, which confuses me as to what the deal is... I don't have time on most threads to read them all because who has time to read 100 pages or more, sometimes, to get the information I need...

On a root related note... I have magisk manager installed and upon downloading the latest December 2019 update it tells me to first quit using the device, then when I hit continue, it basically says "installation problem"... Wondering if it's worth it to update, and if it is, where to go from here, when I don't have twrp and I currently have magisk in my boot rom... Not exactly sure how that works as it's my first modded boot file setup... Do I manually update??? And if I do, do I then lose everything???
[Google Pixel 3a ROMs, Kernels, Recoveries, & Other] ZVNexus:
"You guys"? I'm not apart of the TWRP core team, I'm just a maintainer. I don't handle major revision upgrades, Dees-Troy does. I don't know where you heard that its close to being done, but he hasn't touched it since October and it's still nowhere close to done. I don't know what else he has locally though. There's not really a need for TWRP anymore besides backups, but besides that IDK. You don't need to read all these threads to confuse you, just read TWRP's main page. They'll tell you when it's ready.

For Magisk help, this is not the place. I don't endorse any use of Magisk, I find root useless. Go ask over in their thread.
[Google Pixel 3a ROMs, Kernels, Recoveries, & Other] nowster:
The procedure is:

* Unroot using the Magisk Manager app's "UNINSTALL" option (bottom of main screen), but DO NOT REBOOT. This restores the boot partition so that the update can be installed.¹

* Apply the update. It takes a while, especially if it is "optimizing apps". DO NOT REBOOT.

* Go back into Magisk Manager and install Magisk again, selecting "Install to Inactive Slot (After OTA)".

* Only then should you reboot.

__

¹ The update only applies against unmodified partitions and will checksum them before applying.
[Google Pixel 3a ROMs, Kernels, Recoveries, & Other] sysuicrash0511:
Hey there,

I'm sorry if this is a stupid question, but I can't seem to find a definite answer on Google. It's not even directly related to this recovery, but I think it fits here.

Is it possible to boot an external recovery image on a device with a locked bootloader?

My gut feeling is "obviously not", so I'm sorry, if this indeed stupid.

Edit: Yep, "fastboot boot recovery.img" is restricted by the bootloader.

I'm stuck with a softbricked 3a (UI crashes), and I am running out of options. The idea is, once a 10-compatible recovery with file manager or other features exists, to utilize it to recover my 3a's internal storage.

Thanks in advance.
[Google Pixel 3a ROMs, Kernels, Recoveries, & Other] Skittles9823:
Just out of curiosity, How'd you manage to soft brick it with a locked bootloader?
[Google Pixel 3a ROMs, Kernels, Recoveries, & Other] sysuicrash0511:
It's more of an soft-softbrick than an actual boot loop one for example. SystemUI keeps me locked out of my system (on stock 10, no ADB), constantly crashing and preventing me to unlock the phone. So this, and a miracle by boot slot switching are the only two remaining ideas.

I managed to do this by checking for an OTA, not downloading it, and changing my wallpaper. At least that was the whole situation.

Now I can probably fix this by factory resetting, but I'm hesitant, because I want to rescue some data and it'll be gone for good after that.

This post of mine goes through the things I tried.
[Google Pixel 3a ROMs, Kernels, Recoveries, & Other] dkryder:
have you tried a full flash with the -w taken out of .bat file?

have you tried using the vol&power to put it in bootloader?

have you confirmed pc does not recognize it in bootloader mode?
[Google Pixel 3a ROMs, Kernels, Recoveries, & Other] sysuicrash0511:
Yep, all of those were ideas I had and others provided.

I had successfully established connections in fastboot mode and ADB sideload mode in recovery, confirmed by the devices command. The flash command is restricted (which the flash-all.sh file uses), I'm not sure about "fastboot update", but I recall it didn't work for me either. Regular commands like reboot worked.

In ADB sideload mode in stock recovery, I was able to flash 3 recent OTAs, nothing solved my UI problem.

But let's not derail this thread any more; here's my thread about all the things I tried, sometimes shortly explained.

And to conclude the issue, a factory reset did solve the crash, of course. But I lost the data I was trying to save beforehand.
[Google Pixel 3a ROMs, Kernels, Recoveries, & Other] Wiebenor:
Thanks a lot... I figured out that was the problem when I posted on a more appropriate thread... But still, I thank you a lot...
[Google Pixel 3a ROMs, Kernels, Recoveries, & Other] Terminator.J:
... Wow, okay. Tough crowd. Maybe, instead of noobs, they're folks coming over here from other device forums and confused as to why a Pixel device of all things wouldn't have a working TWRP on Q. *waves* Hi!

I just got my wife a Pixel 3a for an early Christmas present, was about to set it up this weekend, and came looking to see how you folks do it (OnePlus 6 user here, happily running TWRP & Magisk on Q, although it takes some jumping through hoops to get to that point), but having read that article you linked... Geez, that's some overcomplicated bull**** Google's doing to the newer Pixels' partitioning & recovery setups. I don't envy y'all. Still, somewhat confusing reading "TWRP DOESN'T WORK ON Q ZOMG WTFBBQ CAN'T YOU DROOLING IDIOTS READ?!" when I literally have it working fine on a different phone. Maybe ever-so-slightly modify the note to say "TWRP doesn't currently work on Android Q on the Pixel 3, 3a, 4, and presumably any newer Pixel series due to the changes Google made to the AOSP recovery structure and dynamic partitioning those devices employ that no other manufacturer uses". I mean, I know I'm in the Pixel 3a forums and not OP6, but it's like walking into an alternate universe and hearing people yell "Green doesn't exist!" and you look down at your green shirt and just back away slowly...

But then, I guess I did actually read the linked explanation before posting, and I guess that IS the exception rather than the rule on XDA these days (and as a parent of 3, boy howdy do I understand where Dees_Troy is coming from). Anyway, if it's of any use to development here, maybe go talk to [MENTION=4712355]mauronofrio[/MENTION] (TWRP dev for OP6) because it's a nut he seems to have partially cracked, although the difference in recovery layout may make it entirely pointless to compare.
[Google Pixel 3a ROMs, Kernels, Recoveries, & Other] jojo334:
The whole point is that a LOT of people dont read the info that is there. It clearly says DOES NOT WORK ON Q, yet someone goes ahead and does it. So they either A) didnt read the OP, or B) they thought they knew better, then want to cone get help from the poster that they didn't liatten to to begin with. I think most fall in the A category. And the problem there is that people should do research before messing with ANYTHING they dont know about, research and gather as much info as you can so the can understand if you do this then that happens, etc etc. Instead someone will go into a post on how to root the XYZ phone, and then ask someone " hey... How do I root my XYZ phone" instead of reading through the OP and comments etc. The irony of these " smart" phones and the internet is that it has made people impatient, people want to be spoon fed.... That's just going to leave us with a bunch of idiots, that cant think for them selves, unless someone is right there holding their hand telling them what to. So really.... People just need to fricken read and pay attention.
[Google Pixel 3a ROMs, Kernels, Recoveries, & Other] Skittles9823:
For the first part quoted, lmao yea different device forums do tend to be like that.

As for the second, I don't think the OP6 has the same partitioning system as the newer pixels do, there is no possible way currently to mount the needed partitions as read write to get a fully functional TWRP.
[Google Pixel 3a ROMs, Kernels, Recoveries, & Other] dkryder:
as i see it google has started using a file system similar to squashfs. i've been using an omega2+ since they came out a couple years back that uses squashfs. squashfs natively is the same way on write to /system. what was developed there is a method called /overlay. basically a copy is created and the /system of the copy is created which can be mounted read, write. only hitch is when firmware is updated backups need to be created. unless they can sorta automate that , going through the procedure each month might be tedious for some. i've got a lot of respect for those at TWRP so once they get the time they will have it solved, i think. anybody interesting in /overlay as a part of a solution should look at squashfs.
[Google Pixel 3a ROMs, Kernels, Recoveries, & Other] jakiki6:
Why does it fail to mount all partitions if i run it on my Pixel 3a with Android 10?
[Google Pixel 3a ROMs, Kernels, Recoveries, & Other] ZVNexus:
R E A D
[Google Pixel 3a ROMs, Kernels, Recoveries, & Other] jetracer:
Brand new 3a Xl, bootloader unlocked, on 9. Boot to twrp goes fine, install the zip to install twrp, restart to recovery and it bootloops and boots the system. Any idea what i missed?
[Google Pixel 3a ROMs, Kernels, Recoveries, & Other] ZVNexus:
DO NOT USE ANDROID 9. Using 9 just so you can have TWRP is stupid. Go use Android 10 and be sad because TWRP won't be supported on this device for awhile, they still haven't even started on 10 since October (or at least from what I can see), and Android 11's developer preview is just around the corner.
[Google Pixel 3a ROMs, Kernels, Recoveries, & Other] jetracer:
Ok so that's your opinion.. now that your rant is over any thoughts on the issue i commented about? Or am i just gonna get another don't bother responses.. actually if that is going to be your response just don't bother ill get the hint.
[Google Pixel 3a ROMs, Kernels, Recoveries, & Other] Uzephi:
What kernel are you running?
[Google Pixel 3a ROMs, Kernels, Recoveries, & Other] sic0048:
Did you replaced the stock kernel with a kernel that supports LZMA compression? Because by the sounds of it, you skipped this step.
[Google Pixel 3a ROMs, Kernels, Recoveries, & Other] BuT_TeR:
Works on 10?
[Google Pixel 3a ROMs, Kernels, Recoveries, & Other] ZVNexus:
It's generally good practice to read the OP before asking questions.
[Google Pixel 3a ROMs, Kernels, Recoveries, & Other] lollilol:
is there any ETA for Android 10? appreciate your work bro
[Google Pixel 3a ROMs, Kernels, Recoveries, & Other] ZVNexus:
Wrong person to ask. That's up to the core TWRP team, and they don't give ETAs anyways.
[Google Pixel 3a ROMs, Kernels, Recoveries, & Other] lollilol:
aight. Thanks for reply! :)
[Google Pixel 3a ROMs, Kernels, Recoveries, & Other] dkryder:
Side note, I read the lineage 17.1 released comes with the recovery. Which made me wonder if those phones that the ROM runs on handle the whole r/w /system issue different than pixels since no pixels were in the list of supported devices.
[Google Pixel 3a ROMs, Kernels, Recoveries, & Other] digital_dad:
Hi everybody. Noob here. I understand that I need to flash a kernel that supports LZMA compression, but I don't know where to look to find these kernels. Can somebody post a link where I can find them? Can I get a LineageOS kernel that supports LZMA compression? Any response is much appreciated.
[Google Pixel 3a ROMs, Kernels, Recoveries, & Other] xdadevnube:
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.
[Google Pixel 3a ROMs, Kernels, Recoveries, & Other] digital_dad:
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.
[Google Pixel 3a ROMs, Kernels, Recoveries, & Other] xdadevnube:
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!
[Google Pixel 3a ROMs, Kernels, Recoveries, & Other] djjohnnyblaze:
Can confirm. TWRP for Sargo does not work for Android 10 from my tests (temp boot or install)
[Google Pixel 3a ROMs, Kernels, Recoveries, & Other] joniroten:
Is there any solution to flash TWRP on pixel 3A ?
[Google Pixel 3a ROMs, Kernels, Recoveries, & Other] shaneg79:
Only if you go back to Android pie
[Google Pixel 3a ROMs, Kernels, Recoveries, & Other] joniroten:
Well thank you.

I've tried to downgrade and totally blocked my phone into the fastboot mode.

I have "error boot prepare" error and can just stay on the fastboot screen. If you can help let me know :)
[Google Pixel 3a ROMs, Kernels, Recoveries, & Other] thatsupnow:
You have the wrong kernel. Flash the right one and it'll boot up