more updates with fixes

This commit is contained in:
Arif Ali 2011-11-24 09:46:32 +00:00
parent 9c5e553797
commit 5015f01c1e
6 changed files with 1367 additions and 14 deletions

View File

@ -18,9 +18,9 @@ LOCAL_PATH := $(my-dir)
subdir_makefiles := \
$(LOCAL_PATH)/libsensors/Android.mk \
$(LOCAL_PATH)/liblights/Android.mk \
$(LOCAL_PATH)/libgps/Android.mk
$(LOCAL_PATH)/libgps/Android.mk \
$(LOCAL_PATH)/libhtc_ril_wrapper/Android.mk
# $(LOCAL_PATH)/libreference-ril/Android.mk \
# $(LOCAL_PATH)/libhtc_ril_wrapper/Android.mk
include $(subdir_makefiles)

View File

@ -75,7 +75,7 @@ BOARD_USE_KINETO_COMPATIBILITY := true
#BOARD_HAVE_FM_RADIO := true
#BOARD_GLOBAL_CFLAGS += -DHAVE_FM_RADIO
TARGET_CUSTOM_RELEASETOOL := device/htc/leo/releasetools/squisher
#TARGET_CUSTOM_RELEASETOOL := device/htc/leo/releasetools/squisher
# # cat /proc/mtd
# dev: size erasesize name

2
leo.mk
View File

@ -89,7 +89,7 @@ PRODUCT_COPY_FILES += \
#GSM APN LIST
PRODUCT_COPY_FILES += \
device/sample/etc/apns-full-conf.xml:system/etc/apns-conf.xml
device/htc/leo/prebuilt/apns-conf.xml:system/etc/apns-conf.xml
# kernel modules
PRODUCT_COPY_FILES += \

View File

@ -0,0 +1,24 @@
opyright (C) 2009 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!-- Leo-specific phone app resources. -->
<resources>
<!-- Determine whether calls to mute the microphone in PhoneUtils
are routed through the android.media.AudioManager class (true) or through
the com.android.internal.telephony.Phone interface (false). -->
<bool name="send_mic_mute_to_AudioManager">true</bool>
</resources>

1330
prebuilt/apns-conf.xml Normal file

File diff suppressed because it is too large Load Diff

View File

@ -1,5 +1,7 @@
on init
export TERMINFO /system/etc/terminfo
export EXTERNAL_STORAGE /mnt/sdcard
export SD_EXT_DIRECTORY /sd-ext
symlink /dev/msm_camera/control0 /dev/msm_camera/control1
symlink /dev/msm_camera/frame0 /dev/msm_camera/frame1
@ -7,6 +9,13 @@ on init
write /proc/sys/kernel/sched_min_granularity_ns 100000
# create mountpoints
mkdir /mnt 0775 root system
mkdir /mnt/sdcard 0000 system system
# Backwards Compat - XXX: Going away in G*
symlink /mnt/sdcard /sdcard
on fs
mount yaffs2 mtd@system /system remount
mount rootfs rootfs / rw remount
@ -75,9 +84,6 @@ on boot
chown system system /sys/camera_led_status/led_hotspot_status
chown media system /sys/android_camera/cam_mode
# enable the GPS
#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
@ -226,13 +232,6 @@ service hciattach /system/bin/brcm_patchram_plus --enable_hci --enable_lpm \
group bluetooth net_bt_admin
disabled
#service btld /system/bin/logwrapper /system/bin/btld -lpm 1 -hb 3000000
# class main
# user root
# group bluetooth net_bt_admin
# disabled
# oneshot
# compass/accelerometer daemon
service akmd /system/bin/akmd
class main