diff --git a/BoardConfig.mk b/BoardConfig.mk index 97acddb..d28084d 100755 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -39,7 +39,7 @@ ARCH_ARM_HAVE_TLS_REGISTER := true TARGET_NO_BOOTLOADER := true BOARD_KERNEL_BASE := 0x11800000 -BOARD_KERNEL_CMDLINE := no_console_suspend=1 wire.search_count=5 +BOARD_KERNEL_CMDLINE := no_console_suspend=1 console=null TARGET_BOARD_PLATFORM := qsd8k TARGET_BOARD_PLATFORM_GPU := qcom-adreno200 diff --git a/prebuilt/firmware/fw_bcm4329.bin b/prebuilt/firmware/fw_bcm4329.bin old mode 100755 new mode 100644 index 14601cc..564bdb2 Binary files a/prebuilt/firmware/fw_bcm4329.bin and b/prebuilt/firmware/fw_bcm4329.bin differ diff --git a/prebuilt/firmware/fw_bcm4329_apsta.bin b/prebuilt/firmware/fw_bcm4329_apsta.bin old mode 100755 new mode 100644 index 975c58c..dff1136 Binary files a/prebuilt/firmware/fw_bcm4329_apsta.bin and b/prebuilt/firmware/fw_bcm4329_apsta.bin differ diff --git a/prebuilt/init.htcleo.rc b/prebuilt/init.htcleo.rc index e5fbe13..c47d596 100644 --- a/prebuilt/init.htcleo.rc +++ b/prebuilt/init.htcleo.rc @@ -1,10 +1,6 @@ on init export TERMINFO /system/etc/terminfo - symlink /dev/msm_camera/control0 /dev/msm_camera/control1 - symlink /dev/msm_camera/frame0 /dev/msm_camera/frame1 - symlink /dev/msm_camera/config0 /dev/msm_camera/config1 - write /proc/sys/kernel/sched_min_granularity_ns 100000 on fs @@ -49,11 +45,6 @@ on boot chown system system /data/misc/screen_lock_status chmod 644 /data/misc/screen_lock_status - # Write value must be consistent with the above properties. - # Note that the driver only supports 6 slots, so we have HOME_APP at the - # same memory level as services. - write /sys/module/lowmemorykiller/parameters/adj 0,1,2,7,14,15 - # Permissions for liblights chown system system /sys/class/leds/green/brightness chown system system /sys/class/leds/green/blink @@ -79,11 +70,12 @@ on boot setprop ro.ril.def.agps.mode 2 # performance tweaks for flash - write /sys/block/mtdblock3/bdi/read_ahead_kb 2048 - write /sys/block/mtdblock4/bdi/read_ahead_kb 2048 - write /sys/block/mtdblock5/bdi/read_ahead_kb 2048 - # increase read throughput from sd card - write /sys/block/mmcblk0/bdi/read_ahead_kb 204 + write /sys/block/mtdblock0/bdi/read_ahead_kb 4 + write /sys/block/mtdblock1/bdi/read_ahead_kb 4 + write /sys/block/mtdblock2/bdi/read_ahead_kb 4 + write /sys/block/mtdblock3/bdi/read_ahead_kb 4 + write /sys/block/mtdblock4/bdi/read_ahead_kb 4 + write /sys/block/mtdblock5/bdi/read_ahead_kb 4 # for wireless modem chown system system /sys/module/serial/parameters/modem_enabled @@ -190,34 +182,9 @@ on boot chmod 666 /sys/class/i2c-adapter/i2c-0/0-0018/scale chmod 666 /sys/class/i2c-adapter/i2c-0/0-0019/scale - # Power Management - # write /sys/devices/system/cpu/cpu0/cpufreq/ondemand/sampling_rate 40000 - - # Overwrite framework low memory killer minfree setting - write /sys/module/lowmemorykiller/parameters/minfree 3584,4096,6144,7168,7680,8192 - # Enable low memory killer to check file pages - write /sys/module/lowmemorykiller/parameters/minfile 0,0,0,5120,5632,6144 - write /sys/module/lowmemorykiller/parameters/check_filepages - - # PPP stuff - chown radio radio /dev/smd1 - chown root radio /system/etc/ppp - chown root root /system/bin/pppd; - chmod 755 /system/etc/ppp/* - chmod 4755 /system/bin/pppd - - if [ -f /system/ppp ] - then - # PPP enabled, doing PPP specific stuff - - # Create link for resolv.conf (generated by pppd) - symlink /etc/ppp/resolv.conf /etc/resolv.conf - - # Tweak kernel low memory handling - write /proc/sys/vm/lowmem_reserve_ratio 8 8 - write /proc/sys/vm/min_free_kbytes 8192 - fi + #write /sys/module/lowmemorykiller/parameters/minfile 0,0,0,5120,5632,6144 + #write /sys/module/lowmemorykiller/parameters/check_filepages 1 service hciattach /system/bin/brcm_patchram_plus --enable_hci --enable_lpm \ --baudrate 3000000 --patchram /etc/firmware/bcm4329.hcd /dev/ttyHS0 diff --git a/prebuilt/media_profiles.xml b/prebuilt/media_profiles.xml index 2267bec..518b227 100644 --- a/prebuilt/media_profiles.xml +++ b/prebuilt/media_profiles.xml @@ -94,14 +94,14 @@ @@ -177,4 +177,4 @@ --> - \ No newline at end of file + diff --git a/proprietary-files.txt b/proprietary-files.txt index 33cb701..6563f4a 100755 --- a/proprietary-files.txt +++ b/proprietary-files.txt @@ -5,7 +5,6 @@ etc/AudioBTID.csv etc/AdieHWCodecSetting.csv etc/firmware/BCM4329B1_002.002.023.0360.0362.hcd etc/firmware/BCM4329B1_002.002.023.0436.0439.hcd -etc/firmware/BCM4329B1_002.002.023.0436.0439.hcd etc/firmware/BCM4329B1_002.002.023.0511.0538.hcd etc/firmware/bcm4329.hcd etc/firmware/htcleo.acdb