Saturday, August 6, 2016

Disable DT2W and S2W in MX4 by kernel?

Hi,

It's a long story (if You want to read, please look at http://ift.tt/2amVJoc ). My problem for now is to disable manually (before ROM start) DT2W and S2W. I want to do it, because I've flashed Ubuntu and there is no control of that features and they are enabled by default in kernel. I've found file /sys/bus/i2c/drivers/mtk-tpd/2-0020/input/input1/gesture_test where is
Code:

gesture_value=0
gesture_mask=0
disable_all=0
gesture_only=0
gesture_control=3 tap(1),swipe(1),O(0),V(0),unicode(0)
swipe_control=c :UP(1),DOWN(1),L(0),R(0)
unicode_control=ff: C(1),E(1),W(1),M(1),S(1),Z(1)

And I want to somehow set in that file
Code:

disable_all=1
How can I do that? Or somehow disable kernel module responsible for gestures control - is there any? How to do that? Or simply remove that new kernel and flash some other?
I heard that there is something like Xposed - does it change kernel modules pernamently (that after factory reset, previous settings will not go back)?


from xda-developers http://ift.tt/2aCfTcr
via IFTTT

No comments:

Post a Comment