From 123acb303947f8ea7c40596c80e957b124e330f2 Mon Sep 17 00:00:00 2001 From: Arif Ali Date: Fri, 30 Sep 2011 01:55:38 +0100 Subject: [PATCH] leo: update the properties so that it is now in system.prop --- leo.mk | 46 ---------------------------------------------- system.prop | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 49 insertions(+), 46 deletions(-) create mode 100755 system.prop diff --git a/leo.mk b/leo.mk index 4f3c76b..5d303f9 100755 --- a/leo.mk +++ b/leo.mk @@ -25,55 +25,9 @@ PRODUCT_COPY_FILES += \ device/htc/leo/init.htcleo.rc:root/init.htcleo.rc \ -PRODUCT_PROPERTY_OVERRIDES += \ - ro.sf.lcd_density=240 \ - rild.libpath=/system/lib/libhtc_ril_wrapper.so \ - rild.libargs=-d /dev/smd0 nand_init rmnet_mode \ - ro.ril.ecc.HTC-ELL=92,93,94 \ - ro.ril.ecc.HTC-WWE=999 \ - ro.ril.enable.a52.HTC-ITA=1 \ - ro.ril.enable.a53.HTC-ITA=1 \ - ro.ril.enable.a52=0 \ - ro.ril.enable.a53=1 \ - ro.ril.enable.dtm=1 \ - ro.ril.gprsclass=12 \ - ro.ril.hsdpa.category=8 \ - ro.ril.hsupa.category=5 \ - ro.ril.hsxpa=2 \ - mobiledata.interfaces=rmnet0,rmnet1,rmnet2,ppp0 \ - wifi.interface=eth0 \ - wifi.supplicant_scan_interval=15 - -# Default network type. -# 0 => WCDMA preferred. -PRODUCT_PROPERTY_OVERRIDES += \ - ro.telephony.default_network=0 - - -# Set default_france.acdb to audio_ctl driver if the ro.cid is HTC__203 -PRODUCT_PROPERTY_OVERRIDES += \ - ro.ril.enable.prl.recognition=1 - -# The OpenGL ES API level that is natively supported by this device. -# This is a 16.16 fixed point number -PRODUCT_PROPERTY_OVERRIDES += \ - ro.opengles.version=131072 - - # we have enough storage space to hold precise GC data PRODUCT_TAGS += dalvik.gc.type-precise -PRODUCT_PROPERTY_OVERRIDES += \ - ro.media.dec.jpeg.memcap=20000000 - -# This is a high density device with more memory, so larger vm heaps for it. -PRODUCT_PROPERTY_OVERRIDES += \ - dalvik.vm.heapsize=32m - -# leo have huge 250Mb unwritable system and small 50Mb cache . -PRODUCT_PROPERTY_OVERRIDES += \ - dalvik.vm.dexopt-data-only=1 - ## (2) Also get non-open-source GSM-specific aspects if available $(call inherit-product-if-exists, vendor/htc/leo/leo-vendor.mk) diff --git a/system.prop b/system.prop new file mode 100755 index 0000000..8eb15ab --- /dev/null +++ b/system.prop @@ -0,0 +1,49 @@ +# +# system.prop for leo +# + +# RIL specific configuration +rild.libpath=/system/lib/libhtc_ril_wrapper.so +rild.libargs=-d /dev/smd0 nand_init rmnet_mode +ro.ril.ecc.HTC-ELL=92,93,94 +ro.ril.ecc.HTC-WWE=999 +ro.ril.enable.a52.HTC-ITA=1 +ro.ril.enable.a53.HTC-ITA=1 +ro.ril.enable.a52=0 +ro.ril.enable.a53=1 +ro.ril.enable.dtm=1 +ro.ril.gprsclass=12 +ro.ril.hsdpa.category=8 +ro.ril.hsupa.category=5 +ro.ril.hsxpa=2 +ro.ril.enable.prl.recognition=1 + +# Time between scans in seconds. Keep it high to minimize battery drain. +# This only affects the case in which there are remembered access points, +# but none are in range. +wifi.interface=eth0 +wifi.supplicant_scan_interval=120 + +# Default network type. +# 0 => WCDMA preferred. +ro.telephony.default_network=0 + +# density in DPI of the LCD of this board. This is used to scale the UI +# appropriately. If this property is not defined, the default value is 120 dpi. +ro.sf.lcd_density=240 + +# All the interfaces which can use data on +mobiledata.interfaces=rmnet0,rmnet1,rmnet2,ppp0 + +# This is a high density device with more memory, so larger vm heaps for it. +dalvik.vm.heapsize=32m + +# leo have huge 250Mb unwritable system and small 50Mb cache . +dalvik.vm.dexopt-data-only=1 + +# The OpenGL ES API level that is natively supported by this device. +# This is a 16.16 fixed point number +ro.opengles.version=131072 + +ro.media.dec.jpeg.memcap=20000000 +