yashsingh1/xdaforums huggingface dataset:
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
No, this is not normal, but not unheard of either. Like I said, I had a heck of a time rooting 9.0 as well at the beginning. And then it just kinda worked outa the blue with no rhyme or reason.
[Google Pixel 2 XL Guides, News, & Discussion] last_nooby:
You'd try formatting every partition (system, Dalvik, etc..) except data.

It'd solve your problem
[Google Pixel 2 XL Guides, News, & Discussion] CyberpodS2:
For the record, though it might not be mentioned here on this device...

If you have been around a while you have probably seen this issue pop up in the past. At least in my personal experience.

Never ever let TWRP install itself when prompted at the reboot screen.

It almost never works it in your favor, and can even caused big problems. One scenario would be if something like magisk needs to be flashed last to be able to boot. By letting it do its own install it becomes the last thing flashed.
[Google Pixel 2 XL Guides, News, & Discussion] MartyMacGyver:
Yeah, I wasn't aware of it being such a big deal, but I rarely use it too... usually I just use the Magisk to update the boot image, then flash the patched image - I haven't actually used TWRP on this phone much at all. The problem here was, following these instructions I dutifully downloaded `/sdcard/MagiskManager/patched_boot.img` which was some old-ass image I'd patched three months ago. The actual new patched image was in `/sdcard/Download/patched_boot.img`.

Had the instructions here pointed me in the right place (or had that old file not existed) I wouldn't have had any trouble and I never would've used TWRP before rooting. That's why I hope these instructions here get updated.
[Google Pixel 2 XL Guides, News, & Discussion] veitograf:
hey guys, just got my pixel 2 xl today and tried to install twrp. unlocking was no problem but now i cant boot into recovery to intall twrp. here is what powershell shows me:

C:\platform-tools> fastboot boot twrp.zip

creating boot image...

creating boot image - 10850304 bytes

downloading 'boot.img'...

OKAY [ 0.231s]

booting...

OKAY [ 0.000s]

finished. total time: 0.231s

the phone shows me the screen with the long unlocked bootloader text and after that shows the google logo on white backround for a split second before going back into fastboot mode.

tried different usb ports and the two latest versions of twrp. any advice?
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
You can't use the twrp zip file, you need the image file. The command should be...fastboot boot twrp-3.2.3-1-taimen-img

The zip file is what you flash once in twrp in order to make twrp your stock recovery :good:
[Google Pixel 2 XL Guides, News, & Discussion] veitograf:
oh man i feel stupid now. thanks!
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
Meh...don't feel bad bruh. I've jacked up my fair share or stuff on these things as well! :cool:
[Google Pixel 2 XL Guides, News, & Discussion] CPngN:
Switch sides (fastboot set_active a) (or b if you're on a) and repeat everything again when upgrading to pie. Somehow somewhere, something can poke about and see what's on the alternate boot side, and chaos ensues. Getting Pie on both A and B sides seems to be important.
[Google Pixel 2 XL Guides, News, & Discussion] mrlad:
I'm trying to upgrade from Oreo (rooted with Magisk 16.0) to Pie. The factory image installed fine but when I try to install Magisk 17.1 with TWRP it complains that the ZIP signature verification failed. I'm downloading 17.1 from the official Magisk thread. Any ideas how to work around this issue?

Edit: I'm on TWRP 3.2.31. I've got passwords disabled.

I had passwords & security disabled. Enabled the system password just in case encryption would make a difference but the ZIP file signature fails the same.
[Google Pixel 2 XL Guides, News, & Discussion] last_nooby:
I had same problem first time then I installed it without ZIP signature verification and it worked.
[Google Pixel 2 XL Guides, News, & Discussion] mrlad:
Is this a known problem with Magisk 17.1 or is this a TWRP issue? Are others having this problem? I searched and I don't see any other reports like this.

Just want to ensure that the Magisk 17.1 zip hasn't been tampered with.
[Google Pixel 2 XL Guides, News, & Discussion] last_nooby:
Honestly I have no idea why it happens, just I tried in that way and it worked!
[Google Pixel 2 XL Guides, News, & Discussion] post-mortem:
The latest Magisk is 17.3. Why not use that one?

Personally, I've never had that error.
[Google Pixel 2 XL Guides, News, & Discussion] mrlad:
17.3 is still beta while 17.1 is labeled stable. Is 17.3 stable?
[Google Pixel 2 XL Guides, News, & Discussion] post-mortem:
I have a Pixel (sailfish) with TWRP version 3.2.3-1 and Magisk 17.3 with no problems.
[Google Pixel 2 XL Guides, News, & Discussion] mrlad:
on the Magisk general support thread they said this is expected as TWRP doesn't know about the key used to sign the zip. Disabling verification was the correct step.
[Google Pixel 2 XL Guides, News, & Discussion] omnikohh:
TWRP ask for password to decrypt data, but is not my password
[Google Pixel 2 XL Guides, News, & Discussion] last_nooby:
It's a known bug regards v.17.1

Remove every screen lock before flash and use TWRP or use latest TWRP image
[Google Pixel 2 XL Guides, News, & Discussion] Nikos2k:
Which twrp version do you use?
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
Likely the 3.2.3-1 version found here :good:

https://dl.twrp.me/taimen/
[Google Pixel 2 XL Guides, News, & Discussion] Gregzi:
Short Question: I need temp root just to change some xml files...

The procedure should be:

- adb reboot bootloader

- fastboot flashing unlock

- fastboot flashing unlock_ctitical (is this necessary for temp root?)

- fastboot boot "path to twrp image"

When done tinkering with the files, reboot from twrp on phone to bootloader again

- fastboot flashing lock

Reboot the device.....
[Google Pixel 2 XL Guides, News, & Discussion] post-mortem:
To unlock the bootloader, follow the instructions at the top of the page here.

You can root, make changes, then unroot, but why relock the bootloader? It's dangerous, and can lock up your device.
[Google Pixel 2 XL Guides, News, & Discussion] Gregzi:
I don't want to root, I just want a temp access to system partitions.

Maybe it would be a good idea to first remove all pin / FP....
[Google Pixel 2 XL Guides, News, & Discussion] post-mortem:
TWRP version 3.2.3-1 is able to decrypt successfully, so you don't need to remove password/PIN.

If you want access to system partitions, you need to root. If you change anything, relocking the bootloader may brick your phone.
[Google Pixel 2 XL Guides, News, & Discussion] CyberpodS2:
For what it's worth, probably 99% of the release versions have been listed as beta... Don't sweat that in itself!!
[Google Pixel 2 XL Guides, News, & Discussion] raghus.id:
fastboot flashing unlock_critical is still required if we are on pie to unlock bootloader?
[Google Pixel 2 XL Guides, News, & Discussion] post-mortem:
See here, at the top section of the page:

https://developers.google.com/android/images
[Google Pixel 2 XL Guides, News, & Discussion] Toonlinkmaster25:
Hey so I had updates disabled on my phone and was going to get around to updating from oreo to pie eventually but my phone suddenly decided it needed to update itself overnight. My phone still works without crashes for now but I don't have root. Any way for me to get root back with magisk without losing data? I'm on the August build now.
[Google Pixel 2 XL Guides, News, & Discussion] last_nooby:
Backup using TWRP??
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
Fastbooting into twrp, and then rooting with magisk will not wipe your data :good:
[Google Pixel 2 XL Guides, News, & Discussion] post-mortem:
It should be as easy as booting into TWRP and flashing Magisk.

Are you using a Pixel 2 XL, or a Nexus 6P?
[Google Pixel 2 XL Guides, News, & Discussion] Toonlinkmaster25:
I have my phone encrypted for work. Would I need to clear credentials before flashing magisk? Sorry I just didn't update my signature. I'm on the pixel 2xl
[Google Pixel 2 XL Guides, News, & Discussion] post-mortem:
I think all Pixels are encrypted. The only security I added to my phone is a screen lock and fingerprint. When I go to Settings -> Security & location -> Advanced -> Encryption & credentials, it says the phone is Encrypted. Simply flashing Magisk worked fine for me. If you have some encryption beyond that, then I can't be sure what would happen.
[Google Pixel 2 XL Guides, News, & Discussion] simplepinoi177:
Wait...I'm confused...! You had root...before the update??? Even if you disabled updates, anyone correct me if I'm wrong, but isn't it by design that having root disables auto-updating and updating via the stock system updater??? (I recall something somewhere about not needing to do something as long as you hadn't made changes to partitions like installing a custom recovery...) I remember writing a guide and seeing other threads writing out how to update a rooted device without installing TWRP specifically because it wasn't as easy as auto-updating...supposedly...? Maybe things have changed in the last couple of months and/or I'm totally under the wrong impression....
[Google Pixel 2 XL Guides, News, & Discussion] Toonlinkmaster25:
I was under that impression too. Maybe encrypting my phone for work changed that. Either way I was able to fastboot into twrp and flash magisk. I have root again.
[Google Pixel 2 XL Guides, News, & Discussion] simplepinoi177:
HAHA thanks for the update and replying...I'm at least glad to know I'm not the only one under that impression...Thanks again!
[Google Pixel 2 XL Guides, News, & Discussion] Towmastersteve:
hello all google pixel 2 xl here did the December ota through sideload and then went and flashed magisk v18.0 via twrp and got bootlooped easy fix just reflashed December ota and fixed but same thing again after i tried rooting with magisk again so just flashed ota so was wondering if December ota broke magisk and we just need to wait on a fix or if its something else i remember reading about some folders that were being left behind in the early days of rooting the pixel 2 xl that after you updated you needed to delete before you could flash magisk again can't seem to find that thread now but I also thought they fixed that and I have done this with other ota updates since August when I first got the pixel and rooted it never had any trouble with sideloading the OTA's and then reflashing with magisk

thanks and please forgive me never needed to ask before always was able to figure it out on my own but then again never had anything this new

pixel 2 xl unlocked with bootloader critical unlocked and December ota now

---------- Post added at 09:07 AM ---------- Previous post was at 09:07 AM ----------

hello all google pixel 2 xl here did the December ota through sideload and then went and flashed magisk v18.0 via twrp and got bootlooped easy fix just reflashed December ota and fixed but same thing again after i tried rooting with magisk again so just flashed ota so was wondering if December ota broke magisk and we just need to wait on a fix or if its something else i remember reading about some folders that were being left behind in the early days of rooting the pixel 2 xl that after you updated you needed to delete before you could flash magisk again can't seem to find that thread now but I also thought they fixed that and I have done this with other ota updates since August when I first got the pixel and rooted it never had any trouble with sideloading the OTA's and then reflashing with magisk

thanks and please forgive me never needed to ask before always was able to figure it out on my own but then again never had anything this new

pixel 2 xl unlocked with bootloader critical unlocked and December ota now
[Google Pixel 2 XL Guides, News, & Discussion] clothednblack:
I used twrp to flash the ota followed by twrp.zip, booted up, let the update finish before going back to twrp to flash magisk 18. Magisk isn't broken and works with Dec just fine, but you have to boot to OS before flashing magisk after an OTA.

I always remove all themes and security before flashing the OTA, all goes well from that point.
[Google Pixel 2 XL Guides, News, & Discussion] Tnbh9:
Can Somebody Help i have pixel 2 xl taimen running android p i want to unlock oem but its greyed out how do I unlock it please help
[Google Pixel 2 XL Guides, News, & Discussion] clothednblack:
Sounds like you have the Verizon version, if that's the case, it's not possible.
[Google Pixel 2 XL Guides, News, & Discussion] rickzyss:
I had the exact same issue. Even after wiping everything and flashing the December factory image, I was still stuck on the bootscreen after flashing Magisk (I tried this with both 17.3 and 18.0). I wound up going back to the November image, and everything worked fine.

I just got Magisk working on the December image,this is what I did: From the November image I installed the latest TWRP zip and flashed the LATEST Magisk uninstaller, I think this is key, I was using an older version. Then I wiped everything from TWRP. Turned off the phone. Booted into Fastboot and flashed the December factory image, everything booted fine. I then flashed the TWRP zip and rebooted. Then booted into TWRP and flashed Magisk 18.0. All is well.

You may want to just try running the latest Magisk uninstaller first, and see if that does the trick
[Google Pixel 2 XL Guides, News, & Discussion] Software Guru:
Thanks for the guide, just got myself a Pixel 2 XL
[Google Pixel 2 XL Guides, News, & Discussion] Parom2018:
Please help save my Pixel 2 XL. :crying:

The device is constantly rebooting:

It turns on - information about the locked bootloader appears - then the Google logo on a white background, and after 10–15 a reboot.

I tried to flash TWRP through adb, the command line writes ok, the device reboots, but it does not get into the TWRP firmware - it goes into reboot again.

I tried to flash the firmware (flash-all), the process in the command line reaches the end, there are no errors, but again it goes into reboot.

What to do? Help to resurrect.
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
Hard you tried: Different USB cables?

Tried downloading the factory image again?

Is your SDK platform-tools up to date?

Is your command for twrp while in bootloader mode: fastboot boot twrp-3.2.3-1-taimen.img

Have you tried a factory reset?

If none of this works, you may need to RMA :eek:
[Google Pixel 2 XL Guides, News, & Discussion] Parom2018:
I tried everything except the "factory reset", because the phone does not enter the stock recovery and does not load into the system. Logo(Google) - reboot - Logo(Google) - reboot...

This is the end?
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
Sure sounds like it for whatever reason. It even bootloops when trying to enter stock recovery?? :eek:
[Google Pixel 2 XL Guides, News, & Discussion] Parom2018:
Yes exactly! When I try to enter the stock recovery, I get bootloops. I can only get into fastboot.
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
And all your necessary files are in your platform-tools folder I take it? Have you tried extracting the boot.img from the secondary zip within the factory image zip, and then try fastbooting the boot.img with...fastboot flash boot boot.img --slot=all

That'll flash the stock recovery to both slots, then maybe try to enter stock recovery.
[Google Pixel 2 XL Guides, News, & Discussion] Parom2018:
C:\Windows\system32>CD c:\platform-tools\

c:\platform-tools>fastboot flash boot boot.img --slot=all

Sending 'boot_a' (40960 KB) OKAY [ 0.934s]

Writing 'boot_a' OKAY [ 0.388s]

Sending 'boot_b' (40960 KB) OKAY [ 0.916s]

Writing 'boot_b' OKAY [ 0.374s]

Finished. Total time: 2.640s

c:\platform-tools>

Yes, all the necessary firmware files in the folder with adb.

No result. Does not load recovery, google logo on a white background for 5-10 sec. and reboot.
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
Damn! Have you tried entering recovery with the phone off using the power buttons?
[Google Pixel 2 XL Guides, News, & Discussion] Parom2018:
Of course! I have experience in flashing android phones. In fastboot, I select "recovery mode" - the phone restarts - the information "bootloader is open" - then the Google logo (4-6 seconds) - the black screen and reboot - everything first.
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
Then it sounds like your phone is borked my friend, and an RMA is in order. Anything you can think of that may have caused it, or did it just come out of the blue?
[Google Pixel 2 XL Guides, News, & Discussion] post-mortem:
Please include results of the following 2 commands:

fasboot --version

adb version

People often have multiple versions, and their PATH statement is out of order.
[Google Pixel 2 XL Guides, News, & Discussion] Parom2018:
c:\platform-tools>fastboot --version

fastboot version 28.0.1-4986621

Installed as c:\platform-tools\fastboot.exe

c:\platform-tools>adb version

Android Debug Bridge version 1.0.40

Version 4986621

Installed as c:\platform-tools\adb.exe

---------- Post added at 08:05 PM ---------- Previous post was at 07:55 PM ----------

It happened suddenly, I saw it when the phone was on standby on the couch.:(
[Google Pixel 2 XL Guides, News, & Discussion] MrWhite0429:
I would try just starting from scratch. Nuke the phone, restore with a factory image, clear all cache, and uninstall and re download adb. Something got out of order somewhere.
[Google Pixel 2 XL Guides, News, & Discussion] simplepinoi177:
make sure you are

not

"fastboot flash boot TWRP.img"-ing the TWRP image; but even if you were doing this mistake, running the flash-all command should've reset the boot partition resolving this mistake, if made I imagine. The developers of TWRP made a tweet irritated at all us 'taimen' users making this mistake and wrecking things and going to them complaining :p . If it's not known by any who are reading this, TWRP is meant to only be installed via the installation .zip and not flashed through fastboot/bootloader -- the image (.img file) is the only thing meant to be "fastboot boot"-ed (not flashed), and temporarily at that.

After considering all this and making sure you're not making this mistake, just reconfirming that you have tried downloading the exact "twrp-3.2.3-1-taimen.img" file, putting it in the platform-tools folder (with the adb.exe and fastboot.exe files are), and running the exact command

fastboot boot "C:\platform-tools\twrp-3.2.3-1-taimen.img"

Supposedly, no matter how "forked" up the phone and recovery partition might be, you should still be able to at least temporarily boot into an image successfully...

I'm confident you should at least be able to run the TWRP environment, but if for whatever messed up reason it doesn't work, I suggest you also try Deuce's script (can be found HERE) where it will manually flash all .img files to partitions on both slots. As you're able to get into the bootloader and even successfully run the flash-all.bat, this script should be able to run properly. Some notes: I saw that you were able to extract the stock boot.img earlier, but just to re-iterate, be sure to extract ALL 7+ images (can't recall the exact number off the top of my head) from the Full Factory image (extracting the .zip file within the .zip file) taken from Google's website and moving all of those files to the platform-tools folder.

I'd bet one of these things should work or be a key to getting things up and running, so good luck to you and I hope this helps...
[Google Pixel 2 XL Guides, News, & Discussion] Parom2018:
I turn to the topic of your link to further understand what is wrong with my phone:confused:.

Thank you all for your help!

(... flashing the script, but still rebooting, but there are 4 errors in the command line field)

I would be glad if you want to participate:D.
[Google Pixel 2 XL Guides, News, & Discussion] stinger4321:
my pixel 2 xl won't charge after rooting when phone is powered off and I plug the charger in.. when I plug the phone in while it's off it boots up showing bootloader is unlocked warning then goes to the battery meter. the meter sticks on full and screen will not turn off. phone is frozen on that screen and I need to hold power for 30 seconds to get it to reboot. rooted through twrp using magisk 18.0 stable. Twrp is not currently installed I did the temp boot into twrp then flashed factory boot image then flashed magisk 18 zip. the phone will charge if I have the phone powered on. ideas?

like to add

I flash-all December factory image wiped all data then rooted.
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
It's a known issue for the P2XL. Only solution I've seen is to charge it with the phone on.
[Google Pixel 2 XL Guides, News, & Discussion] stinger4321:
thanks
[Google Pixel 2 XL Guides, News, & Discussion] simplepinoi177:
I read the log on the other thread, I don't have those apdp images either, so your phone should be "...running like a bat out of hell" at this point... very peculiar...

last idea, maybe you should run the fastboot commands that format and wipe the partitions and then run the flash-all.bat. Maybe it has something to do with a Russian "component" or angle, though I have no clue how that would be......
[Google Pixel 2 XL Guides, News, & Discussion] goddammit:
So I've been trying to update my Pixel to the latest stock image just like a dozen times before. Every ****ing time there's something, not even once it went smoothly...

These are the steps I'm taking:

1. Connect the phone to the USB. Run "adb devices", output:

List of devices attached

711KPGS0651983	device

2. Run "adb reboot bootloader". So far so good - reboots into bootloader.

3. Run "fastboot devices". Nothing.

Any idea what the problem is this time? Why can adb see the device and fastboot can't? I'm using the latest platform tools.
[Google Pixel 2 XL Guides, News, & Discussion] clothednblack:
Because these phones (pixel) have a mind of their own. But, there is a easier way to update if you want to try it.

I download the ota to my phone

Remove current substratum theme

Boot to twrp

Flash magisk uninstall zip (if rooted)

Flash ota and twrp zip in one go

Reboot and let it finish setting up

Boot back to twrp

Flash magisk (if desired).

This has worked every month since twrp became stable.

As for your exact issue, maybe try another cable or USB input. Try this too "fastboot oem device-info" see if anything pops up.
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
What the man "Clothedinblack" said :good::good:
[Google Pixel 2 XL Guides, News, & Discussion] goddammit:
Thanks for nudging me to the right direction. I just realized I tried to do this the first time on my new PC (motherboard Asus ROG Maximus XI Extreme) where most of USBs are 3.1 Gen2/Gen1, there isn't even a single USB 2.0 like on my old PC.

I will only say this... What the actual ****? I tried like 3-4 different ports and eventually it worked. Is Pixel that much picky about what USB port it is plugged in? I tried to plug it into USB 3.1 Gen 2 Type-C port with Google's original cable and it didn't even recognize it at all, not even charging.
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
Oh dude! Last year when the P2XL came out, the type of cable and port you used were paramount to success. I've even had instances where a USB cable I used one day, didn't work the next day. That's why I have at least 6 USB A to USB C type cables lying around just in case. Glad you got it working though :good::good:
[Google Pixel 2 XL Guides, News, & Discussion] clothednblack:
You answered your own question lol.

My laptop has the Usb-c so I use that and it's great, regular USB doesn't work... Very strange.

Glad you are up and running! ?
[Google Pixel 2 XL Guides, News, & Discussion] post-mortem:
FWIW, the different USB ports [2.0, 3.0, 3.1] have different controller chips. That's why if you're copying files between 2 USB 2.0 devices, it will be faster if one of them is in a 2.0 port, and the other is in a 3.0 port.
[Google Pixel 2 XL Guides, News, & Discussion] dami00976:
How do I return to stock and locked bootloader ?