yashsingh1/xdaforums huggingface dataset:
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] mattwheat:
Hell Yeah !!!!! thank you BigBiff thank you so much and thanks to everyone that has worked on this for us....

it worked great for me and for anybody still confused just push the twrp.img test 8 to you sdcard

adb devices

push (twrp.img test 8) /sdcard/ (test img named whatever its named)

adb reboot bootloader

fastboot devices

fastboot boot (twrp.img test 8)

click "install"

click "install image"

scroll down towards the bottom and select the twrp.img test 8 that you pushed to the sdcard

click "install ramdisk recovery"

swipe to confirm

click "reboot" system

wait for it to boot normally then restart your devices as soon as you see the screen go off hold the vol down button

when it boots to fastboot then using the volume buttons scroll to recovery and hit the power button it will then reboot to TWRP recovery

have fun
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] bigbiff:
It's a total WIP right now. I have no manifests atm except what I have on the TeamWin organization and using aosp10. Also I have a couple of patches on gerrit.twrp.me for review. I can post my personal manifest later.

I am not affiliated with the minimal repositories and am not using them. You will have to talk to their members for status updates.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] capntrips:
Thanks for the info. I'll try starting from the stock aosp manifest, in the meantime.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] mattwheat:
incase anyone is wondering about root i lost root when i installed TWRP but thats to be expected heres what i did to get it back

since i had Magisk Manager already installed i opened it and it showed i didnt have root, of course , so i clicked "install" then "download zip only"

then rebooted to fastboot and scrolled to "recovery" once in TWRP i clicked "install" then "downloads" found the Magisk.zip that Magisk Manager had just downloaded and selected it then "swipe" to flash it then "reboot" instead of just simply rebooting it took me to the "reboot" menu so i clicked "system" and done i now have root again thanks again BigBiff

---------- Post added at 03:59 AM ---------- Previous post was at 03:55 AM ----------

I gotta question are we now able to flash roms in TWRP if so is there any special method or does it work just like it is supposed to?

meaning just boot to TWRP - install - downloads - select the rom of choice - then swipe - and enjoy?
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] Madjax2020:
just flashed scorpion ROM, did my command .\fastboot boot C:\Users\matth\Downloads\twrp-3.4.0-0-test8-coral.img and now its just stuck on the teamwin screen. i have #2.12 Fsociety kernel which i used with DU ROM. Did i miss something? its been this way for a few minutes now

worst case i can try the stock image with -w and start over. would rather not have to do that
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] mattwheat:
Have you installed TWRP into the RAM disk yet or are you still just using it to boot into TWRP?

---------- Post added at 11:51 PM ---------- Previous post was at 11:46 PM ----------

Wow everybody must be "crack flashing" every rom, mod, and kernel in our forums. Cuz it got real quiet right after [MENTION=2638973]bigbiff[/MENTION] got TWRP working...

Kind of like when the whole family sits down to Thanksgiving dinner and everybody gets the mouse stuff and nobody says a word....

I'm still holding off waiting to find out if we can flash ROMs as usual in TWRP or if there's a special method or anything special that I need to keep in mind so as to not screw up my phone....?
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] hanschke:
I have disabled display protection with pin but after booting with twrp I got a passwort asking and dont know what to do
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] pikakolendo:
test6-8 failed to boot with 'fastboot boot' command in bootloader, as for my evt model.

test1 and 5 seems ok.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] 2WildFirE:
For 6 to 8 you need R support kernel.

You can read in OP.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] pikakolendo:
Thank you! I missed this info.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] Madjax2020:
Yes I installed to ramdisk.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] hanschke:
I have R installed thats not the reason I think
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] Haz3:
If your running Android 11 Beta it won't boot period. But if your on 10 with a kernel that supports 10/11, it will boot.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] jmac052002:
So is anyone using DU rom with the unicorn blood kernel that comes with it and using TWRP also? I ask because I know we are supposed to have to use a kernel with lzma support and it doesn't have it.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] Homeboy76:
https://xdaforums.com/showpost.php?p=83398851&postcount=81
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] jmac052002:
Thanks yeah I read that post before I posted my question I was just hoping we would be able to use the unicorn blood kernel but I guess they will have to give it lzma support first before that is possible. Thanks for the response
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] mattwheat:
In the OP check out towards the bottom of the post it tells you which kernel you need to have installed to get it to boot.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] Aulgreg38:
pixel 4xl

hi bigbiff this is aulgreg38 i just gave you a little thanks via paypal to say thank you for all your hard work on the twrp development for the pixel 4xl so in short thank your very much for a working twrp
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] GabrielSousa:
im doing fastboot.exe boot twrp-3.4.0-0-test8-coral.img

and isnt booting in twrp, what im doing wrong ?

---------- Post added at 01:51 PM ---------- Previous post was at 01:49 PM ----------

versoin 7 works,

flashing roms wont work ?
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] Madjax2020:
You need platformtools .. open that that

Push the *.img to your SD card

Fastboot boot *.img

It should boot to twrp

Then install click img ... Select the *.img

Once done flash magisk.zip

Reboot

Done

It's all in the OP
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] GabrielSousa:
i tryed 2 roms, and have error on flashing the rom i only tried with version 7
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] Madjax2020:
Version 7 of? Do you have a kernel that can use twrp? I use fsociety try that
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] GabrielSousa:
im new to pixel 4 xl, i was doing with original kernel.

ok, i need a custom kernel to work with twrp...

i use android since 2010, back in time there was a recovery partition, that was mush better ...
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] nikamura:
Thank your hard work with TWRP [MENTION=2638973]bigbiff[/MENTION].

I'm trying to build the TWRP for pixel4a refer to your github repository.

I use aosp10 manifest and TeamWin's android_bootable_recovery repository.

I don't know how to make TWRP for pixel device.

It doesn't have recovery partition, so make bootimage OK?
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] NYCHitman1:
It's already built into Unicornblood. It'll be included on our next and final Q official build this weekend.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] bigbiff:
We just got minimal omni10 working yesterday. You can download that now and use my device tree for building.

I haven't pushed out any new builds since it was more of an environment compilation update then feature work.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] nikamura:
Thanks for your information.

I'll try build TWRP for pixel4a using minimal omni10 manifest and refering your device tree.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] jgrubbs:
So like an idiot I updated from 10 to 11 just doing my normal security patch update. And low and behold not only am I not rooted (which is fine, not supposed to be) but now when I flash the magic_patched boot image in fastboot it flashes fine but after reboot it just bootloops. Now right before all this took place I did install twrp test 8 and replaced stock recovery (not sure if this is the culprit) but I'm stuck with stock no root and I really don't wanna have to factory reset and wipe my phone if I don't have to. But I've gotta be missing something. Any help would be greatly appreciated and thanks in advance.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] bggold:
I assume you patched the 11 boot.img? I think you need to be on the canary build of magisk manager.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] jgrubbs:
You assume correct sir. I originally did with the canary first and that didn't work then I tried with the stable and that didn't work too. I have a sneaking suspicion I'm going to have to factory reset just to be able to root again. :(
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] stuzor:
In the exact same position as you. I have tried just about everything but can't get root on my pixel 4 xl. I did the ota to 11. I thought it would just download it so I would have time to magisk patch before it rebooted and keep root but it just did it on its own when I woke up. I have tried using the canary, either installing to both slots or just bootign the patched magisk file. I tried reinstalling all of 11 with no wipe and tried booting and resinstalling again. Some people said I think I needed to twrp which was weird because we haven't had twrp support for a long time (though now I see it is being added for pixel 4xl, thanks for this) I tried this on 11 though and it was unable to decrypt. Only thing I have tried is a wipe which I just may have to do. Did you wipe and did it fix your issue?
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] jgrubbs:
Nope, that's the only thing I haven't tried yet! But it's starting to seem that may be the only solution! I'll report back if that's the road I have to take but I'm certain it will fix it. At this point I'd rather downgrade back to ten but that's not working for me either. I even noticed that it's repartitioning some of the partition sizes when downgrading and upgrading which is odd to me. It should be able to downgrade right? Correct me if I'm mistaken.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] jmac052002:
a big part of the problem that I have been seeing people having because I'm actually on Android 11 stable rooted with magisk Canary The problem I think that's happening is when you patch the boot image if you'll notice it's being corrupted it's not coming out the right size that it's supposed to be which is like 34.13 mb so I actually had to use someone else's patched boot image because when I would patch the boot image it kept coming out corrupted or too small of a file. I tried to upload the patched magisk file is used here but it's too large
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] jgrubbs:
Can you possibly upload and link it to a drive account or something?
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] jmac052002:
Let me give it a shot
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] jgrubbs:
I just looked at my patched files and of the three I made they're all different sizes ?

34.13mb and 34.09 mb
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] stuzor:
Never mind, I see others asked as well haha. Well I would like that file too if you can upload it to google drive or elsewhere and share the link .
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] jmac052002:
Yup that's what kept happening to me and others too, I'm uploading to drive to try and share the file for you right now

---------- Post added at 06:57 AM ---------- Previous post was at 06:57 AM ----------

I will dm it to you
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] stuzor:
I tried the beta out a while back and to downgrade to 10 I did have to wipe. Tried it first without wiping and it wouldn't boot. Not sure if it is the same for the final release but since you are having problems I think it might be the case.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] jmac052002:
Here's the drive link guys https://drive.google.com/file/d/1ZSIERVIHxqZNP_WCd7LX71mYOgNMTpE4/view?usp=drivesdk

---------- Post added at 07:02 AM ---------- Previous post was at 07:02 AM ----------

Here's the link https://drive.google.com/file/d/1ZSIERVIHxqZNP_WCd7LX71mYOgNMTpE4/view?usp=drivesdk
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] stuzor:
Excellent, thanks for posting it. I'll try it in a bit here. It's just slightly smaller than the one I created myself so hopefully that is enough of a difference to fix it haha. Either way appreciate the support!
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] jmac052002:
No problem at all
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] jgrubbs:
Was smaller than the three I made as well. Strange isn't it?
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] stuzor:
Didn't help me. Did it fix your issue?

If someone can tell me what I am doing wrong great but I have had my phones rooted for damn near a decade and thus is the most recent set of steps I use.

Installed the latest canary magisk manager. From there wen tto install magisk by patching the boot.img from the version of android I am running by downloading the zip from the google pixel image site for android 11. At this point there is only one file offered for android 11 so it's hard to miss. I extract the image file and take out the boot.img file. I adb push it to my phone. From there I go to install magisk and select the option to patch the boot file or whatever it is called. I select the boot.img file and then patch it. It creates the magisk_patched.img file. I send that to my computer go into fastboot and either have tried installing or just running the file by either doing fastboot boot magisk_patched.img or fastboot flash boot --slot all magisk_patched.img. When I just boot (which worked in version 10) it fails the first boot, goes into recovery and then after clicking try again it rolls back. When i do the flashall I have to reflash the stock boot.img. Anyone have any ideas?
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] mattwheat:
Once we've got TWRP installed to ramdisk and everything works fine i.e. able to boot back into TWRP by selecting recovery in fastboot without using the computer to boot the boot.img, can we flash other roms just as you would normally from twrp?
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] nikamura:
I downloded minimal omni10 and refer yout device tree.

But failed to build.

I create omni_sunfish.mk like aosp_sunfish.mk.

I put this command

. build/envsetup.sh

lunch omni_sunfish-eng

make recoveryimage

ninja: no work to do.

The build ended.

So, I change make command

make bootimage

FAILED: ninja: '/home/takahiro/twrp/out/soong/.intermediates/frameworks/base/hiddenapi-lists-docs/android_common/removed-dex.txt', needed by '/home/takahiro/twrp/out/soong/hiddenapi/hiddenapi-flags.csv', missing and no known rule to make it

Could you give me some advice?
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] bigbiff:
A/B devices have used the bootimage target for years. Recoveryimage target won't build the boot image you need.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] nikamura:
I built TWRP not A/B devices.

I'll try build bootimage. Thanks a lot:)

I use minimal omni10 manifest and omni_sunfish.mk like aosp_sunfish.mk.

lunch omni_sunfish-eng

make bootimage

Build failed.

This is error message

"bootable/recovery/gui/../twrpApex.hpp:18:10: fatal error: 'zip_archive/zip_archive.h' file not found

#include <zip_archive/zip_archive.h>"

include "-I system/core/libziparchive/include/", but fail?:confused:

https://gist.github.com/tnakamur/3858e17c101bbd59cb85f0bec90b111c
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] Madjax2020:
call me a noob, whatever BUT when we installed TWRP ... if we boot recovery off the slot it was installed to ... TWRP boots up? because i was having some serious issues flashing a ROM and i switched to slot b and rebooted to recovery and BAM .... TWRP popped up

and whatyaknow i flashed another ROM through TWRP .. and it booted up WOW. didnt know this
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] bigbiff:
When you repack TWRP using the built in boot.img ramdisk repacker, it will flash the repacked boot image to both slots.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] Madjax2020:
Thank you [MENTION=2638973]bigbiff[/MENTION] for the reply. I think my twrp is on slot b. I can try and switch slots and reboot to recovery. When I flash a ROM then reboot to recovery sometimes I'm in that Roms recovery and not twrp, if that makes sense.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] Daisymae:
Password

Getting "invalid password" again on Sept ROM update...
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] bradical711:
Which ROM?
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] Daisymae:
DU.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] mattwheat:
Ok I got TWRP installed correctly. I know this because I can reboot to bootloader then select recovery and it boots up to TWRP. When I flash any rom it goes thru the process and then says "successful"

I then reboot and it gets stuck in bootloop of the newly flashed rom. If after a while Ill power off then boot to the bootloader. Then select recovery and it'll then go to the temp recovery built into the rom I'm trying to flash. But once I boot to bootloader again it comes back up to my stock rom like nothing had ever happened. I'm lost. Lmao.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] grape12:
Quote:

Originally Posted by bradical711

Which ROM?

DU.

Same issue with AOSIP. When TWRP loads, there is an * in the pin area. I removed it and entered the pin. Also tried leaving * and entering pin. No luck.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] Daisymae:
Yeah, it's the Sept update that's doing it. The Aug ROM did it till Bigbiff came out with an update.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] bigbiff:
Please test http://build.twrp.me/test/crosshatch/twrp-3.4.0-0-test7-crosshatch.img
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] Daisymae:
Didn't work. Same thing. "Password failed. Please try again." And there's an asterisk in the password field when it comes up. Thanks for your work!
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] bigbiff:
Please post dmesg, logcat and recovery.log for debugging.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] Daisymae:
Sorry. Should have done that of course. You've only said to do that about 50 times. Sorry! I'll get them soon as I get a chance.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] Daisymae:
Sorry. Here. Logcat too big for here. Uploaded to paste.omnirom.org.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] marbertshere:
Please forgive me as it's been so long since I've strayed from stock Android. From what I've read so far, I would be able to flash ROMs, make and restore backups, and keep magisk/twrp with the latest build, correct?
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] bigbiff:
What is the URL for logcat?
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] Daisymae:
I just uploaded it to paste. omnirom. org. Was that not correct?
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] bigbiff:
Yes, after you submit your paste, it should give you a URL for me to go to it directly.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] Daisymae:
OK. Here.

https://paste.omnirom.org/view/fb6b4e62
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] bigbiff:
It looks like that logcat is from android. Please see if you can get the output of the logcat command in TWRP. Thanks for your help.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] Daisymae:
Sorry! Don't know what I did wrong but I'll do it again in AM.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] Daisymae:
what's the command? I know adb doesn't work so # adb logcat won't. I get sh: adb: inaccessable or not found. Sorry I'm so dense.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] bigbiff:
adb is not working for you? It should be working:

Fastboot TWRP

adb shell logcat > /tmp/logcat.log

adb pull /tmp/logcat.log
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] Daisymae:
OmniRom not working right now. How about this?
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] mattwheat:
Same thing here. And regardless which slot I flash a rom to it boot loops. The when I boot to fastboot then try to boot to recovery it boots up to that roms recovery. I have to power off then power on to get out of that recovery or that rom. The rom will try to boot but just boot loops for me. So in other words I can't get a rom to boot. They only bootloop and I've dirty flashed everytime I've tried flashing a rom. And when ever I go thru the process I explained above to get out of that bootlooping rom and it's recovery I end up back on my stock pixel software as if nothing has happened.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] bigbiff:
What rom are you using? It sounds like it's trying to repack a recovery itself and breaking the twrp ramdisk. I didn't expect ROMs to repack the ramdisk with their own recovery ramdisk.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] mattwheat:
I was trying to flash pixel dust. Not the CAF version but the other. And illusion.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] CiriousJoker:
I finally got around to testing it, here are the results:

Android 10:

- TWRP seems to work pretty well

- Pattern unlock works

- Havent tried flashing anything

- File manager works, terminal as well

- Mounting files via MTP isn't supported (sadly)

Android 11:

- Pattern unlock isn't detected, it asks for a password instead

- Pattern unlock can be skipped, but sdcard isnt mounted obviously

- Rest of file manager + terminal is working

- Rebooting via TWRP flashes "prompt to install twrp app" for a frame but instantly reboots anyway

I have NOT tested backup/restore on either OS, since I only use TWRP to fix occasional boot loops via terminal if I screwed up some permission files or disabled services that apparently weren't so useless after all.

Anyway, great job for creating this! Having a terminal definitely makes tinkering a lot less risky
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] MatthewRobinson:
Could someone make a YouTube tutorial on this? I've been away for a minute so I'm very VERY rusty.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] wrongway213:
I highly recommend either staying stock or doing some reading to catch up on what you missed. The steps here are simple and can easily be followed from the OP - the other changes you may have missed since you've been away are likely more significant and worth reading up on if you're interested in getting back into modifying your device.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] nikamura:
At last I built TWRP for sunfish success.

I used minimal twrp manifest, but it was build error.

I used not-minimal twrp manifest, so it was build success.

Big thanks [MENTION=2638973]bigbiff[/MENTION] for your hard work and some good advice.

I'll try TWRP, backup restore flash zip, etc.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] niko26:
Does decrypting with the password work for anyone on the September (Android 11) build?
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] 2WildFirE:
No, Android 11 is not Supported yet