yashsingh1/xdaforums huggingface dataset:
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] blueyes:
I never flashed the TWRP image. Not even when I was on A11 (stock). Haven't done so in quite a while. I use the "fastboot boot twrp.img" command to temporarily boot into it and used the zip file to patch the boot.img or, like more recently used TWRPs built in boot patcher to do it.

If you're bootloader is unlocked flashing backwards to A11 shouldn't be a problem. I don't see why wiping the device would do anything that would effect the IMEI. You can just download the full A11 factory image zip and run the flash-alll script and it'll flash all the necessary files for you to return to A11. The install script does include "fastboot -w" command that will wipe your userdata (necessary especially when downgrading). So move anything you need to a computer or flash drive before. The wipe only formats user data, but since your flashing the full image those image will obviously replace your current ones. Unless you somehow modified your IMEI I don't see any reason to worry. (You'll have TWRP on A11 so..)

Once in 11 boot into TWRP and install it.

Personally I used TWRP to flash the factory OTA to get to A12. Then used stock recovery and adb sideload to update it (wasn't getting the OTA normally). Upgrading from stock to stock doesn't require a wipe so I haven't wiped mine.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] kb5rir:
Thanks so much for all your hard work bigbiff

Are you going to move on to pixel 5 or 6 or is there any hope for TWRP on coral 12
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] kb5rir:
I agree 12 seems really nice I'm liking it so far. There putting these upgrades and phones out so fast the devs at TWRP are working there hind ends off trying to keep up. I'm afraid they won't do 12 for the 4xl because newer pixels are out. I bought a brand new note 20 5g ultra from Google. Only to find out the only way to unlock the bootloader is to pay someone. I had given my pixal to a friend. Then I traded the note for my 4xl back. Lol. I know I should have done my homework better. Sometimes I just long for the days of my rootable at&t note2 and jeiiybean back :-(
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] bigbiff:
I am working on general updates for A12 now. It will be some time.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] kb5rir:
Thanks so much
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] GROOVYJOSHCLARK:
Let me know if you need anything, testing, ROM coding, ETC! Thanks for all the hard work you put in for us!!
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] kb5rir:
Just checking in, see how things are going.

Hope your doing well. Bigbiff
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] XfilezDaGreatestEvr:
I have a pixel 4 xl android 12 and I have tried every which way to install TWRP however it keeps getting stuck on trwp splash page it doesn't go any further and if somebody can give me a description on how to install or patch the lmza this ramdisk I have seen several tutorials on how to flash t w r p but none of them work I do have my bootloader unlocked that part is done but so far all I was able to flash successfully was magisk..can anyone give me the exact commands to use in order to get TWRP successfully flashed ...thank you in advance.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] wrongway213:
Coral TWRP doesn't support anything above A11 as of now. You either gotta downgrade to 11 for TWRP or flash things in fastboot and Magisk instead and stay on 12.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] blueyes:
TWRP isn't compatible with Android 12. You'd have to roll back to Android 11 if you really need/want it (if you look at the TWRP files they have "11" or "10" in the name. You don't want to flash it even in Android 10 or 11. You should use "fastboot boot twrp*.img" then flash the zip while in TWRP.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] Felxx4:
I'm using lineage OS 19.1 on my pixel 3. I flashed it using TWRP, but that installed lineage recovery, which I don't want. When booting into TWRP via fastboot to install TWRP again, the screen won't react and I can't do anything.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] GROOVYJOSHCLARK:
*EDIT (I misread), editing:

I don't have the 3 (well I do have the 3XL too) but I don't use it anymore, my 4XL is my daily driver. I would suggest to check the kernel you are using. For the 4XL, there was a specific kernel requirement (LZMA ramdisk) so it could be something like that.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] Felxx4:
Firstly, thanks for your help.

I'm a little confused now, because it TWRP was working in the beginning. I flashed TWRP and used it to install a Lineage Image, so initially TWRP was working.

I would like to give this a try though, where can I find Information on that?
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] GROOVYJOSHCLARK:
Sorry for delay, I don't check this forum that often but I'm not sure. I don't have the 3 bootloader unlocked, it's from big red (my ONLY pixel phone that was NOT purchased from Google directly), I got it as part of a deal to pull over my wife's kids too big red, so I took it to sell off (I'd NEVER use any piece of garbage branded verizon device) EVER! So it's being sold off as brand new, unused, once paid off lease. Meanwhile at the time when I got the 3xl deal, I was ONLY using my pixel 2xl. I used my 2xl forever, and far past the lifespan of the device until my 4xl was purchased. That's my daily driver my 4xl, my 4xl ROCKS! Because I basically ONLY use my 4xl, I haven't bothered with the 3 but I'd check in those TWRP forums for the 3.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] bigbiff:
Hello all. We plan on doing a 12.1 release of TWRP soon. Here is a test build of coral. I am told it should decrypt 13 as well. Please let me know if you have issues.

https://build.twrp.me/test/coral/twrp-3.6.2-0-a12-coral.img
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] GROOVYJOSHCLARK:
right on, I'll test shortly! thanks man!!
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] danversss:
supp a13?
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] tasoskio:
a13 dont work touch
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] bigbiff:
It looks like we will have to wait for a13 support since google has updated the kernel modules extensively.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] xorrgnlusrx:
If i'm on stock A10, or A11 , can i flash this without needing a custom kernal ?

the official twrp page says it needs LZMA ramdisk kernel ?
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] blueyes:
You don't need a custom kernel. Use fastboot to boot into the image, then use TWRP to flash the zip file.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] xorrgnlusrx:
can you have twrp and magisk installed at the same time , i thought only two slots available ? , do when i live boot to twrp is that when i flash twrp ?, does this only work with A11 ? what about A10 ?, i have brain damage my brain has trouble retaining information.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] blueyes:
Once you boot into TWRP (fastboot boot TWRP. img) use TWRP to flash the TWRP zip that you should have downloaded. It will flash TWRP to the active slot. Nothing will be done to the inactive slot.

Them to root, either find a magisk flashable zip or simply rename the magisk.apk to magisk.zip and flash it in TWRP (after the TWRP zip as TWRP sometimes removes root.)
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] xorrgnlusrx:
thank you for clearing that up ! , can i install zips (ie roms,magisk etc) with twrp live booted up without flashing it. ? i was told i cant have root and twrp installed at the same time.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] legend876:
i tried it on pixel 4xl on pixel experience an touch ain't wroking
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] legend876:
Maybe I just gotta wait till there's a more stable build cause the touch not working on a12l either
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] xorrgnlusrx:
are you on 12.1 or 12 because its working for me. with latest los , what slot did you flash to ?
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] legend876:
I'm on 12.1 pixel experience is....an I don't know I just boot to it using fastboot boot twrp.img
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] legend876:
I tried flashing it also and not any luck with it
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] legend876:
IS THE TOUCH NOT WORKING FOR ANYONE ELSE ON ANDROID 12L
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] Syntaxerror_s:
All the devs have left and are not responding.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] GROOVYJOSHCLARK:
thats the proper method, I urge newbs all the time, DO NOT INSTALL TWRP, just fastboot it when needed and keep the stock recovery / boot.img, otherwise it doesnt work right! No one listens though, users like to break things trying to appear as they know what they are doing, then it breaks, and users come here and complain X,Y,Z doesnt work, meanwhile they just did it wrong!
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] bigbiff:
Mostly due to lack of ability for debugging.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] bigbiff:
This happens to work for you well, since fastboot image has it's own built in kernel and modules. Whatever the user installs after a repack, has to work with TWRPs touch interface. A lot of times I have to know exactly what a user has installed to replicate and figure out the issue. A minimum log upload is required for any reasonable help.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] legend876:
On pixel experience android 12 it isn't touching with are without fastboot method also tried it on criod ROM Android 12 an ain't touching either i don't know wats the case are why
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] GROOVYJOSHCLARK:
agreed, and as always BigBiff, let me know if I can help you, or if you need anything from me (or to test/do anything) to help!
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] ax562:
You are right, I am on LOS19.1/090422 and I used "fastboot flash boot twrp*a12.img " and the touch screen does not work. Also, ufnortunately, a reboot brought me back to twrp and not system. I had to manually flash LOSrecovery090422.img to get system reboot back. I will try to update to latest LOS19.1/0918/22 and go from there. I seen some folks got this to work @GROOVYJOSHCLARK ? What OS are the people on that got this to work and build date? Is there any logs I can provide for debuggin purposes? Any suggestions would be greatly appreciated. Ty for your works @bigbiff

Edit: Forgot to mention that TWRP was asking for passcode to decrypt in which I couldn't press since screen is not working. I will remove passcode. Also, I am rooted using Magisk and no Gapps. I will update Magisk and LOS and report shortly.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] legend876:
I didn't get any reboot only just ain't touching but @xorrgnlusrx said he's on the latest Los an it's working fine
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] bigbiff:
You overwrote the boot partition with TWRP, so android will never boot. You will need to reflash the boot.img with LOS. I would need recovery.log and logcat to debug any touch issues.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] legend876:
How do you get the recovery.log
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] ax562:
Yes that is what was done on LOS19.1_090422 to recovery_b and once I updated to LOS19.1_091822, twrp*12.img was written to recovery_a. All I did is "fastboot flash boot twrp*12.img" as instructed. From my understanding, this is only supposed to be a temporary flash but again, once flashed I coould not boot system normally. All reboot defaulted back to twrp with no touchscreen access. I also disabled passcode and the problem persisted. I will report recovery.log and logcat shortly @bigbiff
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] Lughnasadh:
I think you want to fastboot boot twrp.img, not fastboot flash boot twrp.img
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] ax562:
Let me try that, thank you.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] ax562:
Once you boot into trwp12 recovery you have to run this command from terminal "adb pull /tmp/recovery.log" or "adb pull /tmp" if you want the whole tmp directory.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] legend876:
Thanks man imma try that soon
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] ax562:
Attached are "recovery.log" and a logcat after reboot from "fastboot boot twrp*a12.img". Let me know if you need anything else. I used fastboot 33.03 (latest), I'm on LOS 19.1_091822, Magisk 25.2 and no Gapps.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] ax562:
Not sure why my attachments didn't upload. Here are links to recovery.log and logcat @bigbiff
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] bigbiff:
Can't you use pastebin or another site? I don't really like using that site.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] ax562:
recovery.log

drive.google.com

2022-09-24-13-32-39-coral-logcat.txt

drive.google.com
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] legend876:
Is there anything new on twrp
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] GROOVYJOSHCLARK:
exactly what I am trying to get across, DO NOT INSTALL or flash boot TWRP, just boot TWRP
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] GROOVYJOSHCLARK:
I noted this many times, its what you confused and caused your boot failure issues, you flashed it to boot, but you didn't do it how I advised with temp booting the .img. Instead of the temp boot, you actually overwrote the boot.img and caused the hiccups when trying to load the /system (OS) because the boot.img is no longer valid nor is what your device is expecting (hence the boot issues).

The temp method gives you TWRP, fully functional, but temporary and NON-persistant because you only booted from it, but didnt overwrite the boot.img (boot/recovery) partition. Pixel (A/B changes the recovery partition and merged with boot.img so there is no longer a recovery partition, its virtual within the boot.img. To recap, dont flash it to BOOT, just temp boot the TWRPO image, here are the steps again (for everyone else):

FROM LOS:

Temporarily flash a recovery on your device by typing: fastboot flash boot <recovery_filename>.img
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] ax562:
Temporary booting to twrp*12.img also did not work (no touch screen functionality). Also, you are giving improper instructions to do this. The proper method to temporarily boot into twrp and not override current recovery is "fastboot boot twrp.img," AND NOT "fastboot flash boot twrp.img". The latter permanently removes whatever recovery is present due to the fact of "flash" command. Both methods did not have touchscreen functionality. I was erroneously using "fastboot flash boot twrp.img" and overriding my present recovery.img.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] GROOVYJOSHCLARK:
Good catch on the fastboot (I copied/replaced) from the OP and didn't catch it! NICE JOB! I HATE having typos or syntax errors unchecked! I hate it when I have syntax and newbs use my (wrong) syntax (as sound/factual/correct), then have issues or are struggling to follow them (because I had syntax errors)!! THANK YOU for the find and sorry if it caused you flash issues (permanent verses temp as I intended)! I am ONLY human, so I do make mistakes! I am not the type of man who's to macho to be wrong, nope, I am wrong ALL THE TIME (and proud of it)! You cannot learn, without making mistakes, and learning from those mistakes so I am all good with the public calling me out!!!! I have no problem being wrong, except if MY WRONG wording breaks anything, that's my only problem being wrong. I HATE BEING WRONG with syntax errors and it causes issues for users, so I DO appreciate you calling me out!!

As far as TWRP touching, what ROM version (12/13), and which TWRP .img was used, with what kernel?
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] legend876:
I have tried it wit latest lineageos and with it's stock kernel it has still no touch
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] Syntaxerror_s:
Hmm maybe do a full reset/ fastboot flash system / fastboot flash erase system_a and b / fastboot oem citadel reset / reset-locks ,install firmware and try again, I tested this the other day and it worked flawlessly. Sometimes changing active slot fixes things sounds stupid but it has worked in the past for me
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] ax562:
It takes a MAN to admit their mistakes. Kudos to you good sir. I make mistake and most times can admit to my mistakes (working on becoming the best me). Honestly, I made the same mistake because I was following the LOS install guide which states it's a "temporary" flash. It technically is because once the full LOS system package is installed it reflashes boot to whatever vesion is being installed. With that being said, this was all tested on LOS 19.1 v091822 (Android 12 not sure if LOS 20 is even out for Android 13) stock LOS kernel and stock recovery 091822. I used the LOS update feature from within LOS 19.1 to update (been updating using this method since LOS 19.1 v050822). I have been trying to test twrp version = twrp-3.6.2-0-a12-coral.img. I spoke with a LOS dude via irc and his thoughts on the matter were that most likely the kernel of the twrp-3.6.2-0-a12-coral.img is being compilled without touch screen support. I'm not sure if that's the case I haven't dug in too deep on this matter but I might. Curious what @bigbiff thinks? Recap, flashing or booting into active /boot slot gives no touch screen capabilities. For the folks stating that this is working, what ROM/kernel are you using? Thanks for all the feed back/help!
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] ax562:
I would be willing to do all of this if this device wasn't my daily driver (I can't backup without working twrp). What ROM/Kernel did you test this on when it was working?
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] Syntaxerror_s:
Lol i would answer if I knew .. I have compulsive ocd I literally flash a new ROM every morning. *edit* I think it was protonaosp or los 19 , running krisakura kernal
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] Syntaxerror_s:
I recently downgraded from 13 fw to 12. But can't remember what fw I had at the time sorry I can't be of much help , but if its any help los 19.1 supposedly needs 12.1 firmware to run , but that is incorrect as it runs flawlessly on 12 firmware
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] ax562:
As far as I know, LOS 19+ comes bundled with the appropriate firmware in their package. No need to flash OEM firmware and then flash LOS19+ like in LOS18, already baked in. So when flashing LOS 19 or 19.1, it should work regardless of what firmware was previously flashed on device.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] Syntaxerror_s:
Yeah true , I'm just a newb. But I read on los website or the XDA post that 12.1 is needed. ?
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] ax562:
Actually, you are correct, the text below explains in detail. I'm not sure if what I was remembering was for LOS 18.1 or for another device I own. My memory served me wrong and I do have the official google image for 12.1, so looks like that's what I did as well. Thanks for the correction.

Warning: Before following these instructions please ensure that the device is currently using Android 12.1.0 firmware.

If the vendor provided multiple updates for that version, e.g. security updates, make sure you are on the latest!

If your current installation is newer or older than Android 12.1.0, please upgrade or downgrade to the required version before proceeding (guides can be found on the internet!).
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] Curiousn00b:
Duuuuude, I remember doing this back in the day. That fresh feeling just felt so good like peeling the plastic off a new PC case, lmao.

On a side note, going to have to give this TWRP stuff a try. Might've been the Pixel 2 XL since it's been so long since I touched TWRP, but the touch screen thing I remember always being a kernel dependant with the 2XL.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] GROOVYJOSHCLARK:
lol thanks :) I try not to ever do what I did do, but I am only human, and I make plenty of mistakes so chalk it up to user error
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] xdadottts:
Confirmed "touch" is not functional using twrp-3.6.2-0-a12-coral.img

Running: Build lineage_coral-userdebug 12SQ3aA-220705.004

LOS ver: 19-20221002-NIGHTLY-coral

PIXEL 4 XL

What is method to make backup of the running ROM as an image?

Is there a cmd-line option?
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] bigbiff:
I need logcat as well to see initialization of touch kernel modules. I am assuming you repacked TWRP into the recovery ramdisk?
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] ax562:
Logcat was provide with recovery log (2 seperate links). In regards to twrp, all I did is "fastboot boot twrp-3.6.2-0-a12-coral.img". Let me know if you need anything else. Ty
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] xdadottts:
ok..latest TWRP is out!

twrp-installer-3.7.0_12-0-coral.zip	28.9M	2022-10-02 23:34:15 UTC
twrp-3.7.0_12-0-coral.img	64M	2022-10-02 23:34:11 UTC

But when I fastboot boot twrp*.img , i get no touchscreen. Need "lzma"

I downloaded Kirisakura-FLORAL_9.0.2.zip

BTW, I'm using : Build lineage_coral-userdebug 12SQ3aA-220705.004 LOS ver: 19-20221002-NIGHTLY-coral ROOTED!

@[SIZE=3]GROOVYJOSHCLARK[/SIZE] or Can someone advise on next set of steps to install kernel and twrp? Can I use Fastboot or Recovery or..​
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] son_91:
Has it worked on Android 13?
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] GROOVYJOSHCLARK:
I do not install TWRP, I only ever fastboot it when needed (so its temporary and not persistent) which is how you want to use TWRP. As to kernels, be careful or you will bootloop to bootloader if you choose one for stock (and most are). I also do not run any 3rd party kernels; just what LOS provides. When using EX Kernel or FKIM Kernel, it BL loops, so dont try it unless you are on the stock firmware. I used to use EX/FKM but not anymore, others can chime in, but I have not found a working kernel for LOS 19.1 that doesn't bootloop (nor do I really need a 3rd party kernel with LOS's kernel). I find LOS is well suited for my needs and I am dev/power user so I dont recommend 3rd party kernels right now.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] ax562:
Also, if twrp touchscreen is not working it doesn't matter what kernel you are using, twrp boots own kernel and at this moment it's not supporting touchscreen. You can see this when you boot to LOS recovery, touch screen is functional.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] ax562:
Not yet, still not working for 12, no touchscreen capabilities.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] ax562:
All right folks, I found a work around for the time being using twrp for android 12.1. twrp does support usb mouse capabilities and I was able to use a usb wireless mouse (with usb c to a adapter) through the usb port. I successfully backed up and restored 2 different OS'. I can add details if anyone is interested. Ty @bigbiff for your continued works!
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] xdadottts:
T.Y to GROOVYJOSHCLARK & ax562

@ax562 I would like details howto "use a usb wireless mouse (with usb c to a adapter) through the usb port" I downloaded scrcpy . I also installed the TWRP.apk, but it states: "Unable to locate recovery"-see scrnshot