android fastboot flash system 失败

wanqi@wanqi-System-Product-Name:~/Q7_backup/mydroid$ sudo fastboot flash system out/target/product/msm7627_ffa/system.img 

  sending 'system' (160058 KB)... FAILED (data transfer failure (Cannot send after transport endpoint shutdown))

出现这样的原因是因为system.img 太大了。我看了一下有156MB,要把它变小一点。
1:修改
/packages/thirdparty/productName/Android.mk文件 去掉第三方的apk.
2:
source build/envsetup
choosecombo 
make clean

你可能感兴趣的:(android)