EDIT

Stey-by-Step for Newbies Guide for restoring a bootloader-unlocked Pixel XL back to factory stock

This guide is ideal for soft-brick situations where you can't boot to your operating system

flash-all.bat

Code: target reported max download size of 536870912 bytes sending 'bootloader_a' (32976 KB)... OKAY [ 0.876s] writing 'bootloader_a'... (bootloader) Valid bootloader version. (bootloader) Flashing active slot "_a" (bootloader) Flashing active slot "_a" OKAY [ 4.705s] finished. total time: 5.583s rebooting into bootloader... OKAY [ 0.047s] finished. total time: 0.048s < waiting for any device > target reported max download size of 536870912 bytes sending 'radio_a' (57192 KB)... OKAY [ 1.457s] writing 'radio_a'... OKAY [ 0.562s] finished. total time: 2.022s rebooting into bootloader... OKAY [ 0.046s] finished. total time: 0.048s < waiting for any device > 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 'recovery.img' archive does not contain 'system.sig' archive does not contain 'system.sig' archive does not contain 'vendor.sig' archive does not contain 'vendor_other.img' wiping userdata... Creating filesystem with parameters: Size: 26663190528 Block size: 4096 Blocks per group: 32768 Inodes per group: 8192 Inode size: 256 Journal blocks: 32768 Label: Blocks: 6509568 Block groups: 199 Reserved block group size: 1024 Created filesystem with 11/1630208 inodes and 146354/6509568 blocks -------------------------------------------- Bootloader Version...: 8996-012001-1701181700 Baseband Version.....: 8996-012511-1701091826 Serial Number........: HT6920203793 -------------------------------------------- checking product... OKAY [ 0.050s] checking version-bootloader... OKAY [ 0.049s] checking version-baseband... OKAY [ 0.048s] sending 'boot_a' (26173 KB)... OKAY [ 0.690s] writing 'boot_a'... OKAY [ 0.299s] erasing 'system_a'... OKAY [ 0.265s] sending sparse 'system_a' 1/4 (515613 KB)... OKAY [ 13.636s] writing 'system_a' 1/4... OKAY [ 5.355s] sending sparse 'system_a' 2/4 (514104 KB)... OKAY [ 13.720s] writing 'system_a' 2/4... OKAY [ 6.234s] sending sparse 'system_a' 3/4 (499613 KB)... OKAY [ 13.263s] writing 'system_a' 3/4... OKAY [ 5.738s] sending sparse 'system_a' 4/4 (32756 KB)... OKAY [ 0.891s] writing 'system_a' 4/4... OKAY [ 0.359s] erasing 'system_b'... OKAY [ 0.297s] sending sparse 'system_b' 1/4 (517080 KB)... OKAY [ 13.672s] writing 'system_b' 1/4... OKAY [ 5.247s] sending sparse 'system_b' 2/4 (514384 KB)... OKAY [ 13.502s] writing 'system_b' 2/4... OKAY [ 10.252s] sending sparse 'system_b' 3/4 (524287 KB)... OKAY [ 13.766s] writing 'system_b' 3/4... OKAY [ 13.995s] sending sparse 'system_b' 4/4 (85786 KB)... OKAY [ 2.280s] writing 'system_b' 4/4... OKAY [ 2.969s] erasing 'vendor_a'... OKAY [ 0.250s] sending 'vendor_a' (235322 KB)... OKAY [ 6.049s] writing 'vendor_a'... OKAY [ 5.236s] Setting current slot to 'a'... OKAY [ 0.172s] erasing 'userdata'... OKAY [ 5.251s] sending 'userdata' (138957 KB)... OKAY [ 3.550s] writing 'userdata'... OKAY [ 1.298s] rebooting... finished. total time: 158.668s Press any key to exit... `

Code: fastboot flash boot_a boot.img

Code: fastboot flash boot_b boot.img

Code: C:\Google>fastboot flash boot_a boot.img target reported max download size of 536870912 bytes sending 'boot_a' (26229 KB)... OKAY [ 0.718s] writing 'boot_a'... OKAY [ 0.296s] finished. total time: 1.030s C:\Google>fastboot flash boot_b boot.img target reported max download size of 536870912 bytes sending 'boot_b' (26229 KB)... OKAY [ 0.718s] writing 'boot_b'... OKAY [ 0.265s] finished. total time: 0.983s C:\Google>

MAY UPDATE

TWRP, ROOT AND CUSTOM KERNEL INSTALL

Code: C:\Google>fastboot boot twrp-3.0 .2-0-RC1-fastboot-marlin.img downloading 'boot.img'... OKAY [ 0.710s] booting... OKAY [ 0.858s] finished. total time: 1.578s C:\Google>

TWRP BACKUP AND RESTORE