[APP] Semaphore Script Manager v0.75

Search This thread

XuperLugia

Senior Member
Oct 26, 2010
124
71
San Fernando, Cádiz
Hi there,

in first place I wanted to thank you for your great app making quite easy the use of the normally user-unfriendly scripts, it's simple and it work flawlessly!

In the other hand and just like a suggestion maybe you could have a look at the CWM scripts and tweaks package that pikachu01 has released over the development board:

http://xdaforums.com/showthread.php?t=1296927

I suppose some scripts won't work or won't benefit Semaphore kernel but some others may benefit our phones, in a particular way the modified system_tweak, optimizations for sqlite and maybe the modified zipalign script that's supposed to work for every apk.

Thanks in advance HM.Carbide.
 
Last edited:

HM.Carbide

Senior Member
Nov 29, 2010
390
445
Hi there,

in first place I wanted to thank you for your great app making quite easy the use of the normally user-unfriendly scripts, it's simple and it work flawlessly!

In the other hand and just like a suggestion maybe you could have a look at the CWM scripts and tweaks package that pikachu01 has released over the development board:

http://xdaforums.com/showthread.php?t=1296927

I suppose some scripts won't work or won't benefit Semaphore kernel but some others may benefit our phones, in a particular way the modified system_tweak, optimizations for sqlite and maybe the modified zipalign script that's supposed to work for every apk.

Thanks in advance HM.Carbide.

I'am already looking into this :).

Most of the tweaks are already available through Semaphore Script Manager and Semaphore kernel.
You can even configure them more precise.

The S98system_tweak of pikachu configures for eg fix 1024kb read ahead. This is a bit too much for me.
In Semaphore Script Manager you can choose the read ahead. My recommendation is 256kb/64kb. But you can test it, and choose your preference.
 
Last edited:
  • Like
Reactions: eliteforce

DanDroidian

Senior Member
Jun 7, 2011
807
239
Phnom Penh
There is a lot of helpful info here about the different settings for Semaphore, BUT I still have many unanswered questions... I've searched but couldn't find much more info.

Surely there is a post/thread that explains ALL the tweaks in simple English and tells u the pros and cons..? Deadline scheduler, for example...? Please point me in the right direction if u can... Thx

Sent from my GT-I9000 using Tapatalk

Sent from my GT-I9000 using Tapatalk
 

HM.Carbide

Senior Member
Nov 29, 2010
390
445
There is a lot of helpful info here about the different settings for Semaphore, BUT I still have many unanswered questions... I've searched but couldn't find much more info.

Surely there is a post/thread that explains ALL the tweaks in simple English and tells u the pros and cons..? Deadline scheduler, for example...? Please point me in the right direction if u can... Thx

Sent from my GT-I9000 using Tapatalk

Sent from my GT-I9000 using Tapatalk

I am testing different configurations, how they behave in all day use.
For a good test enviroment i always take semaphore default, and change only one feature for a couple of days.
Until now, i have not tested the difference between noop and deadline scheduler.
I want not only to describe the technical difference, i also want to give a recommendation, what works good on our phone.


Sent from my GT-I9000 using XDA App
 

zeppelinrox

Senior Member
Dec 21, 2010
9,374
21,590
IN THE FREAKIN' OP
There are a lot of scripts for optimizing Android. Pikachu made a thread describing them: Android Optimizations

But it is a lot to read, and I will try to explain the AddOn features with simple words.
Here's a simple word: kang.


You forgot about my thread.
And to mention my name in your OP - and in your HTK script.. which is really the reassigning of grouping parameters - does nothing for the launcher on it's own.

For the real hard to kill launcher, supercharge... sheesh.. this is so lame
 

HM.Carbide

Senior Member
Nov 29, 2010
390
445
Here's a simple word: kang.


You forgot about my thread.
And to mention my name in your OP - and in your HTK script.. which is really the reassigning of grouping parameters - does nothing for the launcher on it's own.

For the real hard to kill launcher, supercharge... sheesh.. this is so lame

Sorry for the name confict "Hard to kill launcher", and that I did not mention your thread explicitely, as I thought pikachu's thread discribes ALL the optimizer scripts, and has also linked your thread.
So in my opinion, it was the best starting point for people who want to read in detail.

This thread is an app thread.
Semaphore Script Manager is an app to give users very easy support for installing, deinstalling and running scripts for Semaphore Kernel.
Everything transparent, so everyone can understand, and nothing will be left on system, if features are disabled.

Every one can copy/ create his own scripts, and also share scripts to others, if he want.

There are sample scripts provided, to show, how to write and use scripts for the app.
I always wrote inside the script, who made the settings.
(for eg. More sensitive touchscreen (Chainfire) ).

I'll think supercharger is doing more and/or complete different things, than the single echo line in the semaphore script in 1st post.
So it would be not a good idea, if I will write:

Hard to kill launcher (zeppelinrox)

because everyone would think, it is the same done as in supercharger, and it isn't.

I will simple remove the script from first post.

Anyway, you are welcome to provide
supercharger scripts for the semaphore script manager.
Easy enable/disable or choice scripts.
It would be a real benefit for users of galaxy s and semaphore kernel.
 
Last edited:

zeppelinrox

Senior Member
Dec 21, 2010
9,374
21,590
IN THE FREAKIN' OP
OOM Grouping arrangement (zeppelinrox) is more accurate but it wouldn't really be the same either because doing that single echo line will only move secondary server apps from slot 4 to slot 3 and that's all - has no effect on the launcher.
But even so, those values are meant for supercharged ADJ settings and not stock ADJ settings.
This is better OOM Rearrangement for stock ADJs - 0,2,4,7,14,15.
It moves secondary server to slot 3 but HEAVY_WEIGHT_APPs won't fall into slot 2 like they would with 0,3,5,7,14,15.

So you can use that (with my name in there) but calling it anything launcher related is inaccurate.
 

HM.Carbide

Senior Member
Nov 29, 2010
390
445
OOM Grouping arrangement (zeppelinrox) is more accurate but it wouldn't really be the same either because doing that single echo line will only move secondary server apps from slot 4 to slot 3 and that's all - has no effect on the launcher.
But even so, those values are meant for supercharged ADJ settings and not stock ADJ settings.
This is better OOM Rearrangement for stock ADJs - 0,2,4,7,14,15.
It moves secondary server to slot 3 but HEAVY_WEIGHT_APPs won't fall into slot 2 like they would with 0,3,5,7,14,15.

So you can use that (with my name in there) but calling it anything launcher related is inaccurate.

Thanks,
Best thing would be, if people with knowledge like you, would provide the scripts for the script manager :).
 

HM.Carbide

Senior Member
Nov 29, 2010
390
445
heh.. I havent tried it since I don't have a Galaxy S or should the app run on any android device?

I made the app especially for semaphore kernel of stratosk, because he provides a lot of scripts in /res/scripts folder to copy/remove them manually to/from init.d.
The app also allows to overrule/extend these script in a SemaphoreScripts folder on sdcard, so that everyone can easily edit the scripts.
At now the app checks, if it is running on semaphore kernel. If i remove the check, it would run on every kernel/ device.

Sent from my GT-I9000 using XDA App
 
  • Like
Reactions: dani_z

mar90

Member
Jan 2, 2010
49
2
Ipoh
enabling the virtual cache to 50mb does not work for me. /cache does show 50mb but android market gives error to every download.why is that?

edit: solved by removing the busybox file using root explorer.
 
Last edited:
  • Like
Reactions: madfix

HM.Carbide

Senior Member
Nov 29, 2010
390
445
New version of Semaphore Script Manager v0.62

Changelog v0.62:
- Fixed: Autorotation now uses system preferences
- Completely thread safe
- Collapsible Categories, to get a better overview (state will be remembered on open/close of the app and on reboot)
- better texts
- optimized app size
- added/enhanced scripts, so nearby every feature can be enabled/ disabled without reboot.
(so settings can be compared better. A reboot needs a long time and states are reseted, this makes it very hard to compare the settings.)
- New kernel feature:
* Underclocking
* Conservative Governor tweaked for long battery life
* all features are immediately disabled without reboot
- AddOn Tweaks:
* Immediate disable/enable of 50MB Cache, without reboot
* Touchscreen: Stock, Chainfire, very sensitive settings
- New script functions in Miscellaneous:
* Clean Busybox (deletes busybox in system/bin, system/xbin)
* Voodoo-Color set Stock Color ("disables" voodoo color, by setting stock colors)
* Profiles:
- Kernel default (disables all features and cleans init.d, only semaphore scripts, nothing else)
- Recommended(HM) (enables my preferred settings)
- SaveBattery (sets aggressive battery save setting, phone will lag a bit, good if long battery life is needed)

Install app:
Copy Semaphore apk to sd card and click on the file in any explorer on the phone.

Install Scripts:
unpack zip file:
Move the Folder inside to the sdcard. (On the sdcard should be a SemaphoreScripts folder and the scripts in it)

SemaphoreScripts_base1.82_reworked_v5_sdcard.zip:
The files are now prefixed, before copying them to scdard, delete SemaphoreScripts folder on sdcard, to avoid collitions.
 
  • Like
Reactions: dani_z and stratosk

macauf

Member
Apr 2, 2011
42
2
Thanks. I just note this post and the information is very useful to me. I am currently still using 0.51.

---------- Post added at 09:39 AM ---------- Previous post was at 09:29 AM ----------

+1 :).thank u sir for that explanation.
and wat about the advantage of using deadline I/o or noop..noop is for flash based memory devices rite and deadline not optimized for the same..so y many kernels and apps saying and providing deadline I/o as better??

same here. dude can you kindly post some explanations at the 1st post so that we can also learn more about different options of the script manager? i am a newbie and not so familiar with those deadline/ no-op/ simple io, ondemand/ smartass...

really appreciate your help.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 101
    Hi guys,

    this is a Semaphore Script Manager, which makes it easy for everyone to manage the scripts provided by stratosk in his great Semaphore Kernel in /res/scripts folder.


    It enables and disables all the features immediately if possible, and copies them to, or deletes them from /system/etc/init.d automatically.

    All features with one simple click, and that without reboot.

    Semaphore Script Manager will be included in Semaphore Kernel.
    Instead of installing the app, you can also wait until Stratosk releases a bundled version.
    He will also provide improved enable and disable scripts in this release.

    If you don't want to wait, here the installation guide:
    Copy Semaphore apk to sd card and click on the file in any explorer on the phone.
    If you want the newest scripts (not necessary for Semaphore Kernel 1.7.5+):
    unpack SemaphoreScripts.zip.
    Move the Folder inside to the sdcard. (On the sdcard should be a SemaphoreScripts folder and the scripts in it)

    Install Scripts (Still works for overruling scripts with own scripts):
    unpack zip file:
    Move the Folder inside to the sdcard. (On the sdcard should be a SemaphoreScripts folder and the scripts in it)

    New ScriptPack Support:
    - Download a ScriptPack from Tapatalk, XDA App or Browser
    - Start Semaphore Script Manager, open Menu - Manage Packages - Install <ScriptPack>
    or
    - Copy ScriptPack in /mnt/sdcard/SemaphoreScripts folder, and it is installed

    About ScriptPack's:
    - Base packages replaces complete the kernel scripts
    (this can be used for testing new versions)
    - AddOn packages can be installed additionally
    (this can be used to get more tweaks or features)

    Thanks:
    This app provides access to scripts that enables/ disables existing or extending kernel functionality or kernel tweaks.
    Everyone is welcome to create and provide scripts for the Semaphore Script Manager.
    If a tweak of someone else is used, it should be displayed directly by the feature shown in the app.
    If I am missing someone in existing scripts, please tell me, I will extend the credit list.

    Special thanks to Stratosk, Chainfire, Pikachu01, Mialwe and Zeppelinrox who made all features and tweaks, that are provided through the Semaphore Script Manager.

    Special thanks to ZaneZam for making the Bootanimation ScriptPack
    As it is not possible to upload a file with 15MB, please download it from the following link:
    Bootanmation Pack 1
    http://dl.dropbox.com/u/19934057/ScriptPack_AddOn_Bootanim1_v1.zip

    Bootanimation Pack 2
    http://dl.dropbox.com/u/19934057/ScriptPack_AddOn_Bootanim2_v1.zip

    Bootanimation Pack 3
    http://dl.dropbox.com/u/19934057/ScriptPack_AddOn_Bootanim3_v1.zip

    Bootanimation Pack 4
    http://dl.dropbox.com/u/19934057/ScriptPack_AddOn_Bootanim4_v1.zip

    Bootanimation Pack 5
    http://dl.dropbox.com/u/19934057/ScriptPack_AddOn_Bootanim5_v1.zip

    Bootanimation Pack Full
    http://dl.dropbox.com/u/19934057/ScriptPack_AddOn_Bootanim_v1.zip


    Problems and feature requests related to the app should be posted in this thread.

    There will come more features from time to time. The latest version will be always available in this thread.

    Older Versions moved to the second post.

    Have fun.

    Attention:

    All Script packages posted in the OP, are made for Gingerbread Semaphore Kernel.

    Please do not use them for the ICS Semaphore Kernel!!!

    Once I am on ICS too, I'll provide also AddOns for ICS.
    If there is a dev, or a advanced user, who knows what the scripts are doing, I would appreciate feedback, about Tweaks addon and Profile addon, if they are working on ICS.

    Thanks
    13
    ScriptPack_AddOn_Gov_v2.zip
    - Improved Save Battery Governor
    . * Samplingrate 20000 when screen on
    . * Samplingrate 200000 when screen off
    . * Up_Treshhold 98
    ScriptPack_AddOn_UV_v2.zip
    - UV Support
    ScriptPack_AddOn_Tweak_v3.zip
    - Stock Default Settings
    - Chainfire Kernel and VM Tweaks
    - HM-Settings (a mixture of Mialwe and Pikachu01)
    - Mialwe Kernel and VM Tweaks
    - Pikachu01 Kernel and VM Tweaks (Thunderbolt Tweaks)
    ScriptPack_AddOn_Profiles_V1.zip
    - Profiles Support
    - Possibility to save own profiles
    ScriptPack_AddOn_Cache_V1.zip
    - Enable 50MB Cache

    Changelog ICS v0.75:
    - .scripts folder is updated, when new kernel version is installed.

    Changelog v0.75:
    - .scripts folder is updated, when new kernel version is installed.

    Changelog ICS v0.74:
    - Same functionality but specialy built for ICS to get ICS style

    Changelog v0.74:
    - Hopefully fix the busybox problems with SlimICS

    Changelog v0.73:
    - Improved speed for installing large addons. (packages are not copied to .scripts folder anymore to detect which are installed)
    - Miscellaneous (tests) Section now showing correct state.
    - Selecting a Temporary Script will disable corresponding Kernel Feature or Addon and vice versa
    There are 3 types of Testscripts:
    - Runonce Scripts (like Clean BusyBox): test features with only one script
    - Temporary Scripts (like oc, uv, ...): test features that also exists as Kernel Feature or Addon
    - Permanent Scripts (like enable boot sound or animation): all other features in tests folder

    Changelog v0.71:
    - Fixed Installation Problem if SemaphoreScripts folder is missing
    - Fixed Force Close on conflicting script definition (enable/disable overruled by choice)
    - Increased height of Categories for better handling
    - Menu support for collapse and expand all categories
    - Menu support for installing SuperUser app
    - Menu support for installing script packages

    So from now on there is a simpler procedure for installation:
    - Download a ScriptPack from Tapatalk, XDA App or Browser
    - Start Semaphore Script Manager, open Menu - Manage Packages - Install <ScriptPack>

    Changelog v0.62:
    - Collapsible Categories, to get a better overview (state will be remembered on open/close/reboot of the app)
    - better texts
    - optimized app size
    - added/enhanced scripts, so nearby every feature can be enabled/ disabled without reboot.
    (so settings can be compared better. A reboot needs a long time and states are reseted, this makes it very hard to compare the settings.)
    - New kernel feature:
    * Underclocking
    * Conservative Governor tweaked for long battery life
    * all features are immediately disabled without reboot
    - AddOn Tweaks:
    * Immediate disable/enable of 50MB Cache, without reboot
    * Touchscreen: Stock, Chainfire, very sensitive settings
    - New script functions in Miscellaneous:
    * Clean Busybox (deletes busybox in system/bin, system/xbin)
    * Voodoo-Color set Stock Color ("disables" voodoo color, by setting stock colors)
    * Profiles:
    - Kernel default (disables all features and cleans init.d, only semaphore scripts, nothing else)
    - Recommended(HM) (enables my preferred settings)
    - SaveBattery (sets aggressive battery save setting, phone will lag a bit, good if long battery life is needed)

    Changelog v0.51:
    - Support for Test Scripts
    New Category: "Test (reseted on reboot)"
    Scripts are used from SDCard /SemaphoreScripts/tests/
    see AddOn_for_testing_OC
    - Only one SU process, to prevent "su-rights granted" during property change

    Changelog v0.42:
    - Fixed bug displaying wrong feature name, if scripts are overruled
    - Support for AddOns

    All scripts are simple, no mystery.
    All scripts from res/scripts can be adapted and overruled by copying the specific script to sdcard/SemaphoreScripts.
    The Tweaks of Chainfire are disabled automatically, but the Tweak App will show the wrong status until reboot.

    Best Setting for me:
    - LMK 64MB
    - SD-Card read ahead 256kb-64kb-best

    But try for yourself, and give feedback for the best settings.

    Description of the AddOn Features:

    1) Low Memory Killer (LMK):
    Android keeps all apps in memory as long as possible. If you start an app, that is already in memory, it starts very fast.
    The Low Memory Killer will remove apps from memory, if there is not enough memory for the current app, but this will take some time, the app "lags".
    The xx-mb is the free memory, when the Low Memory Killer will begin to remove apps from memory.

    32mb-multitasking: if you start a lot of apps parallel and want to switch very fast between the apps.
    92mb-chainfire: this is used by the minfree tweak from chainfire in tweaks app. This option is for using an app exclusive, no multitasking.
    48mb-default: this is the samungs default, a good compromise allowing a bit multitasking and not so much lags in big apps like 3d games.
    64mb-bigmem: this option tries to use the extra mem provided by the bigmem kernel to reduce lags.

    So it depends on your phone usage, what is best for you.

    2) SDCard read ahead
    If bigger files are read by apps, there is less overhead reading them having greater read ahead config.
    If apps read a lot of small files, there is less overhead reading them having smaller read ahead config.

    128kb-default: This is samsung default for all mounts. a good compromize.
    256kb-64kb: This increases the SDCard speed, as it uses a smaller read ahead for the kernel config files, that are mainly very very small. And a greater read ahead for the apps, and apps data that are mainly bigger than 128kb.
    3072kb-chainfire: This is the setting of SDCard tweak from chainfires Tweaks App. It is a bit too high, as there are also smaller files.
    Some people prefere 512kb-64kb or 1024kb-64kb.

    So you will see the difference of SDCard speed with Media Scanning, load time of apps.


    Older versions of Semaphore Script Manager:
    8
    New Semaphore Script Manager for ICS

    Changelog ICS v0.74:
    - Same functionality but specialy built for ICS to get ICS style

    It works only under ICS
    8
    New version of Semaphore Script Manager

    as I have no chance to test it, please give feedback, if the problems are solved.

    Changelog v0.74:
    - Hopefully fix the busybox problems with SlimICS
    6
    New Version of Semaphore Script Manager:
    Install it, if you want to test the new features. As there are serveral major changes, please give feedback, if something is not working.
    Special thanks to Stratosk, Pikachu01 and Mialwe for their hard work and investigation to optimize our SGS 1.

    Changelog v0.70:
    - Fixed Force Close on conflicting script definition (enable/disable overruled by choice)
    - Increased height of Categories for better handling
    - Menu support for collapse and expand all categories
    - Menu support for installing SuperUser app
    - Menu support for installing script packages

    So from now on there is a simpler procedure for installation:
    - Download a ScriptPack from Tapatalk, XDA App or Browser
    - Start Semaphore Script Manager, open Menu - Manage Packages - Install <ScriptPack>

    ScriptPack_Base_2.3.0_v2.zip
    - Removed Chainfires Kernel and VM Tweaks (to support flexibel addons)
    - Moved Color Tweaks from Misc to Addons (Settings will also work, if Voodoo App is not installed)
    ScriptPack_AddOn_UV_v1.zip
    - UV Support
    ScriptPack_AddOn_Tweak_v1.zip
    - Stock Default Settings
    - Chainfire Kernel and VM Tweaks
    - HM-Settings (a mixture of Mialwe and Pikachu01)
    - Mialwe Kernel and VM Tweaks
    - Pikachu01 Kernel and VM Tweaks (From Thunderbolt v2.2.0)