yashsingh1/xdaforums huggingface dataset:
[Nexus One Android Development] terente0081:
I don't have SS4N1 in front of me, I will take you through some settings from my head alone, so please excuse me if some info may be off. You're a smart guy, you'll figure it.

So; You've flashed the CAVS kernel and SS4N1. Reboot, start Terminal Emulator.

Type

su

sscfg

Look for the Load presets menu option. Go there, load a preset. I started with Moderate. Go back to main menu. Press 2 to display current settings, then press 1. It will show you the current preset. All features will have 1 if enabled. SS4N1 should have the 1 flag as well, meaning it's enabled.

From there, I press Enter to go back to main menu. In main menu I press 4 to customize settings. Press 1 to Enable/Disable features. I disable the Dewonkifier and Network tuning.

Press Enter and go back to the Customize settings page.

I enter 2 to customize the AWAKE mode.

Press 1 to customize the power governor. It will ask you for the governor you want when AWAKE, I enter 3 if I recall correctly, that's on-demand. Interactive is also very good, even more responsive but eats the battery faster. I go with On-demand, it's very good for me.

It will then ask you for the Min-Max operating frequencies when the phone is AWAKE. I go with the stock, 128000 for min, 998400 for max.

It will ask you for the Up-threshold, I enter 90 so the CPU will wait on the lower frequency until it's used 90% before ramping to a higher frequency. Good for battery and trust me, the phone is snappy.

Press Enter and you will be back to customize the AWAKE mode. I choose the 2nd option, UV Min-Max when AWAKE. For me, I've noticed my phone would consume the battery faster if undervolted. So, I press 2 to configure the UV when AWAKE. I set Min @ 0, Max @ 0. When done, it will show you the tweaked voltage table.

Press Enter and go back to the Customize settings page.

Press 3 to customize the SLEEP mode.

Choose 1 and change the SLEEP Power governor to Conservative.

Min freq 128000

Max freq 384000

Up-threshold: 98

I go back to configure the SLEEP mode, choose the 2nd option to change UV options, I again choose Min and Max 0.

I go back to the main menu, press 5 to save settings to SD card using the 1 option.

I go back to main menu and finally Apply the settings.

Exit Terminal, the settings apply on the fly, but I reboot for good measure.

Have fun!

PS. I was using SetCPU before SS4N1, I now have SetCPU but it's not enabled (no set on boot ticked), no profiles defined. i do all the tweaking from SS4N1, I just monitor with SetCPU. Why use SetCPU when thanks to fine users here we can enjoy a great kernel and a great GUI to configure it? BTW, thanks ch33kybutt for SS4N1 and IR for the kernel!
[Nexus One Android Development] ch33kybutt:
One of the reasons I came up with SS4N1 is because when I tried to both Overclock (using SetCPU) and Undervolt (using IR's CAVS kernels), phone would constantly soft-reboot. But I found out that when I overclocked the CPU directly without SetCPU, no more soft-reboots. The other tweaks just grew from there. So if you do want to use SetCPU with SS4N1, I would strongly recommend to disable the "Autoswitch for CPU frequency governor", which would very likely clash with SetCPU.
[Nexus One Android Development] warpaper:
Thanks for your detail and complete guide.

Sincerely thanks to terente0081. :D
[Nexus One Android Development] warpaper:
I have natural on using SetCPU ro SS4N1 but just thirty for power juicy.

Thanks for your recommendation. Trying disable SetCPU and using SS4N1.

Hope my N1 can survival for a normal day w/o charging. :D
[Nexus One Android Development] munchy_cool:
Can someone please recomend me a kernel, am kinda lost and confused in the folders on mediafire.

I am on CM 7 RC 3.

Thanks
[Nexus One Android Development] bimasakti85:
I love your kernel IR...

Sent from my Nexus One
[Nexus One Android Development] erikiksaz:
This is odd, everytime I enable all the SS4N1 settings and restart my phone, it hangs on the intial google X symbol. It doesn't get to the boot animation.

This is with:

signed_ss4n1_20110222.zip

and

2.6.37.6_CAVS-CM7_CFS_20110328_0904.zip

*Edit, I guess I just need to start disabling optimizations in ss4n1 to see what's causing this.
[Nexus One Android Development] goldfingerfif:
Will this Kernel work on a stock 2.3.3 rom that has been rooted if I apply it through Clockwork?
[Nexus One Android Development] intersectRaven:
Yes although some things like the camera may not work. :)
[Nexus One Android Development] goldfingerfif:
Ok I want to download but is there a wiki or something to explain versions. I would guess CM6 is Froyo anf CM7 is Gingerbread....but not sure with Noboost, cfs, wififast or advantages of AVS vs CAVS?
[Nexus One Android Development] RogerPodacter:
I have the same questions, I just haven't searched thru the old posts yet.
[Nexus One Android Development] intersectRaven:
Noboost, cfs, wififast or advantages of AVS vs CAVS?

NoBoost -> restored the volume levels of stock kernel

CFS -> ignore since I only release CFS nowadays

WiFiFast -> make WiFi stay awake while display is off; useful for WiFi calling app

AVS -> voltage settings are set at known stable (majority) levels

CAVS -> voltage settings are set same as undervolted SVS kernels (like CM) but can be altered using script or through terminal
[Nexus One Android Development] ellesshoo:
Cheekybutt, can you or Ir go into some of the details of those settings your script handles? Stuff like network tuning, etc... finally got around to playing with CAVS and it looks promising.... anything extra to tweak is always a plus.
[Nexus One Android Development] ch33kybutt:
Tweak info is available from SSCFG itself ..

> [4] Customize settings

>> [1] Enable/Disable features

>>> [?] HELP-INFO for all of the above features

You'll then get brief description of what each of the tweaks does. For more info, you'll have to look at the script at /etc/init.d/98ss4n1

For more info on network perf tuning, an old but still reliable resource is http://www.speedguide.net/articles/linux-tweaking-121
[Nexus One Android Development] RogerPodacter:
Thanks a ton for answering a basic question:-). Hopefully it doesn't start help desk support now! ;-)
[Nexus One Android Development] alextripp:
intersect, is there anyway you could do an extra audio boost kernel? even with your regular audio boost I can barely hear people on full volume :(
[Nexus One Android Development] intersectRaven:
No. As far as I'm concerned, boosting it may fry the speaker or connected circuitry and I'm not eager to test such limits on my N1. :)
[Nexus One Android Development] houzuoguo:
is there something wrong with your speaker? :rolleyes:
[Nexus One Android Development] slavag:
I see some degradation in wi-fi stability in 37.6. Reverted back to 37.5 - much better.
[Nexus One Android Development] fcisco13:
Have u tried the louder volume hack app on the market? It might help you...

N1
[Nexus One Android Development] k3vink3vin:
ch33kybutt, just fyi there is a "SD card reading speed fix" script in a thread in xda (http://xdaforums.com/showthread.php?t=1010807), which I noticed it also exists in ss4n1's storage/io tuning, where the read_ahead_kb is further increased in that script. The OP claims there is no side effects.

edited: the "SD CARD SPEED BOOSTER" app does the same I assume (https://market.android.com/details?id=com.vaelek.sdspeedboost&feature=search_result)

I tried setting it to 2048 (instead of 256 done by sscfg) and it does improve the sd's read/write speed substantially, judging from the "SD Tools" benchmark app.

(Write Speed increased from 7mb/s~ to 12mb/s~ and Read speed increased from 18mb/s~ to 28mb/s~, 4GB Class 4 microsd)

Do you have any comments on that? Are you going to increase the SD read/write cache size in ss4n1's presents like so?
[Nexus One Android Development] ch33kybutt:
SS4N1 does a global setting for read_ahead_kb (i.e. for all partitions, including system. data, sdcard, sd-ext, etc.). So whilst increasing the buffer to 2K does improve throughput, which is seen as great improvements in USB transfer speed, it unfortunately has a negative effect on interactivity, which translates to really laggy UI response. That said, I'll try to modify the script and provide an additional option for user to set their own value of read_ahead_kb for the sdcard, and maybe even for each partition.
[Nexus One Android Development] smalldroid:
Where can i get ss4n1 zip file?
[Nexus One Android Development] matasapi:
i have a big problem when i use this kernel.. can you tell me what's all about..??

i use [ROM-AOSP][03-26-11] Evervolv after flash ROM then i flash Darktremor Apps2SD 2.7.5.3 Beta 04 for enable AP2SD, then reboot. everything is ok..

I got the problem after i flash [Kernel] [.37.6] n restart, all my aplication in sd card is gone, when i try to install the aplication, that's say wanna to replace? ( so that mean still there's aplication in my phone). i try to replace.. done.. but restart.. n after restart.. that aplication that was i install can't found it...

the only solution to repair my phone is flash the rom n app2sd again without wipe..

so can you tell me how to update my kernel with correct step??
[Nexus One Android Development] terente0081:
Update after 24h of 2.6.37.6 CAVS kernel; With medium usage, 30 minutes of talk time and 40 minutes with display on, WiFi off and APN off, SS4N1 configured as described in one of my previous posts, the phone battery has dropped from 78% to 45%.

I'm now 2d 3h on this charge and I still have 41% battery. It will last for 3 days, guaranteed.

Another success with 37.6! Very battery friendly. Thanks IR!

Battery consumption may also be related to the ROM used, I'm on Rod's MIUIMOD 2.9.2 which is very nice, snappy and the UI is the greatest IMO. I wouldn't switch from MIUI for anything.. Looking forward to Rod's GB MIUI which is likely the only ROM I'll consider flashing.
[Nexus One Android Development] ch33kybutt:
You can get SS4N1 from the link in my signature.

Included is the SD Card speed reading fix from http://xdaforums.com/showthread.php?t=1010807. It will be enabled when "Storage/IO tuning" feature is enabled.
[Nexus One Android Development] gregferns:
Hi

I tried all the steps above, but it got stuck at the X. Dont know what went wrong

also i had unticked the BOOT AT Start for setcpu...

will retry and use moderate profile and see what happens...
[Nexus One Android Development] gnlcp:
hi guys... will this kernel work with eVil's NXSense v.1.26 with froyo??

what kernel do u suggest me to flash?
[Nexus One Android Development] fcisco13:
I think a CM6 kernel is what u need. I think IR made some they should be in the same spot.

N1
[Nexus One Android Development] sir*mez:
Sscfg script

I stopped using the sscfg script because of the same problem, I always get stuck when enabling this at the Nexus X. With the same exact settings and disabling all the features except the one that say autoswitch. I tried and gave up buy I really want to try it, lol.
[Nexus One Android Development] gnlcp:
do u mean this?

http://xdaforums.com/showthread.php?t=693375
[Nexus One Android Development] terente0081:
If you set UV values at 0 there's no reason to get stuck at X. I've turned on all tweaks and none prevented the boot. The only time I got stuck at X with SS4N1 was when I UV'd the AWAKE mode too much. I suggest you get the CAVS kernel, the SS4N1 script, load a profile and before Applying it, cutomise it so it doesn't UV at all when AWAKE or ASLEEP.

So, load the profile, from Main Menu press 4, then press 2 for AWAKE, press 2 agin to change the UV values and enter 0 for both Min and Max.

Press Enter to go back to the main Cutomise settings page, press 3 to configure the SLEEP mode, press 2 to configure the UV values, again, enter 0 for both Min and Max.

Press Enter to go back to the main Customise settings page. Press Enter again to go back to the main menu. In there, press 5 to save the config file, then press 1 to save it to the SD card.

After it's saved, go back to the main menu and press 6 to Apply settings. After the settings are applied, exit terminal and reboot. Are you still getting stuck at X?

Please make sure to have ALL other programs that can interfere with the Power governors and frequencied uninstalled, just to be safe. I only have SetCPU, which is disabled by not having it to set ANY values at boot. Others may have a mix of programs that are OC tools and/or battery saving tweaks. These may all interfere and set power governors and clocks and ultimately interfere with the SS4N1 script... If you have CPUTuner saying that the power governor should be Interactive, SetCPU On-demand and SS4N1 Conservative and all these 3 try to apply at boot, you have a conflict. So, just 1 tweaker should be active at a given moment. Choose your weapon and stick with it.

I am 100% that if you flash a fresh ROM, flash a fresh CAVS kernel, flash SS4N1 and correctly set UV values at 0, there's no reason not to go past the X.

I've been reading that A2SD may have something to do with getting stuck at X and using the latest STABLE A2SD is the fix.

BTW, IMO, try this with a freshly flashed CAVS Kernel and SS4N1. Also, to be safe, when I flash the kernel, I first wipe Cache and Dalvik cache x 3. I'd rather have a first slow boot to rebuild caches than face different problems afterwards.

ch33kybutt, I didn't know you released a new SS4N1. Other than the SD card tweak, is there anything changed? I now have the 20110222 version.
[Nexus One Android Development] fcisco13:
I mean this....

http://www.mediafire.com/intersectRaven#53r0taze0q4u7,1

Look for CM6

N1
[Nexus One Android Development] ch33kybutt:
Valid points made about dt-a2sd being one of the reasons for getting stuck at X. I for one, could never get BFS kernels to load while using dt-a2sd betas.

Only added the SD card tweak. The rest unchanged.
[Nexus One Android Development] Timdor:
I did this on a fresh CM7 RC3 install with a fresh IR CAVS kernel flash and I got stuck at the X
[Nexus One Android Development] harmohn:
Same here, even with min, max UV set at 0. :/
[Nexus One Android Development] Timdor:
Yup. I had to flash the SS4N1_Undo zip to get back into CM7. I'll probably try again just to make sure I didn't mess up but I double checked everything before I applied and rebooted.
[Nexus One Android Development] Timdor:
Just tried it again. Exact steps I followed:

1) Disable SetCPU

2) Boot into recovery

3) Flash CVS kernel

4) Flash SS4N1

5) Reboot

6) Open terminal, run SSCFG

7) Loaded "Moderate Battery Savings"

8) Edited awake and sleep max/min UV to 0

9) Saved config to SD card

10) Apply changes

11)Reboot

Now I'm stuck on X again. Not sure what I did wrong. In terms of A2SD, I'm just using the default that's included with CM7, nothing 3rd party.
[Nexus One Android Development] Mayday_XL:
Where can i dl this file (SS4N1) ?
[Nexus One Android Development] gnlcp:
oh thank u very much.. I'll try to flash the kernel u suggested me and I'll let u know. :) thank again ;)
[Nexus One Android Development] theloginwithnoname:
Yep, had same WiFi problem - will revert.
[Nexus One Android Development] gnlcp:
i tried to flash every cm6 kernel in that link but it seems wifi becomes broken.. it gives me error.. how to fix it?
[Nexus One Android Development] gregferns:
I did the same steps above except i did the same from ADB on my laptop

and as for editing, i did not change anything in the awake and sleep settings but

i disabled the dewonkifier....

Still i get stuck on the X, ,, had to restore a nandroid....

And this i tried after having done all the above previously and editing awake / sleep and making them to 0 etc....

now i am using only the IR cavs wififast kernel....

will try again tomorrow trying other tweaks...
[Nexus One Android Development] RogerPodacter:
so i just read thru the last 50 pages or so to catch up with everybody, and i think i have a good grasp. my noob question is how are everyone's results just running the stock voltages and not tweaking? let's say a 950mV kernel, how much saving is that over stock cm kernel, if any?

yesterday i had great battery results with this kernel just stock voltages, so i not sure if i will start tweaking or not. what's everyone's idle current draw looking like? yesterday mine was -8mA on average the whole day. but today its around -15mA in identical location at my cubicle, i've rebooted, cant get that sucker down.
[Nexus One Android Development] ellesshoo:
Getting stuck on X also with latest CAVS and SS4N1. It works as expected after enabling and setting the prefs. It's just on boot where things fall apart. I'm not using any other CPU programs, not uv-ing or oc-ing. I'm on CM7 RC3, and NOT using any apps2sd hacks. Not sure what I'm doing wrong since my setup is pretty vanilla so to speak.
[Nexus One Android Development] ch33kybutt:
Never had any problems booting with ss4n1 enabled. Those who do have issues, you should enable each feature individually to find out which one is the likely cause.
[Nexus One Android Development] den_breacker:
I just applied your settings on my n1 :-)

Very excited about battery life!

I noticed immediately after applying the settings that the phone is less snappy and needs some time to wake.

But that's a sacrifice i'm willing to make for decent battery life! :-)
[Nexus One Android Development] Timdor:
I'm going through now enabling each feature manually to see which one is holding it up.

So far, enabling the Dialer Optimization will get me stuck on the X. I'm working my way down the list but I know it's not the only one causing it

**EDIT**

I am not able to enable either dialer optimization or autoswitch between awake/asleep modes.
[Nexus One Android Development] terente0081:
Glad to be of assistance! Let us know if you find your battery life improving.

What do you mean by "some time to wake?" how much time? Mine wakes with less than a second delay.
[Nexus One Android Development] terente0081:
@Timdor, I don't know why you get stuck at X, it works here, no problem. I can even UV and will still get past X. Not by much, but it gets through.

I can see in the screenshot you've posted that you've set the SLEEP mode between 128000 and 245000. I didn't find that setting as good, the phone would be very laggy for me coming out of sleep. 128000 - 384000 is the good setting for me.

If 128-245, when someone would ring, the phone will have a big lag before showing the caller ID, which I didn't like and that doesn't happen with 128-384.

I really hope you can get to the bottom of this and be able to enable all SS4N1 features. Have you tried a different ROM?
[Nexus One Android Development] Timdor:
Thanks for the advice, I was getting frustrated with the lag and that fixed it.

I'm on CM7 RC3 now but I'll go flash the newest nightly and try again.
[Nexus One Android Development] Timdor:
I'm going to go ahead and grab the newest kernel as well.
[Nexus One Android Development] Timdor:
Just flashed CM7 RC4 with a fresh kernel and I still get stuck on the X if I tried to enable either one :(
[Nexus One Android Development] ch33kybutt:
Seems your phone's having problems running the threaded while loops. What version of busybox are you running? Just enter "busybox" from terminal, or get Busybox Installer from market to check.
[Nexus One Android Development] Timdor:
I'm running Busybox v1.16.2

I just updated to v1.19 and I'm trying it again, hopefully it works!

**EDIT**

No luck :(
[Nexus One Android Development] den_breacker:
I think it's quite the same here. What I meant was that there is some delay, which wasn't there before I applied ssf4n1.
[Nexus One Android Development] intersectRaven:
Minor update to AVS kernels released! just tweaked some compilation options... :)
[Nexus One Android Development] santoshgs:
Need help..

* I text a LOT, using Handcent Messaging (pop up messages), and Twitter.

* Multitask often.

* Need battery life of at least 16hrs on (slightly) heavy usage.

* Quite happy w/ the audio output. So don't wanna touch that!

What version of the kernel should a user like me install? (Or am I asking too much?)

Running CM7 RC4.
[Nexus One Android Development] fcisco13:
Would you like fries with that?

1- flash kernel

2- test

3- if good keep, if bad repeat steps 1-3

N1
[Nexus One Android Development] santoshgs:
Okaaay, thanks!
[Nexus One Android Development] Timdor:
Bah, I'm giving up on SS4N1. No matter what I seem to do, I can't get Auto toggle sleep/awake to work. That on seems pretty important :o

Guess I'll just stick with AVS + SetCPU
[Nexus One Android Development] cyberon:
We need a NOAUDIOBOOST version please! :o

Thanks
[Nexus One Android Development] intersectRaven:
There already is a NOBOOST version for both CM6 and CM7...what are you referring to? :confused:
[Nexus One Android Development] fcisco13:
He might be in wrong tread, i think he was refering to pershoot maybe...

N1
[Nexus One Android Development] ch33kybutt:
No worries, dude. Too bad I can't fix what I can't see ...
[Nexus One Android Development] intersectRaven:
AVS Kernels updated! :)
[Nexus One Android Development] Timdor:
If you're willing to help further, I'd be more than happy to post any and all screenshots/logs to figure this out. Whatever you need, just tell me.

I just don't know what else to do. I've tried old kernels, new kernels, different versions of CM7, all of which will not let me enable the autoswitch between sleep/awake without hanging on the X.
[Nexus One Android Development] intersectRaven:
Well, since you're hanging at the X, what you'll need to provide is the last_kmsg from recovery after a reboot after it hangs. I don't know what's actually happening but if it doesn't just hang and reboots after awhile, you should hold onto the volume rocker to boot into fastboot immediately so that the last_kmsg isn't overwritten. :)
[Nexus One Android Development] strauss0829:
can I use this on the new RC4 instead of the stock kernel that comes with it

EDIT - Im on ur mediafire and dont know which 4/01/2011 to flash there is like 6 different ones lol...I wanna try this one 2.6.38.2_CAVS-CM7-WIFIFAST_CFS_20110401_2304
[Nexus One Android Development] strauss0829:
Also ...do I need to do anything special or just flash and pray lol
[Nexus One Android Development] ch33kybutt:
Yup. Do what IR said ...
[Nexus One Android Development] intersectRaven:
1.) Yes you can. Use what you need. (I really should edit the OP for the revisions but I'm too lazy so just backread a bit (or wait for temasek to see your post). :p

2.) Just flash. I don't think a prayer is needed. (don't bother the One upstairs too much IMO) :p
[Nexus One Android Development] strauss0829:
well i flashed this one 2.6.38.2_CAVS-CM7-WIFIFAST_CFS_20110401_2304.....it booted fine and im only gettin quad scores of 1200 seems kinda low but phone is very speedy and wifi works and highest it goes to is 1.13GHZ is that right
[Nexus One Android Development] strauss0829:
also im runnin CM7 RC 4 like i said ..how do i get different track ball notification colors ..when I get a text my ball lights up white how do I change that

/
[Nexus One Android Development] RogerPodacter:
There is a group of people, me included, that are only getting 1000 on quadrant if charging, I got 1200 today not charging. Something is going on with aosp builds that just has reduced performance. And its not kernel related, but something to do with status bar policy or similar and the new changes made to that in cm7.
[Nexus One Android Development] paulk_:
Cm settings > interface > led notifications

Please keep future questions on cm to the cm threads in order to keep other threads clean
[Nexus One Android Development] den_breacker:
Battery life is now 48h, so I'm very pleased with that :-)

There's just one issue:

I can't install apps form the market. After it's starts "installing" there's a soft reboot...

edit: I'm also unable to uninstall apps. When I uninstall an app, it seems gone, but after a reboot, the app is back...

Any ideas?
[Nexus One Android Development] cloversis:
0402 version released?!

so quick! :adore: