yashsingh1/xdaforums huggingface dataset:
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] pixel2404:
I have now made it. The main point was/is that the installation of TWRP does not work. No matter which options you choose.

The temporary start works:

fastboot boot twrp-3.4.0-0-test9-coral.img

so I could install LineageOS 17.1 for the Pixel 4XL.

What doesn't work is to temporarily start LineageOS TWRP again after the installation although I use exactly the same command.

The device starts with TWRP but I only see the background. No buttons ect. So I can do nothing with it. I would need TWRP to install microG.

Does anyone have any tips for me on how to do this?
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] bigbiff:
Can you post a picture of the issue you are having?
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] pixel2404:
When I start the recovery as described above temporarily via fastboot I see on my cell phone:

[IMG="TWRP without buttons"]http://www.dreampixel.de/twrp.jpg[/IMG]

My problem is that I need TWRP to install GApps or microG on my phone because without it I get a SIM error every 30 seconds :(

[IMG="SIM-Error"]http://www.dreampixel.de/sim.jpg[/IMG]

Translation: SIM Manager is repeatedly terminated.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] bigbiff:
Can you check for adb access when on the TWRP splash screen?
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] WorldOfJohnboy:
I have my Pixel 4XL running on Android 11. I am trying to flash Magisk to get root back, and I'm used to BOOTING to TWRP (3.4.0-0-test8-coral) to flash the Magisk Zip. When I try that, it keeps asking for a Password. I had a pattern unlock with face recognition and even tried removing all security to just a swipe. No matter what it still asks for a password when going into TWRP. Am I SOL?
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] Madjax2020:
You have TWRP running on android 11?
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] WorldOfJohnboy:
No. I BOOT to TWRP

My normal process for the monthly update:

Download Full Image

Edit Flash-all.bat to remove "-w"

Boot to bootloader and run flash-all.bat

Boot to system and let it finish update

Boot to Bootloader

Run "fastboot boot twrp.img"

Flash Magisk within TWRP

Reboot system and I'm upgraded and rooted.

That is a lot easier/faster for me to do than having to extract the updated Stock boot, send to phone, patch within Magisk, copy patched image to PC, reboot and flash via bootloader. I know it sounds like its more steps, but the extraction and copying of files all over the place is nuts to me...
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] pixel2404:
I have started all over again:

- Stock ROM installed

- LAO installed including microG

Now it works.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] rob_z11:
So you are technically booting into TWRP every time you need to do something, but it doesn't write or install recovery to any partition.

Does it work for android 11?
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] xDontStarve:
Hello, I was wondering what does

Debug policy(a): enabled(not in list)

Debug policy(b): enabled(not in list)

mean?

I'm here from this thread and I need help to maybe make it disappear (I get it even after wipe and flash image).

My secure boot and NOS production is also messed up, I DONT KNOW WHAT THE PREVIEWS OWNER DID, i just want a normal phone ;_;

thread: https://xdaforums.com/pixel-3-xl/help/how-to-deep-flash-partitions-to-stock-t4190109#post83924441
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] 1dopewrx05:
It's been stated multiple times in this thread that TWRP, in it's current form, does not work with android 11. The reason it's asking for a pw regardless of having one set or not is because of the incompatibility. It will not work with A.11
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] mattwheat:
I ended up using the Android Flashing Tool.

It allows you to flash your Pixel device directly from your PC's browser. It put the simplest AOSP on your phone. It will look like you've booted android 3.2 gingerbread once it boots. So you'll need to have the latest full stock image file. Meaning not the OTA but the full file. Once you get your phone booted back up you'll go back to bootloader/fastboot mode by trying off the phone, then hold the volume down button and the power button together till it comes up in bootloader mode. Connect it to your PC and extract the full stock file and go into the file folder and click the "flashall.bat".

It will do everything for you. Should take about 10 mins if that. When it reboots just hit any key on your PC to exit, unplug your phone, and go thru the normal setup. This will return you to stock out the box like it was brand new.

But to answer your original question... I don't know what it means. That's why I was asking? Lmao

Goodluck
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] jmac052002:
I know I have seen you state that you had a couple issues left to clear up before you will be making TWRP compatible for our 4 xl on A 11 so my question is I now own the pixel 5 and wondered will that mean pixel 5 will have TWRP working maybe sooner than pixel 4xl did?
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] kb5rir1:
I personally will never buy another phone that is not already on the TWRP list.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] WorldOfJohnboy:
Well, I guess it would be swell if the OP could at least put that line in the 1st post... searching through 40+ pages to try an extrapolate that fact was fruitless on my part.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] wrongway213:
"TWRP seems to be pretty stable now as of test 5. Missing features include adb sideload and repacking recovery which I will be working on in the upcoming months. Android 11 will be supported when stable APIs have been release and we have time to update to that release."

From the OP in first post. Please actually read posts before accusing them of lacking information clearly included.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] WorldOfJohnboy:
That's not crystal clear for us non-Devs, or at least me in particular. I read through it and interpreted "supported" as in "I'll provide support for TWRP on Android 11 when..." So basically I misinterpreted it as it will run, but they can't provide support/help. Sometimes simple is best:. "TWRP will not run/function on Android 11 until..."

It's a misunderstanding and I'd appreciate your consideration of that instead of jumping to a veiled insult of me.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] wrongway213:
I'm certainly not trying to insult you. I apologize if something I said gave that impression. I was simply trying to advise you, as an RC/member with a lot of experience here, how to stay in compliance with rule 1 of XDA's Forum Rules in regards to a situation like this one.

Rule 1:

1. Search before posting.

Use one of our search functions before posting or creating a new thread. Whether you have a question or just something new to share, it's very likely that someone has already asked that question or shared that news.

From XDA Forum Rules: https://xdaforums.com/announcement.php?a=81

Sorry if you thought that was me trying to insult or embarrass you. I was just trying to show you the information was right in the OP & how to approach it next time - sometimes things don't come across as you mean them, and again I'm sorry if I offended ya.

Lastly - you'll be served well to always assume the latest stated date without a link is accurate. Developers and users tend to make a big deal out of Android version bumps. If you're looking for it and seeing evidence it may or may not be there.. it's likely not there yet but coming.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] WorldOfJohnboy:
I did search the post and nowhere in my search results did I find a post that the OP or anyone stated that Android 11 was the cause of the issue and that TWRP didn't function on 11. The OP has a lot going on in the 1st post, but what l was unable to interpret from it was Android 11 = no dice. I have seen other threads by Devs where they will put sections like "What works:" and "What's broke:" and though I am not saying everyone has to do that, something along those lines will help make my original comment null and void. I've been on these boards for a long time and know the rules of the road, etc. Carry on...
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] friedCELLS:
I have the same problem as this user. After Lineage 17.1 is installed, I installed the recommended kernel from OP using FKM. After that, if I try to boot TWRP even just temporarily using fastboot boot twrp.img (using correct filename), it just hangs at TWRP loading screen as he shows in his photo on his next post. Same thing. This TWRP does not seem to work with LineageOS installed.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] friedCELLS:
Just so you know, you don't need TWRP to install Microg. You can follow this video to do it:
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] bigbiff:
Can we get debug logs?
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] vanish0104:
Works great on stock firmware with the recommended kernel!

Thanks for this!
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] bigbiff:
I looked at the issue and was able to fix it myself. For those having issues with Lineage-17.1, please try

https://build.twrp.me/test/coral/twrp-3.4.0-0-test10-coral.img
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] Bdavidb71:
So does this twrp test img work with Android 11?
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] 2WildFirE:
ATM all images only work 100% for Android 10.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] wrongway213:
Lineage 17.1 = Android 10. Lineage 18.x is Android 11.

Simpler answer: unless it specifically says it's for Android 11 or a test for Android 11, assume it's not. I can't imagine something as major as "Android 11 support added" would be left out of changelogs/release notes.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] bradical711:
@bigbiff I recently updated to the new updated to the new TWRP recovery 3.5.0 from 3.4.0 test img 10. Now that I updated however, I have a problem. Before, I was able to decrypt data and now that I have updated, I am no longer able to do so. Everytime I try to decrypt with my correct password, it fails to do so now when before it worked.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] hellomrwhite:
You should read the changelog for the new update that'll give you the answer 👍🏻
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] bradical711:
That was the first thing I read before flashing the new image but thank you. It's possible I could have missed something but I went ahead and read the changelog again for my own sanity's sake rn. I saw something related to MTP still not working in the downloads section which I saw earlier already. I also did the update correctly to the new image following the instructions provided in the DL section. I also went ahead and reinstalled the new 3.5.0 image and same issue persists. So maybe you can elaborate on what I missed in the changelog that was related to decryption. Please and thank you if you don't mind. This is what I saw related to encryption. It was as follows "FBE Fixes - CaptainThrowback" "FDE encryption fixes - CaptainThrowback" .... Like I said, before I was able to decrypt my data and now I cannot with the new image. I didn't change passwords and even reset my password etc etc. Any further suggestions/help would be appreciated. Thank you!! I can of course post logs if need be, I am just curious if anyone has this issue/how to fix it.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] hellomrwhite:
New TWRP 3.5.0_9-0

Changelog:

- All TWRP 3.5.0_9 changes and improvements

- Persist and firmware (modem) partitions aren't backup-able anymore. Firmware partition backup/restore/wipe with vfat partition makes network issues; and with emmc backups are useless since can't be restored successfully, and this "filesystem" isn't wipeable.

- Persist partition doesn't need any backups/wipes/restores, and if someone has some particular issues, it's always better to go to latest stock firmware, better with pit file too.

I honestly made that comment because I had just seen this in another post, I'm definitely not someone claiming to know how to solve these issues, just trying to help a little my bad. Hopefully this helps 👍🏻
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] bradical711:
Unfortunately this doesn't help me much but I appreciate your help for the reference. This doesn't help me because I'm not trying to back up either of those partitions or restore them. For reference, I was able to decrypt my /data before using my password on the previous twrp3.4.0.0-test10.img. I also made a full backup up of everything on the previous twrp3.4.0.0-test10.img including /data but am now unable to do so because /data can't be decrypted anymore with my password. I never restored my backup on the previous image but I wanted to have one on the fly just in case. I also already know what to backup/restore and what works etc etc. Would you mind linking to the other post that you saw btw? Please and thank you, that'll be the last I ask of you!
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] hellomrwhite:
For sure this is the link for the original comment on the related post hope you get some real help better than my noobish attempt lol

https://xdaforums.com/t/recovery-3-5-0_9-unified-matisse-millet-twrp-recovery.4019831/post-84213099
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] bigbiff:
Did you do a format of data or just a wipe? The problem with FBE devices, is that once you format data, TWRP cannot restore data from your backup because those keys are needed for restore. You shouldn't format data unless there is a serious issue and just let TWRP run the logic to wipe data without wiping required metadata files.

Once a format has been done, gatekeeper will not allow usage of the old FBE keys.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] bigbiff:
Hello all, I have released an update on https://twrp.me that enables MTP for this device. Please let me know if there are any major issues,
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] hellomrwhite:
Can't seem to find the updated post 😕
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] bradical711:
I did neither of those options but that is super good info to note, so thank you. All I did was upgrade TWRP from the last test image to the official image and I can no longer decrypt my /data. It says "unable to mount /data (invalid argument)". I actually just updated to the new TWRP 3.5.0_10-1 and the same issue persists. I disabled my password and it still asked for a password inside of TWRP... TWRP also says it cannot access "data/recovery/.version" and when I open the file inside a file viewer it still says TWRP 3.4.0 inside of the file. TWRP also cannot access the ".twrps" settings file either. I don't know how much this info helps though.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] bigbiff:
Can you post logcat and recovery.log?
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] bradical711:
I tried to get recovery.log from within TWRP when booted by copying logs to data/media/recovery but there isn't a log posted inside the folder when I reboot. I also couldn't figure out how to pull a logcat from within TWRP... If you could please tell me how to get both a logcat & recovery.log for you, I will have them posted.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] bigbiff:
recovery.log is in a temporary file system and gone when you leave TWRP.

To get logcat, execute logcat > /tmp/logcat.log then use adb to pull it.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] GROOVYJOSHCLARK:
@bigbiff I just wanted to say thank you for your hard work and the awesome dedication you show us by bringing a working TWRP recovery for our pixel 4 XLs! I am going to send you a few beers when I get to work to show my appreciation!
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] sharpz811:
So does this work for Android 11 or just Android 10? Much appreciate the hard work!
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] WoZzYDoesitbest:
Following... Wondering same about Android 11?
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] bigbiff:
As noted before, it supports android 10 only.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] sharpz811:
I'm sorry we must be blind because no where in the op does it specify compatible Android versions.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] Homeboy76:
It's, Kinda, in the OP.

coral Device Config:

GitHub - bigbiff/android_device_google_coral

Contribute to bigbiff/android_device_google_coral development by creating an account on GitHub.

github.com
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] bradical711:
I apologize for getting back to you so late, I don't have access to a computer consistently. Today I finally was able to use a laptop for a couple hours and I tried to get you logs. No matter what I tried or looked up on the internet, I was unable to figure out how to pull any logs from recovery etc to upload them for you. I'm obviously missing something in the ability of getting my logs for a proper report... My apologies, I'm still stuck with the same problem but at this point I've given up...
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] GROOVYJOSHCLARK:
I'd say it's a little more than a kinda mentioned, especially because it's noted throughout this forum:
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] Homeboy76:
That's "Old info", ROTFLMAO 😁😁😁

Just kidding about the "Old info", you're right.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] GROOVYJOSHCLARK:
Isn't it still relevant and isn't 11 still not supported yet? What makes it old, I'm not arguing but trying to understand the comment.

Unless it's a joke that went over my head (which happens often).
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] Homeboy76:
"To fast for the kid." read the modified post above.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] GROOVYJOSHCLARK:
LOL it's the new XDA app that actually works and notifies me :) all good
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] chairman011:
Wait this is now official?? So stable??
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] Lughnasadh:
For Android 10
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] chairman011:
Nice!!!!!
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] LastQuestion:
Hi,

I have a pixel 4a 5g that's stuck on fastboot after failing to uninstall magisk prior to doing an OTA update.

I'm wondering if it's possible to use this version of TWRP or the Flame version to get ADB access and uninstall modules. My thoughts being "Fastboot boot [twrp-file.img]". Is this possible?
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] Homeboy76:
No.

Use this guide, and do #7 to root/reroot.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] dragynbane222:
No, doing this will only make your problems worse as the 4 XL and 4a 5g use an entirely different SoC. At best TWRPv will fail to load, at worst, you could brick your phone
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] LastQuestion:
It's an excellent guide. I followed the steps in it earlier. My problem is I'm in bootloop/stuck on fastboot/stuck on "G" logo. I can't load the system.

from the guide under #4:

" If your

phone was rooted, and you want

to 'Keep Data'. Do this first unhide Magisk Manager (if you hid it) then Uninstall Magisk prior flashing the Factory image. Why? The changes in the Factory image may cause Magisk modules to fail. This will cause

bootloops

. "

I think that describes my problem. I'd like to avoid factory reset and erasing data, but the steps to avoid doing that modifying the "-w" in flash-all.bat didn't work. I learned it's likely some residual magisk modules or other magisk related data that is still present, and the only way I can tell to delete it would be via ADB commands, TWRP, TWRP adb/file manager, or factory reset (though I'm not 100% sure the factory reset will really fix it).

I was hoping there was a way to get ADB working through Recovery or Rescue or Fastboot or something like TWRP loaded via fastboot boot.

I'll take a deeper look at the guide again tomorrow morning. I'm still hoping to resolve this without factory reset, but thinking maybe I won't have a choice. Unless someone in TWRP development can send me an early build of whatever they're working on for Android 11/Pixel 4a 5g. Though I have no idea who to contact and ask about getting that early build.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] Homeboy76:
This is OT for this thread, i'll answer it on the guide thread.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] cracky.ice:
How to translate the missing text
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] bigbiff:
Are you looking for Chinese? I can add it if so.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] storytellerz:
Hi guys, I need a little help on having TWRP on my newly purchased 4 XL. I have unlocked my bootloader already. Now I am trying to boot the TWRP img with the fastboot boot command, my phone screen lights up and trying to enter the TWRP screen but somehow stuck at that screen forever. Anyone can help on this?
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] Homeboy76:
<Edited for Clarification>

With the latest SDK Platform-Tools: r30.0.5 installed.

- fastboot boot (name of twrp file)

Ex., Fastboot boot twrp-3.5.0_10-1-coral.img

The fastboot command above should boot twrp

Notes:

Make sure twrp.img is in the Platform-tools folder (The folder with fastboot.exe in it.)

Make sure you enabled developer options.

No T.W.R.P. for Android 11 (R) yet.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] storytellerz:
Same, my phone stuck with TWRP booting screen.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] Homeboy76:
@storytellerz

Did you read my modified post (page 24, two post up)?
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] storytellerz:
Now I read it. My bad, I am on Android 11. :(
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] cracky.ice:
Sorry this is my problem, I have solved it, don’t be a stupid like me, the same problem shouldn’t happen
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] japanicana83:
[solved] Flashing the stock rom on my own failed, (flash_all.bat). However using the generic setting on the "tool all in one" application seems to have successfully flashed the rom. I don't understand how, but it did. Leaving the post in hopes that if someone else has this issue, it helps.

I successfully used fastboot to boot to twrp and then successfully copied the twrp image over to the phone and then flashed the twrp to boot.

Now my XL says "error boot prepare" in fastboot and attempting to flash either the original aosip boot or the last stock 10 boot results in FAILED (remote: failed to write to partition Not Found)

Attempting to fastboot install stock 10 failed "upon getting to "image-coral...zip" Not enough space.

Can anyone point me on the path of recovery or has my pixel flashed it's last firmware? Thanks in advance.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] bigbiff:
You need to flash a LZMA ramdisk enabled kernel like Kirisakura.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] GROOVYJOSHCLARK:
Are you using the right type kernel? If not, thats what happens, either black screen or reboot to BL over and over and remember you must be on a 10 ROM/firmware.