summaryrefslogtreecommitdiffstats
path: root/configs
diff options
context:
space:
mode:
Diffstat (limited to 'configs')
-rw-r--r--configs/80cfw15
1 files changed, 15 insertions, 0 deletions
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/*