Initial a52q tree
Change-Id: I7f1c50bda155154412ad0a69ec9bf4c156414f09
This commit is contained in:
commit
da8223ea7d
15
Android.mk
Normal file
15
Android.mk
Normal file
@ -0,0 +1,15 @@
|
||||
#
|
||||
# Copyright (C) 2021 The LineageOS Project
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
|
||||
LOCAL_PATH := $(call my-dir)
|
||||
|
||||
ifeq ($(TARGET_DEVICE),a52q)
|
||||
|
||||
subdir_makefiles=$(call first-makefiles-under,$(LOCAL_PATH))
|
||||
|
||||
$(foreach mk,$(subdir_makefiles),$(info including $(mk) ...)$(eval include $(mk)))
|
||||
|
||||
endif
|
22
AndroidProducts.mk
Normal file
22
AndroidProducts.mk
Normal file
@ -0,0 +1,22 @@
|
||||
#
|
||||
# Copyright (C) 2021 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_a52q.mk
|
||||
|
||||
COMMON_LUNCH_CHOICES := \
|
||||
lineage_a52q-userdebug \
|
||||
lineage_a52q-user \
|
||||
lineage_a52q-eng
|
22
BoardConfig.mk
Normal file
22
BoardConfig.mk
Normal file
@ -0,0 +1,22 @@
|
||||
#
|
||||
# Copyright (C) 2021 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.
|
||||
#
|
||||
|
||||
LOCAL_PATH := device/samsung/a52q
|
||||
|
||||
include device/samsung/sm7125-common/BoardConfigCommon.mk
|
||||
|
||||
# OTA assert
|
||||
TARGET_OTA_ASSERT_DEVICE := a52q
|
22
device.mk
Normal file
22
device.mk
Normal file
@ -0,0 +1,22 @@
|
||||
#
|
||||
# Copyright (C) 2021 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.
|
||||
#
|
||||
|
||||
LOCAL_PATH := device/samsung/a52q
|
||||
|
||||
DEVICE_PACKAGE_OVERLAYS += $(LOCAL_PATH)/overlay
|
||||
|
||||
# call the common setup
|
||||
$(call inherit-product, device/samsung/sm7125-common/common.mk)
|
6
lineage.dependencies
Normal file
6
lineage.dependencies
Normal file
@ -0,0 +1,6 @@
|
||||
[
|
||||
{
|
||||
"repository": "android_device_samsung_sm7125-common",
|
||||
"target_path": "device/samsung/sm7125-common"
|
||||
}
|
||||
]
|
46
lineage_a52q.mk
Normal file
46
lineage_a52q.mk
Normal file
@ -0,0 +1,46 @@
|
||||
#
|
||||
# Copyright (C) 2021 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 device configuration
|
||||
$(call inherit-product, device/samsung/a52q/device.mk)
|
||||
|
||||
# Inherit from the 64 bit configuration
|
||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk)
|
||||
|
||||
# Inherit from the common Open Source product configuration
|
||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_base_telephony.mk)
|
||||
|
||||
# Inherit some common Lineage stuff
|
||||
$(call inherit-product, vendor/lineage/config/common_full_phone.mk)
|
||||
|
||||
# Enable updating of APEXes
|
||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/updatable_apex.mk)
|
||||
|
||||
# Boot animation
|
||||
TARGET_BOOTANIMATION_PRELOAD := true
|
||||
TARGET_BOOTANIMATION_TEXTURE_CACHE := true
|
||||
TARGET_SCREEN_HEIGHT := 2400
|
||||
TARGET_SCREEN_WIDTH := 1080
|
||||
|
||||
## Device identifier. This must come after all inclusions
|
||||
PRODUCT_NAME := lineage_a52q
|
||||
PRODUCT_DEVICE := a52q
|
||||
PRODUCT_BRAND := samsung
|
||||
PRODUCT_MODEL := SM-A525F
|
||||
PRODUCT_MANUFACTURER := samsung
|
||||
PRODUCT_GMS_CLIENTID_BASE := android-samsung
|
||||
|
||||
PRODUCT_SHIPPING_API_LEVEL := 30
|
106
overlay/frameworks/base/core/res/res/xml/power_profile.xml
Normal file
106
overlay/frameworks/base/core/res/res/xml/power_profile.xml
Normal file
@ -0,0 +1,106 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<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>768000</value>
|
||||
<value>1017600</value>
|
||||
<value>1248000</value>
|
||||
<value>1324800</value>
|
||||
<value>1516800</value>
|
||||
<value>1612800</value>
|
||||
<value>1708800</value>
|
||||
<value>1804800</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>
|
||||
<value>75</value>
|
||||
</array>
|
||||
<array name="cpu.core_speeds.cluster1">
|
||||
<value>652800</value>
|
||||
<value>825600</value>
|
||||
<value>979200</value>
|
||||
<value>1113600</value>
|
||||
<value>1267200</value>
|
||||
<value>1555200</value>
|
||||
<value>1708800</value>
|
||||
<value>1843200</value>
|
||||
<value>1900800</value>
|
||||
<value>1996800</value>
|
||||
<value>2112000</value>
|
||||
<value>2208000</value>
|
||||
<value>2323200</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>
|
||||
<value>220</value>
|
||||
<value>230</value>
|
||||
</array>
|
||||
<item name="cpu.suspend">5.7</item>
|
||||
<item name="cpu.idle">14</item>
|
||||
<item name="battery.capacity">4370</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>
|
Loading…
Reference in New Issue
Block a user