added the missing 00check file and put it in the call to device files
diff --git a/prebuilt/common/etc/init.d/00check b/prebuilt/common/etc/init.d/00check
new file mode 100755
index 0000000..c854862
--- /dev/null
+++ b/prebuilt/common/etc/init.d/00check
@@ -0,0 +1,68 @@
+#!/system/xbin/ash
+: '
+ ============ Copyright (C) 2010 Jared Rummler (JRummy16) ============
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+ =====================================================================
+'
+
+if busybox [ ! -f /system/etc/liberty.cfg ]; then
+ busybox mount -o remount,rw /system
+ cat > /system/etc/liberty.cfg << EOF
+SD_BOOST_AT_BOOT=1
+READ_AHEAD_KB=2048
+ENABLE_CRON=0
+FIX_PERMISSIONS_AT_BOOT=0
+ZIPALIGN_AT_BOOT=0
+REMOVE_CACHE=0
+ENABLE_SYSCTL=0
+FREE_MEM_AT_BOOT=0
+# MEMORY THRESHOLDS
+FOREGROUND_APP_MEM=2048
+VISIBLE_APP_MEM=3072
+PERCEPTIBLE_APP_MEM=4096
+HEAVY_WEIGHT_APP_MEM=4096
+SECONDARY_SERVER_MEM=6144
+BACKUP_APP_MEM=6144
+HOME_APP_MEM=6144
+HIDDEN_APP_MEM=7168
+EMPTY_APP_MEM=8192
+EOF
+busybox mount -o remount,ro /system
+fi
+if busybox [ ! -f /system/etc/init_trigger.enabled ]; then
+ busybox mount -o remount,rw /system
+ cat > /system/etc/liberty.cfg << EOF
+SD_BOOST_AT_BOOT=0
+READ_AHEAD_KB=2048
+ENABLE_CRON=0
+FIX_PERMISSIONS_AT_BOOT=0
+ZIPALIGN_AT_BOOT=0
+REMOVE_CACHE=0
+ENABLE_SYSCTL=0
+FREE_MEM_AT_BOOT=0
+# MEMORY THRESHOLDS
+FOREGROUND_APP_MEM=2048
+VISIBLE_APP_MEM=3072
+PERCEPTIBLE_APP_MEM=4096
+HEAVY_WEIGHT_APP_MEM=4096
+SECONDARY_SERVER_MEM=6144
+BACKUP_APP_MEM=6144
+HOME_APP_MEM=6144
+HIDDEN_APP_MEM=7168
+EMPTY_APP_MEM=8192
+EOF
+busybox mount -o remount,ro /system
+fi
diff --git a/prebuilt/kernel/i9000/system/etc/init.d/00check b/prebuilt/kernel/i9000/system/etc/init.d/00check
new file mode 100755
index 0000000..dd3ebec
--- /dev/null
+++ b/prebuilt/kernel/i9000/system/etc/init.d/00check
@@ -0,0 +1,66 @@
+#!/system/xbin/ash
+: '
+ ============ Copyright (C) 2010 Jared Rummler (JRummy16) ============
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+ =====================================================================
+'
+
+if busybox [ ! -f /system/etc/liberty.cfg ]; then
+ busybox mount -o remount,rw /system
+ cat > /system/etc/liberty.cfg << EOF
+SD_BOOST_AT_BOOT=1
+READ_AHEAD_KB=2048
+ENABLE_CRON=0
+FIX_PERMISSIONS_AT_BOOT=0
+ZIPALIGN_AT_BOOT=0
+REMOVE_CACHE=0
+ENABLE_SYSCTL=0
+FREE_MEM_AT_BOOT=0
+# MEMORY THRESHOLDS
+FOREGROUND_APP_MEM=2048
+VISIBLE_APP_MEM=3072
+PERCEPTIBLE_APP_MEM=4096
+HEAVY_WEIGHT_APP_MEM=4096
+SECONDARY_SERVER_MEM=6144
+BACKUP_APP_MEM=6144
+HOME_APP_MEM=6144
+HIDDEN_APP_MEM=7168
+EMPTY_APP_MEM=8192
+EOF
+fi
+if busybox [ ! -f /system/etc/init_trigger.enabled ]; then
+ busybox mount -o remount,rw /system
+ cat > /system/etc/liberty.cfg << EOF
+SD_BOOST_AT_BOOT=0
+READ_AHEAD_KB=2048
+ENABLE_CRON=0
+FIX_PERMISSIONS_AT_BOOT=0
+ZIPALIGN_AT_BOOT=0
+REMOVE_CACHE=0
+ENABLE_SYSCTL=0
+FREE_MEM_AT_BOOT=0
+# MEMORY THRESHOLDS
+FOREGROUND_APP_MEM=2048
+VISIBLE_APP_MEM=3072
+PERCEPTIBLE_APP_MEM=4096
+HEAVY_WEIGHT_APP_MEM=4096
+SECONDARY_SERVER_MEM=6144
+BACKUP_APP_MEM=6144
+HOME_APP_MEM=6144
+HIDDEN_APP_MEM=7168
+EMPTY_APP_MEM=8192
+EOF
+fi
diff --git a/products/slim_crespo.mk b/products/slim_crespo.mk
index 3b27c1d..2c1dc46 100644
--- a/products/slim_crespo.mk
+++ b/products/slim_crespo.mk
@@ -22,13 +22,18 @@
vendor/slim/prebuilt/kernel/crespo/system/lib/hw/lights.s5pc110.so:system/lib/hw/lights.s5pc110.so \
vendor/slim/prebuilt/kernel/crespo/system/modules/scsi_wait_scan.ko:system/modules/scsi_wait_scan.ko
-
+#bootanimation
PRODUCT_COPY_FILES += \
vendor/slim/prebuilt/hdpi/bootanimation.zip:system/media/bootanimation.zip
+#set camera info
PRODUCT_PROPERTY_OVERRIDES += \
ro.camera.res=5MP
+#copy 00check
+PRODUCT_COPY_FILES += \
+ vendor/slim/prebuilt/common/etc/init.d/00check:system/etc/init.d/00check
+
# Release name
PRODUCT_RELEASE_NAME := NS
diff --git a/products/slim_crespo4g.mk b/products/slim_crespo4g.mk
index 9bdf012..e253b7b 100644
--- a/products/slim_crespo4g.mk
+++ b/products/slim_crespo4g.mk
@@ -22,12 +22,18 @@
vendor/slim/prebuilt/kernel/crespo4g/system/lib/hw/lights.s5pc110.so:system/lib/hw/lights.s5pc110.so \
vendor/slim/prebuilt/kernel/crespo4g/system/modules/scsi_wait_scan.ko:system/modules/scsi_wait_scan.ko
+#bootanimation
PRODUCT_COPY_FILES += \
vendor/slim/prebuilt/hdpi/bootanimation.zip:system/media/bootanimation.zip
+#camera info
PRODUCT_PROPERTY_OVERRIDES += \
ro.camera.res=5MP
+#copy 00check
+PRODUCT_COPY_FILES += \
+ vendor/slim/prebuilt/common/etc/init.d/00check:system/etc/init.d/00check
+
# Release name
PRODUCT_RELEASE_NAME := NS4G
diff --git a/products/slim_d2att.mk b/products/slim_d2att.mk
index 30b020e..c3db72e 100644
--- a/products/slim_d2att.mk
+++ b/products/slim_d2att.mk
@@ -33,6 +33,10 @@
vendor/slim/prebuilt/kernel/d2-common/system/xbin/ffc:system/xbin/ffc \
vendor/slim/prebuilt/kernel/d2-common/system/xbin/stocktherm:system/xbin/stocktherm
+#copy 00check
+PRODUCT_COPY_FILES += \
+ vendor/slim/prebuilt/common/etc/init.d/00check:system/etc/init.d/00check
+
PRODUCT_BUILD_PROP_OVERRIDES += PRODUCT_NAME=d2uc TARGET_DEVICE=d2att BUILD_FINGERPRINT="d2att-userdebug 4.1.1 JRO03L eng.ar.20120827.191311 release-keys"
PRIVATE_BUILD_DESC="samsung/full_d2att/d2att:4.1.1/JRO03L/eng.ar.20120827.191311:userdebug/release-keys"
diff --git a/products/slim_d2vzw.mk b/products/slim_d2vzw.mk
index 2d46c2a..a576901 100644
--- a/products/slim_d2vzw.mk
+++ b/products/slim_d2vzw.mk
@@ -30,6 +30,11 @@
vendor/slim/prebuilt/kernel/d2-common/system/xbin/ffc:system/xbin/ffc \
vendor/slim/prebuilt/kernel/d2-common/system/xbin/stocktherm:system/xbin/stocktherm
+#copy 00check
+PRODUCT_COPY_FILES += \
+ vendor/slim/prebuilt/common/etc/init.d/00check:system/etc/init.d/00check
+
+#bootanimation
PRODUCT_COPY_FILES += \
vendor/slim/prebuilt/hdpi/bootanimation.zip:system/media/bootanimation.zip
diff --git a/products/slim_galaxysmtd.mk b/products/slim_galaxysmtd.mk
index 6da1ee8..8f57f31 100644
--- a/products/slim_galaxysmtd.mk
+++ b/products/slim_galaxysmtd.mk
@@ -30,6 +30,10 @@
PRODUCT_PROPERTY_OVERRIDES += \
ro.camera.res=5MP
+#copy 00check
+PRODUCT_COPY_FILES += \
+ vendor/slim/prebuilt/kernel/i9000/system/etc/init.d/00check:system/etc/init.d/00check
+
## Device identifier. This must come after all inclusions
PRODUCT_DEVICE := galaxysmtd
PRODUCT_NAME := slim_galaxysmtd
diff --git a/products/slim_grouper.mk b/products/slim_grouper.mk
index cb00ff8..d4fab59 100644
--- a/products/slim_grouper.mk
+++ b/products/slim_grouper.mk
@@ -12,6 +12,10 @@
PRODUCT_PROPERTY_OVERRIDES += \
ro.camera.res=5MP
+#copy 00check
+PRODUCT_COPY_FILES += \
+ vendor/slim/prebuilt/common/etc/init.d/00check:system/etc/init.d/00check
+
# Release name
PRODUCT_RELEASE_NAME := Nexus7
diff --git a/products/slim_i9100.mk b/products/slim_i9100.mk
index fa6fa7c..f3e1874 100644
--- a/products/slim_i9100.mk
+++ b/products/slim_i9100.mk
@@ -42,6 +42,10 @@
vendor/slim/prebuilt/kernel/i9100/system/lib/modules/dhd.ko:system/lib/modules/dhd.ko \
vendor/slim/prebuilt/kernel/i9100/system/lib/modules/driver.ko:system/lib/modules/driver.ko
+#copy 00check
+PRODUCT_COPY_FILES += \
+ vendor/slim/prebuilt/common/etc/init.d/00check:system/etc/init.d/00check
+
# Device identifier. This must come after all inclusions
PRODUCT_DEVICE := i9100
PRODUCT_NAME := slim_i9100
diff --git a/products/slim_i9300.mk b/products/slim_i9300.mk
index dade053..b2decc9 100644
--- a/products/slim_i9300.mk
+++ b/products/slim_i9300.mk
@@ -20,6 +20,10 @@
PRODUCT_COPY_FILES += \
vendor/slim/prebuilt/hdpi/bootanimation.zip:system/media/bootanimation.zip
+#copy 00check
+PRODUCT_COPY_FILES += \
+ vendor/slim/prebuilt/common/etc/init.d/00check:system/etc/init.d/00check
+
#copy kernel and modules
PRODUCT_COPY_FILES += \
vendor/slim/prebuilt/kernel/i9300/boot.img:system/slimkernel/boot.img \
diff --git a/products/slim_maguro.mk b/products/slim_maguro.mk
index 7847416..c4471f8 100644
--- a/products/slim_maguro.mk
+++ b/products/slim_maguro.mk
@@ -16,6 +16,10 @@
PRODUCT_COPY_FILES += \
vendor/slim/prebuilt/hdpi/bootanimation.zip:system/media/bootanimation.zip
+#copy 00check
+PRODUCT_COPY_FILES += \
+ vendor/slim/prebuilt/common/etc/init.d/00check:system/etc/init.d/00check
+
PRODUCT_PROPERTY_OVERRIDES += \
ro.camera.res=5MP
diff --git a/products/slim_toro.mk b/products/slim_toro.mk
index d01e401..d522526 100644
--- a/products/slim_toro.mk
+++ b/products/slim_toro.mk
@@ -16,6 +16,10 @@
PRODUCT_PROPERTY_OVERRIDES += \
ro.camera.res=5MP
+#copy 00check
+PRODUCT_COPY_FILES += \
+ vendor/slim/prebuilt/common/etc/init.d/00check:system/etc/init.d/00check
+
# Release name
PRODUCT_RELEASE_NAME := GN-VZN
diff --git a/products/slim_toroplus.mk b/products/slim_toroplus.mk
index 99b43ba..141e43b 100644
--- a/products/slim_toroplus.mk
+++ b/products/slim_toroplus.mk
@@ -13,6 +13,10 @@
PRODUCT_COPY_FILES += \
vendor/slim/prebuilt/hdpi/bootanimation.zip:system/media/bootanimation.zip
+#copy 00check
+PRODUCT_COPY_FILES += \
+ vendor/slim/prebuilt/common/etc/init.d/00check:system/etc/init.d/00check
+
PRODUCT_PROPERTY_OVERRIDES += \
ro.camera.res=5MP
diff --git a/products/slim_vibrantmtd.mk b/products/slim_vibrantmtd.mk
index 745ec1f..7da265a 100644
--- a/products/slim_vibrantmtd.mk
+++ b/products/slim_vibrantmtd.mk
@@ -30,6 +30,10 @@
PRODUCT_PROPERTY_OVERRIDES += \
ro.camera.res=5MP
+#copy 00check
+PRODUCT_COPY_FILES += \
+ vendor/slim/prebuilt/kernel/i9000/system/etc/init.d/00check:system/etc/init.d/00check
+
## Device identifier. This must come after all inclusions
PRODUCT_DEVICE := vibrantmtd