yashsingh1/xdaforums huggingface dataset:
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] romanticnutan:
hello i need some help i had a problem with pixel 2 xl camera. so on pixel 3 thread i saw deleting the persist.img and reflashing android 9 solve the issue. so tried it but after deleting persist.img and reflashing android 9 my phone didnt boot. i flashed all version with all methode. but all process completed but phone wont boot stuck on google logo or goes back to fastboot mode. i can flash twrp and install custom rom but it wont boot. i think problem is with persist.img , so ineed persist image of pixel 2 xl. to extract persist.img u must have twrp . on twrp u must type adbshell on cmd and type dd if=/dev/block/bootdevice/by-name/persist of=/sdcard/persist.img then you will have persist.img on your internal storage. please help me
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Chainwater:
Hope it it will help.

https://drive.google.com/file/d/1-0n0Jn5HRqJZoXUep1aZRd-pNJZG02uY/view?usp=drivesdk
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Alxoom33:
See my suggestion on the other P2XL thread that you posted this question.

---------- Post added at 11:27 AM ---------- Previous post was at 10:47 AM ----------

Was able to back up Data, boot and recovery partitions. On R PB1.2
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] romanticnutan:
thankyou for sending. btw have you exxtracted it fromm pixel 2 xl?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Chainwater:
yes. have you tried it?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] CamoGeko:
This is a P2XL forum after all lol
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] romanticnutan:
thanks man you are so great. that persist.img was what i needed. restored through twrp and everything working well. you are saviour :)
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Reechings:
Did you restore boot, system and data? Just did that and now my WiFi won't turn on. Also tried restoring system image and didn't help.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] jlokos:
I only backed up and restored boot and data. The restoration worked fine.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Alxoom33:
Why don't you flash the ROM clean and just restore data?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Reechings:
I don't understand, did you install Bliss before or after you restored boot and data? You would have to do something with system partition to get up and running.

---------- Post added at 06:01 PM ---------- Previous post was at 05:38 PM ----------

I can try that but shouldn't really need to if nandroid is working properly. If I restore boot, system and data I should be right back to how it was when I did the nandroid without having to reflash anything. That's how it seems to be except my wifi won't turn on now.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] jlokos:
The standard twrp backup is boot and data and that is what I backed up. I did a factory reset and restored the bliss nandroid, rebooted system and everything is working fine.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Reechings:
Were you on Bliss when you did the factory reset?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] jlokos:
I think I was on aosip before I did the factory reset.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Reechings:
Well if you were on AOSIP before doing the factory reset and all you did was restore boot and data it wouldn't let you boot Bliss unless you reflashed the rom or switched slots and Bliss was still installed on that slots system partition.

---------- Post added at 07:06 PM ---------- Previous post was at 06:48 PM ----------

I do want to say thanks as doing it this way did fix my wifi issue. Maybe something with restoring system is messed up as even wiping data when using my restored system partition didn't fix it. Doing it the way you mentioned takes a few more steps but if it works then great. Will just focus on backing up data partition only moving forward I guess. Still awesome to be able to have that option for jumping between roms. Cheers
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] jlokos:
I just looked back at my original post which was before the July images were up. You are correct I was on Bliss at that time. Too much flashing...
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Reechings:
No such thing as too much flashing lol. I'm happy to be back up and running without having to do an actual fresh install again. Having even semi functional nandroids is awesome. Just tried latest crdroid and aosip builds and they have way less options than Bliss.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Alxoom33:
You're welcome! That's always how I restore my backups. Much less to go wrong and just backing up data partition is simple. Then you can flash the latest version of th Rom you are using and your are done (unless you need gapps)! I'm glad it worked out!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] GTDarthYoda:
Did this end up fixing the camera? My camera stopped working for no reason back in March.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] NFSP G35:
I have two pixel 2 devices (both walleye) and am eager to get them on TWRP 3.4

One of them is completely up to date, and recently factory reset, stock everything, unlocked bootloader. It wouldn't boot with this (just like the other user reported.

The other is running an older stock ROM from last year (QP1A.190711.020) that was upgraded from Android 9 to keep encryption compatible with TWRP, and has TWRP 3.3 flashed already, which can successfully decrypt.

With that phone I can get this 3.4 image to boot via fastboot but only if I pull the USB just after the unlock warning screen. However, it doesn't prompt for my unlock pattern, doesn't decrypt, and the decrypt fails even if I do it from the terminal (FYI, I tested 3.3 and I can decrypt from the terminal successfully there)
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] kanokh:
How can oem active
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] elliwigy:
dunno wat u mean by active.. does this me oem lock or oem unlock?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Alxoom33:
Are you using the official TWRP 3.4.0-1 from the TWRP App or website, or are you using the unofficial version floating around that dosn't decrypt?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] NFSP G35:
There's not an official 3.4.anything for the walleye on the website. I'm kinda frustrated
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Alxoom33:
Hah. That's strange, since it has been updated for Taimen. Don't think it will work, but may be worth a try?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] bigbiff:
I don't have taimen for testing and I haven't been able to get anyone to help yet.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Alxoom33:
Thank you for your update for Taimen! I boot into 3.4.0-1 and it has been working great for me on Android 11 going back to the Developer Previews last March. I would be happy to test for you. I'm just hesitant about possibly fully wiping data since I have maintained decryption back to the Android 10 April 2019 update.

PM me if you would like my help.

---------- Post added at 04:18 PM ---------- Previous post was at 04:12 PM ----------

I also know a few experienced users that can test Walleye, Pixel 2 devices.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] NFSP G35:
I can test for walleye, I have access to two. One has maintained the legacy encryption, and the other has the new encryption.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] jlokos:
I assume you meant walleye since your taimen build has been working great since I tested it at the end of June. I would be glad to assist if you need any taimen testers.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] bigbiff:
You are right. I said the wrong code name. I will post a walleye build if you can test it out for me.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] daedae1112:
I can also be a tester for walleye:)
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] bigbiff:
Here is a test build: https://build.twrp.me/twrp-3.4.0-0-walleye.img
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] NFSP G35:
Tried on my device with older encryption, it booted fine but didn't prompt for decrpytion.

Also, everything under /sdcard is scrambled (so no decryption yet)

From the terminal, I tried:

walleye:/ # twrp decrypt (my pin)
Attempting to decrypt data partition or user data via command line.
No crypto support was compiled into this build

I can try on the other device with the new encryption, but based off that message, I'm guessing it won't decrypt it either.

---------- Post added at 01:22 PM ---------- Previous post was at 01:18 PM ----------

(followup)

Confirmed same behavior on 2nd device with new encryption
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] bigbiff:
These test builds will only support fscrypt encryption under android-10.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] NFSP G35:
OK, what other things do you need tested?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] :
I would love to test a walleye build if it's available#
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] daedae1112:
my phone is stock android 11.

twrp boots fine.

but, whether a password is set or not, /sdcard was not decrypted. it shows broken random file name.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] bigbiff:
11 encryption is unsupported at this time. Has anyone tested 10?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] :
I'm on 11 rn but switching back to 10
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] SirFronts:
I'm using 3.4.0-0 and A10 and I was able to decrypt just tested it ?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] jlokos:
Yes; no issues.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Alxoom33:
I'm on Taimen A 11. TWRP 3.4.0-1 decrypts just fine!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] buffal0b1ll:
I'm on walleye 10 with a clean flashed August security build and I set a new PIN (v3) less than a week ago. Decryption didn't work for me. I think the other positive report here might have been an old dirty v2 PIN.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] daedae1112:
Is your phone pixel 2(not XL)?

now, the issue is porting twrp 3.4.0.0 to pixel2(walleye).

sorry for posting wrong thread.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] SirFronts:
Pixel 2 xl
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] jlokos:
2xl.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Alxoom33:
Funny, even after doing a factory reset on A11 and restoring from the cloud, my pin and decryption worked.

Why did you need to set a new pin?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] buffal0b1ll:
You are on taimen, which we know has working 3.4

I am on walleye and trying to give feedback here for the walleye test build.

It's not important why I had to reset my pin last week, but it was because I borked my data partition by updating with September ASB commits and then trying downgrade afterwards
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Alxoom33:
Just curious Bill, why is it any different from Taimen?

Hopefully you'll get a working TWRP soon. Good luck!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] bigbiff:
Can you post recovery.log, dmesg and logcat for debugging?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] buffal0b1ll:
Here's a recovery.log and dmesg.txt for the last 3.4.0-0 build on walleye running Android 10.

I couldn't get a logcat

chronos@localhost ~/Downloads/walleye $ adb logcat -d > logcat.txt

/sbin/sh: logcat: not found
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] bigbiff:
Can you test this build: https://build.twrp.me/twrp-3.4.0-0-walleye.img

Execute adb shell logcat /tmp/logcat.txt

adb pull /tmp/logcat.txt

Please paste the file here.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] daedae1112:
I'm on android 11, walleye.

not on A10, but anyway twrp won't boot.

dmesg show Error: Ramdisk size is over the limit
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] buffal0b1ll:
Thanks. This build hangs at Google never gets to TWRP bootanimation

Here's a log

https://pastebin.com/KhYq6Fiy
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] bigbiff:
Sorry about that, here is a new test with the ramdisk compressed with LZMA: https://build.twrp.me/twrp-3.4.0-0-walleye.img

If you can get logcat in android-11 that would be great.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] SlimSnoopOS:
Aloha,

Walleye user on rooted stock android 10 here. I get the same issue as the other user for this build. Doesn't boot and here's my pastebin.

Same scenario, rooted android 10. Here's links...

pin passcode disabled, TWRP just freezes on boot.

pin passcode enabled. TWRP boots but is unable to decrypt files.

Is there anything else I can try to help troubleshoot?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] bigbiff:
What is your security patch level set to? Also can you attach /tmp/recovery.log showing TWRP trying to decrypt?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] SlimSnoopOS:
August 2020 security patch. I just noticed that I inverted my wording in my previous post. With pin passcode disabled, TWRP boots but just shows a string of files when I click install. TWRP freezes on the boot logo with the pin passcode enabled. Sorry for the confusion.

Attached you'll find two recovery logs. Recovery.log is with pin passcode enabled and TWRP just freezes on boot logo. No pin-recovery.log has the pin disabled, successfully boots directly into TWRP but shows string of unreadable files when I'm selecting them in Install mode.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] daedae1112:
walleye, android 11, september, 2020 security patch

no PIN - stuck at TWRP boot logo

PIN - boots on TWRP but, /sdcard was not decrypted
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] NFSP G35:
Here's my results

Walleye #1 Android 10, Sep 5th 2019 sec patch, legacy encryption (older versions of TWRP can decrypt)

Results: TWRP boots, but doesn't try to decrypt. Running: twrp decrypt from the terminal gave me:

"Failed to decrypt data"

Attached logcat and recovery.log

Walleye #2 Android 10, July 5th 2020 sec patch, encryption that older versions of TWRP can't decrypt...

Results: Gets stuck at TWRP splash screen
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] bigbiff:
For some reason your attachments show not found when I navigate to them.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] daedae1112:
i edited and reupload it.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] bigbiff:
Unfortunately I am not seeing any information regarding the keymaster attempting to decrypt in that logcat.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] cognitivedissonance:
Hi all, I'm still back on Android 9 with my Pixel 2 XL b/c of concerns about TWRP not functioning properly. It seems like what I'm reading in this thread is that 3.4.0-1 actually does decrypt Android 10 as normal. Is that correct? Does backup and restore work (with fingerprint and password still in place)? How about installing stuff, wiping, file browsing and so on?

Thanks!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] cognitivedissonance:
So I read a bit more. Seems like 3.4.0-1 works for most of what I need. I'm gathering that it decrypts Android 10, installs zips, wipes, etc. As I understand it the one "shortcoming" (if you can even call it that) is that it doesn't allow one to backup the system. The thing is I guess I'm not sure whether or not that's a big issue, I know that in the past I've always backed up System, but since moving to the Pixel 2 XL, I'm thinking it may not actually matter anymore. Can someone confirm my suspicions? My reason for thinking this is that when I update to a new version of Android (haven't done it for a while since I was concerned about Android 10) I seem to recall that flashing the factory image (without the "-w" flag) still unpacks and flashes System, which means it would overwrite it even if I did restore it. I've never had any settings get screwed up using that update method - it's as if I haven't made any changes at all, so I guess that probably means backing up System doesn't matter. Is that assessment correct or am I missing something.

EX: if I make a backup of Boot and Data on Android 10 and then fully wipe my device and start from scratch, will I get back to exactly where I left off by unlocking, flashing the newest image as-is, moving the backup back onto the device, and flashing it? Or will something be lost b/c I'm not able to restore System?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] 73sydney:
You wouldnt want to backup system and restore it between major Android versions, which is how your query reads?

Transferring system settings is generally not a good idea, again especially between major Android versions

TWRP's biggest drawback on this device is that yes, you cant make a full nandroid backup as most of us have become used to over many years.

I have moved to just backing up user app & data with Migrate, MyBackup Pro, or another backup solution, and copying anything off the internal sdcard i love before flashing a new ROM, and then restoring afterwards

Sometimes there is no "easy way" and you have to do a little work, result = a device with less (inherited due to splicing) issues....

I believe you may be able to just backup and restore /data, on the same Android version. I personally have never done this, so ill leave that part up to someone who has tried/succeeded....

Also be aware that with Android 11. if you were thinking of going there, you do not want to install TWRP, just fastboot to it:

adb reboot bootloader

fastboot boot twrp.img

and then do your TWRP related business
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] cognitivedissonance:
I appreciate all the info. To clarify, on a few things:

1. I only use stock android - no ROMs (they always seem to be more trouble than they're worth with the stuff they end up breaking)

2. I don't want to restore the system when I update. My plan was to download the most recent Android 10 factory image, delete the "-w" flag from the flash.bat and then flash it with fastboot. I still need to look it up to see if that's an acceptable process though. I guess I'm just wondering about backing up system b/c I'm not entirely sure what is lost if I were to update to 10, make a nandroid, do a full wipe, then restore my nandroid. There's no real purpose to doing that, I'm just trying to figure out what I'm missing out on not being able to do that. If it's a lot, I may just stay on Android 9 where I can backup and restore system if need-be.

3. No TWRP install is a deal breaker for me. I want to be able to do TWRP on the go, so I'm more than happy to stay on Android 9 or 10.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] 73sydney:
I stuck with stock ROM for ages after i switched to Pixel 2 XL, its very good, but i havent regretted installing BlissROM yet...does stuff that i would have to install extra apps/hacks to do and is rock solid, as in totally reliable.

deleting the -w from the flash.bat merely preserves data when flashing an update, nothing more. People use it all the time. That said, a 3rd party backup of apps and app data with a 3rd party root app backup solution like Migrate or MyBackup Pro would be my advise. Ive never preserved aata across flashes, stock ROM or not, i do a wipe and restore things and am persionally prepared to put in a little bit of work to result in a fully working/no drama system.

I still am not 100% certain hat youre trying to achieve

If you want to preserve your app and app data then id suggest using a 3rd party root app backup solution like Migrate or MyBackup Pro first, and then try removing the -w...

If youre trying to find a way to preserve all your system settings, accounts etc (sometime you have to do a little work folks), then good luck, i cant help you with that, you can try to use TiTanium Backup, but that will probably end in tears....backing up and restoing that kind of stuff is just a bad idea...

TWRP doesnt do full nandroid backups on Android 10,. I have given up installing on 10 as well for this reason. As with Android 11, where if you install it it bootlooops, if i need to flash somethign i just fastboot to it
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Curiousrge:
Ok, everyone in android 10 / 11 has a trouble with twrp, but, if a downgrade to android 9 and install twrp. Will be possible to use custom roms based on android 10 / 11?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] irmas5:
twrp recovery

Hi. CAN any body help me? When i flasing by fastboot temporary twrp 3231 showing this. How i can fix that? i can't flash anyting. Thanks
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Strephon Alkhalikoi:
Flash the updated version (3.3 or 3.4 I think). It properly decrypts your storage.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] irmas5:
Thanks. I tried fastboot twrp 3401. But showing this same.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Strephon Alkhalikoi:
Then your only options right now are these.

1. Remove any fingerprints, pattern locks or pin locks in Android and then access files in storage using TWRP.

2. Purchase a USB-C flash drive and use that to install things, since the flash drive isn't enceypted.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] irmas5:
Do you know how I can encrypt storage?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Strephon Alkhalikoi:
It's automatically encrypted and still is even when using TWRP. Removing the security as mentioned previously allows TWRP to view and manipulate the files but doesn't disable device encryption.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] amandeepparmar:
TWRP 3.5 released and available for download. Rules stay the same (don't install zip, just flash img file via adb).

Note: TWRP 3.5 now decrypts PIN successfully.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Alxoom33:
Thank you! I switched security to pin on my Taimen. TWRP 3.5xx decryption worked great!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Alxoom33:
Rally time to update the title of this thread! Lol.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] amandeepparmar:
Yes I presume dev @Dees_Troy might be still busy with family and/or in a holiday mood as of now😃

Starting a new thread only for TWRP 3.5 wouldn't make much sense because of the discussion history being in this thread is relatively important for future development.

So, guess we need to wait and watch if he updates the thread topic 👍🏻

Wish you all a prosperous and safe new year!🎉
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Alxoom33:
Thank you @Dees_Troy!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] NFSP G35:
Is there any chance at all of getting a walleye build? Please?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Strephon Alkhalikoi:
There's always a chance, but that all depends on how busy @Dees_Troy is in what passes for the real world. You could of course build your own copy of TWRP as the source code is available.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Severus_:
I have problem with build for walleye. Can you provide script or guide in details?

I link the issue I reported to github here https://github.com/TeamWin/android_device_google_wahoo/issues/5
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Alxoom33:
I'm pretty sure there is no new 3.5 TWRP version for Walleye. Only Taimen was updated. Unless there was another update I didn't know about.