x1slte: initial device tree

Change-Id: Ie96634d5524f4b0a7673d1f8fb0e0f14c7a69949
This commit is contained in:
Stricted
2018-09-22 20:54:11 +02:00
committed by Francescodario Cuzzocrea
commit 34390e1cea
7 changed files with 178 additions and 0 deletions

2
Android.bp Normal file
View File

@@ -0,0 +1,2 @@
soong_namespace {
}

28
Android.mk Normal file
View File

@@ -0,0 +1,28 @@
#
# 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.
# WARNING: Everything listed here will be built on ALL platforms,
# including x86, the emulator, and the SDK. Modules must be uniquely
# named (liblights.tuna), and must build everywhere, or limit themselves
# to only building on ARM if they include assembly. Individual makefiles
# are responsible for having their own logic, for fine-grained control.
LOCAL_PATH := $(call my-dir)
ifeq ($(TARGET_DEVICE),x1slte)
include $(call all-makefiles-under,$(LOCAL_PATH))
endif

22
AndroidProducts.mk Normal file
View File

@@ -0,0 +1,22 @@
#
# 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_x1slte.mk
COMMON_LUNCH_CHOICES := \
lineage_x1slte-user \
lineage_x1slte-userdebug \
lineage_x1slte-eng

28
BoardConfig.mk Normal file
View File

@@ -0,0 +1,28 @@
#
# 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 common
include device/samsung/universal990-common/BoardConfigCommon.mk
DEVICE_PATH := device/samsung/x1slte
# Display
TARGET_SCREEN_DENSITY := 480
# OTA
TARGET_OTA_ASSERT_DEVICE := x1slte
# inherit from the proprietary version
-include vendor/samsung/x1slte/BoardConfigVendor.mk

22
README.md Normal file
View File

@@ -0,0 +1,22 @@
Copyright 2023 - The LineageOS Project
Device configuration for Samsung Galaxy S20 LTE (SM-G980F).
========================================
Basic | Specification List
-------:|:-------------------------
CPU | Octa-core 2x2.73 GHz Mongoose M5 & 2x2.50 GHz Cortex-A76 & 4x2.0 GHz Cortex-A55
Chipset | Samsung Exynos 990
GPU | ARM Mali-G77 MP11
Memory | 8 GB
Shipped Android Version | 10
Storage | 128 GB
MicroSD | Up to 256 GB
Battery | Li-Ion 4000 mAh
Dimensions | 151,7 mm x 69,1 mm x 7,9 mm
Display | 3200 x 1440 pixel, 6.2"
Rear Camera | 12 MP, f/1.8, 26mm (wide), 64 MP, f/2.0, 29mm (telephoto), 12 MP, f/2.2, 13mm, 120˚ (ultrawide), LED flash, auto-HDR, panorama
Front Camera | 10 MP, f/2.2, 26mm, Dual video call, Auto-HDR
Release Date | 11 February 2020
![Samsung Galaxy S20](https://fdn2.gsmarena.com/vv/pics/samsung/samsung-galaxy-s20-2.jpg "Samsung Galaxy S20")

30
device.mk Normal file
View File

@@ -0,0 +1,30 @@
#
# 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.
#
DEVICE_PATH := device/samsung/x1slte
# Boot Animation
TARGET_SCREEN_HEIGHT := 3200
TARGET_SCREEN_WIDTH := 1440
# Soong namespaces
PRODUCT_SOONG_NAMESPACES += $(DEVICE_PATH)
# Inherit from common
$(call inherit-product, device/samsung/universal990-common/device-common.mk)
# Inherit from the proprietary version
$(call inherit-product-if-exists, vendor/samsung/x1slte/x1slte-vendor.mk)

46
lineage_x1slte.mk Normal file
View File

@@ -0,0 +1,46 @@
#
# Copyright (C) 2023 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 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.mk)
# Inherit from x1slte device
$(call inherit-product, device/samsung/x1slte/device.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)
# Device identifier. This must come after all inclusions
PRODUCT_DEVICE := x1slte
PRODUCT_NAME := lineage_x1slte
PRODUCT_BRAND := samsung
PRODUCT_MODEL := SM-G980F
PRODUCT_MANUFACTURER := samsung
PRODUCT_GMS_CLIENTID_BASE := android-samsung
# Use the latest approved GMS identifiers
PRODUCT_BUILD_PROP_OVERRIDES += \
PRODUCT_NAME=x1sxx \
PRIVATE_BUILD_DESC="x1sltexx-user 11 RP1A.200720.012 G980FXXSADUH5 release-keys"
BUILD_FINGERPRINT := samsung/x1sxx/x1s:11/RP1A.200720.012/G980FXXSADUH5:user/release-keys
# Define PDA property for camera
PRODUCT_SYSTEM_PROPERTIES += \
ro.build.PDA=G980FXXSADUH5