Merge pull request #1 from milaq/gingerbread

leo: various tweaks and fixes
This commit is contained in:
Arif Ali 2012-01-31 13:21:29 -08:00
commit bcfb89fdd1
6 changed files with 14 additions and 48 deletions

View File

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

BIN
prebuilt/firmware/fw_bcm4329.bin Executable file → Normal file

Binary file not shown.

BIN
prebuilt/firmware/fw_bcm4329_apsta.bin Executable file → Normal file

Binary file not shown.

View File

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

View File

@ -94,14 +94,14 @@
<EncoderProfile quality="high" fileFormat="mp4" duration="60">
<Video codec="m4v"
bitRate="2000000"
bitRate="6000000"
width="800"
height="480"
frameRate="30" />
frameRate="24" />
<Audio codec="aac"
bitRate="48000"
sampleRate="22050"
bitRate="96000"
sampleRate="16000"
channels="1" />
</EncoderProfile>
@ -177,4 +177,4 @@
-->
<VideoDecoderCap name="wmv" enabled="false"/>
<AudioDecoderCap name="wma" enabled="false"/>
</MediaSettings>
</MediaSettings>

View File

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