Injector - An Android Ramdisk Injection Tool
I find it strange that something similar has never been published on XDA. Especially as I have seen many people wishing for an easy way to modify ramdisk content on Android devices. I myself have been looking for a way to easily add init.d support to devices. Something that could be placed in one single recovery package with cross-compatibility. Anyway, here is my attempt to provide such a tool.
Injector is a recovery script that enables you to modify the ramdisk on multiple devices, without having to worry about creating device specific code. The injector will extract the ramdisk for you, and it will write it back to the boot partition once you are done. All you have to do, is create any script that does whatever work you need it to do, place it in the injector.d folder, compress the updater archive and upload.
At this moment, injector does lack one very important thing. More device support. At this time, I have only added support for QSD8K devices, and I am about to add support for Galaxy SIII. These are the devices that I own. Further support will require a little help from people owning other devices. You can have me add it, or you can push it to the git yourself. Once the list of devices grows bigger, this could become a useful tool.
Source
I find it strange that something similar has never been published on XDA. Especially as I have seen many people wishing for an easy way to modify ramdisk content on Android devices. I myself have been looking for a way to easily add init.d support to devices. Something that could be placed in one single recovery package with cross-compatibility. Anyway, here is my attempt to provide such a tool.
Injector is a recovery script that enables you to modify the ramdisk on multiple devices, without having to worry about creating device specific code. The injector will extract the ramdisk for you, and it will write it back to the boot partition once you are done. All you have to do, is create any script that does whatever work you need it to do, place it in the injector.d folder, compress the updater archive and upload.
At this moment, injector does lack one very important thing. More device support. At this time, I have only added support for QSD8K devices, and I am about to add support for Galaxy SIII. These are the devices that I own. Further support will require a little help from people owning other devices. You can have me add it, or you can push it to the git yourself. Once the list of devices grows bigger, this could become a useful tool.
Source