[Nexus One Android Development] ch33kybutt:
Updated SS4N1 (ver 20110220)

**************************************************
SSCFG: Home Screen
**************************************************
This utility configures the SS4N1 script
[/etc/init.d/98ss4n1] which auto-switches
settings based on phone-state (AWAKE/SLEEP).

Please choose an option below and press Enter.
[1] Disable SS4N1
[2] Display settings
[3] Load PRESET profiles
[4] Customize settings
[5] Save/View/Load settings on sdcard
[6] *** Apply changes and exit ***
[Enter] Exit without applying changes

+ Added option to view voltage tables for both AWAKE/SLEEP modes...

**************************************************
SSCFG: Display settings
**************************************************
[1] Display CURRENT configuration
[2] Display AWAKE mode voltage table
[3] Display SLEEP mode voltage table
[ENTER] Return to home screen

**************************************************
SSCFG: SLEEP mode Voltage table
**************************************************
CPU frequency, min voltage, max voltage

128000,800,850
245000,800,875
384000,800,900
422400,800,925
460800,800,925
499200,800,950
537600,800,950
576000,800,975
614400,800,975
652800,825,1000
691200,850,1025
729600,875,1050
768000,900,1075
806400,925,1100
844800,950,1125
883200,950,1150
921600,975,1150
960000,975,1150
998400,975,1150
1036800,1025,1150
1075200,1025,1150
1113600,1025,1150
**************************************************
Press Enter to continue

+ Added option to modify min/max voltages per frequency by manually editing your saved configuration at /sdcard/ss4n1/custom.conf

**************************************************
SSCFG: Customize AWAKE mode
**************************************************
[1] Customize CPU Frequency governor
[2] Customize CAVS - set min & max UV values
[3] Customize CAVS - set per individual frequency
[Enter] Return to previous screen

**************************************************
SSCFG: Customize CAVS - per individual frequency
**************************************************
Has to be done manually...
1. Save your custom configuration to sdcard
2. Exit sscfg
3. Modify /sdcard/ss4n1/custom.conf
a. Customize voltage table for AWAKE mode
b. Customize voltage table for SLEEP mode
4. Run sscfg again
5. Load your modified custom configuration
6. Apply and exit

+ Added HELP-INFO for all extra features so that you actually know what you are enabling/disabling...

**************************************************
SSCFG: Help info on features
**************************************************
[ Dialer optimization ]
Optimizes dialer process (com.android.phone) by
excluding it from out-of-memory killer and
setting highest process priority level

[ Dewonkifier (a1026 mic) ]
Disables the A1026 noise-cancellation microphone
which is one probable cause of call-wonkiness

[ Remount with noatime ]
Remounts all partitions with noatime & nodiratime
to reduce unnecessary sync operations

[ Storage/IO tuning ]
Tells kernel that storage not a rotating disk and
optimizes IO operations by increasing read buffer
and reducing idling between requests

[ UI/Homescreen optimization ]
Increases 'maximum-events-per-sec' to 60 for
smoother Homescreen scrolling and transitions

[ Network performance tuning ]
Reduces wifi scanning to every 3 mins and
optimizes TCP parameters for higher throughput
and lower latency when accessing network

[ Autoswitch for ALL setting ]
The main function of SS4N1 that senses
phone-state and auto-switches between AWAKE and
SLEEP modes to provide both performance-on-demand
and economy-on-idle

[ Autoswitch for CAVS ]
Phone-state switch which detects Customizable
Adaptive Voltage Scaling kernels and switches
between higher voltages (AWAKE) and lower
voltages (SLEEP)

[ Autoswitch for CPU scheduler ]
Phone-state switch which detects type of CPU
scheduler (BFS/CFS) and switches between low
latency (AWAKE) and high throughput (SLEEP) modes

[ Autoswitch for CPU frequency governor ]
Phone-state switch between high CPU frequencies
(AWAKE) and low CPU frequencies (SLEEP)

[ Autoswitch for Virtual Memory ]
Phone-state switch between higher free-page
reservation (AWAKE) and lower free-page
reservation (SLEEP)
**************************************************

SS4N1 will be DISABLED by default after installation, so you'll have to enable it via adb shell or terminal emulator by running sscfg

# sscfg

( ... provided as-is ... use at your own risk ... won't be held responsible ... blah blah blah ... etcetera, etcetera ... )