Permalink
Browse files

Update 5 to get camera working. based on Tilal6991 and blefish work f…

…or huawei phones
  • Loading branch information...
1 parent 5ff0191 commit 69b61c96fedea15197d699357c43f851552f0fe4 @joilaroi committed May 25, 2012
Showing with 8,081 additions and 20,381 deletions.
  1. +14 −8 Android.mk
  2. +0 −4 AndroidBoard.mk
  3. +2 −5 AndroidProducts.mk
  4. +64 −76 BoardConfig.mk
  5. +11 −12 keyfiles/qwerty2.idc → FileManager/Android.mk
  6. BIN {prebuilt → FileManager}/FileManager.apk
  7. +4 −0 FileManager/README
  8. +11 −12 keyfiles/qwerty.idc → GooManager/Android.mk
  9. BIN GooManager/GooManager.apk
  10. +4 −0 GooManager/README
  11. +6 −13 README
  12. +0 −70 UsbController.cpp
  13. +0 −3 board-info.txt
  14. +7 −14 cm.mk
  15. +41 −0 copy-files.sh
  16. +99 −129 device.mk
  17. +0 −2 egl.cfg
  18. +29 −72 extract-files.sh
  19. BIN firmware/bcm4329.hcd
  20. BIN firmware/data.patch.hw2_0.bin.ar6102
  21. BIN firmware/eeprom.bin
  22. BIN firmware/eeprom.data
  23. +1 −1 firmware/softmac
  24. +401 −0 include/hardware_legacy/AudioPolicyManagerBase.h
  25. +20 −1 include/linux/android_pmem.h
  26. +0 −50 include/linux/ashmem.h
  27. +0 −45 include/linux/genlock.h
  28. +0 −556 include/linux/ion.h
  29. +5 −132 include/linux/msm_mdp.h
  30. +0 −80 include/linux/msm_rotator.h
  31. +0 −526 include/linux/msm_vidc_dec.h
  32. +0 −592 include/linux/msm_vidc_enc.h
  33. +0 −151 include/linux/spi_aic3254.h
  34. +0 −52 include/linux/tpa2051d3.h
  35. +0 −203 include/qcom_ui.h
  36. +0 −15 include/recovery/font_7x16.h
  37. +0 −42 include/tilerenderer.h
  38. +0 −53 keyfiles/7k_handset.idc
  39. +0 −29 keyfiles/7k_handset.kl
  40. +0 −672 keyfiles/Generic.kcm
  41. +0 −422 keyfiles/Generic.kl
  42. +0 −544 keyfiles/Virtual.kcm
  43. +0 −7 keyfiles/atmel-touchscreen.idc
  44. +0 −2 keyfiles/atmel-touchscreen.kcm
  45. +0 −4 keyfiles/atmel-touchscreen.kl
  46. +0 −9 keyfiles/h2w_headset.kl
  47. +0 −7 keyfiles/melfas-touchscreen.idc
  48. +0 −1 keyfiles/melfas-touchscreen.kcm
  49. +0 −6 keyfiles/melfas-touchscreen.kl
  50. +0 −8 keyfiles/msm_touchscreen.idc
  51. +0 −1 keyfiles/msm_touchscreen.kcm
  52. +0 −12 keyfiles/msm_touchscreen.kl
  53. +0 −2 keyfiles/ofn_ok_key.idc
  54. +0 −508 keyfiles/qwerty.kcm
  55. +0 −112 keyfiles/qwerty.kl
  56. +0 −505 keyfiles/qwerty2.kcm
  57. +0 −53 keyfiles/sensors.idc
  58. +0 −83 keyfiles/surf_keypad.kcm
  59. +0 −106 keyfiles/surf_keypad.kl
  60. +0 −1 keyfiles/synaptics-rmi-touchscreen.idc
  61. +0 −2 keyfiles/synaptics-rmi-touchscreen.kcm
  62. +0 −2 keyfiles/synaptics.kcm
  63. +0 −83 keyfiles/ts_test_input.kcm
  64. +0 −12 keyfiles/ts_test_input.kl
  65. +0 −4 ldpi/packages/inputmethods/LatinIME/java/res/values/dimens.xml
  66. +2 −2 libaudio/Android.mk
  67. +1,288 −1,184 libaudio/AudioHardware.cpp
  68. +410 −331 libaudio/AudioHardware.h
  69. +296 −256 libaudio/AudioPolicyManager.cpp
  70. +51 −49 libaudio/AudioPolicyManager.h
  71. +0 −316 libaudio/msm_audio.h
  72. +0 −94 libaudio/msm_audio_voicememo.h
  73. +21 −0 libcamera/Android.mk
  74. 0 {libcamerahal → libcamera}/CameraHardwareInterface.h
  75. +1 −0 libcamera/README
  76. +290 −82 {libcamerahal → libcamera}/cameraHal.cpp
  77. +0 −22 libcamerahal/Android.mk
  78. +0 −1 libcamerahal/README
  79. BIN libcamerahal/libcamera.so
  80. BIN libcamerahal/prebuilt/libcamera.so
  81. BIN libcamerahal/prebuilt/libqcamera.so
  82. 0 libcopybit/Android.mk
  83. 0 libcopybit/MODULE_LICENSE_APACHE2
  84. 0 libcopybit/NOTICE
  85. 0 libcopybit/copybit.cpp
  86. 0 libgralloc/Android.mk
  87. 0 libgralloc/MODULE_LICENSE_APACHE2
  88. 0 libgralloc/NOTICE
  89. 0 libgralloc/allocator.cpp
  90. 0 libgralloc/allocator.h
  91. +188 −0 libgralloc/android_pmem.h
  92. 0 libgralloc/framebuffer.cpp
  93. 0 libgralloc/gr.h
  94. 0 libgralloc/gralloc.cpp
  95. 0 libgralloc/gralloc_priv.h
  96. 0 libgralloc/mapper.cpp
  97. +1 −1 liblights/Android.mk
  98. 0 liblights/MODULE_LICENSE_APACHE2
  99. 0 liblights/NOTICE
  100. 0 liblights/lights.c
  101. +18 −9 keyfiles/AVRCP.kl → liblights_msm7k/Android.mk
  102. 0 liblights_msm7k/MODULE_LICENSE_APACHE2
  103. +190 −0 liblights_msm7k/NOTICE
  104. +421 −0 liblights_msm7k/lights.c
  105. +0 −71 libomxcore/Android.mk
  106. +0 −1,311 libomxcore/inc/OMX_Audio.h
  107. +0 −579 libomxcore/inc/OMX_Component.h
  108. +0 −195 libomxcore/inc/OMX_ContentPipe.h
  109. +0 −1,431 libomxcore/inc/OMX_Core.h
  110. +0 −920 libomxcore/inc/OMX_IVCommon.h
  111. +0 −328 libomxcore/inc/OMX_Image.h
  112. +0 −258 libomxcore/inc/OMX_Index.h
  113. +0 −337 libomxcore/inc/OMX_Other.h
  114. +0 −689 libomxcore/inc/OMX_QCOMExtns.h
  115. +0 −347 libomxcore/inc/OMX_Types.h
  116. +0 −1,060 libomxcore/inc/OMX_Video.h
  117. +0 −181 libomxcore/inc/QOMX_AudioExtensions.h
  118. +0 −77 libomxcore/inc/QOMX_AudioIndexExtensions.h
  119. +0 −65 libomxcore/inc/qc_omx_common.h
  120. +0 −183 libomxcore/inc/qc_omx_component.h
  121. +0 −58 libomxcore/inc/qc_omx_msg.h
  122. +0 −407 libomxcore/src/common/omx_core_cmp.cpp
  123. +0 −160 libomxcore/src/common/omx_core_cmp.h
  124. +0 −847 libomxcore/src/common/qc_omx_core.c
  125. +0 −72 libomxcore/src/common/qc_omx_core.h
  126. +0 −364 libomxcore/src/msm7k/qc_registry_table.c
  127. +0 −221 libomxcore/src/msm7k/qc_registry_table_android.c
  128. 0 libopencorehw/Android.mk
  129. 0 libopencorehw/MODULE_LICENSE_APACHE2
  130. 0 libopencorehw/NOTICE
  131. 0 libopencorehw/android_surface_output_msm72xx.cpp
  132. 0 libopencorehw/android_surface_output_msm72xx.h
  133. 0 librpc/Android.mk
  134. 0 librpc/MODULE_LICENSE_APACHE2
  135. 0 librpc/NOTICE
  136. 0 librpc/clnt.c
  137. 0 librpc/debug.h
  138. 0 librpc/librpc.h
  139. 0 librpc/ops.c
  140. 0 librpc/rpc.c
  141. 0 librpc/rpc/clnt.h
  142. 0 librpc/rpc/pmap_clnt.h
  143. 0 librpc/rpc/rpc.h
  144. 0 librpc/rpc/rpc_router_ioctl.h
  145. 0 librpc/rpc/svc.h
  146. 0 librpc/rpc/types.h
  147. 0 librpc/rpc/xdr.h
  148. 0 librpc/svc.c
  149. 0 librpc/svc_clnt_common.c
  150. 0 librpc/xdr.c
  151. 0 libstagefrighthw/Android.mk
  152. 0 libstagefrighthw/MODULE_LICENSE_APACHE2
  153. 0 libstagefrighthw/NOTICE
  154. 0 libstagefrighthw/QComOMXPlugin.cpp
  155. 0 libstagefrighthw/QComOMXPlugin.h
  156. BIN overlay/frameworks/base/core/res/res/drawable-ldpi/usb_android.png
  157. BIN overlay/frameworks/base/core/res/res/drawable-ldpi/usb_android_connected.png
  158. BIN overlay/frameworks/base/core/res/res/drawable-mdpi/usb_android.png
  159. BIN overlay/frameworks/base/core/res/res/drawable-mdpi/usb_android_connected.png
  160. +86 −0 overlay/frameworks/base/core/res/res/layout/recent_apps_dialog.xml
  161. +21 −0 overlay/frameworks/base/core/res/res/layout/recent_apps_icon.xml
  162. +65 −161 overlay/frameworks/base/core/res/res/values/config.xml
  163. +11 −0 overlay/frameworks/base/core/res/res/values/dimens.xml
  164. +0 −79 overlay/frameworks/base/core/res/res/xml/power_profile.xml
  165. +4 −19 overlay/frameworks/base/packages/SettingsProvider/res/values/defaults.xml
  166. BIN overlay/frameworks/base/packages/SystemUI/res/drawable-mdpi/status_bar_close_on.9.png
  167. +0 −21 overlay/packages/apps/CMParts/res/values/config.xml
  168. +2 −2 overlay/packages/apps/Mms/res/xml/mms_config.xml
  169. +135 −0 overlay/packages/apps/Music/res/layout-land/audio_player.xml
  170. +127 −0 overlay/packages/apps/Music/res/layout/audio_player.xml
  171. 0 overlay/packages/apps/Phone/res/drawable/dial_num_0_no_plus_wht.xml
  172. 0 overlay/packages/apps/Phone/res/drawable/dial_num_1_no_vm_wht.xml
  173. +3 −125 overlay/packages/apps/Phone/res/values/config.xml
  174. +10 −0 overlay/packages/apps/Trebuchet/res/values-port/dimens.xml
  175. +2 −0 overlay/packages/apps/Trebuchet/res/values/config.xml
  176. +9 −0 overlay/packages/apps/Trebuchet/res/values/dimens.xml
  177. +21 −0 overlay/packages/apps/Trebuchet/res/values/styles.xml
  178. +6 −1 overlay/packages/inputmethods/LatinIME/java/res/values/dimens.xml
  179. BIN prebuilt/app/HuaweiBackupV2.1.8.apk
  180. BIN prebuilt/app/HuaweiLauncher2.apk
  181. BIN prebuilt/app/HwWallpaperChooser.apk
  182. BIN prebuilt/bin/rmt_storage
  183. +0 −387 prebuilt/bin/wlan_tool
  184. BIN prebuilt/cdrom/autorun.iso
  185. +0 −1 prebuilt/etc/01_qc.cfg
  186. +3 −9 prebuilt/etc/AudioFilter.csv
  187. +0 −12 prebuilt/etc/AudioFilterU8120.csv
  188. +1 −1 prebuilt/etc/AutoVolumeControl.txt
  189. +0 −42 prebuilt/etc/bluetooth/audio.conf
  190. +0 −9 prebuilt/etc/check_property.sh
  191. BIN prebuilt/etc/fw_4319.bin
  192. BIN prebuilt/etc/fw_4319_apsta.bin
  193. +0 −5 prebuilt/etc/init.d/01sysctl
  194. +16 −8 prebuilt/etc/init.d/02huawei
  195. +75 −39 { → prebuilt/etc}/media_profiles.xml
  196. +61 −0 prebuilt/etc/nv_4319.txt
  197. +4 −0 prebuilt/etc/start_usb0.sh
  198. +0 −20 prebuilt/etc/sysctl.conf
  199. 0 prebuilt/{ → etc}/vold.fstab
  200. +1 −1 prebuilt/etc/wifi/wpa_supplicant.conf
  201. BIN prebuilt/hostapd
  202. +0 −7 prebuilt/hostapd.conf
  203. +251 −0 prebuilt/init.qcom.rc
  204. +21 −3 prebuilt/{init.u8120.usb.rc → init.qcom.usb.rc}
  205. +0 −196 prebuilt/init.u8120.rc
  206. BIN prebuilt/kernel
  207. +1 −2 prebuilt/lib/egl/egl.cfg
  208. BIN prebuilt/lib/hw/audio.primary.u8120.so
  209. BIN prebuilt/lib/hw/audio_policy.u8120.so
  210. BIN prebuilt/lib/hw/copybit.msm7x27.so
  211. BIN prebuilt/lib/hw/gralloc.msm7x27.so
  212. BIN prebuilt/lib/libOmxCore.so
  213. BIN prebuilt/lib/libmm-omxcore.so
  214. BIN prebuilt/{ → lib}/modules/ar6000.ko
  215. BIN prebuilt/{modules/bcm4319.ko → lib/modules/dhd.ko}
  216. BIN prebuilt/lib/modules/zram.ko
  217. BIN prebuilt/modules/zram.ko
  218. +47 −0 prebuilt/ueventd.qcom.rc
  219. +0 −32 prebuilt/ueventd.u8120.rc
  220. 0 keyfiles/surf_keypad.idc → prebuilt/usr/idc/7k_handset.idc
  221. +9 −0 prebuilt/usr/idc/cypress-ts-innolux_Ver04.idc
  222. +4 −0 prebuilt/usr/idc/kp_test_input.idc
  223. 0 {keyfiles → prebuilt/usr/idc}/melfas-touchscreen.Ver23.idc
  224. 0 keyfiles/cypress-ts-innolux_Ver04.idc → prebuilt/usr/idc/melfas-touchscreen.idc
  225. 0 keyfiles/melfas-touchscreen_ver23.idc → prebuilt/usr/idc/melfas-touchscreen_Ver23.idc
  226. 0 {recovery → prebuilt}/usr/idc/melfas-touchscreen_ver23.idc
  227. 0 keyfiles/ts_test_input.idc → prebuilt/usr/idc/msm_touchscreen.idc
  228. +10 −0 prebuilt/usr/idc/qwerty.idc
  229. +10 −0 prebuilt/usr/idc/qwerty2.idc
  230. +8 −0 prebuilt/usr/idc/sensors.idc
  231. +4 −0 prebuilt/usr/idc/surf_keypad.idc
  232. +12 −0 prebuilt/usr/idc/synaptics-rmi-touchscreen.idc
  233. 0 {keyfiles → prebuilt/usr/idc}/synaptics.idc
  234. 0 {keyfiles → prebuilt/usr/idc}/touchscreen-keypad.idc
  235. +8 −0 prebuilt/usr/idc/ts_test_input.idc
  236. +4 −0 prebuilt/usr/idc/u8120-keypad.idc
  237. BIN {keyfiles → prebuilt/usr/keychars}/surf_keypad.kcm.bin
  238. +9 −0 prebuilt/usr/keylayout/7k_handset.kl
  239. 0 {keyfiles → prebuilt/usr/keylayout}/cypress-ts-innolux_Ver04.kl
  240. 0 {keyfiles → prebuilt/usr/keylayout}/melfas-touchscreen.Ver23.kl
  241. 0 {keyfiles → prebuilt/usr/keylayout}/melfas-touchscreen_ver23.kl
  242. +7 −0 prebuilt/usr/keylayout/surf_keypad.kl
  243. +1 −0 {keyfiles → prebuilt/usr/keylayout}/synaptics-rmi-touchscreen.kl
  244. +1 −0 {keyfiles → prebuilt/usr/keylayout}/synaptics.kl
  245. +7 −0 prebuilt/usr/keylayout/touchscreen-keypad.kl
  246. +7 −0 prebuilt/usr/keylayout/u8120-keypad.kl
  247. +2 −10 proprietary-files.txt
  248. +1 −2 recovery.fstab
  249. +0 −15 recovery/font_7x16.h
  250. +0 −379 recovery/recovery_graphics.c
  251. 0 recovery/recovery_keys.c
  252. +0 −1 recovery/usr/idc/cypress-ts-innolux_Ver04.idc
  253. +0 −1 recovery/usr/idc/melfas-touchscreen.Ver23.idc
  254. +0 −1 recovery/usr/idc/synaptics-rmi-touchscreen.idc
  255. +0 −2 recovery/usr/idc/synaptics.idc
  256. +0 −4 recovery/usr/keylayout/cypress-ts-innolux_Ver04.kl
  257. +0 −4 recovery/usr/keylayout/melfas-touchscreen.Ver23.kl
  258. +0 −4 recovery/usr/keylayout/melfas-touchscreen_ver23.kl
  259. +0 −4 recovery/usr/keylayout/synaptics-rmi-touchscreen.kl
  260. +0 −4 recovery/usr/keylayout/synaptics.kl
  261. +456 −0 releasetools/check_target_files_signatures
  262. +850 −0 releasetools/common.py
  263. +303 −0 releasetools/edify_generator.py
  264. +210 −0 releasetools/img_from_target_files
  265. +862 −0 releasetools/ota_from_target_files
  266. +354 −0 releasetools/sign_target_files_apks
  267. +21 −37 setup-makefiles.sh
  268. +37 −84 system.prop
  269. +2 −22 u8120.mk
  270. +3 −1 vendorsetup.sh
View
22 Android.mk 100644 → 100755
@@ -1,14 +1,20 @@
LOCAL_PATH := $(my-dir)
ifeq ($(TARGET_DEVICE),u8120)
- subdir_makefiles := \
- $(LOCAL_PATH)/libaudio/Android.mk \
- $(LOCAL_PATH)/liblights/Android.mk \
- $(LOCAL_PATH)/librpc/Android.mk \
- $(LOCAL_PATH)/libcamerahal/Android.mk \
- $(LOCAL_PATH)/libstagefrighthw/Android.mk \
- $(LOCAL_PATH)/libomxcore/Android.mk \
- $(LOCAL_PATH)/libopencorehw/Android.mk
+
+subdir_makefiles := \
+ $(LOCAL_PATH)/libaudio/Android.mk \
+ $(LOCAL_PATH)/libcamera/Android.mk \
+ $(LOCAL_PATH)/libcopybit/Android.mk \
+ $(LOCAL_PATH)/libgralloc/Android.mk \
+ $(LOCAL_PATH)/liblights/Android.mk \
+ $(LOCAL_PATH)/liblights_msm7k/Android.mk \
+ $(LOCAL_PATH)/libopencorehw/Android.mk \
+ $(LOCAL_PATH)/librpc/Android.mk \
+ $(LOCAL_PATH)/libstagefrighthw/Android.mk \
+ $(LOCAL_PATH)/GooManager/Android.mk \
+ $(LOCAL_PATH)/FileManager/Android.mk
include $(subdir_makefiles)
+
endif
View
4 AndroidBoard.mk 100644 → 100755
@@ -24,9 +24,5 @@ LOCAL_PATH := $(call my-dir)
# overridden further down
include $(CLEAR_VARS)
-ALL_PREBUILT += $(INSTALLED_KERNEL_TARGET)
-$(INSTALLED_KERNEL_TARGET): $(TARGET_PREBUILT_KERNEL) | $(ACP)
- $(transform-prebuilt-to-target)
-
# include the non-open-source counterpart to this file
-include vendor/huawei/u8120/AndroidBoardVendor.mk
View
7 AndroidProducts.mk 100644 → 100755
@@ -1,3 +1,4 @@
+#
# Copyright (C) 2011 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -11,11 +12,7 @@
# 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 lists the product definition files that define
-# configurations which are actually buildable (e.g. through lunch)
#
PRODUCT_MAKEFILES := \
- $(LOCAL_DIR)/u8120.mk
+ $(LOCAL_DIR)/device_u8120.mk
View
140 BoardConfig.mk 100644 → 100755
@@ -23,125 +23,113 @@
# 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 := false
+USE_CAMERA_STUB := true
# inherit from the proprietary version
-include vendor/huawei/u8120/BoardConfigVendor.mk
TARGET_SPECIFIC_HEADER_PATH := device/huawei/u8120/include
-# ARMv6-compatible processor rev 2 (v6l)
-# CPU
-# Arch related defines
-TARGET_BOARD_PLATFORM := msm7x27
+# ARMv6-compatible processor rev 5 (v6l)
+TARGET_BOARD_PLATFORM := msm7k
TARGET_ARCH_VARIANT := armv6j
-TARGET_CPU_ABI := armeabi
+TARGET_CPU_ABI := armeabi-v6j
TARGET_CPU_ABI2 := armeabi
-# Target information
TARGET_NO_BOOTLOADER := true
-TARGET_NO_KERNEL := false
TARGET_NO_RADIOIMAGE := true
-TARGET_NO_RECOVERY := false
TARGET_BOOTLOADER_BOARD_NAME := u8120
-TARGET_OTA_ASSERT_DEVICE := u8120,u8100,u8109,u8110,ascend
-TARGET_BOARD_INFO_FILE := device/huawei/u8120/board-info.txt
+TARGET_OTA_ASSERT_DEVICE := u8120,u8100,u8109,u8110,ascend,u8160,hwu8160
-# Wifi related defines
-BOARD_WPA_SUPPLICANT_DRIVER := AWEXT
-BOARD_WLAN_DEVICE := ar6000
-WIFI_DRIVER_MODULE_PATH := "/system/wifi/ar6000.ko"
-WIFI_DRIVER_MODULE_NAME := ar6000
-WIFI_DRIVER_MODULE_ARG := "softmac_file=/system/wifi/softmac"
+# Bluetooth
+BOARD_HAVE_BLUETOOTH := true
-# Audio
-BOARD_PROVIDES_LIBAUDIO := true
-BOARD_USES_GENERIC_AUDIO := false
+# QCOM
+BOARD_USES_QCOM_LIBRPC := true
+BOARD_USES_QCOM_LIBS := true
+BOARD_USE_ADRENO_130_GPU := true
-# Camera
-BOARD_USE_FROYO_LIBCAMERA := true
+# GPS
+BOARD_USES_QCOM_GPS := true
+BOARD_VENDOR_QCOM_GPS_LOC_API_AMSS_VERSION := 1240
+BOARD_VENDOR_QCOM_GPS_LOC_API_HARDWARE := u8120
-# Bluetooth
-BOARD_HAVE_BLUETOOTH := true
-BOARD_HAVE_BLUETOOTH_BCM := true
+# Browser
+JS_ENGINE := v8
+HTTP := chrome
+WITH_JIT := true
+TARGET_WEBKIT_USE_MORE_MEMORY := true
+
+# USB mass storage
+TARGET_USE_CUSTOM_LUN_FILE_PATH := /sys/devices/platform/msm_hsusb/gadget/lun0/file
+BOARD_UMS_LUNFILE := "/sys/devices/platform/msm_hsusb/gadget/lun0/file"
# Sensors
TARGET_USES_OLD_LIBSENSORS_HAL := true
+BOARD_VENDOR_USE_AKMD := akm8973
+
+# ICS Stuff
+BOARD_USE_LEGACY_TOUCHSCREEN := true
+BOARD_USE_LEGACY_TRACKPAD := true
+
+# Audio
+BOARD_PROVIDES_LIBAUDIO := true
# RIL
BOARD_PROVIDES_LIBRIL := true
# Graphics
-BOARD_HAS_LIMITED_EGL := true
-BOARD_EGL_CFG := device/huawei/u8120/egl.cfg
-
-# ICS Stuff
-BOARD_USE_LEGACY_TOUCHSCREEN := true
-BOARD_USE_LEGACY_TRACKPAD := true
-DISABLE_DEXPREOPT := true
-COPYBIT_MSM7K := true
+BOARD_EGL_CFG := device/huawei/u8120/prebuilt/lib/egl/egl.cfg
+BOARD_USE_FROYO_LIBCAMERA := true
+COMMON_GLOBAL_CFLAGS += -DBINDER_COMPAT
+BOARD_USE_NASTY_PTHREAD_CREATE_HACK := true
+BOARD_USE_SKIA_LCDTEXT := true
BOARD_AVOID_DRAW_TEXTURE_EXTENSION := true
TARGET_LIBAGL_USE_GRALLOC_COPYBITS := true
+COMMON_GLOBAL_CFLAGS += -DMISSING_EGL_EXTERNAL_IMAGE -DMISSING_EGL_PIXEL_FORMAT_YV12 -DMISSING_GRALLOC_BUFFERS -DUNABLE_TO_DEQUEUE
TARGET_FORCE_CPU_UPLOAD := true
-TARGET_WEBKIT_USE_MORE_MEMORY := true
-WITH_DEXPREOPT := false
-
-# QCOM
-BOARD_USES_QCOM_LIBS := true
-BOARD_USES_LEGACY_QCOM := true
-BOARD_USES_QCOM_LIBRPC := true
-
-# GPS
-BOARD_USES_QCOM_GPS := true
-BOARD_VENDOR_QCOM_GPS_LOC_API_AMSS_VERSION := 6225
-BOARD_VENDOR_QCOM_GPS_LOC_API_HARDWARE := u8120
-BOARD_GPS_LIBRARIES := libloc_api
-
-# USB mass storage
-BOARD_USE_USB_MASS_STORAGE_SWITCH := true
-BOARD_HAS_SDCARD_INTERNAL := true
-BOARD_SDCARD_DEVICE_INTERNAL := /dev/block/vold/179:1
-BOARD_SDEXT_DEVICE := /dev/block/vold/179:2
-BOARD_UMS_LUNFILE := "/sys/devices/platform/msm_hsusb/gadget/lun0/file"
-TARGET_USE_CUSTOM_LUN_FILE_PATH := /sys/devices/platform/msm_hsusb/gadget/lun0/file
-BOARD_CUSTOM_USB_CONTROLLER := ../../device/huawei/u8120/UsbController.cpp
+# Wifi related defines
+BOARD_WPA_SUPPLICANT_DRIVER := AWEXT
+BOARD_WLAN_DEVICE := ar6000
+WIFI_DRIVER_MODULE_PATH := "/system/wifi/ar6000.ko"
+WIFI_DRIVER_MODULE_NAME := ar6000
+WIFI_DRIVER_MODULE_ARG := "softmac_file=/system/wifi/softmac"
-# Browser
-WITH_JIT := true
-ENABLE_JSC_JIT := true
-JS_ENGINE := v8
+# Recovery
+BOARD_CUSTOM_RECOVERY_KEYMAPPING := ../../device/huawei/u8120/recovery/recovery_keys.c
+BOARD_USE_CUSTOM_RECOVERY_FONT := "<font_7x16.h>"
# Kernel
+#TARGET_PREBUILT_KERNEL := device/huawei/u8120/prebuilt/kernel
+TARGET_KERNEL_SOURCE := kernel/u8120_codeaurora_ics
+TARGET_KERNEL_CONFIG := cm_u8120_defconfig
BOARD_KERNEL_BASE := 0x00200000
-BOARD_KERNEL_CMDLINE := mem=211M console=ttyMSM2,115200n8 androidboot.hardware=u8120
+BOARD_KERNEL_CMDLINE := mem=211M console=ttyMSM2,115200n8 androidboot.hardware=qcom
+BOARD_INSTALLER_CMDLINE := $(BOARD_KERNEL_CMDLINE)
BOARD_KERNEL_PAGESIZE := 4096
-# # cat /proc/mtd
+# Custom releasetools for old partition table.
+TARGET_PROVIDES_RELEASETOOLS := true
+TARGET_RELEASETOOL_OTA_FROM_TARGET_SCRIPT := ./device/huawei/u8120/releasetools/ota_from_target_files
+
# # cat /proc/mtd
# dev: size erasesize name
# mtd0: 00500000 00020000 "boot"
# mtd1: 00500000 00020000 "recovery"
# mtd2: 00140000 00020000 "misc"
# mtd3: 00060000 00020000 "splash"
# mtd4: 0aa00000 00020000 "system"
-# mtd5: 05d00000 00020000 "cache"
-# mtd6: 0a6a0000 00020000 "userdata"
-# mtd7: 01400000 00020000 "cust"
+# mtd5: 04600000 00020000 "cache"
+# mtd6: 0bda0000 00020000 "userdata"
+# mtd7: 01400000 00020000 "userdata2"
-BOARD_BOOTIMAGE_PARTITION_SIZE := 0x00500000
-BOARD_RECOVERYIMAGE_PARTITION_SIZE := 0x00500000
-BOARD_SYSTEMIMAGE_PARTITION_SIZE := 0x0baa6f40
-BOARD_USERDATAIMAGE_PARTITION_SIZE := 0x0a6a0000
+BOARD_BOOTIMAGE_PARTITION_SIZE := 5242880
+BOARD_RECOVERYIMAGE_PARTITION_SIZE := 5242880
+BOARD_SYSTEMIMAGE_PARTITION_SIZE := 178257920
+BOARD_USERDATAIMAGE_PARTITION_SIZE := 198836224
+BOARD_CACHEIMAGE_PARTITION_SIZE := 73400320
# (BOARD_KERNEL_PAGESIZE * 64)
BOARD_FLASH_BLOCK_SIZE := 262144
-
-#BOARD_SYSTEMIMAGE_PARTITION_SIZE := 0x0aa00000
-
-# Recovery
-BOARD_CUSTOM_RECOVERY_KEYMAPPING := ../../device/huawei/u8120/recovery/recovery_keys.c
-BOARD_CUSTOM_GRAPHICS := ../../../device/huawei/u8120/recovery/recovery_graphics.c
-BOARD_LDPI_RECOVERY := true
-
View
@@ -1,4 +1,4 @@
-# Copyright (C) 2010 The Android Open Source Project
+# Copyright (C) 2012 Goo-inside.me
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -12,17 +12,16 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-#
-# Emulator keyboard configuration file #2.
-#
+LOCAL_PATH:= $(call my-dir)
+include $(CLEAR_VARS)
+
+LOCAL_MODULE := FileManager
+LOCAL_SRC_FILES := $(LOCAL_MODULE).apk
-touch.deviceType = touchScreen
-touch.orientationAware = 1
+LOCAL_MODULE_CLASS := APPS
+LOCAL_MODULE_TAGS := optional
+LOCAL_MODULE_SUFFIX := $(COMMON_ANDROID_PACKAGE_SUFFIX)
+LOCAL_CERTIFICATE := platform
-keyboard.layout = qwerty
-keyboard.characterMap = qwerty2
-keyboard.orientationAware = 1
-keyboard.builtIn = 1
+include $(BUILD_PREBUILT)
-cursor.mode = navigation
-cursor.orientationAware = 1
File renamed without changes.
View
@@ -0,0 +1,4 @@
+Prebuilt repository for GooManager.
+
+Simply add GooManager to your product packages, and you're automatically including Goomanager in your builds.
+This repository will contain the latest apk file that is on the market.
View
@@ -1,4 +1,4 @@
-# Copyright (C) 2010 The Android Open Source Project
+# Copyright (C) 2012 Goo-inside.me
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -12,17 +12,16 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-#
-# Emulator keyboard configuration file #1.
-#
+LOCAL_PATH:= $(call my-dir)
+include $(CLEAR_VARS)
+
+LOCAL_MODULE := GooManager
+LOCAL_SRC_FILES := $(LOCAL_MODULE).apk
-touch.deviceType = touchScreen
-touch.orientationAware = 1
+LOCAL_MODULE_CLASS := APPS
+LOCAL_MODULE_TAGS := optional
+LOCAL_MODULE_SUFFIX := $(COMMON_ANDROID_PACKAGE_SUFFIX)
+LOCAL_CERTIFICATE := platform
-keyboard.layout = qwerty
-keyboard.characterMap = qwerty
-keyboard.orientationAware = 1
-keyboard.builtIn = 1
+include $(BUILD_PREBUILT)
-cursor.mode = navigation
-cursor.orientationAware = 1
View
Binary file not shown.
View
@@ -0,0 +1,4 @@
+Prebuilt repository for GooManager.
+
+Simply add GooManager to your product packages, and you're automatically including Goomanager in your builds.
+This repository will contain the latest apk file that is on the market.
View
19 README 100644 → 100755
@@ -1,15 +1,8 @@
-Device configuration for the Huawei U8120/U8100/U8110
+CyanogenMod device configuration for the Huawei U8150
-Check out a copy of my u8120 device tree:
-cd device/huawei
-git clone --branch=t_dev git://github.com/joilaroi/cm9_device_u8120_joil.git
+Originally designed by marcnvidic
+Changed, improved and optimized by tilal6991 and alanorth
-Copy proprietary files
-either by running extract-files.sh with a device connected in
-or by running unzip-files.sh with a u8160 Froyo stock rom placed in as u8120_update.zip
-
-Set up the build environment:
-In terminal:
-source build/envsetup.sh
-lunch cm_u8120
-make bacon
+Pre-Setup
+=========
+Execute "extract-files.sh" to extract prebuilt libraries (from a working device)
Oops, something went wrong.

0 comments on commit 69b61c9

Please sign in to comment.