yashsingh1/xdaforums huggingface dataset:
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Exelios:
Changes nothing

I have the full android studio installed but where are adb and fastboot there??
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] gianton:
Do you have a working adb/fastboot machine? Can you see your device with "adb devices" and "fastboot devices"?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Badger50:
On you C: drive, look for SDK, if you find it, then open it up and look for platform-tools.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] pa.pn2:
Lol
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] bd177:
If you are in the directory with fastboot and the twrp file you don't have to type in the full path to twrp. Just type in:

fastboot boot twrp-3.2.1-2-taimen.img
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] sportytony:
That's how I did it! Thank you badger
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Pkt_Lnt:
Yeah, however the second translation was "I don't speak English" so a little more help was needed. :angel:
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] CyberpodS2:
Well you've got good and questionable info there... Regarding booting twrp, I keep the current twrpfile.img in my folders with adb/fastboot so I always have access to it. The command is: fastboot boot twrpfile.img

As for being better to not install it, I disagreed with that several versions ago and there is even less concern now. Just keep a couple things in mind. If you like to play when away from your PC, definitely install Flash Kernel as part of whatever your install is. It'll ensure you have touch access to your twrp. Also keep the latest magisk zip on your phone as well as the Kernel zip. I have had two occasions where uninstalling a rooted app or doing them stuff has caused a boot loop. Flashing the Kernel and Magisk zip files in that sequence had saved my butt more than once. I welcome badger50 to add anything as he and I seem to run similar setups...
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Str0ntium:
You can also just drag and drop the file onto the command window and it will insert the path at the end of the current command line.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] def-g:
Co-Signed. Worked for me. Good luck.

G
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Exelios:
Anyone can recommend a minimal adb and fastboot build that is confirmed working properly?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] joetheshmo:
The one from Google
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] sirxdroid:
https://developer.android.com/studio/releases/platform-tools.html#download
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] bigv5150:
Here is the minimal package it's updated when there are changes so I just download fresh when I need it so I have the latest files. Hasn't failed me yet. https://www.xda-developers.com/google-releases-separate-adb-and-fastboot-binary-downloads/
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Fe Mike:
So I'm still new to pixel dual slot and try not to flash things as much as I did on n6p. Reading the op it says that if you have twrp already to just flash the update and you don't have to temp boot twrp. I did just that and upon reboot I get the red device is corrupt. Should I have flashed it to both a b slots before reboot? Im running the Jan patch with magisk, ex kernel and was on twrp from Dec. I got phone working by flashing the stock boot to both. What does everyone without issue do, so that I don't do that again?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Badger50:
If your going to update twrp, from within twrp, you have to flash magisk right after that to avoid the twrp bootloop. If you run into trouble down the road, you can always do what the pic says :good:
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] iaTa:
Running P DP1 and have latest twrp installed. Went to flash latest Flash kernel today, rebooted into recovery and twrp would not accept my pattern or pin to decrypt storage. Worked fine once I removed pin/pattern security.

Is the latest twrp not able to decrypt P DP1? If not is it possible to remove encryption entirely, can't find much info on removal on Pixel 2.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Badger50:
You'll probably be fine after you flashed your new kernel. Twrp has some difficulties with stock kernel.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] pacman photog:
I have same issue.

Each time I need TWRP I just remove pin and fingerprint then add back once done in twrp
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] iaTa:
I was already running Flash kernel at the time, I was just trying to update it.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Fe Mike:
Thank you,

Is twrp bootloop where the twrp splash screen keeps coming up or do you mean your device is corrupt in red upon reboot? Just asking so that I'm on same page as to what you meant.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Badger50:
Twrp bootloop is the twrp screen keeps coming up. The device is corrupt is possible from flashing a rom, or mismatched vendor.img. Fix the twrp thing, then the other :good:
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Fe Mike:
I guess that's where I get confused. I only flashed twrp from within twrp and that's when the your device is corrupt came up upon reboot. Definitely user error but nothing else was flashed. I'm back up and running without losing anything. Thanks again
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] cmo220:
Are you one of the people running DP1 and able to decrypt using the latest TWRP? If so, can you tell me the exact steps you used and the order that you did things? I've tried several things, including completely wiping all data from internal storage and SD card after installing DP1. Thanks.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] gianton:
Not possible until twrp gets updated. You have to remove any security option before booting to twrp to see your files.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] cmo220:
That's what I figured based on everything I have tried, but at least one person earlier in here said it was working for them on DP1.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] njudson:
Just wanted to say a quick thank you to this thread by following that picture that's being shared recently I as able to root + flash TWRP & Magisk on my first try. Glad to finally have root for adaway (I was trying to wait for "stable" twrp)
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Az Biker:
NVM... :D
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Pkt_Lnt:
You shoulda kept that post, it was good. :highfive:

We need to change his name to that.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Badger50:
Oh sweet! Thanks for my new wallpaper bro!! ?????
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] bluedog220:
Quick question, does this version of TWRP back up and restore successfully? And if so , for us on Android P?

Thank you
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Badger50:
It does on 8.1, not sure on PDP1. Hopefully someone who's done it will weigh in :good:
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] MrShibby:
Anyone else got the problem that Windows Explorer is not showing the phone when booted in TWRP?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] joetheshmo:
It's a known issue that mtp is not working
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] MrShibby:
thx for clarification, i didn´t want to read the whole thread though.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] joetheshmo:
It's in the op but I know what you mean
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] zjlcmpg:
I also have touch problem.

my English is very poor. I may describe it not clearly.

The process is the same as you.

I flash the Rom from developers.google#com/android/images,	8.0.0 (OPD1.170816.025, Nov 2017)

then flash twrp(twrp-pixel2-installer-taimen-3.2.1-2.zip),

then install Magisk(Magisk-v16.0.zip) in twrp,

reboot and confirm the phone has root,

power off the phone, manually boot into recovery,

then touch is not working.

but touch is working by command "fastboot boot twrp-3.2.1-2-taimen.img".
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Badger50:
That's a common problem with stock kernel. Installing a custom would likely fix the problem. However, since your still on the November build, it may be difficult to find. Why haven't you updated since November outa curiosity? ?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] CyberpodS2:
Hey bro, do you know if the early versions of Flash have the touch drivers? I see 1.06 was the first version in zip form and it's still from November. It's in the stable folder under 8.0 on his Nathan's server. file name is: Flash-Taimen-v1.06.zip so maybe this will get him fixed up for now??
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Badger50:
Sorry bruh. But I honestly don't remember when Flash implemented them. Best guess was in late December/January :eek:
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] CrashTestDroid:
On the March update and it technically does backup and restore successfully. Unfortunately booting after restore does not complete. I got corruption warnings and bootloops after a dozen tries.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] CyberpodS2:
Maybe your in the wrong partition to boot, or restored to the wrong partition. I would try switching the a/b and maybe flash the stock boot partition to both sides.

What if you restore your backup then dirty flash the factory image over top with the -w removed from the bat file.

Or

Flash the factory image and get that booting, then boot into twrp and restore just the data partition. See if that boots.

These would be my moves... Not sure any will help, but maybe others can give other ideas or say why mine won't work.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] mac796:
I have backed up and restored several times. I only ever back up and restore

Boot

Data

System image

Vendor image
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] iaTa:
Does anyone know of a way around the P DP1 decryption issue other than disabling security entirely?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] liver20:
I am rooted but not have twrp installed.... How can flash from system booted twrp?

Enviado desde mi Pixel 2 XL mediante Tapatalk
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Badger50:
You could try putting your zips in the root/data partition, or flashing from an OTG. These methods worked on 8.1. Can't speak for PDP1 though ?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] iaTa:
I've tried from root/data and I get a 'failed to map file' error when trying to flash anything.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Badger50:
Then likely it's a twrp/PDP1 issue :cool:
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] mac796:
So I was on a custom ROM with the new TW RP and for some reason I couldn't get decryption to work. So I went back to stock being Everyone was saying it worked. Long story short I had to reformat for decryption to work in twrp with a pattern or a pw set.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] micmars:
What custom rom?

What means did you use to return to stock?

What security build, February or March?

By providing vagaries, your post is regressive.

The current version of TWRP paired with a custom kernel decrypts just fine, and backs up and restores with aplomb.

Sent from my Pixel 2 XL

#WhiteUIsMustDie, #EndDarkAppOppression
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] mac796:
RR I test for them and I was running flash kernel. I flashed March factory image. Not having a password doesn't really bother me the main reason why I went back was because I needed a backup of stock March. I haven't had any problems backing up or restoring with Twrp, and I never said I did. I had a pattern set and what would happen is it would almost decrypt at the very end it would throw an error. Once I flashed the stock image with the w it would then decrypt for me again

I was just confirming what the other Fella said a few posts above mine he had to reformat internal storage with TW RP before his would start working
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] micmars:
Thank you for providing details.

Did you try to go back into system on RR, remove your password, and then try to restore your stock backup?

[FWIW, backup and restore are critical functions of TWRP. You were vague on its dysfunction, thus I was specific on its general functionality.]

Sent from my Pixel 2 XL

#WhiteUIsMustDie, #EndDarkAppOppression
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] mac796:
I haven't flashed RR again but I tried Aquarios and it worked. I'm kind of thinking it's rr not Twrp. I also tried deleting this file locksettings.db from /data/system, when I went back to factory image. And I flashed the factory image to both slots without the W to begin with for some reason I couldn't get it to work until I wiped everything. Going to test another rr here in a bit I'll see if it does it again.

Oh I forgot before I wiped internal storage I did do a factory reset in twrp when I went back to stock and it still wouldn't work that's when I went ahead and wiped everything
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] micmars:
It may be in the stock kernel being in the mix, or (slight) your attempt to fix the issue by deleting the lock settings file.

With the old full-disk encryption on Angler and other devices, you entered your PIN/password before the device booted.

With file-based encryption, deleting that file won't help you, as your device is decrypted at the file level, with each file having its own decryption key.

This device has two encryptions, one, credential-encryption, residing on the internal storage and available after you've unlocked a device, and device-encryption, which is deployed during and after boot-up.

The latter makes this type of encryption Direct-Boot Aware (sounds like something out of Terminator, or just something filthy)

I believe each file on your internal has encryption based off both the filename and the PIN/password.

Irrespective, I'm also curious what would have happened if you'd restored system and data, and then installed a custom kernel like Flash, you could've avoided the full wipe.

Anyway, glad you're up-and-running.

Sent from my Pixel 2 XL

#WhiteUIsMustDie, #EndDarkAppOppression
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] mac796:
Irrespective, I'm also curious what would have happened if you'd restored system and data, and then installed a custom kernel like Flash, you could've avoided the full wipe.

Anyway, glad you're up-and-running.

Sent from my Pixel 2 XL

#WhiteUIsMustDie, #EndDarkAppOppression[/QUOTE]

When I went to stock I did Flash Nathan's kernel and magisk. Another strange thing after I got it working on stock and rooted. I rebooted my phone and I put in my pattern and it wouldn't accept it I tried it like 10 times and I had to reboot again and it finally accepted it. And this was after it had been working for a couple hours. So maybe it is something on my end. This was on my OS I mean that it wasn't accepting it

Hey if I can get it to do it again do you think a log would show anything worthwhile?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] micmars:
When I went to stock I did Flash Nathan's kernel and magisk. Another strange thing after I got it working on stock and rooted. I rebooted my phone and I put in my pattern and it wouldn't accept it I tried it like 10 times and I had to reboot again and it finally accepted it. And this was after it had been working for a couple hours. So maybe it is something on my end. This was on my OS I mean that it wasn't accepting it

Hey if I can get it to do it again do you think a log would show anything worthwhile?[/QUOTE]

I think so; pulling a TWRP log would definitely isolate it either way.

Sent from my Pixel 2 XL

#WhiteUIsMustDie, #EndDarkAppOppression
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] CrashTestDroid:
Those are the ones I tried to restore to both slots. Never did get it working, I had to flash-all.sh without wiping data, then installed AquariOS to get booted up. Not going to mess with stock for a very long time.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] mac796:
Were you restoring a custom ROM or stock. And what were you on when you restored. If I'm going back to stock I usually have to restore my stock backup before I can flash new stock firmware without the wipe.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Badger50:
Just my 2cents worth...I don't think it's a good idea to backup and especially restore the vendor.img. That caused problems on the 6p, and I think on the P2XL as well. Boot, system, and data are all I do. Haven't had any trouble to speak of with that method. Again, just my 2 pennies worth :good:
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] TheUndertaker21:
site is down?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Badger50:
Yes it is. It happens ;)
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Pkt_Lnt:
http://www.isitdownrightnow.com/
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] CrashTestDroid:
Thanks for the responses.

Some more info:

I was restoring the stock March rom, here are some things I tried:

Full restore of system, data, boot and vendor to A - result: won't boot

Same to B, same result

Factory flash to A&B, restored data to A & B - result: bootloops

Basically anything with restoring data ended in failure. The backups completed fine in TWRP so I'm not sure where the problem lies.

Anyway I deleted the TWRP backups after restoring everything to AquariOS with TiBu. Not going to mess around with TWRP backups again for a while. Let my experience be a reminder not to rely on one backup method with a finicky device like taimen. Haven't had this level of frustration since the Note 1 days.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] gazdajezda:
Same here. Sadly, TWRP restore on taimen in my case was also a failure.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] wgrant:
Got my Pixel 2 XL yesterday and am having some issues. Using the latest sdk tools and twrp files I cannot get my phone to boot to twrp so I can install it. When I attempt to do fastboot boot twrp.img (renamed mine to that for simpler typing) it fails every time. It looks like it is trying to download the boot.img for some reason. Error received is "downloading 'boot.img'... FAILED (remote: unknown command) finished. total time: 0.108s". I had a hell of a time getting my device unlocked also, had to send the commands like 8 times in a row each for it to do it then it never reported back OK at the end but when I run the commands again (also having to do them multiple times for a response) it says I'm already unlocked. I did both unlock and unlock_critical. Any and all help would be greatly appreciated. I hate stock and want to get this thing going!

This looks to be the same issue Exelios had but I don't see a resolution for it.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Badger50:
Could be a couple of things. First, what type of pc? Laptop, desktop, Windows, Mac? Second, what type of USB cable are you using? Is your twrp.img in your SDK/platform-tools folder?? Sounds like you may be having connectivity issues. The USB cable has been known to cause more than a few headaches with the P2XL ??

Also, is your path to the platform-tools folder accurate, and, are you flashing from internal hard drive, or external storage?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] wgrant:
Intel NUC running latest Windows 10. Platform tools are on the root of C in a folder called adb so the path is crazy simple. Adb commands work flawlessly to boot into bootloader and fastboot sees the phone properly, commands in fastboot just aren't playing nice. Twrp.img file is in the adb folder. I have 2 USB-A to USB-C cables. My computer doesn't have USB-C port so can't use the standard cable. Both of my cables get the same results. Everything is being performed on am internal drive. Same computer and cable used when I setup my Pixel XL.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] jlokos:
I had the same experience with restoring the data on any rom; my solution was a full wipe of the device by flashing the factory image without removing -w. This fixed the problem; I can now restore custom rom backups including data without issue.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] wtherrell:
I had to do the same thing.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] gforceriders:
Are you using this command: fastboot boot <path_to_twrp_image>
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] wgrant:
Yup, fastboot boot c:\adb\twrp.img is what I'm putting.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] gforceriders:
Just go into the platform tools folder and type CMD in the quick access bar on top and that will open a CMD window within that folder then try fastboot boot twrp.img
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] wgrant:
I've tried fastboot boot twrp.img too with the same results.

What cable is everyone using to connect to their computer for this? Adb and fastboot both see the device without any issues, just won't do the commands I send.

I would flash stock to be on a clean slate but that fails too. Starting to think it's cable related. I don't have USB-C on my computer unfortunately. Stupid that the phone doesn't come with a USB-C to USB-A cable or at least an adapter.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Badger50:
I use my old 6p cable. Works fine.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] gazdajezda:
Jlokos: which factory image you have flashed? And after that you can make a backup (nandroid) of your current rom, install something else (Lineage for instance) and when you get bored, you just do a restore of nandroid backup and have a working rom from state when you made a backup? Without problems like re-Installing TWRP, boot loop? If yes, this is IT then.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] wgrant:
Pretty sure that's one of the 2 cables I've tried. I'll have to look around my house to make sure I don't have another floating around somewhere.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Badger50:
Meh...not if your on a laptop it might not be. Those seem to like the 2.0 USB-A to USB-C cables.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] wgrant:
I'm on a PC. I'll hunt down another cable and see if that's it, the multiple partitions alone is a headache this is driving me crazy.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Badger50:
Then you should be ok. Yeah....the P2XL is definitely a different beast at first. Then it gets better when you figure everything out :good:
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] jlokos:
I transfer my files to my computer; I flash the latest March google image (without removing -w); this completely wipes your phone. Transfer my data back to phone. Fastboot twrp image; flash twrp zip; flash new rom and twrp, boot up; flash kernel and magisk and reboot. If I get bored of the rom; backup rom in twrp; wipe cache and data; flash new rom, etc. When I get bored of this rom; reboot to twrp back this rom up in twrp; wipe cache and data and restore old rom. No bootloops.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] cmo220:
My computer has six USB ports on the back. Two 3.1 and four 3.0. The 3.1 won't work on this phone, and only two of the 3.0 work. I was going crazy until I figured out some work, hours later. On the first Pixel XL only one of the ports worked. And that port doesn't work on this phone.

Long story short, make sure you try all USB ports, even if you have to unplug something else.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] wgrant:
I'll absolutely give this a shot and report back. Thank you.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] bd177:
Make sure you have the latest ADB and Fastboot files also.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] wgrant:
I do, downloaded them from Google Monday.