yashsingh1/xdaforums huggingface dataset:
[Google Pixel XL Guides, News, & Discussion] yung40oz84:
They only offer one image for the 6P and 5X as well regardless of memory size, but you still CANNOT flash userdata on a 64GB or 128GB 6P, it will leave you with only 32GB of space when booting up your phone, I know this for a fact, it is most likely the same for the Pixel and Pixel XL.

Note: You should never flash the userdata image. It doesn't take into consideration the storage capacity of the device and always allocates 32gb of storage. This is ok for the 32gb model, but for the 64gb and 128gb models you'll end up with much less storage capacity than you should have. If you wish to wipe your internal storage you'd use the following command instead:

Which I do not wipe internal memory anyway, but still cannot flash userdata for bigger storage models.
[Google Pixel XL Guides, News, & Discussion] CZ Eddie:
Can anyone other than yung40oz84 confirm that the flash-all.bat on a 128GB phone causes partition size issues?
[Google Pixel XL Guides, News, & Discussion] spaceman860:
I used the flash all script on my 128gb version with no issues.
[Google Pixel XL Guides, News, & Discussion] WhiteReign:
Thank God you fixed my Phone. I wanted to use the only rom out there and it killed my phone. Thank you for a clear instruction on how to restore my phone! Wish every one would be a little more clear.
[Google Pixel XL Guides, News, & Discussion] moosc:
Ok have a issue. When I run flash-all.bat I get waiting on device. Phone is already in bootloader mode. And device is recognized by adb.
[Google Pixel XL Guides, News, & Discussion] CZ Eddie:
It's clearly a lack of communication issue.

Wrong driver?

Are you sure you're in Bootloader and not in Recovery?

Recovery uses ADB and Bootloader uses fastboot.
[Google Pixel XL Guides, News, & Discussion] moosc:
Yeah I'm in bootloader. Also redid USB drivers. Tried using skip soft it rebooted into bootloader then hung up on waiting for any device
[Google Pixel XL Guides, News, & Discussion] 93fuelslut:
Subscribe

---------- Post added at 01:13 AM ---------- Previous post was at 01:07 AM ----------

Subscribe

---------- Post added at 01:58 AM ---------- Previous post was at 01:13 AM ----------

Do you not need the toolkit for this method?
[Google Pixel XL Guides, News, & Discussion] pcriz:
No
[Google Pixel XL Guides, News, & Discussion] bossei:
I need help; I'm on the May bootloader and I want to flash an O image or any image for that matter and go to stock but I rather flash the O image to test out O. Below is what I get. I've wiped everything even formatted userdata and still nothing. This happens to both slot A and B.

arget reported max download size of 536870912 bytes

archive does not contain 'boot.sig'

archive does not contain 'recovery.img'

archive does not contain 'system.sig'

archive does not contain 'vendor.sig'

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

Bootloader Version...: 8996-012001-1704271501

Baseband Version.....: 8996-013011-1704211309

Serial Number........: HT72********

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

checking product...

OKAY [ 0.050s]

checking version-bootloader...

OKAY [ 0.058s]

checking version-baseband...

OKAY [ 0.041s]

sending 'bootb' (30345 KB)...

OKAY [ 0.842s]

writing 'bootb'...

(bootloader) Flashing active slot "_b"

FAILED (remote: partition [bootb] doesn't exist)

finished. total time: 1.251s
[Google Pixel XL Guides, News, & Discussion] pcriz:
Have you every flashed a boot.img before successfully on the pixel? Is your adb up to date?
[Google Pixel XL Guides, News, & Discussion] bossei:
My adb is up to date. I updated it as a result of these issues. As for manually flashing boot.img I was able to when I got my phone and was rooting. I don't recall now if I was able to manually flash boot.img on both slots although I'm able to install custom ROMs just fine. I actually just did an update to pixel dust yesterday.
[Google Pixel XL Guides, News, & Discussion] pcriz:
Sorry boot.img is a typo. Have you ever flashed a factory image without issue
[Google Pixel XL Guides, News, & Discussion] bossei:
No I have not. This is my first time trying with this phone.
[Google Pixel XL Guides, News, & Discussion] pcriz:
What version of adb and fastboot do you have

What is the name of the factory image you are flashing.
[Google Pixel XL Guides, News, & Discussion] bossei:
Sorry wasn't in front of the computer.

Version is: Android Debug Bridge version 1.0.36

Revision af05c7354fe1-android

Image I've tried: image-marlin-opp2.170420.019 and marlin-n2g47e-factory-ebc79a0b

---------- Post added at 06:25 PM ---------- Previous post was at 06:05 PM ----------

I just updated adb and now I have the following;

Android Debug Bridge version 1.0.39

Revision 3db08f2c6889-android

I also noticed i may have a path issue. I issued ./adb version to get the latest.
[Google Pixel XL Guides, News, & Discussion] pcriz:
Did you run the flash all bat again?
[Google Pixel XL Guides, News, & Discussion] bossei:
Ha good timing; I just did that and got the same result. BTW I'm running this on my Mac; don't know if that has anything to do with it.
[Google Pixel XL Guides, News, & Discussion] bossei:
I was able to flash an image with a Windows machine so it turns out it was a Mac issue of some sort. I'm now trying to resolve your data might be corrupted error when I tried booting for the first time. I did a factory reset and that did the trick. Now let's see if everything else runs ok. Thaks for all your help [MENTION=1164081]pcriz[/MENTION]
[Google Pixel XL Guides, News, & Discussion] Garock:
thanks dude

this helps me with pixel c which got stuck booting to TWRP after failed attempt to update magisk, and I still keep all my data untouched
[Google Pixel XL Guides, News, & Discussion] MrWilsonxD:
Thank you for this guide, the restoring to stock worked perfect for me on my pixel 2 xl that would not get past the "your data has been corrupted, you need to factory reset... etc" and would keep looping from there.

I switched the appropriate files from the November release and everything is working perfectly now.
[Google Pixel XL Guides, News, & Discussion] shaifullah.ahad:
target reported max download size of 536870912 bytes

sending 'bootloader_a' (32248 KB)...

OKAY [ 0.983s]

writing 'bootloader_a'...

(bootloader) Command is not supported.

(bootloader) Please unlock device to enable this command.

FAILED (remote failure)

finished. total time: 1.087s

rebooting into bootloader...

OKAY [ 0.050s]

finished. total time: 0.054s

target reported max download size of 536870912 bytes

sending 'radio_a' (57320 KB)...

OKAY [ 1.683s]

writing 'radio_a'...

(bootloader) Command is not supported.

(bootloader) Please unlock device to enable this command.

FAILED (remote failure)

finished. total time: 1.787s

rebooting into bootloader...

OKAY [ 0.049s]

finished. total time: 0.053s

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

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

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 (1761 MB) to disk... took 45.383s

archive does not contain 'system.sig'

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

archive does not contain 'system.sig'

archive does not contain 'vbmeta.img'

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

archive does not contain 'vendor.sig'

archive does not contain 'vendor_other.img'

wiping userdata...

mke2fs 1.43.3 (04-Sep-2016)

Creating filesystem with 6509568 4k blocks and 1630208 inodes

Filesystem UUID: c042746c-1775-11e8-ab9e-9febc6cbde08

Superblock backups stored on blocks:

32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,

4096000

Allocating group tables: done

Writing inode tables: done

Creating journal (32768 blocks): done

Writing superblocks and filesystem accounting information: done

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

Bootloader Version...: 8996-012001-1711291800

Baseband Version.....: 8996-130091-1710201747

Serial Number........: HT69V0202319

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

checking product...

OKAY [ 0.050s]

checking version-bootloader...

OKAY [ 0.046s]

checking version-baseband...

OKAY [ 0.047s]

sending 'boot_a' (30149 KB)...

OKAY [ 0.943s]

writing 'boot_a'...

(bootloader) Command is not supported.

(bootloader) Please unlock device to enable this command.

FAILED (remote failure)

finished. total time: 1.400s

Press any key to exit...
[Google Pixel XL Guides, News, & Discussion] mdewii23:
Best restore guide for Pixel XL!

This by far the best guide I found to fix soft brick.
[Google Pixel XL Guides, News, & Discussion] Bovaz Paul:
My coolpad note 3 plus is rooted and twrp flashed. After flashing a rom my phone got. Soft bricked. Itz now directly boots to twrp recovery. I cant use sp flash tool because itz boot to recovery when data cable connected.I boot to bootloader and connected to my pc but itz not detecting my device.but in recovery storage is detecting.Is there any way to detect device in boot loader in windows 10.how fix it plz help me?any other software is helpful plz help??:crying:
[Google Pixel XL Guides, News, & Discussion] sd_shadow:
This a thread for the Google Pixel XL

---------- Post added at 11:45 PM ---------- Previous post was at 11:43 PM ----------

Post #1
[Google Pixel XL Guides, News, & Discussion] kvas:
So I am assuming this recovery WONT work for a bootloader locked Verizon Pixel XL?

Will this tutorial work for a bootloader LOCKED Pixel XL that DOES NOT have USB debugging activated? I have a Pixel XL with Android Pie that just froze on me yesterday. I can get into all screens EXCEPT Home screen and safe mode.... Trying to recover this phone. Data wasnt backed up unfortunately

RIP 9/11:angel:
[Google Pixel XL Guides, News, & Discussion] ALS_Mobile:
Hi

Friend

Please can u tell me if my google pixal xl is soft brick and bootloader is locked and OEM is disabled

How do I fix my soft bricked phone ?
[Google Pixel XL Guides, News, & Discussion] AlaaTorinoo:
bro if you fixed it please tell me how to do it i'm stuck
[Google Pixel XL Guides, News, & Discussion] ALS_Mobile:
No I couldn't fix it

I return it back to owner
[Google Pixel XL Guides, News, & Discussion] srkhan:
I have sailfish device with bootloop without recovery and with oem locked!
[Google Pixel XL Guides, News, & Discussion] sd_shadow:
tried ?

Fastboot Devices
[Google Pixel XL Guides, News, & Discussion] CZ Eddie:
Agreed with ^^

If that works, then try something simple like "fastboot reboot" just to verify fastboot is working at all.
[Google Pixel XL Guides, News, & Discussion] moosc:
Yeah even ran the driver test in skip soft kit adb passed but it failed on the bootloader. Waiting for any device popped up.
[Google Pixel XL Guides, News, & Discussion] CZ Eddie:
Dangit.

What version of ADB tools are you using?

I know I installed ADB tools *again* after getting the Pixel.

But it turns out the new ADB tools install I installed did not overwrite my previous, older ADB tools.

So ADB tools never worked properly for me until after I manually uninstalled all previous ADB tools and then did a clean ADB tools install of the very newest version.

Has fastboot in bootloader ever worked for you with your Pixel?

If you reboot to Recovery, does "adb devices" work?

What reason did you encounter that required you to restore to stock? I wonder if that has something to do with the issue you're having.
[Google Pixel XL Guides, News, & Discussion] mrnovanova:
I keep getting stuck at not enough space to flash image zip. Any suggestions?
[Google Pixel XL Guides, News, & Discussion] CZ Eddie:
Do you have TWRP installed?

Back up your data to your computer.

Then use TWRP to wipe everything.

Then try again.

I usually wipe A & B both even though it's not necessary since I never use B for anything.

If still having issues then I bet your system partition is messed up.
[Google Pixel XL Guides, News, & Discussion] moosc:
I'm rooted n unlocked was trying to upgrade to 7.1.1 . Yes I've I done loads of flashing on the pixel. Adb works bootloader driver doesn't. I've deleted all drivers fresh reinstall bootloader drivers still fail.. get this message an interactive window station. From googling sounds like I have to reinstall windows .
[Google Pixel XL Guides, News, & Discussion] CZ Eddie:
The op has been updated for december security update image from google
[Google Pixel XL Guides, News, & Discussion] CZ Eddie:
Weird.

I've heard of people having issues with ADB/Recovery but not fastboot/download-mode.

You might try to adb/sideload the latest "O" December update image.

Then see if fastboot/download-mode are working for you again.

Or get a virtual machine fired up to test with?
[Google Pixel XL Guides, News, & Discussion] cam30era:
Is your Android SDK up to date? Out of date fastboot can potentially cause this.
[Google Pixel XL Guides, News, & Discussion] Bigben7:
Thank you!!!!
[Google Pixel XL Guides, News, & Discussion] old_fart:
.

on my windoze box, i use the below util to view and manage ( rt. click and un-install when necessary ) the USB drivers loaded . . .

.

where : http://www.nirsoft.net/

get : usbdeview-x64.zip

run : USBDeview.exe

. . . . .

. . . .

. . .

. .

.

Hey [MENTION=4274380]CZ Eddie[/MENTION] - I did not see you mention and talk about the potentially "very important step" of removing the " -w " switch to the batch ?

Thank you, Sir !
[Google Pixel XL Guides, News, & Discussion] CZ Eddie:
I talk about the -w in the fourth/fifth paragraph.
[Google Pixel XL Guides, News, & Discussion] moosc:
Got it working but had to role laptop to factory specs and start fresh. Everything good on os just can't root to work on 7.1.1 it just sits there and not boot up.. guess that's my next project to figure out how to get root without wiping phone..
[Google Pixel XL Guides, News, & Discussion] Souler19:
I used the direct download link and the file i got was a bunch of random characters. What do i do with this?

*** Never mind, it was a text file from the website saying i have reached my free download maximum***

Anyone possibly have an alternate direct download link for the latest fastboot?
[Google Pixel XL Guides, News, & Discussion] CZ Eddie:
Did you try the Minimal ADB and Fastboot thread I linked?
[Google Pixel XL Guides, News, & Discussion] CZ Eddie:
I don't understand what your new issue is?
[Google Pixel XL Guides, News, & Discussion] moosc:
Tried rooting after updating and device doesn't boot up..it just hangs on the boot up screen.
[Google Pixel XL Guides, News, & Discussion] CZ Eddie:
Did you use the newest root, version 5 that was released a few days ago?

I know earlier root version had boot hang issues.
[Google Pixel XL Guides, News, & Discussion] moosc:
Didn't know 5 was out. I'll try that one.
[Google Pixel XL Guides, News, & Discussion] Souler19:
i just downloaded the latest android Studio and copied the fastboot exe into my minimal adb and fastboot folder. I wasnt sure if the latest minimal adb and fastboot had the latest fastboot.

On another note, im on a verizon pixel xl 128gb with TWRP Ex Kernel and no root, can i follow your guide to update? will the nmf26o update work on the verizon version?
[Google Pixel XL Guides, News, & Discussion] skulldreamz:
Since you were rooted before make sure to fastboot flash the stock boot.img to both slots a and b before you try to root again. So many people have got into bootloops I've read from not performing this step but they might not have used supersu-sr5. I'm not %100 sure if you need to since I've never had a issue with anything but I would flash stock first to be on the safe side
[Google Pixel XL Guides, News, & Discussion] CZ Eddie:
UPDATE 12/10/2016:

The OP has been updated for December release + TWRP RC1 + SuperSU SR5 + ElementalX 1.01 kernel.

Note that SuperSU will likely get another update by Chainfire within the next few days to fix installation problems with TWRP RC1.
[Google Pixel XL Guides, News, & Discussion] MrMeek:
I am following these directions and it keeps saying I need to unlock the bootloader, I cant turn on USB debugging because I cant make it past the error that the device is corrupt. How can I work around this?I just want back to stock, and I was on stock before this happened.
[Google Pixel XL Guides, News, & Discussion] cam30era:
It sounds like your bootloader is locked.

If you are still on 7.1, run dePixel8.

If you are on 7.1.1 (i.e. December update), you're basically screwed.
[Google Pixel XL Guides, News, & Discussion] MrMeek:
I was on 7.1,Depixel8 worked before when I first rooted it,but then restored to factory then soon after this happened. Now Depixel8 wont work and adb is showing no devices. I never did the OTA update,it failed on me before this happened.
[Google Pixel XL Guides, News, & Discussion] cam30era:
If you can boot into the OS, and connect to your PC then the first issue that you have to solve is "no devices". I'd suggest updating your Windows drivers.
[Google Pixel XL Guides, News, & Discussion] MrMeek:
Yea ive been trying that,tried a few so far,but if I cant get in to check usb debugging, will it still show in ADB ?
[Google Pixel XL Guides, News, & Discussion] cam30era:
You're right.

What exactly happens when you go to Settings/Developer Options/enable USB debugging?
[Google Pixel XL Guides, News, & Discussion] MrMeek:
I cant make it past the error "Device is corrupted", it just shuts down after that, If I go to Recovery, it does the same thing. I am able to get into the bootloader though. My phone is unusable right now. On the error screen it shows an address to go to for more information, and its a pixel/nexus page detailing the errors then instructions on how to flash to stock, but it wont work becasue bootloader is locked and the fastboot oem unlock command isnt working.
[Google Pixel XL Guides, News, & Discussion] cam30era:
This is the normal Google warning splash screen that we all see every time we boot, if bootloader is unlocked.

You said you can get into fastboot. What happens when you enter "fastboot devices" without the quotation marks?
[Google Pixel XL Guides, News, & Discussion] MrMeek:
that works fine,device shows up and shows serial
[Google Pixel XL Guides, News, & Discussion] cam30era:
I'd suggest going to the Original Post and start at Step 4).
[Google Pixel XL Guides, News, & Discussion] MrMeek:
Ok ,Ill start there then,been at it all day yesterday,hopefully this does the trick....Thanks ....cool to see someone else from my area on here

---------- Post added at 10:15 AM ---------- Previous post was at 10:10 AM ----------

This is what Im getting here?

Microsoft Windows [Version 6.1.7601]

Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C:\android\Minimal ADB and Fastboot>flash-all.bat

target didn't report max-download-size

sending 'bootloader' (32820 KB)...

FAILED (command write failed (No error))

finished. total time: -0.000s

rebooting into bootloader...

FAILED (command write failed (No error))

finished. total time: 0.000s

target didn't report max-download-size

sending 'radio' (57048 KB)...

FAILED (command write failed (No error))

finished. total time: 0.010s

rebooting into bootloader...

FAILED (command write failed (No error))

finished. total time: -0.000s

target didn't report max-download-size

archive does not contain 'boot.sig'

archive does not contain 'recovery.img'

error: cannot load system.img from flash

Press any key to exit...
[Google Pixel XL Guides, News, & Discussion] cam30era:
[MENTION=6270068]MrMeek[/MENTION],

Have you updated ADB and fastboot lately? If not, there's a link in the OP.
[Google Pixel XL Guides, News, & Discussion] MrMeek:
Thats the one i have, 1.41. Even uninstalled it and reinstalled it to make sure and ADB version is showing 1.0.36
[Google Pixel XL Guides, News, & Discussion] cam30era:
Not sure what to tell you at this point. You'll need to wait for someone else to chime in.
[Google Pixel XL Guides, News, & Discussion] MrMeek:
Yea Im lost at this point,but thanks again
[Google Pixel XL Guides, News, & Discussion] cam30era:
What version are you currently on? Try downloading the factory image for that same version and flashing that.
[Google Pixel XL Guides, News, & Discussion] MrMeek:
7.1, because before all this I restored to factory,so I got the sailfish and even tried Marlin, mines just a pixel, not XL, and when I run fastboot flash file.zip i get unknown partition, error:cant determine image filename.

I can seem to find any factory images that are .img,just zipped ones,that have like the one OP shows.
[Google Pixel XL Guides, News, & Discussion] rvarma8282:
Hi I'm Ravi
[Google Pixel XL Guides, News, & Discussion] cam30era:
Don't do this > fastboot flash file.zip

You have to type the actual name of the .bat file.

Here's the Google page for factory images. Go to "Sailfish". Click the download link for November for the same version ("V" or "X") that you were on. > https://developers.google.com/android/images
[Google Pixel XL Guides, News, & Discussion] MrMeek:
ok I got those,Im verizon so I was using the X . And in the command I have tried typing just "Flash-all.bat".and get command write failed (no error).
[Google Pixel XL Guides, News, & Discussion] cam30era:
Just double click the flash-all.bat file
[Google Pixel XL Guides, News, & Discussion] MrMeek:
I get the same thing.

target didn't report max-download-size

sending 'bootloader' (32820 KB)...

FAILED (command write failed (No error))

finished. total time: 0.005s

rebooting into bootloader...

FAILED (command write failed (No error))

finished. total time: 0.005s

target didn't report max-download-size

sending 'radio' (57048 KB)...

FAILED (command write failed (No error))

finished. total time: 0.003s

rebooting into bootloader...

FAILED (command write failed (No error))

finished. total time: 0.005s

target didn't report max-download-size

archive does not contain 'boot.sig'

archive does not contain 'recovery.img'

error: cannot load system.img from flash

Press any key to exit...
[Google Pixel XL Guides, News, & Discussion] cam30era:
[MENTION=6270068]MrMeek[/MENTION],

What does it say at the bottom of your fastboot screen? Locked or unlocked?
[Google Pixel XL Guides, News, & Discussion] MrMeek:
Device is locked

secure boot :Production

Console: Disabled
[Google Pixel XL Guides, News, & Discussion] cam30era:
Not good. You can't use fastboot because your bootloader is locked. You can't enable USB debugging because it throws errors and reboots. What happened when you booted to stock recovery and tried to ADB sideload?
[Google Pixel XL Guides, News, & Discussion] MrMeek:
I cant get into recovery,just goes straight to the error ,then shuts off. I did try to sideload it but didnt work but not sure if the commands were correct.
[Google Pixel XL Guides, News, & Discussion] cam30era:
From bootloader, if you select "Recovery" your device shuts off? Or do you get the android on his back?
[Google Pixel XL Guides, News, & Discussion] MrMeek:
no from bootloader, I choose recovery and then goes to the "Your device is corrupted" ,then powers off after a few seconds.
[Google Pixel XL Guides, News, & Discussion] cam30era:
I'm out of ideas. Sorry.
[Google Pixel XL Guides, News, & Discussion] MrMeek:
Ok I found a very simple solution it seems, for anyone else getting a softbrick. From Bootloader,type "fastboot continue" Thanks for the help though [MENTION=2376614]jcase[/MENTION] you are awesome man,glad you posted that save
[Google Pixel XL Guides, News, & Discussion] CZ Eddie:
OP updated for December's second update, "Q".

And also for new root install method suggested by DeesTroy/TWRP.
[Google Pixel XL Guides, News, & Discussion] Archangel:
What exactly does fastboot continue do?
[Google Pixel XL Guides, News, & Discussion] CZ Eddie:
Sorry, I haven't read all your posts yet.

Have you tried flashing the stock boot.img to both partition A and B yet?

Then flash the flash-all.bat to restore the OS afterwards?

EDIT: N/M I was looking at an older version of this thread and you have since gotten your issue fixed?