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
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
相关文章推荐
- How to edit the init.rc in android
- How to disable cursor positioning and text selection in an EditText? (Android)
- How to play videos in android from assets folder or raw folder?
- How to disable gradle 'offline mode' in android studio?
- Android 修改init.rc (related to ramdisk.img)
- In Android how to display one view as overlay on top of another view?
- How to add,edit and delete key-value in localStorage of Browse
- How to declare global variables in Android? --- Application Subclasses
- How to add a linked source folder in Android Studio?
- 【iMX6QD】 How to Add 24-bit LVDS Support in Android
- How to do android emma coverage test in your own ant scipts
- How to Render Image Buffer in Android NDK Native Code
- How to get the SHA-1 fingerprint certificate in Android Studio for debug mode?
- How to install Android SDK in Ubuntu System
- How to provide animation when calling another activity in Android?( from Stack overflow)
- How to prevent subsequent initialization in Android
- How to Create Custom Window Title in Android
- How to do android emma coverage test in your own ant scipts
- How to trim and edit videos in Photos for OS X
- how to edit grub2 menu in ubuntu