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:
fjrXTR 2024-08-13 19:41:22 +08:00 committed by Shirayuki39
parent 522c0cc573
commit a865a799ff
3 changed files with 9 additions and 0 deletions

View file

@ -240,6 +240,7 @@ PRODUCT_PACKAGES += \
init.cgroup.rc \
init.connectivity.common.rc \
init.connectivity.rc \
init.gesture.sh \
init.insmod.sh \
init.insmod.mt6789.cfg \
init.modem.rc \

View file

@ -101,6 +101,12 @@ prebuilt_etc {
vendor: true
}
sh_binary {
name: "init.gesture.sh",
src: "bin/init.gesture.sh",
vendor: true
}
sh_binary {
name: "init.insmod.sh",
src: "bin/init.insmod.sh",

View file

@ -0,0 +1,2 @@
# Enable DT2W
echo cc1 > /proc/gesture_function