yashsingh1/xdaforums huggingface dataset:
[Google Pixel XL Guides, News, & Discussion] b4u2:
My device and pc had a lot of issues. That time included all the reading and downloading I had to do. The times the phone would just freeze up and not reboot. The times the image would not stick and bootloop or freeze. At one point I thought the device was dead because it took so long to force a boot. It was time consuming for the overall process. Once it FINALLY worked it took about 30 minutes.

Edit: Something keeps turning the screen on. How would I monitor to try and figure out what is randomly turning it on? I mainly notice it at night when I am trying to sleep. There is not a notification or anything displayed on the screen it just turns on then eventually turns off.
[Google Pixel XL Guides, News, & Discussion] Wootrefresh:
I'm using a Windows XP (unfortunately only resort at the moment) to root my pixel XL. I've been able to get steps 1-3 but am stuck on step 4, installing the factory image. I get the following errors after 'flash-all'

I placed the bootloader.img, flash-all.bat, image-marlin.zip and radio.img in the fastboot/platform tools folder. Note that the adb.exe and fastboot from the latest platform tools did not work on Windows XP and I replaced both adb and fastboot with the ones from platform tools v23.1 and left everything else as is. I was able to perform steps 1-3 properly, but not sure if the issue for step 4 is because the platform tools isn't the latest or something else. Or is my only option to root with a computer that has a newer OS.
[Google Pixel XL Guides, News, & Discussion] Wootrefresh:
I used this fix to make adb/platform tools to work on XP, subbing the latest adb.exe and fastboot.exe with an earlier version because the later adb won't work on XP. The fastboot is in the platform tools folder along with flash-all, image-marlin.zip, bootloader.img and radio.img.

C:\Documents and Settings\Administrator>adb version

Android Debug Bridge version 1.0.32

Revision 09a0d98bebce-android

C:\Documents and Settings\Administrator>flash-all

error: cannot load 'bootloader-marlin-8996-012001-1711291800.img'

rebooting into bootloader...

OKAY [ 0.000s]

finished. total time: 0.000s

error: cannot load 'radio-marlin-8996-130091-1710201747.img'

rebooting into bootloader...

OKAY [ 0.016s]

finished. total time: 0.016s

W/ ( 3556): Unable to open 'image-marlin-opm1.171019.021.zip': No such fi

le or directory

error: failed to open zip file 'image-marlin-opm1.171019.021.zip': I/O Error

Press any key to exit...
[Google Pixel XL Guides, News, & Discussion] Wootrefresh:
The platform tools folder is C:\Android. I used the dottech guide to set up adb and fastboot on Windows XP (can't link the guide directly due to new xda user restrictions).

For the time being, it appears that I've unlocked the bootloader. Until I can get in contact with a computer with a better OS and install the factory image and the rest of the rooting, am I still able to set up and use the stock OS on my pixel? Or did unlocking the bootloader wipe all data and I have to finish installing the factory image before I can continue?
[Google Pixel XL Guides, News, & Discussion] Wootrefresh:
I added ;C:\Android to the path under system variable according the dottech guide and the Lifehacker guide afaik. I tested adb version and fastboot devices and both worked. I was under the assumption that step 3, unlocking the bootloader, was also successful. I see the lock unlocked after a reboot and the warning message, so I continued to step 4.
[Google Pixel XL Guides, News, & Discussion] Wootrefresh:
So I can safely assume steps 1-3 were done correctly and that there is an issue with installing the factory image on XP? I think you suggest that the memory on XP might be the issue; I might have to play around with that when I get a chance since the computer is a bit low on space.
[Google Pixel XL Guides, News, & Discussion] Scottay5150:
Here is my detailed reply.

I have a Pixel XL. Upon installation of RR (3.12.18) Magisk 16.1, ElementalEX 3.03, TWRP 3.2.0-0 the popup window upon booting into system gave me the error vendor mismatch. I attempted to reinstall vendor. No difference. Otherwise, no issues with GAPPS FC’ing.

Without installing any other apps once I set the pin that is when the extreme lag began on the unlocking part of the UI experience. To be frank I had installed so many times I am willing to live with it. I began installing the other apps to get the phone back to functioning for me. I need it for work. Sometimes the System UI will pop up with a close System UI, so I close it and continue using it. There is no visual difference from no apps installed to now, all apps installed.

The longer the phone is not used the harder it is to wake up from a black screen with the power button, fingerprint, and double tap. Occasionally rebooting is required.

I am the only one having these issues.

I have attached a pastebin for your convenience.
[Google Pixel XL Guides, News, & Discussion] joe_pacino:
It's kernel related
[Google Pixel XL Guides, News, & Discussion] roman.ramirez.12:
Wrong thread and if it's a Resurrection Remix rom it's not kernel related.
[Google Pixel XL Guides, News, & Discussion] roman.ramirez.12:
I wanted to see if maybe I can help with a little bit of info. First I am in no way a guru like some of these guys. I have though been flashing ROMs and rooting my phone since before Droid Turbo.

Whenever I want to install TWRP I flash it through fastboot first then install the zip in the phone or USB. That being said I go to my fastboot folder hold down the shift hit the clicker open the command prompt and start the fastboot boot twrp2.xxxx.

I don't know it might be I have a different operating system than others whenever I go to flash a factory image I just download the factory image extracted to my desktop put my phone into bootloader mode and plug it to the computer. Then I'll open up the folder that I extracted to the desktop open it up and inside there you will see the flash all bat file. Now when my phone is plugged in and in bootloader mode I double-click the flash all bat file. And that installs it every time.
[Google Pixel XL Guides, News, & Discussion] hdoraemonk:
I had unroot by uninstall complete Magisk, kernel still is ElementalX.

I want to update OTA but System update is Downloading.... very long....

So, how to update OTA for April Security without loss app and data? Thankss
[Google Pixel XL Guides, News, & Discussion] Scottay5150:
Why doesn't- w work for me?
[Google Pixel XL Guides, News, & Discussion] xdamember143:
Noob question but I'm planning to get a unlocked pixel xl but its a Verizon model and dont know if the bootloader can be unlocked. Help?
[Google Pixel XL Guides, News, & Discussion] unhappybirthday:
Elemental (and several other) custom kernels must be flashed before magisk.
[Google Pixel XL Guides, News, & Discussion] wethead4:
I was hoping to get some help as I'm not sure I was able to get this to work. My only end goal is to be able to install TetherMod - Bypass provisioning checks so I can tether with verizon grandfathered UDP, and as a secondary, still be able to take OTA if possible. don't care about new kernels etc..

In order to unlock i followed steps above:

1)unlocked bootloader

2)was already on 8.1, I did not install factory image (do I need to do this?)

3)Rooted with Magisk (Installed TWRP)

I didn't go any further, but then when I flashed the tether mod it did not work. Rootcheck showed that I am rooted and unlocked. Anyone help with what I missed?
[Google Pixel XL Guides, News, & Discussion] wethead4:
Thank you. Found a magisk module that worked.

Based on the steps I followed, can I take over the air updates? Is it really necessary to flash factory image after unlocking?
[Google Pixel XL Guides, News, & Discussion] sweetbam:
Hey guys, It looks like the TWRP page for google pixel is down, does anyone have a link were i can download the two TWRP files needed to root? thanks
[Google Pixel XL Guides, News, & Discussion] wethead4:
Thanks all making sense now.. if I'm on the latest factory image through the last OTA,. Just to confirm, there is no need to flash the latest image since it is effectively the same thing no?
[Google Pixel XL Guides, News, & Discussion] traboll:
I just bought the pixel xl 128gb international version. I updated to it to the April security patch. I can't unlock my bootloader, oem unlock tab is greyed out in the developer settings.

BUILD NUMBER: OPM2.171019.029

Fyi the phone is new. Any help will be very much appreciated.
[Google Pixel XL Guides, News, & Discussion] unhappybirthday:
This generally indicates a Verizon model. In tiny lettering on the back is the model number. If it begins with G-2PW2200, it is international. If instead it begins G-2PW2100, then you may not have gotten what you thought you did.
[Google Pixel XL Guides, News, & Discussion] traboll:
Its G-2PW2100. I guess I will RMA asap. I wonder why they would be selling this model in Europe. Thank you very much.
[Google Pixel XL Guides, News, & Discussion] srqrob:
My Pixel XL purchased by me from Google Store unlocked perfectly and has been flawless since I got it. Its model number G-2PW2100. It is not Verizon. You may have other issues.
[Google Pixel XL Guides, News, & Discussion] unhappybirthday:
The 2100 model encompasses all U.S. variants including Verizon and non-Verizon models. I haven't found a way to tell them apart beyond a grayed out bootloader unlock option. I'd be happy for the person asking if anyone could suggest another reason it could be grayed out. We also don't know if they bought it from Google or a 3rd party.
[Google Pixel XL Guides, News, & Discussion] domyao:
Where are the files for Pixel? not Pixel XL?

I have the pixel, not XL, I clicked the link for files but it directs me to ebay...
[Google Pixel XL Guides, News, & Discussion] lafester:
Thanks for the guide, always helpful when switching to a new device. And it is up to date which is nice.
[Google Pixel XL Guides, News, & Discussion] k3rt33:
Thank you so much for putting this together! Works perfectly.
[Google Pixel XL Guides, News, & Discussion] bschatzow:
May update worked with no problems. Twrp and Magisk both still working.
[Google Pixel XL Guides, News, & Discussion] yearn2burn:
I just started the May update and immediately bricked. edited the flash-all bat to remove -w, ran it with phone connected and booted to bootloader, phone shut down, soft bricked. Can get to bootloader, but if allowed to initial Google splash screen with the unlock icon, it just shuts down. Only other details are I was rooted with Magisk still on March build. I had TWRP installed, but couldn't use it as it didn't recognize my pattern. I tried to re-flash and noticed failure at the following step:

sending sparse 'system_b' 2/4 (524284 KB)...

FAILED (data write failure (Unknown error))

finished. total time: 31.655s

Press any key to exit...

Here's the whole log:

target reported max download size of 536870912 bytes

sending 'bootloader_b' (32248 KB)...

OKAY [ 0.835s]

writing 'bootloader_b'...

(bootloader) Valid bootloader version.

(bootloader) Flashing active slot "_b"

(bootloader) Flashing active slot "_b"

OKAY [ 4.278s]

finished. total time: 5.116s

rebooting into bootloader...

OKAY [ 0.054s]

finished. total time: 0.058s

target reported max download size of 536870912 bytes

sending 'radio_b' (57320 KB)...

OKAY [ 1.445s]

writing 'radio_b'...

OKAY [ 0.497s]

finished. total time: 1.948s

rebooting into bootloader...

OKAY [ 0.050s]

finished. total time: 0.053s

extracting android-info.txt (0 MB) to RAM...

extracting boot.img (29 MB) to disk... took 0.184s

target reported max download size of 536870912 bytes

archive does not contain 'boot.sig'

archive does not contain 'boot_other.img'

archive does not contain 'dtbo.img'

archive does not contain 'dt.img'

archive does not contain 'recovery.img'

extracting system.img (1762 MB) to disk... took 9.550s

archive does not contain 'system.sig'

extracting system_other.img (551 MB) to disk... took 3.545s

archive does not contain 'system.sig'

archive does not contain 'vbmeta.img'

extracting vendor.img (251 MB) to disk... took 1.506s

archive does not contain 'vendor.sig'

archive does not contain 'vendor_other.img'

--------------------------------------------

Bootloader Version...: 8996-012001-1711291800

Baseband Version.....: 8996-130091-1802061512

Serial Number........: HT72A0205477

--------------------------------------------

checking product...

OKAY [ 0.045s]

checking version-bootloader...

OKAY [ 0.055s]

checking version-baseband...

OKAY [ 0.046s]

sending 'boot_b' (30177 KB)...

OKAY [ 0.758s]

writing 'boot_b'...

OKAY [ 0.297s]

erasing 'system_b'...

OKAY [ 0.342s]

sending sparse 'system_b' 1/4 (524284 KB)...

OKAY [ 13.067s]

writing 'system_b' 1/4...

OKAY [ 3.533s]

sending sparse 'system_b' 2/4 (524284 KB)...

FAILED (data write failure (Unknown error))

finished. total time: 31.655s

Press any key to exit...
[Google Pixel XL Guides, News, & Discussion] yearn2burn:
I can't flash the May build, but can flash either March or April builds. I tried going from April to May and still get failure at the same step. BTW, also tried flashing to slot A rather than B, same thing. Any thoughts appreciated. At least I have a phone for now.
[Google Pixel XL Guides, News, & Discussion] yearn2burn:
Pixel XL, original. After the first failure I updated platform tools to the latest version, API 27. Before updating, not sure. Original install was 12/23/2017. Do you need to uninstall Magisk before applying the security patch? Normally I do, but this time did not.
[Google Pixel XL Guides, News, & Discussion] pizza_pablo:
Is it possible to downgrade firmware, say from 8.1 to NJH47F firmware, without wiping data?

Yes, I searched here be the Google.
[Google Pixel XL Guides, News, & Discussion] yearn2burn:
Wow, used my desktop which is much older than my Dell XPS 15 with it's USB-c port, but baby, it worked! I had checked the sha-256 of the update on the Dell and it was fine. Hmm
[Google Pixel XL Guides, News, & Discussion] hdoraemonk:
I loss all data include internal storage after flash all with -w.

I think it expect internal storage?
[Google Pixel XL Guides, News, & Discussion] hdoraemonk:
Ahh, sorry for language.

When i flash rom with wipe data. I think it just delete app and system data, not included data in internal (like sdcard).
[Google Pixel XL Guides, News, & Discussion] brightjh01:
-w wipe out everything

fastboot flash without the -w would not have wide intermal storage
[Google Pixel XL Guides, News, & Discussion] Bramton1:
What are the pros and cons of not installing TWRP?
[Google Pixel XL Guides, News, & Discussion] Bramton1:
Is either method considered more stable than the other?
[Google Pixel XL Guides, News, & Discussion] Phalanx7621:
TWRP is just a custom recovery to flash image files, zip files , etc. You don't need it, but you'll have to use it if you want to, well, flash any custom ROM. Also you don't need to install it you can boot to it via fastboot without flashing it permanently.
[Google Pixel XL Guides, News, & Discussion] ChevyNexus:
boy rooting really has become quite complicated. steps 4,5 and 6 confuse the hell out of me and I've been rooting and tinkering since the OG Droid lol.
[Google Pixel XL Guides, News, & Discussion] ChevyNexus:
Sorry I meant the whole of number 4,5,6 and 7 now. Like I don't mind wiping my phone, I just did that when I unlocked my bootloader, but adding a "w" and all that confuses me. Also how can I add a pin if I'm flashing something that clears all data?
[Google Pixel XL Guides, News, & Discussion] ChevyNexus:
Sometimes I just get in my own head. After rereading it a few times I understood and am now Rooted with twrp installed. Thank you for the guide and your willingness to help people, you're a part of the thing that makes this website so great!!
[Google Pixel XL Guides, News, & Discussion] Bramton1:
So if I understand correctly, if I flash a security update, I need to run Step 7 again (I currently have TWRP as my recovery) to reroot? Will I need to re-approve all my app superuser permissions?
[Google Pixel XL Guides, News, & Discussion] copticwalad:
Not for soapbox, my bad. I can pm it if you'd like and remove the post. Just wanted to make sure you saw it and figure if anyone saw any mistakes I made or had better suggestions on things they could gave their input. Not a problem, just let me know if you want that, I understand. I genuinely just want to improve it so more pixel users can partake in taking control of their phone. It's a growing trend it seems that people find it too difficult and just stick with stock for easy updates. Not a problem as long as the community still exists..

@Homeboy76 Saw OP changes, looks great actually. Much better and clears up any confusions now. Thanks Homeboy.
[Google Pixel XL Guides, News, & Discussion] pizza_pablo:
I am glad for any help / revised verbiage!

I have read all of the how to threads, but have had 6 failed attempts at rooting this stinking, dual slot Pixel beast.

Fortunately, it's not my only phone, but I have nearly given up and thought about selling it, twice, but I'm going to keep at it. I just hope I can recall what I did, if I ever succeed in ROMing and rooting this thing.

At least for my failed attempt, last night, I realized what I had forgotten, upon writing down my steps taken.

The thing I can't figure is why it gets stuck on the RR ROM splash screen, after restoring a Nandroid.

I think it's a good Nandroid, but who knows, at this point.
[Google Pixel XL Guides, News, & Discussion] OKAstro:
Had been running stock rooted until giving Pixel Dust Oreo a try.

If I wanted to go back to stock rooted without having to wipe data, can I follow Step 7?

Just want to avoid losing my data when returning to stock

Thanks
[Google Pixel XL Guides, News, & Discussion] JU57US:
I suggest adding in the Magisk OTA update instructions, i.e. restore images, OTA through step 1, install Magisk to the other slot, then reboot.

Although I just attempted it for the June update and the update failed, leaving me back on the first slot without Magisk until I manually flash twrp and Magisk again.
[Google Pixel XL Guides, News, & Discussion] andrew2432:
With bootloader unlocked can I take the otas? No right? So I need to install them with the steps listed correct?? Flash all with -w removed and everything should be fine just updated yes?! Thanks guys!
[Google Pixel XL Guides, News, & Discussion] lafester:
Unlocked is fine. Root or twrp is not.
[Google Pixel XL Guides, News, & Discussion] lafester:
You can also flash ota in twrp just fine if you are away from home. Reflash twrp and root after. Still getting used to the slots so I'm not positive what can go wrong.
[Google Pixel XL Guides, News, & Discussion] nxkr:
hello this my log after step 4 i and im getting the error on startup that my devices has loaded a diffrent operating system

PS C:\adb> fastboot flash -w update .\image-marlin-opm4.171019.021.d1.zip

target reported max download size of 536870912 bytes

Invalid sparse file format at header magi

error: write_sparse_skip_chunk: don't care size 885948516 is not a multiple of the block size 4096

error: write_sparse_skip_chunk: don't care size 349081700 is not a multiple of the block size 4096

Creating filesystem with parameters:

Size: 122633060352

Block size: 4096

Blocks per group: 32768

Inodes per group: 8192

Inode size: 256

Journal blocks: 32768

Label:

Blocks: 29939712

Block groups: 914

Reserved block group size: 1024

Created filesystem with 11/7487488 inodes and 518062/29939712 blocks

Erase successful, but not automatically formatting.

Can't determine partition type.

FAILED (remote: unknown command)

sending sparse 'update' (524284 KB)...

error: write_sparse_skip_chunk: don't care size 885948516 is not a multiple of the block size 4096

error: write_sparse_skip_chunk: don't care size 885948516 is not a multiple of the block size 4096

OKAY [ 11.910s]

writing 'update'...

(bootloader) Command is not supported.

(bootloader) Please unlock device to enable this command.

FAILED (remote failure)
[Google Pixel XL Guides, News, & Discussion] Linch89:
Hey all just got my VZW Pixel XL unlocked and rooted but I am unsure how to get the 06-05 security update flashed. Have not rooted since around 2012-13 any help is appreciated!
[Google Pixel XL Guides, News, & Discussion] steph995:
OTA Update Error

Hi, I'm definitely a novice so please be kind :)

I followed this guide to root my Pixel XL. I made sure I met the prerequisites and and started at 7D because I had a stock phone and an unlocked bootloader, following the advice of the above comment.

I now have an error from an OTA update that says, "couldn't update - installation problem". On another xda post I found this link to fix the problem: https://github.com/topjohnwu/Magisk/blob/master/docs/tips.md#ota-installation-tips Tried what it suggested, but my phone wouldn't make it to step 2 of 2 on the security update installation.

I've tried searching a lot for other fixes. I found this but it's for a Pixel 2, so I'm not sure if it would work on the original XL? https://xdaforums.com/pixel-2-xl/how-to/tutorial-flashing-ota-updates-unlocked-t3714744/post74746650

Not sure what I should do now. Also, bootloader is showing it's locked now and it's grayed out, don't know if that's pertinent. Any advice would be much appreciated.

My only reason for wanting to root is to stop being throttled on Verizon using hotspot.
[Google Pixel XL Guides, News, & Discussion] steph995:
Sorry, just to clarify, you said don't skip any steps, but said do 4 then 7. I am skipping 5 & 6, is that right?

Also, do I need to unlock the bootloader again since it's grayed out now?
[Google Pixel XL Guides, News, & Discussion] andrew2432:
[MENTION=4810220]Homeboy76[/MENTION]

In the app its a mess to read, I had to read it from my computer/browser

Also, if its stuck on unlocked and greyed out not a big deal, you don't need it.
[Google Pixel XL Guides, News, & Discussion] ChevyNexus:
So since a update was released this month for the Pixel XL ,I'm assuming it's a security one, how do you go about flashing it and keeping root? I have TWRP installed on the phone. Anyway to flash that update and not lose all data? I usually don't do complete wipes till a major update.
[Google Pixel XL Guides, News, & Discussion] ChevyNexus:
Do I unroot first? Then try and flash zip through TWRP ? Sorry to ask so many questions just been out of the loop for awhile haha.
[Google Pixel XL Guides, News, & Discussion] andrew2432:
I think you just lose root and twrp and must reinstall as necessary after an update. I don't believe you will brick, just don't ota with all that installed
[Google Pixel XL Guides, News, & Discussion] wethead4:
Can you flash an update stock through twrp or do you have to side load?
[Google Pixel XL Guides, News, & Discussion] Phalanx7621:
You flash factory images with fastboot. Or side load the OTA with recovery.
[Google Pixel XL Guides, News, & Discussion] ChevyNexus:
Ok so just confirming.

You can sideload and flash a Ota in TWRP? If so how would you do that?

I ask as for the life of me I could not get the fastboot method to work for me.
[Google Pixel XL Guides, News, & Discussion] moyses:
How to root with SuperU

Please
[Google Pixel XL Guides, News, & Discussion] liam_davenport:
Doesn't work on 8.1 and SuperSU is EOL now, So Magisk is the only way unfortunately
[Google Pixel XL Guides, News, & Discussion] andrew2432:
Can I flash a stock boot image in twrp in order to return it to stock for kernels? Once I flash the boot image won't twrp be gone??
[Google Pixel XL Guides, News, & Discussion] 1xdroid:
I have the google pixel xl verizon. I'm currently leasing the phone from verizon. If i root it does it trip a custom sensor like knox for samsung? I wanna be able to trade the phone back in for upgrade. I'm trying to be able to change a android app to system app and root i think is the only way. Thanks.
[Google Pixel XL Guides, News, & Discussion] Juhler:
As long as you lock the bootloader again upon return, they can't see it has been rooted. I think you will be fine!