快速重建system.img

it2022-05-09  23

修改android的系统模块后, 需要重新生成system.img, 以前我用make systemimage,但这个过程太慢了,很烦人。于是通过make输出的信息, 找到一个比较快的方法,只编译模块和生成system.img,省去其它过程,重新生成system.img快了不少。 以修改services模块为例,命令如下: cd frameworks/base/servicesmmcd -out/host/linux-x86/bin/mkyaffs2image -f out/target/product/generic/system out/target/product/generic/system.img 其它模块类似, 呵~

转载于:https://www.cnblogs.com/sdphome/archive/2011/03/18/1987678.html


最新回复(0)