yashsingh1/xdaforums huggingface dataset:
[Nexus S Android Development] phone_user:
Steve,

modifications to the code saving the original GPIO power down configuration before it is changed and restoring it after wakeup from DEEP IDLE

Ezekeel's thread

the new deep_idle patch to fix the extra battery drain when using deep_idle

Franco's thread
[Nexus S Android Development] steve.garon:
But the BCM4329.ko get generated and copied to my template kernel folder automagically when I run my build script. So I can't really forget to copy it. :confused:

How bout trying to flash a kernel that wifi works for you. Than remove the bcm4329.ko file from my kernel zip and flash my kernel after. Does that work ?
[Nexus S Android Development] steve.garon:
Yeah I know... I feel compelled to try it now! Damn that Ezekeel for being to good! ;)

I've moved on from crackflasher to crackkernelbuilder... The first step is to admit it :)
[Nexus S Android Development] raulillo88:
Where is exactly this file? Tomorrow will try it and post the result. Thank you man

Enviado desde mi Nexus S usando Tapatalk
[Nexus S Android Development] steve.garon:
System > modules

In the mean time grab version 16112011 from the OP ;)
[Nexus S Android Development] phone_user:
Thanks for update, Crackkernelbuilder :)

Steve, 16112011 the latest deepidle fix instead of removing that??
[Nexus S Android Development] raulillo88:
I've just tried deleting the bcm4329.ko and copying it the mat1x's kernel file and don't work neither. Another idea what could be the issue?
[Nexus S Android Development] fleischbanane:
Yeah, think so too but only if it works.
[Nexus S Android Development] steve.garon:
Even with 16112011? Install alogcat, boot my kernel, try enabling wifi and send me logs with alogcat if there is no mention of the error in the logs, I'll create you a kernel with dbg on.
[Nexus S Android Development] steve.garon:
Yes. Its a kernel with DI fixed. Altho I can see that ezekeel released another fix which I didnt have time to apply. Let me know how this goes.
[Nexus S Android Development] raulillo88:
Ok I'll install the alogcat. But now I have another problem. I've come back to the matr1x and now doesn't work the wifi neither

Enviado desde mi Nexus S usando Tapatalk
[Nexus S Android Development] raulillo88:
This is the alogcat after a dalvik-cache wipe and install your kernel without disable wifi
[Nexus S Android Development] steve.garon:
There is obviously something wrong with your Phone or ROM. I doubt this would be kernel related. It might be time to restore a previous CWM backup or backup all your app with TB, reinstall your ROM than do a factory reset. You could also try to wipe Dalvik cache, cache and then fix_permissions. Or even reflash your ROM.

I really doubt its kernel related since from what I remember you where having trouble with morfic's, mine and matrix's kernel. All those kernel are usually pretty stable. And I havent heard of wifi trouble before now...
[Nexus S Android Development] raulillo88:
Now in the matr1x kernel has started to work. I've installed an stock kernel and later the matr1x an works again. The wifi error its only produced by morfic's and your kernel. Thanks

Enviado desde mi Nexus S usando Tapatalk
[Nexus S Android Development] steve.garon:
OP Updated.

SG-11UV-Dead(Deep/NoDeep)Lazy-EzMod-NKD-Boost_17112011
- Experimental release to compare DeepIdle with 3.1 Cpuidle backport (one kernel has deepidle fixed the other deepidle removed.
[Nexus S Android Development] phone_user:
Thanks for update :) "cpuidle backport" vs "DeepIdle"

(Tread Title still 2011-11-16)
[Nexus S Android Development] raulillo88:
Yesterday finally flashed another rom and now works all kernels. Sorry!

Enviado desde mi Nexus S usando Tapatalk
[Nexus S Android Development] raulillo88:
I'm using the dead lazy and it seems drains more than dead deep lazy. The problem is like in other roms the flight mode drains too much

Enviado desde mi Nexus S usando Tapatalk
[Nexus S Android Development] steve.garon:
Good to ear that your phone wifi is back from the dead.

One thing your need to make sure is that you should turn OFF screen_off_maxfreq when using lazy with deadlazy kernels.

And then when your using deaddeeplazy you can turn it on. It's a feature that was introduced to lazy to apparently get better battery life.
[Nexus S Android Development] raulillo88:
Thanks a lot I'll try it. One more question has the 400 and 800mhz frecuency 220 mhz bus or only 1.1 and 1.3ghz?

Enviado desde mi Nexus S usando Tapatalk
[Nexus S Android Development] steve.garon:
400 and 800 cannot be divise by 220 ;)

Joke aside they are 200 mhz bus. They are here to save battery, nothing more.
[Nexus S Android Development] phone_user:
NoDeep_17112011, Battery use (mainly stanby)

device : 9020

rom : GPA19 23-10-11

kernel : SG-11UV-DeadLazy-EzMod-NKD-Boost-17112011

cpu set : 400~1100MHz, lazy, screen_off_maxfreq OFF
[Nexus S Android Development] phone_user:
Deep_17112011 Battery use

deepidle enabled

screen_off_maxfreq ON
[Nexus S Android Development] steve.garon:
From what I can tell. The difference between the two is minimal if any. I have the same battery life on both.
[Nexus S Android Development] phone_user:
Indeed, difference not meaning
[Nexus S Android Development] steve.garon:
So after a couple of days of running without deepidle I really don't see the point of it. When all is on (bt, wifi, gps, sync, 3g..) and most of my apps pull for data every 30 min, I have 1% per hour battery drain (screen off of course.) And in airplane mode 1% in 7h!
[Nexus S Android Development] fleischbanane:
So what's the latest kernel with CMLed and without deep idle?
[Nexus S Android Development] steve.garon:
Well, I'll go walk the dog and will compile one just for you right after...
[Nexus S Android Development] steve.garon:
OP Updated!

CMLed Kernel with removed BLN available!
[Nexus S Android Development] phone_user:
Typo? :) BLN ☞ Deep Idle?

and Tread title still 2011-11-16 ☞ 2011-11-17
[Nexus S Android Development] steve.garon:
I dont see what you mean :P
[Nexus S Android Development] phone_user:
I think arifhn added "CM LED management" to the tweak tab of NSTools for SG kernel CMLed version :)
[Nexus S Android Development] steve.garon:
Yes he did. :)
[Nexus S Android Development] tylercarter:
Gonna test this one
[Nexus S Android Development] steve.garon:
I just tried them and they worked here ...
[Nexus S Android Development] tylercarter:
Sorry. False alarm. It was a problem with my xda premium app.

I wanted to see if your cmled kernel fixed oxygen 2.3.2 where the backlights would stay on. And so far yes it does.
[Nexus S Android Development] steve.garon:
This morning its Ice cream Sandwich time...

So I followed in the foot steps of everyone else and installed Koush ICS AOSP Rom. I was missing some of the functionalities of my kernel so I patched it to work with ICS.

You can get it from the OP :)

ICS-SG-11UV-DeadLazy-EzMod-NKD-Boost-22112011.zip
- Normal DeadLazy kernel with all Koush's fix for ICS!
[Nexus S Android Development] phone_user:
Wow, ICS! :)
[Nexus S Android Development] steve.garon:
I'm actually amazed at how fast ICS is ... especially the browser. Browsing in GB was a pain in the ass, but now with hardware accelerated browser, its just soooooo fast. almost desktop like.

I was thinking of buying the next Nexus phone but the urge as gone down a lot since I saw what the NS can do with ICS. Maybe this will save me a couple hundred bucks :)
[Nexus S Android Development] phone_user:
You talked me into it. :)

Beagle pup and the praying mantis!

praying mantis? :) taken with Nexus S?
[Nexus S Android Development] steve.garon:
haha that's my dog! She was so interested with that praying mantis. She played with it for 2 hours. She didn't hurt it because I wouldn't let her...
[Nexus S Android Development] phone_user:
lovely, good-hearted beagle pup! :)
[Nexus S Android Development] mixtapes08:
You got that right..*_*
[Nexus S Android Development] phone_user:
I just flashed Brainmaster's tweaked ICS MIX v4 based on Koush's Alpha 9 with ICS-SG-11UV-DeadLazy-EzMod-NKD-Boost-22112011. I'll check it out. :)
[Nexus S Android Development] fleischbanane:
Will give it a try now. ;)
[Nexus S Android Development] fdxgnd:
Wow. I love this kernel. Its lime a stick of butter slipped into my charging port. Way to go man.
[Nexus S Android Development] phone_user:
Quebecer? French language on YouTube... :)
[Nexus S Android Development] nickmv:
Steve, nice work here. I've been looking for a TUV11 ICS kernel from morfic or someone. 880mhz TEUV's are nice, but the perf-battery ratio of TUV11's is way better.

Side question: Does deep idle work in ICS? I was under the impression that it didnt work for anyone.
[Nexus S Android Development] phone_user:
Indeed, ICS browser surpass iPhone's safari!? :) But, root explorer UI crashed in ICS :(
[Nexus S Android Development] batting1000:
CRAZY smooth on smartassv2 gov.

---------- Post added at 11:59 AM ---------- Previous post was at 11:49 AM ----------

Any way to fix the green color flash when turning off the screen?
[Nexus S Android Development] proxuser:
very fast kernel and great functions. thx
[Nexus S Android Development] fleischbanane:
Use 'root browser': http://xdaforums.com/showthread.php?t=1338582 ;)
[Nexus S Android Development] phone_user:
Thanks for the tip :)
[Nexus S Android Development] steve.garon:
Yup, I'm busted!

The ICS kernel does not have DeepIdle in. From my previous testing, deepidle does not help at all. I have the same battery usage with and without. So I removed it completely from the kernel. This kernel should give you really good battery life. With everything on (Sync, wifi, GPS, bluetooth, 3G and apps pulling for data every 30 min) I only have 1% per hour drain. And if I put the phone in airplane mode, 1% per 7h... At that rate who needs deepidle...

You should give Lazy a try. You'll save battery and it should be just as fast! ;)

The green color is caused by you voodoo settings to be too low. Make your RGB multiplier higher and it should stop.
[Nexus S Android Development] raulillo88:
I expect this kernel don't cause reboot like others. All that I've tested in ICS do it

Enviado desde mi Nexus S usando Tapatalk
[Nexus S Android Development] steve.garon:
I haven't had reboot yet, but I'm only 15hrs in...
[Nexus S Android Development] steve.garon:
OP Updated!

ICS-SG-11UV-DeadLazy-EzMod-NKD-Boost-BMClean-23112011.zip
- Fixed Data stats (ICS)
- Fixed USB (ICS)
- Fixed Tethering (ICS)
- Add remove script for brainmaster init.d scripts (They where slowing things down...)
*Note: I suggest you use this kernel with brainmaster v4 ICS Rom.
[Nexus S Android Development] phone_user:
Thanks for update :) I'll try with brainmaster v4 ICS Rom.
[Nexus S Android Development] jhalmeida:
USB working fine here! finally!
[Nexus S Android Development] Roscopcoletrain:
darn you...things are working so well with Kwiboo v2 for me....to try or not to try. So many choices. Its like choosing only one flavor of Ice Cream when there are 10 excellent ones available :p
[Nexus S Android Development] steve.garon:
The reason why I suggest Brainmaster's is because he has initd support in his Rom which make remounting the ext4 partition available thus IO faster.
[Nexus S Android Development] phone_user:
I alternately flashed ICS-SG-23112011 and GLaDOS for ICS #3 on Brainmaster's tweaked ICS MIX v4 rom. Hardware accelerated browser scroll really smooth :) But I had an impression that ICS need more power than GB. Then Setting your kernel 1.32GHz (bus/GPU 220 MHz) and GLaDOS LiveOC120 1.2 GHz (bus/GPU 240 MHz), at last ICS made me feel good. :) "snappy", "fast", "smooth" especially the launcher
[Nexus S Android Development] jhalmeida:
And battery?
[Nexus S Android Development] phone_user:
Unofficial ICS necessitated OC and more power for the brisk until the optimized rom coming :p
[Nexus S Android Development] raulillo88:
Very very good. I miss the live oc too cause I only use 800Mhz and have 880 is good for me. But this kernel works very good

Enviado desde mi Nexus S usando Tapatalk
[Nexus S Android Development] raulillo88:
Incredible!

Enviado desde mi Nexus S usando Tapatalk
[Nexus S Android Development] intheb0x:
The first ics kernel is for BMs rom only?

Are these compatible with the NS4G?

Thanks

Sent from my Nexus S 4G with Ics 4.0.1
[Nexus S Android Development] steve.garon:
I recommend BM roms since they have init.d support. But the kernel is for all ICS AOSP roms...

I have the wimax radio switches ON in my defconfig so it should work with NS4G also.
[Nexus S Android Development] steve.garon:
So Im getting better speed with koush a9 than bm4. Havent tried bm5 tho...

Too much things to flash!
[Nexus S Android Development] phone_user:
Crackflasher & CrackKernelBuilder! :)
[Nexus S Android Development] steve.garon:
BM5 has definitely faster IO than Koush a9. And the UI speed seems equal. So... BM5 wins it for me! Also in BM4, Android OS seemed to be draining a lot of battery. That seems fixed for me in BM5.

Can't wait that we get a proper release build from Google tho. These test builds are great but there are some tiny issues with them that would definitely be fixed in a release build.
[Nexus S Android Development] juliano_q:
Flashing your kernel now, was having much reboots with BM v5 + franco. Are you guys having random reboots with this kernel?
[Nexus S Android Development] phone_user:
Wow! Do not need overclock?
[Nexus S Android Development] jhalmeida:
Hi, No reboot had a random one yesterday after battery dropped below 18 % but I was also installing many stuff. Until today still holding with 0 reboots!
[Nexus S Android Development] juliano_q:
sadly having A LOT of random reboots now :( it is a shame because the system is running very fast.
[Nexus S Android Development] steve.garon:
If your phone does not like Overclocked Bus and Undervolt you'll definately get reboots. If you get reboots, install NStool, put the voltage higher and it should stop.

This kernel is preconfigured to get better battery life with a bit of overclocked but not all phones can handle it unfortunately :(

FYI, I never had a single reboot in ICS yet... Been using ICS for the past 3-4 days.

Good luck!
[Nexus S Android Development] steve.garon:
I leave my phone at 1100 and its flying... ;)
[Nexus S Android Development] phone_user:
SG kernel default voltages

1320mhz: 1375 mV

1100mhz: 1225 mV

800mhz: 1175 mV

400mhz: 1025 mV

200mhz: 925 mV

100mhz: 925 mV

raised the voltage @1.1GHz by 25 or 50, my device stable :)
[Nexus S Android Development] phone_user:
I'll forget about buying next nexus phone :)
[Nexus S Android Development] juliano_q:
Thanks I will try it, maybe it is because the weather is really hot here in Brazil today or something like it.

EDIT: Changed on NSTools voltage of 1100mhz to 1275 mV and it is working well, so far no reboots. Thank you guys!
[Nexus S Android Development] steve.garon:
Damn you with your hot weather! :eek: Just started snowing here ;)

I need vacation in Brazil...
[Nexus S Android Development] juliano_q:
lol, it is too hot (around 32 celsius) and I am not even in a hot city. But I really cant stand a heat like this, around 22 celsius is much better for me :) but the girls are using much less clothes today so I wont complain :D

just to give some information in an off-topic post, after changing the voltage the system is running very smooth with no reboots, it is perfect!
[Nexus S Android Development] juliano_q:
This kernel is too good to be in the second page :D
[Nexus S Android Development] reddv1:
Does cmled have similar functionality to bld, so I can control the timeout of the touch keys while the screen is on?

As for the following reply:

This is ridiculous! You can't bump up threads just for the sake of bumping it back up. This is not fair for other threads in the section.

Read the Section Rules sticky where it states replies in the development section should be for bug reports, problems, troubleshooting issues and logs only.
[Nexus S Android Development] juliano_q:
sorry, bad habit from other forums. wont do it again.
[Nexus S Android Development] steve.garon:
Yes it does. It has timeout for touch key. Blink support and blink timeout.
[Nexus S Android Development] reddv1:
That's great, I'm thinking of using that instead of bln/bld because bln constantly runs in the background at over 20mb. What do you think? do you prefer cmled?
[Nexus S Android Development] tempera:
What kernel to use with BM v5?
[Nexus S Android Development] phone_user:
ICS Kernels:

ICS-SG-11UV-DeadLazy-EzMod-NKD-Boost-BMClean-23112011.zip

first post
[Nexus S Android Development] tempera:
Yeh the BM Clean said it was for v4
[Nexus S Android Development] steve.garon:
I personally use the bln kernel but had no idea it used more memory... are you sure about that? cause if so, I'll start making my noled kernel again, since I have bln turned off anyway.

The one thing I dont like about cmled is that you cant shut it off. It uses your system configuration. So if an app uses notification led they will be shown no matter what.
[Nexus S Android Development] phone_user:
for all ICS Roms :)
[Nexus S Android Development] wmdunn:
Yes ... +1 for noled kernel.
[Nexus S Android Development] steve.garon:
OP Updated.

ICS-SG-11UV-DeadLazy-EzMod-NKD-Boost-27112011.zip
- Adjusted colors so they are not washed out
- EXT4 Speed improvements
- Changed default kernel settings because init.d script are not supported yet in CM9
[Nexus S Android Development] phone_user:
Thanks for update :) The contents of "init.d script" implemented in default kernel settings?
[Nexus S Android Development] steve.garon:
Not all. Some of it was making things worst in ICS. The initd was optimized for GB.
[Nexus S Android Development] phone_user:
Ah, I see!
[Nexus S Android Development] wataru:
using this with MV's rom... it is rock stable and smooth.... thx~

no bugs found yet....

checked BT, GPS /w nav WIFI

battery drain has been ok as well...

OC to 1100mhz~
[Nexus S Android Development] fleischbanane:
I run it on Koush's ICS and have no problems!
[Nexus S Android Development] steve.garon:
This is the rom I'm running also. The only problem I find is that the IO is nowhere near what it was running GB. Hopefully, the CM team will work on that soon because it makes the ICS experience quite bad. I've tried other kernel to make sure I didn't do something wrong in mine and everyone seems to be suffering from the same problem...

There is a modified sqlite lib that removes fsyncs which would make that lot faster but it could produce data loss if the system crash and no syncs where done. I might also try to make a kernel with fsync turned completely off to see if that helps.
[Nexus S Android Development] copi:
Hi Steve,,

I've tried ur 23-11 kernel with raised 25 voltage at 1.1hz on BM V5, and I must said that it has incredible stabled so far not having single reboot, and signal strenght is also good.

But having read on other thread about battery life, i'm a bit curious how they can achieve that awesome battery life to 17h etc, cause on my side with 100 - 1100 lazy deep idle off, maybe just 7hr top.

So my question is, do u have any suggestion on the setting nstools that can achieve best battery life?

and do you also suggest that it'll be better to upgrade to your 27-11 kernel for BM V6 ( koush ) or..?

thanks, Much appreciated
[Nexus S Android Development] raulillo88:
Could you add the 880mhz step. It would be very usefull for me that I want the maximum battery live without uses 1100. Thanks

Enviado desde mi Nexus S usando Tapatalk
[Nexus S Android Development] steve.garon:
27-11 is definitely a better kernel because IO improves a lot. It may improve battery since you'll spend less cpu cycles updating the file system. I don't thing that your problem is related to kernel. It's either your usage or a rogue app that is draining your battery. The NS should old a full day of charge easily. I usually have 30% battery left at the end of the day. (16h) And that is with at minimum 2h30 of screen on time and with everything turned on at all time (3G, wifi, gps, bt...) The screen is usually a big power drain. Doesn't matter what kernel/rom you run. After 4h30 hours of screen on, your battery is dead. It's as simple as that...

I'm hesitating. The problem is that if I add 880 I should then just use liveoc instead... If I use liveoc there is no point on making this kernel as it would be the same as franco's or ezekeel because all the NS kernel share a lot of code. My kernel wouldn't have a purpose if I was just doing what everyone else is... does that make sense?
[Nexus S Android Development] raulillo88:
But the 1100 has the 220mhz bus right or I'm wrong?

Enviado desde mi Nexus S usando Tapatalk
[Nexus S Android Development] phone_user:
SG kernel vs the other kernels

"No LiveOC, No Deep_Idle and etc" another option for users! It's good. The choice is yours :)

SG for GingerBread , 17112011 the last version? I have used ICS today for hours, some apps not compatible with that then came back to the GB. I'll wait a little longer for the official release.

(※ thread title still 2011-11-23 ☞ 2011-11-27?)
[Nexus S Android Development] raulillo88:
I know and I love this rom for its simplicity and battery drain. There haven't rivals but I question this cause I think 1100 has 220mhz bus but I don't know if I'm wrong. If 1100 has 220 bus was easy put it to 800 too, I think

Enviado desde mi Nexus S usando Tapatalk
[Nexus S Android Development] steve.garon:
Not that its not easy. Right now, only 1100 and 1320 run at 220 mhz. If I start making more freq using 220 bus, might as well use liveoc. But, using liveoc makes all kernels the same. I don't think it is necessary to overclock lower freq as they are only used for battery saving purposes on idle and I dont want my idle battery life to go down.
[Nexus S Android Development] steve.garon:
I dont think there will be more update to my GB kernel as everyone is focussing effort on ICS. Anyway my GB kernel was really stable.
[Nexus S Android Development] raulillo88:
Yesterday I flashed the new drewgaren's rom with your 27112011 kernel and my battery drain has increased a little. Before flash in 8 hours with airplane mode had 1% battery drain tonight has been 3-4% and using the phone I noticed that too. Could be the kernel or rom? The configuration is the same 100-800 lazy, maxfreq screen off

Enviado desde mi Nexus S usando Tapatalk
[Nexus S Android Development] steve.garon:
I'm getting 1% drain in 7-9 hours in airplane mode all the time with 27112011 and cm9 alpha 11. So maybe the rom? Check your radio too. It might impac battery life. I'm running latest kf1 radio for my phone.
[Nexus S Android Development] raulillo88:
I'm using kf1 too. I will try another rom but drewgaren's rom has the best task killer that I used. Thanks

Enviado desde mi Nexus S usando Tapatalk
[Nexus S Android Development] Icecoldmeat:
First time I tried this, and it's extremely fast in my eyes! Good job.

Sent from my Carbon Nexus using franco's kernel.
[Nexus S Android Development] steve.garon:
OP updated.

[B][I]ICS-SG-11UV-DeadLazy-EzMod-NKD-Boost-03122011.zip[/I][/B]
- Adjusted voltage so it does not crash anymore on heavy load
- lowered voltage on 100mhz and 200mhz to make it save even more battery than before...
[Nexus S Android Development] phone_user:
Thanks for update :) I'm an update enthusiast.

---------- Post added at 11:45 PM ---------- Previous post was at 11:21 PM ----------

03122011 voltages

1320mhz: 1400 mV (←1375 mV)

1100mhz: 1250 mV (←1225 mV)

800mhz: 1175 mV

400mhz: 1025 mV

200mhz: 900 mV (← 925 mV)

100mhz: 900 mV (← 925 mV)

Nexus S stock voltages

1000mhz: 1250 mV

800mhz: 1200 mV

400mhz: 1050 mV

200mhz: 950 mV

100mhz: 950 mV
[Nexus S Android Development] fleischbanane:
Just flashing it. :)
[Nexus S Android Development] fleischbanane:
Can't use the kernel any more with the latest KANG: http://fitsnugly.euroskank.com/sammich/crespo/

Wifi must be updated. Are you using KANG builds or have to wait for a new alpha by koush.

And BLN is working with the stock CM9 kernel but not with yours.
[Nexus S Android Development] steve.garon:
Yeah I saw those updates for wifi. I'll check that out later.
[Nexus S Android Development] reddv1:
Where did you see the wifi updates? I can't find the cm9 ics kernel source.