use correct wifi interface for tethering
little dalvik tweak in build allow larger systemimage (because cm is adding more and more crap like cmwallpapers)
This commit is contained in:
parent
f6027dbf2b
commit
927b5e0ab1
@ -116,10 +116,10 @@ TARGET_CUSTOM_RELEASETOOL := device/htc/leo/releasetools/squisher
|
||||
#mtd4: 02c00000 00020000 "cache"
|
||||
#mtd5: 0d900000 00020000 "userdata"
|
||||
|
||||
BOARD_BOOTIMAGE_PARTITION_SIZE := 0x00500000 # 5M
|
||||
BOARD_RECOVERYIMAGE_PARTITION_SIZE := 0x00500000 # 5M
|
||||
BOARD_SYSTEMIMAGE_PARTITION_SIZE := 0x0be00000 # 190M # limited so we enforce room to grow
|
||||
BOARD_USERDATAIMAGE_PARTITION_SIZE := 0x0c800000 # 200M
|
||||
BOARD_BOOTIMAGE_PARTITION_SIZE := 0x00500000
|
||||
BOARD_RECOVERYIMAGE_PARTITION_SIZE := 0x00500000
|
||||
BOARD_SYSTEMIMAGE_PARTITION_SIZE := 0x0de00000
|
||||
BOARD_USERDATAIMAGE_PARTITION_SIZE := 0x0c800000
|
||||
BOARD_FLASH_BLOCK_SIZE := 131072
|
||||
|
||||
|
||||
|
15
leo.mk
15
leo.mk
@ -69,17 +69,17 @@ PRODUCT_PROPERTY_OVERRIDES += ro.telephony.default_network=0
|
||||
PRODUCT_PROPERTY_OVERRIDES += \
|
||||
wifi.interface=wlan0 \
|
||||
ro.ril.disable.power.collapse=0 \
|
||||
wifi.supplicant_scan_interval=180
|
||||
wifi.supplicant_scan_interval=60
|
||||
|
||||
# Improve touch responsiveness
|
||||
PRODUCT_PROPERTY_OVERRIDES += \
|
||||
Debug.performance.tuning=1 \
|
||||
Video.accelerate.hw=1
|
||||
Video.accelerate.hw=1
|
||||
|
||||
# Fix black screen after call
|
||||
PRODUCT_PROPERTY_OVERRIDES += \
|
||||
ro.lge.proximity.delay=10 \
|
||||
mot.proximity.delay=10
|
||||
mot.proximity.delay=10
|
||||
|
||||
PRODUCT_COPY_FILES += \
|
||||
frameworks/base/data/etc/handheld_core_hardware.xml:system/etc/permissions/handheld_core_hardware.xml \
|
||||
@ -129,7 +129,7 @@ PRODUCT_PACKAGES += \
|
||||
libgenlock \
|
||||
libmemalloc \
|
||||
libtilerenderer \
|
||||
libQcomUI
|
||||
libQcomUI
|
||||
|
||||
# Omx
|
||||
PRODUCT_PACKAGES += \
|
||||
@ -175,12 +175,13 @@ PRODUCT_PROPERTY_OVERRIDES += \
|
||||
dalvik.vm.heapstartsize=5m \
|
||||
dalvik.vm.dexopt-data-only=1 \
|
||||
dalvik.vm.verify-bytecode=false \
|
||||
dalvik.vm.lockprof.threshold=500 \
|
||||
windowsmgr.max_events_per_sec=120
|
||||
|
||||
# Force launcher/apps into memory
|
||||
PRODUCT_PROPERTY_OVERRIDES += \
|
||||
ro.HOME_APP_ADJ=1 \
|
||||
ro.PERCEPTIBLE_APP_ADJ=0
|
||||
ro.PERCEPTIBLE_APP_ADJ=0
|
||||
|
||||
# HardwareRenderer properties
|
||||
# dirty_regions: "false" to disable partial invalidates, override if enabletr=true
|
||||
@ -188,7 +189,7 @@ PRODUCT_PROPERTY_OVERRIDES += \
|
||||
hwui.render_dirty_regions=false \
|
||||
hwui.disable_vsync=true \
|
||||
hwui.print_config=choice \
|
||||
debug.enabletr=false
|
||||
debug.enabletr=false
|
||||
|
||||
# Force 2 buffers - gralloc defaults to 3 and we only have 2
|
||||
PRODUCT_PROPERTY_OVERRIDES += \
|
||||
@ -197,7 +198,7 @@ PRODUCT_PROPERTY_OVERRIDES += \
|
||||
# disable jni check
|
||||
PRODUCT_PROPERTY_OVERRIDES += \
|
||||
ro.kernel.android.checkjni=0 \
|
||||
dalvik.vm.checkjni=0
|
||||
dalvik.vm.checkjni=0
|
||||
|
||||
# Set usb type
|
||||
PRODUCT_PROPERTY_OVERRIDES += \
|
||||
|
@ -136,7 +136,7 @@
|
||||
Wifi interfaces. If the device doesn't want to support tethering over Wifi this
|
||||
should be empty. An example would be "softap.*" -->
|
||||
<string-array translatable="false" name="config_tether_wifi_regexs">
|
||||
<item>"wl0.1"</item>
|
||||
<item>"wlan0"</item>
|
||||
</string-array>
|
||||
|
||||
<!-- Vibrator pattern for a very short but reliable vibration for soft keyboard tap -->
|
||||
|
@ -100,6 +100,7 @@ rm HoloSpiralWallpaper.apk
|
||||
rm MagicSmokeWallpapers.apk
|
||||
rm PhaseBeam.apk
|
||||
rm VisualizationWallpapers.apk
|
||||
rm CMWallpapers.apk
|
||||
|
||||
echo
|
||||
cd $REPACK/ota/system/framework
|
||||
|
Loading…
Reference in New Issue
Block a user