[Nexus 6P Q&A, Help & Troubleshooting] p1r8t3:
*** NOTE: Please excuse my English.

*** WARNING: I'm not responsible if anything happens to your device, I'm just sharing my experience and what I did to fix my own phone. Proceed at your own RISK.

I bought my Nexus 6p 64gb and as soon as I took it out of the box, I went directly and followed the guide here. So i unlocked the bootloader, flashed TWRP as a custom recovery, flashed CM13 + OpenGapps.

I noticed that every time I boot my device I get this warning:

Your device is corrupt. It can’t be

trusted and may not work properly.

Visit this link on another device:

go.co/ABH

and it does not seem to be a normal warning because when my OS boots up it shows me this

"Android system:

There’s an internal problem with your device. Contact your manufacturer for details"

Later on when I updated to the latest nightly image my camera crashes and doesn't function properly. I also already has an issue with Bluetooth and "Bluetooth share" crashing but that was unrelated. Anyways I was crippled in my day to day usage. Then I thought that I need to fix this asap because it might cause performance/security/hardware problems in the future.

So basically the fix is you should flash the latest bootloader image and radio image. Personally I wanted to start clean and make sure I have no corrupted files so here is what I did,

1. What i did is erase all boot, system, kernel & recovery files by typing the below command using fastboot just incase they were corrupted,

(Note: YOU DONT NEED TO DO THIS STEP, but i prefer starting clean incase i had some corrupted files. YOU WILL ALSO LOSE ENCRYPTION DOING THE FIRST STEP)

fastboot erase boot

fastboot erase cache

fastboot erase recovery

fastboot erase system

Source: http://devs-lab.com/...i-nexus-6p.html

2. Then i flashed the latest factory images in this sequence using fastboot, which can be found here: https://developers.g...s/images#angler

(Note: 6.0.1 (MMB29M) was latest image at the time i did this. For people who are doing this for the first time, then you just need to download the image then extract the needed files from it)

fastboot flash bootloader bootloader-angler-angler-xx.xxx.img

fastboot reboot-bootloader

fastboot flash radio radio-angler-angler-xx.xx.img

fastboot reboot-bootloader

fastboot flash recovery recovery.img

fastboot flash boot boot.img

fastboot flash system system.img

fastboot flash cache cache.img

fastboot flash vendor vendor.img

fastboot format userdata

fastboot reboot

Source: http://forum.xda-dev...operly-t3268407

3. From there i reflashed TWRP using fastboot, then flashed the latest beta SuperSU v2.62 at the time, and then CM13, then OpenGapps, then again reflashed SuperSU v2.62 just incase, lol. (Do not flash the version of SuperSU that TWRP offers to flash for you in order to give you root, it is not compatible and will cause problems. When using TWRP before you've actually flashed SuperSU 2.50+, when you attempt to reboot out of TWRP it will tell you that it's detecting that you don't have root and it will offer to root for you, skip past this.)

What got fixed ?

-FIXED, this won't show up anymore:

Your device is corrupt. It can’t be

trusted and may not work properly.

Visit this link on another device:

go.co/ABH

-FIXED, this won't show up anymore:

Android system:

There’s an internal problem with your device. Contact your manufacturer for details.

-FIXED, Camera is working !

-NOT FIXED, "Bluetooth share" still crashes but I think its unrelated to this issue.

Hope this helps everyone as it helped me, thanks.