yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Original Android Development] ioucorsa:
I have to report also that the play store swipe stopped working few hours ago and rebooted for another reason and it worked again(my first think was that the store updated and stopped having this function). Then i thought that it was something random but some moments ago realized that it is not working again... It is not a problem for me but i thought i should mention it...

Thanks again [MENTION=3750240]stratosk[/MENTION] for all your work!
[Nexus 4 Original Android Development] manpildo:
That's why I asked, now I understand ;)
[Nexus 4 Original Android Development] stratosk:
Hello,

I'm sorry, I can't find something wrong in kmesg.

I don't know how LMT works and what is the possible conflict with double tap to wake.

Please try to get a logcat (enable the logger option in Semaphore Manager).

Maybe in the future. :)

I don't think it's related with double tap to wake. Could you please try previous Semaphore version?

Hi,

In most cases more battery means less performance.

I would start with min online core to 1 and an up threshold 50-60. Please also try less aggresive the touch tunables in ondemand.

Could you please check with the top command about the running processes (if you will have the issue again):

top -m 10

Thinking loudly, did you enable touch accuracy filter?

Because I can't think something else. :)
[Nexus 4 Original Android Development] Giox96:
Hey guys, have you noticed that version 2.0.0 is less smooth than the 1.8.8?
[Nexus 4 Original Android Development] svnhvn:
Excuse me?
[Nexus 4 Original Android Development] ihancioglu:
I think I found something interesting,

I am using Dynamic Notifications, that application is waking up device with proximity sensor. I mean, Screen is wake up when sensor is far and going sleep when sensor is near which similar vibration changes with your SAI.

I tried the wake up device with proximity sensor - while device does not wake with double tap (problematic period). Proximity sensor also does not wake the device in that period.

I think the problem is not with touch recognition , gesture or sensivity, because screen does not wake with proximity as well..
[Nexus 4 Original Android Development] "D":
New Semaphore Power in 2014

@stratosk

Hello my Friend,

Thanks for the new Kernel Version in 2014 ;) this Version is better then the others before. (Joke) :angel: For me and my N4 with Stock 4.4.2 it is perfect :D

Screenshot >>> Semaphore Kernel 2.0.0

Sorry, my english isn't perfect.

best regards from Germany.
[Nexus 4 Original Android Development] ruicc:
Well, double tap to wake is working too good in here...i only need to tap once: ...:eek:

My Nexus is too sensitive....or i'm missing something.
[Nexus 4 Original Android Development] snak3ater:
Something is wrong then..It needs 2 taps to wake up the screen :silly:
[Nexus 4 Original Android Development] stratosk:
Do you use touchwake or double tap to wake?
[Nexus 4 Original Android Development] apis10:
Yeap. Definitely something wrong.
[Nexus 4 Original Android Development] ioucorsa:
[MENTION=3750240]stratosk[/MENTION] no i don't have enabled accuracy and i have not changed something from previous versions and that's why i mentioned it. It works as it should generally just only this little bug i noticed.
[Nexus 4 Original Android Development] kingofcomedy:
I have already fixed it (just disabled and enabled DT2W). :)
[Nexus 4 Original Android Development] schmitzekater:
Hi [MENTION=3750240]stratosk[/MENTION]

I'm sorry, but although logger option is enabled the terminal says it's not possible.

Any ideas? I remember someone having the same issue.

Today LMT quit working again two times while DT2W was enabled. One time the soft buttons didn't react as well. Strange issue.

View attachment 2507264

Gesendet von meinem Nexus 4 mit Tapatalk
[Nexus 4 Original Android Development] andr0id_xda:
Just got an update for semaphore manager i see double tap option to select is there! Thanks for your work i always used your kernel !
[Nexus 4 Original Android Development] stratosk:
Hi again.

Did you reboot your device after enabling the logger option?

Obviously there is a conflict with this app. I will try to install it and investigate it when I'll find some free time.
[Nexus 4 Original Android Development] schmitzekater:
Well the option was already enabled. I will try disable and enable again and then reboot.

Thanks for your time and assistance. :thumbup:

Edit: logcat is running, let's see if it will happen again.

Gesendet von meinem ASUS Transformer Pad TF700T mit Tapatalk
[Nexus 4 Original Android Development] emanuele1986:
Confirm my post, double tap sometimes works sometimes not works on my phone
[Nexus 4 Original Android Development] ihancioglu:
Hi [MENTION=3750240]stratosk[/MENTION], I found a way to get stuck double tap function.

Make a slight pressure on the middle of the screen with finger and make circle gesture or swipe right-left. After that screen does not response to double tap. This happens randomly while get off the device from the pocket. Just try it and let me know.

Thanks.
[Nexus 4 Original Android Development] ioucorsa:
I want to report that after night sleep (this means many hours of deep sleep) doubletap stopped working but if you wake up the device with power button it works afterwards as it should. It happenned again yesterday but i wanted to doublechecked before i report it. Again no problem for me but feedback i think is always good!
[Nexus 4 Original Android Development] stratosk:
Thanks for your reports.

I will rework the touch algorithm detection for next version.
[Nexus 4 Original Android Development] ZioGTS:
I also found a weird thing related to double tap. I turned off my phone and charged it fully during the night. After waking it up for the first time, the activity indicator in battery stats screen works just fine, but it stops detecting activity after waking up the phone with a double tap. I was able to repeat the behavior, so it may be a bug:

As you can see, activity is not detected even when I'm using the phone and screen is on.

Inviato dal mio Nexus 4 utilizzando Tapatalk
[Nexus 4 Original Android Development] ihancioglu:
Touch screen stopped working a few minutes ago. I was outside. Unfortunately I could not get logcat. I just do reset but there is no last_kmsg :( i don't provide a logs. Sorry..
[Nexus 4 Original Android Development] manpildo:
Again, spoke too soon. Today, after night, it stopped responding properly. So conclusion is that accuracy filter is no solution.
[Nexus 4 Original Android Development] ruicc:
Hi, dear friend, thanks for your reply.

I wasn't using touchwake, just D2TW.

I think it was some conflict between kernels, or something like that.

Now i cleaned up all in the kernel, install Semaphore, and everything went fine.

I was using Trickster Mod to control the kernel and i switch to Semaphore Manager too.

By the way, can i use Trickster Mod to control your kernel?
[Nexus 4 Original Android Development] stratosk:
I don't use Trickster so I can't say if there is any issue.

But many people use it, so I guess you can use it too.
[Nexus 4 Original Android Development] schmitzekater:
Wow, congrats to 5555 posts, nice number. ;)

BTW, the issue with LMT did not happen again since I turned on logging. Stupid mess, hopefully it stays this way. ;)
[Nexus 4 Original Android Development] manjee:
Lmt stopped working here too. I spoke too soon.
[Nexus 4 Original Android Development] ruicc:
Once again, thanks for your reply.

I'll try semaphore using Trickster, i'll report ASAP.

Keep your good work.
[Nexus 4 Original Android Development] relaxingrey:
How to enable the dt2w via terminal emulator? ,And what the different between enable it via semaphore manager?

Sent from my Nexus 4
[Nexus 4 Original Android Development] CerB:
I solved the problem by dirty flashing my rom, and reboot and then install kernel

Sendt fra min Nexus 4 med Tapatalk2
[Nexus 4 Original Android Development] capoooro:
A strange issue with vibrating when a call income. The first is strong then it go to loose intensity. I think is kernel related because with Franco is normal. the ROM is the same (ras- rulez :) )
[Nexus 4 Original Android Development] ph0b0z:
So i just found out about Semaphore for my N4 (also used it quite frequently on my i9000) and i was wondering if you will be able and/or motivated to do something about the bad audio / the audio overdrive when recording video in loud environments (or use faux' patches that are concerning this matter)?

Anyways thanks for your work and i'll give it a try in the next few days! :)
[Nexus 4 Original Android Development] stratosk:
Please check vibrator settings in SAI options in Semaphore Manager: proximity near, proximity far.

Not in my plans yet. Maybe in the future. :)
[Nexus 4 Original Android Development] capoooro:
It's 0 for both.

P.s.

Una faccia una razza

:D
[Nexus 4 Original Android Development] stratosk:
Do you have SAI service enabled? Please try to set both on the same value.
[Nexus 4 Original Android Development] capoooro:
Yes it's enable. Which value I have to choose? Now they are both 0.

Tnx
[Nexus 4 Original Android Development] stratosk:
Choose a value between 0 (no vibrations) and 100 (maximum vibration).

These settings are for vibration when proximity sensor is near or far when phone is ringing.
[Nexus 4 Original Android Development] capoooro:
OK they are both the same... But they have different intensity. Of course is really a small bug for a superb kernel. Tnx again for your work
[Nexus 4 Original Android Development] stratosk:
What about the vibrator setting in Tweaks tab? Do you have the same value for this?
[Nexus 4 Original Android Development] capoooro:
OK found: it's only a problem of refresh of values, I mean: It normally show value 0 if you don't change anything. After clicking to change valid, it show the right percentage of vibration. Tnx
[Nexus 4 Original Android Development] davidcd13:
u0_a41@android:/ $ echo none > /sys/class/leds/red/trigger

/system/bin/sh: can't create /sys/class/leds/red/trigger: Permission denied

1|u0_a41@android:/ $ echo none > /sys/class/leds/red/trigger

/system/bin/sh: can't create /sys/class/leds/red/trigger: Permission denied

1|u0_a41@android:/ $

should it be root (su) ?

Thank you.

Envoyé depuis mon Nexus 4 avec Tapatalk
[Nexus 4 Original Android Development] stratosk:
shell@android:/sys/class/leds/red $ ls -l trigger

-rw-r--r-- root root 4096 2013-05-07 20:14 trigger

Yes, you need to be root to change trigger.
[Nexus 4 Original Android Development] franciscofranco:
- leds: Add LED trigger for thermal sensor (switch on LEDs when temperature >= 47, with brightness proportional to the temperature)

This is so cool! So many possibilities to extend this to other parts of the kernel that could help users. Thanks for the cool code :)
[Nexus 4 Original Android Development] stratosk:
Thanks mate! I'm glad you like it. :)

A small fix (ff8dbc2794ffc63c3e44c3179d05ff7f43ee95f6 in my github) also allows users to use 5-6 triggers defined already in stock kernel.
[Nexus 4 Original Android Development] franciscofranco:
Nice. I merged that patch, made the CPU warm but my led was not triggered. Did I miss anything?

Forgot to merge something, now I see how it works, very nice! I'm gonna make some use out of this, thanks again!
[Nexus 4 Original Android Development] stratosk:
You need to define default triggers in arch/arm/mach-msm/lge/mako/board-mako-pmic.c

(Please see https://github.com/stratosk/kernel_msm/commit/306fd7d5d48715a52117a7b56f63230bffa2ccae).

Or you may just use this:

echo thermal > /sys/class/leds/red/trigger

EDIT: I also pushed a small fix.
[Nexus 4 Original Android Development] franciscofranco:
Yup, works fine, very good job.
[Nexus 4 Original Android Development] franciscofranco:
Yeah I just picked your latest commits, nice finds :good:
[Nexus 4 Original Android Development] malcho:
Just to say hi to my good friend.

Doing some preps for my new phone maybe next month i will buy it.

Many regards
[Nexus 4 Original Android Development] stratosk:
As root:

echo 1 > /sys/devices/virtual/input/lge_touch/dt_wake_enabled

There is no difference.
[Nexus 4 Original Android Development] relaxingrey:
Thanks op :thumbup:

Sent from my Nexus 4
[Nexus 4 Original Android Development] PeterFdeVries:
+1
[Nexus 4 Original Android Development] IImanuII:
Me too.

can anyone suggest me a stable undervolt? Cpu fast!

I use this, are good or there is something better?
[Nexus 4 Original Android Development] manpildo:
No, no one can suggest you this. You have to test it yourself.
[Nexus 4 Original Android Development] gialakias:
[MENTION=3750240]stratosk[/MENTION] : Is it possible to disable dt2w when the phone for example is in the pocket? Because it unlocks and several apps are pressed sometimes.
[Nexus 4 Original Android Development] stratosk:
No. Unfortunately proximity sensor drivers are not implemented in the kernel.

So, we can't have access to proximity sensor data.
[Nexus 4 Original Android Development] vampire36:
[MENTION=3750240]stratosk[/MENTION]: Awesome work with dt2w...very well implemented...has a few bugs...has caused screen freeze a couple of times...but overall awesome....

As a user I don't know whether its my phone hw or have been plain unlucky...but all s2w and dt2w implementations...have always resulted in screen freeze...especially in pocket...or after i don't pick a call in pocket...v1 v2...what not...

But touchwake flawless...never a screen-freeze...combined with simplicity...absolute love semaphore...

Though i use jolie just bcoz of faux sound...yet i still make it a point to download semaphore each version...use for sometime...before corresponding jolie version...:)

As a user appreciate all the efforts and wish you manage to pull off dt2w to a near flawless state...

Thanx again and fantastic work as always :)
[Nexus 4 Original Android Development] stratosk:
Thanks for your kind words. :)

I rework double touch. I hope for better results.
[Nexus 4 Original Android Development] twowheeler:
Does somebody have a good explanation about what the "io is busy" switch do? Can't find a good explanation apart from ways to switch it on or off
[Nexus 4 Original Android Development] ZioGTS:
When ON, it makes the governor consider the phone is "active" when data transfer occurs. This will keep it from lowering the clock frequency. Lowers battery life if you are doing lots of operations with files, but increases data transfer performance.

Inviato dal mio Nexus 4 utilizzando Tapatalk
[Nexus 4 Original Android Development] twowheeler:
Awesome! Thanks for pointing that out
[Nexus 4 Original Android Development] nemoftw:
[MENTION=3750240]stratosk[/MENTION] marry me ??? your kernel is awsomeeeeeeeeee :silly:
[Nexus 4 Original Android Development] svnhvn:
LOL

He's already taken dude LOL
[Nexus 4 Original Android Development] Skyfall007:
how did you get that man? What rom are you using and what did you exactly do in that 3 hours?
[Nexus 4 Original Android Development] ihancioglu:
You can do it this simple task with tasker. But you need to monitor proximity sensor with tasker even screen off which will drain your battery a bit more.

You can disable the dt2w in the night while sleeping and enable it at 07:30 via shell execute.So will not drain battery at night as well :)
[Nexus 4 Original Android Development] gialakias:
Well the point is to do nothing! I know many ways to do many things but the point is to work without doing nothing. So, a person who knows nothing about these processes, will be able to use it with minimum requirements on his side.
[Nexus 4 Original Android Development] stratosk:
Thank you very much for the proposal! :)

But, I'm already married.
[Nexus 4 Original Android Development] nemoftw:
voice call ~10mins, 20 - 30sms, whatsapp everytime i got message, chrome a few mins and read book on kindle. i flashed Catalysm rom yesterday :).
[Nexus 4 Original Android Development] Malkemid:
i used semaphore manager to change minimum and maximum online cores. i changed both of them to 1. so in this situation i only have one core online? like a single core cpu?
[Nexus 4 Original Android Development] twowheeler:
Yes

You can use perfmon to check. (Free available if you search xda ;) )

Verstuurd vanaf mijn Nexus 4 met Tapatalk
[Nexus 4 Original Android Development] Giox96:
Best setting for performance?
[Nexus 4 Original Android Development] snak3ater:
Turn off thermal throtling..

Min and max cores 4

Cpu gov: performance

Gpu gov: performance

Above setup=Awesomeness
[Nexus 4 Original Android Development] Galaxyfire:
This kerner has init.d, right ?

Gesendet von meinem Nexus 4 mit Tapatalk
[Nexus 4 Original Android Development] chavocarlos:
Yes, this kernel has init.d support.
[Nexus 4 Original Android Development] miksontije:
dt2w drains battery to me,but it should be normal bcouse screen,or some part of it is always on. i have one day and a couple of hours with dt2w and sot time is about 40 minutes. before i have 2 days standby with 2,5 hours sot. 3g,sync on. sema 2.0.0, bionic,dalvik patch and rastakat. sema 2.0.0 gives little more scores antutu than 1.8.8.
[Nexus 4 Original Android Development] schmitzekater:
Sorry [MENTION=3750240]stratosk[/MENTION], logcat is fooling me. Everyone I try to take it, there's nothing in it.

Touch froze again for me, two times the screen only reacted to double trap but for nothing else. Really strange.

Well deactivate DT2W for now. Kernel is still beyond awesomeness. :thumbsup:

Gesendet von meinem Nexus 4 mit Tapatalk
[Nexus 4 Original Android Development] Italico:
Hello to everybody

Flashed latest 2.0 kernel on SlimKat 2.3, perfect, even the rare screen flashing seems gone now.

Thank you a lot, StratosK!

Inviato dall'Ombelico del Mondo
[Nexus 4 Original Android Development] Mercado_Negro:
Enable the logger using Semaphore Manager and then reboot. That should make Catlog work.
[Nexus 4 Original Android Development] ihancioglu:
Hi [MENTION=3750240]stratosk[/MENTION],

I am using Focal camera app from CM team for a few weeks. I don't have any reboots so far. Sometimes app start takes much time but recovers itself and does not reboot. Maybe there is a bug in camera/gallery app on stock. So you should give a try it.

Thanks,
[Nexus 4 Original Android Development] alcaprone:
How do you set perfornance governor in semaphore app? Thanks!
[Nexus 4 Original Android Development] haget83:
Is It possibile to save my settings in semaphore menager? Expecially LCD calibration.

I think should be usefull add some other default settings (brighter, contrasty, halfbreed ) for easy color switch. I have to set My calibration more contrasty manually every time i change rom :-/

Inviato dal mio Nexus 4 utilizzando Tapatalk
[Nexus 4 Original Android Development] Midomad:
Yes colors presets would be definitely useful.

Envoyé depuis mon Nexus 4 avec Tapatalk
[Nexus 4 Original Android Development] TheNerd:]:
He was joking....those settings would destroy your battery life
[Nexus 4 Original Android Development] stratosk:
Hi, thanks for the info, my friend.

Anyway, kernel should not crash no matter how an app behaves.

Unfortunately, I'm unfamiliar with GPU drivers and ion and I can't resolve this stock bug.
[Nexus 4 Original Android Development] ZioGTS:
I'm not sure this is related to DT2W anymore, looks like the absence of activity remains also after disabling it. It all started after flashing 2.0.0 though. Any clue?

Inviato dal mio Nexus 4 utilizzando Tapatalk
[Nexus 4 Original Android Development] coloxim:
View attachment 2516256

Thanks friend...

Inviato dal mio Nexus 4 utilizzando Tapatalk
[Nexus 4 Original Android Development] KSLevel11:
Could someone post default LG Optimus G gamma values? I found them day ago, but don't remember where exactly.
[Nexus 4 Original Android Development] snak3ater:
The default settings on this kernel is a perfect balance of performance and battery life.. just go with the default settings..

Sent from my Nexus 4
[Nexus 4 Original Android Development] themike10452:
I think he wants to set "Performance" as CPU governor, maybe to play games or whatever. I guess sema manager doesn't have this option, so he should use a script or any other app like NoFrills CPU.

Sent using my nexus⁴ running crDroid Simple 4.4.2 (Dalvik) powered by m_plus-0.1.2_CM Linux 3.4.0 kernel.
[Nexus 4 Original Android Development] snak3ater:
No..Actually it was me who made a joke about performance Governor ;)

Default settings (Ondemand Gov ) are just great
[Nexus 4 Original Android Development] themike10452:
but deep inside you know that performance is superior ;)

Sent using my nexus⁴ running crDroid Simple 4.4.2 (Dalvik) powered by m_plus-0.1.2_CM Linux 3.4.0 kernel.
[Nexus 4 Original Android Development] KSLevel11:
Sometimes, my screen flickers, especially while playing with gamma settings or changing network operator.

I didn't have this problem on stock kernel.

Does someone have this issue too?

Wysłane z mojego Nexus 4 przy użyciu Tapatalka
[Nexus 4 Original Android Development] snak3ater:
Performance Gov is a beast but it would destroy battery life..
[Nexus 4 Original Android Development] spirosbond:
Indeed default settings are great and smooth. Overall this is the best kernel out there.

I would also like to inform for a common bug with kernels with dt2w or s2w, the no touch response to the left of the screen. For example opening the left panel at play store app is impossible. Disabling and enabling dt2w again solves it. I had this with ak also. It appears randomly though...

I am on purity, semaphore 200 and I use semaphore app for any tweak.

Cheers and keep up the great work.

Sent from my spaceship...
[Nexus 4 Original Android Development] snak3ater:
Yes..I have also experienced it..Not able to use sliding menu in playstore,Google plus,trickster,tapatalk etc..But this issue sometimes shows up and then goes away by itself..
[Nexus 4 Original Android Development] spirosbond:
And I just realized that it is not only the left of the screen, but all the edges (right, left, bottom)

Cheers

Sent from my spaceship...
[Nexus 4 Original Android Development] Psichi:
I just ran in to this problem this morning when playing Words With Friends. It was intermittent flickering, and it didn't really effect anything so I ignored it.
[Nexus 4 Original Android Development] hellsgod:
Our gpu driver is derped on 4.4. Nothing we can do about, google needs to fix this mess up.

See above.

hells
[Nexus 4 Original Android Development] Nicolae-Daniel:
Hello,just bought a nexus 4 and the proximity sensor seems not to work.Is there a way to use this kernel to keep screen on during call?Thanks
[Nexus 4 Original Android Development] Slymobi:
has your phone got a screen protector on ? some screen protectors are made poorly and cover the small sensors on the top left resulting in the proximity issue ?

we are all just evolved organism's
[Nexus 4 Original Android Development] twowheeler:
Does it make a difference if I remove data from semaphore app and reboot instead of reset to default from within the app? I notice some things like touchwake and led triggers. Does it also change things to governer settings, or is that handled when it reads system settings?
[Nexus 4 Original Android Development] Nicolae-Daniel:
Nope,no protector on.
[Nexus 4 Original Android Development] urim225:
just a stupid question but if the double tap to wake is implemented in this kernel could it be possible to work the double tap to sleep with the ported lg g2 launcher ? have anyone tried it ? sry for my English
[Nexus 4 Original Android Development] montbazon:
That's ROM or launcher implemeted feature. Try slimcat.

Gesendet von meinem Nexus 4 mit Tapatalk
[Nexus 4 Original Android Development] ak:
This problem was fixed long time ago ... Never happen for me.

---------- Post added at 08:02 AM ---------- Previous post was at 08:00 AM ----------

Very strange ... On caf kernel I never saw this flickering.
[Nexus 4 Original Android Development] stratosk:
If you delete app data, Semaphore Manager will read your current system settings.

So, it may lead to different results, if you reset to default.
[Nexus 4 Original Android Development] twowheeler:
Thanks. Was thinking a bit too much about it I guess ;)