-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 9e028ad
Showing
89 changed files
with
5,747 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# 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. | ||
|
||
LOCAL_PATH := $(my-dir) | ||
subdir_makefiles := \ | ||
$(LOCAL_PATH)/libsensors/Android.mk \ | ||
$(LOCAL_PATH)/liblights/Android.mk | ||
|
||
include $(subdir_makefiles) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# 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. | ||
# | ||
|
||
# Least specific includes go first, so that they can get | ||
# overridden further down | ||
|
||
LOCAL_PATH := $(call my-dir) | ||
|
||
include $(CLEAR_VARS) | ||
LOCAL_SRC_FILES := configs/mahimahi-keypad.kcm | ||
LOCAL_MODULE_TAGS := optional | ||
include $(BUILD_KEY_CHAR_MAP) | ||
|
||
# include the non-open-source counterpart to this file | ||
-include vendor/htc/passion/AndroidBoardVendor.mk |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# 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. | ||
|
||
# | ||
# This file lists the product definition files that define | ||
# configurations which are actually buildable (e.g. through lunch) | ||
# | ||
|
||
PRODUCT_MAKEFILES := \ | ||
$(LOCAL_DIR)/generic_passion.mk \ | ||
$(LOCAL_DIR)/full_passion.mk |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,135 @@ | ||
# 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. | ||
|
||
# | ||
# This file sets variables that control the way modules are built | ||
# thorughout the system. It should not be used to conditionally | ||
# disable makefiles (the proper mechanism to control what gets | ||
# included in a build is to use PRODUCT_PACKAGES in a product | ||
# definition file). | ||
# | ||
|
||
# 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). | ||
|
||
# Camera | ||
USE_CAMERA_STUB := false | ||
ifeq ($(USE_CAMERA_STUB),false) | ||
BOARD_CAMERA_LIBRARIES := libcamera | ||
endif | ||
SK_SUPPORT_LEGACY_SETCONFIG := true | ||
|
||
# inherit from the proprietary version | ||
-include vendor/htc/passion/BoardConfigVendor.mk | ||
# inherit common defines for all qsd8k devices | ||
include device/htc/qsd8k-common/BoardConfigCommon.mk | ||
|
||
TARGET_BOOTLOADER_BOARD_NAME := mahimahi | ||
|
||
BOARD_KERNEL_CMDLINE := androidboot.selinux=permissive no_console_suspend=1 wire.search_count=5 | ||
BOARD_KERNEL_BASE := 0x20000000 | ||
BOARD_KERNEL_NEW_PPPOX := true | ||
|
||
TARGET_KERNEL_CONFIG := evervolv_mahimahi_defconfig | ||
TARGET_RAMDISK_COMPRESSION := xz --check=crc32 --arm --lzma2=dict=1MiB | ||
|
||
# to enable the GPS HAL | ||
BOARD_VENDOR_QCOM_GPS_LOC_API_HARDWARE := mahimahi | ||
|
||
# AMSS version to use for GPS | ||
BOARD_VENDOR_QCOM_GPS_LOC_API_AMSS_VERSION := 3200 | ||
|
||
# Pull all dictionaries | ||
TARGET_USE_KEYBOARD := international | ||
|
||
# Use legacy touchscreen | ||
BOARD_USE_LEGACY_TOUCHSCREEN := true | ||
|
||
# Hacks | ||
TARGET_NO_NETD_AF_INET := true | ||
BOARD_USE_LEGACY_TRACKPAD := true | ||
BOARD_NO_WIFI_HAL := true | ||
BOARD_HAVE_PRE_KITKAT_AUDIO_POLICY_BLOB := true | ||
|
||
# USB | ||
BOARD_USE_USB_MASS_STORAGE_SWITCH := true | ||
TARGET_USE_CUSTOM_LUN_FILE_PATH := /sys/class/android_usb/android0/f_mass_storage/lun0/file | ||
BOARD_UMS_LUNFILE := "/sys/class/android_usb/android0/f_mass_storage/lun0/file" | ||
|
||
# ART | ||
WITH_DEXPREOPT := true | ||
WITH_DEXPREOPT_BOOT_IMG_ONLY := true | ||
MALLOC_IMPL := dlmalloc | ||
TARGET_CPU_SMP := false | ||
|
||
# Fonts | ||
EXTENDED_FONT_FOOTPRINT := false | ||
|
||
# Slim down fonts | ||
REMOVE_PRODUCT_PACKAGES += NotoSansSC-Regular.otf NotoSansJP-Regular.otf NotoSansTC-Regular.otf | ||
|
||
# Remove packages | ||
REMOVE_PRODUCT_PACKAGES += CMUpdater CyanogenSetupWizard PhotoTable PhotoPhase PhaseBeam HoloSpiralWallpaper LiveWallpapers | ||
|
||
# Bootanimation | ||
TARGET_BOOTANIMATION_PRELOAD := true | ||
TARGET_BOOTANIMATION_TEXTURE_CACHE := true | ||
|
||
# Recovery | ||
TARGET_RECOVERY_FSTAB := device/htc/passion/rootdir/fstab.passion | ||
|
||
# TWRP Flags | ||
DEVICE_RESOLUTION := 480x800 | ||
BOARD_HAS_NO_REAL_SDCARD := true | ||
TW_EXCLUDE_SU := true | ||
TW_EXCLUDE_ENCRYPTED_BACKUPS := true | ||
TW_NO_SCREEN_BLANK := true | ||
TW_USE_TOOLBOX := true | ||
HAVE_SELINUX := true | ||
|
||
# # cat /proc/mtd | ||
# dev: size erasesize name | ||
# mtd0: 000a0000 00020000 "misc" | ||
# mtd1: 00500000 00020000 "recovery" | ||
# mtd2: 00280000 00020000 "boot" | ||
# mtd3: 0fa00000 00020000 "system" | ||
# mtd4: 02800000 00020000 "cache" | ||
# mtd5: 093a0000 00020000 "userdata" | ||
BOARD_BOOTIMAGE_PARTITION_SIZE := 3433024 # 3.3M | ||
BOARD_RECOVERYIMAGE_PARTITION_SIZE := 7151616 # > 7M | ||
BOARD_SYSTEMIMAGE_PARTITION_SIZE := 1048576000 # 1000M | ||
#BOARD_USERDATAIMAGE_PARTITION_SIZE := 1572864000 # 1500M | ||
BOARD_FLASH_BLOCK_SIZE := 4096 | ||
TARGET_USERIMAGES_USE_EXT4 := true | ||
|
||
#BLOCK_BASED_OTA := false | ||
|
||
# SELinux | ||
include device/qcom/sepolicy/sepolicy.mk | ||
|
||
# Legacy ril (for CM) | ||
LEGACY_RIL := true | ||
BOARD_USES_LEGACY_RIL := true | ||
|
||
# Legacy Patches | ||
USE_SET_METADATA := false | ||
BOARD_USES_LEGACY_MMAP := true | ||
TARGET_QCOM_LEGACY_OMX := true | ||
QCOM_NO_SECURE_PLAYBACK := true | ||
|
||
# Kernel target toolchain | ||
TARGET_GCC_VERSION_ARM := 5.3 | ||
KERNEL_TOOLCHAIN_PREFIX := arm-eabi- | ||
KERNEL_TOOLCHAIN := $(ANDROID_BUILD_TOP)/prebuilts/gcc/$(HOST_OS)-x86/arm/arm-eabi-5.3/bin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
# 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/*) | ||
$(call add-clean-step, find $(PRODUCT_OUT) -name "*.apk" | xargs rm) | ||
|
||
# ************************************************ | ||
# NEWER CLEAN STEPS MUST BE AT THE END OF THE LIST | ||
# ************************************************ | ||
$(call add-clean-step, rm -rf $(TARGET_OUT)/build.prop) | ||
#$(call add-clean-step, rm -rf $(OUT_DIR)/target/product/bravo/obj/SHARED_LIBRARIES/libaudio_intermediates) | ||
#$(call add-clean-step, rm -rf $(OUT_DIR)/target/product/bravo/obj/SHARED_LIBRARIES/libaudio_intermediates) | ||
#$(call add-clean-step, rm -rf $(OUT_DIR)/target/product/bravo/obj/STATIC_LIBRARIES/libasound_intermediates) | ||
#$(call add-clean-step, rm -rf $(OUT_DIR)/target/product/bravo/obj/PACKAGING/systemimage_intermediates) | ||
#$(call add-clean-step, rm -rf $(OUT_DIR)/target/product/bravo/obj/SHARED_LIBRARIES/libaudio_intermediates) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
Device configuration for the HTC Bravo (Desire) | ||
|
||
Copyright (C) 2011 The CyanogenMod 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
require mid=P* | ||
require board=mahimahi|nexusone | ||
require version-microp=0b15|0c15 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# Pull all dictionaries (This makes sure it gets called) | ||
TARGET_USE_KEYBOARD := international | ||
|
||
# Call this first so apn list is actually copied | ||
$(call inherit-product, vendor/cm/config/telephony.mk) | ||
|
||
$(call inherit-product, device/htc/passion/full_bravo.mk) | ||
|
||
# Inherit some common BS stuff. | ||
$(call inherit-product, vendor/cm/config/common_full_phone.mk) | ||
|
||
# | ||
# Setup device specific product configuration. | ||
# | ||
PRODUCT_NAME := cm_passion | ||
PRODUCT_BRAND := google | ||
PRODUCT_DEVICE := passion | ||
PRODUCT_MODEL := Nexus One | ||
PRODUCT_MANUFACTURER := HTC | ||
PRODUCT_BUILD_PROP_OVERRIDES += PRODUCT_NAME=passion BUILD_FINGERPRINT=google/passion/passion:2.3.6/GRK39F/189904:user/release-keys PRIVATE_BUILD_DESC="passion-user 2.3.6 GRK39F 189904 release-keys" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Copyright (C) 2010 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. | ||
|
||
type SPECIAL_FUNCTION |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Copyright (C) 2010 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. | ||
|
||
key 107 ENDCALL WAKE_DROPPED | ||
key 113 MUTE WAKE | ||
key 114 VOLUME_DOWN WAKE | ||
key 115 VOLUME_UP WAKE | ||
key 163 MEDIA_NEXT WAKE | ||
key 164 MEDIA_PLAY_PAUSE WAKE | ||
key 165 MEDIA_PREVIOUS WAKE | ||
key 226 HEADSETHOOK WAKE | ||
key 231 CALL WAKE_DROPPED |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Copyright (C) 2010 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. | ||
|
||
type SPECIAL_FUNCTION |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Copyright (C) 2010 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. | ||
|
||
key 114 VOLUME_DOWN WAKE | ||
key 115 VOLUME_UP WAKE | ||
key 116 POWER WAKE |
Oops, something went wrong.