FORUMS
Remove All Ads from XDA

[APP] Semaphore Script Manager v0.75

390 posts
Thanks Meter: 446
 
By HM.Carbide, Senior Member on 26th September 2011, 10:12 AM
Post Reply Email Thread
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/Scr...otanim1_v1.zip

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

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

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

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

Bootanimation Pack Full
http://dl.dropbox.com/u/19934057/Scr...ootanim_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
The Following 102 Users Say Thank You to HM.Carbide For This Useful Post: [ View ] Gift HM.Carbide Ad-Free
 
 
26th September 2011, 10:12 AM |#2  
OP Senior Member
Thanks Meter: 446
 
More
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:
The Following 13 Users Say Thank You to HM.Carbide For This Useful Post: [ View ] Gift HM.Carbide Ad-Free
26th September 2011, 11:06 AM |#3  
djdeeles's Avatar
Senior Member
Flag Istanbul
Thanks Meter: 653
 
Donate to Me
More
Works with other kernels?
26th September 2011, 11:11 AM |#4  
OP Senior Member
Thanks Meter: 446
 
More
Quote:
Originally Posted by djdeeles

Works with other kernels?

No it is special for Semaphore Kernel.

It uses the scripts in /res/scripts the kernel provides.

Goal was to make a very easy to use app.
The Following User Says Thank You to HM.Carbide For This Useful Post: [ View ] Gift HM.Carbide Ad-Free
26th September 2011, 06:13 PM |#5  
coldhandz's Avatar
Senior Member
Thanks Meter: 21
 
More
Excellant!! And I was just wondering how this kernel could ever be improved
Brilliant work HM.Carbide
26th September 2011, 07:58 PM |#6  
Junior Member
Thanks Meter: 0
 
More
Perfect! Good work!

Thanks HM.Carbide!!
26th September 2011, 08:05 PM |#7  
malcho's Avatar
Senior Member
Flag Sarajevo
Thanks Meter: 4,316
 
Donate to Me
More
This proves that semaphore is the best kernel on xda.

Hybrid 2.0 lite on semaphore 1.7.0
The Following 2 Users Say Thank You to malcho For This Useful Post: [ View ] Gift malcho Ad-Free
26th September 2011, 08:21 PM |#8  
malcho's Avatar
Senior Member
Flag Sarajevo
Thanks Meter: 4,316
 
Donate to Me
More
Hint for next version.
Include bootanimation support.To copy bootanimation to right place.
Semaphore removes poweron sound.Maybe you can include that too.
Many regards

Hybrid 2.0 lite on semaphore 1.7.0
26th September 2011, 08:28 PM |#9  
Rahulrulez's Avatar
Senior Member
Flag India
Thanks Meter: 1,488
 
Donate to Me
More
I can help you in Semaphore application development. PM me if you need any help

regards,
rahul
27th September 2011, 02:39 AM |#10  
Member
Thanks Meter: 10
 
More
thx a lot dude!!
27th September 2011, 04:59 PM |#11  
OP Senior Member
Thanks Meter: 446
 
More
Quote:
Originally Posted by malcho

Hint for next version.
Include bootanimation support.To copy bootanimation to right place.
Semaphore removes poweron sound.Maybe you can include that too.
Many regards

Hybrid 2.0 lite on semaphore 1.7.0

Power on sound and power off sound are deleted, no chance to restore them. They are also different from rom to rom.
If the kernel would back up the files to a folder on /data before they are deleted, it would be easy to add the feature for restoring them. It has also to be ensured, that the kernel does not delete the files on each reboot.

Copying boot animation is a bit risky, as there is the possibility of a boot loop with a wrong boot animation.
Post Reply Subscribe to Thread

Tags
semaphore script manager

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes