Permalink
Browse files

a fork would be nice...

  • Loading branch information...
0 parents commit d876cca8271e4a060b1d7abe434a2b9a699178f3 @RevNumbers RevNumbers committed Nov 11, 2011
Showing with 15,144 additions and 0 deletions.
  1. +3 −0 Android.mk
  2. +31 −0 AndroidBoard.mk
  3. +2 −0 AndroidProducts.mk
  4. +149 −0 BoardConfig.mk
  5. +49 −0 CleanSpec.mk
  6. +193 −0 NOTICE.cm
  7. +9 −0 README
  8. +25 −0 TODO
  9. +5 −0 contributers
  10. +339 −0 device_targa.mk
  11. +747 −0 extract-files.sh
  12. BIN kernel
  13. BIN modules/act_gact.ko
  14. BIN modules/act_mirred.ko
  15. BIN modules/act_police.ko
  16. BIN modules/aev.ko
  17. BIN modules/btwilink.ko
  18. BIN modules/caif_hsi.ko
  19. BIN modules/caif_serial.ko
  20. BIN modules/cls_u32.ko
  21. 0 modules/dummy.ko
  22. BIN modules/em_u32.ko
  23. BIN modules/evfwd.ko
  24. BIN modules/fm_drv.ko
  25. BIN modules/gfx_vout_mod.ko
  26. BIN modules/gps_drv.ko
  27. BIN modules/hsi_char.ko
  28. BIN modules/hsi_omap.ko
  29. BIN modules/kineto_gan.ko
  30. BIN modules/omap-hdcp.ko
  31. BIN modules/pcbc.ko
  32. BIN modules/sch_htb.ko
  33. BIN modules/sch_ingress.ko
  34. BIN modules/scsi_wait_scan.ko
  35. BIN modules/st_drv.ko
  36. BIN modules/tiap_drv.ko
  37. BIN modules/tiwlan_drv.ko
  38. BIN modules/vpnclient.ko
  39. BIN overlay/frameworks/base/core/res/res/drawable-hdpi/default_wallpaper.jpg
  40. +389 −0 overlay/frameworks/base/core/res/res/values/config.xml
  41. +168 −0 overlay/frameworks/base/core/res/res/xml/eri.xml
  42. +55 −0 overlay/frameworks/base/core/res/res/xml/power_profile.xml
  43. +24 −0 overlay/frameworks/base/packages/SettingsProvider/res/values/defaults.xml
  44. +21 −0 overlay/frameworks/base/tests/ImfTest/res/values/config.xml
  45. +21 −0 overlay/packages/apps/Contacts/res/values/config.xml
  46. +22 −0 overlay/packages/apps/Mms/res/xml/mms_config.xml
  47. +122 −0 overlay/packages/apps/Phone/res/values/config.xml
  48. +23 −0 overlay/packages/apps/Settings/res/values/bools.xml
  49. +37 −0 overlay/packages/providers/ContactsProvider/res/values/unrestricted_packages.xml
  50. +143 −0 prebuilt/TICameraCameraProperties.xml
  51. +556 −0 prebuilt/apns-conf.xml
  52. BIN prebuilt/app/AtCmd.apk
  53. BIN prebuilt/app/ChargeOnlyMode.apk
  54. BIN prebuilt/app/ExtDispService.apk
  55. BIN prebuilt/app/FMRadioService.apk
  56. BIN prebuilt/app/GlobalNwSwitch.apk
  57. BIN prebuilt/app/GlobalUnplug.apk
  58. BIN prebuilt/app/MotoAtCmdPlugin.apk
  59. BIN prebuilt/app/MotoAtCmdQcPlugin.apk
  60. BIN prebuilt/app/MotoUsb.apk
  61. BIN prebuilt/app/PhoneConfig.apk
  62. BIN prebuilt/app/ProgramMenu.apk
  63. BIN prebuilt/app/ProgramMenuSystem.apk
  64. BIN prebuilt/app/SimManagerInvisible.apk
  65. BIN prebuilt/app/Usb.apk
  66. BIN prebuilt/audio/acoustics.default.so
  67. BIN prebuilt/audio/alsa.default.so
  68. BIN prebuilt/audio/alsa.omap4.so
  69. BIN prebuilt/audio/libasound.so
  70. BIN prebuilt/audio/libaudio.so
  71. BIN prebuilt/audio/libaudio_ext.so
  72. BIN prebuilt/audio/libaudiopolicy.so
  73. BIN prebuilt/audio/libaudiopolicy_ext.so
  74. BIN prebuilt/audio/libmediaext.so
  75. +45 −0 prebuilt/bin/mount_ext3.sh
  76. BIN prebuilt/bin/strace
  77. +2 −0 prebuilt/egl.cfg
  78. +143 −0 prebuilt/etc/TICameraCameraProperties.xml
  79. +556 −0 prebuilt/etc/apns-conf.xml
  80. +2 −0 prebuilt/etc/egl.cfg
  81. +4 −0 prebuilt/etc/gps.conf
  82. +206 −0 prebuilt/etc/media_profiles.xml
  83. +23 −0 prebuilt/etc/permissions/android.hardware.camera.flash-autofocus.xml
  84. +20 −0 prebuilt/etc/permissions/android.hardware.camera.front.xml
  85. +22 −0 prebuilt/etc/permissions/android.hardware.location.gps.xml
  86. +20 −0 prebuilt/etc/permissions/android.hardware.sensor.accelerometer.xml
  87. +20 −0 prebuilt/etc/permissions/android.hardware.sensor.compass.xml
  88. +20 −0 prebuilt/etc/permissions/android.hardware.sensor.light.xml
  89. +20 −0 prebuilt/etc/permissions/android.hardware.sensor.proximity.xml
  90. +21 −0 prebuilt/etc/permissions/android.hardware.telephony.cdma.xml
  91. +21 −0 prebuilt/etc/permissions/android.hardware.telephony.gsm.xml
  92. +23 −0 prebuilt/etc/permissions/android.hardware.touchscreen.multitouch.distinct.xml
  93. +23 −0 prebuilt/etc/permissions/android.hardware.touchscreen.multitouch.xml
  94. +20 −0 prebuilt/etc/permissions/android.hardware.wifi.xml
  95. +23 −0 prebuilt/etc/permissions/android.software.live_wallpaper.xml
  96. +21 −0 prebuilt/etc/permissions/android.software.sip.voip.xml
  97. +20 −0 prebuilt/etc/permissions/android.software.sip.xml
  98. +20 −0 prebuilt/etc/permissions/com.android.location.provider.xml
  99. +5 −0 prebuilt/etc/permissions/com.cequint.platform.xml
  100. +5 −0 prebuilt/etc/permissions/com.motorola.android.camera.xml
  101. +5 −0 prebuilt/etc/permissions/com.motorola.android.customization.xml
  102. +5 −0 prebuilt/etc/permissions/com.motorola.android.datamanager_library.xml
  103. +11 −0 prebuilt/etc/permissions/com.motorola.android.dlna_library.xml
  104. +9 −0 prebuilt/etc/permissions/com.motorola.android.drm1config.xml
  105. +9 −0 prebuilt/etc/permissions/com.motorola.android.drmcommonconfig.xml
  106. +5 −0 prebuilt/etc/permissions/com.motorola.android.iextdispservice.xml
  107. +5 −0 prebuilt/etc/permissions/com.motorola.android.imirrorservice.xml
  108. +7 −0 prebuilt/etc/permissions/com.motorola.android.mediasyncconfig.xml
  109. +6 −0 prebuilt/etc/permissions/com.motorola.android.mobad.xml
  110. +5 −0 prebuilt/etc/permissions/com.motorola.android.nativehdmiapis_v1.xml
  111. +11 −0 prebuilt/etc/permissions/com.motorola.android.storage_library.xml
  112. +8 −0 prebuilt/etc/permissions/com.motorola.android.tcmd.xml
  113. +5 −0 prebuilt/etc/permissions/com.motorola.android.widget.xml
  114. +11 −0 prebuilt/etc/permissions/com.motorola.app.admin_library.xml
  115. +8 −0 prebuilt/etc/permissions/com.motorola.atcmd_library.xml
  116. +6 −0 prebuilt/etc/permissions/com.motorola.device.xml
  117. +3 −0 prebuilt/etc/permissions/com.nbi.android.xml
  118. +5 −0 prebuilt/etc/permissions/com.scalado.android.photoeditor.xml
  119. +5 −0 prebuilt/etc/permissions/com.scalado.caps.xml
  120. +6 −0 prebuilt/etc/permissions/com.softwareimaging.mot.xml
  121. +6 −0 prebuilt/etc/permissions/com.vzw.android.hux.xml
  122. +6 −0 prebuilt/etc/permissions/com.vzw.android.smart.xml
  123. +6 −0 prebuilt/etc/permissions/com.vzw.android.xml
  124. +63 −0 prebuilt/etc/permissions/handheld_core_hardware.xml
  125. +5 −0 prebuilt/etc/permissions/jcifs-krb5-1.3.12.xml
  126. +155 −0 prebuilt/etc/permissions/platform.xml
  127. +5 −0 prebuilt/etc/powervr.ini
  128. +45 −0 prebuilt/etc/vold.fstab
  129. +235 −0 prebuilt/etc/wifi/tiwlan.ini
  130. +286 −0 prebuilt/etc/wifi/tiwlan_ap.ini
  131. +6 −0 prebuilt/etc/wpa_supplicant.conf
  132. +6 −0 prebuilt/gps.conf
  133. +206 −0 prebuilt/media_profiles.xml
  134. +45 −0 prebuilt/mount_ext3.sh
  135. +235 −0 prebuilt/tiwlan.ini
  136. +286 −0 prebuilt/tiwlan_ap.ini
  137. BIN prebuilt/usr/keychars/omap-keypad.kcm.bin
  138. +91 −0 prebuilt/usr/keylayout/omap-keypad.kl
  139. +45 −0 prebuilt/vold.fstab
  140. BIN recovery-kernel
  141. +13 −0 recovery.fstab
  142. +341 −0 recovery/graphics.c
  143. +42 −0 recovery/postrecoveryboot.sh
  144. +81 −0 recovery/recovery_ui.c
  145. +390 −0 releasetools/targa_boot_ota_from_target_files
  146. +789 −0 releasetools/targa_common.py
  147. +350 −0 releasetools/targa_edify_generator.py
  148. +187 −0 releasetools/targa_img_from_target_files
  149. +702 −0 releasetools/targa_ota_from_target_files
  150. +51 −0 releaseutils/Android.mk
  151. +9 −0 releaseutils/check_kernel
  152. +14 −0 releaseutils/finalize_release
  153. BIN releaseutils/mke2fs
  154. BIN releaseutils/tune2fs
  155. +7 −0 root-hijack/default.prop
  156. BIN root-hijack/init
  157. +62 −0 root-hijack/init.goldfish.rc
  158. +832 −0 root-hijack/init.mapphone_cdma.rc
  159. +836 −0 root-hijack/init.mapphone_umts.rc
  160. +497 −0 root-hijack/init.rc
  161. +150 −0 root-hijack/ueventd.mapphone_cdma.rc
  162. +150 −0 root-hijack/ueventd.mapphone_umts.rc
  163. +86 −0 root-hijack/ueventd.rc
  164. +7 −0 root/default.prop
  165. BIN root/init
  166. +52 −0 root/init.goldfish.rc
  167. +890 −0 root/init.mapphone_cdma.rc
  168. +738 −0 root/init.mapphone_umts.rc
  169. +522 −0 root/init.rc
  170. 0 root/ueventd.goldfish.rc
  171. +150 −0 root/ueventd.mapphone_cdma.rc
  172. +150 −0 root/ueventd.mapphone_umts.rc
  173. +91 −0 root/ueventd.rc
  174. +100 −0 setup-makefiles.sh
  175. +278 −0 system.prop
  176. +249 −0 targa.mk
  177. +23 −0 vendorsetup.sh
@@ -0,0 +1,3 @@
+ifeq ($(TARGET_DEVICE),targa)
+ include $(all-subdir-makefiles)
+endif
@@ -0,0 +1,31 @@
+# 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.
+
+#
+# AndroidBoard.mk is a legacy mechanism to deal with a few
+# edge-cases that can't be managed otherwise. No new rules
+# should be added to this file.
+#
+
+LOCAL_PATH := $(call my-dir)
+
+include $(CLEAR_VARS)
+
+file := $(TARGET_RECOVERY_ROOT_OUT)/sbin/postrecoveryboot.sh
+ALL_PREBUILT += $(file)
+$(file) : $(LOCAL_PATH)/recovery/postrecoveryboot.sh | $(ACP)
+ $(transform-prebuilt-to-target)
+
+# include the non-open-source counterpart to this file
+-include vendor/motorola/targa/AndroidBoardVendor.mk
@@ -0,0 +1,2 @@
+PRODUCT_MAKEFILES := \
+ $(LOCAL_DIR)/device_targa.mk
@@ -0,0 +1,149 @@
+# Sandbox Setup: ON ** IF YOU ARE USING THIS AND DON'T KNOW WHAT THAT MEANS: BEWARE **
+# [HASH] I like how cvpcs grouped his settings, using that!
+
+
+# Camera
+USE_CAMERA_STUB := false
+BOARD_USES_TI_CAMERA_HAL := true
+
+
+# inherit from the proprietary version
+-include vendor/motorola/targa/BoardConfigVendor.mk
+
+
+# Processor
+TARGET_NO_BOOTLOADER := false
+TARGET_BOARD_PLATFORM := omap4
+TARGET_CPU_ABI := armeabi-v7a
+TARGET_CPU_ABI2 := armeabi
+TARGET_BOOTLOADER_BOARD_NAME := targa
+TARGET_CPU_SMP := true
+TARGET_ARCH_VARIANT := armv7-a-neon
+TARGET_ARCH_VARIANT_CPU := cortex-a9
+TARGET_ARCH_VARIANT_FPU := neon
+ARCH_ARM_HAVE_TLS_REGISTER := true
+NEEDS_ARM_ERRATA_754319_754320 := true
+TARGET_GLOBAL_CFLAGS += -DNEEDS_ARM_ERRATA_754319_754320
+
+
+# Kernel
+TARGET_PREBUILT_KERNEL := device/motorola/targa/kernel
+BOARD_KERNEL_CMDLINE :=
+BOARD_KERNEL_BASE := 0x10000000
+BOARD_PAGE_SIZE := 0x4096
+
+
+# Storage
+
+
+# Connectivity - Wi-Fi
+BOARD_WPA_SUPPLICANT_DRIVER := CUSTOM
+BOARD_WPA_SUPPLICANT_PRIVATE_LIB := libCustomWifi
+WPA_SUPPLICANT_VERSION := VER_0_6_X
+HOSTAPD_VERSION := VER_0_6_X
+BOARD_WLAN_DEVICE := wl1283
+BOARD_SOFTAP_DEVICE := wl1283
+#BOARD_WLAN_TI_STA_DK_ROOT := system/wlan/ti/wilink_6_1
+WIFI_DRIVER_MODULE_PATH := "/system/lib/modules/tiwlan_drv.ko"
+WIFI_DRIVER_MODULE_NAME := "tiwlan_drv"
+WIFI_DRIVER_MODULE_ARG := ""
+WIFI_FIRMWARE_LOADER := "wlan_loader"
+WIFI_DRIVER_FW_STA_PATH := "/system/etc/wifi/fw_wlan1283.bin"
+WIFI_DRIVER_FW_AP_PATH := "/system/etc/wifi/fw_wlan1283_AP.bin"
+
+
+# Audio
+BOARD_USES_GENERIC_AUDIO := false
+BOARD_USES_ALSA_AUDIO := true
+BOARD_WITH_ALSA_UTILS := true
+HAVE_2_3_DSP := 1
+
+
+# Bluetooth
+BOARD_HAVE_BLUETOOTH := true
+BOARD_HAVE_BLUETOOTH_BCM := true
+
+
+# Recovery
+BUILD_BOOTMENU_STANDALONE := true
+BOARD_HAS_LOCKED_BOOTLOADER := true
+TARGET_PREBUILT_RECOVERY_KERNEL := device/motorola/targa/recovery-kernel
+BOARD_CUSTOM_GRAPHICS := ../../../device/motorola/targa/recovery/graphics.c
+BOARD_HAS_NO_SELECT_BUTTON := true
+BOARD_ALWAYS_INSECURE := true
+BOARD_HAS_LARGE_FILESYSTEM := true
+BOARD_MKE2FS := device/motorola/targa/releaseutils/mke2fs
+BOARD_NONSAFE_SYSTEM_DEVICE := /dev/block/mmcblk1p21
+BOARD_HAS_SDCARD_INTERNAL := true
+#BOARD_HAS_SDEXT := false
+#BOARD_HAS_WEBTOP := false
+
+#TARGET_RECOVERY_PRE_COMMAND := "echo 1 > /data/.recovery_mode; sync;"
+#TARGET_RECOVERY_PRE_COMMAND_CLEAR_REASON := true
+
+
+# Sandbox Filesystem Settings
+BOARD_SYSTEM_DEVICE := /dev/block/mmcblk1p23
+BOARD_SYSTEM_FILESYSTEM_OPTIONS := noatime,nodiratime
+BOARD_SYSTEM_FILESYSTEM := ext3
+
+
+# Graphics
+BOARD_EGL_CFG := device/motorola/targa/prebuilt/etc/egl.cfg
+
+
+# OMX
+HARDWARE_OMX := true
+ifdef HARDWARE_OMX
+OMX_VENDOR := ti
+OMX_VENDOR_WRAPPER := TI_OMX_Wrapper
+BOARD_OPENCORE_LIBRARIES := libOMX_Core
+BOARD_OPENCORE_FLAGS := -DHARDWARE_OMX=1
+endif
+
+
+# OMAP
+OMAP_ENHANCEMENT := true
+ifdef OMAP_ENHANCEMENT
+COMMON_GLOBAL_CFLAGS += -DOMAP_ENHANCEMENT -DTARGET_OMAP4
+endif
+
+
+# MOTOROLA
+USE_MOTOROLA_CODE := true
+ifdef USE_MOTOROLA_CODE
+COMMON_GLOBAL_CFLAGS += -DUSE_MOTOROLA_CODE
+endif
+USE_MOTOROLA_USERS := true
+ifdef USE_MOTOROLA_USERS
+COMMON_GLOBAL_CFLAGS += -DUSE_MOTOROLA_USERS
+endif
+
+
+# Media / Radio
+BUILD_FM_RADIO := true
+BUILD_TI_FM_APPS := true
+FM_CHR_DEV_ST := true
+#PV_PLAYER :=
+#BOARD_HW_PLAYER :=
+
+
+# OTA Packaging
+TARGET_PROVIDES_RELEASETOOLS := true
+TARGET_RELEASETOOL_OTA_FROM_TARGET_SCRIPT := device/motorola/targa/releasetools/targa_ota_from_target_files
+TARGET_RELEASETOOL_IMG_FROM_TARGET_SCRIPT := device/motorola/targa/releasetools/targa_img_from_target_files
+
+
+# Hijack
+#TARGET_NEEDS_MOTOROLA_HIJACK := true
+#BOARD_HIJACK_LOG_ENABLE := true
+
+
+# Misc.
+BOARD_USE_BATTERY_CHARGE_COUNTER := true
+BOARD_FLASH_BLOCK_SIZE := 131072
+BOARD_NEEDS_CUTILS_LOG := true
+
+targa_HARDWARE := true
+BOARD_GLOBAL_CFLAGS += -Dtarga_HARDWARE
+
@@ -0,0 +1,49 @@
+# 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
+# ************************************************
Oops, something went wrong.

0 comments on commit d876cca

Please sign in to comment.