diff options
| author | Rashed Abdel-Tawab <rashed@linux.com> | 2015-07-25 17:12:05 -0400 |
|---|---|---|
| committer | Rashed Abdel-Tawab <rashed@linux.com> | 2015-07-25 17:12:05 -0400 |
| commit | 67ee71dbb69b670f5957753e8949ab1e2256584b (patch) | |
| tree | 005d5d6dcb57baf4822bcd7b76e7ba08923e89e7 | |
himawl: Initial commit
| -rw-r--r-- | Android.mk | 30 | ||||
| -rw-r--r-- | BoardConfig.mk | 23 | ||||
| -rw-r--r-- | cm.dependencies | 6 | ||||
| -rw-r--r-- | cm.mk | 15 | ||||
| -rw-r--r-- | device.mk | 26 | ||||
| -rw-r--r-- | full_himawl.mk | 29 | ||||
| -rw-r--r-- | overlay/frameworks/base/core/res/res/values/config.xml | 35 | ||||
| -rw-r--r-- | system.prop | 65 | ||||
| -rwxr-xr-x | vendorsetup.sh | 1 |
9 files changed, 230 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk new file mode 100644 index 0000000..4a2335f --- /dev/null +++ b/Android.mk @@ -0,0 +1,30 @@ +# +# Copyright 2015 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 +# +# 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 contains the module build definitions for the hardware-specific +# components for this device. +# +# As much as possible, those components should be built unconditionally, +# with device-specific names to avoid collisions, to avoid device-specific +# bitrot and build breakages. Building a component unconditionally does +# *not* include it on all devices, so it is safe even with hardware-specific +# components. + +LOCAL_PATH := $(call my-dir) + +ifneq ($(filter himawl,$(TARGET_DEVICE)),) +include $(call all-makefiles-under,$(LOCAL_PATH)) +endif diff --git a/BoardConfig.mk b/BoardConfig.mk new file mode 100644 index 0000000..832ef07 --- /dev/null +++ b/BoardConfig.mk @@ -0,0 +1,23 @@ +# +# Copyright (C) 2015 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 +# +# 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. +# + +# inherit from hima-common +-include device/htc/hima-common/BoardConfigCommon.mk + +TARGET_OTA_ASSERT_DEVICE := htc_himawl,himawl + +# inherit from the proprietary version +-include vendor/htc/himawl/BoardConfigVendor.mk diff --git a/cm.dependencies b/cm.dependencies new file mode 100644 index 0000000..8616a78 --- /dev/null +++ b/cm.dependencies @@ -0,0 +1,6 @@ +[ + { + "repository": "android_device_htc_hima-common", + "target_path": "device/htc/hima-common" + } +] @@ -0,0 +1,15 @@ +$(call inherit-product, device/htc/himawl/full_himawl.mk) + +# Inherit some common CM stuff. +$(call inherit-product, vendor/cm/config/common_full_phone.mk) + +# Enhanced NFC +$(call inherit-product, vendor/cm/config/nfc_enhanced.mk) + +PRODUCT_NAME := cm_himawl + +PRODUCT_BUILD_PROP_OVERRIDES += \ + PRODUCT_DEVICE="htc_himaulatt" \ + PRODUCT_NAME="himaulatt_na_gen_unlock" \ + BUILD_FINGERPRINT="htc/HTCOneM9vzw/htc_himawl:5.0.2/LRX22G/511781.15:user/release-keys" \ + PRIVATE_BUILD_DESC="1.33.605.15 CL511781 release-keys" diff --git a/device.mk b/device.mk new file mode 100644 index 0000000..8a58766 --- /dev/null +++ b/device.mk @@ -0,0 +1,26 @@ +# +# Copyright (C) 2015 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 +# +# 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. +# + +$(call inherit-product, $(SRC_TARGET_DIR)/product/languages_full.mk) + +# Get non-open-source specific aspects +$(call inherit-product-if-exists, vendor/htc/himawl/himawl-vendor.mk) + +# Overlays +DEVICE_PACKAGE_OVERLAYS += $(LOCAL_PATH)/overlay + +# common hima +$(call inherit-product, device/htc/hima-common/hima.mk) diff --git a/full_himawl.mk b/full_himawl.mk new file mode 100644 index 0000000..26e51b7 --- /dev/null +++ b/full_himawl.mk @@ -0,0 +1,29 @@ +# +# Copyright 2015 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 +# +# 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. +# + +# Inherit from those products. Most specific first. +$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk) +$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base_telephony.mk) + +# Inherit from himaul device +$(call inherit-product, device/htc/himawl/device.mk) + +# Set those variables here to overwrite the inherited values. +PRODUCT_DEVICE := himawl +PRODUCT_NAME := full_himawl +PRODUCT_BRAND := htc +PRODUCT_MODEL := HTC One M9 +PRODUCT_MANUFACTURER := HTC diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml new file mode 100644 index 0000000..95e962d --- /dev/null +++ b/overlay/frameworks/base/core/res/res/values/config.xml @@ -0,0 +1,35 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* +** Copyright 2012, 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. +*/ +--> + +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + + <!-- If the DUN connection for this CDMA device supports more than just DUN --> + <!-- traffic you should list them here. --> + <!-- If this device is not CDMA this is ignored. If this list is empty on --> + <!-- a DUN-requireing CDMA device, the DUN APN will support --> + <!-- just DUN. --> + <string-array translatable="false" name="config_cdma_dun_supported_types"> + <item>"default"</item> + <item>"dun"</item> + <item>"mms"</item> + <item>"supl"</item> + </string-array> + + +</resources> diff --git a/system.prop b/system.prop new file mode 100644 index 0000000..14671d3 --- /dev/null +++ b/system.prop @@ -0,0 +1,65 @@ +# Radio +rild.libargs=-d /dev/smd0 +ril.subscription.types=NV,RUIM +ro.telephony.default_network=10 +telephony.lteOnCdmaDevice=1 +telephony.lteOnGsmDevice=0 +ro.ril.oem.ecclist=911 +ro.ril.oem.nosim.ecclist=911 +ro.ril.enable.a52=1 +ro.ril.enable.a53=1 +ro.ril.enable.dtm=0 +ro.ril.enable.gea3=1 +ro.ril.gprsclass=12 +ro.ril.enable.managed.roaming=1 +ro.ril.enable.sdr=0 +ro.ril.enable.r8fd=1 +ro.ril.disable.fd.plmn.prefix=23402,23410,23411,23420 +ro.ril.oem.show.act=0 +ro.ril.set.mtusize=1428 +ro.ril.air.enabled=0 +ro.ril.gsm.to.lte.blind.redir=0 +ro.ril.roaming_lte.plmn=302220 +ro.ril.wp.feature=1 +ro.cdma.data_retry_config=max_retries=infinite,0,0,60000,120000,480000,900000 +ro.gsm.data_retry_config=max_retries=infinite,0,0,60000,120000,480000,900000 +ro.gsm.2nd_data_retry_config=max_retries=infinite,0,0,60000,120000,480000,900000 +ro.ril.pdpnumber.policy.roaming=3 +persist.data.iwlan.enable=true +ro.ril.hsxpa=4 +ro.ril.hsdpa.category=14 +ro.ril.hsupa.category=6 +ro.ril.disable.cpc=1 +ro.ril.att.feature=0 +ro.ril.vzw.feature=1 +ro.config.svlte1x=true +ro.ril.radio.svn=0 +ro.ril.def.agps.mode=1 +ro.phone.save_timer=10000 +persist.rcs.supported=1 +persist.radio.VT_ENABLE=1 +persist.radio.VT_HYBRID_ENABLE=1 +persist.radio.ROTATION_ENABLE=1 +persist.radio.RATE_ADAPT_ENABLE=1 +persist.ims.disableDebugLogs=1 +persist.ims.disableADBLogs=1 +persist.ims.disableQXDMLogs=1 +persist.ims.disableIMSLogs=1 +persist.radio.videopause.mode=1 +ro.baseband.arch=msm +persist.radio.process_sups_ind=1 +DEVICE_PROVISIONED=1 +ro.cdma.home.operator.alpha=Verizon +gsm.sim.operator.alpha=Verizon +gsm.operator.alpha=Verizon +ro.cdma.home.operator.numeric=310012 +gsm.sim.operator.numeric=310012 +gsm.operator.numeric=310012 +ro.net.apnwhitelist=fota,ims,supl,verizon,verizon800,cbs,mms +ro.net.apnpolicywhitelist=fota,ims,verizon,verizon800 +ro.net.apnroamingblacklist=fota,verizon800 +ro.telephony.ipv6_capability=1 +ro.st.agg=true +ro.net.smd=0 +ro.apn.ui.hide_add=0 +ro.apn.ui.hide_delete=0 diff --git a/vendorsetup.sh b/vendorsetup.sh new file mode 100755 index 0000000..45b89e9 --- /dev/null +++ b/vendorsetup.sh @@ -0,0 +1 @@ +add_lunch_combo cm_himawl-userdebug |
