Results 1 to 5 of 5

Thread: :: ch33kyMod [ckMod] kernels + tweaks for CM ::

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

    Default :: ch33kyMod [ckMod] kernels + tweaks for CM ::

    [ Discussion ] :: ch33kyMod [ckMod] kernels + tweaks for CM ::

    Hi boys (mostly) and girls,

    This thread is where I will release ckMod kernels and tweaks that I use myself, adapted mostly from new developments by Criminal, Xmister, Qbanin and others, and from information available on public git and repo sites and forums such as XDA.

    *** USE AT YOUR OWN RISK. NOT RESPONSIBLE FOR BRICKED SPICAS ***

    KERNELS


    :: Compiled using gcc-4.5.1 + crosstool-ng-1.9.0 with -O3 compiler flags (for max cpu optimizations)
    :: LZMA compression for smaller kernel footprint
    :: qbanin's 1% battery driver from his github source
    :: More details on github ...
    ckMod.bfs.004 :: krnl-ckMod.bfs.004.zip (from mediafire)
    ONLY FOR CM6.1.1-Alpha8.3
    [ Uses experimental non-mainline scheduler, but responsive and fast ]
    [ NOT compatible with RFS ]

    :: Source at https://github.com/ch33kybutt/i5700-kernel-bfs

    :: Same as ckMod.bfs.003A with addition of the following
    :: + jhash3
    :: + gcc extra optimization
    :: + wlan module from Acclaim (wifi status now remembered after reboot)

    ckMod.cfs.011 :: krnl-ckMod.cfs.011.zip (from mediafire)
    ONLY FOR CM6.1.1-Alpha8.3
    [ Uses Linux mainline scheduler, stable and provides better battery life ]
    :: Source at https://github.com/ch33kybutt/i5700-kernel
    :: Same as ckMod.cfs.010A with addition of the following
    :: + jhash3
    :: + gcc extra optimization
    :: + wlan module from Acclaim

    Safest method to apply kernel is to
    1. TAR backup system & data
    2. Apply zip file
    3. Reboot
    4. If bootloop or freeze occurs, pull battery
    5. Boot to recovery
    6. TAR format+restore system & data
    7. Reboot
    UNDO :: Too lazy to make one, so just re-apply latest CM update.zip (go forth and search)

    TWEAKS
    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

    CM speed tweaks :: CM speed tweaks (XDA and FE versions)
    :: XDA version = originated from script by hardcore@XDA (now with some of my own tweaks)
    :: FE version = came up with it after inspection of tunable parameters in antibyte's Frozen Eclair kernels
    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)


    ch33rs!

    Last edited by ch33kybutt; 02-02-2011 at 06:24 PM. Reason: added SSSwitch_v0.6E


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

    Default

    added ckMod.bfs.004 + ckMod.cfs.011 + SSSwitch_v0.6C

    ---------- Post added at 12:06 PM ---------- Previous post was at 11:51 AM ----------

    My virtualbox image for compiling just died on me No snapshot, so will have to rebuild toolchain, and re-sync with github, etc. So it'll be a long, long wait until the next update (if any).


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

    Default

    Added SSSwitch v0.6D. Check 1st post.

    Changelog for v0.6C > v0.6D
    + adjusted nice value of process to -10 for higher processing priority
    + removed io schduler optimizations for sd-card due to instability when copying large files
    + added more optimizations for CFS scheduler
    + disabled undervolting in default preset


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

    Default

    Added SSSwitch v0.6E. Check OP.

    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)


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

    Default

    Hi all,

    I'll soon be giving my Spica away to my daughter (she keeps complaining about the super crappy hand-me-down WinMo she has now, poor thing), so I won't have free-access to try out new mods as I once had. So just sending this note to let you all know that future updates will be few and far between.

    In any case, you have a new and able champion in Lukiqq, who keeps doing bigger and badass-er (is that a word?) things to speed up this special Spica. I think we'll be leaving SGS in the dust in no time at all

    Ch33rs!


Thread Information

Users Browsing this Thread

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

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
  •