Hawker
Android Expert
Voltage Control v4.9.10 and later now gives you the option to store your settings as an init.d script (as usual) or as a startup service.
init.d script
This, in my opinion is the best one to choose. It keeps things simple, allowing you to see your settings in one single file if you need to, and gives you more flexibility in swapping previously saved scripts over, turning settings off etc. using root explorer or similar. However, the drawback of this method lies in the way Linux executes init.d scripts on startup. This is done on an ascii character value basis, and these scripts get executed in a numeric-alphabetic order. The file VC creates is called S91voltctrl. Therefore, if a file exists after this in init.d folder that also adjusts any settings, then these will be implemented as well as/instead of your VC settings.
Startup service
The mechanism of how this is done is a bit of a black box to me at the moment. Suffice to say, after all init.d scripts have completed, media scanning is done etc. VC then loads its settings as a default profile. Where the profile is stored and how exactly this is run, I'm not quite sure yet. Obviously this has the benefit of guaranteeing that whatever settings you put in place into VC will be the settings that will actually be in place on your device.
Now, the point of this post, is for those of you who adjust your VC settings frequently, and perhaps select the "save as boot settings" option as a matter of course, before testing. This is never recommended, but if you are using the Startup Service method, then D O N ' T ! ! !
Historically, VC has provided a CWM flashable zip on the root of the SD card called vcremoveboot-CWM.zip. This is your get-out-of-jail card in case things go wrong. I've examined this script, and all it does is to remove /system/etc/init.d/S91voltctrl. It does not remove any Startup Service options. So if you have saved your settings as a startup service, you will no longer have this to fall back on. The only way I can see to remove these Startup Service settings is by choosing the Remove boot settings option in VC itself, but if your phone can't boot due to badly chosen settings, then it would seem you are stuffed! I would hope that a later version of VC will address this shortcoming.
I can see the possible advantages of the Startup Service option, but for me, init.d is still the way to do it. Its far more flexible and way safer.
init.d script
This, in my opinion is the best one to choose. It keeps things simple, allowing you to see your settings in one single file if you need to, and gives you more flexibility in swapping previously saved scripts over, turning settings off etc. using root explorer or similar. However, the drawback of this method lies in the way Linux executes init.d scripts on startup. This is done on an ascii character value basis, and these scripts get executed in a numeric-alphabetic order. The file VC creates is called S91voltctrl. Therefore, if a file exists after this in init.d folder that also adjusts any settings, then these will be implemented as well as/instead of your VC settings.
Startup service
The mechanism of how this is done is a bit of a black box to me at the moment. Suffice to say, after all init.d scripts have completed, media scanning is done etc. VC then loads its settings as a default profile. Where the profile is stored and how exactly this is run, I'm not quite sure yet. Obviously this has the benefit of guaranteeing that whatever settings you put in place into VC will be the settings that will actually be in place on your device.
Now, the point of this post, is for those of you who adjust your VC settings frequently, and perhaps select the "save as boot settings" option as a matter of course, before testing. This is never recommended, but if you are using the Startup Service method, then D O N ' T ! ! !
Historically, VC has provided a CWM flashable zip on the root of the SD card called vcremoveboot-CWM.zip. This is your get-out-of-jail card in case things go wrong. I've examined this script, and all it does is to remove /system/etc/init.d/S91voltctrl. It does not remove any Startup Service options. So if you have saved your settings as a startup service, you will no longer have this to fall back on. The only way I can see to remove these Startup Service settings is by choosing the Remove boot settings option in VC itself, but if your phone can't boot due to badly chosen settings, then it would seem you are stuffed! I would hope that a later version of VC will address this shortcoming.
I can see the possible advantages of the Startup Service option, but for me, init.d is still the way to do it. Its far more flexible and way safer.