/Universal-init.d

A simple Android application which emulates the behavior of the init.d kernel mechanism (automatic execution of the scripts contained within the /system/etc/init.d folder at each boot)

Primary LanguageJava

Universal-init.d

A simple Android application which emulates the behavior of the init.d kernel mechanism

(automatic execution of the scripts contained within the /system/etc/init.d folder at each boot)

What makes this method really universal is that everything happens on the app side, no system files modifications are required whatsoever. The tool basically emulates the behavior of the init.d kernel mechanism : it will detect whenever the device is rebooted and execute the scripts located in /system/etc/init.d.

With this new init.d support granting mechanism comes a new kernel-sided init.d support detection mechanism, so that your int.d scripts don't get executed twice, which would only make for a longer boot time. Basically, when you run the test, it will generate a little init.d script which creates a file on your sdcard. Then, after you rebooted, it will check if the file that the generated script creates has indeed been created in order to determine if your kernel already has init.d support built-in. If the file was created, it does. If not, it doesn't, as simple as that.

An additionnal functionnality to this tool is the ability to manage, edit, delete & run your init.d scripts with the touch of a button.

Download on Google Play : https://play.google.com/store/apps/details?id=com.androguide.universal.init.d

Dependencies

This project depends on the following open source libraries :

Contribute

Clone the repo, make your changes then create a pull request. If your commit is accepted it will probably be merged in a future build of Pimp My Rom.

Background

This app is a standalone version of the universal init.d support tool included in Pimp My Rom from beta 1.0 onwards.

License

Copyright 2013 Louis Teboul (a.k.a Androguide)

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Screenshots

Wireframe Galay nexus 1Wireframe Galay nexus 2Wireframe Galay nexus 3Wireframe Nexus 7 - 1Wireframe Nexus 7 - 2Wireframe Nexus 7 - 3