I've tried a lot of performance-boosting and battery-saving mods, but none of them worked well together. It was a case of exclusive-OR, i.e. either set only for performance-boost OR only for battery-saving.
So I adapted 2 existing scripts (screenstate_scaling and battery tweak) and came up with SS4N1, which combines the best of both worlds ... performance-boost whenever I use my N1, and battery-saving whenever my N1 is idle.
SS4N1 : ScreenState for Nexus One
[MOD/SCRIPT] SS4N1
[KERNEL] Savaged-Zen for N1 (2.6.38.8, 128-1190, BFS/CFS, SWAP, NOOP, HAVS, AXI, HW3D)
So I adapted 2 existing scripts (screenstate_scaling and battery tweak) and came up with SS4N1, which combines the best of both worlds ... performance-boost whenever I use my N1, and battery-saving whenever my N1 is idle.
SS4N1 : ScreenState for Nexus One
- auto-switch the following settings based on screen-state (AWAKE/SLEEPING)
- virtual memory
- cpufreq governor
- cpu scheduler
- undervoltage
- performance tweaks on startup
- dialer optimization
- remount partitions with noatime
- storage/IO tuning
- UI/homescreen optimization
- network performance tuning
- ability to enable/disable any or all of the above features
- adapted from screenstate_scaling (FloHimself@xda) & battery tweak (collin_ph@xda)
ROMs
Only tested for CM7 & MIUI, but should work with other AOSP ROMs that provide init.local.rc capability.
How to check ROM:
- Open adb shell or terminal session
- Type cat /init.rc | grep init.local.rc
- If no result, then your ROM is unsuitable for SS4N1
- If result is import /system/etc/init.local.rc or similar, then ROM is suitable
Kernels
SS4N1 has been available for a while now on IntersectRaven's kernel thread. Thanks again to IntersectRaven for letting me bum off his thread until now . Should also work with other N1 kernels by Redstar, Pershoot, Wildmonks and Cayniarb (Tiamat).
I'm using SS4N1 now with bbedward's Savaged-Zen kernel for Evo, as I compiled this awesome kernel for N1 with -0fast optimization using an experimental GCC 4.7.0 toolchain. Check below for download link.
Excerpt on overclocking from wildmonk ...
"Most users should be able to handle 1152MHz without any problems but some won't on 1190MHz. You'll know when your CPU can't handle a certain speed if you start to experience a sudden decrease in performance, lag, force closes, and spontaneous reboots."
DOWNLOADS from my mediafire siteHow to enable SS4N1
Via adb shell or terminal session
SS4N1 is initially DISABLED by default. You must start an ADB shell or Terminal session then run the configuration script: sscfg
> Choose [1] Enable SS4N1
> Follow on-screen instructions to customize (refer to screenshots below)
> Exit with [6] *** Apply changes and exit ***
> Check logcat for SS4N1 entries
Via CKZTools SS4N1 GUI by zyr3x
CKZTools : ScreenState Gui for Nexus One
[MOD/SCRIPT] SS4N1
[KERNEL] Savaged-Zen for N1 (2.6.38.8, 128-1190, BFS/CFS, SWAP, NOOP, HAVS, AXI, HW3D)
Code:
#include <std_disclaimer.h>
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards, thermonuclear war,
* or you getting fired because the alarm app failed. Please do some research if
* you have any concerns about features included in these ROMs, mods & kernels
* before flashing! YOU are choosing to make these modifications, and if you
* point the finger at me for messing up your device, I will laugh at you.
*/
Attachments
Last edited: