Welcome Guest ( Log In | Register )

Outline · [ Standard ] · Linear+

 [SCRIPTS][TWEAKS] ThunderBolt! v2.7.7 - 6/17/12, Better Battery Life & Performance!

views
     
zeneziz
post Jul 18 2012, 10:29 AM

Getting Started
**
Junior Member
241 posts

Joined: Apr 2006
isit necessary to load the scripts with scripts manager?
because right after i flashed it and reboot phone then i run terminal emulator to test the scripts and from the result, it seem the scripts already loaded even before i run it with script manager.

i wish to include your scripts into my own customized stunner 1.6.26 rom but not sure the right to do it. can i just copy those script files into the respective folders and add the lines to set permission in updater_script?

thanks
zeneziz
post Jul 18 2012, 02:52 PM

Getting Started
**
Junior Member
241 posts

Joined: Apr 2006
QUOTE(pikachu01 @ Jul 18 2012, 12:27 PM)
Only certain scripts need to be loaded in Script Manager. I've stated in the first post in XDA that:
- remount needs to be loaded as it should be the last script that is running so that it will survive the kernel doing a remount when booting
- zipalign can be done in Script Manager to hasten boot time.
- sqlite_optimize can be done in Script Manager to hasten boot time

The "How do I know if it works" section only validates some portion of the scripts (not including the remount etc).

You can include it if you include proper credits.

Copy whatever in the /system and add the lines to set permission in updater_script smile.gif
*
Thanks for the prompt reply.

Ok actually here's my concern, let's say i've included your scripts into the rom, how to load those scripts (remount, zipalign, sqlite_optimize) without having the rom user manually load those scripts with Script Manager?

Yes of cos proper credits will be given biggrin.gif
zeneziz
post Jul 18 2012, 03:59 PM

Getting Started
**
Junior Member
241 posts

Joined: Apr 2006
QUOTE(pikachu01 @ Jul 18 2012, 02:58 PM)
You'll need to put it in /etc/init.d

Putting it init.d will slow down boot up though as the scripts will need to be done before boot up occurs, which prompted me to use Script Manager instead.
*
Oic.. ok thank you very much. I'll give it a try. rclxms.gif


Added on July 18, 2012, 4:20 pmBy the way when you said add those script files into /etc/init.d, do you mean all files from the /etc/bolt_scripts or just those certain files only (remount, sqlite_optimize, s70darky_zipalign & S98CFS)?

This post has been edited by zeneziz: Jul 18 2012, 04:20 PM

 

Change to:
| Lo-Fi Version
0.0207sec    0.25    7 queries    GZIP Disabled
Time is now: 5th December 2025 - 08:48 PM