[Nexus 6P General] CaptShaft:
Installation of CopperheadOS

I tried the traditional install instructions here: https://copperhead.co/android/docs/install

...and found that even with attempts to do the command line work on a Linux box it still doesn't quite work right. One of the prerequisites is you have to download the Android Software Development Kit [SDK]. I did this on the Linux box and it still didn't quite install all the way, I got some sort of error I don't recall right now.

Flashing via TWRP doesn't work all the way either due to a lack of either META-INF or checksum signatures in the contained zip file.

So let's try this:

(1)

First you need to acquire the ROM from Nexus 6P the download section here: https://copperhead.co/android/downloads?device=angler

Get the latest factory image, don't worry about the OTA update.

Also get the unofficial TWRP recovery from here: http://xdaforums.com/nexus-6p/general/recovery-twrp-3-0-2-3-unofficial-touch-t3516951

(2)

After you download the angler-factory-[blah-blah-blah].tar.xz file, decompress it somewhere convenient onto your computer where you also have the ADB and fastboot .exe's handy.

Inside this decompressed archive you will find another archive entitled image-angler-[some characters].zip. Again, decompress this zip file into your ADB folder and you will see a list of the following items:

android-info.txt
boot.img
cache.img
recovery.img
system.img
userdata.img
vendor.img

You should also see elsewhere in the main directory the following items:

bootloader-angler-angler-03.62.img
radio-angler-angler-03.78.img

Move these items into your ADB directory if you have not already done so.

(3)

Backup your Nexus 6P now with TWRP, and copy all of the archived backup items off of the phone onto your personal computer.

While still in TWRP, do the advanced wipe command and format the various partitions of your phone. Then power off.

(4)

Put your phone into fastboot mode by powering it off then holding the volume down button while powering on.

(5)

Open up your ADB command line console and type in "fastboot devices". You should see your phone serial number and "fastboot" next to it.

(6)

Following the lead by some of our intrepid developers here at this link:

http://xdaforums.com/nexus-6p/general/guides-how-to-guides-beginners-t3206928

...We're going to flash these image files manually using fastboot.

Type in the following commands one at a time:

(7)

If you have not already done so, ensure that your bootloader and radio are up to the requisite versions:

fastboot flash bootloader bootloader-angler-angler-03.62.img
fastboot reboot-bootloader
fastboot flash radio radio-angler-angler-03.78.img
fastboot reboot-bootloader

(8)

Next we'll flash the main system files:

fastboot flash system system.img
fastboot flash vendor vendor.img
fastboot flash boot boot.img
fastboot erase cache
fastboot flash cache cache.img

(9)

I'm unclear as to whether or not it's necessary to flash the user data, but if you do, you will need to reflash TWRP afterwards and resize your data partition if you have the 64 GB or 128 GB models.

fastboot flash userdata C:/images/userdata.img

(Note: this command will wipe your device (including /sdcard), EVEN if your bootloader is already unlocked.)

(10)

Optional:

The default install script will flash the recovery that came with COS. You may or may not need to do this.

fastboot flash recovery recovery.img

(11)

When done, reboot and enjoy.