Nexus 5刷机Google原生系统

本文记录了一次使用命令行进行一键刷机的过程。包括发送并写入bootloader、radio等组件,以及格式化userdata和cache分区等内容。展示了详细的刷机步骤与时间消耗。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

刷机使用命令行也是一键式的,实在是太棒了。

主要是看得这里Factory Images for Nexus and Pixel Devices,这里只是记录一下刷机过程。

tony@tony-E431:~/Downloads/hammerhead-m4b30z$ ./flash-all.sh 
target reported max download size of 1073741824 bytes
sending 'bootloader' (3124 KB)...
OKAY [  0.308s]
writing 'bootloader'...
OKAY [  0.517s]
finished. total time: 0.825s
rebooting into bootloader...
OKAY [  0.100s]
finished. total time: 0.157s
target reported max download size of 1073741824 bytes
sending 'radio' (45489 KB)...
OKAY [  1.616s]
writing 'radio'...
OKAY [  3.129s]
finished. total time: 4.745s
rebooting into bootloader...
OKAY [  0.100s]
finished. total time: 0.150s
target reported max download size of 1073741824 bytes
archive does not contain 'boot.sig'
archive does not contain 'recovery.sig'
archive does not contain 'system.sig'
archive does not contain 'vendor.img'
wiping userdata...
Creating filesystem with parameters:
    Size: 29236371456
    Block size: 4096
    Blocks per group: 32768
    Inodes per group: 8192
    Inode size: 256
    Journal blocks: 32768
    Label: 
    Blocks: 7137786
    Block groups: 218
    Reserved block group size: 1024
Created filesystem with 11/1785856 inodes and 156120/7137786 blocks
wiping cache...
Creating filesystem with parameters:
    Size: 734003200
    Block size: 4096
    Blocks per group: 32768
    Inodes per group: 7472
    Inode size: 256
    Journal blocks: 2800
    Label: 
    Blocks: 179200
    Block groups: 6
    Reserved block group size: 47
Created filesystem with 11/44832 inodes and 5813/179200 blocks
--------------------------------------------
Bootloader Version...: HHZ20h
Baseband Version.....: M8974A-2.0.50.2.30
Serial Number........: 0194fe01d0216a6a
--------------------------------------------
checking product...
OKAY [  0.100s]
checking version-bootloader...
OKAY [  0.100s]
checking version-baseband...
OKAY [  0.100s]
sending 'boot' (9156 KB)...
OKAY [  0.500s]
writing 'boot'...
OKAY [  0.780s]
sending 'recovery' (10014 KB)...
OKAY [  0.560s]
writing 'recovery'...
OKAY [  0.831s]
erasing 'system'...
OKAY [  0.940s]
sending 'system' (1020657 KB)...
OKAY [ 32.174s]
writing 'system'...
OKAY [ 68.828s]
erasing 'userdata'...
OKAY [ 20.807s]
sending 'userdata' (139109 KB)...
OKAY [  4.571s]
writing 'userdata'...
OKAY [  9.341s]
erasing 'cache'...
OKAY [  0.572s]
sending 'cache' (13348 KB)...
OKAY [  0.630s]
writing 'cache'...
OKAY [  1.077s]
rebooting...

finished. total time: 142.470s
tony@tony-E431:~/Downloads/hammerhead-m4b30z$
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

袁保康

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值