Skip to content

Commit

Permalink
X00TD: Initial device specific tree
Browse files Browse the repository at this point in the history
Change-Id: I0e24ad13b0882d752474183e3d3ae4cb500805eb
  • Loading branch information
Vivekachooz committed Aug 8, 2020
0 parents commit 289fa89
Show file tree
Hide file tree
Showing 7 changed files with 113 additions and 0 deletions.
13 changes: 13 additions & 0 deletions Android.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#
# Copyright (C) 2020 The LineageOS Project
#
# SPDX-License-Identifier: Apache-2.0
#

LOCAL_PATH := $(call my-dir)

ifeq ($(TARGET_DEVICE),X00TD)

include $(call all-makefiles-under,$(LOCAL_PATH))

endif
12 changes: 12 additions & 0 deletions AndroidProducts.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#
# Copyright (C) 2020 The LineageOS Project
#
# SPDX-License-Identifier: Apache-2.0
#

PRODUCT_MAKEFILES := \
$(LOCAL_DIR)/lineage_X00TD.mk

COMMON_LUNCH_CHOICES := \
lineage_X00TD-userdebug

13 changes: 13 additions & 0 deletions BoardConfig.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#
# Copyright (C) 2020 The LineageOS Project
#
# SPDX-License-Identifier: Apache-2.0
#

# Inherit from sdm660-common
-include device/asus/sdm660-common/BoardConfigCommon.mk

DEVICE_PATH := device/asus/X00TD

# Inherit the proprietary files
-include vendor/asus/X00TD/BoardConfigVendor.mk
25 changes: 25 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Device Tree for Asus Zenfone Max Pro M1
The Asus Zenfone Max Pro M1 (codenamed _"ASUS_X00TD"_) is a mid-range smartphone from Asus.
It was announced in April 2018 and released in May 2018.

## Device specifications

| Device | Asus Zenfone Max Pro M1 |
| ----------------------- | :---------------------------------------------------------- |
| SoC | Qualcomm SDM660 Snapdragon 636 |
| CPU | 8x Qualcomm® Kryo™ 260 CPU |
| GPU | Adreno 509 |
| Memory | 3GB / 4GB RAM / 6GB (LPDDR4X) |
| Shipped Android version | 8.1.0 |
| Storage | 64GB eMMC 5.1 flash storage |
| MicroSD | Up to 2 TB |
| Battery | Non-removable Li-Po 5000 mAh |
| Dimensions | 159 x 76 x 8.5 mm |
| Display | 2160 x 1080 (18:9), 5.99 inch |
| Rear camera 1 | 13MP, 1.12-micron pixels, f/2.2 Dual LED flash |
| Rear camera 2 | 5MP, 1.12-micron pixels, f/2.4 |
| Front camera | 8MP, 1-micron pixels, f/2.2 1080p 30 fps video, Selfie-light|

## Device picture

![Asus Zenfone Max Pro M1](https://i-cdn.phonearena.com/images/articles/320775-image/Asus-ZenFone-Max-Pro-M1.jpg)
11 changes: 11 additions & 0 deletions device.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#
# Copyright (C) 2020 The LineageOS Project
#
# SPDX-License-Identifier: Apache-2.0
#

# Inherit from sdm660-common
$(call inherit-product, device/asus/sdm660-common/sdm660.mk)

# Inherit proprietary files
$(call inherit-product-if-exists, vendor/asus/X00TD/X00TD-vendor.mk)
6 changes: 6 additions & 0 deletions lineage.dependencies
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[
{
"repository": "android_device_asus_sdm660-common",
"target_path": "device/asus/sdm660-common"
}
]
33 changes: 33 additions & 0 deletions lineage_X00TD.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
#
# Copyright (C) 2020 The LineageOS Project
#
# SPDX-License-Identifier: Apache-2.0
#

# 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)
$(call inherit-product, $(SRC_TARGET_DIR)/product/product_launched_with_o_mr1.mk)

# Inherit some common LineageOS stuff
$(call inherit-product, vendor/lineage/config/common_full_phone.mk)

# Inherit from X00TD device
$(call inherit-product, $(LOCAL_PATH)/device.mk)

# Device identifier. This must come after all inclusions.
PRODUCT_NAME := lineage_X00TD
PRODUCT_DEVICE := X00TD
PRODUCT_BRAND := asus
PRODUCT_MODEL := Zenfone Max Pro M1
PRODUCT_MANUFACTURER := asus

PRODUCT_GMS_CLIENTID_BASE := android-asus

PRODUCT_BUILD_PROP_OVERRIDES += \
PRODUCT_DEVICE=ASUS_X00T \
PRODUCT_NAME=WW_X00T \
PRIVATE_BUILD_DESC="sdm660_64-user 10 QKQ1 52 release-keys"

# Build fingerprint
BUILD_FINGERPRINT := "asus/WW_X00TD/ASUS_X00T_2:9/QKQ1/17.2017.2006.429-20200614:user/release-keys"

0 comments on commit 289fa89

Please sign in to comment.