yashsingh1/xdaforums huggingface dataset:
[Nexus S Android Development] dimiar:
I9023

XXKD1

ON LAZY

I've flashed it again, 30 min ago, I've set min frequency at 200 MHz

Seems ok until now, still testing..
[Nexus S Android Development] steve.garon:
I have 7h uptime on experimental no SoD. On uckf1/lazy cm7.1 stable.
[Nexus S Android Development] thoth77:
No Deep-Sleep

16102011 version, wake well so far
[Nexus S Android Development] DynamicRam:
KF1 - smartass - SOD
[Nexus S Android Development] dimiar:
After 9 hours still works smoothly, no sod! 1610 kernel. I 've raised CPU from 100 to 200 ,so far so good
[Nexus S Android Development] thoth77:
1610 Finally deep sleep
[Nexus S Android Development] steve.garon:
Smartass has been really bad for me on the NS. Gives lot more reboots than ondemand or lazy. Try other governor and let me know if it stills SOD.
[Nexus S Android Development] from1989:
miui sod
[Nexus S Android Development] endursa:
installed the 1610 yesterday,

today SOD after plugin headphones in! (music not yet started)

KF1, lazy gov., i9023!

reverted back to the 1410, but there is no bln build in that buggs me a little!
[Nexus S Android Development] steve.garon:
So SoD is definatly not gone.. I'll probably build another experimental kernel today or tomorrow will see how this goes.
[Nexus S Android Development] timeToy:
Use the BLN app from the market, there is free and paid for version with blinking. BLN works fine for me.

1410 here too, running great and stable (3000 Quadrant on Stock Rom at 1100) +20H battery life (with Touchdown Exchange client that suck around 15% of the batt)
[Nexus S Android Development] endursa:
lol? it seems that the bln plementation is not working in my phone, tried the bln app today, and it detects no bln Module

Sent from my Google Nexus S
[Nexus S Android Development] steve.garon:
Weird. Works on mine... I have it off but the bln app finds it.

On a side note I'll be posting and updated kernel as soon as it finish compiling. It will still be experimental but loads of commits that I'm really excited to test like 3.1 kernel ports, possible reboot loop fix, simple io (default) and vr ioshed....
[Nexus S Android Development] steve.garon:
OP updated!

CM7SG-11UV-SIODeepLazy_17102011
- SIO Default ioscheduler
- VR ioscheduler compiled in kernel
- File system tweaks by umaro
- USB tweaks by umaro
- cpuidle backport from Kernel 3.1
- Bug fix #4 deep idle sys interface
- Possible boot loop fix (missing vendor file)
[Nexus S Android Development] tylercarter:
Just flashed but don't see sio.

Edit: oh and vr is freaking sweet!
[Nexus S Android Development] steve.garon:
The one posted right now is SIO by default.

I'm compiling the deadline default one right now .. and I'll finish with the VR one...

EDIT: your right.. SIO does not work.
[Nexus S Android Development] tylercarter:
Doesn't show up on no frills. Only vr. Hmmm.... reflash mayhaps?
[Nexus S Android Development] steve.garon:
Nah .. it didnt compile. I've removed the kernel. I'm compiling deadline and vr now.. will post them in a sec.
[Nexus S Android Development] steve.garon:
OP Updated!

DeadDeepLazy 17102011 available!

EDIT: VRDeepLazy 17102011 available!
[Nexus S Android Development] from1989:
what different?and the bln need app???
[Nexus S Android Development] steve.garon:
Dead use deadline io

Vr use vr io

For the rest check the changelog in OP
[Nexus S Android Development] from1989:
the bln do not work～～～
[Nexus S Android Development] steve.garon:
Works for me.... use bln app to turn on.
[Nexus S Android Development] steve.garon:
Since the new sys interface for deepidle, if you want to turn on deepidle you have to do it manually. It's off by default.

Check status:

cat /sys/class/misc/deepidle/enabled

Turn on:

echo 1 > /sys/class/misc/deepidle/enabled
[Nexus S Android Development] from1989:
why not make it aauto?
[Nexus S Android Development] from1989:
use what to turn on？
[Nexus S Android Development] steve.garon:
Use terminal emulator app. Next build will have it on by default.
[Nexus S Android Development] steve.garon:
Cause I hate BLN. Waste of my battery ;)

You can still turn it on tho...
[Nexus S Android Development] from1989:
i enabled it but it clossed when i reboot??
[Nexus S Android Development] thoth77:
Turn On?
[Nexus S Android Development] from1989:
why????? deepidle can not work when i reboot
[Nexus S Android Development] Igotsanevo4g:
If it spits a 1 back at you, that means it is on. Correct?
[Nexus S Android Development] from1989:
i think so
[Nexus S Android Development] fleischbanane:
Yes, and it works good for me.

One question: how long do i need to wait for the phone to switch in the deep idle mode after turning the screen off?
[Nexus S Android Development] Arkymedes:
Want to know that too
[Nexus S Android Development] steve.garon:
So, if you reboot, deepidle shuts off. Why its that way? Because I didnt know it was off by default. I'll have to build another kernel or put an init.d script in my kernel to put it on by default.

You want it by default now. Create a file in /etc/init.d/ named 99deepidle.

The content of the file shoudld be as follow:

#!/bin/sh
echo 1 > /sys/class/misc/deepidle/enabled

Make sure script is executable:

chmod 777 /etc/init.d/99deepidle
[Nexus S Android Development] steve.garon:
So did anybody compared vr and deadline? Which one do you prefer? See any diference?
[Nexus S Android Development] shubu000:
is it possible to tell the difference if i change the scheduler through nofrills?

no need to reflash to compare the difference?
[Nexus S Android Development] steve.garon:
Yes you can use nofrill to switch scheduler.

FYI, I did tons of benchmarks this morning, deadline is faster than vr.

Vr 3.25mb/s write, 17.54 mb/s read

Deadline 3.84mb/s write, 18.23 mb/s read

Also using deadline the phone feels faster. I also get a +1000 io points score in average in quadrant.

I'll leave vr in the kernel for those who want to use it but from now on will only compile deadline as default.
[Nexus S Android Development] DynamicRam:
i think that the "noop" or the "virtual" scheduler are more superior to deadline at least for flash memories
[Nexus S Android Development] steve.garon:
From what I read VR imposes penalty on seek back which is totally irrelevant for flash memory. In the benchmarks that I did VR was slower than Deadline and noop cripple the system while writing to flash while doing something else at the same time. (ex.: downloading a rom while still using the phone I saw a bigger perfomance hit with noop than vr and deadline.)

This is why deadline will be used for this kernel. BUT, noop and vr remain available. You can use nofrill to make them as default on boot.
[Nexus S Android Development] DynamicRam:
check this

http://xdaforums.com/showthread.php?t=1176334
[Nexus S Android Development] timeToy:
Isn't VR IO specially designed with spinning disk in mind ?

http://www.gelato.unsw.edu.au/IA64wiki/IOScheduling/VRscheduler

Did you tweak the internal parameters to account for the lack of penalty introduced by lack of seeking ?
[Nexus S Android Development] steve.garon:
The key difference between the Galaxy S and the Nexus S is the file system. Galaxy uses RFS, Nexus uses ext4. Different IO scheduler will have different performance depending on the file system. Therefor those benchmarks are irrelevant for our device.
[Nexus S Android Development] steve.garon:
No. I could set rev_penality to 0 to see what would happen but that would defeat the whole purpose of VR...

That's the description of VR. What's in bold is what concerns me...
[Nexus S Android Development] timeToy:
Exactly interactivity performance (snappiness) is paramount for a phone... I don't think VR it well suited.
[Nexus S Android Development] steve.garon:
OP Updated!

CM7SG-11UV-DeadDeepLazy-SpeedMod_18102011
- Compile flags tweak
- Tweaked VR to compete with deadline
- Disabled Kernel print (SpeedMod)
- DeepIdle ON by default
[Nexus S Android Development] timeToy:
Running the CM7SG-11UV-DeadDeepLazy-SpeedMod_18102011 version, no issue so far; I'm running the Ondemand governor. 10 hours on Battery, still at 73%. Love it!
[Nexus S Android Development] tehgeekguy:
Been running this kernel for a few hours and it's rocking. Awesome battery life, performance is good. Looking real nice!
[Nexus S Android Development] fleischbanane:
Thanks, will flash it now.

And by the way: Many new stuff in the kernel: http://cm-nightlies.appspot.com/?device=crespo
[Nexus S Android Development] steve.garon:
OP updated!

CM7SG-11UV-DeadDeepLazy-SpeedMod_19102011
- Revert Compile flags tweak
- Touchscreen tweaks
- Deepidle BT fix
- Screen Refresh rate at 65 Hz
[Nexus S Android Development] endursa:
just installed, it

and just to let you know i had no sod with 1810 so i think this issue is resolved :)
[Nexus S Android Development] timeToy:
I fell like I have to share my experience, as it has been stellar with a combo of Stock Rom and this kernel.

I'm on AT&T running the stock 2.3.6 Rom with Radio XXKB3.

Yesterday I ran the October 18 version all day (deadline and ondemand), I didn't plug the phone even once, and use it the way I usually use do, in and out of meetings, checking mail, web, a handful of calls, I use Touchdown Exchange client (that notoriously suck battery). after 12h30min the phone just reached 50% battery ! Usually that usage pattern (with stock kernel) leave me with less than 30% battery after 10ish hours.

This is work phone, it needs to and has been rock stable, and I love the touch wake in meeting !

I'm running the October 19 version today (deadline and lazy), same usage pattern (including a hour long Bluetooth conference call from my car this am) I'm at 88% after 3h30min.

Excellent. Keep up the good work.
[Nexus S Android Development] Enhanced:
Just flashed this as well (October 19 version) and so far so good. Not sure what the real battery savings are seeing as it has only been a couple of hours but I can attest to no reboots/slow downs/freezes of any sort so far.
[Nexus S Android Development] shubu000:
hi steve,

i quite like your 19/10/11 deepdeadlazy kernel

however is there a way to turn down the sensitivity of the screen?

keep opening apps by accident, or tell me where i can edit it?

thanks
[Nexus S Android Development] steve.garon:
Check if its better with the 18th one.. I added some tweak from netarchy's kernel.
[Nexus S Android Development] mixtapes08:
Can i use this in the latest miui? Or its only for cm7?
[Nexus S Android Development] steve.garon:
I can't tell because I haven't used MIUI. But if you read all comments, I think someone reported that it runs on MIUI too.
[Nexus S Android Development] steve.garon:
OP Updated!

CM7SG-11UV-DeadDeepLazy-NKD-Boost_22102011
- Added another overclock frequency: 1320Mhz with 220 bus speed
- Revert SpeedMod but disable kernel debug print the proper way (thx to fschaefer)
- Revert Screen Refresh rate at 65 Hz (unstable)
[Nexus S Android Development] endursa:
i use your kernel only on miui since a week and i had no problems what so ever, besides the sod which was affecting everyone, but thats also fixed now!
[Nexus S Android Development] thoth77:
65 Hz

"Revert Screen Refresh rate at 65 Hz (unstable)"

Many are wistful
[Nexus S Android Development] steve.garon:
Yeah. Unless some finds me a value that will give me 100% time 65 fps. This is useless. You get random fps with that fix. Sometime 49 sometime 65. I tried all values between 68-72 nothing works 100% of time.
[Nexus S Android Development] timeToy:
I shouldn't depend on the GPU load ? I got consistent 65fps on the planets bench on quadrant, with the other bench it jumps coz' the gpu is maxed out
[Nexus S Android Development] thoth77:
morfic said

http://xdaforums.com/showpost.php?p=18532098&postcount=136
[Nexus S Android Development] simms22:
out of curiousity, how do you figure that 65fps is "unstable"? you cant/wont have 65fps 100% of the time, 65fps is just a top number to hit. also, usually, it tops off at 49fps when you dont turn off your screen for more than 8 seconds after boot.
[Nexus S Android Development] endursa:
with the 2210 kernel i get consistant 56fps on the planet animation!
[Nexus S Android Development] steve.garon:
Thoth77, simms22,

Thx guys. That was the problems I was having. I feel kind of stupid right now. LoL

I was building the kernel uploading it to my phone and testing fps without shutting of the screen, so I was getting 49 fps.

Can anyone tell me what value should I set the freq at? The patch I grabbed was at 72 but someone suggested me 68. Is there an official number that should be used?
[Nexus S Android Development] franciscofranco:
I used morfics value which gives me 65 tops for me. If it works, and it ain't broken, no need to fix it!
[Nexus S Android Development] fleischbanane:
@steve.garon: What about the latest changes in 'bln'? in nightly #230 it is in the cm menu. will you add this to the kernel? and the touch keys will turn off after some seconds. i use the stock kernel now to use this.
[Nexus S Android Development] Rem3Dy:
Latest experimental boots up and is running fine on my NS4G. I haven't tested 4g as I am not in a 4g coverage area at the moment. Running great so far! I think I just found my new favorite kernel.
[Nexus S Android Development] endursa:
i discovered today that i can't enable nfc with the newest kernel it say an error was discovered!

Sent from my Google Nexus S
[Nexus S Android Development] Rem3Dy:
Nfc working fine here
[Nexus S Android Development] steve.garon:
NFC works fine on my phone too.

I was planning on switching from BLN to CM LED interface. I was just waiting on kalim to release the kernel source... I might keep two branches, one wirh BLN and one with CM LED. All depends on demand.
[Nexus S Android Development] timeToy:
Not kernel related: http://code.google.com/p/android/issues/detail?id=13581
[Nexus S Android Development] endursa:
as i understand t he cm led branch allows to enable bln without the bln app?

thanks for the hint on nfc! i'll see whats up with that :D

ok nice, installing the google wallet fix, fixed my nfc!
[Nexus S Android Development] fleischbanane:
I Like your plan to build a kernel with the cm led interface. please add also the touchkey dimmer, whis is in the new kernel now.

then i will switch back to this great kernel!
[Nexus S Android Development] steve.garon:
OP Updated!

CM7SG-11UV-DeadDeepLazy-NKD-Boost_24102011
- Decreace transistion latency
- Conservative governor tweaks
- 65 fps is back (apparently is was being an idiot )
- Other tweaks with writeback and swappiness
- DeepIdle Patch #6
[Nexus S Android Development] morfic:
what swappiness? you don't use swap, do you?
[Nexus S Android Development] steve.garon:
No I dont. From the think of it, the swappiness to 0 is probably useless since I compile with swap off.
[Nexus S Android Development] franciscofranco:
Swap was already disabled but I felt safer changing the int swappiness to 0, just in case.
[Nexus S Android Development] tehgeekguy:
I'm not going to pretend I know what I'm talking about, but how does one switch from Deadline IO to VR IO? Curious to see if there's a difference... might need to look into this some more.
[Nexus S Android Development] steve.garon:
Use nofrill cpu.
[Nexus S Android Development] tehgeekguy:
Cool, thanks... I'll check it out.
[Nexus S Android Development] endursa:
been using it for the day, and i can't get it stable on 1320, was stable with the 2210 kernel before!
[Nexus S Android Development] steve.garon:
Is it less stable? I can tell... no crash yet. I didnt want to use that as a 100% time solution. My plan for it was a widget to quickly overclock to 1320 only went needed.
[Nexus S Android Development] shubu000:
excellent work steve,

love the 1320, although i had to bump the voltage up to get consistent results, will keep testing

thanks
[Nexus S Android Development] steve.garon:
Yeah each phones are different.
[Nexus S Android Development] endursa:
i had only one reboot while watching a movie with mxplayer but beides that it is stable but only on 1400mV but thats ok, i know my phone needs a little voltage love

Sent from my Google Nexus S
[Nexus S Android Development] shubu000:
just switched roms, but i guess i can't use this kernel on an AOSP can i?

shame... :(
[Nexus S Android Development] steve.garon:
I dont know actually. Try it. Its based on cm7 kernel but may work on other roms.
[Nexus S Android Development] shubu000:
works on superosr

awesomeness
[Nexus S Android Development] xanadu:
Thanks for your effort 24/10 kernel is perfect with DeepIdle. Night battery drain with 2g and sync on:
[Nexus S Android Development] steve.garon:
OP Updated!

CM7SG-11UV-DeadDeepLazy-EzMod/CMLed-NKD-Boost_31102011
- Choice between CM7 LED and BLN/BLD kernel
- Ext4 Performance improvements
- DeepIdle Fixes
- Lazy Governor Fixes
- Added Ext4 Cleancache support
- Ondemand default values tweak
- other fixes and improvements
[Nexus S Android Development] xanadu:
Thank you.

It's possible to replace CM7_241 kernel and system files with yours before flashing?
[Nexus S Android Development] thoth77:
Thanks, kind dev

http://xdaforums.com/showpost.php?p=18848410&postcount=8819

http://cm-nightlies.appspot.com/?device=crespo

consideration for users :)

CM7 LED

/sys/class/misc/notification/ ( = /sys/devices/virtual/misc/notification/)

#!/system/bin/sh

#0 no notif, 1 notification

echo 0 > /sys/class/misc/notification/led

#time in seconds that after the screen is on, LEDs will turn off. if 0 then never

echo 3 > /sys/class/misc/notification/bl_timeout

#0 no blink support, 1 blink support

echo 1 > /sys/class/misc/notification/blink

#time in minutes to stop blink

echo 5 > /sys/class/misc/notification/blinktimeout
[Nexus S Android Development] fleischbanane:
Thanks for the CM7 LED kernel!
[Nexus S Android Development] steve.garon:
OP Updated!

CM7SG-11UV-DeadDeepLazy-EzMod/CMLed-NKD-Boost_03112011
- DeepIdle fixes
- Wifi PM_FAST enabled
- Add optimized RWSEM Algo
[Nexus S Android Development] endursa:
thx for updating your completely awesome kernel :)

runing it at 1.1ghz daily :) as 1.32 is not stable on my 9023 with reasonable voltages :D

funny thing though is that bln doesn't work on my i9023 (yes i use the bln kernel version) the bln app shows that the module is missing with newest 0311
[Nexus S Android Development] steve.garon:
The bln kernel, if I'm not mistaken, requires a modified liblights if your running latest CM7, the liblight was changed for led notification.

Test it with CM7.1 stable. If it doesn't work, I might have messed up something.
[Nexus S Android Development] endursa:
ah ok, i run the latest miui, but in is based on the cm7 kernel so i thought it should work! i'll try on cm7.1 and report back!

---------- Post added at 10:45 AM ---------- Previous post was at 09:58 AM ----------

just did a quick clean install on cm7.1 with latest kernel, and bln doesn't work either :)
[Nexus S Android Development] steve.garon:
Damn... the amount of code that I change to have both cm7 led and bln on the same tree I must have messed up something with bln. I'll try to find it.
[Nexus S Android Development] fleischbanane:
And again KalimochoAz is hard-working: http://cm-nightlies.appspot.com/?device=crespo :)
[Nexus S Android Development] steve.garon:
I know !! Can I get just one night without having to push changes to my kernel ! :P
[Nexus S Android Development] franciscofranco:
Where's the fun in that? I already got those cleancache thing and I like it.
[Nexus S Android Development] steve.garon:
Yeah me too. Probably got it from you. Still need to pull in the cm led patches... I have to dual boot my htpc and make the merges on my tv. Not the best setup. Lol
[Nexus S Android Development] franciscofranco:
Teach me as if I was a big ignorant, those CM led patches will work in whatever rom regardless of being CM or not? And are there any big improvements compared to generic bln and those kind of mods? Because if it's relevant enough I might consider a change.
[Nexus S Android Development] steve.garon:
Well not a clue. The only good thing I find is that cm led is integrated in cmparts. Kalimochoaz is working is ass off to make it as good as possible. Since I use CM7 the most integrated to it the better it is for me. There was a lot of talk on cm nightly thread saying that bln/bld/touchwake might be the caue of some craches. But I'm not convinced of that tho...

It is bad for multiple rom kernels tho. Which is why I attemp to build for bln and for cmled. Even if my bln built dont work apparently... I need to fix them!
[Nexus S Android Development] steve.garon:
OP Updated...

CM7SG-11UV-DeadDeepLazy-EzMod/CMLed-NKD-Boost_03112011
- Latest CM led update
* Note * Bln build don't work, Ill fix them when I get a chance...
[Nexus S Android Development] franciscofranco:
Well to be honest I think it might work with every rom since its settings can be changed through sysfs interface, cmparts just makes it easier with a GUI.

Nothing against Ezekeel and his mods, as they are amazing, but in my last kernel I disabled everything but liveoc, deepidle and generic bln (which I believe its not his work), but the whole other lot touchwake, screendimmer etc I disabled because I do believe that some of the strange crashes and instability could be caused by that - not 100% sure too, just wild guessing.

EDIT: about BLN just grab the lib file from my kernel package zip and use it, BLN will then work :)
[Nexus S Android Development] steve.garon:
Thx for bln tip!
[Nexus S Android Development] endursa:
i found something cool i fladhed the cmled kernel on my miui and copied the liblights from the 242cm7 NIGHTLY over to the system/lib/hw folder and enabled cm7 led via the sys commands and it works! blinking works

the only thing no is, and this bugs me is that the backlight dimmer on the touch keys doesn't dim anymore, that really sucks now :-(

why could this be? because of. the kernel or the liblights file?

Sent from my Google Nexus S
[Nexus S Android Development] steve.garon:
Im not sure. Ill be diffing my code againts the stock kernel in the next week because all that cmled stuff has been working like **** for me. I must have done something wrong...
[Nexus S Android Development] endursa:
good, let me know if you need any i9023 beta Tester!

Sent from my Google Nexus S
[Nexus S Android Development] fleischbanane:
I run the kernel on both I9020 and I9023.
[Nexus S Android Development] steve.garon:
OP Updated...

CM7SG-11UV-DeadDeepLazy-EzMod/CMLed/NoLED-NKD-Boost_08112011
- CMLED bug fix
- DeepIdle bugfixes
- Removed PMEM saved 12.5 meg of ram
- Couple of fixes here and there
- Ezmod kernel should be fixed now
- New NoLED kernel
[Nexus S Android Development] endursa:
nice update, i'll try your kernel with bln later, i hope it is fixed on my i9023 :)
[Nexus S Android Development] endursa:
Bln still doesn't work :-(

Sent from my Google Nexus S
[Nexus S Android Development] steve.garon:
K. I only added the liblights... I look at the code.
[Nexus S Android Development] endursa:
to be clear, i would just use the cm7 led implementation, as in fact, i prefer them because of the blinking feature! but the cm7 led kernel has no BLD which is a must now for me :)

but thx :)

cm7 led implementation can be used on any rom, one has to swich it on via an init.d file because of the missing settings :)
[Nexus S Android Development] steve.garon:
Personally I hate those led features. Waste of battery big time. I'll make sure they are implemented properly before publishing next batch.

Can you send me your init.d script for cm led? What file do I need to add to the kernel for cm led to work on other roms?
[Nexus S Android Development] thoth77:
Live OC & Custom Voltage

3 versions!

You're a nice guy to be considerate of the different roms users.

Would you have a plan to add "Live OC & Custom Voltage" to Ezekeel Mod version?

The latest fashion :) and can be easily tweaked with NSTools