yashsingh1/xdaforums huggingface dataset:
[Nexus S General] caliban2:
okay thanks, then i got the order right. yeah, i know how to get the stats. ^^

but this post in idle2-thread threw me off:

EDIT:

d'oh, "name"!!! i could've seen that... :silly:
[Nexus S General] colonia27:
TOPOFF kicks in when: music is playing + screen off + usb disconnected

TOPON kicks in when: music is playing + screen off + usb disconnected + gps and/or bluetooth activated/connected
[Nexus S General] caliban2:
... where GPS has to be in active use while for Bluetooth it's enough to be enabled, right?
[Nexus S General] colonia27:
Not sure about that. I had to actively using bt this morning for topon to work
[Nexus S General] :
No, they both have to be active. And yeah, my IDLE2 thread needs some updating. I changed the order of the states.
[Nexus S General] yxcv99:
The actual kernel @ 3.30.39 seems to be nice in daily usage. No issues so far!
[Nexus S General] freakness51:
Hi thalamus

by the moment I'm still enjoying jellybelly ROM with your kernel, I'd like to ask you if it is useful to update the kernel with latest releases to improve battery life...

Thanks for your attention ;)

°FunkY°NeXuS°
[Nexus S General] obscure.detour:
Please stop asking questions like this :( thalamus doesn't have anything to do with jellybelly and as of now the ROM is dead. If you're having battery issues you should either restore a nandroid when you didn't or full wipe an active ROM.

/rant

On another note, I flashed the zImage3.0.39-26-test release in combination with a full wipe and euroskank's CM10 kang. Over 24 hours now and everything is running very nicely. No hiccups at all. Battery life is the best its been for me and Jelly Bean.

Thank you for your work thalamus
[Nexus S General] caliban2:
*nevermind*
[Nexus S General] jimdem:
Hi guys. Thalamus, a few minutes ago I had my first reboot using the latest jelly belly with your kernel. I was listening to music when it rebooted. Here is the last_kmsg.

http://db.tt/S9OfylvS
[Nexus S General] :
Urgh. Undefined instruction. I've seen that a couple of times. Not sure what causes it.
[Nexus S General] deltatux:
Kernel seems to respond quite well. The only way I've been able to slow down my phone was to use Google Chrome. Chrome is still quite slow, especially on legacy devices like the Nexus S.

3.0.39-26_test may be the best kernel so far, I think those mm patches are really working wonders right now.

deltatux
[Nexus S General] freakness51:
i've simply asked if "useful to update the kernel with latest releases to improve battery life" :rolleyes:

thanks anyway
[Nexus S General] :
It's a rather large shame that I am unable to test it lol. My Nexus S is still dead even though I got a new battery for it. So it's warranty repair time.

Thanks for the feedback though.

Just for info, development will slow down substantially until I get my phone back. I find it extremely difficult to do any meaningful development without a phone.

As 3.0.39-26 appears stable, I will release that later on today tagged as stable. I am also going to disable IDLE2 again as I need to investigate some issues which I can't do until I get a device, namely the fact that it is entering DEEP-IDLE but apparently not saving any power, which is somewhat odd. Other people testing it just doesn't cut it unfortunately. IDLE2 is the reason why I haven't released a stable version for JB yet, but that can go onto the backburner until I get my device back, and disabling it so I can do a stable release seems the smart way forwards.

Kernel is unlikely to improve battery life, that generally comes from the ROM / apps. But yes, I would recommend people stay current and don't use old releases.
[Nexus S General] superhil:
hi thalamus,

do you change LCD voltage?

how much is it?

Thanks, ;)
[Nexus S General] fear_factory84:
as you can see in arch/arm/mach-s5pv210/mach-herring.c voltage is 3.0V, so it's stock voltage.

You can change it and recompile kernel if you want.

Is there some evidence like Bedalus benchmarks that lowering lcd voltage reduce battery drain?

Does this setting affects both super lcd i9023 and amoled i9020 or not?
[Nexus S General] polobunny:
Dang Nexus S still dead. :(

End of development from you for it?
[Nexus S General] deltatux:
Understandable, nothing beats developing and testing on the actual device.

IDLE2 going into DEEP IDLE may explain why battery draw didn't get any better through my limited testing (haven't had time to do extensive testing on battery yet).

deltatux
[Nexus S General] superhil:
I have slcd one,

Currently I'm testing matr1x kernel which has lower voltage 2.3V

Let's see whether it can improve battery or not
[Nexus S General] :
Nah, just gotta wait until it gets repaired. I bought a GNX anyway today, so I'll have all 3 current Nexus devices to develop with which will be cool. :)

I did upload a stable release this morning though, it's in the stable_release folder. :p I'll do a proper announcement in a bit.

I can't develop without a device, it's just a ****ty futile effort. :(

I think I know what is causing it anyway, I think it's the assembly code that is actually putting the device into idle, because I switched it to the platform code instead of using custom asm for it.

I have uploaded an experimental zImage which might fix it, but then it might not. It does work though, I already had someone test it. Your battery saving mileage may vary.

---------- Post added at 06:47 PM ---------- Previous post was at 06:42 PM ----------

Messing about with voltages invariably causes instability or unwanted side effects on some devices. Components are all manufactured within certain tolerances. Some batches may be able to take undervolting, others will not.

So regardless of any battery savings, I won't be adding anything like that because you will always get corner cases where it doesn't work quite as intended.

I don't imagine it will save power because you will still need the same amount of power to attain the same brightness. It's just the latest fad amongst the cherry-pickers.
[Nexus S General] chronophase1:
Congrats on the GNex purchase. I may end up getting one myself. Maybe I'll see you over there in the GNex forums :). My phones speaker decided to crap out on me so I'm back on my G2 sadly. Anyways, enough of that. Best of luck with your NS.
[Nexus S General] jjhrrsn:
Killer I just bought a gnex too, glad I can continue using your work.
[Nexus S General] jimdem:
I've just flashed your stable 3.0.39-27 version. Everything seems nice and smooth. A little bit more responsive than before. But i can also confirm that the crt animation is gone. (I9023)
[Nexus S General] :
<offtopic>

I've already got an OMAP4 PandaBoard, so I've done some work with OMAP kernels already, although not to any great extent.

I'll probably do a bit of work on it tonight actually.

</offtopic>

I haven't done an i9023 version yet, thats why. I need to add that hacky patch for that.
[Nexus S General] jimdem:
Ok thanks for letting me know ;)
[Nexus S General] Imppy:
Thanks for continuing nexus s development !
[Nexus S General] ragnarokx:
Awesome! I can only hope that Adam will get one too, and there will be a GN version of Oxygen with your kernel inside.

Sent from my Nexus 7
[Nexus S General] AdamG:
Ha, I would if I had the money, however cash is tight until next month, I've been considering one for a while.
[Nexus S General] noobiekins:
As soon as you make a kernel for the gnex, I'll be sure to try it out, hopefully it'll be just as good as franco.kernel, or better!
[Nexus S General] deltatux:
Should I flash this or 3.0.39-27 to try this out?

deltatux
[Nexus S General] rasengan82:
Oh man no last ICS release :(
[Nexus S General] deltatux:
Many people already moved on to Jelly Bean, so I'm guessing it's kind of futile making new kernel releases on an older version of Android that most people have already moved from.

deltatux

---------- Post added at 08:17 PM ---------- Previous post was at 08:14 PM ----------

So I just flashed 3.0.39-27JB_test (IDLE2 test) and so far it's working quite well, though I'm not sure if it's because I just rebooted my phone or what not but flash memory performance seems a bit laggy. This will require further testing.

I feel a lil' dirty flashing a dirty kernel :P

deltatux
[Nexus S General] tommy0823:
Hey thalamus, do you think you can add .......;):cool::D. Not a damn thing. Great kernel man. Nice and simple, very stable and reliable. Thanks for everything man.
[Nexus S General] jjhrrsn:
+1
[Nexus S General] albundy2010:
The latest zimage idle2 test kernel seems to have made scrolling noticeably smoother/faster than the previous zimage test kernel.

Launcher seemed smoother so I thought ah placebo. Loaded up the Facebook app and it is even more apparent there. Same for Google +

Shame thalamus can't test this for himself.
[Nexus S General] spider623:
Flashed 3.0.29 on paranoidandroid 1.9.5 and installed mihome and for my big surprise the ROM works 3 times faster that usual(mihime is a ram killer -.-) and it works even better than MIUI ROM, with no lag, thanks _thalamus for this great and fast kernel keep the good work :thumbup:

Sent from my Nexus S
[Nexus S General] deltatux:
You mean the the 3.0.39_27-test or the 3.0.39_27-rel kernel?

deltatux
[Nexus S General] albundy2010:
3.0.39_rel-idle2
[Nexus S General] :
There will be, I haven't done it yet. Hell, I haven't even officially released the JB one yet. :p

---------- Post added at 07:49 AM ---------- Previous post was at 07:39 AM ----------

Lol, thats because I didn't commit my changes before building. :p

Forgot to push the source for that, it's here if anyone wants a look.
[Nexus S General] HAKA:
thank you _thalamus for the i9023 version. CRT animation is fixed now. Also, the system feels smoother and quicker.
[Nexus S General] skinner12:
Hi, why you don't compile kernel with Linaro gcc?
[Nexus S General] :
From here.

'Linaro GCC – Surprisingly enough, Linaro GCC actually produces a slightly worse performing kernel than FSF GCC'

Do you honestly think I hadn't considered it lol? :silly:
[Nexus S General] skinner12:
Yes I know you are great ^_^

Thanks for answer :D
[Nexus S General] apatal:
OP updated! Cheers! :)

Sent from my Nexus S
[Nexus S General] kmjo29:
So you running this kernel on your ns4g?
[Nexus S General] anshumandash:
Has any body tested how is the impact on battery life...if there is any improvement etc
[Nexus S General] :
Seriously...I despair of the battery life equals kernel people. I keep saying over and over again that the kernel has a minimal impact to battery life. Some people don't get it clearly.

The only time the kernel could affect battery life negatively is when there is a bug, and there aren't any bugs in the stable release affecting battery life, I know that through a lot of testing myself and testing from others. Any battery life issues you are having are caused by your ROM and apps.
[Nexus S General] Muvolt:
Can I use the newest Thalamus kernels with the discontinued Jelly Belly 1.0 or is it limited to a custom build?
[Nexus S General] jerrymouse12:
You can. I use it without problems (you just won't have BLN).
[Nexus S General] Drizzy xS:
Thalamus I'm confused though, if a kernel has no impact on battery life why were loads of people reporting substantially better battery life on ICS using Matrix kernel rather than using any other kernel ? :S

Not trying to troll BTW your kernel is boss. I'm using it right now, it's crazy fast good job bro and thanks. I'm just genuinely wondering how these people were getting better battery life on Matrix unless they were lying..?
[Nexus S General] Articudos:
Matr1x is undervolted, less responsive in ondemand tweaks(less performance=more juice, not fully equal but..)

BTW, kernel impacts on battery mostly deep idle, Idle2 :p
[Nexus S General] bertans:
I strongly agree... this kernel is like a second battery pack! Tomorrow I'll go on holiday and today I installed new I9023's stable kernel, maybe I'll leave my recharger at home. I'm joking, but I think there's no better solution for battery life than _thalamus' kernels! :p

Thank you _thalamus for your fantastic work! See you back on-line on August 25. Cheers!
[Nexus S General] Randomwalker:
Actually that's not what he said, but have a nice holiday :)!
[Nexus S General] djjonastybe:
Any chance of seeing BLN in this kernel? This is the only mod I somehow find useful for the Nexus S. I am going to buy a Nexus just for the notification LED. The rest is a nice extra.
[Nexus S General] cadarn07:
Seriously? Let me give you some advice - redact this comment now before someone else sees it. Unless you're just joking, in which case you should make it more clear :D.
[Nexus S General] :
@apatal, maybe you want to link to this post in your OP?

EDIT: Wait, I may be labouring under the misapprehension that people actually read the OP... :p
[Nexus S General] :
Have you read bedalus' study of kernels and undervolting and powersaving? I think that's more reliable than the subjective opinion of users.

For what you gain from undervolting, you lose when a reboot occurs because of it.

---------- Post added at 02:35 PM ---------- Previous post was at 02:33 PM ----------

Lol. I'm saying nothing.
[Nexus S General] apatal:
Lol. You're right. The next time I sit in front of a PC I'll make a compendium of thalamus' greatest hits in the thread and post the links in the OP or post #2 for reference of the people who actually read. :)

Sent from my Nexus S
[Nexus S General] korpo53:
Since flashing kernel-S5PC110-3.0.39-27JB_rel.zip yesterday, the clock app doesn't go to landscape mode on the dock.

I think I was on .38-24 before, and didn't have this issue.

Thoughts?

Edit: actually, it seems landscape mode doesn't work at all. Turning on auto rotate and spinning my phone all over the place doesn't seem to do anything. Maybe a result of the tweaks to the screen stuff?
[Nexus S General] colonia27:
Yeah, had that too on a few other releases. Can't remember which though.

You can temp. fix it by untick/tick rotation in the settings. Should work again afterwards
[Nexus S General] :
Very unlikely to be the kernel, I've never seen an issue with rotation yet, well, not with stock ROM anyway. I haven't made any 'tweaks' to the screen 'stuff' anyway lol.
[Nexus S General] coluichepensa:
good afteroon,

I just downlaoad this kernel-i9023-S5PC110-3.0.39-27JB_rel-1-gfdf9f98 for my 9023. Before installing it what kind of wipe I have to do? Sorry for the noob question but this is my first custom kernel.

thanks for your help
[Nexus S General] qu3becker:
-Deleted-

Sent using Kirby's Warp Star.
[Nexus S General] noobiekins:
No you don't
[Nexus S General] qu3becker:
What do you mean?

I can give tips if I want. Not because this thread is usually rude with noobs that I'll do the same.

Sent using Kirby's Warp Star.
[Nexus S General] coluichepensa:
thanks I installed it.

I have another noob question. Can I modify any value and which apps I have to use for doing that?
[Nexus S General] Randomwalker:
It's just that wiping dalvik is a waste of time...
[Nexus S General] :
No. You don't. Don't talk garbage.

To install a kernel you have to wipe precisely nothing. Wiping is a waste of your time.
[Nexus S General] Randomwalker:
You can modify a lot of values with a lot of apps. The question is: Why would a noob do that?
[Nexus S General] coluichepensa:
I like to personalize my phone and I want learn more. For example I don't like the overclock but I like to have the possibility to do it and I like to know how to do it. I installed set cpu and nstools but the only thing I did is just put the cpu in interactive. I hope It's clear my think.

---------- Post added at 06:27 PM ---------- Previous post was at 06:24 PM ----------

I already made the wipes but it is good to know for the future. Now I want to understand how to use the custom kernel combined with my xenon hd rom.

thanks to all
[Nexus S General] Randomwalker:
Actually I think interactive is the standard gov in this kernel anyway...
[Nexus S General] kmjo29:
Which kernel version to download for ns4g running cm10? TIA
[Nexus S General] deltatux:
Yep, kernels mainly save batteries when it's in deep idle or using IDLE2. Rarely would you see battery savings from anywhere else in the kernel.

deltatux
[Nexus S General] cadarn07:
I'm running CM10 on a NS4G and am using this version: kernel-S5PC110-3.0.39-27JB_rel.zip

Found here: http://thalamus.ineige.org/kernels/stable_release/crespo/

Been running this version of the kernel since he released it a couple days ago and it's been working awesome.
[Nexus S General] kmjo29:
One more question. Is 4g still functional on that kernel? Just making sure..:)
[Nexus S General] noobiekins:
Running 38-25 test 3 for over 2 days, no reboots, no bugs. Very stable :D
[Nexus S General] towelboy:
Your rom works great on paranoid android :D
[Nexus S General] anshumandash:
Been running kernel-S5PC110-3.0.39-27JB_rel.zip on my I9020T since I saw it. Quite stable and running good. But I have some problem with the camera. Today I took some pics and saw the previews which looked fine. Later when I opened galary, I found some of them are just blank. There is a pic name, but screen is black, no images. To test I went out and took about 50 pics. Returned home and looked at galary. almost 40% are blank. Connected to computer to check. For the blank images, there is a file, but cannot open. It says the file has no content. The file size is "0 bytes" I also see a .tmp file created with the same name for these blank files. For example, if the file name is IMG_20120805_150756.jpg, there is another file IMG_20120805_150756.jpg.tmp. Both are 0 bytes.

Also after connecting the phone to computer and clicking Turn on USB storage, it is taking much longer than normal now.

I did not have these problem until a day before till I was running matr1x 22.5. I have not tested the camcorder though.
[Nexus S General] Muvolt:
Can we exclude the launcher from the power plan and make it always run with high performance? It seem that many launchers get smoother after a minute of use...
[Nexus S General] :
Sounds like a /sdcard partition corruption issue to me and unless everyone else is having this issue, I guess thats what it will be.

---------- Post added at 03:28 PM ---------- Previous post was at 03:12 PM ----------

I've no idea what you are talking about.
[Nexus S General] Randomwalker:
Do you mean keeping the launcher in memory (excluding from auto-kill).

If you are taking about switching to performance governor when launcher is in focus that would be quite often.
[Nexus S General] Muvolt:
I mean, if the launcher works based on a specific cpu governor like all the other apps, is it possible to make it "bypass" the main cpu governor and make it always work at full cpu speed? (everytime I wake up the phone from its sleep state, the launcher is not so smooth like it is after almost 1 minute of operation...that makes me think that the cpu works at a low rate at the first minute of using the launcher after sleep) I might be totally wrong though. I'm generally talking about something like a "cpu priority" specifically for the launcher...
[Nexus S General] :
It is what it is. It's normally garbage collection which makes it laggy to start with, plus the fact that the GPU cache & overlays have probably been flushed so it needs compositing again.

Nothing you do could speed it up. It's not a minute though, more like a couple of swipes until the overlay is cached again.

There is nothing that could be done about it at the kernel level anyway. If you want to change priorities of processes you need to do that from userspace, but it won't make any difference.
[Nexus S General] Imppy:
I see an experimental release of 27...what is the difference with that one?
[Nexus S General] :
Dunno what you mean. There is nothing in the experimental folder, and if I wanted people to flash anything that was in there, I would post about it on here, wouldn't I?
[Nexus S General] :
Best bet is probably to hook it up to a Windows machine, enable USB Mass Storage and run a check for errors on the filesystem. Failing that, format it using the same method.

The Android FAT fsck is crap which is why so many people get this issue, it's been a bug on the Android bug tracker for years.
[Nexus S General] anshumandash:
I completed a file system check with my Windows 7 laptop. No errors were reported. I will test for few more days to see if the camera problem comes back. I don't have any other options any way.
[Nexus S General] :
You should probably format it then. It most likely will come back, it normally does.

Do you have any files in your lost directory on the sdcard? Can't remember what the exact directory name is.
[Nexus S General] polobunny:
LOST.DIR is the directory you're looking for.
[Nexus S General] Si_NZ:
I've been trying to compile the thalamus kernel with a few customization (voodoo color and fast charge if you want to know). So far so good and I have only two small questions if anyone can help.

The compiled kernel is about 1MB bigger than what thalamus releases

The kernel version string has some extra unwanted numbers appended to it

I think question 1 is more to do with the kernel config? Can I find the kernel config thalamus uses for his builds somewhere?

I have no idea what the cause is for question 2. The kernel version shown in the About Phone page reads "3.0.39-27-01507-gd646513". I expected it to be just "3.0-39-27" but where did the extra version numbers come from?
[Nexus S General] atl4ntis:
thalamus uses lzma compression for the kernel. take a look at his defconfig in arch arm crespo*. config kernel lzma
[Nexus S General] anshumandash:
I have some 13 files in LOST.DIR folder, but all were created way back on 18th June. None were from yesterday. Let me observer for a day or more before formatting.

I have many apps moved to SD card. If I copy them to comp, format SD card and copy them back to SD card, will they work normal or will I need to install them again?
[Nexus S General] srthimsen:
You're going to want to either move them to internal storage, or make backups with titanium backup, move that folder to computer then back after format. Obviously, if you have room, option 1 is much easier.
[Nexus S General] :
If you do:

make ARCH=arm crespo_release_defconfig

it will generate a .config file with my configuration.

The numbers appear due to CONFIG_LOCALVERSION_AUTO being enabled.
[Nexus S General] redDEATH82:
Can I use this kernel on my NS4G? And yes I know it says for the regular nexus s and is in the nexus s dev section but sometimes the kernel can be used on both (just so there is no smartass "ur in the wrong section herp de derp" comments lol)

Sent from my Nexus S 4G
[Nexus S General] jjhrrsn:
Yes you can just flash it
[Nexus S General] redDEATH82:
Thank you downloading and flashing now

Edit: flashed and so far so good may have found my new go to kernel!

Sent from my Nexus S 4G
[Nexus S General] deltatux:
I don't think the FSF fsck is any better tbh for FAT32. However, not sure how bad Android's version is but the one that's bundled with standard Linux often cause Windows to say the volume is dirty.

deltatux
[Nexus S General] migz012788:
Can i just flash this ROM or do i need to wipe? Im on JellyBelly 1.0.0 or this ROM restrics to flash kernels?
[Nexus S General] stojshic:
What, exactly, did you ask here? This is not a ROM, but kernel. And yes, jellybelly restricts flashing other kernels but thalamus's kernels, so, you can flash this kernel on top of jellybelly, no wiping needed...
[Nexus S General] migz012788:
Thanks man.
[Nexus S General] Gitah.:
I'm using the latest stable version on my i9023 and I'm getting reboots.
[Nexus S General] :
Wow, what an utterly useless bug report.

Enjoy your reboots until you learn how to report issues properly.
[Nexus S General] Gitah.:
Welp, that wasn't meant to be a "bug report", actually. I was just letting you know that I'm getting reboots with your kernel.

Is there a way to provide a log or something?