fix wlan, change lowest brightness level, fix dimensions, include apps removal script

This commit is contained in:
milaq 2012-05-02 13:57:40 +02:00
parent 7caf73dac6
commit faedc5f62c
5 changed files with 26 additions and 4 deletions

View File

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

View File

@ -54,7 +54,7 @@
in the config_autoBrightnessLevels array. This array should have size one greater
than the size of the config_autoBrightnessLevels array. -->
<integer-array name="config_autoBrightnessLcdBacklightValues">
<item>60</item>
<item>80</item>
<item>100</item>
<item>120</item>
<item>140</item>

View File

@ -1,4 +1,4 @@
<resources>
<!-- Height of the horizontal navigation bar on devices that require it -->
<dimen name="navigation_bar_height">32dp</dimen>
<dimen name="navigation_bar_height">42dp</dimen>
</resources>

18
releasetools/apps.sh Executable file
View File

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

View File

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