Nexus刷官方下载的映像_occam

网址(需f/q):

https://developers.google.com/android/

1、

官方img 下载:

在顶部的网页的底部,找到"Nexus 出厂映像",点击进去,来到“https://developers.google.com/android/nexus/images”。

(搜索)找到“"occam" for Nexus 4”,在下面的列表中,我下载了“4.2.2 (JDQ39)”的映像,下载下来之后的文件为“occam-jdq39-factory-345dc199.tgz”。

1.1、

  然后根据该网页上面的步骤进行刷机,我成功了。进入系统之后,内置就有各种语言版本可供选择,直接选择 中文(简体) 即可。

PS:刚开始时,命令“adb devices” 一直列不出 Nexus4 的机子,弄了半天,原来是 “USB调试”没有打开...

1.2、

  网页上的主要刷机步骤:

To flash a system image:

  1. Download the appropriate system image for your device below, then unzip it to a safe directory.
  2. Connect your device to your computer over USB.
  3. Start the device in fastboot mode with one of the following methods: (ZC: 这里的意思是,下面两个方法,2选1,我当时傻傻的以为需要两个步骤都要做...其实我第一个步骤已经成功就OK了)
    • Using the adb tool: With the device powered on, execute:
      adb reboot bootloader
    • Using a key combo: Turn the device off, then turn it on and immediately hold down the relevant key combination for your device. For example, to put a Nexus 5 ("hammerhead") into fastboot mode, press and hold Volume Up + Volume Down + Power as the device begins booting up.
  4. If necessary, unlock the device's bootloader by running:
    fastboot oem unlock
    The target device will show you a confirmation screen. (This erases all data on the target device.)
  5. Open a terminal and navigate to the unzipped system image directory.
  6. Execute the flash-all script. This script installs the necessary bootloader, baseband firmware(s), and operating system.

参考备用网址:

(1)、

Using Hardware Devices   http://developer.android.com/tools/device.html

  (1.1)、

  OEM USB Drivers   http://developer.android.com/tools/extras/oem-usb.html

ZC: (20160315)我忘了 之前是怎么做的了,最后一步 执行"flash-all.bat"的时候 如果路径是在"...occam-krt16s"里面的话 会提示找不到"fastboot.exe",于是我只能在"...android-sdkplatform-tools"下操作,只能将 文件"bootloader-mako-makoz20i.img"、"flash-all.bat"、"image-occam-krt16s.zip"、"radio-mako-m9615a-cefwmazm-2.0.1700.84.img"复制到"...android-sdkplatform-tools"下 然后再执行"flash-all.bat"

ZC: (20160315)关于上面的问题,貌似想起来了,可以 在CMD里面 将"...android-sdkplatform-tools"临时添加到PATH里面,然后在 "...occam-krt16s"中执行"flash-all.bat"的话 就不会有问题了。

C

原文地址:https://www.cnblogs.com/codeskilla/p/5162237.html