yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Original Android Development] stratosk:
Touchwake works in a different way. It should work only for a specified period of time (usually seconds).

Did you disable touchwake? They should not be enabled simultaneously.
[Nexus 4 Original Android Development] TheDarkDefender:
Yes. I tried them separately.

Sent from my Nexus 4
[Nexus 4 Original Android Development] Goku80:
Nothing seems to work here. I don't know if its the app that is not working but once phone sleeps nothing works to wake the phone. Only the power button
[Nexus 4 Original Android Development] stratosk:
What app?

Can you please post the output of command:

cat /sys/devices/virtual/input/lge_touch/dt_wake_enabled
[Nexus 4 Original Android Development] Goku80:
Hey stratos sorry. I used both trickster to enable touch to wake and when the phone goes into deep sleep when I touch the screen it does not wake. I set delay to ten seconds. Anyways tried your app as well and the same. The output I have set it from zero to one

---------- Post added at 11:44 AM ---------- Previous post was at 11:33 AM ----------

Hope I made sense
[Nexus 4 Original Android Development] stratosk:
So, with touch wake enabled, with delay 10 secs, there will be a wake lock for 10 seconds. After this period the device will be suspended and the only option to wake it up will be the power button.

This is normal. This is how touch wake works.
[Nexus 4 Original Android Development] coloxim:
But is it possible set it with a timer? For example for 3minute?or it use more battery?

Inviato dal mio Nexus 4 utilizzando Tapatalk
[Nexus 4 Original Android Development] stratosk:
You may use touchwake instead of double tap to wake for such functionality.
[Nexus 4 Original Android Development] coloxim:
]Mnn..I know, but touchwake is less comfortable the double touch...if I turn off the phone if t touch it for an error turn on again....

Anyway I want test double touch and see about battery..maybe is possible add auto turnoff the touchsensor after an hour...

It is only an idea..

Anyway

Thanks for the update...

;)

Inviato dal mio Nexus 4 utilizzando Tapatalk

Inviato dal mio Nexus 4 utilizzando Tapatalk
[Nexus 4 Original Android Development] dhruvmalik:
I am also having issues with the proximity sensor. During the call, the screen goes off but in between of after the call, the screen doesnt come back. This is with 2.0.0. With 1.8.8 its working fine.

Went back to 1.8.8 for the timebeing.
[Nexus 4 Original Android Development] stratosk:
Do you have touchwake enabled?

Do you have 'Disable touchwake during calls' enabled in Semaphore Manager?
[Nexus 4 Original Android Development] Malkemid:
i wonder how touckwake and double tap functions affects on battery life...with touch screed powered on to handle input events...we should expect more battery drain?
[Nexus 4 Original Android Development] max4wdc:
I don't have any issue till now , proximity sensor works great also d2w enabled from terminal and working great too .

Thank you very much ;)

Sent from my Nexus 4 powered by Semaphore©XPd©4.4.2ST
[Nexus 4 Original Android Development] stratosk:
Battery drain with touchwake is negligible because there is a wakelock for few seconds.

With double tap to wake it will be much more, though I can't say exactly how much.

There is 1 report for 6% over night (of course it depends on how many hours the night is. :) )
[Nexus 4 Original Android Development] Holer Togni:
So I disabled TW in Semaphore Manager and enabled DT2W via cmdline and it's working nicely.

There was just one occasion where I had to press the power button because DT2W wasn't working. Very few times it worked only on the second try, but that was probably because I didn't hit the center of the screen or the 2nd tap was too quick. It needs some 1/10s delay for the 2nd tap which is good (prevents accidental activation).

Regarding battery I'm now 5 1/2h off the charger and can't notice any difference (just 24 mins on-screen-time so far, cpu was awake 4% of the time). So for me it seems to be very acceptable since the difference seems to be lower than what's caused by varied usage from day to day.

Thanks a lot for 2.0.0, it's fantastic!
[Nexus 4 Original Android Development] TheDarkDefender:
Dt2w is working fine after a reflash. :thumbup::thumbup:

Sent from my Nexus 4
[Nexus 4 Original Android Development] manpildo:
I don't think this kind of behaviour while idling is normal. Stock ROM. Reboot fixed it... for now.

[YOUTUBE]6lN3Eiz9n_0[/YOUTUBE]

In short words the problem was that all 4 cores stayed online with near maximum freqs with no interaction by me. Noticed this because of a heating back cover.
[Nexus 4 Original Android Development] stratosk:
Please check for a process that take much CPU time. In terminal emulator:

top -m 10

let it run for few seconds and read the first lines to find the guilty process.
[Nexus 4 Original Android Development] Goku80:
To those who have issues with dt2w during deep sleep. I had that as you can read previously. Reason I can see is cause I enabled it via root explorer. Now enabled via terminal emulator and works nicely. [MENTION=3750240]stratosk[/MENTION] thank you
[Nexus 4 Original Android Development] 1ceb0x:
I get some weird flickering using latest kernel and stock rom. Usually I get those when I switch apps. Sorry if this was reported before. Btw - only thing I changed in the kernel is the max cpu threshold.
[Nexus 4 Original Android Development] ak:
You have to check if retention is enabled, probably related to old configuration/kernel.

---------- Post added at 03:02 PM ---------- Previous post was at 03:01 PM ----------

I have the same problem sometimes with trickster app.
[Nexus 4 Original Android Development] manpildo:
I doubt it's just trickster's fault, because I could feel the back heating. Anyway, it was probably some process then, but somewhy those strange anomalies happen mostly on custom kernels.
[Nexus 4 Original Android Development] ak:
It i'isnt a problem of the trickster app, but I noticed it.
[Nexus 4 Original Android Development] stratosk:
I disagree with this general assumption about 'custom kernels'.

Are you sure that this is a kernel issue?

Do you use stock kernel for a long time? (To be sure that you also have this kind of issue on stock)?
[Nexus 4 Original Android Development] Mercado_Negro:
Until TricksterMod gets an update to include Semaphore's syfs for this new feature it's pointless to use that app to enable/disable it. Use a init.d script or run the command using adb or terminal emulator for now.

[MENTION=3750240]stratosk[/MENTION]

I haven't had a single problem with it since last night, worked fine when I woke up this morning after 5 hrs of deep sleep and it's being working flawlessly during the morning. The difference between your implementation compared to showp's is quite noticeable as far as I can tell, it's reliable.

I'll keep you posted and give you dmesg's if needed. Thanks again for a great work.
[Nexus 4 Original Android Development] manpildo:
I used stock since KK came out and had no such problems except for one app, which is not present on my system anymore. No, I'm not sure it's kernel related, it's just that yesterday I decided to flash yours to try out the new DT2W feature (which works very well btw) and this morning I noticed the strange behaviour. I didn't think of checking the processes at that moment, I only snapped the video and rebooted. I'm not attributing it to you, I'm just getting it out there in case I'm not an isolated case, because if I am, then something's wrong from my side. I guess it could be one of the games I played previously, though I do not recall them causing any problems previously.
[Nexus 4 Original Android Development] stratosk:
Of course, thanks for reporting your issue. It's always constructive. :)

I didn't say that it's something wrong on your side. Maybe it's kernel issue, maybe not. I just disagreed about your statement for custom kernels.
[Nexus 4 Original Android Development] Luigi_2:
semaphore & bricked are 2 kernels that keep me going back and forth everytime.
[Nexus 4 Original Android Development] Goku80:
Think I might off found a way to make dt2w work in deep sleep.
[Nexus 4 Original Android Development] haget83:
Double tap to wake is a strange feature, sometimes It works, sometimes not.

It s difficult for me to understand how gamma calibration works on semaphore manager. Under gamma settings there are 9 values for each color (Red, Green, blue) i cant understand what these numbers means and put the values taken on the nexus 4 color speedsheet found on xda.

Thanks

Inviato dal mio Nexus 4 utilizzando Tapatalk
[Nexus 4 Original Android Development] hughfollett:
And what you do is just teasing?? ???

Inviato dal mio Nexus 4 utilizzando Tapatalk

---------- Post added at 06:41 PM ---------- Previous post was at 06:39 PM ----------

Try this for colours:

https://www.dropbox.com/s/6uz1tymm7t9a26z/franco_semaphore.xls

Inviato dal mio Nexus 4 utilizzando Tapatalk
[Nexus 4 Original Android Development] Goku80:
Well its nothing that I have done I just been playing with settings in semaphore manager and so far when I leave the handset say for ten fifteen minutes it works straight away when I double tap
[Nexus 4 Original Android Development] Goku80:
View attachment 2504800

This is what I done. And now in deep sleep so far so good. :D
[Nexus 4 Original Android Development] Mercado_Negro:
It's weird that you have to tweak that to achieve deep sleep. Mine works out of the box.
[Nexus 4 Original Android Development] Goku80:
Deep sleep works great. But the dt2w in deep sleep did not hence the tweaking
[Nexus 4 Original Android Development] Mercado_Negro:
I didn't write that properly. I mean, it's weird that you have to tweak that to make dt2w work after entering deep sleep.
[Nexus 4 Original Android Development] twowheeler:
I'm a bit late to the party but: thanks for the awesome update Stratosk!
[Nexus 4 Original Android Development] manpildo:
Spoke too soon. It works well on charger, but I too have the deep sleep issue now. Will test maybe it has smth to do with undervolting. Will also test goku's solution.
[Nexus 4 Original Android Development] Goku80:
Let me know how you get on
[Nexus 4 Original Android Development] bankgg:
Your method was just enabling accuracy filter, right ?
[Nexus 4 Original Android Development] Goku80:
Correct Sir. For some reason that works for me like a charm. Can only just make a suggestion
[Nexus 4 Original Android Development] PeterFdeVries:
Stratosk, is it possible to implement a switch that turns on and off the double tap patch you brought to this supreme kernel? I am not that cmd-line guy :D
[Nexus 4 Original Android Development] hughfollett:
he already said that he will implement it in semaphore manager :good:
[Nexus 4 Original Android Development] yak84:
DT2W works just fine at my end, had the phone on deep sleep for 5 hours double tap and the screen switched on.
[Nexus 4 Original Android Development] ihancioglu:
DT2W tried 4 times were unsuccessful 5th one is wake up the device. It was not after long deep sleep period.

I don't know If touch screen is not working completely in that period causes does not wake the device.

So as soon as I face this problem again, I will wake the device with power button and check touch screen is working or not in that period..

I have attached the logs while screen does not respond double tap attempts.

Thanks,
[Nexus 4 Original Android Development] PeterFdeVries:
Hi there Stratosk, I was wondering if the Semaphore app is going to be updated with a option to switch the double tap mod on or off. I am not that cmd kinda guy ;)
[Nexus 4 Original Android Development] Mercado_Negro:
I think you messed up your quote there lol
[Nexus 4 Original Android Development] thracemerin:
He said yes a number of pages ago.
[Nexus 4 Original Android Development] kingofcomedy:
I had the same problem today, but had to reboot my device as touch screen didn't react anymore. I'll try to reproduce the problem.
[Nexus 4 Original Android Development] stratosk:
Thanks for the logs. Investigating and trying something.

BTW, Semaphore Manager 3.2.0 soon on Google Play:

- N4: Add Double Tap to Wake option

- N4: Add input_boost and io_is_busy tunables for interactive governor

- Add powersave_bias tunable for ondemand governor

- Bug fixes
[Nexus 4 Original Android Development] Slymobi:
just to report.

I don't alter anything with semaphore and use it how it comes from flash.

I used an existing init.d script,removed text and entered the text posted by stratosk to enable dt2w.I then renamed this script to 91userinit as it was previously 90userinit. I then rebooted my device and tested. DT2W works perfect. I have my phone on charge overnight so battery drain test is N/A but when I woke up this morning I tested and it worked 1st time. all day I've been using the DT2W with it working 1st time everytime.

summary - Working perfect for me :)

here is my init.d that I just place into system/etc/init'd and give rwx-rx-rx permissions.

https://www.dropbox.com/s/s4rz66oel12li9n/91userinit

we are all just evolved organism's
[Nexus 4 Original Android Development] elwilson4:
The update is live on Google Play. I didn't get a notification but when I clicked on Semaphore Manager in Google Play it said an update was available.
[Nexus 4 Original Android Development] Goku80:
Update live here to. Works great
[Nexus 4 Original Android Development] Midomad:
An explanation stratos?

Thanks.

Envoyé depuis mon Nexus 4 avec Tapatalk
[Nexus 4 Original Android Development] thracemerin:
Google is your friend, fyi.
[Nexus 4 Original Android Development] stratosk:
It's a standard ondemand tunable. It was always there but I didn't had there option in semaphore manager.

Valid values 0 - 1000. Default 0 (no effect). A greater than 0 value will push ondemand to select lower frequencies. A value of 1000 means that it will always select min freq.
[Nexus 4 Original Android Development] schmitzekater:
Hello [MENTION=3750240]stratosk[/MENTION]

Double-tap-to-wake is working pretty fine.

But I have a problem with LMT and I don't know, if it's LMTs fault or not.

When using DT2W LMT stops working after a while. Restarting App or the App-Service is not working. No chance to run LMT again without rebooting.

Happened 3 times today. I had DT2W off and everything was ok like before. Turned on again -> quit of LMT after a while.

Please see attached dmesg if there's something you might find. (tried turning on LMT a few times while getting dmesg.)

Btw, before LMT stopped screen was unresponsive when locked. I tapped a few times, nothing happened. 10s later the screen turned on. Maybe that was the time point where LMT crashed.

Kind regards from Germay,

Alex
[Nexus 4 Original Android Development] PeterFdeVries:
Sorry for the inconvenience guys. Didn't looked back far enough. After that my browser failed to show me my written reply, that's the reason I wrote my question was asked multiple times. ':)
[Nexus 4 Original Android Development] Midomad:
No,stratos is my friend ;)

Envoyé depuis mon Nexus 4 avec Tapatalk
[Nexus 4 Original Android Development] svnhvn:
Its Stratosk mate.
[Nexus 4 Original Android Development] TheDarkDefender:
"K" is his initial mate. ;)

Sent from my Nexus 4
[Nexus 4 Original Android Development] shubu000:
hi guys,

just a quick question, i'm wondering does all 4 cores turn on when i wake the phone up? anyone know which variable i have to change to make it just 2?

just testing to limit my phone to 2 cores at all time, if no one can tell me that's ok, just experimenting,

by the way love your work Stratos

thanks

by the way i am talking about when the phone just turns on and unlocked 2 cores turns off and stays off after about 5-10 seconds
[Nexus 4 Original Android Development] hulicow:
Enable Dynamic Hotplug on Semaphore Manager / Enable Hotplug Control on Trickster Mod.

Min - 2

Max - 2
[Nexus 4 Original Android Development] musa47:
In contrary, can someone post the new iPhone 5 color values? Thank you.

Edit: found. Never mind.
[Nexus 4 Original Android Development] fortunz:
I just went from PA 3.99 + older semaphore to Semaphore 2 and the latest Purity after reading lots of posters raving about the combo. I was already very impressed with my battery life, but I've seen it improve even though I turned on DT2W. Normally, the only way I get to 6hr SOT is if I'm in Airplane mode all day or at least on 2g only. Today I had a normal amount of connectivity and might have expected 4-4.5hr SOT, but I'm already over 6 hours and I still have 33% left. On stock everything I might have gotten around 3hr SOT.

I use fairly restrictive settings. I went looking for custom kernels due to excessive heat, so that was priority 1. In addition to 175mV uv, I also have a max clock under 1ghz and 2 core max. I use exponential brightness with a tasker autobrightness adjuster (see my sig) and use brightnesses below stock minimum more often than not. Results may not be typical, but my life with semaphore keeps getting better. Thanks stratos :highfive:
[Nexus 4 Original Android Development] ihancioglu:
Hi [MENTION=3750240]stratosk[/MENTION],

FYI, I tested show-p's DT2W with m_plus kernel to see how battery drain. It drains %4 over the night.

Also what do you think about double tap to sleep on status bar like lg g2? That will be unique , no alternative on N4 yet :)
[Nexus 4 Original Android Development] hughfollett:
That's rom related. Purity and rastakat (if not others as well) have it..

Inviato dal mio Nexus 4 utilizzando Tapatalk
[Nexus 4 Original Android Development] Slymobi:
ninja'd lol

Mokee too

we are all just evolved organism's
[Nexus 4 Original Android Development] Arju:
And slimkat has it too.
[Nexus 4 Original Android Development] ihancioglu:
That's cool. Maybe stratosk implement it like DT2W then will work on stock as well :) Of course If possible with kernel.

EDIT : Maybe could put into SAI service.
[Nexus 4 Original Android Development] rogers11:
If possible for you try GravityBox. I've set double tab on Back Button to Screen Off. Works great.

---------- Post added at 01:33 PM ---------- Previous post was at 01:28 PM ----------

Same here with 95% Deep Sleep in the past seven hours.
[Nexus 4 Original Android Development] kingofcomedy:
I don't know if this bug has been mentioned yet: in Google Play I can't open the App-Menu by swiping from the left screen-border to the right. I haven't changed any settings in Semaphore Manager besides activating Double tap to wake.
[Nexus 4 Original Android Development] Arju:
It works for me. What rom are you running? Are you on stock?
[Nexus 4 Original Android Development] rogers11:
For me it works with DT2W enabled. So it's not a general bug.
[Nexus 4 Original Android Development] emanuele1986:
Sometimes the double tap doesn't work. For example after 20 minute i tap the screen but doesn't happen nothing . Sometimes i tap the screen, 10 tap continuos, and the screen go on. Instead If i turn of the screen and after do double tap no problem, but i have to wait 2-3 second.
[Nexus 4 Original Android Development] snak3ater:
It's a common bug.. Happens when s2w/s2s is enabled.Not only google play but it happens in tapatalk,google plus,trickster and all other apps which use sliding menu.This issue is random btw..it sometimes goes away and sometimes comes back again. Anyways..this is the first time i heard of this issue with dt2w..
[Nexus 4 Original Android Development] kingofcomedy:
Well, I just fixed it. ;)

Deactivated and renabled DT2W.
[Nexus 4 Original Android Development] snak3ater:
If it happened once, it'll show again.. Just wait :p
[Nexus 4 Original Android Development] manjee:
Regarding a user's issue with dt2w and lmt, I can't confirm it on my side. Lmt and dt2w work flawlessly here (lmt 2.0 rc7).
[Nexus 4 Original Android Development] Zergra:
Hey, this Kernel works with CM11 ?
[Nexus 4 Original Android Development] schmitzekater:
Thanks, will try flashing again. Maybe it might help me.

Nope.

Gesendet von meinem Nexus 4 mit Tapatalk
[Nexus 4 Original Android Development] hulicow:
[MENTION=3750240]stratosk[/MENTION] Hi sir, Thanks for another release, by the way what values you could recommend on Dynamic Hotplug Up threshold, Min Core and Max Core for Battery Life? I am running at Min -1, Max - 4 and Dynamic Hotplug Up threshold - 95 as my values, Would you mind if you could recommend me a value according to your own taste? I like to save more battery but without any affecting performance. I have seen already your recommended values in ondemand governor, but i like to ask this as well. Thanks a lot sir.
[Nexus 4 Original Android Development] Zergra:
Dann werde ich mal was anderes testen :D Danke
[Nexus 4 Original Android Development] manpildo:
Sorry for being nosey, but I just have to ask. I understand tweaking some settings to squeeze out a bit more battery life, but what is the point in buying a high-end 4 core phone just to restrict it to low-mid class capabilities? I don't understand that. Sometimes I think that people go too far with their obsession with battery life.
[Nexus 4 Original Android Development] Mercado_Negro:
With all due respect, I think the same.
[Nexus 4 Original Android Development] snak3ater:
95 up threshold in hotplug is way too much battery friendly. it'll effect the performance.games would lag a little.. I wonder if 4th core would ever turn on with this setting.As for the ondemand gov.. decrease the up threshold.. Low boost freq would be good for battery
[Nexus 4 Original Android Development] schmitzekater:
Try purity. ;) ;)

Gesendet von meinem Nexus 4 mit Tapatalk
[Nexus 4 Original Android Development] manpildo:
So far so good. Haven't yet experienced unresponsiveness after activating accuracy filter.
[Nexus 4 Original Android Development] svnhvn:
Quote of the year.
[Nexus 4 Original Android Development] manpildo:
Aah I see what you did there, a 10 day old year :silly:
[Nexus 4 Original Android Development] theBeholderN4:
[MENTION=3750240]stratosk[/MENTION] Since 2.0.0 update my phone overheats like crazy especially when using youtube. So for the time being I've reverted back to stock kernel. Not complaining though... just thought I should report.. You have an awesome thing going on here bro :highfive:
[Nexus 4 Original Android Development] fortunz:
If you're having any trouble with DT2W, try tapping different spots on the screen, as in once in one spot and once right next to it. It's been fairly smooth for me, but every once in a while it doesn't respond. I'd be interested to know if that little trick helps anyone else. As few times as I've had the chance to employ it, it could merely be coincidence that it worked.

I don't mind the question. My last device was a winmo from 2009 with a chipset from 2008 hacked to run Android. I used it for 3.5 years. From my perspective, my nexus 4 still flies. Had it not run so hot out of the box, I wouldn't have messed with it. I wasn't chasing battery life, I was chasing a tolerably cool device. In the process, I got great battery life, and I'm always happy to see that improve. Why wouldn't I want to be untethered for ever longer stretches of time? For me, more battery life means more mobility.

I also didn't buy a high end quad core phone, I bought a $199 firesale phone. Different folks have different experiences, different needs and expectations. Please feel free to overclock like mad or pursue a balanced approach between performance and battery as fits your needs. I'm on a different path. My path happens to come with a free performance upgrade down the road when I do get the hankering for more speed. ;)

FWIW, I got 7.5hr SOT with 15% remaining yesterday before all was said and done. I never would have imagined 8hr SOT was even possible with this device when I got it. Normally, I get extended batteries, in this case, I'd be in the market for an external battery pack. I feel less and less need for that.