mirror of
https://github.com/Anything-at-25-00/android_device_tecno_LG8n.git
synced 2024-11-22 13:46:26 -08:00
LG8n: rootdir: Add init.gesture.sh for fix DT2W
* idk why after using the powerhint method dt2w doesn't work, so we tried to use the sh scripts method. hopefully it works lol Signed-off-by: fjrXTR <fajarslebew31@gmail.com> Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
This commit is contained in:
parent
522c0cc573
commit
a865a799ff
|
@ -240,6 +240,7 @@ PRODUCT_PACKAGES += \
|
||||||
init.cgroup.rc \
|
init.cgroup.rc \
|
||||||
init.connectivity.common.rc \
|
init.connectivity.common.rc \
|
||||||
init.connectivity.rc \
|
init.connectivity.rc \
|
||||||
|
init.gesture.sh \
|
||||||
init.insmod.sh \
|
init.insmod.sh \
|
||||||
init.insmod.mt6789.cfg \
|
init.insmod.mt6789.cfg \
|
||||||
init.modem.rc \
|
init.modem.rc \
|
||||||
|
|
|
@ -101,6 +101,12 @@ prebuilt_etc {
|
||||||
vendor: true
|
vendor: true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
sh_binary {
|
||||||
|
name: "init.gesture.sh",
|
||||||
|
src: "bin/init.gesture.sh",
|
||||||
|
vendor: true
|
||||||
|
}
|
||||||
|
|
||||||
sh_binary {
|
sh_binary {
|
||||||
name: "init.insmod.sh",
|
name: "init.insmod.sh",
|
||||||
src: "bin/init.insmod.sh",
|
src: "bin/init.insmod.sh",
|
||||||
|
|
2
rootdir/bin/init.gesture.sh
Normal file
2
rootdir/bin/init.gesture.sh
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
# Enable DT2W
|
||||||
|
echo cc1 > /proc/gesture_function
|
Loading…
Reference in a new issue