diff options
-rw-r--r-- | common.mk | 4 | ||||
-rw-r--r-- | configs/80cfw | 15 | ||||
-rw-r--r-- | proprietary-files.txt | 6 |
3 files changed, 25 insertions, 0 deletions
@@ -38,6 +38,10 @@ PRODUCT_COPY_FILES += \ $(COMMON_PATH)/configs/audio_effects.conf:system/etc/audio_effects.conf \ $(COMMON_PATH)/configs/audio_policy.conf:system/etc/audio_policy.conf +# Camera FW +PRODUCT_COPY_FILES += \ + $(COMMON_PATH)/configs/80cfw:system/etc/init.d/80cfw + # Vold and Storage PRODUCT_COPY_FILES += \ $(COMMON_PATH)/configs/vold.fstab:system/etc/vold.fstab diff --git a/configs/80cfw b/configs/80cfw new file mode 100644 index 0000000..637142d --- /dev/null +++ b/configs/80cfw @@ -0,0 +1,15 @@ +#!/system/bin/sh +# +# Copy camera firmware to /data/cfw +# + +busybox cp /system/vendor/firmware/SlimISP_GD.bin /data/cfw/SlimISP_GD.bin +busybox cp /system/vendor/firmware/SlimISP_GH.bin /data/cfw/SlimISP_GH.bin +busybox cp /system/vendor/firmware/SlimISP_GK.bin /data/cfw/SlimISP_GK.bin +busybox cp /system/vendor/firmware/SlimISP_ZD.bin /data/cfw/SlimISP_ZD.bin +busybox cp /system/vendor/firmware/SlimISP_ZH.bin /data/cfw/SlimISP_ZH.bin +busybox cp /system/vendor/firmware/SlimISP_ZK.bin /data/cfw/SlimISP_ZK.bin + +busybox chown system /data/cfw/* +busybox chgrp media /data/cfw/* +busybox chmod 0775 /data/cfw/* diff --git a/proprietary-files.txt b/proprietary-files.txt index b3b777a..704b402 100644 --- a/proprietary-files.txt +++ b/proprietary-files.txt @@ -82,6 +82,12 @@ system/usr/idc/melfas_ts.idc system/usr/idc/sec_touchscreen.idc system/usr/keylayout/gpio-keys.kl system/usr/keylayout/sii9234_rcp.kl +system/vendor/firmware/SlimISP_GD.bin +system/vendor/firmware/SlimISP_GH.bin +system/vendor/firmware/SlimISP_GK.bin +system/vendor/firmware/SlimISP_ZD.bin +system/vendor/firmware/SlimISP_ZH.bin +system/vendor/firmware/SlimISP_ZK.bin system/vendor/firmware/fimc_is_fw.bin system/vendor/firmware/mfc_fw.bin system/vendor/firmware/setfile.bin |