yashsingh1/xdaforums huggingface dataset:
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] cmo220:
I guess it wasn't a port problem?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] wgrant:
I had to wait to get to work to try again. I switched to a different computer using the same cable from before and it worked without issue. Crappy computer... ugh.

Now I have no touchscreen inputs in TWRP. I would normally read through but now I'm activated on my new phone without anything setup and have work to do. Can someone just point me in the right direction so I can fix it and get a ROM flashed? I'm on the latest TWRP.

Thank you all for the suggestions and input yesterday, definitely helped.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Str0ntium:
You either need to boot to TWRP from ADB (keeping phone tethered to PC via USB) or flash a custom kernel to have touch enabled in TWRP.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] wgrant:
Well that's new lol. I thought I saw in the changelog for twrp that the touchscreen drivers had been added. I'll get around to flashing a kernel. I'm guessing I'll need to fastboot twrp again then flash kernel then twrp and that should do it for letting me flash ROMs? Also, once I flash a ROM isn't that going to overwrite the kernel?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] gazdajezda:
Great, thank you. Will try it at a time, right now i'm happy with it :)
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Str0ntium:
I don't run custom ROMs anymore. So someone else will have to answer that. Things have changed with the A/B slot business. The way I flash (stock) is flash image to both slots, flash TWRP, reboot to TWRP, flash kernel, then flash Magisk + any mods.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] dchurch85:
I've followed all the steps, when I get to the TWRP recovery screen, nothing is happening. I get through the install in terminal, phone boots in TWRP, but nothing happens on the screen...

Any ideas? I've tried redownloading, nothing happened.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Curiousn00b:
What do you mean nothing is happening?

- You can't interact with it?

or

- You're stuck at the splash screen of TWRP?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Brakiss:
Mine takes almost 2 minutes to load, then everytime it updates the partitions, it takes another 2-4 mins
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] CyberpodS2:
I do not have an answer for you regarding why that happens but I had it too up until about 6 weeks ago. No matter what I tried I was stuck with waiting forever for TWRP to get passed the updating screen. That includes several monthly updates with a dirty flash of the factory image. When I installed my current setup (AquariOS) I decided to start from scratch and wiped the phone completely. It's been fine ever since. I truly was waiting like 5 minutes before and after flashing anything and now all is as it should be!!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Exelios:
nvm
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] jrbxx7:
Latest twrp decrypts fine for me on april factory update. In case anyone is wondering lol.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Az Biker:
Have we finally gotten to the point where questions are answered BEFORE they're asked? RC = Recognized Clairvoyant?

I mean, you know that'll reduce clutter and questions, making Xda easier to navigate, with less frustration from users reading the same old questions?

Why you wanna go and change things now?! :p
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Badger50:
That thar is called a preemptive strike Hoss! But fear not my friend....the questions will still come regardless of the efforts of many! ??
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] dnsmo:
I am on the April patch and twrp works like a champ
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Alxoom33:
Did it not decrypt for you on March update?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] gazdajezda:
Work also on march update. He just point that it also work on april one.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] xclub_101:
Has anyone managed to create a backup from an actually encrypted system with 3.2.1-2?

I did have the bug where it could not decrypt and now it gets past that at start - thank you!

However when trying to actually backup things it always fails while trying to backup the data, here is the last part of the log:

I:addFile '/data/misc_de' including root: 1
==> set selinux context: u:object_r:system_data_file:s0
I:addFile '/data/misc_de/11' including root: 1
==> set selinux context: u:object_r:system_data_file:s0
found policy '/data/misc_de/11' - '1DE11' - 'ac05babdcd93251a'
I:addFile '/data/misc_de/0' including root: 1
==> set selinux context: u:object_r:system_data_file:s0
found policy '/data/misc_de/0' - '1DE0' - '88782c83b592fc38'
I:addFile '/data/app-ephemeral' including root: 1
==> set selinux context: u:object_r:system_data_file:s0
found policy '/data/app-ephemeral' - '1DK' - '727af9ff51b641a9'
I:addFile '/data/user' including root: 1
==> set selinux context: u:object_r:system_data_file:s0
I:addFile '/data/user/11' including root: 1
==> set selinux context: u:object_r:system_data_file:s0
failed to lookup tar policy for '/data/user/11' - '7ced109e4ac20b68'
I:Error adding file '/data/user/11' to '/auto0-1/TWRP/BACKUPS/710KPRW0465222/1970-04-02--03-08-54_OPM1171019021/data.ext4.win000'
Error creating backup.
I:ERROR tarList for thread ID 0
Error creating backup.
I:InfoManager saving '/auto0-1/TWRP/BACKUPS/710KPRW0465222/1970-04-02--03-08-54_OPM1171019021/data.info'
createTarFork() process ended with ERROR: 255
Backup Failed. Cleaning Backup Folder.
I:Copying file /tmp/recovery.log to /auto0-1/TWRP/BACKUPS/710KPRW0465222/1970-04-02--03-08-54_OPM1171019021/recovery.log

EDIT:

Never-mind - I was lazy and I thought just deleting the Guest user from the UI would be enough, it is not. The easiest reliable way for lazy people is to install the Magisk module named "Single User mod", and after that it worked fine.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] khanem:
Strange. flashed april update and phone booted fine. went to install twrp but my phone hangs on twrp splash screen. using latest one. Anyone else?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Badger50:
Had that happen as well yesterday. I fastbooted the factory image again with the -w removed, let it boot up, set my lock screen to swipe, went back to fastboot and installed twrp.img......it took a few minutes, but it opened, then I flashed twrp.zip + kernel.zip + magisk.zip, let it boot up, and all was well :good:
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] khanem:
Sadly it didnt work for me. i waited 5 minutes but still stuck. So now i am without root:crying:.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Badger50:
Then try flashing the factory image to your inactive slot, let it boot up, then go back to fastboot and try twrp again. Hopefully that'll fix it. Twrp is kinda weird anymore. It works great with a custom rom, but is slow as molasses on a cold day with stock rooted setup!! ??
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] liver20:
Why not works touch in recovery? ... Latest build

Enviado desde mi Pixel 2 XL mediante Tapatalk
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Badger50:
He can't even get into touch recovery at the moment. Twrp is just hanging on the splash screen ?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] p70shooter:
What is your setup?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] liver20:
April update... Magisk 16.3...latest twrp

Enviado desde mi Pixel 2 XL mediante Tapatalk
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] pantmunu:
Flash the latest flash kernel or any other custom kernel for touch to work in twrp.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] liver20:
Can not enter to recovery for flash...

Maybe booting twrp from fastboot

Enviado desde mi Pixel 2 XL mediante Tapatalk
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] p70shooter:
Either adb into TWRP and then touch will work or temp boot twrp and then flash twrp and kernel
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] liver20:
Fixed

With Franco auto kernel app can flash zip files...

Only flash and reboot.... Works like a charm

Enviado desde mi Pixel 2 XL mediante Tapatalk
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] MrBrady:
I

might

have found a workaround for the unresponsive touch issue in TWRP when using a stock kernel. This works for me on the April 8.1 Security Release, but if others try it, let me know if it works for you too.

When the phone is booted, open Terminal and type in the command to reboot to bootloader (without quotes: "su" enter, then "reboot bootloader"). You should now be in the phone's Bootloader. Scroll through the menu and select "Restart Bootloader", which will effectively reload the Bootloader. Once the Bootloader loads, select "Recovery".

How I got the idea to try this... I have a Samsung Gear S3 watch paired with my Taimen. The watch will beep and vibrate when it senses a Bluetooth disconnect from the phone. The strange thing is, if I'm in the phone and boot straight to Recovery, the watch does not do a disconnect notification. Not until I reboot out of recovery to start the phone. This got me thinking that somehow the recovery is still holding onto the booted phone's memory.

So I tried the rebooting Bootloader trick. As soon as I told the Bootloader to Restart Bootloader, the watch instantly disconnected, which to me was a good sign. Then TWRP touch worked from there.

Let me know if it works for you on the stock kernel.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] almahix:
Tried this. In terminal window, response to su > reboot bootlader was something about read-only filesystem.

FYI flashify didn't work either.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] MrBrady:
Sorry, I should have been more clear in my original post, which I just updated for clarity. Open Terminal and type in the command to reboot to bootloader (without quotes: "su" enter and "reboot bootloader").
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] almahix:
Sorry, I took your instructions too literally. I redid it correctly but the phone still froze at the teamwin splash screen.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] MrBrady:
Strange. I've only had that happen when using the SafetyNet modified stock kernel listed here on XDA.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] almahix:
Fortunately I can still boot into my preferred ROM, but can't do much else without a working TWRP. Not ever sure how to proceed from here. Can't even fastboot flash recovery now.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Badger50:
There is no such command for fastbooting recovery. The P2XL doesn't have a separate recovery partition. Recovery is now tied in with the boot.img. Therefore, you need to...fastboot boot twrp-xxxxxx.img

Then you should be able to enter twrp.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] almahix:
Duh! it isn't like I haven't done this before. I got into twrp, installed my rom and twrp 3.2.1-2.zip then rebooted. It would only reboot into recovery, and the contents of /sdcard appear scrambled. Not good. Rebooted into other slot (A), seems to boot rom. When rebooting into twrp from rom, there is a long pause (1 min?) between twrp splash screen and the twrp menu. Backed up slot A, tried to switch slots to B to restore, it as still corrupt. Switched back to slot A and all is well. Slot B is unusable as is.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] THEbigSWEEN:
For someone who has "kindness for all" in their signature that was a bit of a rude way to start your response to someone who was trying to help you... You did say you couldn't fastboot flash recovery which prompted his response about you can only fastboot boot TWRP.

Anywho... So you said you can still boot into your ROM, correct? Do you have a lock screen pin/pattern set? If not try setting one and see if TWRP will prompt you for it to decrypt data when you reboot into recovery. If that doesn't work, does booting the TWRP image via fastboot still show the sdcard contents encrypted?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] chikimonke:
In my experience you need to flash a kernel along with TWRP. If you don't, you just get the loop into recovery.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] THEbigSWEEN:
I think the only time kernel caused issues with recovery was on stock with stock kernel and it would break touch input within TWRP. At least that was the issue with earlier versions of TWRP, not sure if it's still an issue, and I can't say with 100% certainty that I'm not wrong because I always use a custom kernel:cool:
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] almahix:
I'm very sorry you read it that way. The "duh" was in reference to my obvious mistake. I intended no harm or disrespect. In fact I intended to convey appreciation.

There is no screen lock, and I believe 3.2.1-2 successfully resolved that issue. And yes, the fastboot invocation of trwp shows the sdcard garbled,but only on slot b. Slot a is fine.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] dlb4all:
Earlier today , i flashed "Flash Kernel" and after that TWRP . and sure enough after reboot i ended up in TWRP again ! and to no suprise , my touchscreen wasnt working .

and i was away from my PC to do "fasboot boot" command . so naturaly i got angry and started hard rebooting and rebooting to bootloader couple of times . and after few tries , my touchscreen started working (dont know what i did exactly) :)

So i immediately flashed kernel and after that magisk and it booted fine . now with custom kernel it doesnt seem to have any probelm . now im not an expert coder but TWRP needs couple of bug fixes for our beloved phone

but at the end it decrypt the april image just fine . give the OP some time to figure stuff out . and thanks dude [MENTION=912474]Dees_Troy[/MENTION] for maintaining :good:
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] clothednblack:
After you flashed the kernel and twrp, you needed to flash magisk before rebooting, that would have prevented the bootloop back to twrp.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] dlb4all:
Yeah . i knew that but sadly at the moment . i forgot . and at that moment i realllllly missed my good ol' hassle free Nexus 5 :D

But thankfully everything seems normal right now.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Ghisy:
Hi,

Does TWRP support MTP on the Pixel 2 XL now? (just wondering if the OP is up to date).

Thanks!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] D-m-x:
No, not when I tried a few Days ago.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] llevo3:
I don't know if it's already reported, but touch working with stock kernel if the phone is connected to pc via usb cable. What I meant is if I reboot to bootloader via adb and then boot in to twrp, touch working. At least I experienced it couple of times.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] simplepinoi177:
this.... -- it's actually been known for a bit now tho -- but I also wanted to add, AFAIK, I read somewhere on xda that using a terminal on the phone and adb commands can make it work like it does in the above statement...
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] techlogik:
I have also had reboot to Recovery and the touch screen freezes issue. You can turn the display on/off with the power, just no touch screen. Then, I tried disabling the Ambient Display, also, don't show notifications on Screen/wake screen in the same section.

Reboot the phone to recovery, the touch screen works in TWRP. Reboot, then re-enable the Ambient display..and it keeps working after that when I reboot to recovery.

Not sure why it does this, but seemingly disabling the Ambient dispaly/Notification On settings gets me into TWRP so I can do a backup or whatever. Odd....

This is with the phone connected BTW to the computer.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] elrarour:
I'd stuck with this path
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] pa.pn2:
Platform tools up to date?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] CrashTestDroid:
This is not a complaint but a status report and I thank the devs for this very useful tool.

I spent the past 2 days testing and trying to recover some important data and must conclude that restore doesn't work almost every time, and I say almost because of reports claiming that it does on occasion work.

After trying dozens of custom rom backup/restores I gave up and wiped everything out to see if basic backup/restore could work and work up from there. Results were not encouraging.

After a full wipe and barebones setup I fast booted tarp, performed a backup and restore of data only and it fails. flash-all.sh followed by setup, no password/PIN, on April image, and backup/restore fails. Restore of previous TWRP backups fails too. The error is always 255.

I hope a few people can be saved some aggravation and data loss by waiting until twrp's backup/restore functions are more mature or contributing if you have the skills as, alas, I do not. As today, twrp is not ready to put data back.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] techlogik:
Interesting, have done multi restores of my stock system, data and boot images after using deuce to wipe clean. Worked perfect every time for me.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] gazdajezda:
I have similar experience as CrashTestDroid.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] nhan1411:
Anyone help me. I tried to flash twrp 3.2.1-2 on my pixel 2 xl (android P DP1). Flashing is fine but it kept rebooting to twrp. I tried to reboot slot B (my current slot is A) and the device off and never on again.

When I pluged it to PC, it only showed QUALCOMM HS-USB 9008. I tried many ways to go to bootloader but not worked. Do you have any suggestion for me?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Badger50:
You can't get into bootloader mode with powering the phone off, and then holding power and volume down buttons simultaneously until it goes into bootloader mode?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] nhan1411:
The device is off and I have tried holding power and volume down for more than 1 minutue many times but it did not work.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Badger50:
Even if it's plugged in? Try both a/c and USB for power source. If still nothing I'm afraid you may have a fancy paperweight on your hands! ??
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] nhan1411:
Yes, I am adraid that. Maybe I will let it be for a while and tried again
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] chikimonke:
Does it still boot to TWRP? If so, try flashing a custom kernel, like Flash Kernel. It may also be Magisk that is needed instead of the kernel. I've noticed that if I flash just twrp on a clean system, I can't boot until I flash the custom kernel and Magisk. I always flash both, so I don't know which is actually going to fix it.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] nhan1411:
No, it is dead now (black screen). Maybe I will let the battery drain completely and try again. If not work, I will submit to RMA.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] chikimonke:
Press and hold power for well over a minute, then press and hold again to see if it comes back on
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] nhan1411:
Have tried but not worked
[Moto Z Questions & Answers] smlamch:
Please help me understand what went wrong and a solution will really be appreciated. I recently flashed using this after being on Resurrection ROM. And i did so because i had a mega battery problem and wanted to see if either will solve the problem. My phone is still semi-usable and i need to keep it connected to a charger if i do intend to use it while preventing it from shutting itself down because of the battery problem.

[IMG="OTA failed"]https://preview.ibb.co/gYZV8G/20171101_022010.jpg[/IMG]
[Moto Z Questions & Answers] Achi Shukuteki:
For the battery: go back to that battery thread [MENTION=4234157]Vcek[/MENTION] posted a method to help the battery problem. I thanked him 2 posts above your post.

As for your current issue, I'm not sure. Try a non-blur stock factory image or try RR again would be my guess.
[Moto Z Questions & Answers] Benoe:
What phone do you have?

Was the reflash successful? This ota update was automatic or sideloaded?

Tapatalkkal küldve az én XT1650 eszközömről
[Moto Z Questions & Answers] smlamch:
Moto Z. I updated it directly, not sideloaded.

The re-flash was successful but somehow OTA don't work.

I'm not sure if the phone battery problem is genuine or just a software bug. I really wish someone would up a link of a firmware to be re-lock and flash the phone to stock.
[Moto Z Questions & Answers] smlamch:
I couldn't locate the post you were referring to. Can you please link it here? Please.
[Moto Z Questions & Answers] Benoe:
The method you linked (and presumably did) contains exactly this. A firmware you can relock your phone with.

Are you sure that you downloaded the full ~2,3GB? Wasn't any error during the reflash?

It was working on a reteu XT1650-03 without issues.
[Moto Z Questions & Answers] smlamch:
I downloaded it twice for it failed the first time. I believe it's the correct version.

Whenever i tried re-locking using fastboot oem lock command i get the message that i need to Allow OEM Unlocking under Developer Option. But weirdly that option is greyed out on the phone.
[Moto Z Questions & Answers] smlamch:
Can you please help me out with the steps that you're familiar with. I mean relocking and flashing the phone to stock. Please.
[Moto Z Questions & Answers] Benoe:
You should ask in the other thread, my phone is unrooted, locked, reflashed only to get better battery life.
[Moto Z Questions & Answers] smlamch:
Okay. I'm gonna give flashing the phone another go.
[Moto Z Questions & Answers] Achi Shukuteki:
From: [MENTION=4234157]Vcek[/MENTION]

I read somewhere here on the forums the instructions for resetting battery stats for Moto Z :

Hold power button until screen turns off

Enter bootloader by holding vol down

Turn off phone and keep it in the charger for 1-2 hours AFTER it reach 100%

Can anyone with a horrible battery life try this and tell us if there's any difference, because I couldn't tell if I was getting better battery