Quantcast
Channel: xda-developers - Android Software and Hacking General [Developers Only]
Viewing all articles
Browse latest Browse all 3614

[kernel][dev] Tap2unlock - a new tap2wake feature with pattern

$
0
0
Praise be to God
Tap2Unlock - a new screen wake feature similar to d2w and s2w

Source commit link : https://github.com/goutamniwas/andro...8b636a6f78c9d2
fix : https://github.com/goutamniwas/andro...94179bbe85dedc


But with patterns here
How it works ?
Divide your screen vertically and horizontally , you get four divisions
They are numbered as
1 | 2
-----
3 | 4
The pattern is stored in sysfs file sys/android_touch/tap2unlock_pattern
You tap the right combination to open your screen
Pressing the power button will turn your display on but not the touch sensor.

version 1.0
-Ability - 4 number pattern (will be improved)
-Currently the pattern gets rstored to 1234 after every boot
(This can only be fixed if a kernel mod app provides support for it in the future.)

All copyrights of t2u is reserved with goutamniwas <goutamniwas@gmail.com>
Many credits to showp-1984 for his D2w which made this possible.


Want this for your phone ?
Post a link of this thread to your kernel developer .

have a moto E?
http://forum.xda-developers.com/moto...l-0-1-t2931985

It required heavy commitment, testing and hardwork give vredits if you use it , press thanks it encourages
Suggest if you think this message is worth to be on portal
To get it on many kernels and to developers site

To change pattern (not adviseable to set a pattern that starts and ends with same number eg:1221)
Also if doesnt wake tap unrelated locations (unlike ur pattern) ad then tap ur pattern
Quote:

mount -o rw,remount "/sys"
echo "1224" > sys/android_touch/tap2unlock_pattern
or add
Quote:

echo "1224" > sys/android_touch/tap2unlock_pattern
to init.d script

Note : even during a call u have to press power button , pattern then open to attend call


Video description :


Viewing all articles
Browse latest Browse all 3614

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>