首页 > 数码玩家 > Nexus7刷机及获取root权限

Nexus7刷机及获取root权限

2013-11-28 15:45 星期四    浏览: 2,226    绿 发表评论 阅读评论

老版本(2012)年的Nexus7,OTA无线网络升级到4.4失败,出来个提示“无命令”,变砖头。现使用fastboot线刷。到Google官方https://developers.google.com/android/nexus/images下载个最新的images。Nexus7有多个版本,新出的二代是2013版本的,老的是2012版本的,支持3G的是Mobile版本,否则是wifi版本。下载2012/wifi版的4.4:https://developers.google.com/android/nexus/images#nakasi

下载完后解压缩,查看flash-all.sh脚本,包含下面的fastboot命令:

fastboot oem unlock
fastboot erase boot
fastboot erase cache
fastboot erase recovery
fastboot erase system
fastboot erase userdata
fastboot flash bootloader bootloader-grouper-4.23.img
fastboot reboot-bootloader
sleep 10
fastboot -w update image-nakasi-krt16s.zip

按住下方的音量键(减小音量),再按开机键开机,从而进入Fastboot模式,用fastboot devices命令检查是否连接好,若连接好,则手工执行下面的命令进行刷机:

sudo /opt/android-sdk-linux/platform-tools/fastboot flash bootloader bootloader-grouper-4.23.img

[sudo] password for bill:
< waiting for device >
sending ‘bootloader’ (2100 KB)…
OKAY [ 2.293s]
writing ‘bootloader’…
OKAY [ 11.435s]
finished. total time: 13.728s
bill@xubuntu:~/Downloads/Nexus7-binary/nakasi-krt16s$ sudo /opt/android-sdk-linux/platform-tools/fastboot reboot-bootloader
rebooting into bootloader…
OKAY [ 0.019s]
finished. total time: 0.019s
bill@xubuntu:~/Downloads/Nexus7-binary/nakasi-krt16s$ sudo /opt/android-sdk-linux/platform-tools/fastboot -w update image-nakasi-krt16s.zip
archive does not contain ‘boot.sig’
archive does not contain ‘recovery.sig’
archive does not contain ‘system.sig’
——————————————–
Bootloader Version…: 4.23
Baseband Version…..: N/A
Serial Number……..: 015d1244cd5c1401
——————————————–
checking product…
OKAY [ 0.030s]
checking version-bootloader…
OKAY [ 0.020s]
sending ‘boot’ (4990 KB)…
OKAY [ 0.649s]
writing ‘boot’…
OKAY [ 1.741s]
sending ‘recovery’ (5530 KB)…
OKAY [ 0.723s]
writing ‘recovery’…
OKAY [ 0.921s]
erasing ‘system’…
OKAY [ 1.648s]
sending ‘system’ (611886 KB)…
OKAY [ 77.551s]
writing ‘system’…
OKAY [ 46.631s]
erasing ‘userdata’…
OKAY [ 9.531s]
formatting ‘userdata’ partition…
Creating filesystem with parameters:
Size: 6453985280
Block size: 4096
Blocks per group: 32768
Inodes per group: 8048
Inode size: 256
Journal blocks: 24620
Label:
Blocks: 1575680
Block groups: 49
Reserved block group size: 391
Created filesystem with 11/394352 inodes and 52512/1575680 blocks
sending ‘userdata’ (102525 KB)…
writing ‘userdata’…
OKAY [ 33.187s]
erasing ‘cache’…
OKAY [ 1.423s]
formatting ‘cache’ partition…
Creating filesystem with parameters:
Size: 464519168
Block size: 4096
Blocks per group: 32768
Inodes per group: 7088
Inode size: 256
Journal blocks: 1772
Label:
Blocks: 113408
Block groups: 4
Reserved block group size: 31
Created filesystem with 11/28352 inodes and 3654/113408 blocks
sending ‘cache’ (9052 KB)…
writing ‘cache’…
OKAY [ 3.620s]
rebooting…

finished. total time: 177.762s

这样,“砖头”又焕发了活力。

注:若是下载错了版本,fastboot会提示Remote invailid State,而Nexus7上会提示signature mismatch。

Android4.4的版本信息:

Android4.4版本信息

连续多次点击上面的Android Version可以出现“K”的界面,再点击它,出现下面的大红界面:

再尝试连续点击版本信息中最后一项“Build number”,则会激活开发者选项,如激活adb。

 

再之后可以选择root它:

到网上搜索由热心的WugFresh(http://www.wugfresh.com/nrt/)开发的:NRT_v1.7.8.sfx.exe

按照它上面的提示步骤一步步来操作。在root过程中会提示下载下面几个软件。若没有联网,可以提前一次性下载好:

openrecovery-twrp-2.6.3.1-grouper.img

http://techerrata.com/get/twrp2/grouper/openrecovery-twrp-2.6.3.1-grouper.img

UPDATE-SuperSU-v1.69.zip

https://www.androidfilehost.com/?fid=23212708291677767

modified_boot_nakasi_4.4.0_KRT16O.img

https://www.androidfilehost.com/?fid=23212708291677747

 

本文链接地址: http://blog.redwolf-soft.com/?p=2398

原创文章,版权©红狼博客所有, 转载随意,但请注明出处。

    分享到:

相关文章:

  • 无相关文章
分类: 数码玩家 标签:
  1. 本文目前尚无任何评论.
订阅评论
  欢迎参与讨论,请在这里发表您的看法、交流您的观点。