Flash factory images into Nexus phones
Time: July 2017
System: macOS Sierra 10.12.6
Mainly follow https://developers.google.com/android/images
- Settings > Developer Option > OEM Unlocking, turn on
- Connect over USB
- Run:
adb reboot bootloader
- Run
fastboot flashing unlock or fastboot oem unlock
- Unzip system
- Run
./flash-all.sh