capturepointer
V2EX  ›  Android

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

  •  
  •   capturepointer · Oct 2, 2017 · 13945 views
    This topic created in 3325 days ago, the information mentioned may be changed or developed.

    编译的 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 了一圈了,还是没有能够解决!

    4 replies  •  2017-10-03 09:14:34 +08:00
    acrisliu
    acrisliu
    Oct 3, 2017 via Android
    1
    Size too large.
    是不是 system 分区空间不够了?
    Tyanboot
    Tyanboot
    Oct 3, 2017 via Android
    2
    是不是没有把 system.img 用 img2simg 转成 simg ?
    capturepointer
    capturepointer
    OP
    Oct 3, 2017
    3
    @acrisliu 问题解决了,我使用 fastboot flashall -w 就可以了
    capturepointer
    capturepointer
    OP
    Oct 3, 2017
    4
    @Tyanboot 问题解决了,我使用 fastboot flashall -w 就可以了
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2249 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 13:59 · PVG 21:59 · LAX 05:59 · JFK 08:59
    ♥ Do have faith in what you're doing.