• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root Source Modifications - init.rc

Yoinx

Android Expert
So, I've been trying to modify the sources to add various lines to on xxx events in the init.rc on build.

So far, I've been unsucessful.

Does anyone know how you go about this? The bits in the source dont really look like they all get included into the final init.rc in the ramdisk.
 
I'm not sure what you're adding, but you'd probably have better luck adding it to init.iproj.rc as that should be getting called by init.rc as an import
https://github.com/thebigq/cm_device_lge_i_vzw/blob/jellybean/prebuilt/root/init.iproj.rc

Init.d support. Pretty sure it's gotta go into the main init.rc.... that's where I always hacked it into the ramdisk at anyway.

Figure if I can modify the source though, I can add the normal init.rc on build for startup shutdown like I used to do in that enhanced init. Project I had

Sent from my VS920 4G using Tapatalk 2
 
Back
Top Bottom