PL2: Initial Commit
This commit is contained in:
32
Android.mk
Normal file
32
Android.mk
Normal file
@@ -0,0 +1,32 @@
|
||||
#
|
||||
# Copyright (C) 2019 The LineageOS 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)
|
||||
|
||||
ifeq ($(TARGET_DEVICE),PL2)
|
||||
include $(call all-makefiles-under,$(LOCAL_PATH))
|
||||
endif
|
||||
18
AndroidProducts.mk
Normal file
18
AndroidProducts.mk
Normal file
@@ -0,0 +1,18 @@
|
||||
#
|
||||
# Copyright (C) 2019 The LineageOS 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.
|
||||
#
|
||||
|
||||
PRODUCT_MAKEFILES := \
|
||||
$(LOCAL_DIR)/lineage_PL2.mk
|
||||
24
BoardConfig.mk
Normal file
24
BoardConfig.mk
Normal file
@@ -0,0 +1,24 @@
|
||||
#
|
||||
# Copyright (C) 2019 The LineageOS 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 nokia sdm660-common
|
||||
-include device/nokia/sdm660-common/BoardConfigCommon.mk
|
||||
|
||||
# Bootloader
|
||||
TARGET_BOOTLOADER_BOARD_NAME := sdm630
|
||||
|
||||
# Kernel
|
||||
TARGET_KERNEL_CONFIG := lineageos_PL2_defconfig
|
||||
21
README.md
Normal file
21
README.md
Normal file
@@ -0,0 +1,21 @@
|
||||
# Device Tree for Nokia 6.1 (PL2)
|
||||
|
||||
The Nokia 6 (codenamed _"PL2"_) is a mid-range smartphone from Nokia.
|
||||
It was released in April 2018.
|
||||
|
||||
| Basic | Spec Sheet |
|
||||
| -----------------------:|:------------------------------------------------------------------------------------------------------------------------------ |
|
||||
| CPU | Octa-core 2.2 GHz Cortex-A53 |
|
||||
| Chipset | Qualcomm SDM630 Snapdragon 660 |
|
||||
| GPU | Adreno 508 |
|
||||
| Memory | 3/4 GB RAM |
|
||||
| Shipped Android Version | 8.1 |
|
||||
| Storage | 32/64 GB |
|
||||
| Battery | Non-removable Li-Po 3000 mAh battery |
|
||||
| Display | 1080 x 1920 pixels, 16:9 ratio (~403 ppi density) |
|
||||
| Camera (Back) | 16 MP, f/2.0, 27mm (wide), 1.0µm, PDAF, Zeiss optics, dual-LED dual-tone flash, panorama, HDR, 2160p@30fps, 1080p@30fps |
|
||||
| Camera (Front) | 8 MP, f/2.0, 1/4", 1.12µm, 1080p@30fps |
|
||||
|
||||

|
||||
|
||||
**Copyright 2019 - The LineageOS Project**
|
||||
6
lineage.dependencies
Normal file
6
lineage.dependencies
Normal file
@@ -0,0 +1,6 @@
|
||||
[
|
||||
{
|
||||
"repository": "android_device_nokia_sdm660-common",
|
||||
"target_path": "device/nokia/sdm660-common"
|
||||
}
|
||||
]
|
||||
57
lineage_PL2.mk
Normal file
57
lineage_PL2.mk
Normal file
@@ -0,0 +1,57 @@
|
||||
#
|
||||
# Copyright (C) 2019 The LineageOS 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 some common AOSP stuff
|
||||
$(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 nokia sdm660-common
|
||||
$(call inherit-product, device/nokia/sdm660-common/sdm660.mk)
|
||||
|
||||
# Set Shipping API level
|
||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/product_launched_with_o.mk)
|
||||
|
||||
# AAPT
|
||||
PRODUCT_AAPT_CONFIG := normal
|
||||
PRODUCT_AAPT_PREF_CONFIG := xxhdpi
|
||||
|
||||
# Asserts
|
||||
TARGET_OTA_ASSERT_DEVICE := PL2
|
||||
|
||||
# Boot Animation
|
||||
TARGET_SCREEN_HEIGHT := 1920
|
||||
TARGET_SCREEN_WIDTH := 1080
|
||||
|
||||
PRODUCT_NAME := lineage_PL2
|
||||
PRODUCT_DEVICE := PL2
|
||||
PRODUCT_MANUFACTURER := HMD Global
|
||||
PRODUCT_BRAND := Nokia
|
||||
PRODUCT_MODEL := Nokia 6.1
|
||||
|
||||
PRODUCT_GMS_CLIENTID_BASE := android-hmd
|
||||
|
||||
TARGET_VENDOR_PRODUCT_NAME := PL2
|
||||
TARGET_VENDOR_DEVICE_NAME := PL2
|
||||
|
||||
PRODUCT_BUILD_PROP_OVERRIDES += \
|
||||
TARGET_DEVICE=PL2_sprout \
|
||||
PRODUCT_NAME=Plate2_00WW \
|
||||
PRIVATE_BUILD_DESC="Plate2_00WW-user 9 PPR1.180610.011 00WW_3_260 release-keys"
|
||||
|
||||
BUILD_FINGERPRINT := Nokia/Plate2_00WW/PL2_sprout:9/PPR1.180610.011/00WW_3_260:user/release-keys
|
||||
Reference in New Issue
Block a user