a71: Initial commit
Change-Id: Icea581844f6e1c5652ab3a984ccccda4b7103517
This commit is contained in:
22
Android.mk
Normal file
22
Android.mk
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
#
|
||||||
|
# Copyright (C) 2024 The LineageOS Project
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
#
|
||||||
|
|
||||||
|
# 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)
|
||||||
|
|
||||||
|
ifneq ($(filter a71, $(TARGET_DEVICE)),)
|
||||||
|
|
||||||
|
include $(call all-makefiles-under,$(LOCAL_PATH))
|
||||||
|
|
||||||
|
endif
|
||||||
13
AndroidProducts.mk
Normal file
13
AndroidProducts.mk
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
#
|
||||||
|
# Copyright (C) 2024 The LineageOS Project
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
#
|
||||||
|
|
||||||
|
PRODUCT_MAKEFILES := \
|
||||||
|
$(LOCAL_DIR)/lineage_a71.mk
|
||||||
|
|
||||||
|
COMMON_LUNCH_CHOICES := \
|
||||||
|
lineage_a71-eng \
|
||||||
|
lineage_a71-userdebug \
|
||||||
|
lineage_a71-user
|
||||||
27
BoardConfig.mk
Normal file
27
BoardConfig.mk
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
#
|
||||||
|
# Copyright (C) 2024 The LineageOS Project
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
#
|
||||||
|
|
||||||
|
-include device/samsung/a71-common/BoardConfigCommon.mk
|
||||||
|
|
||||||
|
DEVICE_PATH := device/samsung/a71
|
||||||
|
|
||||||
|
# Assert
|
||||||
|
TARGET_OTA_ASSERT_DEVICE := a71
|
||||||
|
|
||||||
|
# Bluetooth
|
||||||
|
BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := $(DEVICE_PATH)/bluetooth
|
||||||
|
|
||||||
|
# Board
|
||||||
|
TARGET_BOARD_NAME := SRPSF18B010
|
||||||
|
|
||||||
|
# Kernel
|
||||||
|
TARGET_KERNEL_CONFIG := a71_defconfig
|
||||||
|
|
||||||
|
# Security Patch Level
|
||||||
|
VENDOR_SECURITY_PATCH := 2024-02-01
|
||||||
|
|
||||||
|
# Get non-open-source specific aspects
|
||||||
|
include vendor/samsung/a71/BoardConfigVendor.mk
|
||||||
29
README.md
Normal file
29
README.md
Normal file
@@ -0,0 +1,29 @@
|
|||||||
|
# Samsung Galaxy A71 4G Device Tree
|
||||||
|
|
||||||
|
Basic |Spec Sheet
|
||||||
|
-------------:|:-------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||||
|
Network | GSM / HSPA / LTE
|
||||||
|
Announced |2019, December 12
|
||||||
|
Launch |Available. Released 2020, January 17
|
||||||
|
Body |163.6 x 76 x 7.7 mm (6.44 x 2.99 x 0.30 in); 179 g (6.31 oz); Glass front (Gorilla Glass 3), plastic back, plastic frame; Single SIM (Nano-SIM) or Dual SIM (Nano-SIM, dual stand-by)
|
||||||
|
Display |Super AMOLED; 6.7 inches, 108.4 cm2 (~87.2% screen-to-body ratio); 1080 x 2400 pixels, 20:9 ratio (~393 ppi density); Corning Gorilla Glass 3
|
||||||
|
Platform |Android 10, upgradable to Android 13, One UI 5
|
||||||
|
Chipset |Qualcomm SDM730 Snapdragon 730 (8 nm) - Global; Qualcomm SDM730 Snapdragon 730G (8 nm) - Philippines
|
||||||
|
CPU |Octa-core (2x2.2 GHz Kryo 470 Gold & 6x1.8 GHz Kryo 470 Silver)
|
||||||
|
GPU |Adreno 618
|
||||||
|
Memory |microSDXC (dedicated slot); 128GB 6GB RAM, 128GB 8GB RAM; UFS 2.1
|
||||||
|
Main Camera |64 MP, f/1.8, 26mm (wide), 1/1.72", 0.8µm, PDAF; 12 MP, f/2.2, 123˚ (ultrawide); ; 5 MP, f/2.4, (macro); 5 MP, f/2.2, (depth); LED flash, panorama, HDR; 4K@30fps, 1080p@30/240fps, 1080p@960fps; gyro-EIS
|
||||||
|
Selfie Camera |32 MP, f/2.2, 26mm (wide), 1/2.8", 0.8µm; HDR; 4K@30fps, 1080p@30fps
|
||||||
|
Loudspeaker |Yes
|
||||||
|
3.5mm jack |Yes
|
||||||
|
WLAN |Wi-Fi 802.11 a/b/g/n/ac, dual-band, Wi-Fi Direct, hotspot
|
||||||
|
Bluetooth |5.0, A2DP, LE
|
||||||
|
GPS |Yes, with A-GPS, GLONASS, GALILEO, BDS
|
||||||
|
NFC |Yes (market/region dependent)
|
||||||
|
Radio |FM radio
|
||||||
|
USB |USB Type-C 2.0, OTG
|
||||||
|
Sensors |Fingerprint (under display, optical), accelerometer, gyro, proximity, compass; ANT+; Bixby natural language commands and dictation
|
||||||
|
Colors |Prism Crush Black, Prism Crush Silver, Prism Crush Blue, Prism Crush Pink
|
||||||
|
Battery |Li-Po 4500 mAh, non-removable; Fast charging 25W
|
||||||
|
|
||||||
|

|
||||||
15
bluetooth/bdroid_buildcfg.h
Normal file
15
bluetooth/bdroid_buildcfg.h
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
/*
|
||||||
|
* Copyright (C) 2024 The LineageOS Project
|
||||||
|
*
|
||||||
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef _BDROID_BUILDCFG_H
|
||||||
|
#define _BDROID_BUILDCFG_H
|
||||||
|
|
||||||
|
#define BTM_DEF_LOCAL_NAME "Galaxy A71"
|
||||||
|
|
||||||
|
#define BLE_VND_INCLUDED TRUE
|
||||||
|
#define DISABLE_WBS TRUE
|
||||||
|
|
||||||
|
#endif
|
||||||
17
device.mk
Normal file
17
device.mk
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
#
|
||||||
|
# Copyright (C) 2024 The LineageOS Project
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
#
|
||||||
|
|
||||||
|
DEVICE_PATH := device/samsung/a71
|
||||||
|
|
||||||
|
# Inherit Common Device Tree
|
||||||
|
$(call inherit-product, device/samsung/a71-common/common.mk)
|
||||||
|
|
||||||
|
# Overlays
|
||||||
|
PRODUCT_PACKAGE_OVERLAYS += \
|
||||||
|
$(DEVICE_PATH)/overlay \
|
||||||
|
|
||||||
|
# Get non-open-source specific aspects
|
||||||
|
$(call inherit-product, vendor/samsung/a71/a71-vendor.mk)
|
||||||
20
extract-files.sh
Executable file
20
extract-files.sh
Executable file
@@ -0,0 +1,20 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
#
|
||||||
|
# Copyright (C) 2024 The LineageOS Project
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
#
|
||||||
|
|
||||||
|
# If we're being sourced by the common script that we called,
|
||||||
|
# stop right here. No need to go down the rabbit hole.
|
||||||
|
if [ "${BASH_SOURCE[0]}" != "${0}" ]; then
|
||||||
|
return
|
||||||
|
fi
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
export DEVICE=a71
|
||||||
|
export DEVICE_COMMON=a71-common
|
||||||
|
export VENDOR=samsung
|
||||||
|
|
||||||
|
"./../../${VENDOR}/${DEVICE_COMMON}/extract-files.sh" "$@"
|
||||||
6
lineage.dependencies
Normal file
6
lineage.dependencies
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
[
|
||||||
|
{
|
||||||
|
"repository": "android_device_samsung_a71-common",
|
||||||
|
"target_path": "device/samsung/a71-common"
|
||||||
|
}
|
||||||
|
]
|
||||||
29
lineage_a71.mk
Normal file
29
lineage_a71.mk
Normal file
@@ -0,0 +1,29 @@
|
|||||||
|
#
|
||||||
|
# Copyright (C) 2024 The LineageOS Project
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
#
|
||||||
|
|
||||||
|
# Inherit from a71 device
|
||||||
|
$(call inherit-product, device/samsung/a71/device.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_NAME := lineage_a71
|
||||||
|
PRODUCT_DEVICE := a71
|
||||||
|
PRODUCT_BRAND := samsung
|
||||||
|
PRODUCT_MODEL := SM-A715F
|
||||||
|
PRODUCT_MANUFACTURER := samsung
|
||||||
|
|
||||||
|
# Use the latest approved GMS identifiers
|
||||||
|
PRODUCT_GMS_CLIENTID_BASE := android-samsung
|
||||||
|
|
||||||
|
PRODUCT_BUILD_PROP_OVERRIDES += \
|
||||||
|
PRIVATE_BUILD_DESC="a71naxx-user 13 TP1A.220624.014 A715FXXSBDXB1 release-keys" \
|
||||||
|
PRODUCT_DEVICE=a71 \
|
||||||
|
PRODUCT_NAME=a71naxx \
|
||||||
|
TARGET_BOOTLOADER_BOARD_NAME=sm6150 \
|
||||||
|
|
||||||
|
BUILD_FINGERPRINT := "samsung/a71naxx/qssi:13/TP1A.220624.014/A715FXXSBDXB1:user/release-keys"
|
||||||
33
overlay/frameworks/base/core/res/res/values/config.xml
Normal file
33
overlay/frameworks/base/core/res/res/values/config.xml
Normal file
@@ -0,0 +1,33 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!--
|
||||||
|
/*
|
||||||
|
* Copyright (C) 2024 The LineageOS Project
|
||||||
|
*
|
||||||
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
|
*/
|
||||||
|
-->
|
||||||
|
|
||||||
|
<resources>
|
||||||
|
<!-- The bounding path of the cutout region of the main built-in display.
|
||||||
|
Must either be empty if there is no cutout region, or a string that is parsable by
|
||||||
|
{@link android.util.PathParser}.
|
||||||
|
|
||||||
|
The path is assumed to be specified in display coordinates with pixel units and in
|
||||||
|
the display's native orientation, with the origin of the coordinate system at the
|
||||||
|
center top of the display. Optionally, you can append either `@left` or `@right` to the
|
||||||
|
end of the path string, in order to change the path origin to either the top left,
|
||||||
|
or top right of the display.
|
||||||
|
|
||||||
|
To facilitate writing device-independent emulation overlays, the marker `@dp` can be
|
||||||
|
appended after the path string to interpret coordinates in dp instead of px units.
|
||||||
|
Note that a physical cutout should be configured in pixels for the best results.
|
||||||
|
|
||||||
|
Example for a 10px x 10px square top-center cutout:
|
||||||
|
<string ...>M -5,0 L -5,10 L 5,10 L 5,0 Z</string>
|
||||||
|
Example for a 10dp x 10dp square top-center cutout:
|
||||||
|
<string ...>M -5,0 L -5,10 L 5,10 L 5,0 Z @dp</string>
|
||||||
|
|
||||||
|
@see https://www.w3.org/TR/SVG/paths.html#PathData
|
||||||
|
-->
|
||||||
|
<string translatable="false" name="config_mainBuiltInDisplayCutout">M 0,0 H -62 V 92 H 62 V 0 H 0 Z</string>
|
||||||
|
</resources>
|
||||||
107
overlay/frameworks/base/core/res/res/xml/power_profile.xml
Normal file
107
overlay/frameworks/base/core/res/res/xml/power_profile.xml
Normal file
@@ -0,0 +1,107 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!--
|
||||||
|
/*
|
||||||
|
* Copyright (C) 2024 The LineageOS Project
|
||||||
|
*
|
||||||
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
|
*/
|
||||||
|
-->
|
||||||
|
<device name="Android">
|
||||||
|
<item name="none">0</item>
|
||||||
|
<item name="ambient.on">25</item>
|
||||||
|
<item name="screen.on">66</item>
|
||||||
|
<item name="screen.full">300</item>
|
||||||
|
<item name="bluetooth.active">29</item>
|
||||||
|
<item name="bluetooth.on">0.4</item>
|
||||||
|
<item name="wifi.on">1.2</item>
|
||||||
|
<item name="wifi.active">287</item>
|
||||||
|
<item name="wifi.scan">95</item>
|
||||||
|
<item name="audio">6.6</item>
|
||||||
|
<item name="video">15</item>
|
||||||
|
<item name="camera.flashlight">100</item>
|
||||||
|
<item name="camera.avg">222</item>
|
||||||
|
<item name="gps.on">76</item>
|
||||||
|
<item name="radio.active">153</item>
|
||||||
|
<item name="radio.scanning">6.5</item>
|
||||||
|
<array name="radio.on">
|
||||||
|
<value>2.2</value>
|
||||||
|
<value>2.2</value>
|
||||||
|
</array>
|
||||||
|
<item name="modem.controller.idle">0</item>
|
||||||
|
<item name="modem.controller.rx">0</item>
|
||||||
|
<item name="modem.controller.tx">0</item>
|
||||||
|
<item name="modem.controller.voltage">0</item>
|
||||||
|
<array name="cpu.clusters.cores">
|
||||||
|
<value>6</value>
|
||||||
|
<value>2</value>
|
||||||
|
</array>
|
||||||
|
<array name="cpu.core_speeds.cluster0">
|
||||||
|
<value>300000</value>
|
||||||
|
<value>576000</value>
|
||||||
|
<value>748800</value>
|
||||||
|
<value>1017600</value>
|
||||||
|
<value>1209600</value>
|
||||||
|
<value>1363200</value>
|
||||||
|
<value>1516800</value>
|
||||||
|
<value>1593600</value>
|
||||||
|
<value>1708800</value>
|
||||||
|
</array>
|
||||||
|
<array name="cpu.core_power.cluster0">
|
||||||
|
<value>10</value>
|
||||||
|
<value>15</value>
|
||||||
|
<value>17</value>
|
||||||
|
<value>25</value>
|
||||||
|
<value>32</value>
|
||||||
|
<value>42</value>
|
||||||
|
<value>55</value>
|
||||||
|
<value>60</value>
|
||||||
|
<value>70</value>
|
||||||
|
</array>
|
||||||
|
<array name="cpu.core_speeds.cluster1">
|
||||||
|
<value>300000</value>
|
||||||
|
<value>652800</value>
|
||||||
|
<value>768000</value>
|
||||||
|
<value>979200</value>
|
||||||
|
<value>1017600</value>
|
||||||
|
<value>1209600</value>
|
||||||
|
<value>1363200</value>
|
||||||
|
<value>1516800</value>
|
||||||
|
<value>1708800</value>
|
||||||
|
<value>1900800</value>
|
||||||
|
<value>2016000</value>
|
||||||
|
</array>
|
||||||
|
<array name="cpu.core_power.cluster1">
|
||||||
|
<value>15</value>
|
||||||
|
<value>35</value>
|
||||||
|
<value>45</value>
|
||||||
|
<value>52</value>
|
||||||
|
<value>65</value>
|
||||||
|
<value>85</value>
|
||||||
|
<value>113</value>
|
||||||
|
<value>135</value>
|
||||||
|
<value>155</value>
|
||||||
|
<value>187</value>
|
||||||
|
<value>212</value>
|
||||||
|
</array>
|
||||||
|
<item name="cpu.suspend">5.7</item>
|
||||||
|
<item name="cpu.idle">14</item>
|
||||||
|
<item name="battery.capacity">4400</item>
|
||||||
|
<item name="battery.typical.capacity">4500</item>
|
||||||
|
<item name="bluetooth.controller.idle">0</item>
|
||||||
|
<item name="bluetooth.controller.rx">0</item>
|
||||||
|
<item name="bluetooth.controller.tx">0</item>
|
||||||
|
<item name="wifi.controller.idle">0</item>
|
||||||
|
<item name="wifi.controller.rx">0</item>
|
||||||
|
<item name="wifi.controller.tx">0</item>
|
||||||
|
<array name="wifi.controller.tx_levels">
|
||||||
|
<value>0</value>
|
||||||
|
</array>
|
||||||
|
<item name="wifi.controller.voltage">0</item>
|
||||||
|
<array name="wifi.batchedscan">
|
||||||
|
<value>.0002</value>
|
||||||
|
<value>.002</value>
|
||||||
|
<value>.02</value>
|
||||||
|
<value>.2</value>
|
||||||
|
<value>2</value>
|
||||||
|
</array>
|
||||||
|
</device>
|
||||||
1
proprietary-files.txt
Executable file
1
proprietary-files.txt
Executable file
@@ -0,0 +1 @@
|
|||||||
|
# All unpinned blobs below are extracted from a71naxx-user 13 TP1A.220624.014 A715FXXSBDXB1 release-keys
|
||||||
14
setup-makefiles.sh
Executable file
14
setup-makefiles.sh
Executable file
@@ -0,0 +1,14 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
#
|
||||||
|
# Copyright (C) 2024 The LineageOS Project
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
#
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
export DEVICE=a71
|
||||||
|
export DEVICE_COMMON=a71-common
|
||||||
|
export VENDOR=samsung
|
||||||
|
|
||||||
|
"./../../${VENDOR}/${DEVICE_COMMON}/setup-makefiles.sh" "$@"
|
||||||
Reference in New Issue
Block a user