alioth: Initial device tree
Change-Id: I6e667c7ccd633593931e503cf10ca23ee9a8f713
This commit is contained in:
11
Android.mk
Normal file
11
Android.mk
Normal file
@@ -0,0 +1,11 @@
|
||||
#
|
||||
# Copyright (C) 2021 The LineageOS Project
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
|
||||
LOCAL_PATH := $(call my-dir)
|
||||
|
||||
ifeq ($(TARGET_DEVICE),alioth)
|
||||
include $(call all-makefiles-under,$(LOCAL_PATH))
|
||||
endif
|
||||
13
AndroidProducts.mk
Normal file
13
AndroidProducts.mk
Normal file
@@ -0,0 +1,13 @@
|
||||
#
|
||||
# Copyright (C) 2021 The LineageOS Project
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
|
||||
PRODUCT_MAKEFILES := \
|
||||
$(LOCAL_DIR)/lineage_alioth.mk
|
||||
|
||||
COMMON_LUNCH_CHOICES := \
|
||||
lineage_alioth-user \
|
||||
lineage_alioth-userdebug \
|
||||
lineage_alioth-eng
|
||||
22
BoardConfig.mk
Normal file
22
BoardConfig.mk
Normal file
@@ -0,0 +1,22 @@
|
||||
#
|
||||
# Copyright (C) 2021 The LineageOS Project
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
|
||||
# Inherit from sm8250-common
|
||||
include device/xiaomi/sm8250-common/BoardConfigCommon.mk
|
||||
|
||||
DEVICE_PATH := device/xiaomi/alioth
|
||||
|
||||
# Board
|
||||
TARGET_BOARD_INFO_FILE := $(DEVICE_PATH)/board-info.txt
|
||||
|
||||
# Display
|
||||
TARGET_SCREEN_DENSITY := 420
|
||||
|
||||
# Kernel
|
||||
TARGET_KERNEL_CONFIG := vendor/alioth_defconfig
|
||||
|
||||
# Inherit from the proprietary version
|
||||
include vendor/xiaomi/alioth/BoardConfigVendor.mk
|
||||
1
board-info.txt
Normal file
1
board-info.txt
Normal file
@@ -0,0 +1 @@
|
||||
require board=alioth|aliothin
|
||||
25
device.mk
Normal file
25
device.mk
Normal file
@@ -0,0 +1,25 @@
|
||||
#
|
||||
# Copyright (C) 2021 The LineageOS Project
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
|
||||
# Overlays
|
||||
DEVICE_PACKAGE_OVERLAYS += \
|
||||
$(LOCAL_PATH)/overlay
|
||||
|
||||
# Device uses high-density artwork where available
|
||||
PRODUCT_AAPT_CONFIG := normal
|
||||
PRODUCT_AAPT_PREF_CONFIG := xhdpi
|
||||
|
||||
# Boot animation
|
||||
TARGET_SCREEN_HEIGHT := 2400
|
||||
TARGET_SCREEN_WIDTH := 1080
|
||||
|
||||
PRODUCT_SHIPPING_API_LEVEL := 30
|
||||
|
||||
# Inherit from sm8250-common
|
||||
$(call inherit-product, device/xiaomi/sm8250-common/kona.mk)
|
||||
|
||||
# Inherit from vendor blobs
|
||||
$(call inherit-product, vendor/xiaomi/alioth/alioth-vendor.mk)
|
||||
6
lineage.dependencies
Normal file
6
lineage.dependencies
Normal file
@@ -0,0 +1,6 @@
|
||||
[
|
||||
{
|
||||
"repository": "android_device_xiaomi_sm8250-common",
|
||||
"target_path": "device/xiaomi/sm8250-common"
|
||||
}
|
||||
]
|
||||
28
lineage_alioth.mk
Normal file
28
lineage_alioth.mk
Normal file
@@ -0,0 +1,28 @@
|
||||
#
|
||||
# Copyright (C) 2021 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)
|
||||
|
||||
# Inherit some common lineage stuff.
|
||||
$(call inherit-product, vendor/lineage/config/common_full_phone.mk)
|
||||
|
||||
# Inherit from alioth device
|
||||
$(call inherit-product, device/xiaomi/alioth/device.mk)
|
||||
|
||||
PRODUCT_NAME := lineage_alioth
|
||||
PRODUCT_DEVICE := alioth
|
||||
PRODUCT_MANUFACTURER := Xiaomi
|
||||
PRODUCT_BRAND := POCO
|
||||
PRODUCT_MODEL := POCO F3
|
||||
|
||||
PRODUCT_GMS_CLIENTID_BASE := android-xiaomi
|
||||
|
||||
PRODUCT_BUILD_PROP_OVERRIDES += \
|
||||
PRIVATE_BUILD_DESC="alioth-user 11 RKQ1.200826.002 V12.5.2.0.RKHMIXM release-keys"
|
||||
|
||||
BUILD_FINGERPRINT := POCO/alioth_global/alioth:11/RKQ1.200826.002/V12.5.2.0.RKHMIXM:user/release-keys
|
||||
Reference in New Issue
Block a user