Permalink
Browse files

Clean up vendor

  • Loading branch information...
1 parent f7a6460 commit 80843403e721f1d83166ab30328a809db0886c29 @xoomdev xoomdev committed Aug 8, 2011
@@ -1,33 +0,0 @@
-#!/system/bin/sh
-#
-# Compcache manager
-# shade@chemlab.org (cyanogen)
-#
-
-DEV=/dev/block/ramzswap0
-MODULE=ramzswap
-MODULES_DIR=/system/modules/lib/modules/`uname -r`
-
-case "$1" in
- start)
- echo 3 > /proc/sys/vm/drop_caches
- echo 30 > /proc/sys/vm/swappiness
- modprobe $MODULE
- rzscontrol $DEV --disksize_kb=$2 --init
- swapon $DEV
- ;;
-
- stop)
- swapoff $DEV >/dev/null 2>&1
- rmmod $MODULE >/dev/null 2>&1
- ;;
- stats)
- rzscontrol $DEV --stats
- ;;
- *)
- echo "Usage: $0 {start <size>|stop|stats}"
- exit 1
-esac
-
-exit 0
-
@@ -1,31 +0,0 @@
-#!/system/bin/sh
-#
-# Compcache handler
-# Decides whether or not Compcache is enabled
-#
-MEMTOTAL=$( awk '{ if ($1 eq "MemTotal:") print $2 ;exit }' </proc/meminfo )
-
-if [ `getprop persist.service.compcache` == 1 ];
-then
- PROP=`getprop ro.compcache.default`
- setprop persist.service.compcache $PROP
-fi
-
-if [ -e /data/property/persist.service.compcache ];
-then
- PROP=`getprop persist.service.compcache`
-else
- PROP=`getprop ro.compcache.default`
- setprop persist.service.compcache $PROP
-fi
-
-if [ $PROP != 0 ]
-then
- CCSIZE=$(($(($MEMTOTAL * $PROP)) / 100))
- `dirname $0`/compcache start $CCSIZE
-else
- `dirname $0`/compcache stop
-fi
-
-exit 0
-
@@ -1,7 +0,0 @@
-# CyanogenMod Extras
-
-# Compcache - handle at boot
-service compcache /system/bin/handle_compcache
- user root
- group root
- oneshot
Binary file not shown.
@@ -1,2 +0,0 @@
-fix_permissions
-
@@ -1,2 +0,0 @@
-echo /dev/block/mmcblk0p3 > /sys/devices/platform/usb_mass_storage/lun1/file
-echo /dev/block/mmcblk1p1 > /sys/devices/platform/usb_mass_storage/lun0/file
@@ -1 +0,0 @@
-mount -o remount,rw /dev/stl6/system /system
@@ -1 +0,0 @@
-reboot recovery
@@ -1,2 +0,0 @@
-df
-
@@ -1 +0,0 @@
-busybox ifconfig
@@ -1,2 +0,0 @@
-uptime
-
@@ -1,2 +0,0 @@
-echo "" > /sys/devices/platform/usb_mass_storage/lun1/file
-echo "" > /sys/devices/platform/usb_mass_storage/lun0/file
Deleted file not rendered
Deleted file not rendered
Binary file not shown.
Binary file not shown.
Binary file not shown.
View
@@ -1,4 +1,3 @@
-
# Generic OMFGB product
PRODUCT_NAME := OMFGB
PRODUCT_BRAND := OMFGB
@@ -10,6 +9,7 @@ include frameworks/base/data/sounds/AllAudio.mk
PRODUCT_PROPERTY_OVERRIDES += \
ro.config.ringtone=DonMessWivIt.ogg
+PRODUCT_BUILD_PROP_OVERRIDES += BUILD_UTC_DATE=0
# Used by BusyBox
KERNEL_MODULES_DIR:=/system/lib/modules
@@ -56,8 +56,6 @@ PRODUCT_COPY_FILES += \
vendor/omfgb/prebuilt/common/etc/init.d/04modules:system/etc/init.d/04modules \
vendor/omfgb/prebuilt/common/etc/init.d/06mountdl:system/etc/init.d/06mountdl \
vendor/omfgb/prebuilt/common/etc/init.d/20userinit:system/etc/init.d/20userinit \
- vendor/omfgb/prebuilt/common/bin/handle_compcache:system/bin/handle_compcache \
- vendor/omfgb/prebuilt/common/bin/compcache:system/bin/compcache \
vendor/omfgb/prebuilt/common/bin/fix_permissions:system/bin/fix_permissions \
vendor/omfgb/prebuilt/common/bin/sysinit:system/bin/sysinit \
vendor/omfgb/prebuilt/common/xbin/htop:system/xbin/htop \
View
@@ -1,2 +1,8 @@
+# This makefile is called by switching to full-version mode by running
+# . vendor/switch.sh
+
+# Stable release version
build-version := 1.3.1
+
+# Will output OMFGB_<device>-<version-number>
product-version := $(build-name)-$(build-version)
View
@@ -1,3 +1,5 @@
+# Packages, prebuilts, and overlays for GSM devices.
+
# GSM APN list
PRODUCT_COPY_FILES += \
vendor/omfgb/prebuilt/common/etc/apns-conf.xml:system/etc/apns-conf.xml
@@ -1,4 +1,7 @@
$(call inherit-product, vendor/omfgb/products/nightly.mk)
+# Stable version base, plus shell date
build-version := 1.3.1_nightly-$(shell date +%m-%d)
+
+# Will output OMFGB_<device>-<version-number>
product-version := $(build-name)-$(build-version)
View
@@ -1,5 +1,7 @@
+# This makefile is called by switching to nightly mode by running
+# . vendor/switch.sh
+
# Pre release overlay
PRODUCT_PACKAGE_OVERLAYS += vendor/omfgb/overlay/nightly
-PRODUCT_COPY_FILES += \
View
@@ -13,11 +13,14 @@ PRODUCT_MODEL := ADR6400L
PRODUCT_MANUFACTURER := HTC
PRODUCT_BUILD_PROP_OVERRIDES += BUILD_DISPLAY_ID=$(build-version) PRODUCT_NAME=htc_mecha BUILD_ID=FRG83D BUILD_FINGERPRINT=verizon_wwe/htc_mecha/mecha/mecha:2.2.1/FRG83D/343953:user/release-keys PRIVATE_BUILD_DESC="1.70.605.0 CL343953 release-keys"
-# Add the mecha specific product packages
-PRODUCT_PACKAGES += \
- Stk \
- Torch \
- AicBootFix
+# Add the Torch app
+PRODUCT_PACKAGES += Torch
+
+# Add the Stk app
+PRODUCT_PACKAGES += Stk
+
+# Add AicBootFix
+PRODUCT_PACKAGES += AicBootFix
# Broadcom FM radio
$(call inherit-product, vendor/omfgb/products/bcm_fm_radio.mk)
@@ -15,9 +15,6 @@ PRODUCT_BUILD_PROP_OVERRIDES += BUILD_DISPLAY_ID=$(build-version) PRODUCT_NAME=m
PRODUCT_PROPERTY_OVERRIDES += ro.product.version=3.26.605.1
-# Add the Torch app
-#PRODUCT_PACKAGES += Torch
-
# Copy fascinate specific prebuilt files
PRODUCT_COPY_FILES += \
vendor/omfgb/prebuilt/hdpi/media/bootanimation.zip:system/media/bootanimation.zip
View
@@ -11,13 +11,14 @@ PRODUCT_DEVICE := shadow
PRODUCT_MODEL := DROIDX
PRODUCT_MANUFACTURER := Motorola
PRODUCT_BUILD_PROP_OVERRIDES := BUILD_ID=FRG83D BUILD_DISPLAY_ID=GRJ22 PRODUCT_NAME=shadow_vzw TARGET_DEVICE=shadow BUILD_FINGERPRINT=verizon/shadow_vzw/cdma_shadow/shadow:2.2.1/VZW/23.340:user/ota-rel-keys,release-keys PRODUCT_BRAND=verizon PRIVATE_BUILD_DESC="cdma_shadow-user 2.2.1 VZW 2.3.340 ota-rel-keys,release-keys" BUILD_NUMBER=2.3.340 BUILD_UTC_DATE=1289194863 TARGET_BUILD_TYPE=user BUILD_VERSION_TAGS=release-keys
+
PRODUCT_COPY_FILES += \
vendor/omfgb/prebuilt/shadow/system/lib/libbridge.so:system/lib/libbridge.so \
vendor/omfgb/prebuilt/shadow/system/lib/libLCML.so:system/lib/libLCML.so \
vendor/omfgb/prebuilt/shadow/system/lib/libstagefright.so:system/lib/libstagefright.so \
vendor/omfgb/prebuilt/shadow/system/app/LatinIME.apk:system/app/LatinIME.apk \
vendor/omfgb/prebuilt/shadow/system/app/Torch.apk:system/app/Torch.apk \
- vendor/omfgb/prebuilt/shadow/system/etc/init.d/25torchfix:system/etc/init.d/25torchfix
+ vendor/omfgb/prebuilt/shadow/system/etc/init.d/25torchfix:system/etc/init.d/25torchfix
PRODUCT_COPY_FILES += \
@@ -15,9 +15,6 @@ PRODUCT_BUILD_PROP_OVERRIDES += BUILD_DISPLAY_ID=$(build-version) PRODUCT_NAME=s
PRODUCT_PROPERTY_OVERRIDES += ro.product.version=3.26.605.1
-# Add the Torch app
-#PRODUCT_PACKAGES += Torch
-
# Copy fascinate specific prebuilt files
PRODUCT_COPY_FILES += \
vendor/omfgb/prebuilt/hdpi/media/bootanimation.zip:system/media/bootanimation.zip
View
@@ -13,18 +13,17 @@ PRODUCT_MODEL := Incredible 2
PRODUCT_MANUFACTURER := HTC
PRODUCT_BUILD_PROP_OVERRIDES += BUILD_DISPLAY_ID=$(build-version) PRODUCT_NAME=htc_vivow BUILD_ID=GRJ22 BUILD_FINGERPRINT=htc_wwe/htc_vivow/vivow:2.3.3/GRI40/47853:user/release-keys PRIVATE_BUILD_DESC="2.36.405.8 CL47853 release-keys"
-# Add the vivow specific product packages
-PRODUCT_PACKAGES += \
- Stk \
- Torch \
- AicBootFix
+# Add the Torch App
+PRODUCT_PACKAGES += Torch
+
+# Add the Stk App
+PRODUCT_PACKAGES += Stk
+
+# Add AicBootFix
+PRODUCT_PACKAGES += AicBootFix
# Broadcom FM radio
$(call inherit-product, vendor/omfgb/products/bcm_fm_radio.mk)
-# Copy inc specific prebuilt files
-PRODUCT_COPY_FILES += \
-
# Device specific overlay
PRODUCT_PACKAGE_OVERLAYS += vendor/omfgb/overlay/vivow
-

0 comments on commit 8084340

Please sign in to comment.