summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcodeworkx <codeworkx@cyanogenmod.com>2012-11-11 15:18:10 +0100
committercodeworkx <codeworkx@cyanogenmod.com>2012-11-11 15:18:10 +0100
commitd3e2dbfacbb321c54b7cf5b3008071f080541d36 (patch)
tree53cd1438154a74b4f20a0d0c36ec20bf11e40c94
parent29293e065810f39651baa588e903f776976962f6 (diff)
downloaddevice_samsung_n7100-d3e2dbfacbb321c54b7cf5b3008071f080541d36.zip
device_samsung_n7100-d3e2dbfacbb321c54b7cf5b3008071f080541d36.tar.gz
device_samsung_n7100-d3e2dbfacbb321c54b7cf5b3008071f080541d36.tar.bz2
copy camera fw to data/cfw
-rw-r--r--configs/80cfw10
-rw-r--r--n7100.mk4
2 files changed, 14 insertions, 0 deletions
diff --git a/configs/80cfw b/configs/80cfw
new file mode 100644
index 0000000..d7cc4f0
--- /dev/null
+++ b/configs/80cfw
@@ -0,0 +1,10 @@
+#!/system/bin/sh
+#
+# Copy camera firmware to /data/cfw
+#
+
+busybox cp /system/vendor/firmware/SlimISP_GD.bin /data/cfw/SlimISP_GK.bin
+busybox cp /system/vendor/firmware/SlimISP_ZD.bin /data/cfw/SlimISP_ZK.bin
+busybox chown system /data/cfw/*
+busybox chgrp media /data/cfw/*
+busybox chmod 0775 /data/cfw/*
diff --git a/n7100.mk b/n7100.mk
index 826f2a6..1ee96fa 100644
--- a/n7100.mk
+++ b/n7100.mk
@@ -44,6 +44,10 @@ PRODUCT_COPY_FILES += \
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/configs/gps.xml:system/etc/gps.xml
+# Camera FW
+PRODUCT_COPY_FILES += \
+ $(LOCAL_PATH)/configs/80cfw:system/etc/init.d/80cfw
+
# Product specific Packages
PRODUCT_PACKAGES += \
GalaxyNote2Settings \