yashsingh1/xdaforums huggingface dataset:
[Galaxy S Plus I9001 Android Development] sziggins:
Hi Rhonin,

I don't think it is OT as long as it occurs in other kernels. I am posting the screenshots I mentioned before. The weird to me is not the total wake time but the counts occurred for the total time of google services and yes I agree the deep sleep works fine. That is why I don't care as much.

The screenshots are from 1h testing Ivendor's, 1h10' and 12h testing Christopher's. As you can see google services didn't appear in 1h10' for Christopher's and 1h for Ivendor's but for 12h for Christopher’s including many hours in airplane mode (not in others 2)...

Anyway maybe it isn't so important and maybe it is OT...

But with Christopher's Kernel my phone is working great for daily use and that is more important to me. And since the module for phantom key makes it more customizable as we have so many different phones (hardware point of view) I choose Christopher’s kernel.

I will try to test the 1.7 this weekend but my work makes me to go out and have some beers too (as Ivendor did for his graduate too)! So my tests will be again on daily use of the phone…

PS

1.76 in photos’ names mean v.1.6. Sorry for the bad naming…
[Galaxy S Plus I9001 Android Development] Rhonin86:
Hi sziggins,

that might be a good hint and i've got the notion before that the flightmode is a possible reason for the enormous counts of partial wakelocks. I've reported this behaviour in charmonix's BBS Thread (here)

Since this night i have the K^Kernel 390MB exuv in usage and report later, how it performs in daily usage. For now:

* no phantom keypress appears

* minimum battery drain

* temple run 2 just a small lag during loading - i think android is freeing RAM in that period ? - though it is fluid - changed governor to lulzactive

* Sat Fix immidiately :good:

Cheers

Rhonin
[Galaxy S Plus I9001 Android Development] Pilone92:
Watch rom are you using to play real racing3?
[Galaxy S Plus I9001 Android Development] Christopher83:
Thank you for your feedback!

How did you enable the phantom HOME key presses filtering?

Have you changed the init.d script?

Please, could you give a try with the 05pkf_alt script?
[Galaxy S Plus I9001 Android Development] Christopher83:
If the signature has been updated recently, it seems that Spaazm is using SlimBean 4.2.2...
[Galaxy S Plus I9001 Android Development] spaazm:
I have not changed any scripts in init.d. Except that I've added Infinity Engine script. But it's the same I've added to 1.6 and it didn't interfere with home button behavior.

Now that you've asked how I enabled phantom presses filtering I realized I didn't do anything. Might be my mistake that didn't read something, but I was assuming its already enabled on default.

I will change it with the script you mentioned, I'm at work till midnight, so I report very late.

Exactly. Build 3 to be more specific.

⇜ SGS+ ↭ SlimBean 4.2.2 build 3 ↭ K^Kernel JB V1.7 OC exUV 390MB ↭ InfinityEngine V2.1 ⇝
[Galaxy S Plus I9001 Android Development] Christopher83:
Yes, Infinity Engine shouldn't interfere with the new module...

If you used the 05pkf script (2 allowed key press irqs in 12 ms), since it is more restrictive, when there is a phantom key presses storm (in places where the signal is bad or too low), you could notice that a valid key press could be considered as a phantom key press because your key press irq was preceded or followed by one or more phantom key press irqs.

Instead, if you'll use the 05pkf_alt script (4 allowed key press irqs in 10 ms), being more permissive, you shouldn't have such problems.

Let me know.

Good work!
[Galaxy S Plus I9001 Android Development] magicw:
hey Christopher,

I have applied your 390MB 4.1.2 Kernel V1.7 on SlimBean.

Since then I experience that I cannot reactivate from screenlock after a while. Apparently the Home-button seems to be blocked as screen stays black and I only can solve this by hard reset.

Edit: PIN-code locking is activated
[Galaxy S Plus I9001 Android Development] oscarmalo:
my phone say "bad file" and installation aborted... 4.2.2 1.7 390MB OC ExUV

Enviado desde mi GT-I9001 usando Tapatalk 2
[Galaxy S Plus I9001 Android Development] ktulu84:
and power button didn't worked to unlock? is exuv version?

try to download again the file
[Galaxy S Plus I9001 Android Development] Christopher83:
Try to use the 05pkf_alt script instead of 05pkf script

Why did you use the hard reset? It's not necessary, you could always use the power button to unlock the phone.

Try to download the file again, which recovery are you using?
[Galaxy S Plus I9001 Android Development] magicw:
Yes. Exuv. None oft the buttons forced wakeup from lock. I held power button more than 10s then fone rebooted. That was the only solution. I did not pull battery.

Gesendet von meinem GT-I9001 mit Tapatalk 2
[Galaxy S Plus I9001 Android Development] oscarmalo:
CWMRecovery 6.0.2.8... with the external sd if install... but with internal sd say "bad file"
[Galaxy S Plus I9001 Android Development] ktulu84:
power button must work even if the filter locks your home button, other exuv versions worked for you?
[Galaxy S Plus I9001 Android Development] Christopher83:
Ok, this is not caused by the phantom key presses filter, give a try with the UV version, maybe your phone doesn't support the extreme undervolting...
[Galaxy S Plus I9001 Android Development] Christopher83:
It seems to be a recovery problem, if that was a bad file, then it wouldn't install from any sd...
[Galaxy S Plus I9001 Android Development] magicw:
Aye, I'll try and report back in a couple of hours. But would be the first ExUV Kernel with such a problem.
[Galaxy S Plus I9001 Android Development] Christopher83:
Which is your previous used kernel?

Have you overclocked the cpu?

Note:

The kernel has CPU voltage control VDD sys interface (you may find more details for this feature here), so you have the possibility to customize the cpu frequency voltages...

If you overclocked the cpu, maybe your phone didn't support the voltages (extremely undervolted) of the overclocked frequencies, so you can use a partially different exuv configuration, with the voltages of the overclocked frequencies increased a bit (25mV from 1516MHz to 1708Mhz, 50mV from 1766MHz to 1824MHz):

- Download the script 01vdd_levels_alt_exuv

- If the file has been saved with .txt extension (stock browser), rename it by removing the .txt extension

- Copy the new file inside /etc/init.d

- Give the rwxr-xr-x permissions to the file (read, write, execution for owner, read and execution for group users, read and execution for others)

- Reboot

This suggestion could be applied with every kernel version, no matter if it is exuv or uv, the script will simply replace the default voltage values of the currently used kernel version with the others defined inside the script...

When you'd like to go back to the default values, you may simply delete/move the script from /etc/init.d or remove the execute permissions.

Here you can find all the ready to use 01vdd_levels* scripts:

Scripts
[Galaxy S Plus I9001 Android Development] magicw:
Well I used your V1.6 ExUV 370MB prior to updating to V1.7

No, I don't OC, just keeping MAX 1401MHz. But I set MIN to 192MHz usually.

Yeah, I will have a look into that script also - sounds interesting and maybe really helpful for such issues.
[Galaxy S Plus I9001 Android Development] sziggins:
Hey Rhonin,

I am uploading my log files (unix format..) here and I am closing this OT. Nice you posted it in charmonix's thread and I will follow it there.

Just to mention that I had this weird behavior even if I never set (today after charge) my phone in air plane mode but I saw 2 counts of it after I turn on/off the Wi-Fi. An idea is that the module doesn't stop when Wi-Fi is turn off but I am not sure about this.

Anyway, I will agree with you about the sat fix(!), phantom keypress(...) and minimum battery drain.

Cheers to everyone is following this thread!

PS

I am posting chamonix's answer to Rhonin86's mentioned post, both on 7th April 2013.
[Galaxy S Plus I9001 Android Development] drnjstj:
Hi Christopher,

Thank you so much for the v1.7 of your kernel, really the best for 4.2.2.

Tried your kernel before and it wasn't the best then, but now it speeds up the phone a lot!

I kept the settings default, but what would be the best for battery consumption?

Interactive with sio or you recommend something else?

Thanks in advance!
[Galaxy S Plus I9001 Android Development] Christopher83:
The best combination for better battery consumption (but not so good for performance) is surely Conservative cpu governor and ROW or SIO I/O schedulers.
[Galaxy S Plus I9001 Android Development] ktulu84:
Interactive is a good choice too, and has good performance!

inviato dal mio telefono usando il tasto invia
[Galaxy S Plus I9001 Android Development] spaazm:
I've installed the 05pkf_alt script and now my Home button responds like it used to with 1.6 version of this kernel. I have to keep it for a bit longer, but I don't have any phantom double presses.

Thank you for your help Christopher83!

Conservative would be the best choice for longer battery life as it is designed to keep your device at min frequency as long as it's possible, considering CPU load.

It's hard to measure schedulers impact on the battery life, but ROW is designed for mobile devices and favors read over write. It should be the best choice by its design.

SIO and VR are worth looking at as well.

+1

The best possible performance you can get out of your device is when you're using Performance. It locks the phone at max frequency when it's not idle. Unfortunately it has a noticeable impact on your battery life.

My choice is SmartassV2 with ROW. Used to be VR, but I changed my mind after doing some research.

Lulzactives design is appealing to me, but it has many changeable parameters, so it's performance change with every kernel and it's developers view at it. It's hard for me to test, because I tend to change kernels quite often.

I would love however to test InteliDemand governor some day.

Christopher83 is it possible to include it in some later release of your magnificent kernel?

⇜ SGS+ ↭ SlimBean 4.2.2 build 3 ↭ K^Kernel JB V1.7 OC exUV 390MB ↭ InfinityEngine V2.1 ⇝
[Galaxy S Plus I9001 Android Development] ktulu84:
i know, i only said that interactive is a good governor because it has good balance between battery and performance :D i use smartassv2 because it seems to me it a bit more responsive
[Galaxy S Plus I9001 Android Development] spaazm:
Actually Interactive works much like Ondemand, but it scales to max frequency faster and is allowed to stay at it longer in order to achieve more fluid experience. There's also an idea behind it that when a user switches on his device, he's going to run couple of apps. In other words he's going to use it for more then just one thing. That way tasks tend to be finished faster and your device is able to go into sleep sooner. The effect is however negligible with a more aggressive scaling. Overall it's more responsive then Ondemand while having almost the same high demand for battery power.

SmartassV2 or a finely tuned Luzactive seem to be the best compromise between performance and power consumption. At least to my little knowledge.

Intelidemand should have even better performance then both of them and similar battery needs. That's why I'd love to test it personally some day.

There's a good guide about governors at this link: http://xdaforums.com/showthread.php?p=28647926

Sorry for this OT Christopher83.

Back to kernel. I've managed to discharge my device to a point that it switched off. After charging it for a while and switching on again I've noticed that my Home button is more responsive. It's not placebo, because when I keep it pressed I reach recent task in about half a second. Before that forced restart I needed like 1 or even 1,5 seconds. It is very noticeable change. At the same time I don't have any phantom double presses. I did restart my phone after installing 05pkf_alt script, so I'm a bit confused, yet happy. :)

⇜ SGS+ ↭ SlimBean 4.2.2 build 3 ↭ K^Kernel JB V1.7 OC exUV 390MB ↭ InfinityEngine V2.1 ⇝
[Galaxy S Plus I9001 Android Development] dr.wtf:
i guess its actually because you restarted your phone after a long time. not because you discharged it
[Galaxy S Plus I9001 Android Development] magicw:
hm, strange. I have problems with my external sdcard since 3.0.74 Kernels have been released. I tried ExUVs and OCs and 370 and 390MB versions. Mostly sdcard will not be recognized after booting. Maybe due to low battery level? But also with plugged in USB cable it did not recognize.

Same with new 3.7 Kernel from educk and RC3 from biagio :silly:

Withdrawing the sdcard and replug it during operation will bring it back again.

Going back on V1.6 revision there is no issue with it after reboot.
[Galaxy S Plus I9001 Android Development] Christopher83:
Yes, it's a good governor and well mantained by Faux123, the latest version needs more "invasive" adaptions to be used on our device, instead older version could be added with some changes... I'll take a look...

This is also a good guide:

[REF][TWEAKS] Kernel Governors, Modules, I/O Schedulers, CPU Tweaks, AIO App Configs

If you keep your phone for some days without rebooting it or shutdowning it, and never flush the recently used app list (the icon on top left), it'll take longer to create that list when you long press the HOME button...
[Galaxy S Plus I9001 Android Development] Christopher83:
Strange, I never experienced those issues.

Maybe, it could be caused by the latest squashed update from 3.0.73 to 3.0.74 kernel version, let's see with the next one...
[Galaxy S Plus I9001 Android Development] Stefano187:
Finally with your new module for phantom home key I can use my phone without scream to it again. I found the post of Electric Bill some time ago, but I never tried because soldering is not my best, but with your kernel and with restricted parameters in init.d script I am really proud of my i9001 again. Thank you very much for your work Christopher.

Grazie davvero.

Stefano
[Galaxy S Plus I9001 Android Development] Christopher83:
Thanks to all of you, it's really a pleasure to be useful in some way...

:highfive:
[Galaxy S Plus I9001 Android Development] Pilone92:
this kernel is the best for 4.2.2 thanks..now i test adaptive + sio. what are the best setting for performance in gaming for you? and not tell me performance governor:silly:
[Galaxy S Plus I9001 Android Development] Christopher83:
I suggest you to try:

- Lulzactive

- SmartAssV2

- Hyper

- Interactive
[Galaxy S Plus I9001 Android Development] spaazm:
Delete please.

Sorry you've wasted your thanks for my mistake.
[Galaxy S Plus I9001 Android Development] spaazm:
I don't really have any personal life, so my phone is sort of a substitute. One of them actually, but it's irreverent.

You're not only useful in some way. You're one of the reasons I can brag off with my phone and my life gets better. You're one of the people that work hard and I can benefit.

Just wanted to thank you. :)

EDIT: To make this post not completely off topic I will say that I'm using different ROMs and kernels for about a year on this device and I've always admired yours. They are overthougt, well documented, always tested before release and usually bring much needed improvements. You seem to set standards for other developers for a long time in SGS+ department. Not that I'm trying to say that you're the best. Don't get me wrong, it just wouldn't be fair for all of us if you'd rest on your achievements already. ;)

There's as well a number of other developers making kernels on this device and they got my credits because I've used their work many times.

While using your 1.7 kernel with 05pkf_alt script for a while I've recently noticed that when I press Home button only once (just tap it) system reads it as I'd keep it pressed. It happens rarely, but it does. Sometimes when want to get to my hone screen I end up almost instantly at recent tasks.

I guess I will try tomorrow provided alternatives to this script and see if I can find a golden balance.

EDIT 2: Sorry for double posting. I don't really know I have managed to do it. My previous post should be deleted if possible.

⇜ SGS+ ↭ SlimBean 4.2.2 build 3 ↭ K^Kernel JB V1.7 OC exUV 390MB ↭ InfinityEngine V2.1 ⇝
[Galaxy S Plus I9001 Android Development] Christopher83:
Thank you very much!

Try to increase the home_allowed_irqs parameter from 4 to 5 simply by editing the file. Check also, after saving it, that it still has the correct permissions and the editor didn't create any backup file (if so, the backup file should be removed).
[Galaxy S Plus I9001 Android Development] xtremesystems:
after using gps on ivendors cm10 relese 1 with your kernet 1.6 and 1.7 phone dont want go into deep sleep
[Galaxy S Plus I9001 Android Development] Christopher83:
This is a well known rom/kernel issue that other users are facing too using stock or another kernel...
[Galaxy S Plus I9001 Android Development] xtremesystems:
know that.

is there any solution?
[Galaxy S Plus I9001 Android Development] Christopher83:
At the moment no, but a reboot fixes the issue, I know, this is only a workaround for who is affected by this issue (I never experienced this problem on my device)...
[Galaxy S Plus I9001 Android Development] seba2121:
This kernel have frandom enabled?
[Galaxy S Plus I9001 Android Development] Christopher83:
Yes,

if you take a look at the second post on the first page you could see these infos:
[Galaxy S Plus I9001 Android Development] seba2121:
Thanks frandom work:)
[Galaxy S Plus I9001 Android Development] ktulu84:
I don't know why people complain about battery drain in CM10.1, but with your kernel i'm having something like 25 hours of battery, wifi/2g always on (switch to 3g if it needed) auto sync always on, some messages, a bit of whatsapp and playing some songs... i think it's awesome!! (25 hours it's a projection of course, but 32% in 8h it's indeed a great battery)
[Galaxy S Plus I9001 Android Development] qurshot:
Wifi battery drain is amazing.

2 hours of wifi-on standby and only %1 consumption.

exUv 390mb 1.7

245-1613 hyper/row

daviteri cm10.1 v4.2 beta
[Galaxy S Plus I9001 Android Development] Stefano187:
Christopher I have a problem. I'm using your kernel and I'm facing a lot of lags with my phone. Even with Performance governor at 1824Mhz... Apps don't respond or they take a lot of time before they start and they work very slowly. I've already tried wipes and fix permissions, but after some time of usage lags start again. Is it only a problem of mine? Sorry for this post.

Regards

Stefano
[Galaxy S Plus I9001 Android Development] Pilone92:
what is your rom?

with AOKP 4.2.2 and k 1.7 390mb works good and UI is very fast..i used hyper/row 245-1612 and also games as temple run work good :fingers-crossed:
[Galaxy S Plus I9001 Android Development] Christopher83:
I'm sorry Stefano,

could you tell me on which rom and which is the kernel version you installed?
[Galaxy S Plus I9001 Android Development] Stefano187:
I'm really sorry I forgot to write these pieces of information... I'm using CM10 RC1 by ivendor and k^kernel 1.7 UC/exUV 360MB...

Thank you for your support
[Galaxy S Plus I9001 Android Development] Christopher83:
That was my previous preferred configuration (now I'm on ICS and I'm testing the SOD fix), without OC and I never experienced such kind of lags.

Have you installed particular tweaks or new apps before noticing these issues?

Thanks

Edit:

Could you give a try to 370MB or 390MB versions?
[Galaxy S Plus I9001 Android Development] Stefano187:
No I didn't install new apps. I'll try 370 version and I'll report. Thank you so much Christopher :)

Edit: with 360MB version I have more or less 100MB of free RAM
[Galaxy S Plus I9001 Android Development] Christopher83:
Are you in a place with bad signal or are you traveling?

The cpu is a single core, and with bad signal/cell change it may be busy with the RIL and related processes.

Thank you too!
[Galaxy S Plus I9001 Android Development] Stefano187:
No, signal is pretty good (on edge). I tried other kernels and they don't give problems like mine, but I really need your phantom home key module because without it my phone is really unusable... Thank you again Chris
[Galaxy S Plus I9001 Android Development] spaazm:
I've done it yesterday. I didn't have much time to test it then and report, because I have some really busy days at work recently.

After first reboot I've started to notice some misbehavior of the Home button. Sometimes when I press it once (just tap it) it's read as a double press. I want to get to my home screen but I end up at apps list. My launcher is set so if it's on home screen and I press Home button it shows my apps list. It happens rapidly but I can see that first I get to home screen and then instantly to apps list.

On the other hand it works fine when I keep the Home button pressed. It always gets me to recent tasks list. It happens also a bit faster then it was when home_allowed_irqs was set to 4.

To remind you, when it was on 4 my Home button would read a long press as a double press from time to time.

I've read your post about this parameter, but can't really make use of it. I don't get a clue how to relate it to my situation. If you don't mind the trouble I'd appreciate your help. Again. :)

⇜ SGS+ ↭ SlimBean 4.2.2 build 3 ↭ K^Kernel JB V1.7 OC exUV 390MB ↭ InfinityEngine V2.1 ⇝
[Galaxy S Plus I9001 Android Development] ktulu84:
You can set two parameters, the home allowed IRQ and the home report wait. higher irq will produce more phantom presses not to be filtered but home button is more responsive, lower report wait the same. The opposite will produce more phantom presses to be filtered, but home key may not respond well sometime

inviato dal mio telefono usando il tasto invia
[Galaxy S Plus I9001 Android Development] spaazm:
From what you've said I'm just guessing that my golden middle is somewhere between 4 and 5. Because I get opposite effects with both. I've described it before.

Am I right?

⇜ SGS+ ↭ SlimBean 4.2.2 build 3 ↭ K^Kernel JB V1.7 OC exUV 390MB ↭ InfinityEngine V2.1 ⇝
[Galaxy S Plus I9001 Android Development] ktulu84:
The double press is not software related, it happens even on recovery, its our home button that is a bit faulty... BTW if you want something between 4 and 5 you can try to set 4 irqs and lower a bit the report wait, or set 5 irqs and higher a bit the report wait

inviato dal mio telefono usando il tasto invia
[Galaxy S Plus I9001 Android Development] Christopher83:
Yes, probably the best configuration for [MENTION=4530487]spaazm[/MENTION] is a lower report wait with a higher allowed irqs value, for example:

- home_allowed_irqs = 5

- home_report_wait = 8

When the phone starts, after inserting the pin, it connects to the network and during this connection time, if you suffered of phantom key presses, many bad interrupts induced by antenna interference may be sent to the pmic kernel module to be managed (on my I9001 more than 100 in 12 ms), so a valid home key press could be ignored during this time if you use a restrictive filtering...

Thank you
[Galaxy S Plus I9001 Android Development] Rhonin86:
Short Report

Hi Christopher,

i have tested your kernel now for 3 days and i must admit that it works like a charme :D

No obvious problems so far. Battery drain over night in flight mode ~ 0,1 % per hour / Standby only 2G minimal usage ~ 0,4 %

Phantom Key press didn't appear - as already mentioned GPS fix is fast as lightning :D I only encountered one permanent Wakelock caused by GPS - I know it is rom-related ;) - but i could solve it by simply switch GPS ON/OFF via toggle

The UI is superfluid - i just changed governor to lulzactive and increased the max. frequency to 1651 MHz

BTW another question a little offtopic maybe - Is it possible to watch such misbehaving wakelocks (GPS or somtimes audio_out2) in that way that a notification appears, if it becomes permanent ?

Keep on your really good work

Rhonin