作弊条:Mac下给 Nexus 刷机

收了一个 Nexus 5 等不及OTA,就自己刷了

  1. brew install android-platform-tools
  2. 在手机的关于中版本一栏连按7次,打开开发者模式,并且在开发者模式中打开 USB Debug
  3. 手机连接电脑执行adb devices
  4. 如果有unauthorized字样,执行adb kill-server && adb start-server,重新连接手机,在手机上同意设备调试
  5. adb reboot bootloader
  6. 进入bootloader界面之后,执行fastboot oem unlock
  7. 然后执行下载好的官方rom包里的flush_all.sh

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.