diff --git a/BoardConfig.mk b/BoardConfig.mk index 2d6c5ba..c63a29b 100644 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -74,6 +74,8 @@ BOARD_EGL_CFG := device/htc/click/custom/egl.cfg BOARD_HAVE_FM_RADIO := true BOARD_GLOBAL_CFLAGS += -DHAVE_FM_RADIO +BOARD_USES_QCOM_HARDWARE := true +BOARD_USES_QCOM_GPS := true BOARD_USES_QCOM_LIBS := true BOARD_USES_GPSSHIM := true @@ -105,4 +107,4 @@ BOARD_USERDATAIMAGE_PARTITION_SIZE := 0x0a520000 BOARD_FLASH_BLOCK_SIZE := 131072 # Add LUNFILE configuration to the system -BOARD_UMS_LUNFILE := "/sys/devices/platform/msm_hsusb/gadget/lun0/file" +BOARD_UMS_LUNFILE := "/sys/devices/platform/usb_mass_storage/lun0/file" diff --git a/custom/kernel b/custom/kernel index 27be72b..749164e 100644 Binary files a/custom/kernel and b/custom/kernel differ diff --git a/custom/modules/2.6.29.6-Kalim/kernel/drivers/net/wireless/tiwlan1251/wlan.ko b/custom/modules/2.6.29.6-Kalim/kernel/drivers/net/wireless/tiwlan1251/wlan.ko index 33d1acb..e12ff03 100644 Binary files a/custom/modules/2.6.29.6-Kalim/kernel/drivers/net/wireless/tiwlan1251/wlan.ko and b/custom/modules/2.6.29.6-Kalim/kernel/drivers/net/wireless/tiwlan1251/wlan.ko differ diff --git a/custom/modules/2.6.29.6-Kalim/kernel/drivers/staging/ramzswap/ramzswap.ko b/custom/modules/2.6.29.6-Kalim/kernel/drivers/staging/ramzswap/ramzswap.ko index 7cf6ce7..d371d20 100644 Binary files a/custom/modules/2.6.29.6-Kalim/kernel/drivers/staging/ramzswap/ramzswap.ko and b/custom/modules/2.6.29.6-Kalim/kernel/drivers/staging/ramzswap/ramzswap.ko differ diff --git a/custom/modules/2.6.29.6-Kalim/kernel/fs/aufs/aufs.ko b/custom/modules/2.6.29.6-Kalim/kernel/fs/aufs/aufs.ko index 4168ec2..6317c32 100644 Binary files a/custom/modules/2.6.29.6-Kalim/kernel/fs/aufs/aufs.ko and b/custom/modules/2.6.29.6-Kalim/kernel/fs/aufs/aufs.ko differ diff --git a/custom/modules/2.6.29.6-Kalim/kernel/fs/cifs/cifs.ko b/custom/modules/2.6.29.6-Kalim/kernel/fs/cifs/cifs.ko index e55ec2b..f42687e 100644 Binary files a/custom/modules/2.6.29.6-Kalim/kernel/fs/cifs/cifs.ko and b/custom/modules/2.6.29.6-Kalim/kernel/fs/cifs/cifs.ko differ diff --git a/custom/modules/2.6.29.6-Kalim/kernel/fs/ext4/ext4.ko b/custom/modules/2.6.29.6-Kalim/kernel/fs/ext4/ext4.ko index 2e3a75e..5094032 100644 Binary files a/custom/modules/2.6.29.6-Kalim/kernel/fs/ext4/ext4.ko and b/custom/modules/2.6.29.6-Kalim/kernel/fs/ext4/ext4.ko differ diff --git a/custom/modules/2.6.29.6-Kalim/kernel/fs/jbd2/jbd2.ko b/custom/modules/2.6.29.6-Kalim/kernel/fs/jbd2/jbd2.ko index 7abdac3..a29b3a1 100644 Binary files a/custom/modules/2.6.29.6-Kalim/kernel/fs/jbd2/jbd2.ko and b/custom/modules/2.6.29.6-Kalim/kernel/fs/jbd2/jbd2.ko differ diff --git a/custom/modules/wlan.ko b/custom/modules/wlan.ko index 33d1acb..d28174a 100644 Binary files a/custom/modules/wlan.ko and b/custom/modules/wlan.ko differ diff --git a/custom/recovery_kernel b/custom/recovery_kernel old mode 100644 new mode 100755 index 3320985..848915c Binary files a/custom/recovery_kernel and b/custom/recovery_kernel differ diff --git a/init.bahamas.rc b/init.bahamas.rc index 59e6007..ec217e0 100644 --- a/init.bahamas.rc +++ b/init.bahamas.rc @@ -44,8 +44,8 @@ on boot chmod 0666 /dev/graphics/fb0 # cpufreq configurations - write /sys/devices/system/cpu/cpu0/cpufreq/ondemand/sampling_rate 40000 - write /sys/devices/system/cpu/cpu0/cpufreq/ondemand/up_threshold 85 + write /sys/devices/system/cpu/cpu0/cpufreq/ondemand/sampling_rate 50000 + write /sys/devices/system/cpu/cpu0/cpufreq/ondemand/up_threshold 90 # Set idle_sleep_mode permissions to radio chown radio radio /sys/module/pm/parameters/idle_sleep_mode @@ -67,9 +67,6 @@ on boot write /sys/module/lowmemorykiller/parameters/minfile 0,0,0,5120,5632,6144 write /sys/module/lowmemorykiller/parameters/check_filepages 1 - write /sys/devices/system/cpu/cpufreq/ondemand/up_threshold 90 - write /sys/devices/system/cpu/cpufreq/ondemand/sampling_rate 50000 - # CPU_Scaling Governor make permissions chown system system /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor @@ -99,7 +96,7 @@ service wpa_supplicant /system/bin/wpa_supplicant \ disabled oneshot -service dhcpcd /system/bin/dhcpcd -ABKL +service dhcpcd_tiwlan0 /system/bin/dhcpcd -ABKL disabled oneshot diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml index 33fc859..15023e8 100644 --- a/overlay/frameworks/base/core/res/res/values/config.xml +++ b/overlay/frameworks/base/core/res/res/values/config.xml @@ -59,6 +59,9 @@ Wifi interfaces. If the device doesn't want to support tethering over Wifi this should be empty. An example would be "softap.*" --> + "rmnet\\d" + "ppp\\d" + "tiwlan\\d"