yashsingh1/xdaforums huggingface dataset:
[Nexus S Android Development] reapsor:
Must say your kernel is the best one i tried so far, I've been using it since version 17. Nov combined with the Oxygen Roms.

Since the first day i never had any problems no reboots, deep sleeps or something else... fast and stable as a rock with good battery life!

These are my settings, i don't want to use an extra app like nstools, so i wrote my own init.d script ;)

#!/system/bin/sh
#
# deepidle
echo 0 > /sys/class/misc/deepidle/enabled
#
# bln
echo 0 > /sys/class/misc/backlightnotification/enabled
echo 0 > /sys/class/misc/backlightnotification/blink_control
#
# bld
echo 1 > /sys/class/misc/backlightdimmer/enabled
echo 4000 > /sys/class/misc/backlightdimmer/delay
#
# touchwake
echo 0 > /sys/class/misc/touchwake/enabled
#
# screendimmer
# echo 0 > /sys/class/misc/screendimmer/enabled
#
# liveoc
# echo 100 > /sys/class/misc/liveoc/oc_value
#
# cpu freq
echo "800000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
echo "100000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
#
# cpu governor
echo "smartassV2" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
#
# lazy screenoff max
# echo 0 > /sys/devices/system/cpu/cpufreq/lazy/screenoff_maxfreq
#
# blx
echo 96 > /sys/class/misc/batterylifeextender/charging_limit
#
# ioscheduler
echo "noop" > /sys/block/mmcblk0/queue/scheduler

Thanx for the great work!
[Nexus S Android Development] polobunny:
Rare to see someone using noop. I use it sometimes, it feels "smoother" to me for some reason. :)
[Nexus S Android Development] reapsor:
That's exactly my opinion, but I use it only since two days now.

Time will tell :)
[Nexus S Android Development] franciscofranco:
What I know about noop I don't exactly like it. It's fast because its a very simple algorithm, but I don't like FIFO (first in first out) approach. I've studied it in university and I don't think it's good when working with a lot of requests. For example, you recieve 10 inputs, if the first one is huge it will take a little while while the other 9 are waiting for the first to finish. What is optimal in my opinion is to take care of the fast inputs first then the big and slower one later. With this the system won't hang and all the requests get taken care off. This is just an hypothesis and a scenario based on what I learned. I prefer a fairness system like deadline.
[Nexus S Android Development] skitapa:
Isn't the problem that the system can never know how large, or small the requests are? How could it possible know beforehand?
[Nexus S Android Development] polobunny:
I don't know, FIFO works well with flash storage since they don't need requests to be grouped, and noop is just "so simple it works".

Edit: It's not really how large or small the requests are rather than what they are and how "vital" to the system they are. You don't want a request to hang the system because it needs to finish before other can be taken, hence why it's scary to be using noop since it doesn't do much scheduling for a scheduler. :P
[Nexus S Android Development] franciscofranco:
Yes, I just gave a stupid example to illustrate what I meant :) noop is fast, of course it is its simple as ****, but it doesn't cut up for me.
[Nexus S Android Development] polobunny:
I know haha, cmon don't be scared, adhere to the "keep it simple" idea. :p
[Nexus S Android Development] polobunny:
Crashed after 75 hours when I turned my screen on. I got a ghost or something. :-(
[Nexus S Android Development] RonnieRuff:
It has been stated a few times by the dev that it will not be enabled

Where is my G Nexus?
[Nexus S Android Development] N4STYNATE:
Can somebody please post a DL link for the 11-25 kernel.

Thanks in advance
[Nexus S Android Development] Cybergr:
Here it is : LINK
[Nexus S Android Development] bdpyo:
a little deep idle for ya

stock cpu, gps off, full sync :eek:
[Nexus S Android Development] yaronyud:
deepidle does not work for me...

any 1 else??
[Nexus S Android Development] polobunny:
It's not enabled by default in 8/12 and the camera bug still exists.
[Nexus S Android Development] yaronyud:
i know it is off by default

i tried activating it with terminal did nothing..

i used NSTOOLS also and still the phones won't sleep..

i lost around 35% in around 8 hours sleeping

Wifi on
[Nexus S Android Development] polobunny:
Are you sure you have activated it first? You say you've tried, but do not talk about the outcome of this.

You can check the status by doing:

cat /sys/class/misc/deepidle/enabled

You can enable it by doing

echo 1 > /sys/class/misc/deepidle/enabled

Make sure you start the camera then exit out too when booting because of the google voice bug.

What rom are you running?
[Nexus S Android Development] phone_user:
Galaxy Nexus franco.Kernel thread

Francisco Fanco, you got the new device, finally? Congratulations!
[Nexus S Android Development] franciscofranco:
Yes, all thanks to the community, you/they are fantastic!!!!! Because I raised enough money my Nexus S won't be sold and I'll be able to continue supporting it here :)
[Nexus S Android Development] polobunny:
My money was for beer! I'm outraged hahaha
[Nexus S Android Development] bdpyo:
Lol
[Nexus S Android Development] morfic:
That is hilarious, ending my day with a smile on my face, thanks.
[Nexus S Android Development] martinsjt:
I hope so...

Just kiding ;) , I will stick with my Nexus S a little while.

It's serves me well and with the economy as it is I may lose my job lol hope not lol :).

When the Galaxy Nexus get cheaper i may buy one and its good to know you are developing for it :) .

Best
[Nexus S Android Development] yaronyud:
i use MV [markvis(cyn)] 19.11
[Nexus S Android Development] boostern:
Francisco are you alive? It's all ok?
[Nexus S Android Development] thegtfusion:
Yes he is alive. He got a galaxy nexus so probably he's busy with that. Please dont leave us franco. :( . Best kernel dev for nexus s . And now for the galaxy nexus I see.
[Nexus S Android Development] franciscofranco:
Yes I'm alive. Been busy with real life and university...got a ****storm of projects to finish =(

Not leaving Nexus S, don't worry, just busy like I said in the post above.
[Nexus S Android Development] polobunny:
I had 2 beers instead of 3 today... what are you studying at uni anyway?
[Nexus S Android Development] phone_user:
Galaxy Nexus franco.Kernel thread

Congratulations! :)
[Nexus S Android Development] ShadowVlican:
good to hear you're staying with Nexus S too

DEC8 kernel has been stable since its release.. a pleasure to use with oxygen 2.3.1
[Nexus S Android Development] phone_user:
Everyone, don't worry :)

RootzWiki franco.Kernel thread
[Nexus S Android Development] fabulous69:
good to read ! :)

Waiting for his kernel, the only one my phone loved for everyday use :)
[Nexus S Android Development] nexusphone:
This thread is official :)
[Nexus S Android Development] syntax_gosong:
Thanks... you don't leave this phone development....

Your kernel is super stable and super fine for me as far as i use.

Keep a good health and keep developing for nexus s

because your works are awesome:)
[Nexus S Android Development] doc_v15:
is there gonna be any update again for GB? :D
[Nexus S Android Development] nexusphone:
Gone are the days of GB :D
[Nexus S Android Development] :
I expect Franco will come up with some more goodies before too long. ICS may have some attractive new features but plenty of people will be sticking with GB until the kinks are ironed out.

Sent from my Full Belly using xmas premium
[Nexus S Android Development] bdpyo:
"Never gonna give you up"

=D

Heavy usage, full sync, GPS on, stock settings. :O
[Nexus S Android Development] :
I had cause to download franco's GB kernel today from here:

http://androtransfer.com/franciscofranco/Nexus_S/

...and found androtransfer to be very slow, so I'm uploading it as an attachment. Please check androtransfer first before downloading this one:
[Nexus S Android Development] al_madd:
Long time no see GB kernel for nexus S....
[Nexus S Android Development] siuba:
is it no more update for nexus s now? i have stock 4.0.4 wanna try franco.kernel
[Nexus S Android Development] shockem:
He will update when he has the time hopefully :) as said in the previous posts he never leaves without any reason.

Sent from my Nexus S
[Nexus S Android Development] siuba:
thank you very much! he's busy on galaxy nexus i think! hhaha!
[Nexus S Android Development] shockem:
Np. Haha yeah definitely, add in life plus school. No more time left. Lol. :)

Sent from my Nexus S
[Nexus S Android Development] ljordan2:
He stated that he is working on it on Twitter.
[Nexus S Android Development] robrob777:
reboots

Does anybody has random reboots when the device is not in use?

had 3 today.

I'm using the latest version 100/1000 ondemand, and only BLN activated.

Oxygen 2.3.2 Tmo GSM

Thanks
[Nexus S Android Development] Dadi68:
i have the same configuration with you without reboots...
[Nexus S Android Development] caleb1783:
lookin forward to ur next release...

Sent from Divinus Nexus S...
[Nexus S Android Development] mixtapes08:
Is this work in any rom? Ex. Latest miui?
[Nexus S Android Development] franciscofranco:
It was 400/1000 but now since I added Live OC the part of the code that set the default speeds is gone...so I guess it uses 100/1000 by default or something like that. It isn't important anyway. I've been using 440/1100 because of Live OC and I'm very happy.

Yes... why shouldn't it?
[Nexus S Android Development] aiacone:
Really perfect with MIUI!

Franco, anything new for this evening? :D:D:D
[Nexus S Android Development] thoth77:
Live OC important!

I'm using Live OC of Matr1x v9.5

Live OC gave substantial improvement to my Nexus S

Scripts for Matr1x v9.5

#!/system/bin/sh

echo "conservative" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor

echo "1450 1390 1330 1280 1200 1050 950 950" > /sys/devices/system/cpu/cpu0/cpufreq/UV_mV_table

echo "1000000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq

echo "110" > /sys/class/misc/liveoc/oc_value

echo "440000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq

echo "lazy" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
[Nexus S Android Development] coloxim:
If i disable deepidle can i USA 100/1000?..

When next update? I need live ooc..:)

Inviato dal mio Nexus S
[Nexus S Android Development] franciscofranco:
Don't ask for releases, I don't like that. It's ready when I feel that its ready.
[Nexus S Android Development] :
Hello. I'm curious, what happens when ICS comes out? Does the kernel still work? Or do you have to implement all of your changes on a new kernel?

Sent from the future to put right what once went wrong.
[Nexus S Android Development] boostern:
I have seen a strange behaviour, voltage setrings in setcpu doesn't correspond to what proton says. It's only me or it is a known fact?
[Nexus S Android Development] franciscofranco:
I've seen that happen with me too, don't ask me why, I don't know.
[Nexus S Android Development] boostern:
It's ok, don't worry ;) Maybe it's because in proton there isn't the 1100mhz step, and all voltages are scaled down by one. The only important thing is: which application tells the thruth? Proton or Setcpu?
[Nexus S Android Development] franciscofranco:
Well everything will be different in the next update, but in the current release I think that is the problem. I'd go with SetCPU, seems more reliable to me, never let me down.
[Nexus S Android Development] as6:
No, goes to 100%
[Nexus S Android Development] franciscofranco:
Update is out. Enjoy as much as I'm enjoying, it's my best release so far.
[Nexus S Android Development] formula84:
Thanks! 10 char
[Nexus S Android Development] khartaras:
Guess I'll try it out...

O que é nacional é bom, certo? :)
[Nexus S Android Development] franciscofranco:
Obviously ;)
[Nexus S Android Development] ro_explorer:
Working nice after the first install.

For now I'll let it with the default values, w/o live OC.

Will report the results later. Excellent job so far.
[Nexus S Android Development] khartaras:
Alright, coming from Trinity T11, I miss the 220MHz bus. How do I use LiveOC to increase bus?
[Nexus S Android Development] boostern:
Mmm I'm not so sure that setcpu is the correct one. In my testings to search for the lowest voltage, capping the CPU to 100mhz I was able to go down to 600mv in setcpu...I have a really lucky CPU or setcpu is wrong? I think this is a thing to investigate...
[Nexus S Android Development] thegtfusion:
from now on i will call you kernelLord :P your the masterr man!! thankss keep up the goooood woork :P
[Nexus S Android Development] fergie716:
Thanks for the update! So far so good.. I never messed around with the liveOC mod so that'll be interesting lol.
[Nexus S Android Development] franciscofranco:
First post, changelog...
[Nexus S Android Development] bdpyo:
still using oxygen? :)
[Nexus S Android Development] saryu:
i would like to try this kernel, but all the link from multiupload seems to "expired" or "cannot be found"...

edit : wupload seems to be working fine
[Nexus S Android Development] thedudejdog:
with the new update, loving liveoc! BLN still not working on brainmaster's miui.

just bug reporting, i've kinda gotten used to no BLN i don't think i'll start using it again.

here is the kernel if you have trouble getting it from multiupload. i had a hell of a time DL'ing it. i take no credit blah blah blah, just providing another mirror because i had trouble getting it.
[Nexus S Android Development] bdpyo:
thanks for the mirror dude, couldnt download from my phone lol
[Nexus S Android Development] thedudejdog:
Haha, I know. I had to actually get up of my ass and power up my desktop. And it still took like 10 minutes to get it.
[Nexus S Android Development] bdpyo:
im at the bar before school so it helped me alot lol
[Nexus S Android Development] kecinzer:
So, now is default governor LAZY?

Thanks for update, I'll test it during next day.
[Nexus S Android Development] franciscofranco:
Dang, I forgot to include the lib file. Download morfics kernel, get the file inside /system/lib and place it inside your phone, reboot and it should work.

I made lazy the default yes, should work best with LiveOC.
[Nexus S Android Development] pauldgroot:
What do we need in order to change the voltage? Do we need SetCPU or is this also possible via init.d or something?

Screenshot was made with echo 110, my device freezes if I go over that without changing voltage.
[Nexus S Android Development] MultiCulti:
just flashed it:

BLN is working fine with MIUI KelLMSKing

LiveOC also perfect ... i just testes it with quadrant ... init by 100 = 2702 quadrant ... init by 110 = 3073
[Nexus S Android Development] khartaras:
Francisco, I've been tinkering with init.d scripts but I can't seem to make them work... Could you explain how they work, or how I could make one to echo the liveoc and voltage values? Google didn't help either.
[Nexus S Android Development] pauldgroot:
Same for me, I tried making a script like this:

#!/system/bin/sh
echo 110 > /sys/class/misc/liveoc/oc_value

Saving it as 98liveoc and pushing it to /system/etc/init.d/ and chmod 644 (also tried 750/777).

That didn't result in an OC although I can execute it from adb shell with sh /system/etc/init.d/98liveoc.
[Nexus S Android Development] brenix:
Check the LiveOC thread for more information... Here is the code in my init.d script I used to set the voltage and liveoc settings. You need to create a file with the code in /system/etc/init.d and set the permissions to rwxr-x---

#!/system/bin/sh

echo "1280 1230 1095 975 975" >/sys/devices/system/cpu/cpu0/cpufreq/UV_mV_table

echo "1000000" >/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq

echo "120" >/sys/class/misc/liveoc/oc_value

echo "1000000" >/sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq

echo "lazy" >/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor

Note: I had to uncheck "set on boot" in setcpu/cyanogenmod settings for this to work properly. Also, I've raised the voltages a bit since it's a bit touchy with my phone...
[Nexus S Android Development] ciwek90:
what is default cpu setting? how to know deep idle is working? i also not understand about live oc... -.-"
[Nexus S Android Development] franciscofranco:
If you don't know what it is then don't touch it, this is not a tech support forum, everything is documented everywhere.
[Nexus S Android Development] FL0OD:
Everyone is always talking about how to make this faster, really? This thing smokes on my phone. I have used a bunch of different kernels and I have never had one make my data faster like this has. Whatever you did to accomplish that thank you. I'm on Sprint and my reception has always been crap until now. Thanks for the hard work, this gets better and better every release.

neXus S 4G
[Nexus S Android Development] thedudejdog:
+ 1
[Nexus S Android Development] JmPTaz09:
Running at 110% OC with LiveOC; 1100 max 220 min with lazy governor. Fast and smooth as hell; stable so far without adjusting voltages.
[Nexus S Android Development] skinniezinho:
Francisco just put some links or quotes in the first page about "dirty fix" for BLN (flash morfic's kernel bla bla bla)

and the init.d stuff for undervolting/overclocking (for guys that like me get a frozen device when change values on setcpu).

Otherwise we are always getting the same questions over and over and lost good feedback because of that...

Will flash the new kernel in a hurry =)

THanks
[Nexus S Android Development] franciscofranco:
I know what you mean, I just hate to post stuff in the first post. There is a search button for something, people just need to use it...we devs can't do everything, users have to move too.
[Nexus S Android Development] thedudejdog:
Simms has the 2nd post someone could ask him to help out.
[Nexus S Android Development] franciscofranco:
Using Stock roms? Stock rom doesn't have init.d support :(
[Nexus S Android Development] morfic:
We should have a stock kernel with ramdisk to add init.d support, using anykernel only for custom Roms.
[Nexus S Android Development] HeavenlyWinds:
Great kernel. Good battery life.forgot how fast 1GHz can actually be. bln works fine for me.
[Nexus S Android Development] skinniezinho:
We all know that, the thing is that people don't learn and we get a thread with 100+ pages where 90% are the same noob doubts, instead of good feedback.

Setcpu seems to be working for voltages,but I have a problem:

My phone is sloooowww and it is 800MHz all the time since this flash.

Tried repair permissions,wipe caches,deleting the old 10overclock file with the voltages, nothing solved.

Now the weird part, as I said a few posts ago, in 21/10 kernel I had:

And confirmed they were "working" watching setcpu voltages.

Now with this new kernel I switched voltages directly in setcpu, it runs but after a while it freeze...

Don't know if it matters, I have 3% battery loool,will charge for a while.
[Nexus S Android Development] franciscofranco:
Oh it took me a little while to think about that, but I think I know what it might be...but it's a long shot.

In the last Deep idle patch Ezekeel made it that when entering and returning from deep idle state the phone would lock the frequency at 800mhz. That **** is so fast that it's completely untrackable and it's unoticeable. But in your case since you have 3% battery MAYBE, and this is a big MAYBE, as I'm entering in conjecture, the phone either is locked in deep idle mode even with the screen on, or keeps trying to enter or returning from idle, thus the 800 mhz and the slow you were feeling. Other than this I have no idea, never seen that before, but I'm sure other devs will say of their justice.
[Nexus S Android Development] caleb1783:
jonathan confirmed it has something to do with an extra 1.1 ghz... since proton doenst have it, the numbers get bumped a level..
[Nexus S Android Development] skinniezinho:
Just made a restore from a recent backup,deleted the 10overclock file, flashed your kernel again, seems ok...let's see tomorrow.

Any idea about the undervolting?For now I "abandoned" my values and just took 50mv from the stock ones..asap will try to lower it..again...
[Nexus S Android Development] franciscofranco:
Ok, report back please. But you're the first one with this problem, so I'm guessing it's an isolated case at your end ;)
[Nexus S Android Development] doc_v15:
Yes.. me too.. How to change ONLY the BUS? and not the frequency..

I like the 240Mhz bus for the kernel..

Is this possible? Sorry, I'm just a newbie in this kernel and modding things..

Thanks franco
[Nexus S Android Development] franciscofranco:
Increasing the only the BUS is not possible via Live OC, it has to be done directly into the kernel sources.
[Nexus S Android Development] HeavenlyWinds:
Oh by the way Francisco, you're github link is broken.
[Nexus S Android Development] idelgado782:
Francisco great Kernel! Thank you! I am using Brainmasters latest MIUI rom and I switched to your kernel over the weekend and i've noticed some things. My phone has not had any radio dumps or signal loss issues (which is a big problem in MIUI). I am curious to see how long this will last. I am going to post back in the BM MIUI thread as well. Thats a HUGE success if I don't suffer from signal loss and radio dumps any more:)

Also I wanted to ask you for the liveoc script, every time we reboot our phones we would have to enter in that command?

thanks again for the great work!!! Much appreciated! :)
[Nexus S Android Development] noobhero:
heyo franc,

instead of running the command, can i save the following as a script and run it via script manager?

or do i put is as 98liveoc in init.d ??
[Nexus S Android Development] thoth77:
New version frequencies

1000mhz: 1250 mV

800mhz: 1200 mV

400mhz: 1050 mV

200mhz: 950 mV

100mhz: 950 mV

Script for Live OC (if necessary, for revising LiveOC value & the voltages)

#!/system/bin/sh

echo "conservative" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor

echo "1250 1200 1050 950 950" > /sys/devices/system/cpu/cpu0/cpufreq/UV_mV_table

echo "1000000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq

echo "110" > /sys/class/misc/liveoc/oc_value

echo "440000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq

echo "lazy" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor

http://dl.dropbox.com/u/11341924/58franco

Download, delete ".txt" and place it in /system/etc/int.d/

Permission samely with the exsisting files in the folder with root explorer

reboot

and

http://dl.dropbox.com/u/11341924/lights.s5pc110.so

/system/lib/hw/lights.s5pc110.so

permission 644
[Nexus S Android Development] noobhero:
hey thoth77, i tried savingthe script and running it from script manager but i get errors of directories non existent etc.
[Nexus S Android Development] thoth77:
Root Explorer

http://dl.dropbox.com/u/11341924/58franco

Download, delete ".txt" and place it in /system/etc/int.d/

Permission samely with the exsisting files in the folder with root explorer

reboot
[Nexus S Android Development] franciscofranco:
Fixed.

Yes, or create an init.d file with the contents.

Yes that works too :)
[Nexus S Android Development] noobhero:
no luck, couldnt get either to work

this is after booting with script in init.d

this is after trying to run from script manager
[Nexus S Android Development] brenix:
Try editing your script and remove the trailing space after the > symbols in each line then try running it in script manager again..

Example:

Original:

echo "conservative" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor

Modified:

echo "conservative" >/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor