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
This commit is contained in:
KalimochoAz 2011-04-06 10:29:29 +02:00
parent 7e2b09709b
commit 7434ef500e
8 changed files with 9 additions and 85 deletions

View File

@ -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

View File

@ -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 <size>|stop|stats}"
exit 1
esac
exit 0

View File

@ -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

Binary file not shown.

View File

@ -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 \\

View File

@ -79,19 +79,6 @@
<!-- Each camcorder profile defines a set of predefined configuration parameters -->
<CamcorderProfiles cameraId="0">
<EncoderProfile quality="hd" fileFormat="mp4" duration="60">
<Video codec="m4v"
bitRate="360000"
width="352"
height="288"
frameRate="30" />
<Audio codec="aac"
bitRate="64000"
sampleRate="16000"
channels="1" />
</EncoderProfile>
<EncoderProfile quality="high" fileFormat="mp4" duration="60">
<Video codec="h263"
bitRate="360000"

View File

@ -92,4 +92,7 @@
<!-- Configure Top Rotary Possition-->
<integer name="config_rotaryMarginBottomDIP">37</integer>
<!-- Configure lense unlock time label offset -->
<integer name="config_lenseTimeLabelOffsetDIP">30</integer>
</resources>

View File

@ -70,3 +70,7 @@ pref_lock_home=1
# Default Tether Dissabled
ro.tether.denied=true
# Enable Google-specific location features,
# like NetworkLocationProvider and LocationCollector.
ro.com.google.locationfeatures=1