yashsingh1/xdaforums huggingface dataset:
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] SirFronts:
So I used the temp twrp file to root my 9.0 pixel 2 xl well rerooted lol last time I tried to flash over the permanent twrp zip it would just keep booting itself into recovery but I wouldn't be able to use the screen or get out of attic keep forcing it back into the bootloader it wouldn't boot up the system is there a custom recovery for the pixel running pie
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Strephon Alkhalikoi:
Yes, and it's the same one you tried to install, meaning you made a mistake in flashing. Download a stock ROM zip (NOT an OTA) from Google, edit the included batch file to remove the -w flag so as to not overwrite your internal storage, and flash it to restore your device to working order. Then follow the instructions in the thread to properly install TWRP.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] SirFronts:
Ok I got around everything but now the temp twrp img file works but if I'm not on my computer I have no touch features to nav in twrp
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Strephon Alkhalikoi:
Install a custom kernel if necessary to resolve the touch issues. I say "if necessary" because TWRP works on my P2XL without a custom kernel.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Alxoom33:
Yeah, that always works!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] samteeee:
Hi guys;

I've just upgraded to "Nov Security" patch with Full OTA via recovery.

But trying to boot into TWRP (lates, older versions) ends on TWRP splash screen and frozen!

Any suggestions is much appreciated.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] clothednblack:
Needed to flash twrp after updating and before rebooting. Will need to redo twrp with a pc to get it back unless I'm misunderstanding what steps you took
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] samteeee:
Thanks for replying back.

After OTA, I rebooted to system and rebooted back to bootloader

and tried to boot into TWRP but as mentioned above it ends up freezing on TWRP splash screen!

I've tried everything to no avail, nothing boots me to TWRP!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] clothednblack:
Ota replaced twrp when flashed, needed to add twrp in line after ota so recovery would be put back in. You will need to connect to a pc, fastboot twrp again and reflash it.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] samteeee:
You're right! And I'm trying to no avail, as mentioned it freezez up on TWRP splash screen!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] clothednblack:
It still freezes when using a pc? If that's the case, I'd redo the ota again with using fastboot method and then twrp.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] samteeee:
I agree, I'll try and report back.

Thank you.

---------- Post added at 11:41 AM ---------- Previous post was at 11:11 AM ----------

Worked!

Thanks a lot.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] clothednblack:
Awesome, glad to hear that and welcome back ?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] simplepinoi177:
Hi all! I'm having a very weird issue.....

I attempted to search this thread for a similar instance/case, but the terms are just too generic that it couldn't narrow down anything really relevant.

Here is my issue: No matter how I set my screen-lock, TWRP will

always

demand a password for decryption. If I set it as a pattern or PIN, it will still request a password. And even when I set the screen-lock as an alphanumeric password, TWRP states that it is incorrect!

My phone broke a while back, and after getting a replacement, I used TWRP to "Restore" from a backup made before it broke. I'm not sure if this is pertinent or not. I have just updated to the November update using the Full Factory Image PQ1A.181105.017.A1 (-w removed). I am using Magisk 17.3(17302), Flash Kernel (wahoo 3.1.8), and TWRP 3.2.3-1. It does this both when booting straight into the TWRP installed recovery as well as fastboot boot-ing into the TWRP 3.2.3-1 image (.img). If I were to remove the screen-lock, it loads straight into TWRP and the filesystem is readable and accessable.

I remember having issues with decryption on 3.2.3-0, but it was nothing like this. At the very least, if I had a PIN, it would ask for a PIN, a pattern for a pattern, etc.. So I can't be too sure if this is related or similar at all. Also, I might figure it may have been the restore, but after running the flash-all from the full factory image, I would imagine any discrepancies in the system or vendor partition from the restore would be corrected during the flashing/update.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Reechings:
I use pin and it still asks for a password. I just put in the pin.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] simplepinoi177:
really?! I've tried that with no success. If you don't mind me asking, how many digits is your pin? I haven't experimented around with it much, so I'll try various digit lengths...
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Az Biker:
I'm thinking I borked something since I haven't seen anyone else with this issue.

I just updated to Nov factory image via fastboot

TWRP 3.2.3-1

Sultans latest Kernel

Magisk 17.3

When I try to create a backup in TWRP, it starts then the device reboots.

When going back into TWRP there is a file there with the aborted backup's name, but there's no way it's a full backup as TWRP only runs the backup process for about 10 seconds before it reboots.

Any suggestions? [MENTION=3730810]Badger50[/MENTION]

UPDATE:

I re-downloaded the factory image, the TWRP.img, the TWRP.zip, and Sultan kernel, to make sure my files weren't corrupt.

I followed the same process I've followed forever:

flash factory img via fastboot

boot into twrp

flash twrp.zip

flash cust kernel

reboot to system

reboot into twrp

flash magisk

reboot

Back up in TWRP fails at about 1000 files or 34%, progress line stops, device reboots...
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Az Biker:
After trying the above three times, with twrp back up failing at the same point each time, I started from scratch again, but did two things differently.

Instead of latest Sultan kernel, I flashed latest Flash kernel 3.19,

and

I let twrp "auto generate" the back up name,

TWRP backup worked perfect first try.

I shouldn't have changed TWO items at once, but I never experienced this issue prior to using Sultan kernel (although I don't think a cust kernel messes with TWRP).

I also can't see how changing the auto-generate name for the back up would affect the backup.

Even though it seems like it's working again, I'm super curious what caused it...

Going to try installing Sultan kernel and see if backup fails again...

Then try to add my own backup name instead of letting it auto-generate...

I'm open for suggestions :D
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Alxoom33:
If you are moving from Flash, you may want to try EX kernel.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] v12xke:
Glad to hear you got the backup issue sorted, but would like to add a small refinement for the sake of conversation. My monthly update process uses TWRP's queue zips feature and I don't reboot before applying Magisk. Everyone has their own trusted method for updating. You use what you know works. This is what has been working for me, and I've never had a problem. (This assumes you pre-position twrp.zip, kernel.zip, magisk.zip).

fastboot flash full factory image

fastboot boot twrp.img

queue twrp.zip, kernel.zip, magisk.zip and then let her rip

reboot
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Az Biker:
Out of curiosity, why do you prefer EX over Sultan? And How you liking the 3?

I'll definitely try this next time! Thanks.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Alxoom33:
Been using EX since Shamu days. Been enjoying EX and Flash alternatively on my P2XL. Never had an issue with EX. Flawless! I don't use Sulton's kernel. Never tried it.

Not on P3.[emoji38]
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Az Biker:
Not on 3 XL? Splain this;

:p
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Alxoom33:
I got a lot of splaining to do[emoji28]
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Alxoom33:
I am on the P2 XL. I am using a P3 XL Magisk build.prop spoof. See below:
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] simplepinoi177:
most likely, like me, is a real notch-hater...:silly:
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Alxoom33:
Definitely not a fan of the notch.[emoji21]
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Alxoom33:
https://r.tapatalk.com/shareLink?ur...hare_pid=78132981&share_fid=3793&share_type=t

Definitely not a fan of the notch.[emoji21]<br />

<br />
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Gordietm:
Where did you get that module?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Alxoom33:
On an XDA thread for the P2 XL. If you look at the module image the dev's name is listed.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] srqrob:
Well, I'm a believer. Used your queue method. Fastest, easiest update and root ever. Thanks again. :cool:
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] v12xke:
You're welcome. This is what XDA is all about- sharing!:good:
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] simplepinoi177:
So -- not that it seemed anybody had this issue -- I just wanted to put an update to this issue just in case (although highly an unlikely case) someone else runs into this...

Some background that sets up this issue...; Before my phone broke, I had taken a TWRP backup. Then my phone broke, and I had acquired a whole other pixel 2 XL to have/use. Immediately after setting the device up to its most basic (this is key because it means that I never set up pixel imprint), I restored the phone using the TWRP backup. Once I loaded up the system, I found that it was asking for "something/anything" that would decrypt the data on the phone. Attempting to salvage the situation without totally resetting the phone, I used the ability that TWRP has and the fact that the /data partition/directory does not need decrypting to modify files to remove the gatekeeper and locksettings files (SOURCE) and bypass the request to decrypt once the system starts up. Even though I was able to get into the system and reset the security pattern or pin, it would never work on TWRP -- although it would work just fine with Google Pay and system startups. Which had led to the previously quoted post...

In the end, the thing to correct it was to make a backup with

NO

screenlock and imprint -- set things up so it backed up all the /data AND /sdcard within the TWRP backup files -- at all, flashing the Full Factory image with the "-w" intact to wipe the whole device, restored the /data and /sdcard, and only after everything was set up did I then set up a lockscreen pattern and imprint.

TL;DR Be careful of creating/having a TWRP backup that contains a screenlock and then restoring that TWRP backup to a phone that does not have any screenlock or decrypting protocols in place because"...if you do, you're gonna have a bad time."
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] CyberpodS2:
As a rule, I always disable ALL screen locks before doing backups precisely because of this. I have lost too much in the past to risk it...
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Badger50:
And....substratum themes as well :good:
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Horoscope:
guys I am facing a weird issue in twrp

I recently did a factory reset to my Pixel 2 Xl using stock recovery

then flashed the Nov factory image and setup my phone after booting it

I then booted to Twrp and flashed latest Twrp zip file and rebooted back to twrp recovery but twrp is forzen and touch does not work, I have no option but to restart phone...

basically I am able to boot to twrp using the img file but once I flash the twrp for a permanent recovery everything gets frozen

pls help
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Alxoom33:
You have to flash the latest Magisk.zip after the TWRP.zip, before rebooting.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Horoscope:
That is what I am trying to tell, once i flash the TWRP.zip and boot back to twrp everything is frozen and touch doesnt work
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] clothednblack:
He's saying

Boot to twrp with fastboot

Flash twrp and magisk before rebooting.

Instead of booting twrp, flash twrp and rebooting to twrp to flash more.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Horoscope:
oh ok will give this a try and confirm
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Alxoom33:
That's correct!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] resarfekim:
Hi guys, what is the correct way to backup and restore a 2XL? I'm kinda confused with the dual slots thing.

Do you backup both slots, and if so, how?

And would you have to restore both slots?

Thanks!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] bigv5150:
Just backup what is already checked in twrp backup. Their are other options to check but it will mess up being able to restore the nandroid. I actually just did a complete wipe of my phone cuz I was having a problem with GPS getting my location for weather apps or find my device. It worked for certain apps and not others. So I did a complete wipe of my phone installed all my app backups from titanium. And it only took about maybe 30 minutes to set up my phone.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] simplepinoi177:
[MENTION=3462404]bigv5150[/MENTION] is correct; You may backup every selection available, but restoring anything but /data will usually mess up your phone more. To date, I have never been able to successfully restore anything but /data; with the system and vendor and anything else. I pretty much end up just flashing the Full Factory image and then restoring the data which restores all the apps and settings. Also, as TWRP will even warn, a backup and restore through TWRP does

NOT

backup the internal sd; i.e. music, photos, all those other folders in /sdcard and/or emulated/0/...(going off of memory, may not be entirely correct). If you are interested in having TWRP backup ALL data -- both /data and the internal sdcard -- send me a pm. There is a way, but it is very convoluted and adds a bunch of extra steps.

good luck to you and hope this helps...
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] blaaaazedup:
Which version of titanium and magisk are you using. Titanium 8.22 keeps FC on me. Wont open at all for me using magisk 17.3
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] bigv5150:
I've had issues with titanium force closing as well. It seems that sometimes there's leftover remnants from another titanium you have to delete everything. Try this using file explorer go to root/data/app.

Navigate your way through the files till you find the one named “com.kermidas.TitaniumBackup-1.odex”. Delete this file. Also delete the same file on sd card it's located in the data file.

Reinstall Titanium backup again. It shouldn't fc now. I use 8.22 and it works fine. I'm using magisk 17.1 I heard there are issues with 17.3. so this may not fix the issue but it's easy enough to try.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] nowell29:
so could someone help me understand?

I had slotB with my install, encrypted. If I reboot TWRP into slotB intentionally, I can decrypt with my code. If I reboot to slotA, then the contents of sdcard are encrypted and unusable, and I am not prompted for decryption when first coming to TWRP. I would think this is expected behavior.

So I copied all my data off the phone, wiped it all, installed (this time it happened to be SlotA a clean install. Now, if I choose to enable encryption for screen lock or fingerprints, then it will encrypt the data and I will be left with the same situation again, correct? Is this the intended behavior, or is there a way to have TWRP decrypt from either slot? I'd like to avoid having to get to the point that I need the dueces script to recover. Thus far I have been okay. i have read through this thread and can't see this point explained.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] SirFronts:
I keep getting a error saying it's read only on my back up can anyone help
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] techinv:
Decrypt issues...

All:

3.2.3-0 cannot decrypt my data (TWRP is not recognizing my pattern). Can I upgrade to 3.2.3-1 using this method?

Flash the stock boot.img, then the new twrp.img. Once in twrp, flash your twrp.zip, then kernel.zip, then magisk.zip
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] clothednblack:
Just remove your security pin and boot to twrp, flash updated twrp zip OR use fastboot to boot twrp, then flash . 1 twrp zip, no need to stock unless it's corrupted
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] techinv:
So I just flashed the updated zip and tried to reboot system, but it kept booting back to recovery.

Didn't panic this time; I flashed my ROM, Magisk, wiped cache and that all took. Just added pin back and TWRP is able to decrypt. Some frustration, but I guess I got where I needed to.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] SirFronts:
I still get the error of read only not a true back up could anyone help please it won't let me install renamed or auto generated saved named I have tried everything I feel like
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Badger50:
Just outa curiosity, when you first installed twrp, did you "swipe to allow modifications" or did you keep twrp as read only?? :confused:
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] CyberpodS2:
I can say I've done that a couple times over the years. Any time I realize the the files are scrambled, I restart and make sure it wasn't just some blip.

The other twrp issue folks need to pay attention to it the question at the end about installing... Never! Lol
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Badger50:
You got that right bro. That twrp thing at the end can be a real ball buster! :cool:
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] snoop5:
should we swipe for the modification or not...thanks
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Badger50:
Yes. Swipe for modifications :good:
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] SirFronts:
I think I did swipe

What's the best way to install you have found
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Badger50:
I disable my screen lock security first and set it to swipe. Then I fastboot into twrp, swipe to allow modifications, then I flash the twrp installer zip, then my custom kernel, let the OS boot up, then go back to twrp and flash magisk. Don't install the twrp app from twrp recovery as well. That just causes problems :good:
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] clothednblack:
Was trying snoke but phone wouldn't boot. So I flashed stock boot IMG, rebooted to make sure phone was working again. Went back to bootloader, fastboot twrp, flashed twrp,flashed magisk and rebooted, but I don't have root and I'm on stock kernel , 8.0 Nov release. Going to reboot now and see if twrp even stuck
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] bryantjopplin:
Zip or img from snoke?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] clothednblack:
zip. so, I rebooted to recovery and twrp is there but no touch response and it is twrp beta 2 that I used

Fastboot stock boot.img so I'm back to stock again.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] bryantjopplin:
Always flash magisk last. So flash stock boot. Reboot. Boot twrp, flash kernel and twrp together. Basically two zips. Once done go back to home still in twrp and flash magisk. Then reboot. Twrp replaces magisk modifies
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] clothednblack:
That's what I did, except I flashed twrp, went home, flashed kernel, went home, flashed root. Rebooted and was stuck.

Then, flashed stock boot again, flashed twrp, then root. Rebooted just fine, but didn't have root.

Using twrp beta 2

Magisk 14.4

I will try again and flash the 1st 2 at once
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] bryantjopplin:
Do kernel before twrp in the flash order

---------- Post added at 12:57 PM ---------- Previous post was at 12:56 PM ----------

I don't think that magisk works via flashing.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] clothednblack:
strange, I swore I saw a flashable version.

in that case, I would boot to twrp, flash kernel, flash twrp, flash patched boot img?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] bryantjopplin:
I don't think that version works. Try this one, compiled last night with newest changes and works with viper on permissive kernel.

https://www.mediafire.com/download/5poo50s3zt89995
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] js042507:
Tried all of these methods and TWRP does not appear to stick after a full system reboot. Plus, when TWRP does boot backup via 'restart recovery' before a full system reboot, the touch operations are non-responsive.

Can somebody confirm that TWRP does indeed bootup via recovery command or hard button method after a full system reboot?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] bryantjopplin:
Yeah it does. You need to either have have stock boot img and flash on top of that or you need to flash kernel first then twrp in same succession, then go back to install and install magisk last. Twrp replaces files while magisk modifies that's why it need to be last.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] js042507:
Hmmmmm. Yeah I did flash the stock boot img and rebooted. I don't want to use modified kernels though. I'll try again later and see if I can get it to work right. However, you can soft and hard reboot into TWRP?

Oh wait...are you saying I should flash the boot.img from within TWRP?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] clothednblack:
stuck on loading screen.

went back to stock boot.img again

booted twrp

flashed twrp

flashed magisk 14.4.2 and now I have root ( it does say update available but I'm not going to worry about that)

I will just stay with stock kernel for now. Thank you for your help, twrp and root is good enough....for now lol
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] galaxys:
So now I don't have to patch the boot.img with the above?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] clothednblack:
I didn't, just flashed Magisk 14.4.2 in twrp and it did the work for me, now I have root
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] mitchdickson:
Sweet, got it all working with Flash kernel v1.03.b2, Magisk 14.4.2, and TWRP b2.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] abuttino:
You might want to tell people the order that you did it in ;)

Sent from my Pixel 2 XL
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] js042507:
Yippee!!! I got it working! Not sure if it was the Magisk zip file or flashing the stock boot.img via TWRP...but all is good over here. Running stock kernel as well. And 8.0 September update.

Thanks for the advice bryantjopplin!

EDIT: This is the exact method I just used...

-boot into TWRP beta via fastboot

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

-reboot system normally and confirmed 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).

-reboot system normally. Root is back and I can load TWRP using soft/hard methods. Also, the touch screen works as well