diff --git a/BoardConfig.mk b/BoardConfig.mk index 548d353..64d9aee 100755 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -57,7 +57,7 @@ BOARD_WLAN_DEVICE := bcm4329 WIFI_DRIVER_MODULE_PATH := "/system/lib/modules/bcm4329.ko" WIFI_DRIVER_FW_PATH_STA := "/vendor/firmware/fw_bcm4329.bin" WIFI_DRIVER_FW_PATH_AP := "/vendor/firmware/fw_bcm4329_apsta.bin" -WIFI_DRIVER_MODULE_ARG := "iface_name=wlan firmware_path=/vendor/firmware/fw_bcm4329.bin nvram_path=/proc/calibration" +WIFI_DRIVER_MODULE_ARG := "firmware_path=/vendor/firmware/fw_bcm4329.bin nvram_path=/proc/calibration" WIFI_DRIVER_MODULE_NAME := "bcm4329" BOARD_KERNEL_CMDLINE := no_console_suspend=1 wire.search_count=5 diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml index a95e44e..647b794 100644 --- a/overlay/frameworks/base/core/res/res/values/config.xml +++ b/overlay/frameworks/base/core/res/res/values/config.xml @@ -54,7 +54,7 @@ in the config_autoBrightnessLevels array. This array should have size one greater than the size of the config_autoBrightnessLevels array. --> - 60 + 80 100 120 140 diff --git a/overlay/frameworks/base/core/res/res/values/dimens.xml b/overlay/frameworks/base/core/res/res/values/dimens.xml index 1131ec4..f4a85f4 100755 --- a/overlay/frameworks/base/core/res/res/values/dimens.xml +++ b/overlay/frameworks/base/core/res/res/values/dimens.xml @@ -1,4 +1,4 @@ - 32dp + 42dp \ No newline at end of file diff --git a/releasetools/apps.sh b/releasetools/apps.sh new file mode 100755 index 0000000..04fb81d --- /dev/null +++ b/releasetools/apps.sh @@ -0,0 +1,18 @@ +#!/bin/sh +# This script is included in squisher +# use to remove unwanted stuff in the otapackage + +echo "Leo has limited diskspace!" +echo "Removing unwanted stuff..." + +rm -rf $REPACK/ota/system/media/video + +cd $REPACK/ota/system/app + +rm VideoEditor.apk +rm RomManager.apk +rm LiveWallpapers.apk +rm Galaxy4.apk +rm HoloSpiralWallpaper.apk +rm MagicSmokeWallpapers.apk +rm PhaseBeam.apk \ No newline at end of file diff --git a/releasetools/squisher b/releasetools/squisher index 4c30255..cfb4f83 100755 --- a/releasetools/squisher +++ b/releasetools/squisher @@ -82,14 +82,18 @@ mkdir $REPACK/ota cd $REPACK/ota printf "Unpacking $OTAPACKAGE..." unzip $QUIET $OTAPACKAGE + +# Apps removal script +. $ANDROID_BUILD_TOP/device/htc/leo/releasetools/apps.sh + echo cd $REPACK/ota/system/framework $OPTICHARGER framework-res.apk cd $REPACK/ota/system/app + find ./ -name \*.apk | $XARGS $OPTICHARGER ) - if [ "$WANT_SQUASHFS" -eq 1 ]; then squash_opts="-force-uid 1000 -force-gid 1000 -no-progress -noappend -no-exports -no-recovery" updater=$REPACK/ota/META-INF/com/google/android/updater-script