FORUMS
Remove All Ads from XDA

[Init.d Scripts] Screen State + Zip Align & Other Mods.

2,056 posts
Thanks Meter: 2,830
 
By jimbo77, Recognized Contributor on 17th January 2012, 06:02 PM
Post Reply Email Thread
Hi guys!

A few months ago i used to have a SGS i9000T and there were some really good init.d Scripts done by user Pikachu01 and Zacharias.Maladroid (Ref: http://forum.xda-developers.com/showthread.php?t=1296927.

I've modded 2 of the scripts to work in our Beloved Arc's to give us a nicer experience plus saving some battery while doing so.

What Scripts are we talking about?
  1. Screen State Scaling
  2. ZipAlign

Screen State Scaling Script:


This script basically tells the phone what CPU Governor use while the screen is on either ON state or OFF state. So you can now choose two different governors to rule your phone when you're using it and when you're not.

I've added a simple list of available governors (Conservative, ondemand, interactive, interactiveX, smartass, smartassV2) and you can choose which ones to use while the screen is "Awake" and when it is "Sleeping".

The script also provides some tweaks to each governor to make it more aggressive in the case of ondemand and SmartassV2 and also to make more battery saving for conservative.

Darky_ZipAlign:


This script will provide a better and faster zipalign of ALL System Apps at boot which will definetely improve the RAM Usage of those apps.


What we need?
  1. DoomKernel V17 (Stock also works but not all governors are avaliable)
  2. Any Root Application in case you want to modify the script
HOW TO?
  1. First of All do a Backup throug Recovery in case anything breaks!
  2. Download and Put Jimbo's Teawks.zip in the Sdcard
  3. Install Zip from SDcard through Recovery
  4. Wipe both Cache and Dalvik Cache right after the flashing of the zip file.

I've installed the Script, now What?

Congratulations you now have your system Apps Zipaligned at boot which will definetely improve them and also you now have two governors for each screen state, one while it's ON and one while it's OFF.

You've also gained some UI Tweaks done to the build.prop (Most of them are already known and applied).

NOTES:
  1. I'm not responsible by any damage (which is almost impossible to happen) occured to your phone.
  2. Default Governors are: Screen On ="SmartassV2" & Screen OFF ="Conservative"
  3. CPU Freq While Screen is ON = Max:1209600 Min:134400
  4. CPU Freq While Screen is OFF = Max:460800 Min:134400
  5. The script Also includes a "renice" for some system apks just like "lpysmooth" script

I don't like the default governors you've set, how do i change them?

Simple, using Root Explorer go to system/etc/init.d and open S98screenstate_scaling. Here navigate to the line where it says: "Selection of Awake Governors:" and delete the # symbol of the desired "governor". If the governor you like is not on the list please add the exact name in between of " " and do not put a # at the beginning of it. By Any Reason leave two Governors Uncomented or without a #.

The same procedure should apply for the Sleep Governor.


Attached Files
File Type: zip Jimbo's Teawks!.zip - [Click for QR Code] (158.2 KB, 1941 views)
The Following 6 Users Say Thank You to jimbo77 For This Useful Post: [ View ] Gift jimbo77 Ad-Free
 
 
17th January 2012, 06:29 PM |#2  
jimbo77's Avatar
OP Recognized Contributor
Flag Guatemala
Thanks Meter: 2,830
 
Donate to Me
More
Reserved... Just in case...

Sent from my LT15i using Tapatalk
17th January 2012, 08:10 PM |#3  
Senior Member
Thanks Meter: 136
 
More
What if I want only zipalign and not the governers.
17th January 2012, 08:17 PM |#4  
jimbo77's Avatar
OP Recognized Contributor
Flag Guatemala
Thanks Meter: 2,830
 
Donate to Me
More
Quote:
Originally Posted by soldiers33

What if I want only zipalign and not the governers.

Open the .zip file using Winrar and from there delete the S98screenstate_scaling script and then install it from Recovery.
17th January 2012, 08:51 PM |#5  
Member
Flag Villach
Thanks Meter: 5
 
More
Nice and great stuff, but arc s clocks on standard already with 1.4GHz. So how to change clockspeed for screen on?

Gesendet von meinem LT18i mit Tapatalk
17th January 2012, 10:01 PM |#6  
jimbo77's Avatar
OP Recognized Contributor
Flag Guatemala
Thanks Meter: 2,830
 
Donate to Me
More
What speed would you like it to be? I can modify it and send you the script

Sent from my LT15i using Tapatalk
17th January 2012, 10:03 PM |#7  
Member
Flag Villach
Thanks Meter: 5
 
More
1.4 like stock should be fine. Don't need oc, just drains battery much faster

Gesendet von meinem LT18i mit Tapatalk
17th January 2012, 10:03 PM |#8  
Member
Flag Villach
Thanks Meter: 5
 
More
Gesendet von meinem LT18i mit Tapatalk
17th January 2012, 10:14 PM |#9  
jimbo77's Avatar
OP Recognized Contributor
Flag Guatemala
Thanks Meter: 2,830
 
Donate to Me
More
Check the post below. Sorry for editing.

Sent from my LT15i using Tapatalk
17th January 2012, 10:22 PM |#10  
jimbo77's Avatar
OP Recognized Contributor
Flag Guatemala
Thanks Meter: 2,830
 
Donate to Me
More
Check the one on the Link, It should make the max frequency as 1401600 or 1.4 GHz

http://db.tt/edBICGL7

You can check it is being applied either with setcpu or any other CPU control tools.

Sent from my LT15i using Tapatalk
17th January 2012, 10:51 PM |#11  
tinyXperia's Avatar
Senior Member
Flag The Netherlands
Thanks Meter: 1,466
 
More
I use an app called cpu tuner for the screen state underclocking.

Sent from my Xperia Neo, typed on Swiftkey X Wp7
Post Reply Subscribe to Thread

Tags
jimbo77, screen_state

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

Advanced Search
Display Modes