Swipe to wake. - ONE Q&A, Help & Troubleshooting

Hello,
I like S2W feature much more than Dt2W.
ANy known kernels which can enable this feature?
On Euphoria Rom.

xeltos said:
Hello,
I like S2W feature much more than Dt2W.
ANy known kernels which can enable this feature?
On Euphoria Rom.
Click to expand...
Click to collapse
Boeffla kernel has the S2W (on capacitive buttons)

m3tr0p0lis said:
Boeffla kernel has the S2W (on capacitive buttons)
Click to expand...
Click to collapse
Not on screen? Cant we add more gestures?

xeltos said:
Not on screen? Cant we add more gestures?
Click to expand...
Click to collapse
Didn't use Boeffla for a while, but there's an app dedicated to Boeffla's kernel settings.
Check it all here :
http://www.boeffla-kernel.de/index.php/downloads-oneplus-phones

Boeffla kernel has On Screen sweep 2 wake functionality. I am using it currently.

Related

[Q] BLN on SlimKat

I'm on SlimKat build 3 and I can't make work BLN/BLD on default kernel, even I activated from advanced option and I tried NStools.
The only way is by installing devil kernel+nstools, and BLN is working only on calls.
Can anyone fix this?
slik2 said:
I'm on SlimKat build 3 and I can't make work BLN/BLD on default kernel, even I activated from advanced option and I tried NStools.
The only way is by installing devil kernel+nstools, and BLN is working only on calls.
Can anyone fix this?
Click to expand...
Click to collapse
+1, i'd like it too!
slik2 said:
I'm on SlimKat build 3 and I can't make work BLN/BLD on default kernel, even I activated from advanced option and I tried NStools.
The only way is by installing devil kernel+nstools, and BLN is working only on calls.
Can anyone fix this?
Click to expand...
Click to collapse
I can`t confirm. Im running Stable (Version 3), too. Works like a charm for me for calls, whatsapp ....
I`m using BLN Control free from PlayStore. Try this....
Did you go to "Settings" -> "Advanced Options" -> "Device"? There`s a Notification Light Option as well...
richyg83 said:
Try this.....
Click to expand...
Click to collapse
don't quote without read first
yes, i tried that. default kernel + nstools/bln control free from market is not light'up my keys at all. devil kernel+nstools works only on cals, every other notifications - not.
i'm on slimkat v3, clean install (wipe all - system/data/cache)
slik2 said:
don't quote without read first
yes, i tried that. default kernel + nstools/bln control free from market is not light'up my keys at all. devil kernel+nstools works only on cals, every other notifications - not.
i'm on slimkat v3, clean install (wipe all - system/data/cache)
Click to expand...
Click to collapse
Wow....I hope you DO know, that People try to help....So do I! You did NOT say you tried BLN Control free, just NSTools....
Found this fix on SlimKat thread: BLN Fix for RC2. It's for RC2 but still worth a shot. Report the bug on SlimKat thread or in SlimCenter to help the devs.
ej8989 said:
Found this fix on SlimKat thread: BLN Fix for RC2. It's for RC2 but still worth a shot. Report the bug on SlimKat thread or in SlimCenter to help the devs.
Click to expand...
Click to collapse
BLN Fix for RC2 is not working on V3. I have same behavior width devil kernel, works only on calls.
I do not have permission to post on SlimKat thread.
On build 3.2 BLN is working width default kernel + NStools, but again only on calls.
No other complains about SlimKat
slik2 said:
On build 3.2 BLN is working width default kernel + NStools, but again only on calls.
No other complains about SlimKat
Click to expand...
Click to collapse
Can you tell me if there's also the option to enable BLD?
It's almost the only thing i miss from my previous ROM...
BLD is not implemented (i think) in default kernel, in NStools is not showing any options for BLD, only for BLN.
slik2 said:
BLD is not implemented (i think) in default kernel, in NStools is not showing any options for BLD, only for BLN.
Click to expand...
Click to collapse
Thank you!! so it's kernel related...
it's a pity cause it's the only feature i miss and i'm satisfied with the default kernel, i wouldn't like to change it just for one thing

[KERNEL] [CM11] [S2W/DT2W] Sweep2Wake/DoubleTap2Wake Kernel for CM11 | 2014-11-30

I ported Sweep2Wake and DoubleTap2Wake features to CM11 kernel.
(S2W/DT2W kernel for Sense rom is here: http://forum.xda-developers.com/showthread.php?p=52678000)
Features:
- Sweep2Wake
Sweep2wake (S2W) allows you to wake up your device by swiping your finger across the capacitive buttons from left to right.
Swiping from right to left will put it back to sleep (sweep2sleep).
/sys/android_touch/sweep2wake
0=disabled
1=enable sweep2wake and sweep2sleep (default)
2=enable sweep2sleep only​
- DoubleTap2Wake
DoubleTap2Wake (DT2W) allows you to wake the device by double tapping the screen.
/sys/android_touch/doubletap2wake
0=disabled
1=enable doubletap2wake (default)​
Credits and Thanks:
All credits and thanks go to the original authors: CyanogenMod team and @flar2.
Disclaimer:
I am not responsible if you "brick" your device or in anyway damage it or void your warranty.
Proceed at your own risk.
Installation:
1. Install CM11.
2. Flash the attached boot-m4-cm11-s2w-2014mmdd.img which supports both old and new partition layouts.
# fastboot flash boot boot-m4-cm11-s2w-2014mmdd.img​
Source:
The attached kernel_htc_msm8960-2014mmdd.patch is a patch to the CM11 source.
Enjoy!
Build Date: 2014-11-30
Created 2014-04-27
Last Updated 2014-11-30
Many thanks for your support of our One mini's. Would this work on other builds of CM11 like the SlimKat port that has just surfaced, or is this just for standalone CM11?
Sent from my GT-I9000 using Xparent Green Tapatalk 2
thanks! S2W and T2W are working just fine! but the cpu governor is stuck at performance, you can't change it.
Can you port your kernel to our sense 6 port ROM?
It would be awesome
Is this kernel are compatible with stock 4.4.2 ROM? If not, is possible to port it?
Im a big sense fan on 5.5....but these features along is really making me want to switch to c,11
another problem: I can't install any App. via play store and apks. "invalid file package" or something similar.
changed back to another kernel and everything was working. back to this and problem was back.
I also wiped play store cache & data - not helping.
RuffBuster said:
Many thanks for your support of our One mini's. Would this work on other builds of CM11 like the SlimKat port that has just surfaced, or is this just for standalone CM11?
Click to expand...
Click to collapse
MirageBlader said:
Can you port your kernel to our sense 6 port ROM?
It would be awesome
Click to expand...
Click to collapse
IncubusUA said:
Is this kernel are compatible with stock 4.4.2 ROM? If not, is possible to port it?
Click to expand...
Click to collapse
This kernel is just for standalone CM11 and is not compatible with stock 4.4.2 ROM. Sorry.
I have no plan to port S2W/DT2W to the stock 4.4.2 kernel. My patch will be helpful for porting.
By the way, stock Sense 6.0 will have Motion Launch gestures that support S2W/DT2W.
theodorius123 said:
thanks! S2W and T2W are working just fine! but the cpu governor is stuck at performance, you can't change it.
Click to expand...
Click to collapse
theodorius123 said:
another problem: I can't install any App. via play store and apks. "invalid file package" or something similar.
changed back to another kernel and everything was working. back to this and problem was back.
I also wiped play store cache & data - not helping.
Click to expand...
Click to collapse
I am using 0424 nightly with my kernel and there is no problem.
Please update to the latest nightly and retry.
I was using the same nightly.
maybe it's caused by flashify. just started to use this a week ago. will test with normal fastboot flashing when back home from work. I should really install ADB in our office
EDIT: the governor problem was only with CM internal settings. kernel tuner was able to change the gov.
theodorius123 said:
maybe it's caused by flashify.
Click to expand...
Click to collapse
yes, it was flashify! everything is working fine now after flashing via fastboot.
Do these features affect battery life somehow?
morschesholz said:
Do these features affect battery life somehow?
Click to expand...
Click to collapse
There seems to be no major negative impact on battery life.
Sync and build with the latest kernel source (2014-05-01). See the opening message.
Sync and build with the latest kernel source (2014-05-05). See the opening message.
kyasu said:
Sync and build with the latest kernel source (2014-05-05). See the opening message.
Click to expand...
Click to collapse
thanks! kernel works great so far. will flash the new version later!
I can confirm that this kernel works flawlessly!!!
I wish I had the same kernel for STOCK SENSE-based ROM.
Many thanks to @kyasu.
Sync and build with the latest kernel source (2014-05-15).
Source (patch) is slightly modified for working with m4 and m7.
See the opening message.
Czechnolog said:
I can confirm that this kernel works flawlessly!!!
I wish I had the same kernel for STOCK SENSE-based ROM.
Many thanks to @kyasu.
Click to expand...
Click to collapse
I ported S2W/DT2W to sense kernel.
See: http://forum.xda-developers.com/showthread.php?p=52678000
@kyasu - thanks for this kernel. I have a question - did you also experience this?
a) When I drive and have Google Maps on, the phone is constantly discharging even if it is connected to my car charger. (app. minus 5 % in 30 minutes)
b) When I do the same, but I am on any SENSE-based ROM, the phone is charging. (app. plus 7% in 30 minutes.)
Do you have any ideas?

[Q] OneS: knock2wake/doubletap 2 wake for ROM MIUI?

Hello, any master help me please:
I'm using OneS
I flahed the MIUI Rom "http://forum.xda-developers.com/showthread.php?t=2754955".
but I like MOD: "knock to wake" or doubletap 2 wake :silly:. (I love MIUI rom because callrecord good work :good
Which kernel working with this ROM that help me use this MOD???
if anyone can help it would be brilliant.
Thanks:laugh:
kobk said:
Hello, any master help me please:
I'm using OneS
I flahed the MIUI Rom "http://forum.xda-developers.com/showthread.php?t=2754955".
but I like MOD: "knock to wake" or doubletap 2 wake :silly:. (I love MIUI rom because callrecord good work :good
Which kernel working with this ROM that help me use this MOD???
if anyone can help it would be brilliant.
Thanks:laugh:
Click to expand...
Click to collapse
Well MIUI is sense based so you should be able to use a sense kernel like Elemental X for doubletap 2 wake. Make a back up then try it.
Your can also try the app Knockr, but I haven't had much success with it.
Im will try, hope it work well...^^
rosswhite said:
Well MIUI is sense based so you should be able to use a sense kernel like Elemental X for doubletap 2 wake. Make a back up then try it.
Your can also try the app Knockr, but I haven't had much success with it.
Click to expand...
Click to collapse
Thanks alot :good:
You can use this :
https://play.google.com/store/apps/details?id=it.android.smartscreenonlite

[MOD] Enable or Disable DT2W in any rom

So I was flashing roms and stuff, but the only issues I had with custom roms is that there was no switch to disable dt2w. I personally use dt2w, as our mido has a massive battery life. But ofc, many don't like it. So here it is. Flashable zips to both enable and disable double tap to wake. Just flash in recovery over any rom. Do not flash over miui roms, as there is already a switch.
Ps. The kernel source is out now, so a switch for dt2w will be out soon. But till then, you can use this workaround
Vidhanth said:
So I was flashing roms and stuff, but the only issues I had with custom roms is that there was no switch to disable dt2w. I personally use dt2w, as our mido has a massive battery life. But ofc, many don't like it. So here it is. Flashable zips to both enable and disable double tap to wake. Just flash in recovery over any rom. Do not flash over miui roms, as there is already a switch.
Ps. The kernel source is out now, so a switch for dt2w will be out soon. But till then, you can use this workaround
Click to expand...
Click to collapse
Hi Vidanth, nice to see you here buddy. Coming from Moto G 2014.
Looking forward to ur great work for mido as well.
@Vidhanth this broke display rotation for me
Sent from my Redmi Note 4 using Tapatalk
Does dt2w consumes more battery?
Te$la said:
Does dt2w consumes more battery?
Click to expand...
Click to collapse
Of course! Not to much, not to little
is there a switch in custom roms now? lineage os for example?
Doesnt work on nikel. project aosp x lineage rom.
It works perfectly, thank you.
Workeddddd!!!
Thank you so much. It worked flawlessly.
Excuse me, what is the DT2w?
Not working for me
magnet1215 said:
Excuse me, what is the DT2w?
Click to expand...
Click to collapse
Double tap to wake!
Kuchayhilal said:
Not working for me
Click to expand...
Click to collapse
If you are rooted, you can run this command from a root terminal
Code:
echo "0" > /proc/touchpanel/enable_dt2w
You will need to do it on each reboot (eg, via an init.d script, or perhaps with something like Kernel Adiutor).
With or without root?
Hi, does this work without root? If so would you explain in detail how to do it?
I absolutely hate double tap to wake!
Also any tests with android 8.1?
Will this also work on Android One?
(Xiaomi MI A2 Lite)
saleyman said:
Will this also work on Android One?
(Xiaomi MI A2 Lite)
Click to expand...
Click to collapse
I have the same doubt, will this work on Android one official firmware or do I need to flash a custom kernel? (Xiaomi MI A2)
Is it good for land
sorry out of topic, but how to double tap to sleep the screen?
Switch donot work in miui 11 rom...so need a zip to disable it...there is no option in kernel auditor app to disable DT2W...please help
Download The Module Of MultiFunctions From This Thread https://forum.xda-developers.com/apps/magisk/module-multifunctions-bootloop-t3933386 For Getting The Ability To Use The Function Of DT2WStatus Inverter To Invert The Default DT2W Status ([From Disabled To Enabled] Or [From Enabled To Disabled]).
P.S. The Installed/Flashed Rom/Kernel Must Support The Feature Of DT2W (DoubleTap2Wake)​

Which ROMs and kernels support double tap to wake?

The kernel in PureNexus and xPerience supports DT2W. What other ROMs and kernels support it?
xMotoDA said:
The kernel in PureNexus and xPerience supports DT2W. What other ROMs and kernels support it?
Click to expand...
Click to collapse
UD kernel and SomeFeak kernels also support DT2W.
Here's the link for -
UD kernel : https://forum.xda-developers.com/2015-moto-g/development/ultradevs-kernel-osprey-t3512361/page14
SomeFeak kernel :
https://forum.xda-developers.com/20...l-somefeak-moto-g-2015-3rd-gen-t3622936/page6
Be aware that dt2w is a big battery consumer with the hardware in this device, to do it the digitizer must be kept powered all the time, meaning an additional 2-3% per hour idle drain in battery above "normal".

Categories

Resources