From 7434ef500e126e0c2794d3bbb5d850ff32bca5fd Mon Sep 17 00:00:00 2001 From: KalimochoAz Date: Wed, 6 Apr 2011 10:29:29 +0200 Subject: [PATCH] Added ldpi % mdpi locales To be merged when http://review.cyanogenmod.com/#change,4350 is merged Patch1: Added PRODUCT_LOCALES and removed privative HTC camera drivers from sxtect-files Patch2: Changed to CUSTOM_LOCALES Patch3: Removed unused file logo.rle Patch4: Removed Fake HD video since this is corrected on the code by Cyanogen patch5: From arco. Added locationfeatures at prop file patch6: Added Lense clock position overlay to meet with nhnt11 last change merged into gerrit patch7: Removed compcache special files since now are implemented by cyanogen patch8: Revert to product locales as the first patch patch9: Readded precompiled rszcontrol as is really needed Change-Id: Iff3e84fed8fa0a4ff98c51a7ea707a31ffd6f4bf --- click.mk | 4 +-- custom/compcache | 33 ------------------ custom/handle_compcache | 31 ---------------- custom/logo.rle | Bin 11336 -> 0 bytes extract-files.sh | 6 ---- media_profiles.xml | 13 ------- .../base/core/res/res/values/config.xml | 3 ++ system.prop | 4 +++ 8 files changed, 9 insertions(+), 85 deletions(-) delete mode 100755 custom/compcache delete mode 100644 custom/handle_compcache delete mode 100644 custom/logo.rle 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 }' P#l4vdP49_IUVtEU`87Qv96^zx%j; z9~x{`kOk*!ca3u?8Ev6y}lHi_$hX zmu4=RICV9d=pIZaievKQLEE3({Kc@;qcC>wLPM3UgYwJ4@9SM5jNrq_;&JmSAN(5K zl&$IQ1{*_eWD$QQGhUS6E%WcO`P1|Ax3sSB<*a;sG$#3{Gk<1l-0Ddt^5tWubMER( zHkO{0Oq7!!t1DV_XFZviOCK|ttr?B^H+II0FPWX$QZkWAyk>GYFC-IphQXY5q|;b< zugzsbjI$-Jb$3PBTx_mjc`o4iY*#k7Vt+?B_02dKf%%gw;G=Q(xwP(j!n)#bMX$f8 zxbe3m^)a*ebVmL(G^OmD{f8IugY_#S`bxB2_gK|fk^T4Oq%ulOOq9<+f= z($?4rehkEZECtM1w?D@8{G|Np4SQZa-aRP4_TqINC-~c5knDIdnRw79|2k61#70Rz zMY)d#pV^bF`QEpw@l>Z|E57QR{bz0bok)MobcO=Y8N0ipxJNhTXMb3ecv^EBe{w~B zIzC%7$_f103pv%1dfDvpJ-hGUM{KMdcmww3@_*XT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AG%Ta5X& z7k$oji({YO*BMBCsP1|VO~U!k@ZZ_|o#A%Vxw}#;uRM9YEB{(^k{>Th{@HGQ`A1`t zrv^-G!|;tQXM!wFZuR@7}JQ3Y7wdhc@3dA2JZ z;(7jB(vd&X>s{1&ceI|)Dd*~=F`a)$>*)MzjqBsXEBdb1IlRA;fdk`lzJkZuPOX2m zu6)v2TEVi=rkIb`6$V3t$}85q)TMnnT2Gk!S$1bwoH$xXJ<95e_O*9Wd2qCjdY>pK z9qQG!X4Q|Q_0(Ir9&t@&bygg$r`~Nf)DyTxPrK0bHRIdSdg>3iX4G3z_s({H^#$~X zO@`h+U#{pb^nB$7bk)DY>BhLv#9#XLxpbfDPgLc^Va|QqWO^5s=U_w~Sm^oE3#_f4 z{8H%G`->kntT;!w=TMJ2QlB>)Pp){MSX)DM58$qlFRM@I{0BGsZ|ruYRDY={+!ylY z=h=GG)}l7*AMuHMJNFOnU+DQA=J0;}o9VG0e&x%$gR(EI3%=|xy*>4wz2bhX zd!2mYF7qV(Er&Hz;cp1UJQv{!!`fkO%6=)6&&+r z-Iu4gYq|A9lVvZE1qI;dd=*UYmDd1?=yL9z>A6W?`>W^!ZG6^|7Srw)Vm&U$#9q$ zZ`?j^e4NUD(l}1cyz#=(8{uC%{QUx1xRVNe=RFYYi7%6A-j5Xypo>q6hgf)5=4U0Z Sh?#s^3bCAN`qUp2iT?xW`|+>< diff --git a/extract-files.sh b/extract-files.sh index b2848df..d27051a 100755 --- a/extract-files.sh +++ b/extract-files.sh @@ -25,11 +25,8 @@ adb pull /system/app/HTCCalibrate.apk ../../../vendor/$MANUFACTURER/$DEVICE/prop adb pull /system/etc/AudioPara4.csv ../../../vendor/$MANUFACTURER/$DEVICE/proprietary/AudioPara4.csv adb pull /system/etc/AudioFilter.csv ../../../vendor/$MANUFACTURER/$DEVICE/proprietary/AudioFilter.csv adb pull /system/etc/AudioPreProcess.csv ../../../vendor/$MANUFACTURER/$DEVICE/proprietary/AudioPreProcess.csv -adb pull /system/lib/libmmcamera.so ../../../vendor/$MANUFACTURER/$DEVICE/proprietary/libmmcamera.so adb pull /system/lib/libmm-qcamera-tgt.so ../../../vendor/$MANUFACTURER/$DEVICE/proprietary/libmm-qcamera-tgt.so -adb pull /system/lib/libmmjpeg.so ../../../vendor/$MANUFACTURER/$DEVICE/proprietary/libmmjpeg.so adb pull /system/lib/libaudioeq.so ../../../vendor/$MANUFACTURER/$DEVICE/proprietary/libaudioeq.so -adb pull /system/lib/libqcamera.so ../../../vendor/$MANUFACTURER/$DEVICE/proprietary/libqcamera.so adb pull /system/lib/libmm-adspsvc.so ../../../vendor/$MANUFACTURER/$DEVICE/proprietary/libmm-adspsvc.so adb pull /system/lib/libgps.so ../../../vendor/$MANUFACTURER/$DEVICE/proprietary/libgps.so adb pull /system/lib/libOmxH264Dec.so ../../../vendor/$MANUFACTURER/$DEVICE/proprietary/libOmxH264Dec.so @@ -76,11 +73,8 @@ PRODUCT_COPY_FILES += \\ vendor/__MANUFACTURER__/__DEVICE__/proprietary/AudioPara4.csv:system/etc/AudioPara4.csv \\ vendor/__MANUFACTURER__/__DEVICE__/proprietary/AudioFilter.csv:system/etc/AudioFilter.csv \\ vendor/__MANUFACTURER__/__DEVICE__/proprietary/AudioPreProcess.csv:system/etc/AudioPreProcess.csv \\ - vendor/__MANUFACTURER__/__DEVICE__/proprietary/libmmcamera.so:system/lib/libmmcamera.so \\ vendor/__MANUFACTURER__/__DEVICE__/proprietary/libmm-qcamera-tgt.so:system/lib/libmm-qcamera-tgt.so \\ - vendor/__MANUFACTURER__/__DEVICE__/proprietary/libmmjpeg.so:system/lib/libmmjpeg.so \\ vendor/__MANUFACTURER__/__DEVICE__/proprietary/libaudioeq.so:system/lib/libaudioeq.so \\ - vendor/__MANUFACTURER__/__DEVICE__/proprietary/libqcamera.so:system/lib/libqcamera.so \\ vendor/__MANUFACTURER__/__DEVICE__/proprietary/libmm-adspsvc.so:system/lib/libmm-adspsvc.so \\ vendor/__MANUFACTURER__/__DEVICE__/proprietary/libgps.so:system/lib/libgps.so \\ vendor/__MANUFACTURER__/__DEVICE__/proprietary/libOmxH264Dec.so:system/lib/libOmxH264Dec.so \\ diff --git a/media_profiles.xml b/media_profiles.xml index 79fb18b..8d0e32f 100644 --- a/media_profiles.xml +++ b/media_profiles.xml @@ -79,19 +79,6 @@ - - -