yashsingh1/xdaforums huggingface dataset:
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] empathicqubit:
I'm not sure if this is the right place to post this. I was trying to recover a phone that received too much rain. I've been booting into TWRP with 'fastboot boot' with the latest 3.5 image since I cannot see the screen. I also tried to 'reboot recovery' into the 3.4 installed on the phone and that doesn't seem to work either. It looks like Keymaster won't start. I've tried a few things like reflashing keymaster extracted from a recent Lineage zip, and also replacing build.prop and default.prop with the default versions, since I had experimented with adding props to them to try to get ADB to work in the main OS and I thought I might have broken something. I'm afraid to mess with things too much because I'm worried I'll accidentally lose the encryption keys, if they're even still there. I wish I knew how to prove that I didn't already blow them up.

Trying to 'twrp decrypt' doesn't work because TWRP never starts, and the CLI just keeps waiting for it.

I tried running the keymaster service manually from the command line, but it only said "configuration failed" and quit.

Under /data/media/0 all the files seem to be there, I was able to guess which one was my music folder, but I can't decrypt them obviously. Attempts to access any file gives a message "Required key not available".

I have the dmesg if that helps. I was having some trouble attaching it as a file.

recovery.log:

Spoiler content hidden.

default.prop:

Spoiler content hidden.

build.prop:

Spoiler content hidden.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] empathicqubit:
Duplicate
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] cognitivedissonance:
Hi there, I've been having issues with my Pixel 2 XL somehow becoming corrupted while mid-use. I'm still on Android 9.0 where I can still make customary nandroid backups and restore them fully to bring me back exactly to a point in time without any additional setup required.

My phone just corrupted again and is going to require a full wipe, so I'm wondering if I maybe should upgrade to Android 10 or Android 11. Of primary concern is that it's a hardware issue and maybe my device is starting to fail, so I want to make sure I actually am able to do a FULL backup that I can export to an external HD, then push back to my phone if necessary and flash to get me up and running again if it corrupts again.

So here's my question:

What can and cannot be backed up with TWRP after Android 9.0?

My goal is going to be running a daily nandroid backup in the evening and immediately pulling it to my HD so that I'm always only a day off. I can't keep taking a week to get everything back running normally, which is how long it took this past time, and probably will this time.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] cognitivedissonance:
duplicate
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] 73sydney:
Above where you are there is no full nandroid backup

All i do is backup apps and app data with Migrate

Im swapping and testing ROMs all the time, this is the best way to go above 9.0

As an aside, if you have no confidence in the device to the point where youre contemplating doing a daily backup because its that unstable, then youre better off looking for a replacement

Ill also point out that by doing a full backup and restore cycle with a nandroid backup, you may be restoring the issue as well

Migrate is a better option, youre not also restoring the base system, just the apps and app data. Its not as long a process as you think to do a basic ROM setup, then restore stiff with Migrate, i do it sometimes twice a week....
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] lg_g3_d855:
what is the most stable version? I had downloaded the 3.5.0 and it didn't start, then I downloaded the 3.3.0 and a strange thing happened to me, I copy and paste: I finally managed to flash lineage os 17.1 directly via twrp recovery and zip file, but during the installation process, the screen went completely off, I had to manually reboot the phone and then it booted, is this normal?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] bigbiff:
3.5 works well for me on taimen. Maybe you need to update firmware?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] splinterededge:
Prior to each test I used flash-all.bat with factory image taimen-rp1a.201005.004.a1-factory-2f5c4987.zip

Thus all firmware is up to date prior to my attempts.

twrp-installer-3.5.0_9-1-taimen.zip fails when booting with the command:

fastboot boot twrp-3.5.0_9-1-taimen.img

The screen flickers/flashes the twrp logo and fails to boot twrp.

twrp-installer-3.5.0_9-0-taimen.zip succeeds when booting with the command:

fastboot boot twrp-3.5.0_9-0-taimen.img

Temporarily booting twrp-3.5.0_9-0-taimen.img, I then attempted to install twrp-installer-3.5.0_9-1-taimen.zip.

This successfully installed but resulted in the same flickering/flashing of the twrp logo and a failure to boot into recovery.

Temporarily booting twrp-3.5.0_9-0-taimen.img, I then attempted to install twrp-installer-3.5.0_9-0-taimen.zip.

This successfully installed and allowed me access to twrp recovery.

Unless I am missing something twrp-installer-3.5.0_9-0-taimen.zip is the most stable version and was capable of decrypting the 4 digit pin encryption on my device.

There might be a bug or something that we are missing that is causing a problem for lg_g3_d855 and I as their post was recent enough to have used the very new twrp-3.5.0_9-1 for taimen.

This is the unlocked version of the Pixel 2XL on Verizon.

twrp-3.5.1_9-0-taimen.img no longer has the problems I experienced in twrp-3.5.0_9-1-taimen.zip.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] splinterededge:
Notably, the ProtonAOSP rom I am testing now has firmware build numbers that are greater then stock. I am not certain if it is common place to have a newer then stock firmware, but that might be why some folks are able to use the newest build. Everything is working for me now so I wont change it for a while. Thanks fellows.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Alxoom33:
I have a Taimen on VZ and have not had any problems booting and installing latest TWRP. You may have a bad dl or other issues with your phone.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] bryantjopplin:
Actually working with another guy on telegram with same thing happening. checking now.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] idkwhothatis123:
Figured it out. Flashed prior patched_boot and all is good
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] bryantjopplin:
Weird. Making notes tho, thanks for letting me know.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] idkwhothatis123:
No prob. So basically, I had installed r9se through fastboot flash img and magisk patched through flash img before twrp was around. For this, all I had to do was fastboot boot twrp, flash twrp zip, and flash magisk .2. Im golden.

Thanks devs!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Alxoom33:
Thank you! Following your directions I fastboot booted patched_boot IMG and fastboot booted into TWRP. Then I flahsed the TWRP b2.zip and the magisk 14.4.4.zip and rebooted. TWRP and everything works like Magisk[emoji39]
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] bryantjopplin:
Lock that sucker down. works with beta 2
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] slaydog:
There are laws against that, lol
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] androidfilesharing:
I am trying to fastboot boot the twrp img but keep getting the following command. Is anyone else experiencing the same?

FAILED (remote: unknown command)

Yes, I unlocked the bootloader first
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] whezzel:
Have you checked to make sure your fastboot and adb are up to date? Unknown command usually means the adb/fastboot hasn't been updated to include the new commands yet. Try updating fastboot/adb, also try different USB cable and USB port on computer.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] IrocD:
[MENTION=2955144]bryantjopplin[/MENTION] are u available to give me a hand?

I can get my device to boot with the stock kernel, stock patched kernel, and patched snoke R11 kernel (two versions of it). Every time I flash the TWRP zip though, I keep getting a recovery loop. I tried following exactly what you did with the other guy in the Telegram chat, and no dice. It boots into TWRP, and then flashes the TWRP zip no problem. But as soon as I reboot the device, it goes right back into TWRP.

I have tried every combination possible here and it's frustrating. I had to wipe my device yesterday because I thought the fact that I wasn't unlock_critical was the issue, so I did that. When I boot into TWRP on a completely stock kernel, and flash TWRP then Magisk and reboot, it gets hung on the G logo/progress bar/padlock screen. I've been scouring this and other threads and trying **** all different ways. I haven't had this kind of issues with modding a device since S-Off on an HTC Vivid, and this is a google 'developer' device LOL.

EDIT: Oh I forgot to mention- If I boot into TWRP on a completely stock kernel, then flash TWRP, then flash Magisk, the device boots, but magisk doesnt work. I don't get it! It's like it's impossible for me to have TWRP and Magisk at the same time!!! I just did this again, and figured I would try to boot back into TWRP and then flash Magisk again, and now TWRP doesn't respond to touch. I know all this **** is in beta but this is a ****ing joke. I'm no noob, and this is crazy!!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] js042507:
Try this...

-boot into TWRP beta via fastboot

-flash original stock boot.img via TWRP (select the boot partition obviously)

-reboot system normally and confirm that root is gone

-boot into TWRP beta via fastboot

-flash TWRP beta .zip file and then flash the [new] Magisk 14.4.2 .zip file (posted in the forum).

Also, after the last step, just reboot the phone normally. Confirm that you have root and then try to go into recovery mode. Use a soft method or go into fastboot mode and then select recovery from there.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] TEFjLONjDON:
Side notes.... So what was supposed to be a 18 hour work day became a 24 hour work day!.. I'm due back [MENTION=1796504]1600[/MENTION] so I won't be able to get any testing done on my off time that's for sure. Off to sleep I go. Ill check back again soon. PS sorry for ranting here.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] shadow321337:
Got a link? I can't seem to find it. Latest version on the Magisk thread is 14.4.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] IrocD:
14.4.2? I can only find 14.4 (the one from the Magisk thread OP) and that's the one I have been using. Could that be the problem? Where can I find this newer version?

Tyvm!!

EDIT: Well I tried it exactly how you described, except I used the 14.4 Magisk zip from that OP. I rebooted, and I am not rooted. Magisk prompts me to patch my kernel. What gives? I don't get it. This is so frustrating it's ridiculous. I'm sure TWRP has stuck though, but no root. It makes no sense because when I flash the Magisk zip, it appears as if everything has gone peachy. But after I reboot, no dice!!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] shadow321337:
Magisk 14.4.2 download link. No wonder I couldn't find it. Hopefully this helps anyone else trying to search for it in this thread.

---------- Post added at 10:39 AM ---------- Previous post was at 10:35 AM ----------

I just found the link and posted it above. I think you need the 14.4.2 to make it work with TWRP. (Both are patching the boot.img, so the new version seems to be adding support to acknowledge that TWRP has modified the file too.)
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] js042507:
Yeah, I am pretty sure Magisk 14.4 won't work. Sorry for not posting the link. It's 'embedded' throughout this forum everywhere. Here you go http://www.mediafire.com/file/5poo50s3zt89995/

That should work!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] IrocD:
Thank you! let's see how this works....
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] LLStarks:
Not having a dedicated recovery sucks. Flashing kernels and zips becomes maintenance rather than something that can be done impulsively. Re-rooting each time is awful.

Bundling Magisk and TWRP into roms might be the only good way forward. I wouldn't mind leveraging the secondary boot slot as a recovery, but it seems a like waste of the partition scheme given how hard switching between them on the fly can be.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] IrocD:
OMG it worked with the new Magisk 14.4.2! I have both Magisk and TWRP! I dont get why Magisk keeps crashing when I try to check Safety Net?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] splinterededge:
In sorry Alxoom33, but I don't beleive that is the case, I verified the checksum of all sources and reattempted 3 times. I am certain that some bug still exists with twrp-3.5.0_9-1 for taimen. But it doesn't really matter, its easy and effective to use twrp-3.5.0_9-o for taimen.

twrp-3.5.1_9-0-taimen.img no longer has the problems I experienced in twrp-3.5.0_9-1-taimen.zip.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] jlokos:
I've had no issues with twrp 3.5.1_9-0 on taimen; it even does nandroid backups although I have not attempted a restore as of yet.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Alxoom33:
Pull a log. You may have other issues going on.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] N6ML:
FWIW, I had the same experience as @splinterededge this morning... at least I think it's the same. I installed the factory android 11 image (flash-all), then fastbooted twrp-3.5.1_9-0-taimen.img, and used it to install twrp-installer-3.5.1_9-0-taimen.zip. On attempt to boot into recovery after this, I was getting a continually flashing TWRP splash screen. I don't think it's even getting far enough to save a log (??). I was able to do what I needed with the fastbooted TWRP, so I'm reluctant to mess with it any more at this point, although it'd be nice to have recovery working in case I need it in the future.......
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] 73sydney:
Its been posted many many times over the last 6 months, but installing TWRP on Android 11 leads to drama

just fastboot it....do NOT install it
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] pablo9023:
it works. from version 3 5.0
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] pablo9023:
This does not lead to any drama. It is necessary to install correctly twrp.zip
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Alxoom33:
Its been working flawlessly for me. No drama!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] N6ML:
What might I be doing incorrectly, then?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Alxoom33:
Flashing latest TWRP installation zip in booted version of TWRP and flashing lasest Magisk 22005 canary zip file in TWRP.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] N6ML:
Not sure if that's supposed to be the right way or the wrong way, but I did install the latest TWRP ZIP when fastbooted with the latest TWRP image, as noted in post #3184. I did not install Magisk, though, as I don't perceive that I have a need for it right now. Perhaps installed TWRP only works when Magisk is also installed??
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Alxoom33:
No, installed TWRP works with and without Magisk.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] 73sydney:
dude, i think i know what im doing, ive probably flashed thousands of ROMs and zip over the years since Android began...

Its largely reported that twrp on 11 leads to drama...i didnt just make it up
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] splinterededge:
twrp-3.5.0_9-1 is the version that gave me problems, I had a similar experience twrp-3.5.0_9-0.

twrp-3.5.1_9-0-taimen.img no longer has the problems I experienced in twrp-3.5.0_9-1-taimen.zip.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Alxoom33:
What setup do you have?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] splinterededge:
twrp-3.5.1_9-0-taimen.img no longer has the problems I experienced in twrp-3.5.0_9-1-taimen.zip. I wouldn't worry too much about me but thank you for asking.​

​

Here is the info:​

Pixel2xl restored to latest factory image with flash-all.bat, I then installed proton-aosp_taimen-ota_11.3.3.​
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] splinterededge:
I actually found some unrealized issues with my taimen, I owe you an apology, so I'm sorry for doubting you. Unfortunately for me my phone is shutting down when I charge so I am likely going to buy something new. It's a shame I'm quite fond of this device.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Alxoom33:
Sorry!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] 73sydney:
New TWRP version out for Taimen (Pixel 2 XL) only

3.5.2_9-0-taimen

Changelog 7th April:

This release is to fix a regression error for digest checking. Thanks to epicX for his hard work fixing this issue.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Alxoom33:
I have had issues restoring Data backups made in latest TWRP. After dat restoring and boot my phone gets stuck in a "Phone is starting..." or " "Pixel is starting..." Screen with an animated line under the text. Any help would be appreciated!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] joetheshmo:
Something something preaching to the choir
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] js042507:
Excellent!! Glad it's working. Also, I get that too, but safety net still passes. Try Android pay or something. Works for me, even though Magisk still crashes.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] js042507:
Proof it's just Magisk Manager...
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] CyberpodS2:
The file name of the one that worked for me is: Magisk-v14.4(1444).zip
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] murphyjasonc:
It doesn't crash when I check.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] bryantjopplin:
May I ask where that one is? The older 1440 shouldn't work FYI.

---------- Post added at 11:57 AM ---------- Previous post was at 11:54 AM ----------

Try pulling your boot image that has twrp and magisk on it for backups

dd if=/dev/block/sde8 of=/sdcard/boot.img

adb pull /sdcard/boot.img

Then if something's happening just fastboot flash it

---------- Post added at 12:02 PM ---------- Previous post was at 11:57 AM ----------

Actually twrp replaces while magisk patches. You don't necessarily need this magisk the one right before it works. 14.4.1 I created this one as well right after an update for the pixel 2 xl and updated the util_functions.sh so it could be flashed. This newer one 14.4.2 is completely [MENTION=4470081]topjohnwu[/MENTION] work. I just cloned and built. It has some newer avb-verity changes to it and helps with some mods.

---------- Post added at 12:07 PM ---------- Previous post was at 12:02 PM ----------

You on telegram?

What magisk are you using? are you on Nov update? Using twrp beta 1 or 2? Are you using the anykernel zips or images of the kernels?

---------- Post added at 12:20 PM ---------- Previous post was at 12:07 PM ----------

Shoot just seen you got it. Lol. Yeah the old magisk don't flash correctly. It's looking for boot_suffix and we don't have that lol

---------- Post added at 12:39 PM ---------- Previous post was at 12:20 PM ----------

You can use this to backup your boot.img that has twrp, custom kernel, and magisk in it just in case you changing something breaks it.

Technically you could build your own boot img everytime if need and used it as a base lol

http://www.mediafire.com/file/j0nscnpcf0nx80a/PIXEL_DD_BOOT_SAUCE.zip
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Alxoom33:
Soo. TWRP beta2 has been working great. I got a little greedy and flashed a TWRP play theme 311X_v2hdpi_dight_play_TEST-signed.zip The signature verification worked, and while I got a red warning about the incorrect version it flashed and works fine.

So, I got greedier and flashed UPDATE-AIK.Mobile.Installer.v2.6-All-signed.zip from [MENTION=1143630]osmosis[/MENTION] and used the adapt a splash feature of the TWRP theme and flashed through to flash the modified twrp.img which was flashed to boot. I tried twice and both times TWRP reebooted to the new colorful splash page and froze there. Never got inside of the TWRP recovery.

So I reflashed various images and TWRP flashed the various zips to get back my customized TWRP recovery without the custom splash.

Any advice on fixing the Splash so it dosn't freeze upon booting up. I am currently using the stock TWRP b2 splash with my modified Play dight TWRP theme.

Thanks in advance.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] krweby:
Anyone else notice that the time is way off in TWRP?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Alxoom33:
I didn't, but I was just so happy we have a working TWRP recovery. There is a time setting in TWRP to corect for time zones, DST and to allow offsets. I tried setting the correct time zone and rebooted recovery. I tried...and while the time is closer in the splash and in the unlock code entry screen, it is wayyy off in te various TWRP screens.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] galaxys:
Yes, should be ok after Beta's...
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] bryantjopplin:
Can you post the files? I think you will have to modify the boot img manually. Also pull your current boot img using the tool I posted and post that as well. I don't have a current boot img with twrp in it. But don't what you have will be better since it's base is magisk, kernel, twrp, and twrp theme
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] dontbeweakvato:
Flashed the latest beta 2 and I TWRP just froze at the first TWRP selection screen. I did first reflash stock boot.img then booted TWRP then flash zip.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] js042507:
If you're also using Magisk, make sure to flash 14.4.2. 14.4 caused TWRP to lock for me. Also, flash Magisk last.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] IrocD:
Thanks for checking in, and thats a great idea about pulling my current boot for a fastboot-flashable way to bail out if I'm having an issue.

I made a twrp backup as well, but I can definitely see having the former as a useful tool!

Thanks to everyone helping others in this thread!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Alxoom33:
When I try to add the files below, I get an error message that this community dosn't accept the files.

May I pm or email you?

Thanks,
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] bryantjopplin:
Yeah go ahead. Do you have drive or Dropbox?

---------- Post added at 04:35 PM ---------- Previous post was at 04:32 PM ----------

I posted a simple little batch for that will pull your boot image. It's up a little ways. It will require you to be in twrp. I have set it up for Android yet. Will work on that later.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Alxoom33:
Yes, both.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] bryantjopplin:
Just upload whatever to either or and send me the links is fine.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Mike02z:
I now have twrp and Magisk installed and running. The only odd thing is TWRP will not decrypt when I use my PIN. If I remove the PIN it works fine. I've tried different PIN's and still no go. I had this issue before flashing Magisk. Anyone else experience this?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] bryantjopplin:
Try pattern and see if it's fine with it???
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] joeyddr:
I got it also but seems to be fine, i'm on 8.1 dp1
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] galaxys:
Great to have TWRP recovery, Magisk Root, Titanium, AdAway working on this badboy Pixel XL 2! :) :cool: