tegu: Copy touch modules to vendor_kernel_boot

Makes touch work in recovery
syna_touch requires heatmap & goog_touch_interface symbols

Co-authored-by: Nicholas Lim <nicknitewolf@lineageos.org>
Co-authored-by: LuK1337 <priv.luk@gmail.com>
Change-Id: Iaa5a158af827732b13ab79b60bed2f319ce56391
This commit is contained in:
Michael Bestas 2022-08-13 04:25:09 +03:00
parent 823e79a235
commit f82943be7b
No known key found for this signature in database
6 changed files with 31 additions and 0 deletions

11
tegu/Android.bp Normal file
View file

@ -0,0 +1,11 @@
//
// SPDX-FileCopyrightText: 2024 The LineageOS Project
// SPDX-License-Identifier: Apache-2.0
//
prebuilt_etc {
name: "init.recovery.tegu.touch.rc",
src: "init.recovery.touch.rc",
sub_dir: "init",
recovery: true,
}

View file

@ -12,3 +12,7 @@ PRODUCT_PACKAGES += \
PixelDisplayServiceOverlayTegu
TARGET_VENDOR_PROP += $(DEVICE_PATH)/$(DEVICE_CODENAME)/vendor.prop
# Init
PRODUCT_PACKAGES += \
init.recovery.tegu.touch.rc

View file

@ -0,0 +1,4 @@
on init
insmod /lib/modules/heatmap.ko
insmod /lib/modules/goog_touch_interface.ko
insmod /lib/modules/syna_touch.ko