yashsingh1/xdaforums huggingface dataset:
[Nexus S Android Development] steve.garon:
I've seen the commits in KalimochoAz github. unfortunately he didn't commit is defconfig so I've guessed the defconfig with this pastebin: http://pastebin.com/KqCF8zRb

I've downloaded one of the latest kangs and confirm the firmware drectory but can't find the NVRAM file... I'm compiling right now. I'll be able to test soon.
[Nexus S Android Development] reddv1:
Thanks for pointing me to his git.

Pull the boot.img from the latest kang and fastboot boot it and pull the config file under /proc edit: never mind it's not included in the kernel.
[Nexus S Android Development] steve.garon:
OP Updated!

ICS-SG-04122011.zip
- Switch Wifi driver to use BCMDHD

Note: use new kernel only on cm9 kangs later than 03 12 2011 or else wifi wont work.
[Nexus S Android Development] fleischbanane:
Will give it a try now.
[Nexus S Android Development] fleischbanane:
Wifi works after a reboot. :-)
[Nexus S Android Development] mixtapes08:
sir can you add this to your next ics for kang release (Ezekeel's init.d auto installer)?

thanks in advance your dec4 kernel was awesome... my wifi works now thanks again..^_^
[Nexus S Android Development] agambatra:
Deep Idle status is not available and idle stats fcs nstools. CMLED greyed out too
[Nexus S Android Development] raulillo88:
This kernel has BLN not CMLED, I think

Tonight in flight mode with Brainmaster v6 kwiboo mix I've had 0% battery drain. It's incredible
[Nexus S Android Development] nexusphone:
0%, Wow, tremendous!
[Nexus S Android Development] mixtapes08:
Did you read the note? Its for cm9 kangs only. If you use this in other build your wifi will probably not work.
[Nexus S Android Development] steve.garon:
Not sure what init.d auto installer is!? Can you point me in the right direction?

None of my kernel have deepidle anymore because it never gave me any concrete results. I get at max 1% battery drain in 9h in flight mode and 1% per hour when everything turned on. Besides, deepidle is only effective when you have everything turned off (bt, wifi, gps...) so what is the point really. It's not like my kernel are bad on the battery anyway ;)

I haven't built any CMLED ICS kernel yet. All ICS kernels are BLN kernels.

I know right! I'm getting the same tremendous battery life. I use my phone a lot more since ICS has come and I still have at least 40% battery left at the end of the day. :)
[Nexus S Android Development] agambatra:
(optional) Cyanogenmod Backlight Notification interface and DeepIdle in the OP confused me, I do have bt,wifi and gps all turned off a lot, any chance you'll be making use of deepidle again? cmled is no issue, dont really need it. Thanks :) , your kernel is great btw, great battery life.
[Nexus S Android Development] phone_user:
GLaDOS ICS thread

http://xdaforums.com/showthread.php?p=19626709#post19626709

http://xdaforums.com/showthread.php?p=19762272#post19762272

franco.Kernel ICS thread

kernel zip file

/kernel/unpack_add_init

#!/tmp/busybox sh
cd /tmp
mkdir ramdisk
cd ramdisk
/tmp/busybox gzip -dc ../boot.img-ramdisk.gz | /tmp/busybox cpio -i
if [ -z `/tmp/busybox grep init.d init.rc` ]; then
echo '' >>init.rc
echo '# Execute files in /etc/init.d before booting' >>init.rc
echo 'service userinit /system/xbin/busybox run-parts /system/etc/init.d' >>init.rc
echo ' class late_start' >>init.rc
echo ' oneshot' >>init.rc
echo ' user root' >>init.rc
echo ' group root' >>init.rc
fi
/tmp/busybox sed -i 's/persist.sys.usb.config=adb/persist.sys.usb.config=mass_storage,adb/g' default.prop
/tmp/busybox sed -i 's/persist.sys.usb.config=mtp,adb/persist.sys.usb.config=mass_storage,adb/g' default.prop
/tmp/busybox sed -i 's/ro.secure=1/ro.secure=0/g' default.prop
/tmp/busybox sh -c "/tmp/busybox find . | /tmp/busybox cpio -o -H newc | /tmp/busybox gzip > ../boot.img-ramdisk-new.gz"
cd ../

/META-INF/com/google/android/updater-script

...
;set_perm_recursive(0, 0, 0755, 0755, "/system/etc/init.d");
...
set_perm(0, 0, 0777, "/tmp/busybox");
set_perm(0, 0, 0777, "/tmp/unpack_add_init.sh");
...
run_program("/tmp/unpack_add_init.sh");
...
[Nexus S Android Development] steve.garon:
I am sooo adding this tonight :P
[Nexus S Android Development] steve.garon:
But as I was saying, deepidle is just placebo. Doesn't help to save battery in real life! It's also responsible for a lot of Sleep of death. So I'm not gonna add it again. Sorry.
[Nexus S Android Development] mixtapes08:
Thanks for granting my request. And thanks to phone user too for pointing steve.:)
[Nexus S Android Development] Abaddon:
nice pls add it on next update! thanks drew keep it up! :D
[Nexus S Android Development] Ezekeel:
There is so much wrong with what you wrote there.

First, I have shown in benchmarks (http://xdaforums.com/showthread.php?t=1297535) that DEEP IDLE does indeed save battery. Granted due to the limits of the current implementation it only saves battery when the screen is off and some background process is keeping the device from entering SLEEP, but if these conditions are met the battery savings are significant. It depends on the way the device is used whether one does actually see any improvements in real-life. For me for example DEEP IDLE is a great boon since I spend a lot of time listening to music.

Second, I am still missing any conclusive indications that the problem with SoDs is indeed caused by DEEP IDLE. On the contrary, I have run DEEP IDLE from the beginning and never experienced a true SoD. However I have experienced several SoD-like UI crashes (one while connected to USB, so definitely not related to DEEP IDLE) with the latest GB ROMs. On ICS I have had no such problems and also skimming thru Franco's ICS thread shows that the SoD issues have miraculously disappeared. All this kinda points to some serious issues with the latest GB ROMs.
[Nexus S Android Development] steve.garon:
Not than I didnt try deepidle. I tried it very often and it always result in the same battery usage than a kernel without it. If SODs where cause by GB than I don't know. But while everyone was having SODs with deepidle kernel I had none with non-deepidle kernel. I have never seen any proof that deepidle actually does anything to the battery life.
[Nexus S Android Development] Ezekeel:
The benchmark results I have posted are not proof enough? I have described in detail how I performed these benchmarks and you can always try it for yourself. As I said whether you actually see any of the savings in real-life depends on how you use your device.

Regarding the SoD problem, it might be possible that using DEEP IDLE increases the chance of having a SoD, however reports from people having SoDs with DEEP IDLE disabled and the fact that these problems seem to have vanished on ICS, strongly indicate that DEEP IDLE is not the root of this problem, but using it merely increases the chance of this bug being triggered.
[Nexus S Android Development] steve.garon:
I will agree with you for sure that GB had really bad reboots, feeeze and sods on the NS. Hopefully ICS will not suffer from that. *finger crossed*

Let just agree to disagree on deepidle. :P Just to be clear, I'm not trying to offend you at all on that subject. I love your work, it was a good idea on paper but just didnt live up to expectations.
[Nexus S Android Development] Ezekeel:
I did not feel offended at all.

It is just that I put a lot of work into it and I am pretty sure the current implementation is stable and it would be unfortunate if people would not use it just because it is falsely suspected to cause these serious problems. Maybe I am wrong and these problem really are caused by DEEP IDLE, but judging from the reports I am convinced that the root of these issues is elsewhere.
[Nexus S Android Development] floomat:
hey steve,

why is the 1000Mhz step missing?

my phone can't handle frequencys past 1000mhz and 800mhz is too slow for me..

nice kernel anyway, but i can't use it without the 1000mhz step. :(

edit: sorry missing information :D

using latest CM7 and SG-11UV-DeadLazy-CMLed-NKD-Boost-17112011.zip (DeepIdle Removed)
[Nexus S Android Development] phone_user:
Raise the voltage @1.1GHz by 25 or 50 and your phone can handle that frequency. :)
[Nexus S Android Development] floomat:
tested, no ._. still freezing and reboots at 1100. i assume raising it higher would eat more battery and thats not what a custom kernel is supposed to do.

thanks anyway :)
[Nexus S Android Development] droidance:
Can I flash this on Koush's Alpha 12 ROM or just CM 9 alpha kang builds?
[Nexus S Android Development] Abaddon:
tethering is wonky on latest kang from fitsnugly :/
[Nexus S Android Development] steve.garon:
If you phone cant handle oc youll have to use another kernel that uses liveoc. Sry.
[Nexus S Android Development] steve.garon:
Should work on v12 too. Its just my op that is outdated.
[Nexus S Android Development] steve.garon:
I have 100% respect for your work but that does not mean everyone should use it. I like the fact that my kernel is different, it give it a purpose. If all custom kernels are the same, what is the point of having many of them.
[Nexus S Android Development] steve.garon:
OP Updated!

ICS-SG-07122011.zip
- Added init.d support for all ROM. (Thx to Ezekeel, franco and phone_user)

I haven't tested it since I'm away from my phone. Let me know if it doesn't work...
[Nexus S Android Development] franciscofranco:
I think the init.d implementation doesnt work :/
[Nexus S Android Development] steve.garon:
Really? Good thing it was just a 5 min fix. Lol

For those testing the new kernel. By default, my kernel has BLN disabled on boot. But the init.d script enables it. So if 07122011 boots with BLN enabled it means that init.d works. If it boots with BLN disabled, it means it doesn't.
[Nexus S Android Development] phone_user:
Just tested on http://xdaforums.com/showpost.php?p=20055612&postcount=390

init.d doesn't work.
[Nexus S Android Development] raulillo88:
It will work wifi on brainmaster kwiboo v6?

Enviado desde mi Nexus S usando Tapatalk
[Nexus S Android Development] steve.garon:
The new stock cm7 kernel has a 1.1 ghz step but for some reasons keeps crashing at 1.1 which is really odd.
[Nexus S Android Development] synaesthetic:
It doesn't seem to be stable at 1.1GHz. I had three separate crashes today, all while playing music, two with the screen off. I lowered the max clockspeed to 800MHz and it suddenly became much more stable. I don't think the Hummingbird likes odd clocks.

I put netarchy back on for the time being, because ADW lags if I don't have it at 1GHz, but I'll reflash if this can be fixed. Netarchy is great and all but it's not being updated.
[Nexus S Android Development] steve.garon:
Make the voltage higher. Not all phone like oc/uv the same way.
[Nexus S Android Development] thoth77:
Thanks for this kernel.

Need for Update not yet?
[Nexus S Android Development] steve.garon:
I'm waiting for kalimochoaz to push latest changes to kernel to the CM crespo kernel repo. I'm still using this kernel with 7.1 stable and it works fine.

Stay tuned.
[Nexus S Android Development] thoth77:
Deep Idle!!

I will stay tuned.

:)
[Nexus S Android Development] steve.garon:
OP updated:

CM7SG-11UV-Lazy_14102011
- Merged with CM7.1 stable kernel
- Ondemand by default (lazy still available)
[Nexus S Android Development] tylercarter:
Good kernel. Any chance you could add simple I/O?
[Nexus S Android Development] steve.garon:
What's the benefits of simple IO?
[Nexus S Android Development] tylercarter:
On my captivate it just seemed to help make things smoother.
[Nexus S Android Development] morfic:
Try it, chances are you will notice it performs at best as well as deadline. Which makes it better than CFQ or BFQ, but why patch something in you can already benefit from with deadline?
[Nexus S Android Development] tylercarter:
I could be wrong but isnt it better on battery?
[Nexus S Android Development] steve.garon:
So your saying I should switch default shed to deadline ? Cause I was looking at my defconfig and I'm using cfq...
[Nexus S Android Development] morfic:
Comparing a CFQ or BFQ kernel to sio, it will appear so, compare a deadline kernel to a sio kernel, and i am certain you will think i tricked you building both with sio.
[Nexus S Android Development] tylercarter:
Found this

SIO is based on the deadline scheduler but it's more like a mix*

between no-op and deadline.*

In other words, SIO is like a lighter version of deadline but it*

doesn't do any kind of sorting, so it's aimed mainly for random-access*

devices (like SSD hard disks) where request sorting is no needed (as*

any sector can be accesed in a constant time, regardless of its*

physical location).*
[Nexus S Android Development] steve.garon:
Talking about battery:

OP updated!

CM7SG-11UV-DeepLazy_14102011
- Adds Ezekeel DeepIdle mod
[Nexus S Android Development] morfic:
correct, compare deadline and cfq

basically i am using a less efficient io scheduler to minimize the effect of stalls in the linux kernel when disk io happens at the same time as write back of dirty pages, on a desktop with fast disks, you may never notice this, on a flash device, you will).

This would be "felt" as a "smoother kernel"

sio will give you the same feel switching from cfq or bfq (although bfq seems to cause more stutters caused by stalls than even cfq, since it's subjective )
[Nexus S Android Development] tylercarter:
Perhaps. I just didnt know much about these things. I should have read a little more. If its not necessary then oh well. Your kernel is fast as hell anyway. :)
[Nexus S Android Development] morfic:
Do you notice any increased battery life?

On my TEUV Kernel i can't tell the slightest difference, my usage is about an avg of ~5% per hour, just like before ( yes: CONFIG_DIDLE=y )

Just wondering.
[Nexus S Android Development] steve.garon:
So from looking at my defconfig, deadline is built in my kernel. Is there any app I can use to switch io scheduler without having to rebuild a kernel? That way I could compare both.
[Nexus S Android Development] phone_user:
first flashed GLaDOS-ICS 03/12 test, init.d enabled

and after that flashed your kernel, init.d working remained. :)

There’s something...
[Nexus S Android Development] steve.garon:
K.. I'll check tonight.
[Nexus S Android Development] zyrtek69:
My bln started up active, but when I go to CPU in nstools it fc's.. tried everything i can think of to fix it. The other tabs work just not cpu

Edit: wiped it reflashed, good to go. Still bln started up active.
[Nexus S Android Development] gimiento:
Got an NS about a week ago and have been flashing through various kernels (matched with latest CM nightly). I've ended up on this one: great kernel, super stable and smooth. Thanks for the work.
[Nexus S Android Development] brenix:
Ok, so I figured out what was causing the issue with the init.d script..

@Steve: if you edit the kernel/mkbootimg.sh, edit line 5 and change the --ramdisk argument from /tmp/boot.img-ramdisk.gz to /tmp/boot.img-ramdisk-new.gz

Here's the full line just in case:

echo /tmp/mkbootimg --kernel /tmp/zImage --ramdisk /tmp/boot.img-ramdisk-new.gz --cmdline \"$(cat /tmp/boot.img-cmdline)\" --base $(cat /tmp/boot.img-base) --pagesize $PAGESIZE_DEC --output /tmp/newboot.img >> /tmp/createnewboot.sh
[Nexus S Android Development] steve.garon:
That's so obvious... thx

Edit: wait, still doesn't work. My phone booted with bln off even with your patch. I'll take a better look at it later in the day.

Edit: I think the permission on the initd files are not set properly... will try again later.
[Nexus S Android Development] steve.garon:
So I've removed the init.d kernel as it was not working. If/When I figure out what is wrong I'll put it back :(
[Nexus S Android Development] b1337:
Keep up the good work!!
[Nexus S Android Development] vinnypel2ella:
Can the newest kernel be used with the new v23 oICS?
[Nexus S Android Development] cropythy:
Is there some way to limit this kernel to 1ghz? My phone is incapable of being stable at 1.1ghz it seems...
[Nexus S Android Development] provolinoo:
Sorry for the noob question but: what's the init.d and how it changes, if it changes, kernel performances?

P.S.

I found in the minus folder a new kernel build dated Dec 08... is it a beta?
[Nexus S Android Development] steve.garon:
08 is the same as 04 but with some fixes to try to get busybox installed... but it doesnt work :(

Init.d does not really improve your phone performance but let you customize your kernel settings at boot.
[Nexus S Android Development] steve.garon:
Unfortunately no. I had the choice to implement liveoc or lock frequencies and decided to lock frequencies. When I get the time I'll patch live OC to update only the selected max freq instead of all freq. At that point it will be interesting for me. :)

For the time being, I cant help you.
[Nexus S Android Development] Dukko:
If I understood correctly, this is not compatibile with Brainmaster's ICS ROM, right?
[Nexus S Android Development] provolinoo:
Thanks a lot for the answer :)

So, if I get it right, with init.d support will I be able to use apps like nstool to change kernel settings and have them applied on booy automatically?
[Nexus S Android Development] steve.garon:
you can already use apps like nstools and have settings applied on boot. Initd allows you to apply settings without using an external app thats all.
[Nexus S Android Development] provolinoo:
ok I got it, thanks again :)

BTW, using your kernel 1204 right now, I do like default overclock :D
[Nexus S Android Development] byrko:
I cann't change Battery Extender from 96%.

Is ist a bug or a feature?
[Nexus S Android Development] provolinoo:
same here

moreover bln doesn' seem to work :(
[Nexus S Android Development] sk82jack:
Don't know if it's a bug or a feature but on franco's latest kernel you can get up to 100%
[Nexus S Android Development] steve.garon:
96 is the safe maximum. Higher than that, your damaging your battery. If you cant set it lower, its bug.
[Nexus S Android Development] sk82jack:
Oh right, good to know. So how does it damage it exactly?
[Nexus S Android Development] steve.garon:
Your battery will not last as long. The whole point of blx (battery life extender) was to put this value down ;)
[Nexus S Android Development] sk82jack:
When you say battery life do you mean short term, from 100%->0%, or long term, as in the battery will eventually pack in? Sorry if that's a stupid question lol
[Nexus S Android Development] provolinoo:
long term :)
[Nexus S Android Development] Icecoldmeat:
I like your kernel, yes. Very fast and snappy using NSCollab :)
[Nexus S Android Development] coloxim:
sorry for the question...but your kernel for ics..is based on kali kernel?
[Nexus S Android Development] steve.garon:
The wifi patches, yes. The rest yes and no ... depends.
[Nexus S Android Development] raulillo88:
Are you going to create a kernel with bigmem from ezekeel? I think is interesting

Enviado desde mi Nexus S usando Tapatalk
[Nexus S Android Development] steve.garon:
I'll take a look at it but don't wanna spend too much time on this kernel. I'm waiting for the 3.0 that should be coming soon.
[Nexus S Android Development] xPreSiDenT:
This kernels the best with CM7 but I thought I'd give ICS a go but I cant get past the google (un)lock screen after flashing this. I've tried both ICS versions on 3 or 4 different ICS roms. Any ideas? And thanks to the Dev for the great work!
[Nexus S Android Development] phone_user:
Steve Garon has not built the kernel for the official ICS (4.0.3) yet.

The ICS kernels here are have been temporary for the ported ICS roms.

We should wait until SG has finished :)
[Nexus S Android Development] steve.garon:
next year ;)

I'm in my chrismas vacation away from my computer.

Send from my Nexus S using tapatalk
[Nexus S Android Development] :
buone vacanze steve :)
[Nexus S Android Development] phone_user:
Have a nice time :)
[Nexus S Android Development] :
happy holidays steve:)
[Nexus S Android Development] steve.garon:
thanks all

Send from my Nexus S using tapatalk
[Nexus S Android Development] DoktorZero:
Thanks 4 your work Steve;)
[Nexus S Android Development] nexusphone:
The date of your departure is not far off. :)
[Nexus S Android Development] polobunny:
Could anyone mirror the stable releases for GB (both zips)? Somehow minus.com doesn't work for me. Thanks in advance!
[Nexus S Android Development] steve.garon:
Check OP.

Minus sucked too much so I removed everything from my account. I moved the only kernel that was still relevant to dropbox. ICS kernels will be coming soon.
[Nexus S Android Development] raulillo88:
I'm with eugene kernel But when you release your kernel will be my choose. It's the best without doubt

Enviado desde mi Nexus S usando Tapatalk
[Nexus S Android Development] nexusphone:
Give us ICS kernel :)
[Nexus S Android Development] fleischbanane:
We all wait for it. Give Steve the time he needs to build the best kernel!
[Nexus S Android Development] steve.garon:
The kernel is kind of ready my main problem is that the stupid wifi module won't load. :mad:
[Nexus S Android Development] fleischbanane:
Ohh damn, but good news anyway. Hope you can solve the problem. :-)

Gesendet von meinem Nexus S mit Tapatalk
[Nexus S Android Development] mobile_pc:
He is very handsome :)

But he has another face :p

Steve Garon's Google+
[Nexus S Android Development] steve.garon:
Managed to make Wifi works in ICS...

I moved any ICS kernel development to a new thread. This thread will remain for those that are still running GB. SG-NS-ICS Kernel Thread
[Nexus S Android Development] af974:
Thread closed by OP request
[Nexus S Android Development] steve.garon:
No clue yet. was compile 5 mins ago ... only time will tell. I'll let you know.
[Nexus S Android Development] tylercarter:
Im with you. Not much different at all. Maybe a tiny bit better on battery but not much.
[Nexus S Android Development] morfic:
no-frills cpu control allows you to change it on the fly
[Nexus S Android Development] steve.garon:
Cool. Running deadline now... I'll make it default if I can see a difference.

Thx, Morfic
[Nexus S Android Development] steve.garon:
Damn, I can see the difference. I'll have to compile a new kernel with deadline as default...

Btw, deepidle was a fail experiment. Every call I make, my phone can wake up the screen after the call. I might remove it completely for the kernel.
[Nexus S Android Development] steve.garon:
OP updated yet again:

CM7SG-11UV-DeadLazy_14102011
- Uses Deadline IO Scheduler by default (faster)
[Nexus S Android Development] Jibreil:
Has anyone tested this one MIUI ROMs?
[Nexus S Android Development] thoth77:
IO Scheduler vs DeepIdle

What' your recommendation?
[Nexus S Android Development] steve.garon:
OP Updated!

CM7SG-11UV-DeadDeepLazy_15102011
- Adds DeepIdle Bugfix #3 to DeadLazy kernel
[Nexus S Android Development] thoth77:
Real Update

All in one!
[Nexus S Android Development] steve.garon:
I'm not convinced tho. It crashed on me with a black screen. I think deepidle is not that stable... I'm running deeplazy right now to see if I get same black screen crash.
[Nexus S Android Development] igor.tonky:
couple of suggestions:

1) live OC mod

2) up 'conservative' available sampling frequency to 10K, so i could tune it to be good :)

edit: ok, i can live with 20K, just up the CONFIG_HZ to 1000 :)
[Nexus S Android Development] DynamicRam:
I get the SOD with deapdead . . . (no extra uv)

Back to deadlazy for now
[Nexus S Android Development] steve.garon:
Yeah me too. I've just compiled a new version using an hybrid config file between mine and morfic's. Hope it will fix the issue.

Edit: OP updated!

CM7SG-11UV-DeadDeepLazy_NDBG_16102011
- Kernel Built using and hybrid config file between mine and morfic's (it removes most of the debbuging stuff from the kernel).
[Nexus S Android Development] timeToy:
16102011 version had the same SOD issue that all the deep sleep versions before it also has.

Send from my couch.
[Nexus S Android Development] DynamicRam:
confirmed SOD with the experimental kernel
[Nexus S Android Development] dimiar:
Sod again with latest, same with previous

gone back on talons 2.1 ,

Miui brainmaster
[Nexus S Android Development] steve.garon:
For all of you having SoD issues, what radio are you running? And what cpu governor you are running?