diff options
| -rw-r--r-- | AndroidProducts.mk | 2 | ||||
| -rw-r--r-- | BoardConfig.mk | 3 | ||||
| -rw-r--r-- | aicp.dependencies | 27 | ||||
| -rw-r--r-- | device.mk | 17 | ||||
| -rw-r--r-- | full_Z00L.mk | 29 | ||||
| -rw-r--r-- | lineage.dependencies | 6 | ||||
| -rw-r--r-- | lineage.mk | 11 | ||||
| -rw-r--r-- | system.prop | 8 |
8 files changed, 55 insertions, 48 deletions
diff --git a/AndroidProducts.mk b/AndroidProducts.mk index 39c9dff..19ff17e 100644 --- a/AndroidProducts.mk +++ b/AndroidProducts.mk @@ -14,4 +14,4 @@ # limitations under the License. PRODUCT_MAKEFILES := \ - $(LOCAL_DIR)/full_Z00L.mk + $(LOCAL_DIR)/device.mk diff --git a/BoardConfig.mk b/BoardConfig.mk index 2331e65..bccad10 100644 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -27,6 +27,9 @@ TARGET_BOARD_INFO_FILE := $(DEVICE_PATH)/board-info.txt # Kernel TARGET_KERNEL_CONFIG := Z00L_defconfig +TARGET_INIT_VENDOR_LIB := libinit_msm8916 +TARGET_RECOVERY_DEVICE_MODULES :=libinit_msm8916 + # Properties TARGET_SYSTEM_PROP += $(DEVICE_PATH)/system.prop diff --git a/aicp.dependencies b/aicp.dependencies new file mode 100644 index 0000000..f5aa3ae --- /dev/null +++ b/aicp.dependencies @@ -0,0 +1,27 @@ +[ + { + "repository": "AICP/device_asus_msm8916-common", + "target_path": "device/asus/msm8916-common", + "branch": "n7.1" + }, + { + "repository": "AICP/kernel_asus_msm8916", + "target_path": "kernel/asus/msm8916", + "branch": "n7.1" + }, + { + "repository": "LineageOS/android_external_stlport", + "target_path": "external/stlport", + "branch": "cm-14.1" + }, + { + "repository": "LineageOS/android_device_qcom_common", + "target_path": "device/qcom/common", + "branch": "cm-14.1" + }, + { + "repository": "AICP/proprietary_vendor_asus", + "target_path": "vendor/asus", + "branch": "n7.1" + } +] @@ -17,8 +17,14 @@ # call the proprietary setup $(call inherit-product-if-exists, vendor/asus/Z00L/Z00L-vendor.mk) +$(call inherit-product, frameworks/native/build/phone-xhdpi-2048-dalvik-heap.mk) + # Overlay -DEVICE_PACKAGE_OVERLAYS += $(LOCAL_PATH)/overlay +DEVICE_PACKAGE_OVERLAYS += device/asus/Z00L/overlay + +PRODUCT_PROPERTY_OVERRIDES += \ + ro.sf.lcd_density=320 + ro.min_freq_0=400000 # Screen density PRODUCT_AAPT_CONFIG := normal @@ -30,3 +36,12 @@ TARGET_SCREEN_WIDTH := 720 # Inherit from msm8916-common $(call inherit-product, device/asus/msm8916-common/msm8916.mk) + +PRODUCT_PACKAGES += \ + init.target.rc + +PRODUCT_COPY_FILES += \ + device/asus/Z00ED/audio/mixer_paths_mtp.xml:system/etc/mixer_paths_mtp.xml + +PRODUCT_PACKAGES += \ + WCNSS_qcom_wlan_nv.bin diff --git a/full_Z00L.mk b/full_Z00L.mk deleted file mode 100644 index 6d20523..0000000 --- a/full_Z00L.mk +++ /dev/null @@ -1,29 +0,0 @@ -# -# Copyright (C) 2016 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 Z00L device -$(call inherit-product, device/asus/Z00L/device.mk) - -# Device identifier. This must come after all inclusions -PRODUCT_DEVICE := Z00L -PRODUCT_NAME := full_Z00L -PRODUCT_BRAND := asus -PRODUCT_MODEL := Z00L -PRODUCT_MANUFACTURER := asus diff --git a/lineage.dependencies b/lineage.dependencies deleted file mode 100644 index 91a0e37..0000000 --- a/lineage.dependencies +++ /dev/null @@ -1,6 +0,0 @@ -[ - { - "repository": "android_device_asus_msm8916-common", - "target_path": "device/asus/msm8916-common" - } -] diff --git a/lineage.mk b/lineage.mk deleted file mode 100644 index ae601c5..0000000 --- a/lineage.mk +++ /dev/null @@ -1,11 +0,0 @@ -$(call inherit-product, device/asus/Z00L/full_Z00L.mk) - -# Inherit some common Lineage stuff. -$(call inherit-product, vendor/cm/config/common_full_phone.mk) - -PRODUCT_NAME := lineage_Z00L -PRODUCT_BRAND := asus -PRODUCT_MANUFACTURER := asus -PRODUCT_DEVICE := Z00L - -PRODUCT_GMS_CLIENTID_BASE := android-asus diff --git a/system.prop b/system.prop index 62a42fb..651a529 100644 --- a/system.prop +++ b/system.prop @@ -3,3 +3,11 @@ ro.product.carrier=US-ASUS_Z00L-WW_Z00L # Display ro.sf.lcd_density=320 + +# Hardware Info +ro.device.chipset=Qualcomm MSM8916 Snapdragon 410/Qualcomm MSM8939 Snapdragon 615 +ro.device.cpu=Quad-core 1.2 GHz Cortex-A53/Quad-core 1.7 GHz Cortex-A53 & quad-core 1.0 GHz Cortex-A53 +ro.device.gpu=Adreno 405 +ro.device.rear_cam=13 MP +ro.device.front_cam=5 MP +ro.device.screen_res=720x1280 |
