Page 1 of 13 12311 ... LastLast
Results 1 to 10 of 129

Thread: [Discussion] ckMod SSSwitch v0.6

777
  1. [translate]    #1
    Senior Member
    Join Date
    Feb 2010
    Location
    Singapore
    Posts
    890

    Default [Discussion] ckMod SSSwitch v0.6

    Development thread is here :: ch33kyMod [ckMod] kernels + tweaks for CM ::

    SSSwitch (Screen State Switch) v0.6E :: ckMod.SSSwitch.v06E.zip (from mediafire)

    This script provides balance between performance and economy. I came up with it as I couldn't find any battery saving app which didn't negatively affect performance.
    :: Adapted from screenstate_scaling (florian.schaefer@gmail.com) & battery tweak (collin_ph@xda)
    :: Auto-switch settings for virtual memory, cpu scheduler, cpufreq and undervolting based on screen state
    :: Will override any existing CM speed tweaks with a combination of the best of XDA and FE tweaks
    :: Screen-ON >> PERFORMANCE Mode | Screen-OFF >> ECONOMY Mode
    :: Works on both Eclair and Froyo (only for kernels with sysinit service for /etc/init.d scripts)
    :: SetCPU and SSSwitch modify the same parameters, so DO NOT USE SSSwitch with SetCPU

    Changelog for v0.6D > v0.6E
    + enabled oom_kill_allocating_task to prevent 98ssswitch from being killed
    + moved SLEEP_UV to execute at end of SLEEP_MODE function (thx 2 mambrino)

    UNDO for SSSwitch v0.6 :: ckMod.SSSwitch.v06_UNDO.zip


    How to CONFIGURE CUSTOM SETTINGS


    Using CKZTools written by zyr3x

    CKZTools

    From PHONE using terminal emulator
    1. Run any terminal emulator on phone
    2. Enter "ssscfg"
    3. Press Enter to get super-user access (1st run only: select Allow for Superuser Request)
    4. Follow on-screen prompts
    5. Change your custom settings or load preset profiles
    6. Apply changes and exit

    From PC using adb shell
    1. Connect phone to PC using mini-USB cable
    2. Open up an adb shell
    3. Run "ssscfg"
    4. Follow on screen prompts
    5. Change your custom settings or load preset profiles
    6. Apply changes and exit


    How to check that SSSwitch is working
    :: Check logcat for the following entries whenever you lock/unlock screen ...
    Code:
    I/SSSwitch_v0.6C( 2010): *** BOOT tweaks ***: applied miscellaneous performance tweaks
    I/SSSwitch_v0.6C( 2024): *** AWAKE Mode ***  : undervolt=100, governor=ondemand, max_freq=800000, up_threshold=90
    I/SSSwitch_v0.6C( 2263): *** MAX phone *** set oom_adj(-17) and nice(-20) for com.android.phone
    I/SSSwitch_v0.6C( 2761): *** SLEEP mode *** undervolt=200, governor=conservative, max_freq=266000, up_threshold=90
    Screenshots
    01-ssscfg.png02-ssscfg.png03-ssscfg.png04-ssscfg.png05-ssscfg.png06-ssscfg.png07-ssscfg.png

    How to INSTALL / UNDO
    1. Download the provided recovery zip
    2. Save to sdcard
    3. Reboot to recovery
    4. Install zip from sdcard
    5. Reboot

    And always remember the 3 golden rules of modding ...
    Rule#1 - Always backup
    Rule#2 - Always check your backup
    Rule#3 - Always backup your backup (somewhere safe)
    Last edited by ch33kybutt; 02-02-2011 at 06:27 PM. Reason: added SSSwitch v0.6E


  2. [translate]    #2
    Jay
    Jay is offline
    Senior Member
    Join Date
    Jun 2010
    Location
    India
    Posts
    1,345

    Default

    any negative side-effects??
    none...
    thanks a lot!!
    Last edited by Jay; 01-14-2011 at 10:40 AM.

  3. [translate]    #3
    Admin Zoo'L's Avatar
    Join Date
    Jan 2010
    Location
    Saratov sity
    Posts
    949

    Default

    Сhanged to sample audio buffer and soundfix - Normal flight

  4. [translate]    #4
    Senior Member
    Join Date
    Sep 2010
    Location
    Turkey
    Posts
    305

    Default

    Thanks ch33kybutt. I have applied it. But I won`t enter terminal and won`t change settings as I am happy with its default setting. My phone is pretty smooth. Thanks again.

  5. [translate]    #5
    Senior Member
    Join Date
    Feb 2010
    Location
    Singapore
    Posts
    890

    Default

    Quote Originally Posted by Jay View Post
    any negative side-effects??
    None for me so far. But this version gives the power of configuration (undervolt, thresholds, etc.) to users, so anything can happen. So hope more users can test and feedback.


  6. [translate]    #6
    Senior Member
    Join Date
    Apr 2010
    Posts
    1,406

    Default

    works like a charm! using high performance high battery mode! thanks cheeky
    CyanogenMod 6.1.1 (froyo alpha 8.3) - YONIP kernel v9 BFS 24BPP- OC'd 1.066 ghz - Qbanin Optimized DVM- 1% battery - ssswitchv0.2 - ADW ex v1.2.2 - apps2sd - ext2/2/2 - intercept froyo 3d drivers - sucka GPS fix (gps.conf with lbsmode settings)- Quadrant Score 630+

  7. [translate]    #7
    Senior Member
    Join Date
    Feb 2010
    Location
    Singapore
    Posts
    890

    Default

    Quote Originally Posted by serhad83 View Post
    Thanks ch33kybutt. I have applied it. But I won`t enter terminal and won`t change settings as I am happy with its default setting. My phone is pretty smooth. Thanks again.
    That's okay. You can also manually modify the initialization file /system/etc/ssswitch.conf with your own settings, then reboot to apply the new settings.


  8. [translate]    #8
    Senior Member
    Join Date
    Apr 2010
    Posts
    1,406

    Default

    btw, i have to keep dynamic undervolt to zero in recovery right? so that it doesn't interfere with undervolt config from ssswitch?

    also, what does cpu up threshold do?
    CyanogenMod 6.1.1 (froyo alpha 8.3) - YONIP kernel v9 BFS 24BPP- OC'd 1.066 ghz - Qbanin Optimized DVM- 1% battery - ssswitchv0.2 - ADW ex v1.2.2 - apps2sd - ext2/2/2 - intercept froyo 3d drivers - sucka GPS fix (gps.conf with lbsmode settings)- Quadrant Score 630+

  9. [translate]    #9
    Senior Member
    Join Date
    Oct 2010
    Location
    EU
    Posts
    161

    Default

    Any mirrors , please?
    i570EXXJD1 | 2.6.29.6 | CM 6.1.1 Alpha 8.3.2 | Lukiqq Kernel V8 AIO

  10. [translate]    #10
    Senior Member
    Join Date
    Feb 2010
    Location
    Singapore
    Posts
    890

    Default

    Quote Originally Posted by terenceleechan View Post
    btw, i have to keep dynamic undervolt to zero in recovery right? so that it doesn't interfere with undervolt config from ssswitch?
    Probably a good idea but not really necessary, as ssswitch will simply override with saved AWAKE_UV & SLEEP_UV settings.

    Quote Originally Posted by terenceleechan View Post
    also, what does cpu up threshold do?
    From the script "up-threshold (% of cpu load which determines how often cpu will ramp up to max frequency)". e.g. if up_threshold=95, then cpu will only ramp up to maximum frequency when cpu load is 95% or more and only ramp down to next step when cpu load goes below 95%.


Page 1 of 13 12311 ... LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •