adb reboot-bootloader sudo fastboot oem unlock

  • will delete all data, so do it when phone is new
  • Your boot loader is unlocked. The phone will flash any files it is told to flash — including ones used to root and suck everything out of it. There’s also the warranty to think about, though Google has been more lenient on that than other OEMS — they say it “may” void your warranty, not it “will” void it