[Pixel C Android Development] tw1tch175:
:victory::victory::victory::victory::victory:

We have liftoff!!!!!!!!

Here is exactly what I did.

0. Just a note I did all this with the mxb48j image

1. Download and install Flashify (I used this exact version if they change it later: http://www.apkmirror.com/apk/christian-gollner/flashify/flashify-1-9-2-android-apk-download/)

2. In Flashify flash the stock boot.img and recovery.img (At the same time, don't reboot in between)

3. Once the flash is done boot into stock recovery and factory reset

4. Let the device boot (No need to run setup)

5. Reboot to bootloader again

6. Run: fastboot flashing lock

7. Wait for it to reset everything

8. Boot into stock recovery again and factory reset (This is probably not needed but I did it just to be safe)

9. At this point the device will not boot and will kick you to recovery every time

10. Use the stock recovery to boot to bootloader

11. Run: fastboot flashing unlock

12. Reboot to bootloader

13. Flash the stock bootloader (fastboot flash bootloader bootloader.img)

If you run getvar all now you should see that the secure flag is disabled, you will now be able to flash in fastboot like normal.

I HIGHLY recommend running the factory image flash-all.bat at this point to make sure your device is full stock.

P.S. If you want to relock your device for full stock at this point MAKE SURE YOU BOOT INTO SYSTEM FIRST.

Don't forget Google implemented the bootloader unlock toggle in the developer settings since 6.0.

Here is the getvar after I flashed full stock and relocked the device

fastboot getvar all
(bootloader) version: 0.3
(bootloader) version-bootloader: Google_Smaug.7132.260.0
(bootloader) version-baseband: N/A
(bootloader) product: dragon
(bootloader) secure: yes
(bootloader) max-download-size: 0x10000000
(bootloader) partition-type:boot: ext4
(bootloader) partition-type:kernel-a: ext4
(bootloader) partition-type:kernel-b: ext4
(bootloader) partition-type:recovery: ext4
(bootloader) partition-type:kernel: ext4
(bootloader) partition-type:system: ext4
(bootloader) partition-type:system-a: ext4
(bootloader) partition-type:vendor: ext4
(bootloader) partition-type:vendor-a: ext4
(bootloader) partition-type:cache: ext4
(bootloader) partition-type:data: ext4
(bootloader) partition-type:userdata: ext4
(bootloader) partition-type:metadata: ext4
(bootloader) partition-type:lnx: ext4
(bootloader) partition-type:misc: ext4
(bootloader) partition-type:persistent: ext4
(bootloader) partition-type:system-b: ext4
(bootloader) partition-type:vendor-b: ext4
(bootloader) partition-size:boot: 0x2000000
(bootloader) partition-size:kernel-a: 0x2000000
(bootloader) partition-size:kernel-b: 0x2000000
(bootloader) partition-size:recovery: 0x2000000
(bootloader) partition-size:kernel: 0x2000000
(bootloader) partition-size:system: 0xe0000000
(bootloader) partition-size:system-a: 0xe0000000
(bootloader) partition-size:vendor: 0x13000000
(bootloader) partition-size:vendor-a: 0x13000000
(bootloader) partition-size:cache: 0x19000000
(bootloader) partition-size:data: 0xd76b00000
(bootloader) partition-size:userdata: 0xd76b00000
(bootloader) partition-size:metadata: 0x4000000
(bootloader) partition-size:lnx: 0x2000000
(bootloader) partition-size:misc: 0x400000
(bootloader) partition-size:persistent: 0x80000
(bootloader) partition-size:chromeos: 0xe8f800000
(bootloader) partition-size:mbr: 0x200
(bootloader) partition-size:gpt: 0x4200
(bootloader) partition-size:RO_SECTION: 0x3f0000
(bootloader) partition-size:RO_VPD: 0x10000
(bootloader) partition-size:RW_SECTION_A: 0x580000
(bootloader) partition-size:RW_SECTION_B: 0x580000
(bootloader) partition-size:bootloader: 0x1000000
(bootloader) unlocked: no
(bootloader) off-mode-charge: 1
(bootloader) battery-voltage: 3825 mV
(bootloader) variant:
(bootloader) battery-soc-ok: yes
(bootloader) Bdev-size:mmc: 62537072640
(bootloader) Bdev-size:flash: 16777216
(bootloader) Gbb-flags: 0x0
(bootloader) Oem-version:RO: Google_Smaug.7132.226.0
(bootloader) Oem-version:RW_A: Google_Smaug.7132.260.0
(bootloader) Oem-version:RW_B: Google_Smaug.7132.260.0
all: Done!
finished. total time: 0.342s