赞
踩
android10 (Q) go版本刷GSI时候,提示如下错误:
$fastboot flash system system.img
Invalid sparse file format at header magic
Resizing 'system' FAILED (remote: 'Not enough space to resize partition')
fastboot: error: Command failed
从提示的错误可以看出是空间不足,需要调整分区。
Android Q 开始有了super分区,想要解决以上的问题,需要增加super分区的大小,增大分区后重新刷GSI,结果如下:
$fastboot flash system system.img
Invalid sparse file format at header magic
Resizing 'system' OKAY [ 0.007s]
Sending sparse 'system' 1/4 (261900 KB) OKAY [ 23.725s]
Writing 'system' OKAY [ 4.112s]
Sending sparse 'system' 2/4 (261828 KB) OKAY [ 23.732s]
Writing 'system' OKAY [ 4.986s]
Sending sparse 'system' 3/4 (262032 KB) OKAY [ 23.334s]
Writing 'system' OKAY [ 5.008s]
Sending sparse 's
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。