akita: Copy touch modules to vendor_kernel_boot
Makes touch work in recovery goodix_brl_touch requires heatmap & goog_touch_interface symbols too Co-authored-by: Nicholas Lim <nicknitewolf@lineageos.org> Co-authored-by: LuK1337 <priv.luk@gmail.com> Change-Id: Iaa5a158af827732b13ab79b60bed2f319ce56391
This commit is contained in:
parent
a4b0d6dc89
commit
fa546f6de1
6 changed files with 31 additions and 0 deletions
|
@ -5,3 +5,9 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
DEVICE_PRODUCT_COMPATIBILITY_MATRIX_FILE += $(DEVICE_PATH)/aam_compatibility_matrix.xml
|
DEVICE_PRODUCT_COMPATIBILITY_MATRIX_FILE += $(DEVICE_PATH)/aam_compatibility_matrix.xml
|
||||||
|
|
||||||
|
# Kernel modules
|
||||||
|
BOARD_VENDOR_KERNEL_RAMDISK_KERNEL_MODULES_BLOCKLIST_FILE := $(DEVICE_PATH)/modules.blocklist.vendor_kernel_boot
|
||||||
|
BOARD_VENDOR_KERNEL_RAMDISK_KERNEL_MODULES_LOAD_RAW := $(strip $(shell cat $(DEVICE_PATH)/modules.load.vendor_kernel_boot))
|
||||||
|
BOARD_VENDOR_KERNEL_RAMDISK_KERNEL_MODULES_LOAD += $(BOARD_VENDOR_KERNEL_RAMDISK_KERNEL_MODULES_LOAD_RAW)
|
||||||
|
BOARD_VENDOR_KERNEL_RAMDISK_KERNEL_MODULES += $(addprefix $(KERNEL_MODULE_DIR)/, $(notdir $(BOARD_VENDOR_KERNEL_RAMDISK_KERNEL_MODULES_LOAD_RAW)))
|
||||||
|
|
11
akita/Android.bp
Normal file
11
akita/Android.bp
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
//
|
||||||
|
// SPDX-FileCopyrightText: 2024 The LineageOS Project
|
||||||
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
|
//
|
||||||
|
|
||||||
|
prebuilt_etc {
|
||||||
|
name: "init.recovery.akita.touch.rc",
|
||||||
|
src: "init.recovery.touch.rc",
|
||||||
|
sub_dir: "init",
|
||||||
|
recovery: true,
|
||||||
|
}
|
|
@ -12,3 +12,7 @@ PRODUCT_PACKAGES += \
|
||||||
PixelDisplayServiceOverlayAkita
|
PixelDisplayServiceOverlayAkita
|
||||||
|
|
||||||
TARGET_VENDOR_PROP += $(DEVICE_PATH)/$(DEVICE_CODENAME)/vendor.prop
|
TARGET_VENDOR_PROP += $(DEVICE_PATH)/$(DEVICE_CODENAME)/vendor.prop
|
||||||
|
|
||||||
|
# Init
|
||||||
|
PRODUCT_PACKAGES += \
|
||||||
|
init.recovery.akita.touch.rc
|
||||||
|
|
4
akita/init.recovery.touch.rc
Normal file
4
akita/init.recovery.touch.rc
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
on init
|
||||||
|
insmod /lib/modules/heatmap.ko
|
||||||
|
insmod /lib/modules/goog_touch_interface.ko
|
||||||
|
insmod /lib/modules/goodix_brl_touch.ko
|
3
modules.blocklist.vendor_kernel_boot
Normal file
3
modules.blocklist.vendor_kernel_boot
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
blocklist heatmap
|
||||||
|
blocklist goog_touch_interface
|
||||||
|
blocklist goodix_brl_touch
|
3
modules.load.vendor_kernel_boot
Normal file
3
modules.load.vendor_kernel_boot
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
extra/private/google-modules/touch/common/heatmap.ko
|
||||||
|
extra/private/google-modules/touch/common/goog_touch_interface.ko
|
||||||
|
extra/private/google-modules/touch/goodix/goodix_brl_touch.ko
|
Loading…
Add table
Add a link
Reference in a new issue