aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRamii Ahmed <ramy@ahmedramy.com>2022-03-01 08:20:05 -0300
committersinanmohd <pcmsinan@gmail.com>2023-01-05 21:30:23 +0530
commit1a421648db04be4a6c315235bb39cc41a073801a (patch)
tree375c3719e0ebeb37888ac134fab2f460ffb0b111
parent5620b86eaf9c66a19a695875af433ecd62de9603 (diff)
veux: Extract touchscreen firmware for recovery
-rw-r--r--proprietary-files.txt2
-rwxr-xr-xsetup-makefiles.sh2
2 files changed, 4 insertions, 0 deletions
diff --git a/proprietary-files.txt b/proprietary-files.txt
index d020847..c3f8b33 100644
--- a/proprietary-files.txt
+++ b/proprietary-files.txt
@@ -1482,6 +1482,8 @@ vendor/lib64/libtime_genoff.so
# Touchscreen firmware
vendor/firmware/goodix_cfg_group.bin
vendor/firmware/goodix_firmware.bin
+vendor/firmware/goodix_cfg_group.bin:recovery/root/vendor/firmware/goodix_cfg_group.bin
+vendor/firmware/goodix_firmware.bin:recovery/root/vendor/firmware/goodix_firmware.bin
# Thermal
vendor/bin/mi_thermald
diff --git a/setup-makefiles.sh b/setup-makefiles.sh
index ba8a6ec..2c1f7db 100755
--- a/setup-makefiles.sh
+++ b/setup-makefiles.sh
@@ -31,5 +31,7 @@ write_headers
write_makefiles "${MY_DIR}/proprietary-files.txt" true
+ echo "TARGET_RECOVERY_DEVICE_DIRS += vendor/$VENDOR/$DEVICE/proprietary" >> "$BOARDMK"
+
# Finish
write_footers \ No newline at end of file