summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcodeworkx <codeworkx@cyanogenmod.org>2013-03-13 17:00:06 +0000
committercodeworkx <codeworkx@cyanogenmod.org>2013-03-13 17:00:06 +0000
commit993cbfb1a7a1b5da53bd3aaee92cd0d84bbb2dfa (patch)
tree2ca493617ce1f9b7b80d16c46ebf0cc107f0c7f9
parenteb026762b713e43135b543e509540dee0bb81043 (diff)
downloaddevice_samsung_smdk4412-common-993cbfb1a7a1b5da53bd3aaee92cd0d84bbb2dfa.zip
device_samsung_smdk4412-common-993cbfb1a7a1b5da53bd3aaee92cd0d84bbb2dfa.tar.gz
device_samsung_smdk4412-common-993cbfb1a7a1b5da53bd3aaee92cd0d84bbb2dfa.tar.bz2
smdk4412-common: add camera firmwares for all 4412 devices
Change-Id: I63b69670aebacf9ca672e000eccde1a524319e73
-rw-r--r--common.mk4
-rw-r--r--configs/80cfw15
-rw-r--r--proprietary-files.txt6
3 files changed, 25 insertions, 0 deletions
diff --git a/common.mk b/common.mk
index 365ff13..398d203 100644
--- a/common.mk
+++ b/common.mk
@@ -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