[DEVS REQUIRED] Is it possible to enable double-tap-to-wake function on G Pro? - LG Optimus G Pro

I have always dreamed of having the double-tap-to-wake function on this phone. As far as I know, the kernel has to be capable of supporting this feature.
So I was wondering... Is it possible for any developer to modify or create a kernel that supports this feature? I feel that this will be very appreciated by the G Pro community. Also, if the is a hardware or any type of restriction, please tell me.
Thank you for your attention

Well Dan its all up to our master @Emmanuel U if he decide to integrate it.
Personally i dont think it's a good idea. I had it on 4.3 roms (back in days) with mserg kernel(i think),
and as a postpaid user dont need it. I had a lot of in pocket unlocks and some nice surprise bills
It would be nice as a possible enable/disable feature but prolly wouldn't use it... cheers :good:

srbin.cobanin. said:
Well Dan its all up to our master @Emmanuel U if he decide to integrate it.
Personally i dont think it's a good idea. I had it on 4.3 roms (back in days) with mserg kernel(i think),
and as a postpaid user dont need it. I had a lot of in pocket unlocks and some nice surprise bills
It would be nice as a possible enable/disable feature but prolly wouldn't use it... cheers :good:
Click to expand...
Click to collapse
You're right with the accedental unlocks, but it would be nice to have it as an option. I use a case that covers back and screen, so there are less probabilities for that to happen in my situation. I know it's not necessary, but again it's nice to have more options available. Best regards

srbin.cobanin. said:
Well Dan its all up to our master @Emmanuel U if he decide to integrate it.
Personally i dont think it's a good idea. I had it on 4.3 roms (back in days) with mserg kernel(i think),
and as a postpaid user dont need it. I had a lot of in pocket unlocks and some nice surprise bills
It would be nice as a possible enable/disable feature but prolly wouldn't use it... cheers :good:
Click to expand...
Click to collapse
I can look into implementing it, but I would never default it enabled or even encourage using it. Those kinda things like to suck up battery plus like you said, can have unintended outcomes.

I agree, I think it would be a cool feature to be able to enable/disable.. --- Anything on this yet??

miui port for e988, already got doubletap to wake/sleep, swipe to wake/sleep for a very long long time

Paleskin said:
miui port for e988, already got doubletap to wake/sleep, swipe to wake/sleep for a very long long time
Click to expand...
Click to collapse
I´ll try it thanks, but I would like to have it on AOSP CM based roms, that´s why I asked for a kernel.

Heads up
Just a reminder that I haven't forgotten about this request, I just haven't had enough time to develop anything recently. I'll try to get something going soon, but no ETA with school back in session

@Emmanuel U by chance could you be able to get knock on/off working for the L.P. rom by bountyman? I know you have CM work just thought I would ask lol
Sent from my LG-E980 using Tapatalk

crashpsycho said:
@Emmanuel U by chance could you be able to get knock on/off working for the L.P. rom by bountyman? I know you have CM work just thought I would ask lol
Sent from my LG-E980 using Tapatalk
Click to expand...
Click to collapse
Well I've already implemented sweep2wake and doubletap2wake, I can look into that soon.
Edit: that seems to be a rom feature, like double tap status bar to sleep

Right we have doubletap2sleep but its th wake function that doesnt work i found an alternate method but it uses the proximity sensor and wakes on its own the pocket
Sent from my LG-E980 using Tapatalk

I've added it to Build #4 of WildKernel...I also added support for it in Tame

Emmanuel U said:
I've added it to Build #4 of WildKernel...I also added support for it in Tame
Click to expand...
Click to collapse
I have flashed the latest build and everything works great, including the 2T2W. Thank you!

Related

Disable Touch Key Backlight on Google Edition

I hope someone can help me out with this (I guess most of my posts arent worth bothering with as they usually go untouched by anyone). I'm trying to figure out a way to disable the touch button backlight on a Google Edition ROM. I have been searching for an answer since the Google Edition hit. All I can ever find is how to disable on GSIII ROMs (non ge). If anyone can please help me out I would very much appreciate it. Thanks!
comoc85 said:
I hope someone can help me out with this (I guess most of my posts arent worth bothering with as they usually go untouched by anyone). I'm trying to figure out a way to disable the touch button backlight on a Google Edition ROM. I have been searching for an answer since the Google Edition hit. All I can ever find is how to disable on GSIII ROMs (non ge). If anyone can please help me out I would very much appreciate it. Thanks!
Click to expand...
Click to collapse
Screen Filter is an app that can disable the backlight of the softkeys. Set it to auto-start at boot and you should be good. I know its not a direct fix but its a low impact app that shouldnt effect battery life or operation.
C.Sweat said:
Screen Filter is an app that can disable the backlight of the softkeys. Set it to auto-start at boot and you should be good. I know its not a direct fix but its a low impact app that shouldnt effect battery life or operation.
Click to expand...
Click to collapse
Thank you for replying! It does not seem to work with our model tho.
comoc85 said:
Thank you for replying! It does not seem to work with our model tho.
Click to expand...
Click to collapse
Seems to work for me. Did it dim the screen at all (thats its main function)? Did you see the check box "enable softkey back light" (uncheck it) at the bottom of the app ui?
⇩⇩⇩ ⇩⇩⇩ ⇩⇩⇩​
C.Sweat said:
Seems to work for me. Did it dim the screen at all (thats its main function)? Did you see the check box "enable softkey back light" (uncheck it) at the bottom of the app ui?
⇩⇩⇩ ⇩⇩⇩ ⇩⇩⇩​
Click to expand...
Click to collapse
Yes, it did dim the screen, but if i uncheck the enable softkey back light, anytime I touch the screen the backlights still come on. Are you on a G.E. rom? I am currently on Infamouse G.E.
comoc85 said:
Yes, it did dim the screen, but if i uncheck the enable softkey back light, anytime I touch the screen the backlights still come on. Are you on a G.E. rom? I am currently on Infamouse G.E.
Click to expand...
Click to collapse
No im not. I am on AOSP (Slim Bean) though.
There are options to do this in AOKP and CM roms. Anybody know how those builds pull it off?
Give me a minute to shower and I'll write you an app. All you have to do is install my app, reboot, grant it root access, and profit.
Sent from my SGH-M919 using Tapatalk 2
elesbb said:
Give me a minute to shower and I'll write you an app. All you have to do is install my app, reboot, grant it root access, and profit.
Sent from my SGH-M919 using Tapatalk 2
Click to expand...
Click to collapse
Thanks brother. Any luck getting that working? With all of the research I have been doing, I have found MANY people that want to get this option working.
comoc85 said:
Thanks brother. Any luck getting that working? With all of the research I have been doing, I have found MANY people that want to get this option working.
Click to expand...
Click to collapse
I fell asleep working on it last night. I'm gonna finish it in a bit. Been playing dead island Riptide!
Sent from my SGH-M919 using Tapatalk 2
Okay i am having troubles setting it to off on boot. But here is a "toggle" version of it where you can toggle them on or off. Will try and fix the boot issue tomorrow.
SWEEET!!! Works like a charm thanks dude! Like I said, I've been searching for this forever! I know that many others have been searching for this, perhaps you should make a thread in the mods section.
comoc85 said:
SWEEET!!! Works like a charm thanks dude! Like I said, I've been searching for this forever! I know that many others have been searching for this, perhaps you should make a thread in the mods section.
Click to expand...
Click to collapse
Go HERE i fixed the boot issue. I was way too tired last night xD missed something really simple lol

[DEV/WIP] doubletap2wake & swipe2wake

Hello,
I'm currently implementing doubletap2wake and swipe2wake into the stock unsecured kernel.
If someone could help, that would be great. My C/C+ experience = 0%.
So if you guys have tips or source, help is always welcome!
Thanks,
Rinse
TheRinseM said:
Hello,
I'm currently implementing doubletap2wake and swipe2wake into the stock unsecured kernel.
If someone could help, that would be great. My C/C+ experience = 0%.
So if you guys have tips or source, help is always welcome!
Thanks,
Rinse
Click to expand...
Click to collapse
actually, the stock kernel has support for this,only with root, but sadly its a propitiatory app (i dont get it either) called PGM nexus which makes use of it and u can double tap to wake, slide to wake and touch to wake .
https://play.google.com/store/apps/details?id=net.ponury.pgm2&hl=en
shriom_manerker said:
actually, the stock kernel has support for this,only with root, but sadly its a propitiatory app (i dont get it either) called PGM nexus which makes use of it and u can double tap to wake, slide to wake and touch to wake .
https://play.google.com/store/apps/details?id=net.ponury.pgm2&hl=en
Click to expand...
Click to collapse
Thanks alot sir! I'll request to delete this thread.
Thanks!!
Rinse
TheRinseM said:
Thanks alot sir! I'll request to delete this thread.
Thanks!!
Rinse
Click to expand...
Click to collapse
hold on, never give your hopes up, This is only for the galaxy nexus and the nexus 4 if you can do this for other devices it would be great
shriom_manerker said:
hold on, never give your hopes up, This is only for the galaxy nexus and the nexus 4 if you can do this for other devices it would be great
Click to expand...
Click to collapse
And better if possible via kernel SysFS,not an app.A module like sweep2wake(the one from Showp1984) would be better!And not closed source like PGM is..sadly
sert00 said:
And better if possible via kernel SysFS,not an app.A module like sweep2wake(the one from Showp1984) would be better!And not closed source like PGM is..sadly
Click to expand...
Click to collapse
yes ! exactly ! open source is the way to go besides pgm no longer supports newer kernels for 4.3 (only stock no trace and trace methods are supported ) which i guess some kernel developers dont use. anyways please make it open source if possible
shriom_manerker said:
yes ! exactly ! open source is the way to go besides pgm no longer supports newer kernels for 4.3 (only stock no trace and trace methods are supported ) which i guess some kernel developers dont use. anyways please make it open source if possible
Click to expand...
Click to collapse
Sadly my C\C++ skills are very limited,i would have been happy to help you out
TheRinseM said:
Hello,
I'm currently implementing doubletap2wake and swipe2wake into the stock unsecured kernel.
If someone could help, that would be great. My C/C+ experience = 0%.
So if you guys have tips or source, help is always welcome!
Thanks,
Rinse
Click to expand...
Click to collapse
How far have you come?
I can imagine, with 0% C/C++ experience, it is somewhat of an uphill.
sert00 said:
Sadly my C\C++ skills are very limited,i would have been happy to help you out
Click to expand...
Click to collapse
Here is an implementation for Nexus7 (2013)
https://github.com/flar2/flo/tree/ElementalX
Something to work with perhaps?
Cheers,
/J
I'd check @faux123 git. He's done this for a few devices with settings to turn on and off in his app.
Anybody still working on? Got a few thoughts.
A good place to start would be to look up the "gpm hack" and "gpm mouse" in duckduckgo. I think there is a lot of good stuff you'll find. Another thing to get familiar with is parsing the output of /dev/input/event* and the builtin touch screen emulation with android's "input" command line function, "input touchscreen" to be more exact.
Shameless bump, but is someone still interested in this?
I Am!
thewisenerd said:
Shameless bump, but is someone still interested in this?
Click to expand...
Click to collapse
I am lol

developing cm 12.1 port + custom TW kernel; feature requests?

I am developing a port of cm 12.1 and a custom touchwiz kernel for the t-mobile s6 Edge are there any features that you want in the rom or kernel?​
I am open to suggestions and will add a much as I can; all suggestions are welcome
*Please specify whether you want the features in the kernel or the rom*
When I roll out the alpha's all source will be online so that you can play with it
I will update this thread when the rom/kernal are released and link the the thread which will be in the development section.
s0urc3_d3v3l0pm3nt said:
I am developing a port of cm 12.1 and a custom touchwiz kernel for the t-mobile s6 Edge are there any features that you want in the rom or kernel?​
I am open to suggestions and will add a much as I can; all suggestions are welcome
*Please specify whether you want the features in the kernel or the rom*
When I roll out the alpha's all source will be online so that you can play with it
I will update this thread when the rom/kernal are released and link the the thread which will be in the development section.
Click to expand...
Click to collapse
Do you have it booting yet?
Well, I can tell you right off the bat in Rom stat bar options would be great! Center clock or hide clock, change battery icon or battery bar. That drives me nuts all cluttered to 1 side!
Sent from my SM-G925T using XDA Free mobile app
For sure
The Kid Cassidy said:
Well, I can tell you right off the bat in Rom stat bar options would be great! Center clock or hide clock, change battery icon or battery bar. That drives me nuts all cluttered to 1 side!
Sent from my SM-G925T using XDA Free mobile app
Click to expand...
Click to collapse
I can definatly do that :good:
eousphoros said:
Do you have it booting yet?
Click to expand...
Click to collapse
yes on the kernel, somewhat on the rom but the processor is REALLY undocumented so it will take more work to get it working stably
s0urc3_d3v3l0pm3nt said:
yes on the kernel, somewhat on the rom but the processor is REALLY undocumented so it will take more work to get it working stably
Click to expand...
Click to collapse
Would love to see your work. I have everything working in cm12.1 except the surface flinger stack. How did you solve that?
eousphoros said:
Would love to see your work. I have everything working in cm12.1 except the surface flinger stack. How did you solve that?
Click to expand...
Click to collapse
I haven't got it working yet sorry, when I get working I will PM you
May I request an iOS-like quick actions from the bottom, instead of mixed with the notifications?
yes_thisis_joey said:
May I request an iOS-like quick actions from the bottom, instead of mixed with the notifications?
Click to expand...
Click to collapse
I can try to separate the toggles and notifications in a cool and unique way, but I don't want to infringe on any patents.
I have a good idea though as to how I am going to do it and I think you will like it
For the CM 12.1 port:
Not sure how much demand there will be for this, but I would love an Internet speed meter baked in to the ROM and available on the status bar. I currently use Internet speed meter app but if it was part of the ROM that would be great! (used this on an S4 GPE ROM and it was more reliable than the app and didn't clog the notifications)
This is great to hear!
My question is, I have always heard exynos devices were hard/impossible to get good aosp roms working on. Is this not the case?
kswa1987 said:
For the CM 12.1 port:
Not sure how much demand there will be for this, but I would love an Internet speed meter baked in to the ROM and available on the status bar. I currently use Internet speed meter app but if it was part of the ROM that would be great! (used this on an S4 GPE ROM and it was more reliable than the app and didn't clog the notifications)
Click to expand...
Click to collapse
I can definatly do that sure!
I want stability over features.
A toggle for data on/off and brightness control on the status bar would be great.
I would like to be able to use custom RGB LED notifications by app. Also prefer to have the stock lollipop quiet hours setup right on the volume slider settings button. Agree with the stability over features request. Rather have 3 things that work than 5 with 4 working and one that reboots the phone randomly. That seems to be more a CM thing with their endless commits though... I heavily prefer at least the option to stay battery friendly rather than go after the ultimate benchmark score. Just my preferences here as you did ask for requests.
Not really a feature but maybe u will do it anyways.
I want a clean working stable cm port without the rest of the stuff people are requesting.
Like a clean copy and a bloated copy of the ROM. Give us a choice.
Sent from my SM-G925T using XDA Free mobile app
The ability to unlock the phone without going through tmobile
Oh my goodness, I didn't think this would happen an I feel ecstatic right now lol.
Double tap to wake maybe?
Sent from my SM-G925T using XDA Free mobile app
devynbf said:
Oh my goodness, I didn't think this would happen an I feel ecstatic right now lol.
Double tap to wake maybe?
Sent from my SM-G925T using XDA Free mobile app
Click to expand...
Click to collapse
Yep double tap to wake is a must , especially when coming from the M8
I still find myself taping the screen occasionally
Its my first galaxy without a snapdragon, how is the double tap feature on other similar Sammy processors? Does the architecture help with the smaller lower power cores?
Sent from my SM-G925T using XDA Free mobile app

Launch any app with the screen off gestures

I have made a mod for the oneplus one. And since i think these devices have much in common I'm curious if the mod works on the find7 as well.
Is there anyone who wants to try it?
OG Thread: http://forum.xda-developers.com/one...launch-app-screen-off-camera-gesture-t3186507
Thomson2412 said:
I have made a mod for the oneplus one. And since i think these devices have much in common I'm curious if the mod works on the find7 as well.
Is there anyone who wants to try it?
OG Thread: http://forum.xda-developers.com/one...launch-app-screen-off-camera-gesture-t3186507
Click to expand...
Click to collapse
Anyone tried it?
@Thomson2412:
First of all - if anybody with Find 7 is to flash this, he will probably have a custom ROM and it does not have to be CM.
Your zip is obviously for CM ROM. I am using OmniROM with Android 7.1 at the moment.
I flashed it and found out it is not working at all. Altought, it does add the options to settings panel.
Setting any option does not do anything and checking Haptic feedback for any action causes crash.
---
When I flashed the Omni version you have in your original thread (after I removed the OnePlus related checks) the settings options were not there at all - it is in Settings - Device Features.
1. Setting app for Camera gesture works.
2. Clicking on setting vibrator strength causes crash.
And I might be wrong, but it seems that flashing that zip messed up my "menu button one-click".
I do not get any menu popups anymore. Even when I put the original version back..
@Thomson2412 hi I find it's nice feature since I have used this kind of feature when I had oppo f1... Now I am using zuk z1 a msm8974/sd801 device... Can you help me to port it for my device.? Thanks in advanced..
tech mashido said:
@Thomson2412 hi I find it's nice feature since I have used this kind of feature when I had oppo f1... Now I am using zuk z1 a msm8974/sd801 device... Can you help me to port it for my device.? Thanks in advanced..
Click to expand...
Click to collapse
Does it have off screen gestures?
Thomson2412 said:
Does it have off screen gestures?
Click to expand...
Click to collapse
No... I am talking about custom roms to have this mod
tech mashido said:
No... I am talking about custom roms to have this mod
Click to expand...
Click to collapse
I can't add gestures to a rom that doesn't have them by default because that would require a kernel change and I'm not capable (yet) to implement "new" gestures. Currently I don't have the time nor interest in learning how to change a kernel. So if your device doesn't have gestures I'm afraid I cant be of any help. I only alter what gestures do not add them or create custom ones.
I hope this answers your question, if not feel free to ask some more
Thomson2412 said:
I can't add gestures to a rom that doesn't have them by default because that would require a kernel change and I'm not capable (yet) to implement "new" gestures. Currently I don't have the time nor interest in learning how to change a kernel. So if your device doesn't have gestures I'm afraid I cant be of any help. I only alter what gestures do not add them or create custom ones.
I hope this answers your question, if not feel free to ask some more
Click to expand...
Click to collapse
If you are talking those off screen gesture features which comes in OPPO phones mostly (like draw C to open camera or draw M to open music app ) then these kind of features "by default" we dont have in any stock or custom rom But
if Double to tap wake screen (D2W) feature is enough to work your mod on my device then yes we do have this thing in all ROMs by default(kernel enabled )....,,
tech mashido said:
If you are talking those off screen gesture features which comes in OPPO phones mostly (like draw C to open camera or draw M to open music app ) then these kind of features "by default" we dont have in any stock or custom rom But
if Double to tap wake screen (D2W) feature is enough to work your mod on my device then yes we do have this thing in all ROMs by default(kernel enabled )....,,
Click to expand...
Click to collapse
Then there is not much i can do I'm afraid
Thomson2412 said:
Then there is not much i can do I'm afraid
Click to expand...
Click to collapse
haha no problem, mate ....thanks :victory:

Rom with always on display?

Does anyone know of a rom that has always on display? I was going to go with codename phoenix but it has been discontinued and I don't know of another one.
Omni has it. Codename Phoenix is still being built, just no dedicated support. It's rock solid loaded with features.
Also, there is a substratum theme that supports it as well.
azsl1326 said:
Omni has it. Codename Phoenix is still being built, just no dedicated support. It's rock solid loaded with features.
Also, there is a substratum theme that supports it as well.
Click to expand...
Click to collapse
Does the fingerprint reader work with the always on with those roms
Jlew7715 said:
Does the fingerprint reader work with the always on with those roms
Click to expand...
Click to collapse
I believe it works in all the 8.1 Roms as long as you flash the OOS Oreo firmware.
As mentioned apparently you can enable this feature on the 8.1 only.
I use Always on Amoled from the store or glance plus. They both work well.
techlogik said:
As mentioned apparently you can enable this feature on the 8.1 only.
I use Always on Amoled from the store or glance plus. They both work well.
Click to expand...
Click to collapse
Yeah glance plus I use for me is the best solution i found but still some issues with glance but not big deal the final experience is pretty good
The Always on Display in OmniRom is flawless.
art69 said:
Yeah glance plus I use for me is the best solution i found but still some issues with glance but not big deal the final experience is pretty good
Click to expand...
Click to collapse
when i use glance and finger scanner it unlocks to lock screen, then i gottta unlock again, did you fix this?
entwicklun said:
when i use glance and finger scanner it unlocks to lock screen, then i gottta unlock again, did you fix this?
Click to expand...
Click to collapse
That one is the first issue but i learned to live with. It's no big deal for me now after use it for months sometimes when I double tap the screen glance plus run again hope they update the app
art69 said:
That one is the first issue but i learned to live with. It's no big deal for me now after use it for months sometimes when I double tap the screen glance plus run again hope they update the app
Click to expand...
Click to collapse
hmmm lol. all good you're ok with it. for me I feel it's a joke I would never support it or pay for it as it defeats the end purpose. getting half the app here, not for me lol...
entwicklun said:
hmmm lol. all good you're ok with it. for me I feel it's a joke I would never support it or pay for it as it defeats the end purpose. getting half the app here, not for me lol...
Click to expand...
Click to collapse
You are alright im not developer but probably don't have the same functionality as ambient display backed in a rom. Probably if you give all the permission and accessibility probably work as we want but i don't want to give every permission to the app im. Waiting for a good rom baked but for now it's ok

Categories

Resources