Permalink
Browse files

Import tested JB mods in Legend.

  • Loading branch information...
zeubea committed Oct 21, 2012
1 parent cee7eb5 commit 3f408aa115a5a8d0c9e516526e861c8b78df47c1
Showing with 727 additions and 9,378 deletions.
  1. +17 −69 BoardConfig.mk
  2. +0 −105 BoardConfig.mk.gb
  3. +0 −49 CleanSpec.mk
  4. +4 −0 README
  5. +2 −0 board-info.txt
  6. +0 −24 camera/Android.mk
  7. +0 −242 camera/CameraHardwareInterface.h
  8. +0 −1 camera/README
  9. +0 −830 camera/cameraHal.cpp
  10. BIN camera/libcamera-nexus.so
  11. +7 −28 cm.mk
  12. +0 −33 egl.cfg
  13. +34 −156 espresso.mk
  14. +0 −168 espresso.mk.gb
  15. +149 −0 extract-files.sh
  16. +0 −6 gps.conf
  17. +0 −66 include/linux/android_pmem.h
  18. +0 −47 include/linux/ashmem.h
  19. +0 −42 include/linux/genlock.h
  20. +0 −214 include/linux/msm_mdp.h
  21. +0 −84 include/linux/msm_rotator.h
  22. +11 −6 init.latte.rc
  23. +0 −101 init.latte.rc.gb
  24. +0 −44 init.latte.usb.rc
  25. +0 −54 init.recovery.rc
  26. +0 −54 libaudio/Android.mk
  27. +0 −1,136 libaudio/AudioHardware.cpp
  28. +0 −276 libaudio/AudioHardware.h
  29. +0 −240 libaudio/AudioPolicyManager.cpp
  30. +0 −49 libaudio/AudioPolicyManager.h
  31. 0 libaudio/MODULE_LICENSE_APACHE2
  32. +0 −190 libaudio/NOTICE
  33. +0 −33 liblights/Android.mk
  34. 0 liblights/MODULE_LICENSE_APACHE2
  35. +0 −190 liblights/NOTICE
  36. +0 −323 liblights/lights.c
  37. +0 −38 librpc-qcom/Android.mk
  38. 0 librpc-qcom/MODULE_LICENSE_APACHE2
  39. +0 −193 librpc-qcom/NOTICE
  40. +0 −756 librpc-qcom/clnt.c
  41. +0 −66 librpc-qcom/debug.h
  42. +0 −28 librpc-qcom/librpc.h
  43. +0 −96 librpc-qcom/ops.c
  44. +0 −156 librpc-qcom/rpc.c
  45. +0 −224 librpc-qcom/rpc/clnt.h
  46. +0 −53 librpc-qcom/rpc/pmap_clnt.h
  47. +0 −53 librpc-qcom/rpc/rpc.h
  48. +0 −45 librpc-qcom/rpc/rpc_router_ioctl.h
  49. +0 −220 librpc-qcom/rpc/svc.h
  50. +0 −437 librpc-qcom/rpc/types.h
  51. +0 −115 librpc-qcom/rpc/xdr.h
  52. +0 −577 librpc-qcom/svc.c
  53. +0 −324 librpc-qcom/svc_clnt_common.c
  54. +0 −528 librpc-qcom/xdr.c
  55. +2 −2 libsensors/AkmSensor.cpp
  56. +4 −4 libsensors/LightSensor.cpp
  57. +2 −2 libsensors/ProximitySensor.cpp
  58. +2 −2 libsensors/SensorBase.cpp
  59. +5 −5 libsensors/nusensors.cpp
  60. +15 −2 libsensors/sensors.c
  61. BIN overlay/frameworks/base/core/res/res/drawable-nodpi/default_wallpaper.jpg
  62. +113 −0 overlay/frameworks/base/core/res/res/values/config.xml
  63. +140 −0 overlay/frameworks/base/core/res/res/values/strings.xml
  64. +21 −0 overlay/frameworks/base/tests/ImfTest/res/values/config.xml
  65. +39 −0 overlay/packages/apps/Mms/res/xml/mms_config.xml
  66. +27 −0 prebuilt/bin/trackballwake
  67. +0 −33 prebuilt/egl.cfg
  68. +30 −0 prebuilt/etc/README.ecclist_for_mcc.conf
  69. +14 −0 prebuilt/etc/ecclist_for_mcc.conf
  70. BIN prebuilt/etc/firmware/a225_pfp.fw
  71. BIN prebuilt/etc/firmware/a225_pm4.fw
  72. BIN prebuilt/etc/firmware/a225p5_pm4.fw
  73. BIN prebuilt/etc/firmware/a300_pfp.fw
  74. BIN prebuilt/etc/firmware/a300_pm4.fw
  75. BIN prebuilt/etc/firmware/leia_pfp_470.fw
  76. BIN prebuilt/etc/firmware/leia_pm4_470.fw
  77. BIN prebuilt/etc/firmware/yamato_pfp.fw
  78. BIN prebuilt/etc/firmware/yamato_pm4.fw
  79. +0 −5 prebuilt/etc/fstab
  80. +0 −6 prebuilt/etc/gps.conf
  81. +0 −202 prebuilt/etc/media_profiles.xml
  82. +0 −3 prebuilt/etc/pvasflocal.cfg
  83. +0 −1 prebuilt/etc/vold.fstab
  84. +0 −9 prebuilt/h2w_headset.kl
  85. +0 −183 prebuilt/init.latte.rc
  86. +0 −44 prebuilt/init.latte.usb.rc
  87. +0 −2 prebuilt/lib/egl/egl.cfg
  88. BIN prebuilt/lib/egl/eglsubAndroid.so
  89. BIN prebuilt/lib/egl/libEGL_adreno200.so
  90. BIN prebuilt/lib/egl/libGLES_android.so
  91. BIN prebuilt/lib/egl/libGLESv1_CM_adreno200.so
  92. BIN prebuilt/lib/egl/libGLESv2_adreno200.so
  93. BIN prebuilt/lib/egl/libq3dtools_adreno200.so
  94. BIN prebuilt/lib/libC2D2.so
  95. BIN prebuilt/lib/libOpenVG.so
  96. BIN prebuilt/lib/libcryp98.so
  97. BIN prebuilt/lib/libgsl.so
  98. BIN prebuilt/lib/libsc-a2xx.so
  99. +0 −6 prebuilt/ueventd.latte.rc
  100. +10 −9 recovery.fstab
  101. +0 −3 recovery/Android.mk
  102. +0 −39 recovery/offmode/Android.mk
  103. BIN recovery/offmode/choice_fn
  104. BIN recovery/offmode/detect_key
  105. BIN recovery/offmode/offmode_charging
  106. BIN recovery/offmode/power_test
  107. BIN recovery/res/offmode_charging_images/battery_error.png
  108. BIN recovery/res/offmode_charging_images/charging_full_00031.png
  109. BIN recovery/res/offmode_charging_images/charging_full_00035.png
  110. BIN recovery/res/offmode_charging_images/charging_full_00041.png
  111. BIN recovery/res/offmode_charging_images/charging_full_00043.png
  112. BIN recovery/res/offmode_charging_images/charging_full_00047.png
  113. BIN recovery/res/offmode_charging_images/charging_full_00049.png
  114. BIN recovery/res/offmode_charging_images/charging_full_00053.png
  115. BIN recovery/res/offmode_charging_images/charging_full_00055.png
  116. BIN recovery/res/offmode_charging_images/charging_full_00059.png
  117. BIN recovery/res/offmode_charging_images/charging_full_00061.png
  118. BIN recovery/res/offmode_charging_images/charging_full_00065.png
  119. BIN recovery/res/offmode_charging_images/charging_full_00067.png
  120. BIN recovery/res/offmode_charging_images/charging_full_00071.png
  121. BIN recovery/res/offmode_charging_images/charging_full_00073.png
  122. BIN recovery/res/offmode_charging_images/charging_full_00077.png
  123. BIN recovery/res/offmode_charging_images/charging_full_00079.png
  124. BIN recovery/res/offmode_charging_images/charging_full_00083.png
  125. BIN recovery/res/offmode_charging_images/charging_full_00085.png
  126. BIN recovery/res/offmode_charging_images/charging_full_00089.png
  127. BIN recovery/res/offmode_charging_images/charging_full_00091.png
  128. BIN recovery/res/offmode_charging_images/charging_full_00095.png
  129. BIN recovery/res/offmode_charging_images/charging_full_00099.png
  130. +73 −0 setup-makefiles.sh
  131. +6 −29 ueventd.latte.rc
  132. +0 −18 vold.fstab
View
@@ -1,4 +1,4 @@
-# Copyright (C) 2007 The Android Open Source Project
+# Copyright (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.
@@ -24,65 +24,24 @@
# variant, so that it gets overwritten by the parent (which goes
# against the traditional rules of inheritance).
USE_CAMERA_STUB := false
-BOARD_USE_FROYO_LIBCAMERA := true
-JS_ENGINE:=v8
+
+# inherit from common msm7x27
+-include device/htc/msm7x27-common/BoardConfigCommon.mk
# inherit from the proprietary version
-include vendor/htc/espresso/BoardConfigVendor.mk
-TARGET_SPECIFIC_HEADER_PATH := device/htc/espresso/include
-TARGET_NO_BOOTLOADER := true
-TARGET_NO_RADIOIMAGE := true
-
-TARGET_BOARD_PLATFORM := msm7x27
-TARGET_ARCH := arm
-TARGET_ARCH_VARIANT := armv6-vfp
-TARGET_BOARD_PLATFORM_GPU := qcom-adreno200
-
-TARGET_CPU_ABI := armeabi-v6l
-TARGET_CPU_ABI2 := armeabi
-
-
TARGET_BOOTLOADER_BOARD_NAME := latte
-TARGET_PROVIDES_INIT_TARGET_RC := true
-TARGET_LIBAGL_USE_GRALLOC_COPYBITS := true
-
-BOARD_WPA_SUPPLICANT_DRIVER := CUSTOM
-BOARD_WLAN_DEVICE := wl1271
-BOARD_SOFTAP_DEVICE := wl1271
-WPA_SUPPLICANT_VERSION := VER_0_6_X
-WIFI_DRIVER_MODULE_PATH := /system/lib/modules/tiwlan_drv.ko
-WIFI_DRIVER_MODULE_NAME := tiwlan_drv
-WIFI_FIRMWARE_LOADER := wlan_loader
-WIFI_EXT_MODULE_PATH := /system/lib/modules/sdio.ko
-WIFI_EXT_MODULE_NAME := sdio
+TARGET_PROVIDES_INIT_TARGET_RC := true
-BOARD_USES_GENERIC_AUDIO := false
BOARD_KERNEL_CMDLINE := no_console_suspend=1 console=null
BOARD_KERNEL_BASE := 0x12c00000
-BOARD_HAVE_BLUETOOTH := true
-BOARD_HAVE_FM_RADIO := true
-BOARD_GLOBAL_CFLAGS += -DHAVE_FM_RADIO
-
-BOARD_VENDOR_QCOM_AMSS_VERSION := 4735
-
BOARD_VENDOR_USE_AKMD := akm8973
-BOARD_EGL_CFG := device/htc/espresso/prebuilt/egl.cfg
-
-BOARD_USE_NASTY_PTHREAD_CREATE_HACK := true
-
-BOARD_USE_NEW_LIBRIL_HTC := true
-
-BOARD_NO_RGBX_8888 := true
-
-
-BOARD_USES_QCOM_GPS := true
BOARD_VENDOR_QCOM_GPS_LOC_API_HARDWARE := latte
-BOARD_VENDOR_QCOM_GPS_LOC_API_AMSS_VERSION := 20000
-BOARD_USES_QCOM_LIBRPC := true
+
# # cat /proc/mtd
@@ -100,39 +59,28 @@ BOARD_RECOVERYIMAGE_PARTITION_SIZE := 0x00500000
#BOARD_RECOVERYIMAGE_PARTITION_SIZE := 0x00420000
BOARD_SYSTEMIMAGE_PARTITION_SIZE := 0x0f000000
BOARD_USERDATAIMAGE_PARTITION_SIZE := 0x01920000
+
# The size of a block that can be marked bad.
BOARD_FLASH_BLOCK_SIZE := 131072
-TARGET_RELEASETOOLS_EXTENSIONS := device/htc/common
-TARGET_PREBUILT_KERNEL := device/htc/espresso/prebuilt/kernel
-LOCAL_KERNEL := device/htc/espresso/prebuilt/kernel
+TARGET_PREBUILT_KERNEL := device/htc/espresso/prebuilt/kernel
-TARGET_RECOVERY_INITRC := device/htc/espresso/init.recovery.rc
BOARD_HAS_NO_SELECT_BUTTON := true
-BOARD_USE_USB_MASS_STORAGE_SWITCH := true
-BOARD_UMS_LUNFILE := "/sys/devices/platform/usb_mass_storage/lun0/file"
-TARGET_USE_CUSTOM_LUN_FILE_PATH := /sys/devices/platform/usb_mass_storage/lun0/file
-
# Fix for Atmel touchscreens; trackball button
BOARD_USE_LEGACY_TOUCHSCREEN := true
BOARD_USE_LEGACY_TRACKPAD := true
-WITH_DEXPREOPT := true
-HTTP := chrome
-
-COMMON_GLOBAL_CFLAGS += -DQCOM_HARDWARE -DREFRESH_RATE=60
-USE_OPENGL_RENDERER := true
-BOARD_USES_QCOM_HARDWARE := true
-BOARD_USES_QCOM_LIBS := true
-TARGET_USES_GENLOCK := true
-
-# Enable WEBGL in WebKit
-ENABLE_WEBGL := true
-
-# Camera
-COMMON_GLOBAL_CFLAGS += -DBINDER_COMPAT
+BOARD_WPA_SUPPLICANT_DRIVER := CUSTOM
+BOARD_WLAN_DEVICE := wl1271
+BOARD_SOFTAP_DEVICE := wl1271
+WPA_SUPPLICANT_VERSION := VER_0_6_X
+WIFI_DRIVER_MODULE_PATH := /system/lib/modules/tiwlan_drv.ko
+WIFI_DRIVER_MODULE_NAME := tiwlan_drv
+WIFI_FIRMWARE_LOADER := wlan_loader
+WIFI_EXT_MODULE_PATH := /system/lib/modules/sdio.ko
+WIFI_EXT_MODULE_NAME := sdio
View
@@ -1,105 +0,0 @@
-# Copyright (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.
-
-# config.mk
-#
-# Product-specific compile-time definitions.
-#
-
-# WARNING: This line must come *before* including the proprietary
-# variant, so that it gets overwritten by the parent (which goes
-# against the traditional rules of inheritance).
-
-USE_CAMERA_STUB := true
-
-# inherit from the proprietary version
--include vendor/htc/espresso/BoardConfigVendor.mk
-
-TARGET_NO_BOOTLOADER := true
-
-TARGET_BOARD_PLATFORM := msm7k
-TARGET_BOARD_PLATFORM_GPU := qcom-adreno200
-
-# ARMv6-compatible processor rev 5 (v6l)
-TARGET_CPU_ABI := armeabi-v6l
-TARGET_CPU_ABI2 := armeabi
-TARGET_ARCH_VARIANT := armv6-vfp
-
-JS_ENGINE := v8
-
-TARGET_BOOTLOADER_BOARD_NAME := latte
-
-TARGET_PROVIDES_INIT_TARGET_RC := true
-
-TARGET_LIBAGL_USE_GRALLOC_COPYBITS := true
-
-# Wifi related defines
-BOARD_WPA_SUPPLICANT_DRIVER := CUSTOM
-BOARD_WLAN_DEVICE := wl1271
-BOARD_SOFTAP_DEVICE := wl1271
-WPA_SUPPLICANT_VERSION := VER_0_6_X
-WIFI_DRIVER_MODULE_PATH := "/system/lib/modules/tiwlan_drv.ko"
-WIFI_DRIVER_MODULE_ARG := ""
-WIFI_DRIVER_MODULE_NAME := "tiwlan_drv"
-WIFI_EXT_MODULE_PATH := "/system/lib/modules/sdio.ko"
-WIFI_EXT_MODULE_NAME := "sdio"
-WIFI_FIRMWARE_LOADER := "wlan_loader"
-
-BOARD_USES_GENERIC_AUDIO := false
-
-BOARD_KERNEL_CMDLINE := no_console_suspend=1 console=null
-BOARD_KERNEL_BASE := 0x12c00000
-
-BOARD_HAVE_BLUETOOTH := true
-
-BOARD_EGL_CFG := device/htc/espresso/egl.cfg
-
-BOARD_VENDOR_USE_AKMD := akm8973
-
-BOARD_VENDOR_QCOM_AMSS_VERSION := 4735
-
-BOARD_USES_QCOM_LIBS := true
-
-BOARD_NO_RGBX_8888 := true
-
-BOARD_USE_NASTY_PTHREAD_CREATE_HACK=true
-
-BOARD_USE_FROYO_LIBCAMERA := true
-
-BOARD_USES_QCOM_LIBRPC := true
-BOARD_USES_QCOM_GPS := true
-BOARD_VENDOR_QCOM_GPS_LOC_API_AMSS_VERSION := 20000
-BOARD_VENDOR_QCOM_GPS_LOC_API_HARDWARE := latte
-
-BOARD_USE_KINETO_COMPATIBILITY := true
-BOARD_USE_NEW_LIBRIL_HTC := true
-
-# # cat /proc/mtd
-# dev: size erasesize name
-# mtd0: 000a0000 00020000 "misc"
-# mtd1: 00420000 00020000 "recovery"
-# mtd2: 002c0000 00020000 "boot"
-# mtd3: 0f000000 00020000 "system"
-# mtd4: 05000000 00020000 "cache"
-# mtd5: 09120000 00020000 "userdata"
-BOARD_BOOTIMAGE_PARTITION_SIZE := 0x002c0000
-BOARD_RECOVERYIMAGE_PARTITION_SIZE := 0x00420000
-BOARD_SYSTEMIMAGE_PARTITION_SIZE := 0x0f000000
-BOARD_USERDATAIMAGE_PARTITION_SIZE := 0x01920000
-# The size of a block that can be marked bad.
-BOARD_FLASH_BLOCK_SIZE := 131072
-
-TARGET_RELEASETOOLS_EXTENSIONS := device/htc/common
-TARGET_PREBUILT_KERNEL := device/htc/espresso/prebuilt/kernel
-LOCAL_KERNEL := device/htc/espresso/prebuilt/kernel
View
@@ -1,49 +0,0 @@
-# Copyright (C) 2007 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.
-#
-
-# If you don't need to do a full clean build but would like to touch
-# a file or delete some intermediate files, add a clean step to the end
-# of the list. These steps will only be run once, if they haven't been
-# run before.
-#
-# E.g.:
-# $(call add-clean-step, touch -c external/sqlite/sqlite3.h)
-# $(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/STATIC_LIBRARIES/libz_intermediates)
-#
-# Always use "touch -c" and "rm -f" or "rm -rf" to gracefully deal with
-# files that are missing or have been moved.
-#
-# Use $(PRODUCT_OUT) to get to the "out/target/product/blah/" directory.
-# Use $(OUT_DIR) to refer to the "out" directory.
-#
-# If you need to re-do something that's already mentioned, just copy
-# the command and add it to the bottom of the list. E.g., if a change
-# that you made last week required touching a file and a change you
-# made today requires touching the same file, just copy the old
-# touch step and add it to the end of the list.
-#
-# ************************************************
-# NEWER CLEAN STEPS MUST BE AT THE END OF THE LIST
-# ************************************************
-
-# For example:
-#$(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/APPS/AndroidTests_intermediates)
-#$(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/core_intermediates)
-#$(call add-clean-step, find $(OUT_DIR) -type f -name "IGTalkSession*" -print0 | xargs -0 rm -f)
-#$(call add-clean-step, rm -rf $(PRODUCT_OUT)/data/*)
-
-# ************************************************
-# NEWER CLEAN STEPS MUST BE AT THE END OF THE LIST
-# ************************************************
View
4 README
@@ -7,3 +7,7 @@ Copyright (C) 2011 The CyanogenMod Project
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
+
+
+CM9 mods by zeubea
+CM10 mods by zeubea
View
@@ -1 +1,3 @@
require board=espresso
+require version-bootloader=*
+require version-baseband=*
View
@@ -1,24 +0,0 @@
-LOCAL_PATH := $(call my-dir)
-LIBCAMERA_BUILD :=
-include $(call all-subdir-makefiles)
-
-include $(CLEAR_VARS)
-
-LOCAL_C_FLAGS += -O3
-LOCAL_MODULE_TAGS := optional
-LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/hw
-LOCAL_MODULE := camera.$(TARGET_BOARD_PLATFORM)
-LOCAL_SRC_FILES := cameraHal.cpp
-LOCAL_PRELINK_MODULE := false
-CAMERA_LIB := camera
-
-ifeq ($(LIBCAMERA_BUILD),nexus)
-CAMERA_LIB := camera-nexus
-endif
-
-TARGET_GLOBAL_LD_DIRS += -L$(LOCAL_PATH)
-LOCAL_SHARED_LIBRARIES := liblog libdl libutils libcamera_client libbinder libcutils libhardware libui libcamera
-LOCAL_C_INCLUDES := frameworks/base/services/ frameworks/base/include
-LOCAL_C_INCLUDES += hardware/libhardware/include/ hardware
-
-include $(BUILD_SHARED_LIBRARY)
Oops, something went wrong.

0 comments on commit 3f408aa

Please sign in to comment.