Galaxy Nexus IMM76K 手动升级 4.1.1

手上 Galaxy Nexus是 IMM76K,一直等不到OTA升级。查了一下,这是三×来管理的OTA的机器,Google不管。是后娘养的。只好自己动手回到Google箮理之下。


前提升级需要在Linux  下,我的电脑装的Arch


升级过程非常简单。


英文的升级说明:

Instructions

You will find these files useful if you have used the Android Open-Source Project, flashed custom builds on your device, and wish to return that device to its factory state.

In order to use these files, you need to have the fastboot tool in your PATH. That tool is compiled as part of every configuration of the Android Open-Source Project and is the tool used to flash custom builds on your device. On GNU/Linux systems, this also implies that you have configured USB access as mentioned in the machine setup instructions.

Your device needs to be in fastboot mode, with the bootloader unlocked. The relevant key combinations and commands are documented on the page about building for devices.

You need to uncompress each download before use, which creates a new directory for that exact download. That directory contains a ./flash-all.sh script, which handles the various operations, installs the necessary bootloader, baseband firmware(s), and operating system. Note that this operation deletes all user data by default.

After restoring a factory image, it is recommended that you lock the bootloader, for security reasons.


我的操作步骤,总共5步

1 让手机进入fastboot模式

2 解锁

3 刷固件,完成后自动重启

4让手机进入fastboot模式 

5 加锁


固件网址:

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


我下载的

4.1.1 (JRO03C)

Factory Images "yakju" for Galaxy Nexus "maguro" (GSM/HSPA+)

Version Download MD5 Checksum SHA-1 Checksum
4.0.4 (IMM76I) Link 31447212fb4fb00aab4ef8bdc78e7ffb 8001e72f6a62e000202be93084beac3bb1e13662
4.1.1 (JRO03C) Link 61cad184127144888445987249f06fca 3174c1e570434dbc49dbbc353a40c948fbff8e70
1 让手机进入fastboot模式

方法:在关机状态下同时按“音量+”和“音量-”和“电源”三个键,等待机器发出轻微震动即可放开


2 解锁 运行命令

$ fastboot oem unlock
...
OKAY [ 13.171s]
finished. total time: 13.172s

3 刷固件,完成后自动重启

下载后:yakju-jro03c-factory-3174c1e5.tgz, 需要解压缩。解压后有5个文件 

-rw-r----- 1 hpc hpc   2363392 Jul 27 22:58 bootloader-maguro-primelc03.img
-rwxr-x--x 1 hpc hpc       831 Jul 27 22:58 flash-all.sh
-rwxr-x--x 1 hpc hpc       789 Jul 27 22:58 flash-base.sh
-rw-r----- 1 hpc hpc 241199343 Jul 27 22:58 image-yakju-jro03c.zip
-rw-r----- 1 hpc hpc  12583168 Jul 27 22:58 radio-maguro-i9250xxlf1.img

执行:flash-all.sh

[hpc@archhost yakju-jro03c]$ ./flash-all.sh 
sending 'bootloader' (2308 KB)... OKAY [  0.577s] writing 'bootloader'... OKAY [  0.287s] finished. total time: 0.864s rebooting into bootloader... OKAY [  0.006s] finished. total time: 0.006s sending 'radio' (12288 KB)... OKAY [  3.086s] writing 'radio'... OKAY [  1.375s] finished. total time: 4.462s rebooting into bootloader... OKAY [  0.006s] finished. total time: 0.006s archive does not contain 'boot.sig' archive does not contain 'recovery.sig' archive does not contain 'system.sig' -------------------------------------------- Bootloader Version...: PRIMELC03 Baseband Version.....: I9250XXLF1 Serial Number........: 016B806214005016 -------------------------------------------- checking product... OKAY [  0.007s] checking version-bootloader... OKAY [  0.008s] checking version-baseband... OKAY [  0.008s] sending 'boot' (4366 KB)... OKAY [  1.092s] writing 'boot'... OKAY [  0.267s] sending 'recovery' (4708 KB)... OKAY [  1.192s] writing 'recovery'... OKAY [  0.313s] sending 'system' (396675 KB)... OKAY [ 99.441s] writing 'system'... OKAY [ 35.623s] erasing 'userdata'... OKAY [  0.290s] erasing 'cache'... OKAY [  0.013s] rebooting... finished. total time: 138.346s 

日志如上所示:总共用时138.346秒

未解锁,有出错日志:


[hpc@archhost yakju-jro03c]$ ./flash-all.sh 
sending 'bootloader' (2308 KB)...
OKAY [  0.573s]
writing 'bootloader'...
FAILED (remote: Bootloader Locked - Use "fastboot oem unlock" to Unlock)
finished. total time: 0.642s
rebooting into bootloader...
OKAY [  0.006s]
finished. total time: 0.006s
sending 'radio' (12288 KB)...
OKAY [  3.069s]
writing 'radio'...
FAILED (remote: Bootloader Locked - Use "fastboot oem unlock" to Unlock)
finished. total time: 3.075s
rebooting into bootloader...
OKAY [  0.006s]
finished. total time: 0.006s
archive does not contain 'boot.sig'
archive does not contain 'recovery.sig'
archive does not contain 'system.sig'
--------------------------------------------
Bootloader Version...: PRIMEKK15
Baseband Version.....: I9250XXLA2
Serial Number........: 016B806214005016
--------------------------------------------
checking product...
OKAY [  0.006s]
checking version-bootloader...
FAILED


Device version-bootloader is 'PRIMEKK15'.
Update requires 'PRIMELC03'.


finished. total time: 0.067s
[hpc@ming-archhost yakju-jro03c]$ fastboot oem unlock
...
OKAY [ 13.171s]
finished. total time: 13.172s


4让手机进入fastboot模式

方法:在关机状态下同时按“音量+”和“音量-”和“电源”三个键,等待机器发出轻微震动即可放开


5 加锁

$ fastboot oem lock
...
OKAY [  0.170s]
finished. total time: 0.170s

完毕。


你可能感兴趣的:(Google,System,手机,download,archive,combinations)