您的位置:首页 > 移动开发 > Android开发

How to edit init.rc in Android?

2009-09-09 10:10 435 查看
init.rc is really part of the ramdisk image (included in boot.img with the kernel image).

You need to regenerate a new ramdisk + boot image for this to work. There is no way to modify this file after boot.

After "out/host/linux-x86/bin/mkbootimg
--kernel xxxx/bsp/prebuilt/target/images/zImage
--ramdisk
out/target/product/XXXX/ramdisk.img
-o out/target/product/XXXX/boot.img
",
user can get

out/target/product/XXXX/boot.img
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: