编译的 system.img 刷入 nexus 5 的时候报错

2017-10-02 23:19:27 +08:00
 capturepointer

编译的 system.img 刷入 nexus 5 的时候报错,命令:

fastboot flash  system system.img

得到错误如下:

arget reported max download size of 1073741824 bytes
nvalid sparse file format at header magi
rasing 'system'...
KAY [  0.637s]
ending sparse 'system' 1/1 (499041 KB)...
KAY [ 17.526s]
riting 'system' 1/1...
AILED (remote: size too large)
inished. total time: 18.362s

google 了一圈了,还是没有能够解决!

5136 次点击
所在节点    Android
4 条回复
acrisliu
2017-10-03 00:18:49 +08:00
Size too large.
是不是 system 分区空间不够了?
Tyanboot
2017-10-03 00:53:32 +08:00
是不是没有把 system.img 用 img2simg 转成 simg ?
capturepointer
2017-10-03 09:14:26 +08:00
@acrisliu 问题解决了,我使用 fastboot flashall -w 就可以了
capturepointer
2017-10-03 09:14:34 +08:00
@Tyanboot 问题解决了,我使用 fastboot flashall -w 就可以了

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/395221

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX