当我尝试通过fastboot system.img(从我的自定义AOSP版本)闪存到Sony Xperia Z3时,我收到以下错误:
# fastboot flash system system.img sending 'system' (584106 KB)... OKAY [ 18.294s] writing 'system'... FAILED (remote: size too large) finished. total time: 18.297s
Z3有大约2GB的系统分区,我不知道为什么闪存失败.
这会强制fastboot自动将文件稀疏到大小为K |的给定范围 M | G,在这种情况下为256M
fastboot flash –S 256M system PATH_TO_SYSTEM.img