作弊条:Mac下给 Nexus 刷机
收了一个Nexus 5等不及OTA,就自己刷了
brew install android-platform-tools- 在手机的关于中版本一栏连按7次,打开开发者模式,并且在开发者模式中打开USB Debug
- 手机连接电脑执行
adb devices - 如果有unauthorized字样,执行
adb kill-server && adb start-server,重新连接手机,在手机上同意设备调试 adb reboot bootloader- 进入bootloader界面之后,执行
fastboot oem unlock - 然后执行下载好的官方rom包里的
flush_all.sh
在线阅读本文 Guixing's Jail https://blog.khsing.net/2015/10/mac-nexus.html