yashsingh1/xdaforums huggingface dataset:
[Nexus S General] nexususer1:
I know but things that seem easy for you aren't that obvious for me:) I'm studying civil engineering, i got no idea about compiling a kernel. I live in Poland, so I'm not even familiar with linux, everyone's on windows here. I don't really want to keep pushing you. If you don't want to include that patch, I'll live with it. I just thought it would be super easy for you to do that. Didn't want to start a new thread about it. I just wanted to give you some feedback, thus make Your work more complete and also make me happier by seeing that nice animation back when locking my device:)

Hope you understand. Btw .31 is working great for me. I think it was a wise decission to go back with kernel version. Nexus seems to like it:)
[Nexus S General] madd0g:
Making it on by default would probably require a init.d script, right ? Thought the only best way to enable/manage BLN is by the BLN Control app. But I'll look into it.
[Nexus S General] :
In that case, he will only need commits 1 and 4, as 2 is for the blinking and 3 is to disable it by default.
[Nexus S General] apatal:
+1

Don't you just love those flat lines in your battery stats? ;)

There you go. Even init.d script is unreliable as some ROMs don't support it.

Sent from my Nexus S
[Nexus S General] madd0g:
Yeah, that also. I never tried BLN without the BLN Control so I'm eager to see if it works (one service less to run all the time) AND if it also displays the LED for missed calls (which only the Pro version of the app does).

Github seems to be slow again, still downloading repo lol.
[Nexus S General] madd0g:
It's alive!

[edit2] Updated url, it's compatible with JellyBelly ROM now, users on other ROM's don't need to re-apply it. Big thanks to _thalamus!

[edit3 - 26.8.2012] Removed IDLE2, which isn't yet stable, please reflash .zip below to avoid possible issues.

Here's the flashable .zip : https://dl.dropbox.com/u/12542/kernel-S5PC110-3.0.31-28JB_BLN_CRT_20120826.zip

Stuff added :

- i9023 CRT hack (I don't mind it doesn't work, but will keep perfectionists happy)

- modified liblights.so for BLN from JellyBelly ROM, props to AdamG

- BLN (enabled by default, tested working, BUT if you want missed call LED, you need the BLN Control Pro app)

I added the blinking part at the end, since patch 4 was a fix for it and wasn't sure if it's anything else changed. So I commited the #2 for blinking and #4 also. I only left out #3 as this disables BLN by default.

All props to _thalamus for the guide and providing this great kernel. Anyone with questions/issues regarding this build, PM me, since _thalamus won't offer support for it (obviously). I'll try and keep it up as he posts new builds, but that won't happen a lot I guess, since .31 is better.

Have fun!
[Nexus S General] mpjoe2000:
so at this moment what is called stable should be called testing and what is called testing should be called stable? LOL

for now, i'm getting a slightly better perfomance (less lags) playing Temple Run with 3.0.39... both play tests had the same conditions:

1) install kernel, and reboot.

2) start to load apps (exDialer, Whatsapp, gmail, etc) until i get 45-50Mb ram free

3) Load Temple Run and play at least 3-4 times.

i have even played in airplain mode to avoid some bad signals lags reconections.

BTW, NFS HP runs smoothly on both kernels.

I have a Nexus S i9023 with JellyBelly 1.0.
[Nexus S General] apatal:
Post#2 as FAQ

I updated post #2 of the thread to serve as FAQ for users of thalamus' kernel. It's just a couple of items for now, with the answers taken from some of his responses to feature requests and other inquiries. I'll update it as necessary but at least for now, we can just point people to the said post the next time we read "Why you no BLN? in the thread.

Cheers! :angel:
[Nexus S General] madd0g:
You could add the link to my post, if someone wants a BLN edition :]
[Nexus S General] apatal:
Oh yeah, I'll mention that in the FAQ. ;)
[Nexus S General] :
Read a book on the Kindle app for a few hours. Nice! :)
[Nexus S General] :
There's a simple method. PM me.
[Nexus S General] Pik3no:
To run on JellyBelly I have to remove the content of etc/init.d folder and remove the references to this folder on updater-script.

After this I tested the kernels. Official _thalamus' test work but don't have CRT fix :(

MadDog kernel causes my phone to bootloop. How I get the bootloop error log? (If exists one)
[Nexus S General] sidnoit22:
Why are you not merging your kernel to 3.0.40? :confused:

Sent a Jellybean from my Jar
[Nexus S General] Pik3no:
I tried simply to apply the zip of MadDog. Doesn't work. What am I doing wrong?

Perhaps is a JellyBelly bug =(

_thalamus

Your kernel disables RILJ/RILD check at boot? To avoid the wakelocks?

IF "RILJ/RILD check at boot" is a kernel responsibility.
[Nexus S General] :
If you bothered to read the very first post of the thread, you would discover a blog post linked there explaining my decision and why.

However, I'm interested as to why you think I should merge to 3.0.40?

Is there a good reason for it? Feel free to enlighten me if so.

---------- Post added at 07:12 PM ---------- Previous post was at 07:11 PM ----------

No. It won't work.

And no, my kernel does no such thing, it doesn't touch anything to do with the RIL. Why would it?
[Nexus S General] sidnoit22:
Lol I was just asking.. :o

Sent a Jellybean from my Jar
[Nexus S General] :
And I was just asking *why* I should update it? You must have a reason if you are asking?

Other than version number wanking, I really can't see any good reason to, but I can see lots of reasons not to, as explained in my blog post linked in the first post of this thread.

Edit: Hmmm....

Kernel : Air Kernel JBN #182

Says it all really.
[Nexus S General] Pik3no:
MadDog doesn't work. 'Unlocking' JellyBelly as said in post:

and using your latest test kernel works fine!

About RIL I don't know if is a kernel responsibility as said on my post.

Since it is not the responsibility of the kernel, sorry for the question.
[Nexus S General] madd0g:
Sorry, this worked on JellyBelly before version 1.x. I'll compile a compatible version soon, stay tuned. ;]

[edit] Here's the updated post, try it out on JellyBelly (I have a different ROM): http://xdaforums.com/showpost.php?p=30084773&postcount=1009

---------- Post added at 10:48 PM ---------- Previous post was at 10:10 PM ----------

Thank you :] Although I'm flattered, I'll be more happy if you state _thalamus kernel in your signature, it's his work actually, I didn't do anything :]

---------- Post added at 10:50 PM ---------- Previous post was at 10:48 PM ----------

The RIL issues seems to be a JB thing, caused by a gprs.data-stall wakelock. I tested many ROM's with different kernels and it's the same. Sometimes it occurs more often, sometimes just doesn't.
[Nexus S General] Muvolt:
Thalamus and Maddog, thanks for that kernel! I have to say that it's not so smooth and fast yet for me though...animations are slow and stutter sometimes. Bedalus v3.5 kernel was the fastest/smoothest custom JB kernel I have tried and only Air kernel come a bit close to it IMHO..I had zero problems with these kernels till now...also, I never use deep idle...maybe it plays a role too.
[Nexus S General] :
Strange...everyone else seems to be doing alright. :good:

Which is my kernel with a couple of changes lol. :rolleyes:

Lol. You should be a comedian. :laugh:

I doubt it, it's not enabled. :cyclops:
[Nexus S General] Pik3no:
Thanks! Downloading... When I install I update this post.

EDIT: Worked!!! BLN and CRT fix working!

Thank you SO much!

I had a genius :silly: idea!

I really appreciate the work of _thalamus (I have tested other kernels only to make me like even more _thalamus kernel :D), but I miss the CRT fix (anyway it is a bug, isn't? Stable means no bugs :)) and BLN. You could keep updating 'your' kernel with the latest _thalamus code and maintaining these 'features'. I guess it will be downloaded more than original _thalamus kernel :D And, if a bug appears, the guilt is yours (:laugh:), leaving _thalamus guilt free since he does not want to add these things to his work. GENIUS! :silly:
[Nexus S General] Muvolt:
Yes, I know...thanks for that too!

Nope...it works and it's quite fast too....not the best though

I wasn't talking about your kernels only..
[Nexus S General] madd0g:
Yup, that was the idea behind it, as I said I'll try to keep doing it, at least for the "stabler" builds, when _thalamus continues his work, when he gets the NS back (hopefully) ;]

Thanks for letting us know that the kernel works for JellyBelly.
[Nexus S General] Pik3no:
You're welcome!

Stabler builds will be the .31 ones, right? This version has less annoying wakelocks.

If there anything I can do to help, just ask.

Thanks to you and _thalamus!
[Nexus S General] :
I think he means it will be updated as and when I release a stable version.

Which will probably be fairly rarely unless there is some issue or other, there is no point fixing what isn't broken, or merging stuff which isn't needed. :)

Wakelocks come from userspace by the way, they tend not to be a kernel issue.
[Nexus S General] apatal:
Just want to note that if not for thalamus, no one would think about reverting to stock .31 to fix the battery drain issue in our custom kernels. Everyone would just be looking to update to the latest mainline release. To think that such a simple solution can fix our battery woes is just nothing short of revolutionary. It's a testament to what real, thinking developers can accomplish as opposed to mindless mergers who cater to, as thalamus puts it, feature wankers. ;)

Sent from my Nexus S
[Nexus S General] atl4ntis:
don't be silly... battery drain has nothing to do with the merge to latest mainline.

tbh i don't understand the hype about this kernel.

if you look at the repo it's a stock kernel disguised. what's so revolutionary in it? it has the big mem patch, not thalamus work, and few governors and schedulers tweaks. the compiler warnings fix are useless and funny, like the use of the new tc. idle2 is not yet implemented and according to thalamus who said that buggy stuff is garbage (ezekeel works) then is garbage aswell.

maybe is the rude attitude of the dev who's making this kernel feel so pro? placebo much?.
[Nexus S General] apatal:
perhaps you are right, the same way that mods like deep idle, etc., have no effect on stability.

neither do I. Since starting this thread, I have never felt like there was any kind of hype about it. If anything, I find the posts here underwhelming, the users a minority, and the project itself underrated. I, nor thalamus, have never used hype in discussing the development. The kernel speaks for itself, even without the long list of features other developers seem to conjure out of thin Air.

If you think this is just disguised stock, then you must have really never used it before. Again, I will stop here at defending it, because it doesn't need it. The kernel will prove itself.

Oh and yeah, if you read back to my post, I never said the kernel is revolutionary. I said the fact that someone figured out that it might be better to stay away from the mainline updates, which may be the cause of the extraneous battery drain in the previous JB builds, is revolutionary, because unlike other kernels who race to merge the latest mainline releases, someone actually looked at the code and said "Hey, something is wrong here..."

If you are really this knowledgeable in reading codes, why didn't you just point out your observations in the thread? If you've been following it, you'll see that thalamus actually replies to intelligent questions, but mindless trolling is just as bad as mindless merging and you're apt to get flamed if you're not careful.

Now we know what this is really about. I am sorry for you if you're feelings have been hurt in the past, but this is not the correct way of dealing with it. For example, you can see a therapist, drink valium, or become a brain donor now. That way, the happy feelings that are brought about by your good deed will help you get past the pain of being publicly lectured by probably one of the remaining true developers we have here at our NS forum.
[Nexus S General] :
You assume what? Prove it.

It's not just on crespo I noticed less drain with 31, it's the same on maguro.

As for the rest of your post, that is your opinion. I don't remember actually saying my kernel is supposed to be revolutionary. Its supposed to be reliable and stable, which it is. Idle2 will be completed when I get my device back from repairs.

If you want examples of the code I write and work I do, feel free to check my git where you will find many.

The fact of the matter is crespo doesn't really need much doing, which is why I haven't done much with it.

And deep idle is garbage, if you bother to look, my implementation is utterly different. But don't let the facts get in the way of your bias lol.

-Will
[Nexus S General] :
Anyone with even a basic grasp of code should check out the difference between DI and IDLE2, it's really educational.
[Nexus S General] polobunny:
But it's the best disguised kernel!

I'm pretty sure kernels are all stock kernels disguised, if you remove every feature and patch. Surprise!

Anyway, good trolling. +1 TRL stat.
[Nexus S General] knzo:
Well, let us be honest as your kernel is indeed, aside from IDLE2, very close to stock. Cleaned and minor tweaks. On the other hand, there's IDLE2 which is an undeniably strong project in both time and effort and arguably your greatest contribution to this community. But I do get what atl4ntis meant by saying your kernel without IDLE2 (as your last release) is stock-ish. Doesn't mean I agree with the condescending tone though.

I think the error/bias here is to point this out disrespectfully or as a criticism. The same goes on the other way - whether a kernel is barely touched (reliable,stable) or it's a threshold/patch party (experimental,performance) there are examples of both ways that end up as good final "products" and this is what matters. I was surely one of the first to use this kernel because I thought it was refreshing in a time where most custom kernels fit in the patch category, it only lacked BLN and Interactive which was what led me to Hypothalamus in the first place.

tl;dr - without IDLE2 I have to agree this kernel is stock without some debug and a few tuning. Nevertheless, this is a good thing, not bad. Let's just hope your repaired Nexus S comes soon so you can resume your work on IDLE2 which is the cornerstone of your kernel imho.

P.S. This post means no offense or deliberate attempt to undermine anyone's work or opinion.
[Nexus S General] knzo:
http://xdaforums.com/showpost.php?p=29924415&postcount=187

Note: IDLE2 is what you would call a worthy update. This doesn't please the crackflasher though ("Y U NO UPDATE, BAD KERNEL").
[Nexus S General] :
I agree, it was never supposed to deviate in a large way from stock. My official line has always been 'stock with tweaks'. I think I did deviate too much from stock on a few occasions and caused myself problems.

I've never been one for slapping random patches together to create a kernel. If people expect that, sod off to the Air kernel thread where you will find that absolutely none of the work in his kernel is his, it's all gathered from elsewhere, like a squirrel gathering nuts for the winter.

Anyway, I digress..

The Nexus S has few issues with the stock kernel and to be honest, not a great deal needs doing with it and yes, the vast majority of my work in the current Nexus S kernel is choosing sane config options, a few bugfixes and general tweaks.

You could describe it simply as a more sanely configured stock kernel, which is what my ultimate aim always was and still is, hence why I am so anal about stability and performance.

IDLE2 is a big aim of mine, I want it working, and I want it working properly. I want it working in such a way that it will work like the OSWR in the OMAP4460, which is completely transparent to the end user and saves a stack of power.

There are issues with it at the moment, it's not entirely proven and perhaps not entirely stable yet, hence why I disabled it by default, yet I get criticised for shipping the kernel with it 'not implemented'.

Seriously, I have started asking myself why I bother with XDA at all. I'd get a lot more developing done if I didn't have to reply to trolls like atl4ntis.

I uploaded source for Nexus Prime and 7 yesterday.

Oh yeah, clearly none of that, at all, is my work either. :rolleyes:

I won't be releasing any built kernels though, certainly not on XDA, it's not worth the hassle or the wasted time dealing with opinionated morons. In fact, releasing only source in future might be the best way forward then someone else can build/release it and they can have the hassle, the morons and the other support issues.

---------- Post added at 05:16 PM ---------- Previous post was at 05:07 PM ----------

Haha. Yeah, stock ICS kernel isn't exactly optimised. Which is strange really, you would have thought they would have made the effort.

As for 3.0.8, I dunno, it always seemed better after merging to the android-common branch, which is 3.0.31, which is the JB base kernel.

But to be fair, they did make an effort with JB, and stock is pretty damn good tbh.

Has the NXS4G OTA not been released yet? I know they released the proprietary binaries for it...
[Nexus S General] atl4ntis:
man i'm not trolling. i did my own tests and there's no battery drain merging to latest mainline. maybe a recognized benchmark man like bedalus could bother in doing them.

that's why earing about your revolutionary idea about reverting to stock was a bit too much to shut me up.

i'm not disrespectful about yor work i'm just noticing that you can even pubblish a 100% stock kernel here instead of 95% and people will alway find it better then stock. stupidity at its best.

Also if you like to be respected respect first... too much crap over ezekeel and i'm not comparing di with i2. he had some really revolutionary ideas , you need to grow up a bit anf washing your teeths before talking.
[Nexus S General] :
Cool. Your tests must be completely authoritative then and my users are completely wrong.

I certainly have had many reports of less battery drain since reverting to stock and you are what, one person with an opinion and possibly an agenda. Clearly you must be right and the users that reported less battery drain are all completely wrong.

Sorry guys, you are just imagining the lower battery usage.

Isn't that a awful pity, please tell me what I could say which would shut you up, preferably permanently?

It would have been sensible if you had contacted me in my IRC channel or via PM of your concerns before making yourself look like a moron in this thread though, but that would require some common sense I guess and an adult debate wouldn't fit in with your agenda which was simply to have a pop at me.

How old are you? 12? Seriously...

Morons always resort to personal attacks when their argument has failed. Not that you had an argument in the first place.

That's fine, attack me as much as you like because:

1) You don't know me, at all, so anything you say is invalid anyway.

2) I don't actually care what you say. Who are you to me anyway?

3) It's actually amusing me that you wasted your time typing that.

But to save you wasting your time further, and taking this thread even more offtopic than it is, please take it elsewhere because you have already completely lost this one.

Also, next time, please use a spellchecker and at least attempt to use correct grammar, capitalisation and punctuation in your post. Maybe you would be taken more seriously if you put a bit of effort into it.
[Nexus S General] Randomwalker:
Why don't you publish your test results, so they can be reviewed? It's never the man that should be recognized but the argument.
[Nexus S General] Andy:
Ok guys, I'd rather not have to waste my time cleaning up completely irrelevant posts.

Keep the posts factual, on topic and without personal slurs or insults.

Count this as a warning as infractions & bans will follow.
[Nexus S General] Shott3r:
Has anyone gotten the BLN mod posted a couple pages back to work on NS4G? Wondering if it's an issue on my end. Running latest Euroskank Jellybro. Kernel is smooth/fast as usual, but no BLN. It's enabled in NSTools. Any ideas?

Thanks.
[Nexus S General] Andy:
People complain because they feel they have the right to. After all they have access to the internet and an opinion why not share it!

What some people do, instead of making their complaint constructive in its criticism, they lay it out there as if they've been seriously offended by the effort others put in for free and not delivering something 100% perfect. Thats the internet, full of trolls, just waiting to have a pop.

Trolls crave attention in one form or another. Best advice is to ignore them, report the post and carry on as if nothing was said.
[Nexus S General] madd0g:
_thalamus posted all the steps required to compile the kernel here (couple posts further are commits needed for BLN). Although you need to have a build environment (linux box or in a VM) and know what you're doing. It's all there.

Nah, I won't add anything else, sorry. When _thalamus progresses with IDLE2 work, I'll make a version, when it's ready to be called stable. No point in compiling every test edition, it'll just become a cluster **** of feedback.
[Nexus S General] :
That's not all the steps! :p

If you want a good guide on how: http://xdaforums.com/showpost.php?p=27900338&postcount=3 (that's all the steps! :p)

thalamus maintains an informative blog, so there's always going to be somewhere to visit for his latest work, and it isn't cluttered with tangential posts like, uh, mine :p
[Nexus S General] :
It is pretty much all the steps to build bar setting up the machine.

sudo apt-get install build-essential lzma git-core libncurses5-dev

would be needed after installing ubuntu, but I can't think of anything else you would need off hand.

Your guide could use some simplifying, it's just a wall of text. I glazed over after reading the first bit, it's tl;dr.

I don't understand why you are telling people to do

sudo passwd root

either, that isn't necessary. Why do you need to enable the root account to build a kernel? You don't. Just use sudo to install the prerequisites.

Also, there is no need to install java and there is no need to install half the stuff you are recommending, that is for building a full build of Android, not simply building a kernel.
[Nexus S General] :
That's fine. Some people might go on to building Android. I build it once it of curiosity. It's definitely tl:dr for one sitting, but if people are completely new to building stuff, it's likely going to take a day just to get started. They can dip in and out as they go.

I'm happy you looked over it. I'll add the library in.
[Nexus S General] :
My point was that you are calling it a kernel building guide. It's not, as if someone does want to purely build a kernel, you are wasting their time installing junk they don't need. Perhaps I didn't make that point clearly enough.

It needs simplifying, or the title changed to 'Build a kernel, kinda', because it's *not* a kernel building guide, it's over complicated and does unnecessary things and is teaching people incorrect methods of doing things.

Also, if someone wants to simply build a copy of a kernel with an additional patch, there is *no* point in forking the repo on github. It's a waste.

Seriously, I'm not normally one for dumbing things down too much, but I'm going to have to write a guide myself, because yours isn't suitable for a noob, at all. Sorry.
[Nexus S General] :
To save time, why not just tell me which bits are optional?

People are going to want a github account for publishing their source, if they want to share their kernel. Otherwise it violates the terms of GPL right? I *do* mention that in the guide.