yashsingh1/xdaforums huggingface dataset:
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Alxoom33:
If you go to the flash kernel thread [MENTION=2059706]nathanch[/MENTION]an is pro has a link to a test Magisk module that solves a lot of wrong pin on reboot issues and other issues associated with the 16.-beta versions.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Nekromantik:
are there any known twrp backup restore issues on 3.2.2.0 version?

I updated and clean flashed ROM and it did not book correctly then I restored backup and that too could not boot correctly.

had to wipe everything and start from start by flashing stock image
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Alxoom33:
When you restore your backup you lose the clean flash, bringing back all of your old data. For a clean flash to truly be clean you need to set up your phone up from scratch.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Nekromantik:
you misunderstood my question,

I was asking if there are known issues of restoring backups on 3.2.2.0?

as it did not work for me.

and I was forced to full wipe and re flash stock image.

I know it is not a clean flash, I did a factory reset between ROMs while on 3.2.2.0 and it did not boot correct so I wanted to go back to my old ROM via the backup.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Alxoom33:
Ok. With TWRP, only restore data. Everything else does not work well. Known issue with all TWRP versions for the P2 and P2XL.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Nekromantik:
thanks noted
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Prattham:
I'm aware of that and I'm using that magisk version but when i boot to twrp still can't decrypt
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Alxoom33:
Yes, unfortunately. I have the same issue.[emoji28]
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] v12xke:
What about (pre) placing your zip files in the data folder? At least that was working before. TWRP wasn't decrypting root, but I was able to flash zip files from data. I can't test because I am on O. Hope this gets ironed out before the 20th! :good:
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] sharkie405:
/data still works on P DP5 twrp 3.2.2-0.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] drewski_1:
/data or usb flash drive works fine
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Alxoom33:
You can also not use a password or pattern to lock your device and use TWRP directly.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] jlokos:
I updated to Pie; flashed Flash 2.59 b4 and magisk 1674 and Twrp decrypted for me. What I did notice is that in magisk manager, the "preserve force encryption" box was not checked; after I rebooted, it was not checked as well.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Jiggs82:
Did you flash Pie manually or received the OTA?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] jlokos:
I used deuces script to (dirty) flash google image to A/B.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] stevexce:
uptaded to Pie over ota, flashed EX kernel, magisk (1671) and TWRP doesn't decrypting

"preserve force encryption" also not checked
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] KHold01:
Download and install TWRP 3.2.2-0. There's also a 3.2.3, but 3.2.2-0 is working for me. I'm also running magisk 1674. If you update magisk make sure you run the magisk uninstaller first. When I updated everything I bootlooped, but I went back into TWRP and installed everything again and it rebooted fine
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] xclub_101:
QUICK BUG REPORT:

TWRP for taimen (both 3.2.1-2 and 3.2.2-0) does not seem to be able to restore previous backups - when entering the restore menu it is not even able to find the backups - it seems to not be able to recognize folders (created by itself and/or TWRP 3.2.1-2) of the type

1970-05-07--02-18-11_OPM2171019029

1970-06-08--04-10-46_OPM2171019029B1

1970-07-19--11-15-21_OPM2171026006H1
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] stevexce:
I'm already using 3.2.2. You bootlooped because you need delete or disable Magisk modules before updating to new firmware. Some modules can cause bootloop after installing Magisk on updated system.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] KHold01:
Not sure why it worked the second time. Maybe the uninstaller failed the first time. Are you decrypting now? Only other thing I have that I didn't mention before is fingerprint with alphanumeric password.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] LLStarks:
Whenever I update my phone: Factory image no-wipe, boot TWRP, flash TWRP, flash Magisk
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] jlokos:
In all of the hoopla about Pie, I missed the update to twrp 3.2.3-0. Any one try it yet with Pie?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] KHold01:
I haven't installed it yet. Everyone has it working with 3.2.2 so that's what I went with. Gonna do a back up and try it out when I get home from work.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Battlehero:
Installed Android 9 using Deuce's script.

Booted into the OS, performed a factory reset from within the OS. (I was coming from DP5)

Rebooted back into the OS, skipped through the setup.

Booted into TWRP using fastboot, flashed the latest TWRP (3.2.3-0). Flashed Flash Kernel 3.0 and the lastest 16.7 Magisk.

Booted into the OS, setup the phone including setting a pin and fingerprint.

Now when I boot into TWRP and enter my pin it fails to decrypt. When I remove the pin and boot into TWRP it works fine. And I have tried it multiple times. I'm assuming that Google has changed something once you use the factory reset option within Android P that is causing decryption issues with a pin?

Any thoughts?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] KHold01:
Not sure. Try using 3.2.2 and magisk 1674. Decrypting for me with fingerprint and alphanumeric. If that doesn't work then you may be on to something
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] CyberpodS2:
It's actually been a couple times now that monthly updates have broken decryption, requiring an update in TWRP.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] jlee08517:
Fwiw, I updated from oreo to pie and fastboot boot twrp 3.2.2.0 decrypted fine after I booted into pie. I also have fingerprint and swipe turned on.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] def-g:
Would going back to 3.2.1 work to solve the wrong password issue?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Badger50:
Not likely if your on P.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] adinkwok:
I flashed all the official Pie images. Just installed 3.2.3-0 perfectly fine with exception to data decryption. I had to push the zip file to the tmp folder to flash, but other than that, it sticks on reboots as it should.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] jlokos:
I tried to flash a custom rom this morning which I thought was based on 9.0, but found out later it was still based on 8.1 and would not boot. I had to reflash the Pie images. So I updated to twrp 3.2.3-0. I have a pattern and fingerprint; I was able to decrypt, rebooted and was still able to decrypt. All working fine again.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Az Biker:
Any chance you have a link to a changelog for 3.2.3-0??? I couldn't find one anywhere.

If not, would you mind sharing any differences you noticed?

TIA
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] jlokos:
Here you go: https://twrp.me/site/update/2018/08/06/twrp-3.2.3-0-released.html
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] adinkwok:
Interesting... I tried again after setting my unlock method as a pattern but it still does not decrypt.

Got the changelog for the recovery right here. If I were to tell you, I really wouldn't know :P, have been running stock images for the last couple of months.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] jlokos:
Are you using magisk? A number of folks have reported issues if they don't uninstall magisk before reinstalling with magisk 1674. I was one of the lucky ones who had no issues. Also I use flash kernel. I don't know if either of these could be the cause (or lack of cause). This device results in some strange problems. My shamu was a lot easier to deal with.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] adinkwok:
Nope, nothing custom other than TWRP. That would be interesting if Flash Kernel helps this, guess I'll have to try it for myself.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] cjrivera04:
Do you just remove -w and then proceed with Deuce's script?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] BlackHoleSlam:
Running into the same twrp issue as before with being unable to decrypt on twrp 3.2.3.0. Just updated from dp4 to official android pie. Heads up to anyone running into this issue you can still sideload through adb even with twrp not decrpyting.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] azpatterson3:
Am I right in reading that some aren't having issues?

I flashed pie over dp (removed -w). Flashed. uninstall Magisk. Reboot. Flashed latest twrp. Reboot. Flashed flash kernel. Reboot. Flashed Magisk. Reboot. Everything works great except twrp won't recognize my lock pattern. Can't get it to recognize no matter what combo install method I use. It's not a huge deal to disable the lock if I want to use twrp but I just am of the type who likes things working perfectly without workarounds. Am I going to have to start from a complete wipe (flash pie without removing "-w"?

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

Am I right in reading that some aren't having issues?

I flashed pie over dp (removed -w). Flashed. uninstall Magisk. Reboot. Flashed latest twrp. Reboot. Flashed flash kernel. Reboot. Flashed Magisk. Reboot. Everything works great except twrp won't recognize my lock pattern. Can't get it to recognize no matter what combo install method I use. It's not a huge deal to disable the lock if I want to use twrp but I just am of the type who likes things working perfectly without workarounds. Am I going to have to start from a complete wipe (flash pie without removing "-w"?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Badger50:
Nah...your not crazy bruh. It's just the twrp thing is all. We just have to disable screen lock before we use it. Not a big deal to me, just a minor inconvenience is all :cool:
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] dmarden:
I am not having any issues with TWRP (3.2.2) decrypting with my PIN (I don't do anything to disable my fingerprint or PIN before use). I have not tried 3.2.3 since it was not available when I was upgrading to Pie.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] jlokos:
there is no need to remove -w when you use the script. When the script is done running, the last question is if you want to format. If you don't, just answer "n," hit enter and the script is done.

---------- Post added at 07:50 AM ---------- Previous post was at 07:37 AM ----------

+1; I didn't have any issues decrypting either. I had a fingerprint and pattern lock; I "dirty flashed" Pie over 8.1. Yesterday, I updated to twrp 3.2.3-0; I had no issue with decrypt on that version as well.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] peoplesindian:
But there has to be some logic to why some ppl can decrypt, and others can't. I'm on the "no TWRP decrypt for you" boat.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] dmarden:
I haven't been tracking it, since I don't have the issue... but... I only boot TWRP from fastboot, I do not install TWRP. Is there any pattern in that?... like, everyone who is installing has the issue?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] peoplesindian:
Ahhhhhhh that has to be it. I have installed TWRP
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] dmarden:
Not sure, but might be worth trying at least...
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] henderjr:
I just fastboot boot into TWRP, don't install and I've never been able to decrypt my pin.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] dmarden:
Hrm... do you normally use Fingerprint + PIN? Just thinking of other patterns... I use Fingerprint + PIN when booted. Obviously just PIN (5 digits in my case) in TWRP.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] azpatterson3:
I agree. There has to be a reason. It can't just be chance.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] jlokos:
I fastboot twrp image and use a pattern + fingerprint and had no issues decrypting in twrp. When you say you don't "instal" what do you mean? I flash the twrp zip in twrp so that twrp remains, and thereafter boot directly to recovery.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] dmarden:
lol... I mean I don't use the "installer" and flash TWRP, I simply boot it from fastboot as needed and have never had trouble decrypting. I am simply trying to help those with trouble.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] CyberpodS2:
I'm also in the pattern plus fingerprint camp. I think like 6 months ago I had to wipe phone because I had a pin instead of pattern and got locked out. That was the TWRP update fixed that round of decryption issues. Maybe the pin vs pattern distinction could be investigated.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] jlokos:
It could be. Do you use the twrp installer zip in twrp? dmarden only uses the fastboot twrp image from bootloader and doesn't have the decryption issue also, but he is using fingerprint and pin.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] xSilas43:
Upgrading from 8.1 I wiped everything in twrp including internal storage then flashed all images from the 9.0.0 factory images and I too am having the issues decrypting the device using Pin + fingerprint, boot the twrp.img enter the same pin and it just fails to decrypt.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] yyz71:
The only way I got it work was. Flash 8.1 do a dirty flash to 9.0 and was able to decrypt TWRP..
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] peoplesindian:
Without booting from fastboot? You just restart straight into TWRP from the phone?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] yyz71:
I'll explain a bit more.. Dirty flashed from 8.1 to 9.0 booted back to bootloader fastboot TWRP IMG and it decrypt and i flashed the TWRP zip and all is well.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] peoplesindian:
Gotcha my dude
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] xSilas43:
If you used the built-in upgrade method I guess this might work but it's generally a bad idea to dirty flash different android versions, ill just remove the lockscreen when I need twrp.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] yyz71:
No I didn't use the built in method. I Downloaded the images extract and fastboot the images..
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] henderjr:
Yep I use Fingerprint and Pin though rarely is my phone locked since I have a Wear OS watch that keeps it unlocked.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] FlatOutRU:
Same happened for me, never can unlock twrp. I`ve wiped fully on 9.0
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] :
I just flashed 9.0 on my 8.1 phone without wiping my phone (I don't know if that's what a dirty flash is) and I rooted my phone without TWRP. I then booted to TWRP and installed the TWRP zip and Magisk zip. My phone now refuses to unlock and after I unlock the phone, it blanks out and goes back to the lock screen. Is there a way to fix this? I have temporarily re-flashed the stock 9 image and the patched magisk boot image.

Off topic, There's a new font that I see in the OS. It's being used in places like the install dialog for external apps, etc. Is this a design choice of android 9?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Badger50:
If your not using magisk 16.7(4) that is why.

Here is the version you need if that is in fact the case. https://drive.google.com/file/d/106ZiqeQxNYtCHkOEc6niuHRcWiCzG_eA/view?usp=drivesdk
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] :
I think I am using 16.7 but I'm not sure about the 4 part. I downloaded 16.7 using the beta channel of the 5.8.3 Magisk Manager app and the file says (1671). Is that the wrong version?

Is there anything I stand to lose from using the 1671 version over the 16.7(4) version aside from being unable to have TWRP and my kernel?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Badger50:
Yeah, your version is not the same as the one I link you to, which was made specifically for the P2XL. You won't lose any functionality, you can still use your kernel of choice and twrp. However twrp is still wonky on 9.0 with decryption, depending on what screen lock security you use.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] :
Gotcha. Oh well. Guess I'll wait until it's fixed then. Thanks
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] drt054:
Mine says it decrypted successfully after PIN. Flashed factory image using Deuces script. Did not wipe userdata before booting twrp.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Badger50:
Which version of twrp?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] drt054:
3.2.1-2
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] JazonX:
I can see 3.2.30 in the TWRP Site. But comments here say it's not working properly. Which version should I use with Android P ?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] MikeC4510:
3.2.2 is the one I've seen everyone using on Pie
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] matt1515:
I'm in same boat I've tried all sorts of stuff and no matter what kernel or TWRP version I can't get it to decrypt on P
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] kevtrysmoddin:
If you have your screen unlock set to swipe it should be ok
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] azpatterson3:
It's maddening because there has to be a fix because some have it working. We just can't figure out what they did different than those of us who can't get pattern unlock to work on twrp. Ugh.... Frustrating!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] v12xke:
I see plenty of ppl are experiencing this decryption issue, but I'm wondering how many people like me are not having a TWRP decryption problem and what are we doing differently? I am using 3.2.3-0 with 9.0 and have never had the decryption problem with any Android version, using the newest version of TWRP from the day it becomes available. I use a 4-digit PIN (not a pattern unlock) and have never had to change lockscreen settings to swipe or anything else. Maybe you should test run with a PIN for a while? I upgraded to 9.0 (from 8.1) exactly the same way I always upgrade with monthly builds. I do not remove Magisk beforehand, I just fastboot flash the full factory image with the -w switch removed from flash-all.bat. I then force the phone back to fastboot menu when it reboots by pressing the vol-down button (I do not allow system to boot). From the PC I fastboot boot the latest TWRP img, and then from TWRP, I queue the latest TWRP, EX Kernel, and Magisk zip files, and then let her rip. All 3 zip files are installed in sequence and then I boot system for the first time. This has worked every single time and I have never had a decryption error or problem using any stable version of TWRP. For those experiencing constant issues I would suggest starting fresh by fastboot flashing the full factory image and allowing the script to wipe all partitions, including data. Use the install method above, and the next time you use TWRP you should not experience the same issue. Best of luck.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] azpatterson3:
[MENTION=3273292]v12xke[/MENTION]

Thanks for the detailed breakdown of your method of install. I will try and duplicate your steps later today and will report back. It's nice to get input from those not having the decrypt issue. :svetius:

Edit... I will put the "-w" back in my script file. It's worth the extra work to get this right.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] micmars:
I believe doing this retains your settings from the previous build, including your unlock pin and fingerprints, as settings are saved in user data.

Among those that did a full install from fastboot, wiping user data, what version of TWRP are you using, what kernel, what decryption, are you rooted and can you decrypt your device from recovery?

Sent from my Pixel 2 XL

#WhiteUIsMustDie, #EndDarkAppOppression
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Alxoom33:
I don't think it's the install method or pin vs password or anything else simple. It is in the code.

This is a problem for [MENTION=702506]dees[/MENTION]Troy and the folks designing TWRP to unravel.

I'm still not able to decrypt with TWRP on my Pixel 2 XL. Tried everything.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] mitchdickson:
Put your flashable files in the /data folder. You'll be able to flash them in TWRP.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] azpatterson3:
So if I put Magisk uninstall

Flash kernel

Twrp

Magisk in the data folder

And reflash everything

,twrp will decrypt?

Just for poops and giggles, I went ahead and moved those zip files to the data folder and reflshed: uninstall Magisk, flash kernel, twrp, Magisk. Didn't work. I'm sure I'm missing something and probably over simplified what you meant.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] ridobe:
Yes, put them in there. But no, there's nothing to decrypt on the system partition.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Alxoom33:
Thank you, but I was not looking for a workaround. I have used the one you mentioned and also have them on a USB dongle. What I was commenting about is that none of the solutions suggested actually work. The key is in the basic incompatibility between TWRP and the Pixel 2 and Pixel 2 XL's underlying system coding. It is going to take [MENTION=702506]dees[/MENTION]TROY and other TWRP developeres to fix the problem.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] mitchdickson:
Good thing is that it's an open-source project, so you can help them out.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Alxoom33:
Thanks, I'll brush up on my coding skills. Lol!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Battlehero:
Just to clarify for others who might be facing similar issues:

I'm using the latest version of TWRP 3.2.3-0 , Flash Kernel 3.01, rooted with the latest Magisk 16.7. (I tried many different variants of Magisk 16.7).

(Fingerprint, Pin or pattern) leads to failed decryption. Swipe or no lockscreen allow you to decrypt.

As I mentioned earlier, from my own experience and others who have experienced decryption issues are those who have performed a factory reset using the stock recovery on Android 9 (I did it within the Android settings). Those who are not experiencing decryption issues are those who have upgraded without performing a full factory reset.

And now hopefully there can be an update, and no I'm not demanding a fix or an ETA. I'm simply summarising an issue and the troubleshooting that have been performed.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Alxoom33:
Re- downloaded the Img file and reflashed in fastboot and flashed the zip in TWRP. Appears to be working better now, but boots back into TWRP sometime when I hit reboot/system. Also, sometimes the keyboard dosn't work. Nice beta 2 improvements, but I am looking to the next version.

Edit: Now keyboard on TWRP is frozen. This is so random! Not Good!

I'm sorry to report!