capturepointer
V2EX  ›  Android

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

  •  
  •   capturepointer · Oct 2, 2017 · 13194 views
    This topic created in 3160 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
        1
    acrisliu  
       Oct 3, 2017 via Android
    Size too large.
    是不是 system 分区空间不够了?
    Tyanboot
        2
    Tyanboot  
    PRO
       Oct 3, 2017 via Android
    是不是没有把 system.img 用 img2simg 转成 simg ?
    capturepointer
        3
    capturepointer  
    OP
       Oct 3, 2017
    @acrisliu 问题解决了,我使用 fastboot flashall -w 就可以了
    capturepointer
        4
    capturepointer  
    OP
       Oct 3, 2017
    @Tyanboot 问题解决了,我使用 fastboot flashall -w 就可以了
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1028 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 22:34 · PVG 06:34 · LAX 15:34 · JFK 18:34
    ♥ Do have faith in what you're doing.