diff --git a/click.mk b/click.mk index 920ebaa..af60641 100644 --- a/click.mk +++ b/click.mk @@ -84,9 +84,7 @@ PRODUCT_COPY_FILES += \ # precompiled files for /system/bin PRODUCT_COPY_FILES += \ - device/htc/click/custom/compcache:system/bin/compcache \ device/htc/click/custom/calibrate_screen:system/bin/calibrate_screen \ - device/htc/click/custom/handle_compcache:system/bin/handle_compcache \ device/htc/click/custom/rzscontrol:system/bin/rzscontrol # media configuration xml file @@ -119,3 +117,5 @@ $(call inherit-product-if-exists, vendor/htc/click/click-vendor.mk) # Added all the kernel modules to be copyed $(call inherit-product-if-exists, device/htc/click/KernelModules.mk) + +PRODUCT_LOCALES += ldpi,mdpi diff --git a/custom/compcache b/custom/compcache deleted file mode 100755 index f41e632..0000000 --- a/custom/compcache +++ /dev/null @@ -1,33 +0,0 @@ -#!/system/bin/sh -# -# Compcache manager -# shade@chemlab.org (cyanogen) -# - -DEV=/dev/block/ramzswap0 -MODULE=ramzswap -MODULES_DIR=/system/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 |stop|stats}" - exit 1 -esac - -exit 0 - diff --git a/custom/handle_compcache b/custom/handle_compcache deleted file mode 100644 index 44ab0b7..0000000 --- a/custom/handle_compcache +++ /dev/null @@ -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 }' - - -