[APP] Semaphore Script Manager v0.75

Search This thread

rom08

Senior Member
Oct 19, 2010
362
36
Realme GT 2
I had the same problem . You surely add installed the app with semaphore 1.7 before the release of semaphore 1.7.5 . Just delete the semaphorescripts folder you have extracted from the zip file in the first post and then all run ok.

Sent from my GT-I9000 using Tapatalk
 
  • Like
Reactions: tiwag

HM.Carbide

Senior Member
Nov 29, 2010
390
445
there is a bug in the Semaphore script manager v0.31 which is supplied with Semaphore_JVS_1.7.5

Netfilter and Speedmod Colors are interchanged.

Netfilter allows selection of cold/neutral/warm while
Speedmod Colors is only on/off


Thanks for the report, the bug will be fixed in next version.

As workaround, try to delete the scripts on sdcard, as they are now provided by the kernel.


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

HM.Carbide

Senior Member
Nov 29, 2010
390
445
Changelog v0.42:
- Fixed bug displaying wrong feature name, if scripts are overruled
- Support for AddOns

AddOns_v1:
- Low Memory Killer:
... 32mb-multitasking, 48mb-default, 64mb-bigmem, 92mb-chainfire
- Hard to kill launcher:
... reconfigures the priorities
- SD-Card read ahead:
... 128kb-default, 256kb-64kb-best, 512kb-64kb-good, 1024kb-64kb, 3072kb-chainfire
- Startup/Shutdown Sound
... Restores the sound files, if they were backuped by the kernel (since 1.7.5)

All scripts are simple, no mystery.

Best Setting for me:
- LMK 48MB for non BigMem kernel
- LMK 64MB for BigMem kernel
- Hard to kill launcher enabled
- SD-Card read ahead 256kb-64kb-best

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

senotrius

Senior Member
Jan 4, 2011
984
103
Changelog v0.42:
- Fixed bug displaying wrong feature name, if scripts are overruled
- Support for AddOns

AddOns_v1:
- Low Memory Killer:
... 32mb-multitasking, 48mb-default, 64mb-bigmem, 92mb-chainfire
- Hard to kill launcher:
... reconfigures the priorities
- SD-Card read ahead:
... 128kb-default, 256kb-64kb-best, 512kb-64kb-good, 1024kb-64kb, 3072kb-chainfire
- Startup/Shutdown Sound
... Restores the sound files, if they were backuped by the kernel (since 1.7.5)

All scripts are simple, no mystery.

Best Setting for me:
- LMK 48MB for non BigMem kernel
- LMK 64MB for BigMem kernel
- Hard to kill launcher enabled
- SD-Card read ahead 256kb-64kb-best

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

could u please explain what all the different options does..I mean what's the advantage lmk 48 over 64 or 92 or 32..I don't understand wat effect the different values do..32 says multitaskin;do it means it good for mtaskin??92 says cf and so on...similarly wat about read speeds??I thought the highest value is the better one??
 

HM.Carbide

Senior Member
Nov 29, 2010
390
445
could u please explain what all the different options does..I mean what's the advantage lmk 48 over 64 or 92 or 32..I don't understand wat effect the different values do..32 says multitaskin;do it means it good for mtaskin??92 says cf and so on...similarly wat about read speeds??I thought the highest value is the better one??

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.

1) Low Memory Killer:
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) Hard to kill Launcher:
By default the launcher is an app like every other app for the Low Memory Killer. If you start big apps, the Low Memory Killer will also remove the launcher from memory. You can see sometimes, that the launcher is black for some seconds and than displaying the app icons again.

If you enable this option, the launcher gets a higher priority, and will not be removed so easy.

So if you had already the effect that the launcher is started again, and you don't want that, you can enable this tweak.

3) 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.
 

malcho

Senior Member
Aug 30, 2010
3,838
4,336
Sarajevo
Nice job.
After applying scripts in init.d folder ,scripts doesn't have S01 or S02 in the name.
You know that this is needed to control how scripts are executed at startup(S01 first,S02 second,etc).
Any chance to implement this in next version?
Many regards
 
Last edited:

senotrius

Senior Member
Jan 4, 2011
984
103
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.

1) Low Memory Killer:
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) Hard to kill Launcher:
By default the launcher is an app like every other app for the Low Memory Killer. If you start big apps, the Low Memory Killer will also remove the launcher from memory. You can see sometimes, that the launcher is black for some seconds and than displaying the app icons again.

If you enable this option, the launcher gets a higher priority, and will not be removed so easy.

So if you had already the effect that the launcher is started again, and you don't want that, you can enable this tweak.

3) 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.

+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??
 
Last edited:
  • Like
Reactions: HorusEyE

Desotho

Senior Member
Jan 7, 2011
96
2
The Hague
I installed Semaphore 1.7.5 on stock Odexed JVS, so it automatically came with the Semaphore Manager, but I really can't find the map where the scripts or addons need to be copied to. I must be doing something wrong :p

Sent from my GT-I9000 using xda premium
 

HM.Carbide

Senior Member
Nov 29, 2010
390
445
I installed Semaphore 1.7.5 on stock Odexed JVS, so it automatically came with the Semaphore Manager, but I really can't find the map where the scripts or addons need to be copied to. I must be doing something wrong :p

Sent from my GT-I9000 using xda premium

Bundled with 1.7.5 is version 0.31.

In first post is a newer version 0.42.
This version has the new feature add on support.
There are also the add on scripts to download.

This is for testing reasons. In next semaphore kernel release, the newest app version will be included.
But if you want to test new features earlier, you can see in first post, how to install it.


Sent from my GT-I9000 using XDA App
 

HM.Carbide

Senior Member
Nov 29, 2010
390
445
do i need to disable all the tweak in the tweak app before using this?

Thank for the question, I forgot to mention it. Will update the 2st post.

The scripts are disabling the tweaks of Chainfire, but it is not shown immediatly.
So the Tweak App of chainfire will show the correct status after reboot, but that doesn't matter.
The feature is applied immediately.

I have to look into the current beta version of startosk, but I think in the new version, all tweaks of chainfire are removed from code.
 

HM.Carbide

Senior Member
Nov 29, 2010
390
445
New Version of Semaphore Script Manager v0.51

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

AddOn_for_testing_OC:
- Allows to test OC frequences. If something goes wrong, reboot will reset to default.
 
  • Like
Reactions: hurray and stratosk

tiwag

Senior Member
Oct 15, 2010
382
113
Changelog v0.42:
- Fixed bug displaying wrong feature name, if scripts are overruled
/QUOTE]

Does this mean i can now use my own edited scripts from sdcard again?
I would need that in order to enable uv-settings along with oc-settings.

Sent from my GT-I9000 using Tapatalk
 

HM.Carbide

Senior Member
Nov 29, 2010
390
445
Changelog v0.42:
- Fixed bug displaying wrong feature name, if scripts are overruled
/QUOTE]

Does this mean i can now use my own edited scripts from sdcard again?
I would need that in order to enable uv-settings along with oc-settings.

Sent from my GT-I9000 using Tapatalk

Yes.

Only copy the files for the feature you want to edit to mnt/sdcard/SemaphoreScripts/
and you can edit it there
(I do this directly from my pc, when phone is connected).

You can also add additional scripts with features or tweaks you know.

If you have a good one, it would be nice to post it here, so everyone has a benefit of it.
 
  • Like
Reactions: tiwag

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)