Skip to content

Commit

Permalink
usb automount, goo support
Browse files Browse the repository at this point in the history
  • Loading branch information
asturel committed Sep 25, 2012
1 parent cf7582c commit 6b62406
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 9 deletions.
11 changes: 5 additions & 6 deletions BoardConfig.mk
Expand Up @@ -173,22 +173,21 @@ TARGET_RECOVERY_PIXEL_FORMAT = RGB_565

# Wifi related defines


BOARD_WPA_SUPPLICANT_DRIVER := WEXT
WPA_SUPPLICANT_VERSION := VER_0_6_X
BOARD_WLAN_DEVICE := bcm4329
BOARD_WLAN_DEVICE := bcm4319
WIFI_DRIVER_MODULE_PATH := "/system/lib/modules/dhd.ko"
WIFI_DRIVER_FW_STA_PATH := "/system/etc/wifi/rtecdc-bcm4329.bin"
WIFI_DRIVER_FW_AP_PATH := "/system/etc/wifi/rtecdc-apsta-bcm4329.bin"
WIFI_DRIVER_MODULE_ARG := "firmware_path=/system/etc/wifi/rtecdc-bcm4329.bin nvram_path=/system/etc/wifi/nvram-bcm4329.txt"
WIFI_DRIVER_FW_PATH_STA := "/system/etc/wifi/rtecdc-bcm4319.bin"
WIFI_DRIVER_FW_PATH_AP := "/system/etc/wifi/rtecdc-apsta-bcm4319.bin"
WIFI_DRIVER_MODULE_ARG := "firmware_path=/system/etc/wifi/rtecdc-bcm4319.bin nvram_path=/system/etc/wifi/nvram-bcm4319.txt"
WIFI_DRIVER_MODULE_NAME := "dhd"

# fix work on old kernel
BOARD_WEXT_NO_COMBO_SCAN := true

#BOARD_WPA_SUPPLICANT_PRIVATE_LIB := lib_driver_cmd_wext

BOARD_HOSTAPD_DRIVER := WEXT
#BOARD_HOSTAPD_DRIVER := WEXT
#BOARD_HOSTAPD_PRIVATE_LIB := lib_driver_cmd_wext

ADDITIONAL_DEFAULT_PROPERTIES += \
Expand Down
14 changes: 12 additions & 2 deletions device.mk
Expand Up @@ -299,7 +299,9 @@ PRODUCT_COPY_FILES += \
frameworks/base/data/etc/android.hardware.touchscreen.multitouch.xml:system/etc/permissions/android.hardware.touchscreen.multitouch.xml \
frameworks/base/data/etc/android.software.sip.voip.xml:system/etc/permissions/android.software.sip.voip.xml \
frameworks/base/data/etc/android.hardware.telephony.gsm.xml:system/etc/permissions/android.hardware.telephony.gsm.xml \
device/huawei/s7/prebuilt/system/etc/start_usb0.sh:system/etc/start_usb0.sh
device/huawei/s7/prebuilt/system/etc/start_usb0.sh:system/etc/start_usb0.sh \
vendor/goo/GooManager_2.1.2.apk:system/app/GooManager.apk



# Bluetooth configuration files
Expand All @@ -321,8 +323,16 @@ endif
PRODUCT_COPY_FILES += \
device/huawei/s7/kernel:kernel


PRODUCT_PROPERTY_OVERRIDES += \
ro.goo.developerid=asturel \
ro.goo.board=$(TARGET_PRODUCT) \
ro.goo.rom=CM9s7 \
ro.goo.version=$(shell date +%s)


$(call inherit-product, frameworks/base/build/tablet-dalvik-heap.mk)
$(call inherit-product-if-exists, hardware/broadcom/wlan/bcm4329/Android.mk)
#$(call inherit-product-if-exists, hardware/broadcom/wlan/bcm4329/Android.mk)

#$(call inherit-product, frameworks/base/build/phone-hdpi-512-dalvik-heap.mk)
#$(call inherit-product-if-exists,hardware/broadcom/wlan/bcmdhd/firmware/bcm4329/device-bcm.mk)
Expand Down
3 changes: 3 additions & 0 deletions prebuilt/root/init.s7.rc
Expand Up @@ -4,10 +4,13 @@ on early-init
export EXTERNAL_STORAGE /mnt/sdcard
mkdir /mnt/sdcard 0777 system system
mkdir /mnt/sdcard2 0777 system system
mkdir /mnt/pendrive 0777 system system


# for backwards compatibility
symlink /mnt/sdcard /sdcard
symlink /mnt/sdcard2 /sdcard2
symlink /mnt/pendrive /pendrive


service dhcp-service /system/bin/netcfg wlan0 dhcp
Expand Down
3 changes: 2 additions & 1 deletion vold.fstab
Expand Up @@ -25,4 +25,5 @@

dev_mount sdcard /mnt/sdcard auto /devices/platform/msm_sdcc.3/mmc_host/mmc2
dev_mount sdcard2 /mnt/sdcard2 auto /devices/platform/msm_sdcc.1/mmc_host/mmc0
dev_mount udisk /mnt/udisk auto /devices/platform/msm_hsusb_host.1/usb1
dev_mount udisk /mnt/pendrive auto /devices/platform/msm_hsusb_host.0/usb2/2-1/2-1:1.0/

0 comments on commit 6b62406

Please sign in to comment.