yashsingh1/xdaforums huggingface dataset:
[Nexus S Android Development] DerTeufel1980:
please try this one.

i just did merge the changes made by cm team (this includes linux version update as well as selinux support).

this kernel also should still work on older roms (4.2.2, but settings --> security may force close)

for more details about changes, take a look at my github please
[Nexus S Android Development] adm1jtg:
Everything loaded up well... all io and govs look good, se linux is in permissive mode, camera and video camera work great, memory at 408 meg which is odd should be 409 but no biggie...

Will keep testing and report back as I find things

Thanks for all the help.

BTW I assume all your changes are in the cm 10.2 branch
[Nexus S Android Development] doma8108:
Nice job, everything works well and no problem for now.. Touchwake works too!
[Nexus S Android Development] Dark_Eyes_:
Thanks a lot DerTeufel! I just installed it on latest cm10.2 nightly and it's working great, it's super fast as always! The only problem so far is that bln is broken in the latest cm nightlies. It would be great if you could look into that cause I really miss that function... Maybe leaving the stock cm implementation of bln would do it cause bln works fine on the stock cm kernel. Other than that it really is an awesome kernel!
[Nexus S Android Development] DerTeufel1980:
What happens if you replace the lights_herring.so? Does it break some cm stuff?

Gesendet von meinem GT-N7105 mit Tapatalk 2
[Nexus S Android Development] Dark_Eyes_:
I'll try later but I don't think it will work. A while back cm changed something with the liblights and bln stopped working. I was using Marmite at the time, and there has been no possible fix. The bln included in the kernel breaks the cm implementation, and it doesn't work so overall bln is gone.

Which version do you want me to try for lights_herring? The latest hellybean? I'm surprised bln is working in hellybean (is it?) as your ROM is cm based... Did you use the latest nightlies in your builds?
[Nexus S Android Development] leap_ahead:
rom ?
[Nexus S Android Development] DerTeufel1980:
No problem. I am just going to build a new lib light binary.

Gesendet von meinem GT-N7105 mit Tapatalk 2
[Nexus S Android Development] Dark_Eyes_:
Great! I'll be happy to test as soon as it's ready!
[Nexus S Android Development] DerTeufel1980:
You are compiling slim, right? I have uploaded the modified code for liblights to work with bln, but I can't build the binary, because I am using the xda build server, which isn't working currently.

Can you compile the binary for me from my sources? It's in crespo device tree

Gesendet von meinem GT-N7105 mit Tapatalk 2
[Nexus S Android Development] Dark_Eyes_:
So, I tried copying the lights.s5pc110.so lib, which is the needed bln file if I remember correctly, and to my surprise this file doesn't exist anymore in the cm ROM. That's probably why bln is not working. Adding the file didn't help cause it's no more needed by the ROM... lights_herring.so is still there but I don't think it has to be modified as it never were in the previous working version...
[Nexus S Android Development] DerTeufel1980:
I am only familiar with the naming of the Aries board. There it always has been lights_aries.so

Anyway, I hope I can compile the new file sooner than later. I don't see any logical reason it shouldn't work

Gesendet von meinem GT-N7105 mit Tapatalk 2
[Nexus S Android Development] adm1jtg:
I have the entire slim build built but have not even had time to load it yet... So I pulled what I think is the file you want

https://dl.dropboxusercontent.com/u/18478304/4.3/lights.s5pc110.so

If thats not the right file just tell me where it is and I will pull it for you

Also I ran into one SMALL issue with the test build zip file you posted. When the phone is waking up from deep sleep there is a greenish screen tinge as it wakes up. Bedalus kernel also had this issue. He had surmised that selinux overhead took more cpu or resources or something and said it was simply a timing that needed adjusting but he retired before it was fixed in his kernel.

Other then that am loving the kernel. Will run the full blown slim with devil integrated later this morning and report back.
[Nexus S Android Development] DerTeufel1980:
Sorry, I think I wasn't detailed enough. You need to compile the file from my sources.

. build/envsetup.sh && breakfast crespo && mmm device/samsung/crespo/liblights

Where you have to take the liblights from my crespo github

Gesendet von meinem GT-N7105 mit Tapatalk 2
[Nexus S Android Development] adm1jtg:
Ok sorry am having issues with my build vm right now, I will let you know when it is back up and try to build as you asked.

update: Ugh completely corrupted profile still trying to recover
[Nexus S Android Development] Dark_Eyes_:
It has been fixed in the 9.1 release. At least bedalus changed the delay he was talking about.
[Nexus S Android Development] adm1jtg:
Yes he did try to fix it but was not successful. I still get the green screen on screen on and now get this on latest devil as well. I guess it could be some weird slim rom issue as that's the only rom I test on but before selinux implementation in kernel no such issues.
[Nexus S Android Development] DerTeufel1980:
Well, then someone else needs to report :)

Gesendet von meinem GT-N7105 mit Tapatalk 2
[Nexus S Android Development] Dark_Eyes_:
I don't have it on cm10.2 with latest devil kernel and i'm using the same color settings as before. I remember having this problem with those settings on other rom so it might be related to the rom and not a kernel issue directly. Try adjusting the rgb closer to 0 as that's how I fixed it back then.
[Nexus S Android Development] DerTeufel1980:
Thanks for the feedback. Anyway I have added a tunable frontbuffer draw delay to the next build now. It was meant to fix crt off animation, but who knows...

In the file also has been a check for LCD Display, and if true, a delay got already applied.

Maybe you two are having different screens?

Gesendet von meinem GT-N7105 mit Tapatalk 2
[Nexus S Android Development] Dark_Eyes_:
That's a good point! I have the AMOLED version.
[Nexus S Android Development] Setting.Out:
I had no real issues,.. no odd screen colors, but it didn't want to wake up once.. black screen and soft were on.. this was shortly after install and not again.. I was on ThinkingBridge Rom..
[Nexus S Android Development] DerTeufel1980:
Deep idle enabled?

Gesendet von meinem GT-N7105 mit Tapatalk 2
[Nexus S Android Development] Setting.Out:
I don't believe so, I haven't seen an option for that in quite a while because it's buggy...
[Nexus S Android Development] adm1jtg:
Wont compile for me lots of errors. Very new to the whole building got one of the slim devs to help and we just coudnt make it work. That said what I do have is a complete slim rom build with your kernel as source and on that build after formatting system and installing it bln notifications and blinking work. So I am guessing the correct compiled files are present in that rom. I can either upload the entire rom or pull whatever files you need from it if that would help.

Also another question... I remember there is I believe a single commit i could cherrypick to turn on or of the cm custom io ctrl. Would you be able to point me to that as I would PREFER to run this in "aosp mode" or in other words without the cm custom io ctrl enabled.

Will test the rgb command for green screen in a bit its not consistent and is better the bedalus aka occurs less frequently but is still present. I am on samoled screen as well i9020T for the record

UPDATE: The green screen issue seems not to be a screen issue as much as a slow wake-up from sleep. Trying to play with gov and io but those seem not to have much effect
[Nexus S Android Development] DerTeufel1980:
this one is coming with new modified liblights binary for bln support, frontbuffer draw delay (please try setting it with trickster mod) and support for turning off touchkey backlight from rom settings. please report back
[Nexus S Android Development] doma8108:
It works good.. :good: bln control finally works
[Nexus S Android Development] Dark_Eyes_:
DerTeufel, you are a genius! Bln is finally working, mainline updates are merged, the kernel is super fast and stable! Really great job!

Only thing missing to make it perfect would be voodoo colors... But I can live without it if you don't want to add it!

Edit: I just remembered that some older version of devil kernel had voodoo colors enabled. Is it hard to merge it back?
[Nexus S Android Development] DerTeufel1980:
Voodoo is going to be no problem.

Anyone tried the kernel on 4.2.2 or older?

Gesendet von meinem GT-N7105 mit Tapatalk 2
[Nexus S Android Development] SABRAX:
Thanks, waiting for new versions. good job!
[Nexus S Android Development] leap_ahead:
i use nstools and is ok !!!
[Nexus S Android Development] xbs:
Amazing speed. Very snappy.

Wonder what's battery life like?
[Nexus S Android Development] polobunny:
Re: [Kernel] Devil - Jellybean 4.2.1 (only cm version) - 06-Feb. 2013

No jellybean 4.1 love?
[Nexus S Android Development] towelboy:
Re: [Kernel] Devil - Jellybean 4.2.1 (only cm version) - 06-Feb. 2013

I'm kind of mad I sold my nexus now!!
[Nexus S Android Development] DerTeufel1980:
AW: [Kernel] Devil - Jellybean 4.2.1 (only cm version) - 06-Feb. 2013

You could try it. As far as I know, only initramfs changed and it should work. But I can't guarantee for it.

Gesendet von meinem GT-I9000 mit Tapatalk 2
[Nexus S Android Development] leap_ahead:
bln not working with sms ...
[Nexus S Android Development] raducux:
Re: [Kernel] Devil - Jellybean 4.2.1 (only cm version) - 06-Feb. 2013

@DerTeufell : any plans in adding mtp ?
[Nexus S Android Development] DerTeufel1980:
AW: [Kernel] Devil - Jellybean 4.2.1 (only cm version) - 06-Feb. 2013

I'll take a look at bedalus implementation of it. Does it require a reboot?

For my device I have implemented a switch for it to recovery (there is no separate recovery like the nexus s uses).

Gesendet von meinem GT-I9000 mit Tapatalk 2
[Nexus S Android Development] -Tex-:
How to configure kernel? Devil kernel manager and Devil kernel config dosn't get update alot of time.
[Nexus S Android Development] ej8989:
It does not require a reboot. (Slim Bean + matr1x)

As soon as you tap the MTP mode, it switches to MTP instantly.
[Nexus S Android Development] anshumandash:
If the ROM has the mtp mode selection under storage settings, it does not require reboot. If you are using usb switcher from play store or switching using terminal commands, it will need reboot for the change to take effect.
[Nexus S Android Development] DallasCZ:
Q

Hi, i tried today your kernel with devil kernel manager (before a had bedalus marmite kernel 7.3.1 cm and flashed it with wipe of dalvik cache)and have some questions:

1-Cant Change RAM SETTINGS after reboot it revert to stock all the time

2-same with Swap/zRAM. Always after reboot is disabled

3-cant find BLD
[Nexus S Android Development] polobunny:
Nope, doesn't boot, stays stuck at the boot animation forever. So sad. :(

Do you believe it would be possible to make it work with 4.1? I know it's a stretch to ask to spend time on it since 4.2 is the latest thing, but there's really a performance and smoothness drop between google approved 4.1 and shoddy 4.2 hacks.
[Nexus S Android Development] anshumandash:
The kernel is running great at 1200. I want to try live OC. What is the maximum allowed limit for live oc? I know DerTeufel1980 had restricted it to certain %. Is any one using live oc?
[Nexus S Android Development] leap_ahead:
anyone test bln with sms ?
[Nexus S Android Development] N3RO815:
AW: [Kernel] Devil - Jellybean 4.2.1 (only cm version) - 06-Feb. 2013

Do you planning a non cm Version?
[Nexus S Android Development] DerTeufel1980:
AW: [Kernel] Devil - Jellybean 4.2.1 (only cm version) - 06-Feb. 2013

I think the limit is above what a phone can handle. With raising voltages I can run 117%.

You should try yourself. Just hit, not to load values at boot. This can save you some trouble, until you got it stable

Gesendet von meinem GT-I9000 mit Tapatalk 2
[Nexus S Android Development] DerTeufel1980:
AW: [Kernel] Devil - Jellybean 4.2.1 (only cm version) - 06-Feb. 2013

Uploaded devil tools. It's not perfect, but I could add some settings today

Gesendet von meinem GT-I9000 mit Tapatalk 2
[Nexus S Android Development] DallasCZ:
Re: [Kernel] Devil - Jellybean 4.2.1 (only cm version) - 06-Feb. 2013

whats the diferent betwen devilstools and devils tools manager?
[Nexus S Android Development] CataHd:
I'm wondering if our old nexus will have 3.4.x kernel one day?
[Nexus S Android Development] DerTeufel1980:
No, I don't think so

Gesendet von meinem GT-N7105 mit Tapatalk 2
[Nexus S Android Development] Dark_Eyes_:
[MENTION=3279686]DerTeufel[/MENTION] It's seems that the init.d support is broken in the latest kernel. I think it was working on previous (4.2) version though... Care to take a look at it when you get 2 minutes?
[Nexus S Android Development] DerTeufel1980:
The kernel does not ship with initramfs. It uses whatever is already installed by rom. You should ask the question in your roms thread

Gesendet von meinem GT-N7105 mit Tapatalk 2
[Nexus S Android Development] CataHd:
To bad :(

BTW on CM10 4.1.2 automatic brightness and bln notifications are not working
[Nexus S Android Development] DerTeufel1980:
Automatic brightness is already broken since a while. Too bad I don't know why.

Bln should be working. Are you on latest test build?

Gesendet von meinem GT-N7105 mit Tapatalk 2
[Nexus S Android Development] CataHd:
Yes but in the versions posted on page 34 everything works ok
[Nexus S Android Development] Dark_Eyes_:
So it's not a kernel issue? I thought init.d support came with the kernel. I'll see what I can do to enable it in the rom but I don't have much hope...

---------- Post added at 09:40 AM ---------- Previous post was at 09:34 AM ----------

I think it's normal, since the liblights where updated to work on the newest 4.3 roms. Either you stick with the old version, or DerTeufel will have to build 2 different version.

You can try to fetch the lights.s5pc110.so from the marmite kernel and coy it to /system/lib/hw. Don't forget to set the permissions correctly for that file and see if it works...
[Nexus S Android Development] CataHd:
It is not working

But i will stick with the old version and cm10 stable untill cm10.2 stable comes out and will use it with this kernel
[Nexus S Android Development] adm1jtg:
No issues at all in a self-built slim rom. memory, responsiveness, io, gov, camera, gps everything works flawlessly. Voodoo color may well resolve my sole remaining green screen issue but let me state the green screen issue is PURELY COSMETIC.

Any interested/bored people in here like to help me test this kernel further on slim rom?

[MENTION=4196889]DerTeufel1980[/MENTION] would you be ok with me pitching to slim team making your kernel their new default for crespo builds?
[Nexus S Android Development] DerTeufel1980:
It's fine for me if they want to use it.

Do you have some time for testing at the moment? Slim is still using "aosp" kernel version, right?

Btw: how did you set up the kernel to work on aosp? Did you recompile it?

Gesendet von meinem GT-N7105 mit Tapatalk 2
[Nexus S Android Development] DerTeufel1980:
You say, my liblights is breaking auto brightness? That's strange, and I'll look into it. Thanks for the info.

With the kernel from page 34 bln also works? I am wondering, because this one was coming without liblights.

Which kernel have you been using before? And does bln still work on the older kernel, if you reflash your rom, and then the kernel?

Gesendet von meinem GT-N7105 mit Tapatalk 2
[Nexus S Android Development] CataHd:
When i use the old kernel from page 34 i usually use it only on cm10 and install it over the stock cm kernel when i do a clean install and everything works ok bln,brightness...
[Nexus S Android Development] adm1jtg:
I can test for you for sure. I am actually working directly with a slim dev and he compiled a build for me of slim with devil but it is still compiling using the cm standard of hwcomposer (thats the only file thats truly different between cm base and aosp base as far as I understand), Thus why i was asking for the commit to toggle the special cmi/o controls as we did this before ... converted a cm kernel to aosp with that commit I just cannot find it now. Did this when working with bedalus.

If you push your changes to git I can have the slim dev compile me a completely new rom build again as that would be the better way to test... or if you send me the kernel in a boot.img file i could just fastboot flash it... (would of course manually push correct hwcomposer in tthat case) but again my desired end result would be to have slim point to your git and be able to just straight compile it that way as a aosp kernel.

BTW you can make any cm kernel work on aosp or vice versa by simply matching it to the right hwcomposer file

Let me know I am glad to help and test.
[Nexus S Android Development] DerTeufel1980:
You could just set the defconfig which is named something with cyanogenmod to: is not set. Then it builds as aosp kernel.

Gesendet von meinem GT-N7105 mit Tapatalk 2
[Nexus S Android Development] adm1jtg:
Ok thanks,

When do you think you will be adding in voodoo color as I would love to test that as well.. also sent you my email is pm if thats easier
[Nexus S Android Development] Zahih:
DerTeurfel, thanks for this test build -page 38, works flawlessly in Carbon.

Where do I set in devil kernel manager app for "set on boot".

Coz I can't find it.

Thx
[Nexus S Android Development] Dark_Eyes_:
Nevermind, init.d works great... It's a stupid test app from the play store that mislead me...

So it really is just a question of voodoo colors to make it perfect. I've had no problem with it so far even oc at 1320 mhz with live oc at 110%. I got reboots with marmite at those settings but your kernel is rock solid!
[Nexus S Android Development] Setting.Out:
Everything works great!!! Bln, init.d, ect... I'm on the stock ROM 4.1.2 r2.1 live oc 104% 100/1248 smartass2/row
[Nexus S Android Development] DerTeufel1980:
Please use deviltools. It's not in the play store. Current version is 0.73, but I don't have the link by hand right now

Gesendet von meinem GT-N7105 mit Tapatalk 2
[Nexus S Android Development] Zahih:
Thanks.. I found vers 0.5 in here : http://xdaforums.com/showthread.php?t=2289159

pls help to share vers 0.73 once you have time.

:good:
[Nexus S Android Development] Setting.Out:
I believe this is 0.73...
[Nexus S Android Development] Zahih:
Thanks, but your link is still the same version = vers 0.5.
[Nexus S Android Development] Setting.Out:
Okay, I don't have 0.73, but this is 0.72.. :)

Here is the page for the tools... Google it's a thing.. lol and it has 0.732

http://xdaforums.com/showthread.php?t=2276036
[Nexus S Android Development] Zahih:
Thanks mate..

:good:
[Nexus S Android Development] CataHd:
Is the 3.0.99 the final base update?

Or our old nexus s can go higher?
[Nexus S Android Development] Dark_Eyes_:
There will be other mainline updates so that's not the final version of the kernel, but if you mean the 3.4.xx kernels, I don't think our nexus will have it. We will most certainly stay with 3.0.xxx kernels.
[Nexus S Android Development] DerTeufel1980:
Exactly, also Linux 3.0.y is supposed to finish this month. Maybe there'll be a 100, maybe 99 has been the last one

Gesendet von meinem GT-N7105 mit Tapatalk 2
[Nexus S Android Development] Dark_Eyes_:
I didn't know that! So your work is almost done then?

Well, I'm sure 4.4 will bring other challenges if you're up for it!
[Nexus S Android Development] AusX10:
3.0.100 is out if anyone's interested
[Nexus S Android Development] benoit2600:
You can change the color of the screen with the DevilTools apk (In the "Performance tweaks" tab).
[Nexus S Android Development] notbrodie:
not with the 10/10 build. in devil tools (v0.732) custom colors are greyed out. with this kernel, the screen has a greenish tint. i really like all the additional features/tweaks, but i went back to marmite. it seems to be just as responsive, imo
[Nexus S Android Development] Dark_Eyes_:
Anyway, the addition of voodoo colors will fix those problems.

[MENTION=3279686]DerTeufel[/MENTION] any progress on merging them? It would also be nice to build with 3.0.100 since it is final!

Thanks in advance!
[Nexus S Android Development] cheeze.keyk:
how about for cm10.2?
[Nexus S Android Development] Dark_Eyes_:
The latest version works perfectly on cm10.2. That's my setup as of now and it's really great. Very good speed, battery life is also good and it is rock stable even oc at 1320. I'm live oc at 110% and it's buttery smooth!
[Nexus S Android Development] cheeze.keyk:
where's the link for cm10.2 kernel?

i just flashed the latest cm10.2..

thanks.
[Nexus S Android Development] Dark_Eyes_:
Page 38. You might want to download devil tools also to adjust the settings. It's somewhere between page 38 and here. Personally I still use the 0.5 version

You're welcome!
[Nexus S Android Development] cheeze.keyk:
i just flashed earlier the kernel for cm10.2,

what do i need to flash the devil kernel for cm10.2?

do i need to wipe?

sorry for my poor english..
[Nexus S Android Development] Dark_Eyes_:
Well, wiping cache and dalvik cache is recommended, but it will most likely work if you just flash it without wiping anything. Since there is always the off chance that you have some problem without wiping, you better do it... It takes just 2 minutes!
[Nexus S Android Development] CataHd:
I got the 3.0.99 version work on cm10 by replacing the lib folder in the zip with the one from page 34 but sometimes screen off animations don't work?

Any ideas how to fix it?
[Nexus S Android Development] DerTeufel1980:
new deviltools version:

http://xdaforums.com/showthread.php?p=41346443#post41346443
[Nexus S Android Development] Zahih:
Cannot open deviltools v 0.91, tried fix permission, but still FC.

Back to vers. 0.732
[Nexus S Android Development] Setting.Out:
Same here..
[Nexus S Android Development] Dark_Eyes_:
There is not a big gain in doing that. For 4.2.2 I would stick with the older version. You can always try taking the lib from page 36 as I think they will also work... I can't remember when DerTeufel fixed the crt animation...

---------- Post added at 10:34 AM ---------- Previous post was at 10:25 AM ----------

New deviltools v0.94 works flawlessly!

Thanks DerTeufel!
[Nexus S Android Development] Setting.Out:
.94 is working well, love the new tabs...
[Nexus S Android Development] Zahih:
Me too...

v0.94 works fine here...

Thanks DerTeufel.. :thumbup:
[Nexus S Android Development] andrei1015:
I am currently in the process of giving this Kernel a try, for CM10.2. So far it looks promising. I just hope my phone will not explode until morning.
[Nexus S Android Development] Dark_Eyes_:
I think I found a small bug in either deviltools or the kernel itself. Evey time I flash it, the vibration control is set to 10% but it says 100% in deviltools. If I slide it to anything and then back to 100% it fixes it. It is a bit annoying since I have to flash the kernel very often and if I forget to set the vibration correctly I miss all my notifications... I would appreciate if you could look into that when you get some time.

Thanks in advance!
[Nexus S Android Development] DerTeufel1980:
Which rom are you using? Does it also have vibration control in rom settings?

Gesendet von meinem GT-N7105 mit Tapatalk 2
[Nexus S Android Development] Dark_Eyes_:
Yes it has vibration control. I'm running latest cm10.2 nightly...
[Nexus S Android Development] DerTeufel1980:
Then please try uninstalling deviltools. Does it work then?

Gesendet von meinem GT-N7105 mit Tapatalk 2
[Nexus S Android Development] Dark_Eyes_:
Yes it works. Looks like it's a deviltools issue. I'm not sure but I don't recall having that problem with v0.5... I can try it tomorrow if it is of any interest to you...
[Nexus S Android Development] DerTeufel1980:
Yes, please try. Thanks

Gesendet von meinem GT-N7105 mit Tapatalk 2