yashsingh1/xdaforums huggingface dataset:
[Galaxy S Plus I9001 Android Development] inhirz:
Amaaaaaaaaaazing kernel. For me, the user experience is better on 10.1. In term of performance I can't imagine it can be better. the only thing missed is DeepSleep From Ezekeel which not implemnted yet. more than 10% of drain in the night on my phone :eek:
[Galaxy S Plus I9001 Android Development] Christopher83:
Deep sleep is the built in suspend feature of embedded Linux systems, it's not developed by Ezekeel...

The BLX feature has been developed by Ezekeel.
[Galaxy S Plus I9001 Android Development] Christopher83:
Released new v1.3.5 kernel versions for CM 10.1 Alpha 5.

The new Broadcom Wireless drivers adapted by Samsung are correctly working
[Galaxy S Plus I9001 Android Development] Harrocan:
What about Doomsday CM10.1? I can use this kernel on his rom?
[Galaxy S Plus I9001 Android Development] Christopher83:
Yes you can use v1.3
[Galaxy S Plus I9001 Android Development] XeLLaR*:
AW: [KERNEL][3.0.x][JB] K^Kernel 3.0.x for JB 4.1.2 v1.3 and JB 4.2.2 v1.3.5 [10/03/2

Does this kernel use the OC table from diablo?
[Galaxy S Plus I9001 Android Development] Christopher83:
It's similar to CatagnaIT one...

Remember that you can customize each frequency voltage using IncrediControl, the kernel has Voltage Control interface on sysfs...
[Galaxy S Plus I9001 Android Development] Pereira.Pedro:
AW: [KERNEL][3.0.x][JB] K^Kernel 3.0.x for JB 4.1.2 v1.3 and JB 4.2.2 v1.3.5 [10/03/2

Wttffff this **** is incredible :D

Awesome bro :thumbup: CM 10.1 is flying <3 its so damn smooth, thanks :thumbup:
[Galaxy S Plus I9001 Android Development] davidteri91:
R: [KERNEL][3.0.x][JB] K^Kernel 3.0.x for JB 4.1.2 v1.3 and JB 4.2.2 v1.3.5 [10/03/20

I can't play videos 720p with kernel 360mb and 370mb for cm10.1

I have alpha5 xistance

Inviato dal mio GT-I9001 con Tapatalk 2
[Galaxy S Plus I9001 Android Development] Calin:
Good Good Good christopher awesome kernel for me is very smooth and the WiFi works great!!
[Galaxy S Plus I9001 Android Development] Christopher83:
Thank you Ktulu84,

yes, you well understood, as I said in the previous post, it's difficult to recognize a valid key press when there are incoming bad interrupts, but I could try to better tune the filtering parameters...

Thank you Dr.Wtf!

The gps wakelock issue seems to be common also with other roms and kernels, this will need a separate investigation...

If you can, make also further tests in 2G/3G mode and Wifi mode...
[Galaxy S Plus I9001 Android Development] ktulu84:
if you need some tests i'll be happy to test new parameters to see if it works well :D
[Galaxy S Plus I9001 Android Development] sziggins:
Hi again,

Seems the bbs was waking up by some other process caused maybe from the brightness toggle. Anyway, thanks for the providing information about the phantom key and the antenna interference and yes I was suffering from that. The issue I was suffering was before test and sorry it wasn't clear. During the test the issue is solved with just the need for longer press!

Excellent work Chistopher!

PS

It is not so easy to reply through nook color which runs 4.1.2 and k 3.0.8! Have a nice trip if you travel.
[Galaxy S Plus I9001 Android Development] dr.wtf:
the posted log shows(or doesn't show) a wild mix of using everything. i didn't notice different behavior using wifi 2g or 3g.

to be honest the home button issue drives me even more crazy than the randomly starting apps so i reverted to a stable kernel.
[Galaxy S Plus I9001 Android Development] sziggins:
Deep sleep works normally!

Hi Christopher,

I have good news with the K^Kernel_JB-4.1.2_3.0_v1.5.6_Linaro_4.7.3_Test5_Signed.zip. Seems everything work fine except that unstable behavior of the home key (sometimes needs to press it longer or again). But despite this (not so annoying to me) and regarding my phone, your test kernel solved the phantom key issue it was suffering from.

So, calls, bluetooth, gps, sms, toglle brightness, internet browsing, gmail, gtalk, videos on youtube work ok and the phone enters deep sleep after turn them on/off. I installed it via my usual way (clear cache and dalvik and fixing permissions twice) using TWRP 2.1.1 (2.1.1.1) by buffo1987 (I had the phantom key issue even in recovery mode so I prefer a touch one).

Seems my deep sleep's problem was not ROM related but a kernel one as I had it in all Kernels based on last ivendor's rc1 I tried.

As I am busy with my work my tests involve only my daily use of the phone and nothing more (logs would be more useful for you but as you mention "debug messages and ... dynamic debug option " are off). In future I'll have a look at your github and your code compared to stock one to see what is really going on!

I am really impressed of your work. Of course many thanks to devs and all the users with their useful feedbacks.

PS

The "cpu spy"'s screenshot is after I turn off the gps and toggle brightness. The others are after the installation of your test kernel (latest boot).

Sorry i forgot to mention that I tried even 3G/2G, seems in 3g the "home key" is more unstable (longer press, many tries before a successful one or doesn't respond at all).
[Galaxy S Plus I9001 Android Development] Christopher83:
Wow sziggins,

2 days and you still have 33% of battery!

Thank you very much for your ultra detailed feedback, I can't ask more!

The phantom key presses filtering also avoid unwanted wakelocks, so the deep sleep should work better...

As I told you, I completely reworked the phantom HOME key press filtering two days ago, unfortunately yesterday I can't do anything because I suffered from a terrible headache...

This morning, during my train journey to reach work, I made further changes and added some useful comments for the other devs...

I uploaded two test builds:

K^Kernel_JB-4.1.2_3.0_v1.5.6_Linaro_4.7.3_Test8_Signed.zip (the parameters should be more permissive)

K^Kernel_JB-4.1.2_3.0_v1.5.6_Linaro_4.7.3_Test9_Signed.zip (the parameters are similar to the Test5 version)

I'm also working on a new module to allow you the customization of phantom key presses filtering parameters and to show the filtered possibile bad interrupts, etc...

I hope to complete everything during these days.

Thank you very much again to you and everyone who helped and will help me in testing! :good:

Have a nice day!

EDIT:

These versions log some info about the managed and ignored HOME key presses/interrupts.
[Galaxy S Plus I9001 Android Development] ZordanKV:
My record regarding battery life with CM10.1 and K^Kernel v1.5. :)

Now I'm on PAC ROM and your v1.5.5 and it looks like I'll have the new record. :D
[Galaxy S Plus I9001 Android Development] sziggins:
Get well Christopher,

I just installed the K^Kernel_JB-4.1.2_3.0_v1.5.6_Linaro_4.7.3_Test9_Signed.zip and leaving for my work.

Regards.

PS

I liked that "some useful comments for the other devs" and the new module implementation!
[Galaxy S Plus I9001 Android Development] mieszk3:
Can you make a kernel for phantom home key on CM10.1? I suffer a lot of this (mainly in GpsNav during driving) and I can test it on JB 4.2.2.
[Galaxy S Plus I9001 Android Development] Christopher83:
WOW! 3 days of battery, wonderful! :laugh:

Thank you ZordanKV!
[Galaxy S Plus I9001 Android Development] ktulu84:
i will test the "Test8" kernel first, if everything works fine i'll let you know. thanks for your hard work! I was thinking about a module to customize theese parameters, i think it is a good idea

EDIT: sometimes i had the same problem with test4 that pressing once home button will result in a "long press" and the recent apps menu pops out. but this version is way better than test4 for now
[Galaxy S Plus I9001 Android Development] ktulu84:
This "test8" version seems to be a bit better for me than test4, but sometimes (lesser than before) home button does not respond or it respon like i long press it. it seems to me that phantom press button doesn't appear, menu and back softkey are working good. i attach a log file (3 hours of 2g use) I don't know if it can help you. btw battery drain seems to be really good!

log.txt https://docs.google.com/file/d/0B-LcXaSHhln-eEtXYmxZQjBMTkU/edit?usp=sharing
[Galaxy S Plus I9001 Android Development] dr.wtf:
why is it so hard to track down the actual cause of those phantom key presses?
[Galaxy S Plus I9001 Android Development] mieszk3:
Because basically it's random hardware problem (one chip is to close to the antenna).
[Galaxy S Plus I9001 Android Development] Christopher83:
As I said some page before, this is a well known hardware bug.

Here you may find more details:

http://xdaforums.com/showthread.php?t=1551580

For our device the HOME key press is managed differently than the menu and back touchkeys (for these two keys, the commit I made completely solve the related issues).

I'm doing the best to solve the problem related to phantom HOME key presses too, but give me some time...
[Galaxy S Plus I9001 Android Development] ktulu84:
Yeah, soft keys acting very well! Take your time, don't worry

inviato dal mio telefono usando il tasto invia
[Galaxy S Plus I9001 Android Development] Rhonin86:
Small report Test8 Kernel

Hi Christopher,

i decided to test your kernel and support your investigation. I have changed the standard settings a little bit. I use Lulzactive max. 1651 MHz min remains the same. I/O-Scheduler remains ROW. My base-ROM is CM 10 beta 3 with ARIESPART V 1.4.

And here is what i noticed so far:

* Homebutton is not that responsible as i'm acustomed to. Sometimes i have to push it more than twice...

* The battery drain is amazing :good: Standby 2G on BLN off ~ 0,8 % per hour

* Only problem so far: If BLN is activated via BLN-Control a permanent wakelock appears - and if deactivated the wakelock disappears.

It is also not possible to choose the option of BLN notification during deepsleep in the ariesparts. Maybe it is hardcoded ?

TempleRun2 works nearly flowless - only in the start animation there is a big lag but during the gameplay there is no noticeale lag.

If you need some logs please contact me and i will provide it to you.

Have a nice evening

Rhonin
[Galaxy S Plus I9001 Android Development] Pereira.Pedro:
Can I use your kernel with davidteri's 4.2.2 beta 2.3 ROM?
[Galaxy S Plus I9001 Android Development] Christopher83:
I think so
[Galaxy S Plus I9001 Android Development] ktulu84:
Just had 2 phantom home press with test 8 :(

inviato dal mio telefono usando il tasto invia
[Galaxy S Plus I9001 Android Development] ktulu84:
I think is an app fault, it uses a lot the network, i removed it. Anyway i'm quite happy with test 8 because i do not use a lot home key, so the important thing for me is that it does not wake the phone without my will

EDIT: i just noticed that battery stats reset at every reboot... why?

inviato dal mio telefono usando il tasto invia
[Galaxy S Plus I9001 Android Development] Christopher83:
Hi Ktulu84,

I have battery stats reset only after a full charge, in these days I rebooted my phone many times (for various builds testing) and my battery stats never reset (my stats are like a roller coaster :silly:).

EDIT:

I'm testing the new module...
[Galaxy S Plus I9001 Android Development] ktulu84:
Woooo i like your edit! :D

inviato dal mio telefono usando il tasto invia
[Galaxy S Plus I9001 Android Development] ktulu84:
Christopher, will you release a cm10.1 kernel with "phantom key" workaround? i'm trying Xistance rom but i really miss this kernel :D
[Galaxy S Plus I9001 Android Development] Christopher83:
Yes, I'm building it...
[Galaxy S Plus I9001 Android Development] anuseb89:
For me phantom google now didn't occur so far in cm10.1 xistance beta2.. Isnt that one we are seeing in cm10 ??
[Galaxy S Plus I9001 Android Development] Christopher83:
This is very rare, if compared to the other possible issues caused by phantom key presses, because it's caused by more than 1 interrupt with menu key down event code...

So, it could be simply disappeared for a while... You're using 2G mode?
[Galaxy S Plus I9001 Android Development] anuseb89:
Yes...only 2g option.. But was using the same settings in cm10 also and this thing was irritating especially after disconnecting a call..but still i can live with it..not a "bug"... :)
[Galaxy S Plus I9001 Android Development] davidteri91:
Christopher my version is the same like official ???

Inviato dal mio GT-I9001 con Tapatalk 2
[Galaxy S Plus I9001 Android Development] Christopher83:
Yes, why?
[Galaxy S Plus I9001 Android Development] davidteri91:
Nothing I just ask :)

Inviato dal mio GT-I9001 con Tapatalk 2
[Galaxy S Plus I9001 Android Development] anuseb89:
Omg..i couldnt even complete the changelog..this is smooth..good work and thanks..no issues so far..happy.. :)
[Galaxy S Plus I9001 Android Development] ktulu84:
Thanks to you for your work!
[Galaxy S Plus I9001 Android Development] sziggins:
Awesome kernel, Christopher!

Hi Christopher,

I was busy but I was testing (daily use) both of the test ones preferably the v.8 as smoother. I was waiting for your build and the module! As always a detailed post. I will install it right now and I will read your post more carefully later or tomorrow after some rest...

Thanks for this awesome kernel. If I have time I will post my feedback as soon as I can.
[Galaxy S Plus I9001 Android Development] dr.wtf:
with 05pkf i had home button problems again so im now using 05pkf_alt. home button works now again like it should. i'll report back if i have phantom presses.

are those files txt-files? im a little confused :confused:
[Galaxy S Plus I9001 Android Development] Christopher83:
If you mean those init.d script, yes they are txt files containing shell commands.

If you put one of them inside the /etc/init.d folder and you give it the right permissions, in particular the execution permissions, the contained commands will be executed during system startup (when you see the boot animation).
[Galaxy S Plus I9001 Android Development] sziggins:
I think dr.wtf means the extensions of the #214 files have .txt instead of #210 (that it doesn't) sorry both of them are saved as .txt files with stock browser! Anyway, I download the files from #214 i will check 'em today!

Thanks.

PS

Even if you mentioned in #210: "To change the filtering parameters: 1) By using a customized init.d script (the custom value will be always restored after a reboot, if you don't format the system partition)" just to remind it again!
[Galaxy S Plus I9001 Android Development] Christopher83:
I checked, they haven't the .txt extension...

Thanks!
[Galaxy S Plus I9001 Android Development] sziggins:
You are right, but via stock browser Christopher they saved as txt files. Just rename them if so.

Sorry for that, I edited the related post.
[Galaxy S Plus I9001 Android Development] Christopher83:
Ok, I updated all the instructions inside the second post of the first thread page and inside the new v1.6 release post, here it is the extract of the updated infos:

Thank you very much!
[Galaxy S Plus I9001 Android Development] ktulu84:
with 05pkf_alt i can confirm, till now no issues and the home button works well... i don't have phantom home press till now, but even if i may have one they will be reduced by the filter, and the touch keys works very well, with no phantom presses and no issues, i think that this kernel module deserves a big thanks to Christopher
[Galaxy S Plus I9001 Android Development] mati1414:
What is best combination scheduler and governor for this kernel :)? For smoothest work?
[Galaxy S Plus I9001 Android Development] Christopher83:
I suggest you:

- OnDemand governor and ROW I/O scheduler for balanced daily use and very good battery life

- Lulzactive/SmartAssV2/Hyper governors and SIO I/O scheduler for better performance and good battery life
[Galaxy S Plus I9001 Android Development] kouros17:
Great kernel once again! :good:
[Galaxy S Plus I9001 Android Development] mrjraider:
Geloso di tutti gli sviluppatori di Italia...

I dont know if Google has translated it correct..

Thanks for the kernel :)
[Galaxy S Plus I9001 Android Development] ktulu84:
I would like to share with you my experience with this kernel and this new module:

I use a slightly modified version of 05pkf_alt script to let the filter be less "permissive" but to reduce issues with home button (sometimes with the default setting, not the alt script, i have to press the home button two or more times, and sometimes it does not respond correctly) i setted the allowed irqs to 3 and home report wait to 10, it is a less permissive configuration than 4 and 10, but it has a good behaviour with the "real" press of home button. you may experience the phantom home press problem a couple of time in a day, but it is very rare. if you want you may customize your configuration and let us know
[Galaxy S Plus I9001 Android Development] Christopher83:
Thank you very much for all your help and best configuration searching!
[Galaxy S Plus I9001 Android Development] dr.wtf:
i had no problems at all with kpf_alt. neither phantom presses nor not reacting home button.
[Galaxy S Plus I9001 Android Development] Laurentyu1995:
sorry for misunderstanding... v1.6 for cm10.1 ( 4.2.2) is fully synced with xistance beta 2 ?? Thanks !
[Galaxy S Plus I9001 Android Development] Christopher83:
Yes, the kernel has been tested on CM 10 by me, on CM 10.1 Beta 2 by me, KTulu84 and Anuseb89, on Custom CM 10.1 Beta 3 by Davidteri91.
[Galaxy S Plus I9001 Android Development] ktulu84:
I had a couple of phantom presses, no problem with reaction, but I would like to test a bit this module to find how far we can get with this

inviato dal mio telefono usando il tasto invia
[Galaxy S Plus I9001 Android Development] anuseb89:
Yes..running very well on xistance beta2..
[Galaxy S Plus I9001 Android Development] Christopher83:
K^Kernel 3.0.74 v1.7 for JB 4.1.2 and JB 4.2.2 (up to 390MB of free RAM)

Hi guys,

I released the new v1.7 kernel builds:

- Kernel 3.0.74
- Sources synched with jb-3.0 repos of Ivendor and Arco68 for JB-4.1.2 (CM 10) kernel builds
- Sources synched with cm-10.1 repo of Arco68 for JB 4.2.2 (CM 10.1) kernel builds
- Built with my latest custom Linaro 4.7.3-2013.04 toolchain optimized for Cortex-A8
- Phantom key presses filter, changed the default home_allowed_irqs parameter from 2 to 4
- Disabled Gentle Fair Sleepers for better UI performance
- Lowered touchscreen voltage
- Added BrazilianWax CPU governor
- Various changes and updates to ARM RWSEM (read/write semaphore) algorithm
- New available memory configuration with 390MB of free RAM (camera works, video recording works only in 480p mode)

A big thanks to Ktulu84 for his support in testing!
[Galaxy S Plus I9001 Android Development] jbezerra:
hi, i have a doubt, in 370Mb version video 720p works?

what the difference between the version of 360MB and 370MB?
[Galaxy S Plus I9001 Android Development] Christopher83:
Yes, it works with 360MB and 370MB versions. Inside the OP you may find the comparative table of all the available memory configurations.
[Galaxy S Plus I9001 Android Development] jbezerra:
thanks! now i will test 370MB version on Ehndroix III last build ;)

Christopher why with your kernel i can't turn seeder on?
[Galaxy S Plus I9001 Android Development] ktulu84:
tested 390 mb free exUV version on Xistance beta 2, tested some games like temple run 2 and subway surfers and they works very well, tested real racing 3 and it lags a bit, but it is a very heavy game.. all tests with no OC
[Galaxy S Plus I9001 Android Development] muhammadnajmi96:
Does it compatible with CM10.1 Beta 4 by Davidteri ? Because on the latest updates , many various change has been make by David
[Galaxy S Plus I9001 Android Development] Christopher83:
Yes, my sources are synched with latest changes made by Arco on CM 10.1 kernel branch.
[Galaxy S Plus I9001 Android Development] jbezerra:
why i can't turn on seeder with your kernel?
[Galaxy S Plus I9001 Android Development] Christopher83:
I don't use those tweaks, I don't know why, is that happening only with my kernel?

Could you post me the logs after an activation attempt?
[Galaxy S Plus I9001 Android Development] Christopher83:
Delete
[Galaxy S Plus I9001 Android Development] jbezerra:
yes this only happens with your kernel...

how i can save logs?
[Galaxy S Plus I9001 Android Development] Christopher83:
- Try to activate Seeder.

- Open Terminal Emulator and run these commands

su
logcat -v time -d > /sdcard/logcat.txt
dmesg > /sdcard/dmesg.txt

- Open the file explorer, go inside /sdcard folder and post me the two saved files (logcat.txt and dmesg.txt)
[Galaxy S Plus I9001 Android Development] Laurentyu1995:
this kernel is AMAZING. i'm ruuning it from almost 2-3 hours and no ui lag, no lag in temple run 2,very good battery life with xistance's cm10.1 beta 2. Thanks !
[Galaxy S Plus I9001 Android Development] jbezerra:
there is 2 files in attachment, logcat i have to make rar file because is too big to attach on forum...
[Galaxy S Plus I9001 Android Development] kouros17:
Excellent battery life and the new kernel is amazing to all!
[Galaxy S Plus I9001 Android Development] sziggins:
init.d keeps the user script for the phantom key module

Hi Christopher,

Just installed the v1.7 for JB 4.1.2 360 EXUV.

I was testing, with the latest bbs v.1.13.4.0, your previous kernel against the stock one from ivendor's rc1 as I was having some partial wakelocks (Event Log Service-Google Services) more than usual with your kernel. Anyway after some hours of testing both of them I think it doesn't happen because of your kernel. I could post some screenshots but i prefer to test the new one.

I noticed as I work with my own values for home_allowed_irqs parameter = 3 (4 is not bad too) and home_report_wait = 14 or 13 as smoothest for my phone that the installation of a kernel doesn't affect init.d so it leaves the user’s script for your module untouched. Then there will be no affect with your default values but that is ok for users that already know it!

Thanks again for your great effort.
[Galaxy S Plus I9001 Android Development] Christopher83:
I sent you a PM...

Thanks!
[Galaxy S Plus I9001 Android Development] EB20XY:
very smooth.

nice.
[Galaxy S Plus I9001 Android Development] ktulu84:
confirm that it works very well with CM10.1 by Davidteri
[Galaxy S Plus I9001 Android Development] xtremesystems:
1.6 was perfect kernel. so if Chrisy didn't broke sth 1.7 must be very good

Wysyłane z mojego GT-I9001 za pomocą Tapatalk 2
[Galaxy S Plus I9001 Android Development] Rhonin86:
Event Log Service-Google Services

The above mentioned problems with the partial wakelocks (i. e. Event Log Service Google) occurs also with other kernels. And the interesting fact about it... the total wake time is smaller than the total time of the event log service ????

Can you confirm this ? Though the deepsleep time is pretty good and the akku drain corresponds with the deepsleep time - so i assume that the partial Wakelocks are some kind of weired :eek:

[/OffTopic]

Cheers

Rhonin
[Galaxy S Plus I9001 Android Development] magicw:
aaah, finally we have somenone back who actively is maintaining a highmem Kernel with 390MB free of RAM after biagio moved to SII. Great work Christopher. I really was missing such variant eagerly. Somehow I feel my fon runs best with such kind of kernel.
[Galaxy S Plus I9001 Android Development] spaazm:
+ 1

I flashed it this morning. Didn't have much time to test it, because I was at work. But I tried a bit of everything and it's really smooth. No lags whatsoever. Tried Real Racing 3 as well and it's running flawlessly.

I couldn't find any unknown bugs.

By the way I'm using your 4.2.2 exUV 390 MB version.

Check the attached screenshot concerning battery life. Although I didn't stress my device to much today I find it quite impressive.

Thank you for your great work!

EDIT: Home button worked better for me in 1.6. It was not that responsive as it is now, but it was more reliable. In 1.7 it happens to me from time to time that I keep it pressed but system reads it as a double press. It's hard sometimes to get to recent tasks. Instead I land at my home screen. It didn't happen to me in 1.6, although I had to keep it pressed a bit longer then now to get a response. I don't get any phantom presses in both versions by the way.

⇜ SGS+ ↭ SlimBean 4.2.2 build 3 ↭ K^Kernel JB V1.6 OC exUV 370MB ↭ InfinityEngine V2.1 ⇝