Skip to content
Permalink
Browse files

stuff

  • Loading branch information...
Dazzozo committed Dec 29, 2012
1 parent 1ddde80 commit 552620b473a663a039b8a201c876c4051da6260f
Showing with 5,179 additions and 9,942 deletions.
  1. +1 −1 Android.mk
  2. +6 −11 BoardConfig.mk
  3. +4 −23 device_u8815.mk
  4. +0 −74 libaudio/Android.mk
  5. +0 −2,356 libaudio/AudioHardware.cpp
  6. +0 −338 libaudio/AudioHardware.h
  7. +0 −947 libaudio/AudioPolicyManager.cpp
  8. +0 −74 libaudio/AudioPolicyManager.h
  9. +0 −236 libaudio/HardwarePinSwitching.c
  10. +0 −42 libaudio/HardwarePinSwitching.h
  11. +0 −613 libaudio/audio_hw_hal.cpp
  12. +0 −426 libaudio/audio_policy_hal.cpp
  13. +37 −0 libcopybit/Android.mk
  14. 0 {libril → libcopybit}/MODULE_LICENSE_APACHE2
  15. +1 −1 {libril → libcopybit}/NOTICE
  16. +497 −0 libcopybit/copybit.cpp
  17. +302 −0 libcopybit/gralloc_priv.h
  18. +243 −0 libcopybit/msm_mdp.h
  19. +55 −0 libgralloc/Android.mk
  20. 0 libgralloc/MODULE_LICENSE_APACHE2
  21. +190 −0 libgralloc/NOTICE
  22. +165 −0 libgralloc/allocator.cpp
  23. +130 −0 libgralloc/allocator.h
  24. +857 −0 libgralloc/framebuffer.cpp
  25. +401 −0 libgralloc/gpu.cpp
  26. +78 −0 libgralloc/gpu.h
  27. +69 −0 libgralloc/gr.h
  28. +205 −0 libgralloc/gralloc.cpp
  29. +302 −0 libgralloc/gralloc_priv.h
  30. +488 −0 libgralloc/mapper.cpp
  31. +325 −0 libgralloc/pmemalloc.cpp
  32. +161 −0 libgralloc/pmemalloc.h
  33. +55 −0 libgralloc/tests/Android.mk
  34. +601 −0 libgralloc/tests/pmemalloc_test.cpp
  35. +0 −51 libril/Android.mk
  36. +0 −3,239 libril/ril.cpp
  37. +0 −124 libril/ril_commands.h
  38. +0 −385 libril/ril_event.cpp
  39. +0 −52 libril/ril_event.h
  40. +0 −52 libril/ril_unsol_commands.h
  41. +0 −366 mediaprofiles/media_profiles.xml
  42. +0 −50 overlay/frameworks/base/core/res/res/values/config.xml
  43. +0 −48 overlay/frameworks/base/core/res/res/xml/storage_list.xml
  44. +6 −3 prebuilt/init.huawei.rc
  45. BIN { → prebuilt}/kernel
  46. BIN prebuilt/system/bin/vold
  47. BIN prebuilt/system/etc/firmware/yamato_pfp.fw
  48. BIN prebuilt/system/etc/firmware/yamato_pm4.fw
  49. BIN prebuilt/system/lib/egl/eglsubAndroid.so
  50. BIN prebuilt/system/lib/egl/libEGL_adreno200.so
  51. BIN prebuilt/system/lib/egl/libGLESv1_CM_adreno200.so
  52. BIN prebuilt/system/lib/egl/libGLESv2_adreno200.so
  53. BIN prebuilt/system/lib/egl/libq3dtools_adreno200.so
  54. BIN prebuilt/system/lib/libC2D2.so
  55. BIN prebuilt/system/lib/libOpenVG.so
  56. BIN prebuilt/system/lib/libgsl.so
  57. BIN prebuilt/system/lib/libsc-a2xx.so
  58. +0 −369 recovery/graphics.c
  59. +0 −61 recovery/recovery_ui.c
@@ -1,4 +1,4 @@

ifeq ($(TARGET_BOOTLOADER_BOARD_NAME),u8815)
include $(call all-named-subdir-makefiles, liblights libaudio libril)
include $(call all-named-subdir-makefiles, liblights libgralloc libcopybit)
endif
@@ -1,11 +1,11 @@
USE_CAMERA_STUB := false
USE_CAMERA_STUB := true

# inherit from the proprietary version
-include vendor/huawei/u8815/BoardConfigVendor.mk

TARGET_NO_BOOTLOADER := true

TARGET_BOARD_PLATFORM := msm7x27
TARGET_BOARD_PLATFORM := msm7k
TARGET_BOARD_PLATFORM_GPU := qcom-adreno200

TARGET_NO_BOOTLOADER := true
@@ -17,7 +17,7 @@ TARGET_ARCH_VARIANT := armv7-a-neon
ARCH_ARM_HAVE_TLS_REGISTER := true

TARGET_BOOTLOADER_BOARD_NAME := u8815
TARGET_OTA_ASSERT_DEVICE := u8815,hwu8815,u8815,hwu8815
TARGET_OTA_ASSERT_DEVICE := u8815,hwu8815,u8818,hwu8818

# Audio
BOARD_PROVIDES_LIBAUDIO := true
@@ -40,7 +40,8 @@ BOARD_USES_QCOM_HARDWARE := true
COMMON_GLOBAL_CFLAGS += -DQCOM_HARDWARE
BOARD_USES_QCOM_LIBRPC := true
BOARD_USES_QCOM_LIBS := true
COMMON_GLOBAL_CFLAGS += -DTARGET_MSM7x27
COMMON_GLOBAL_CFLAGS += -DTARGET_MSM7x27A -DTARGET_MSM7x27
TARGET_LIBAGL_USE_GRALLOC_COPYBITS := true

WITH_JIT := true
ENABLE_JSC_JIT := true
@@ -50,10 +51,6 @@ HTTP := chrome
BOARD_HAVE_BLUETOOTH := true
BOARD_HAVE_BLUETOOTH_BCM := true

# FM Radio
BOARD_GLOBAL_CFLAGS += -DHAVE_FM_RADIO
FM_RADIO := true

# RIL
BOARD_PROVIDES_LIBRIL := true

@@ -79,7 +76,7 @@ BOARD_FLASH_BLOCK_SIZE := 131072
#TARGET_KERNEL_SOURCE := kernel/huawei/u8815
#TARGET_KERNEL_CONFIG := cyanogen_u8815_defconfig
TARGET_PREBUILT_KERNEL := device/huawei/u8815/kernel
BOARD_KERNEL_CMDLINE := console=ttyDDC0 androidboot.hardware=huawei
BOARD_KERNEL_CMDLINE := androidboot.hardware=huawei
BOARD_KERNEL_BASE := 0x00200000
BOARD_PAGE_SIZE := 2048

@@ -96,8 +93,6 @@ BOARD_CACHE_FILESYSTEM_OPTIONS := rw
BOARD_USES_MMCUTILS := true
BOARD_HAS_NO_MISC_PARTITION := true

BOARD_CUSTOM_GRAPHICS := ../../../device/huawei/u8815/recovery/graphics.c
BOARD_CUSTOM_RECOVERY_KEYMAPPING := ../../device/huawei/u8815/recovery/recovery_ui.c
BOARD_USE_USB_MASS_STORAGE_SWITCH := true
TARGET_USE_CUSTOM_LUN_FILE_PATH := /sys/devices/platform/usb_mass_storage/lun
TARGET_USE_CUSTOM_SECOND_LUN_NUM := 2
@@ -33,11 +33,8 @@ PRODUCT_PACKAGES += \

# Graphics
PRODUCT_PACKAGES += \
gralloc.msm7x27 \
copybit.msm7x27 \
hwcomposer.msm7x27 \
libtilerenderer \
libQcomUI
gralloc.u8815 \
copybit.u8815

# Audio
PRODUCT_PACKAGES += \
@@ -77,6 +74,7 @@ PRODUCT_COPY_FILES += \
device/huawei/u8815/prebuilt/system/wifi/fw_4330_b2.bin:system/wifi/fw_4330_b2.bin \
device/huawei/u8815/prebuilt/system/wifi/nvram_4330.txt:system/wifi/nvram_4330.txt \
device/huawei/u8815/prebuilt/system/etc/wifi/wpa_supplicant.conf:system/etc/wifi/wpa_supplicant.conf

PRODUCT_COPY_FILES += \
device/huawei/u8815/prebuilt/system/etc/bluetooth/BCM4330.hcd:system/etc/bluetooth/BCM4330.hcd \
device/huawei/u8815/prebuilt/system/etc/bluetooth/init.bcm.bt.sh:system/etc/bluetooth/init.bcm.bt.sh \
@@ -91,13 +89,8 @@ PRODUCT_COPY_FILES += \
device/huawei/u8815/prebuilt/system/etc/init.qcom.post_boot.sh:system/etc/init.qcom.post_boot.sh \
device/huawei/u8815/prebuilt/system/etc/init.qcom.sdio.sh:system/etc/init.qcom.sdio.sh \
device/huawei/u8815/prebuilt/system/etc/vold.fstab:system/etc/vold.fstab \
device/huawei/u8815/mediaprofiles/media_profiles.xml:system/etc/media_profiles.xml \
device/huawei/u8815/prebuilt/system/etc/AutoVolumeControl.txt:system/etc/AutoVolumeControl.txt

PRODUCT_COPY_FILES += \
device/huawei/u8815/prebuilt/system/etc/firmware/yamato_pfp.fw:system/etc/firmware/yamato_pfp.fw \
device/huawei/u8815/prebuilt/system/etc/firmware/yamato_pm4.fw:system/etc/firmware/yamato_pm4.fw

PRODUCT_COPY_FILES += \
device/huawei/u8815/prebuilt/system/usr/idc/synaptics.idc:system/usr/idc/synaptics.idc \
device/huawei/u8815/prebuilt/system/usr/keychars/7x27a_kp.kcm:system/usr/keychars/7x27a_kp.kcm \
@@ -106,21 +99,9 @@ PRODUCT_COPY_FILES += \
device/huawei/u8815/prebuilt/system/usr/keylayout/AVRCP.kl:system/usr/keylayout/AVRCP.kl \
device/huawei/u8815/prebuilt/system/usr/keylayout/Generic.kl:system/usr/keylayout/Generic.kl \
device/huawei/u8815/prebuilt/system/usr/keylayout/surf_keypad.kl:system/usr/keylayout/surf_keypad.kl

PRODUCT_COPY_FILES += \
device/huawei/u8815/prebuilt/system/lib/egl/libq3dtools_adreno200.so:system/lib/egl/libq3dtools_adreno200.so \
device/huawei/u8815/prebuilt/system/lib/egl/libGLESv2_adreno200.so:system/lib/egl/libGLESv2_adreno200.so \
device/huawei/u8815/prebuilt/system/lib/egl/libGLESv1_CM_adreno200.so:system/lib/egl/libGLESv1_CM_adreno200.so \
device/huawei/u8815/prebuilt/system/lib/egl/libEGL_adreno200.so:system/lib/egl/libEGL_adreno200.so \
device/huawei/u8815/prebuilt/system/lib/egl/eglsubAndroid.so:system/lib/egl/eglsubAndroid.so \
device/huawei/u8815/prebuilt/system/lib/libC2D2.so:system/lib/libC2D2.so \
device/huawei/u8815/prebuilt/system/lib/libOpenVG.so:system/lib/libOpenVG.so \
device/huawei/u8815/prebuilt/system/lib/libsc-a2xx.so:system/lib/libsc-a2xx.so \
device/huawei/u8815/prebuilt/system/lib/libgsl.so:system/lib/libgsl.so

PRODUCT_COPY_FILES += \
vendor/cm/prebuilt/common/etc/apns-conf.xml:system/etc/apns-conf.xml \
device/huawei/u8815/prebuilt/system/bin/vold:system/bin/vold
vendor/cyanogen/prebuilt/common/etc/apns-conf.xml:system/etc/apns-conf.xml

PRODUCT_LOCALES += hdpi

This file was deleted.

0 comments on commit 552620b

Please sign in to comment.
You can’t perform that action at this time.