Skip to content

Cm 10.1 #1

Closed
wants to merge 25 commits into from
Select commit
+1,760 −5,617
View
24 BoardConfig.mk
@@ -31,32 +31,14 @@
TARGET_BOOTLOADER_BOARD_NAME := ville
# Kernel
-BOARD_KERNEL_BASE := 0x80400000
-BOARD_KERNEL_PAGE_SIZE := 2048
-BOARD_KERNEL_CMDLINE := console=ttyHSL0,115200,n8
-BOARD_FORCE_RAMDISK_ADDRESS := 0x81800000
-
-TARGET_PREBUILT_KERNEL := device/htc/ville/prebuilt/kernel
TARGET_KERNEL_CONFIG := ville_defconfig
+# Bluetooth
+BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := device/htc/ville/bluetooth
+
# Use libril in the device tree
BOARD_PROVIDES_LIBRIL := true
-# Boot animation
-TARGET_SCREEN_HEIGHT := 960
-TARGET_SCREEN_WIDTH := 540
-
-# QCOM GPS
-#BOARD_VENDOR_QCOM_GPS_LOC_API_AMSS_VERSION := 50000
-#BOARD_VENDOR_QCOM_GPS_LOC_API_HARDWARE := ville
-
-# Lights
-TARGET_PROVIDES_LIBLIGHTS := true
-
-# Wifi
-WIFI_DRIVER_MODULE_NAME := prima_wlan
-WIFI_DRIVER_MODULE_PATH := "/system/lib/modules/prima_wlan.ko"
-
# cat /proc/emmc
#dev: size erasesize name
#mmcblk0p23: 000ffa00 00000200 "misc"
View
23 bluetooth/bdroid_buildcfg.h
@@ -0,0 +1,23 @@
+/*
+ * Copyright (C) 2012 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.
+ */
+
+#ifndef _BDROID_BUILDCFG_H
+#define _BDROID_BUILDCFG_H
+
+#define BTM_DEF_LOCAL_NAME "One S"
+#define BTA_DISABLE_DELAY 1000 /* in milliseconds */
+
+#endif
View
6 cm.mk
@@ -4,6 +4,10 @@ $(call inherit-product, vendor/cm/config/gsm.mk)
# Release name
PRODUCT_RELEASE_NAME := ville
+# Boot animation
+TARGET_SCREEN_HEIGHT := 960
+TARGET_SCREEN_WIDTH := 540
+
# Inherit some common CM stuff.
$(call inherit-product, vendor/cm/config/common_full_phone.mk)
@@ -14,7 +18,7 @@ $(call inherit-product, device/htc/ville/device_ville.mk)
PRODUCT_DEVICE := ville
PRODUCT_NAME := cm_ville
PRODUCT_BRAND := htc
-PRODUCT_MODEL := HTC One S
+PRODUCT_MODEL := One S
PRODUCT_MANUFACTURER := HTC
# Set build fingerprint / ID / Product Name ect.
View
6 configs/wpa_supplicant.conf
@@ -1,6 +0,0 @@
-##### wpa_supplicant configuration file template #####
-update_config=1
-ctrl_interface=wlan0
-eapol_version=1
-ap_scan=1
-fast_reauth=1
View
14 device-proprietary-files.txt
@@ -0,0 +1,14 @@
+# Executable files
+bin/akmd
+bin/cand
+bin/ewtzmud
+
+# Camera
+lib/libchromatix_s5k3h2yx_default_video.so
+lib/libchromatix_s5k3h2yx_hdr.so
+lib/libchromatix_s5k3h2yx_hfr.so
+lib/libchromatix_s5k3h2yx_preview.so
+lib/libchromatix_s5k3h2yx_zsl.so
+
+# Sensors
+lib/hw/sensors.ville.so
View
20 device_ville.mk
@@ -22,11 +22,9 @@ $(call inherit-product, device/htc/msm8960-common/msm8960.mk)
DEVICE_PACKAGE_OVERLAYS += device/htc/ville/overlay
# Boot ramdisk setup
-PRODUCT_COPY_FILES += \
- device/htc/ville/ramdisk/fstab.ville:root/fstab.ville \
- device/htc/ville/ramdisk/init.ville.rc:root/init.ville.rc \
- device/htc/ville/ramdisk/init.ville.usb.rc:root/init.ville.usb.rc \
- device/htc/ville/ramdisk/ueventd.ville.rc:root/ueventd.ville.rc
+PRODUCT_PACKAGES += \
+ fstab.ville \
+ init.target.rc
# recovery and custom charging
PRODUCT_COPY_FILES += \
@@ -38,17 +36,10 @@ PRODUCT_COPY_FILES += \
# HTC BT audio config
PRODUCT_COPY_FILES += device/htc/ville/configs/AudioBTID.csv:system/etc/AudioBTID.csv
-# QC thermald config
-PRODUCT_COPY_FILES += device/htc/msm8960-common/configs/thermald.conf:system/etc/thermald.conf
-
# vold config
PRODUCT_COPY_FILES += \
device/htc/ville/configs/vold.fstab:system/etc/vold.fstab
-# wifi config
-PRODUCT_COPY_FILES += \
- device/htc/ville/configs/wpa_supplicant.conf:/system/etc/wifi/wpa_supplicant.conf
-
# Sound configs
PRODUCT_COPY_FILES += \
device/htc/ville/dsp/soundimage/srs_bypass.cfg:system/etc/soundimage/srs_bypass.cfg \
@@ -65,7 +56,6 @@ PRODUCT_COPY_FILES += \
# Keylayouts and Keychars
PRODUCT_COPY_FILES += \
device/htc/ville/keylayout/atmel-touchscreen.kl:system/usr/keylayout/atmel-touchscreen.kl \
- device/htc/ville/keylayout/AVRCP.kl:system/usr/keylayout/AVRCP.kl \
device/htc/ville/keylayout/cy8c-touchkey.kl:system/usr/keylayout/cy8c-touchkey.kl \
device/htc/ville/keylayout/h2w_headset.kl:system/usr/keylayout/h2w_headset.kl \
device/htc/ville/keylayout/keypad_8960.kl:system/usr/keylayout/keypad_8960.kl \
@@ -78,10 +68,6 @@ PRODUCT_COPY_FILES += \
device/htc/ville/idc/projector_input.idc:system/usr/idc/projector_input.idc \
device/htc/ville/idc/tv-touchscreen.idc:system/usr/idc/tv-touchscreen.idc
-# GPS
-#PRODUCT_PACKAGES += \
-# gps.ville \
-
# Torch
PRODUCT_PACKAGES += \
Torch
View
6,498 dsp/snd_soc_msm/snd_soc_msm_2x
1,648 additions, 4,850 deletions not shown because the diff is too large. Please use a local Git client to view these changes.
View
15 extract-files.sh
@@ -1,14 +1,7 @@
#!/bin/sh
-BASE=../../../vendor/htc/ville/proprietary
-rm -rf $BASE/*
+set -e
-for FILE in `egrep -v '(^#|^$)' proprietary-files.txt`; do
- DIR=`dirname $FILE`
- if [ ! -d $BASE/$DIR ]; then
- mkdir -p $BASE/$DIR
- fi
- adb pull /system/$FILE $BASE/$FILE
-done
-
-./setup-makefiles.sh
+export DEVICE=ville
+export VENDOR=htc
+./../msm8960-common/extract-files.sh $@
View
23 keylayout/AVRCP.kl
@@ -1,23 +0,0 @@
-# Copyright (C) 2010 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.
-
-# Key layout used for Bluetooth AVRCP support.
-
-key 200 MEDIA_PLAY WAKE
-key 201 MEDIA_PAUSE WAKE
-key 166 MEDIA_STOP WAKE
-key 163 MEDIA_NEXT WAKE
-key 165 MEDIA_PREVIOUS WAKE
-key 168 MEDIA_REWIND WAKE
-key 208 MEDIA_FAST_FORWARD WAKE
View
7 overlay/frameworks/base/core/res/res/values/config.xml
@@ -143,4 +143,11 @@
<item>5</item>
<item>7</item>
</integer-array>
+
+ <!-- Specifies the amount of time to disable virtual keys after the screen is touched
+ in order to filter out accidental virtual key presses due to swiping gestures
+ or taps near the edge of the display. May be 0 to disable the feature.
+ It is recommended that this value be no more than 250 ms.
+ This feature should be disabled for most devices. -->
+ <integer name="config_virtualKeyQuietTimeMillis">250</integer>
</resources>
View
BIN prebuilt/kernel
Binary file not shown.
View
142 proprietary-files.txt
@@ -1,142 +0,0 @@
-# Configuration files
-etc/agps_rm
-
-# Executable files
-bin/akmd
-bin/cand
-bin/charging
-bin/ewtzmud
-bin/hci_qcomm_init
-bin/mm-qcamera-daemon
-bin/mpdecision
-bin/netmgrd
-bin/netsharing
-bin/qmuxd
-bin/rmt_storage
-bin/thermald
-bin/zchgd
-
-# Audio
-lib/libacdbloader.so
-lib/libaudcal.so
-
-# Camera
-lib/libchromatix_s5k3h2yx_default_video.so
-lib/libchromatix_s5k3h2yx_hdr.so
-lib/libchromatix_s5k3h2yx_hfr.so
-lib/libchromatix_s5k3h2yx_preview.so
-lib/libchromatix_s5k3h2yx_zsl.so
-lib/libcameraface.so
-lib/libcamerapp.so
-lib/libcam_oem_plugin.so
-lib/libDxOAF.so
-lib/libgemini.so
-lib/libmmcamera_frameproc.so
-lib/libmmcamera_rawchipproc.so
-lib/libmmcamera_statsproc30.so
-lib/libmmipl.so
-lib/libmmjpeg.so
-lib/liboemcamera.so
-lib/libOlaEngine.so
-lib/libposteffect.so
-
-# Graphics
-lib/egl/eglsubAndroid.so
-lib/egl/libEGL_adreno200.so
-lib/egl/libGLESv1_CM_adreno200.so
-lib/egl/libGLESv2_adreno200.so
-lib/egl/libq3dtools_adreno200.so
-lib/libC2D2.so
-lib/libc2d2_z180.so
-lib/libgsl.so
-lib/libOpenVG.so
-lib/libsc-a2xx.so
-
-# GPS
-lib/hw/gps.default.so
-lib/libgps.so
-lib/libgps.utils.so
-lib/libloc_adapter.so
-lib/libloc_api_v02.so
-lib/libloc_eng.so
-lib/libloc_ext.so
-
-# Media libraries
-lib/libmmosal.so
-lib/libmm-color-convertor.so
-lib/libmmparser.so
-lib/libmmparser_divxdrmlib.so
-lib/libwvm.so
-lib/libWVStreamControlAPI_L3.so
-
-# Modem firmware
-etc/firmware/modem.b00
-etc/firmware/modem.b01
-etc/firmware/modem.b02
-etc/firmware/modem.b03
-etc/firmware/modem.b04
-etc/firmware/modem.b06
-etc/firmware/modem.b07
-etc/firmware/modem.mdt
-etc/firmware/modem_fw.b00
-etc/firmware/modem_fw.b01
-etc/firmware/modem_fw.b02
-etc/firmware/modem_fw.b03
-etc/firmware/modem_fw.b04
-etc/firmware/modem_fw.b05
-etc/firmware/modem_fw.b06
-etc/firmware/modem_fw.b07
-etc/firmware/modem_fw.b08
-etc/firmware/modem_fw.b09
-etc/firmware/modem_fw.b10
-etc/firmware/modem_fw.b13
-etc/firmware/modem_fw.b14
-etc/firmware/modem_fw.b21
-etc/firmware/modem_fw.b22
-etc/firmware/modem_fw.b23
-etc/firmware/modem_fw.b25
-etc/firmware/modem_fw.b26
-etc/firmware/modem_fw.b29
-etc/firmware/modem_fw.mdt
-
-# Q6 firmware
-etc/firmware/q6.b00
-etc/firmware/q6.b01
-etc/firmware/q6.b03
-etc/firmware/q6.b04
-etc/firmware/q6.b05
-etc/firmware/q6.b06
-etc/firmware/q6.mdt
-
-# Qualcomm/HTC common libs
-lib/libdiag.so
-lib/libdsi_netctrl.so
-lib/libdsutils.so
-lib/libidl.so
-lib/libqdi.so
-lib/libqdp.so
-lib/libqmi.so
-lib/libqmi_cci.so
-lib/libqmi_common_so.so
-lib/libqmi_csi.so
-lib/libqmi_encdec.so
-lib/libqmiservices.so
-
-# Radio
-lib/libnetmgr.so
-lib/libqc-opt.so
-lib/libril-qc-qmi-1.so
-lib/libril-qcril-hook-oem.so
-
-# Sensors
-lib/hw/sensors.ville.so
-
-# WLAN
-etc/firmware/wlan/prima/WCNSS_cfg.dat
-etc/firmware/wlan/prima/WCNSS_qcom_cfg.ini
-etc/firmware/wlan/prima/WCNSS_qcom_wlan_nv.bin
-etc/firmware/wcnss.b00
-etc/firmware/wcnss.b01
-etc/firmware/wcnss.b02
-etc/firmware/wcnss.b04
-etc/firmware/wcnss.mdt
View
277 ramdisk/init.ville.rc
@@ -1,277 +0,0 @@
-import init.ville.usb.rc
-
-on early-init
- mkdir /storage 0050 system sdcard_r
- mkdir /storage/sdcard0 0000 system system
-
- # for backwards compatibility
- symlink /storage/sdcard0 /sdcard
- symlink /storage/sdcard0 /mnt/sdcard
-
- mkdir /mnt/usbdisk 0755 system system
-
- export EXTERNAL_STORAGE /storage/sdcard0
-
-on init
- mkdir /devlog 0700 root root
-
-on emmc-fs
- # msm8960 firmware partitions
- mkdir /tombstones 0771 system system
- mkdir /tombstones/lpass 0771 system system
-
- # mount all mmc partitions
- mount_all /fstab.ville
-
-on post-fs-data
- # double check perms and set owner
- chown root root /devlog
- chmod 0700 /devlog
-
- # Set indication (checked by vold) that we have finished this action
- setprop vold.post_fs_done 1
-
- # prepare kernel for wifi module
- setprop ro.product.wireless WCN3660
- write /dev/wcnss_wlan 1
-
-on boot
- # mount debugfs for systrace
- mount debugfs /sys/kernel/debug /sys/kernel/debug
-
- # Chown polling nodes as needed from UI running on system server
- chown system system /persist
- chmod 0771 /persist
- chmod 0664 /sys/devices/platform/msm_sdcc.1/polling
- chown system system /sys/devices/platform/msm_sdcc.1/polling
-
- # bluetooth
- mkdir /data/misc/bluetooth 0770 bluetooth bluetooth
- chown bluetooth bluetooth /sys/module/bluetooth_power/parameters/power
- chown bluetooth bluetooth /sys/class/rfkill/rfkill0/type
- chown bluetooth bluetooth /sys/class/rfkill/rfkill0/state
- chown bluetooth bluetooth /proc/bluetooth/sleep/proto
- chown system system /sys/module/sco/parameters/disable_esco
- chown bluetooth bluetooth /sys/module/hci_smd/parameters/hcismd_set
- chmod 0660 /sys/module/bluetooth_power/parameters/power
- chmod 0660 /sys/module/hci_smd/parameters/hcismd_set
- chmod 0660 /sys/class/rfkill/rfkill0/state
- chmod 0660 /proc/bluetooth/sleep/proto
- chown bluetooth bluetooth /sys/devices/platform/msm_serial_hs.0/clock
- chmod 0660 /sys/devices/platform/msm_serial_hs.0/clock
-
- # for modem link
- chown system system /sys/module/serial/parameters/modem_enabled
-
- # wifi
- mkdir /data/misc/wifi 0770 wifi wifi
- mkdir /data/misc/wifi/sockets 0770 wifi wifi
- mkdir /data/misc/wifi/hostapd 0770 wifi wifi
- mkdir /data/misc/wifi/wpa_supplicant 0770 wifi wifi
- mkdir /data/misc/dhcp 0770 dhcp dhcp
- chown dhcp dhcp /data/misc/dhcp
-
- # create symlink to qcn wpa_supplicant folder
- symlink /data/misc/wifi/wpa_supplicant /data/system/wpa_supplicant
- symlink /dev/socket/wpa_wlan0 /data/system/wpa_supplicant/wlan0
-
- #Essential node for usbservice
- mkdir /dev/bus/ 755 root root
- mkdir /dev/bus/usb 755 root root
-
- # symlink for HDMI
- symlink /dev/graphics/fb1 /dev/graphics/hdmi
-
- # audio
- mkdir /data/audio 0775 media audio
-
- # radio
- mkdir /data/radio 0770 radio radio
-
- # time-services
- mkdir /data/time 0700 system system
-
- # liblights
- chown system system /sys/class/leds/green/brightness
- chown system system /sys/class/leds/green/blink
- chown system system /sys/class/leds/amber/brightness
- chown system system /sys/class/leds/amber/blink
- chown system system /sys/class/leds/button-backlight/brightness
- chown system system /sys/class/leds/lcd-backlight/brightness
-
- # flashlight
- chown system system /sys/class/leds/flashlight/brightness
- chmod 0666 /sys/class/leds/flashlight/brightness
-
- # low charge current in voice call
- chown radio radio /sys/class/power_supply/battery/phone_call
- chown radio radio /sys/class/power_supply/battery/network_search
-
- # allow interfaces to get v6 address when tethering is enabled
- write /proc/sys/net/ipv6/conf/rmnet0/accept_ra 2
- write /proc/sys/net/ipv6/conf/rmnet1/accept_ra 2
- write /proc/sys/net/ipv6/conf/rmnet2/accept_ra 2
- write /proc/sys/net/ipv6/conf/rmnet3/accept_ra 2
- write /proc/sys/net/ipv6/conf/rmnet4/accept_ra 2
- write /proc/sys/net/ipv6/conf/rmnet5/accept_ra 2
- write /proc/sys/net/ipv6/conf/rmnet6/accept_ra 2
- write /proc/sys/net/ipv6/conf/rmnet7/accept_ra 2
- write /proc/sys/net/ipv6/conf/rmnet_sdio0/accept_ra 2
- write /proc/sys/net/ipv6/conf/rmnet_sdio1/accept_ra 2
- write /proc/sys/net/ipv6/conf/rmnet_sdio2/accept_ra 2
- write /proc/sys/net/ipv6/conf/rmnet_sdio3/accept_ra 2
- write /proc/sys/net/ipv6/conf/rmnet_sdio4/accept_ra 2
- write /proc/sys/net/ipv6/conf/rmnet_sdio5/accept_ra 2
- write /proc/sys/net/ipv6/conf/rmnet_sdio6/accept_ra 2
- write /proc/sys/net/ipv6/conf/rmnet_sdio7/accept_ra 2
-
- # Define TCP buffer sizes for various networks
- setprop net.tcp.buffersize.hspa 4096,174760,3145728,4096,16384,110208
- setprop net.tcp.buffersize.hsupa 4096,174760,1572864,4096,16384,110208
- setprop net.tcp.buffersize.hsdpa 4096,174760,1572864,4096,16384,110208
- setprop net.tcp.buffersize.umts 4096,174760,1572864,4096,16384,110208
- setprop net.tcp.buffersize.edge 4096,174760,1572864,4096,16384,35040
- setprop net.tcp.buffersize.gprs 4096,174760,1572864,4096,8760,11680
-
- # load kineto_gan.ko
- insmod /system/lib/modules/kineto_gan.ko
-
- # cyttsp update
- write /sys/devices/i2c-3/3-0024/cyttsp_update_fw 1
-
-# Services start here
-
-service abld /system/bin/mm-abl-daemon
- disabled
-
-service akmd /system/bin/akmd
- class main
- user compass
- group compass misc input
-
-service cand /system/bin/cand
- user root
-
-service dhcpcd_wlan0 /system/bin/dhcpcd -ABKLG
- disabled
- oneshot
-
-service ewtzmud /system/bin/ewtzmud
- class main
- user system
- group system misc input
-
-service fm_dl /system/bin/sh /system/etc/init.qcom.fm.sh
- user root
- group system qcom_oncrpc
- disabled
- oneshot
-
-service hciattach /system/bin/sh /system/etc/init.qcom.bt.sh
- user bluetooth
- group qcom_oncrpc bluetooth net_bt_admin
- disabled
- oneshot
-
-service hdmid /system/bin/hdmid
- socket hdmid stream 0660 root system graphics
- disabled
-
-service iprenew_wlan0 /system/bin/dhcpcd -n
- disabled
- oneshot
-
-service mpdecision /system/bin/mpdecision --no_sleep --avg_comp
- user root
- disabled
-
-service netmgrd /system/bin/netmgrd
- class main
-
-service p2p_supplicant /system/bin/wpa_supplicant -Dnl80211 -iwlan0 -c/data/misc/wifi/wpa_supplicant.conf
- user root
- group wifi inet
- socket wpa_wlan0 dgram 0660 wifi wifi
- disabled
- oneshot
-
-service qcamerasvr /system/bin/mm-qcamera-daemon
- class main
- user system
- group system camera inet
-
-service qcom-post-boot /system/bin/sh /system/etc/init.qcom.post_boot.sh
- user root
- disabled
- oneshot
-
-service qcom-sh /system/bin/sh /init.qcom.sh
- class main
- user root
- oneshot
-
-service qmuxd /system/bin/qmuxd
- class main
- user radio
- group radio
-
-service rmt_storage /system/bin/rmt_storage modem_st1 modem_st2 recovery radio_config
- class core
- user root
-
-service thermald /system/bin/thermald
- user root
- group root
- disabled
-
-service time_daemon /system/bin/time_daemon
- user root
- group root
- oneshot
- disabled
-
-service wpa_supplicant /system/bin/wpa_supplicant -Dnl80211 -iwlan0 -c/data/misc/wifi/wpa_supplicant.conf
- user root
- group wifi inet
- socket wpa_wlan0 dgram 0660 wifi wifi
- disabled
- oneshot
-
-service zchgd_offmode /system/bin/zchgd -pseudooffmode
- user root
- group root graphics
- disabled
-
-service zchgd_onmode /system/bin/zchgd -onmode
- user root
- group root graphics
- oneshot
-
-on property:init.svc.bootanim=stopped
- start qcom-post-boot
-
-on property:init.svc.wpa_supplicant=stopped
- stop dhcpcd_wlan0
-
-on property:persist.thermal.monitor=true
- start thermald
-
-on property:persist.timed.enable=true
- start time_daemon
-
-on property:ro.hdmi.enable=true
- start hdmid
-
-on property:ro.qualcomm.cabl=1
- start abld
-
-on property:ro.qualcomm.cabl=0
- stop abld
-
-on property:ro.use_data_netmgrd=false
- stop netmgrd
-
-on property:service.adb.root=1
- write /sys/class/android_usb/android0/enable 0
- restart adbd
- write /sys/class/android_usb/android0/enable 1
View
44 ramdisk/init.ville.usb.rc
@@ -1,44 +0,0 @@
-on boot
- write /sys/class/android_usb/android0/iManufacturer ${ro.product.manufacturer}
- write /sys/class/android_usb/android0/iProduct ${ro.product.model}
- write /sys/class/android_usb/android0/iSerial ${ro.serialno}
- write /sys/class/android_usb/android0/f_mass_storage/inquiry_string "HTC One S 0000"
- write /sys/class/android_usb/android0/f_rndis/manufacturer HTC
- write /sys/class/android_usb/android0/f_rndis/vendorID 0bb4
- write /sys/class/android_usb/android0/f_rndis/wceis 1
-
-on property:sys.usb.config=mass_storage
- write /sys/class/android_usb/android0/enable 0
- write /sys/class/android_usb/android0/idVendor 0bb4
- write /sys/class/android_usb/android0/idProduct 0cec
- write /sys/class/android_usb/android0/functions ${sys.usb.config}
- write /sys/class/android_usb/android0/enable 1
- setprop sys.usb.state ${sys.usb.config}
-
-on property:sys.usb.config=mass_storage,adb
- write /sys/class/android_usb/android0/enable 0
- write /sys/class/android_usb/android0/idVendor 0bb4
- write /sys/class/android_usb/android0/idProduct 0cec
- write /sys/class/android_usb/android0/functions ${sys.usb.config}
- write /sys/class/android_usb/android0/enable 1
- start adbd
- setprop sys.usb.state ${sys.usb.config}
-
-on property:sys.usb.config=rndis
- write /sys/class/android_usb/android0/enable 0
- write /sys/class/android_usb/android0/idVendor 0bb4
- write /sys/class/android_usb/android0/idProduct 0cec
- write /sys/class/android_usb/android0/functions ${sys.usb.config}
- write /sys/class/android_usb/android0/bDeviceClass 224
- write /sys/class/android_usb/android0/enable 1
- setprop sys.usb.state ${sys.usb.config}
-
-on property:sys.usb.config=rndis,adb
- write /sys/class/android_usb/android0/enable 0
- write /sys/class/android_usb/android0/idVendor 0bb4
- write /sys/class/android_usb/android0/idProduct 0cec
- write /sys/class/android_usb/android0/functions ${sys.usb.config}
- write /sys/class/android_usb/android0/bDeviceClass 224
- write /sys/class/android_usb/android0/enable 1
- start adbd
- setprop sys.usb.state ${sys.usb.config}
View
142 ramdisk/ueventd.ville.rc
@@ -1,142 +0,0 @@
-/dev/rtc0 0600 system system
-
-# HTC diag
-/dev/btdiag 0660 radio radio
-/dev/diag_arm9 0660 radio radio
-/dev/diag_mdm 0660 radio radio
-/dev/htcdiag 0660 radio radio
-
-# the genlock client device node is world writable/readable.
-/dev/genlock 0666 root root
-
-# gpu driver for adreno200 is globally accessible
-/dev/kgsl-3d0 0666 root root
-/dev/kgsl-2d0 0666 root root
-/dev/kgsl-2d1 0666 root root
-
-/dev/ttyHS0 0660 bluetooth bluetooth
-/dev/ttyGS0 0660 system system
-/dev/sdio_tty_ciq_00 0660 system system
-/dev/msm_rotator 0660 system graphics
-/dev/pmem_audio 0660 system audio
-/dev/pmem_smipool* 0660 system camera
-/dev/oncrpc/* 0660 radio system
-/dev/radio0 0644 fm_radio fm_radio
-/dev/i2c-0 0664 root system
-/dev/i2c-1 0664 root system
-/dev/i2c-2 0664 root system
-/dev/i2c-4 0664 root system
-/dev/msm_mvs 0660 system audio
-/dev/msm_voicememo 0660 system audio
-/dev/tzcom 0660 system audio
-/dev/qce 0660 system audio
-/dev/msm_pcm_lp_dec 0660 system audio
-# HTC
-/dev/smd0 0660 system system
-/dev/smd4 0660 system system
-/dev/smd3 0660 bluetooth bluetooth
-/dev/smd2 0660 bluetooth bluetooth
-/dev/smd7 0640 radio radio
-/dev/smdcntl0 0640 radio radio
-/dev/smdcntl1 0640 radio radio
-/dev/smdcntl2 0640 radio radio
-/dev/smdcntl3 0640 radio radio
-/dev/smdcntl4 0640 radio radio
-/dev/smdcntl5 0640 radio radio
-/dev/smdcntl6 0640 radio radio
-/dev/smdcntl7 0640 radio radio
-/dev/sdioctl0 0640 radio radio
-/dev/sdioctl1 0640 radio radio
-/dev/sdioctl2 0640 radio radio
-/dev/sdioctl3 0640 radio radio
-/dev/sdioctl4 0640 radio radio
-/dev/sdioctl4 0640 radio radio
-/dev/sdioctl5 0640 radio radio
-/dev/sdioctl6 0640 radio radio
-/dev/sdioctl7 0640 radio radio
-/dev/sdioctl8 0640 radio radio
-/dev/rmnet_ctrl 0640 radio radio
-/dev/qemu_trace 0666 system system
-/dev/gemini0 0660 system camera
-/dev/rawchip0 0660 system system
-/dev/mdm 0660 system system
-/dev/ttyHSL1 0660 system system
-/dev/tty_sdio_00 0660 system system
-/dev/block/mmcblk0p17 0660 system system
-/dev/block/mmcblk0p18 0660 system system
-/dev/video* 0660 system camera
-
-# regular apps need to be able to open ion
-/dev/ion 0664 system system
-
-# wifi
-/dev/rfkill 0660 root wifi
-
-# CDMA radio interface MUX
-/dev/ts0710mux* 0640 radio radio
-/dev/ppp 0660 radio vpn
-
-# permissions for video
-/dev/msm_vidc_reg 0660 system audio
-/dev/msm_vidc_dec 0660 system audio
-/dev/msm_vidc_dec_sec 0660 system audio
-/dev/msm_vidc_enc 0660 system audio
-
-# permissions for audio
-/dev/msm_amrnb 0660 system audio
-/dev/msm_amrwb 0660 system audio
-/dev/msm_aac 0660 system audio
-/dev/msm_multi_aac 0660 system audio
-/dev/msm_aac_in 0660 system audio
-/dev/msm_qcelp 0660 system audio
-/dev/msm_evrc 0660 system audio
-/dev/msm_fm 0660 system audio
-/dev/msm_acdb 0660 system audio
-/dev/msm_rtac 0660 system audio
-/dev/msm_wma 0660 system audio
-/dev/msm_wmapro 0660 system audio
-/dev/msm_qcelp_in 0660 system audio
-/dev/msm_evrc_in 0660 system audio
-/dev/msm_preproc_ctl 0660 system audio
-/dev/msm_a2dp_in 0640 system audio
-/dev/msm_amrnb_in 0640 system audio
-
-# for ville sensors
-/dev/akm8975_aot 0640 compass system
-/dev/akm8975_daemon 0640 compass system
-/dev/bma150 0640 compass system
-/dev/ewtzmu2daemon 0640 system system
-/dev/ewtzmu2hal 0640 system system
-/dev/ewtzmu2 0640 system system
-
-# for simlock
-/dev/simlock 0660 radio radio
-
-# sysfs properties
-/sys/devices/virtual/smdpkt/smdcntl* open_timeout 0664 radio radio
-
-# felica device file nodes
-/dev/felica 0666 felicaclient felicaclient
-/dev/felica_pon 0666 felicaclient felicaclient
-/dev/felica_cen 0666 felicalock felicalock
-/dev/felica_rfs 0444 felicaclient felicaclient
-/dev/felica_rws 0666 felicaclient felicaclient
-/dev/felica_int 0444 felicaclient felicaclient
-/dev/felica_int_poll 0400 felicaclient felicaclient
-/dev/felica_uid 0222 felicaclient felicaclient
-
-# for modem link
-/sys/module/serial/parameters/modem_enabled 0600 system system
-/dev/ttyHSUSB0 0600 system system
-/dev/ttySA0 0600 system system
-/dev/smd9 0600 system system
-
-# for autobot car pc
-/dev/ttyHSUSB3 0660 autobot_access autobot_access
-/dev/ttyHSUSB1 0600 system system
-
-#Usb Stuff
-/dev/bus/usb/* 0660 root usb
-/dev/mtp_usb 0660 root mtp
-/dev/usb_accessory 0660 root usb
-/dev/usb/lp* 0660 system usb
View
17 rootdir/Android.mk
@@ -0,0 +1,17 @@
+LOCAL_PATH := $(call my-dir)
+
+include $(CLEAR_VARS)
+LOCAL_MODULE := fstab.ville
+LOCAL_MODULE_TAGS := optional eng
+LOCAL_MODULE_CLASS := ETC
+LOCAL_SRC_FILES := etc/fstab.ville
+LOCAL_MODULE_PATH := $(TARGET_ROOT_OUT)
+include $(BUILD_PREBUILT)
+
+include $(CLEAR_VARS)
+LOCAL_MODULE := init.target.rc
+LOCAL_MODULE_TAGS := optional eng
+LOCAL_MODULE_CLASS := ETC
+LOCAL_SRC_FILES := etc/init.target.rc
+LOCAL_MODULE_PATH := $(TARGET_ROOT_OUT)
+include $(BUILD_PREBUILT)
View
0 ramdisk/fstab.ville → rootdir/etc/fstab.ville
File renamed without changes.
View
31 rootdir/etc/init.target.rc
@@ -0,0 +1,31 @@
+on early-init
+ mkdir /storage 0050 system sdcard_r
+ mkdir /storage/sdcard0 0000 system system
+
+ # for backwards compatibility
+ symlink /storage/sdcard0 /sdcard
+ symlink /storage/sdcard0 /mnt/sdcard
+
+ export EXTERNAL_STORAGE /storage/sdcard0
+
+ setprop ro.usb.idproduct.ums 0cec
+ setprop ro.usb.idproduct.rndis 0cec
+
+on fs
+ # mount all mmc partitions
+ mount_all /fstab.ville
+
+# Services start here
+
+service akmd /system/bin/akmd
+ class main
+ user compass
+ group compass misc input
+
+service cand /system/bin/cand
+ user root
+
+service ewtzmud /system/bin/ewtzmud
+ class main
+ user system
+ group system misc input
View
87 setup-makefiles.sh
@@ -1,84 +1,7 @@
-VENDOR=htc
-DEVICE=ville
-OUTDIR=vendor/$VENDOR/$DEVICE
-MAKEFILE=../../../$OUTDIR/$DEVICE-vendor-blobs.mk
-
-(cat << EOF) > $MAKEFILE
-# Copyright (C) 2011 The CyanogenMod 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.
-
-# This file is generated by device/$VENDOR/$DEVICE/setup-makefiles.sh
-
-# Prebuilt libraries that are needed to build open-source libraries
-PRODUCT_COPY_FILES += \\
- $OUTDIR/proprietary/lib/libacdbloader.so:obj/lib/libacdbloader.so \\
- $OUTDIR/proprietary/lib/libmmjpeg.so:obj/lib/libmmjpeg.so
-
-PRODUCT_COPY_FILES += \\
-EOF
-
-LINEEND=" \\"
-COUNT=`wc -l proprietary-files.txt | awk {'print $1'}`
-DISM=`egrep -c '(^#|^$)' proprietary-files.txt`
-COUNT=`expr $COUNT - $DISM`
-for FILE in `egrep -v '(^#|^$)' proprietary-files.txt`; do
- COUNT=`expr $COUNT - 1`
- if [ $COUNT = "0" ]; then
- LINEEND=""
- fi
- echo " $OUTDIR/proprietary/$FILE:system/$FILE$LINEEND" >> $MAKEFILE
-done
-
-(cat << EOF) > ../../../$OUTDIR/$DEVICE-vendor.mk
-# Copyright (C) 2011 The CyanogenMod 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.
-
-# This file is generated by device/$VENDOR/$DEVICE/setup-makefiles.sh
-
-# Pick up overlay for features that depend on non-open-source files
-DEVICE_PACKAGE_OVERLAYS := vendor/$VENDOR/$DEVICE/overlay
-
-\$(call inherit-product, vendor/$VENDOR/$DEVICE/$DEVICE-vendor-blobs.mk)
-EOF
-
-(cat << EOF) > ../../../$OUTDIR/BoardConfigVendor.mk
-# Copyright (C) 2011 The CyanogenMod 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.
-
-# This file is generated by device/$VENDOR/$DEVICE/setup-makefiles.sh
-EOF
+#!/bin/sh
+set -e
+export DEVICE=ville
+export VENDOR=htc
+./../msm8960-common/setup-makefiles.sh $@
View
1 system.prop
@@ -7,7 +7,6 @@ ro.sf.lcd_density=240
# RIL properties
mobiledata.interfaces=rmnet0
ro.telephony.default_network=0
-ro.telephony.ril_class=HTCQualcommRIL
DEVICE_PROVISIONED=1
rild.libpath=/system/lib/libril-qc-qmi-1.so
rild.libargs=-d /dev/smd0
Something went wrong with that request. Please try again.