Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Revert "Revert "Fixed slim.mk & slim.dependencies""

This reverts commit c82b2bb.
  • Loading branch information...
commit 13f975c3c554c27cc4afaf9ba031b419074793e8 1 parent c82b2bb
@mnm9994u authored
View
BIN  prebuilt/kernel/boot.img
Binary file not shown
View
62 prebuilt/kernel/system/etc/init.d/00check
@@ -0,0 +1,62 @@
+#!/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
View
BIN  prebuilt/kernel/system/lib/modules/ansi_cprng.ko
Binary file not shown
View
BIN  prebuilt/kernel/system/lib/modules/cifs.ko
Binary file not shown
View
BIN  prebuilt/kernel/system/lib/modules/dhd.ko
Binary file not shown
View
BIN  prebuilt/kernel/system/lib/modules/driver.ko
Binary file not shown
View
BIN  prebuilt/kernel/system/lib/modules/mls_utf8.ko
Binary file not shown
View
BIN  prebuilt/kernel/system/lib/modules/nls_utf8.ko
Binary file not shown
View
BIN  prebuilt/kernel/system/lib/modules/scsi_wait.ko
Binary file not shown
View
BIN  proprietary/modem.bin
Binary file not shown
View
17 slim.dependencies
@@ -0,0 +1,17 @@
+ [
+ {
+ "repository": "SlimRoms/device_samsung_aries-common",
+ "target_path": "device/samsung/aries-common",
+ "branch": "jb"
+ },
+ {
+ "repository": "SlimRoms/device_samsung_galaxysmtd",
+ "target_path": "device/samsung/galaxysmtd",
+ "branch": "jellybean"
+ },
+ {
+ "repository": "TheMuppets/proprietary_vendor_samsung",
+ "target_path": "vendor/samsung",
+ "branch": "jellybean"
+ }
+]
View
44 slim.mk
@@ -0,0 +1,44 @@
+## Specify phone tech before including full_phone
+$(call inherit-product, vendor/slim/config/gsm.mk)
+
+# Release name
+PRODUCT_RELEASE_NAME := GalaxyS
+
+# Inherit some common slim stuff.
+$(call inherit-product, vendor/slim/config/common_full_phone.mk)
+
+# Inherit device configuration
+$(call inherit-product, device/samsung/galaxysmtd/full_galaxysmtd.mk)
+
+# Inherit device settings
+$(call inherit-product, vendor/slim/config/common_sgs.mk)
+
+#copy kernel and modules
+PRODUCT_COPY_FILES += \
+device/samsung/galaxysmtd/prebuilt/kernel/boot.img:system/slimkernel/boot.img \
+device/samsung/galaxysmtd/prebuilt/kernel/boot.img:kernel \
+ device/samsung/aries-common/recovery.fstab:ramdisk.img \
+ device/samsung/aries-common/recovery.fstab:recovery/root/etc/recovery.fstab \
+device/samsung/galaxysmtd/prebuilt/kernel/system/lib/modules/ansi_cprng.ko:system/lib/modules/ansi_cprng.ko \
+device/samsung/galaxysmtd/prebuilt/kernel/system/lib/modules/cifs.ko:system/lib/modules/cifs.ko \
+device/samsung/galaxysmtd/prebuilt/kernel/system/lib/modules/mls_utf8.ko:system/lib/modules/mls_utf8.ko \
+device/samsung/galaxysmtd/prebuilt/kernel/system/lib/modules/nls_utf8.ko:system/lib/modules/nls_utf8.ko
+
+PRODUCT_COPY_FILES += \
+ vendor/slim/prebuilt/hdpi/bootanimation.zip:system/media/bootanimation.zip
+
+PRODUCT_PROPERTY_OVERRIDES += \
+ ro.camera.res=5MP
+
+#copy 00check
+PRODUCT_COPY_FILES += \
+device/samsung/galaxysmtd/prebuilt/kernel/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
+PRODUCT_BRAND := samsung
+PRODUCT_MODEL := GT-I9000
+
+#Set build fingerprint / ID / Prduct Name ect.
+PRODUCT_BUILD_PROP_OVERRIDES += PRODUCT_NAME=GT-I9000 TARGET_DEVICE=GT-I9000 BUILD_FINGERPRINT=samsung/GT-I9000/GT-I9000:4.1.1/JRO03L:user/release-keys PRIVATE_BUILD_DESC="GT-I9000-userdebug 4.1.1 JRO03L user.ar.20120828.002056 release-keys"
Please sign in to comment.
Something went wrong with that request. Please try again.