Compare commits
26 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1d92629971 | ||
|
|
11ac61ae0e | ||
|
|
0ac21827ce | ||
|
|
a2c580ba7b | ||
|
|
5b188ae7d6 | ||
|
|
8d0f491144 | ||
|
|
f84ae2f430 | ||
|
|
a0a9086ca5 | ||
|
|
78f11b8e79 | ||
|
|
c761a3cd45 | ||
|
|
b030677ea4 | ||
|
|
ca81124e55 | ||
|
|
6d59ca67a3 | ||
|
|
4cf3dce758 | ||
|
|
9c1398dc62 | ||
|
|
02f772aa70 | ||
|
|
7572fc8494 | ||
|
|
094fbb5d66 | ||
|
|
89b6cb2e1f | ||
|
|
aa1f41b393 | ||
|
|
a9e2b53b68 | ||
|
|
5fcbac5143 | ||
|
|
1083ee459c | ||
|
|
b435c63b8c | ||
|
|
be43e9d10c | ||
|
|
8bec2dd0e3 |
@@ -1,5 +1,5 @@
|
||||
//
|
||||
// SPDX-FileCopyrightText: 2022-2024 The LineageOS Project
|
||||
// SPDX-FileCopyrightText: The LineageOS Project
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
//
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# SPDX-FileCopyrightText: 2022-2024 The LineageOS Project
|
||||
# SPDX-FileCopyrightText: The LineageOS Project
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
|
||||
@@ -68,7 +68,7 @@ BOARD_KERNEL_IMAGE_NAME := Image
|
||||
BOARD_KERNEL_PAGESIZE := 4096
|
||||
BOARD_KERNEL_SEPARATED_DTBO := true
|
||||
BOARD_MKBOOTIMG_ARGS += --header_version $(BOARD_BOOT_HEADER_VERSION)
|
||||
TARGET_KERNEL_CONFIG := vendor/bengal-perf_defconfig vendor/debugfs.config vendor/ext_config/moto-bengal.config
|
||||
TARGET_KERNEL_CONFIG := vendor/bengal-perf_defconfig vendor/ext_config/moto-bengal.config
|
||||
TARGET_KERNEL_SOURCE := kernel/motorola/sm6225
|
||||
|
||||
# Kernel Modules - Audio
|
||||
@@ -106,28 +106,22 @@ TARGET_MODULE_ALIASES += \
|
||||
TARGET_MODULE_ALIASES += \
|
||||
wlan.ko:qca_cld3_wlan.ko
|
||||
|
||||
# Media
|
||||
TARGET_USES_ION := true
|
||||
|
||||
# Partitions
|
||||
-include vendor/lineage/config/BoardConfigReservedSize.mk
|
||||
# -include vendor/lineage/config/BoardConfigReservedSize.mk
|
||||
|
||||
BOARD_FLASH_BLOCK_SIZE := 262144 # (BOARD_KERNEL_PAGESIZE * 64)
|
||||
BOARD_USES_METADATA_PARTITION := true
|
||||
|
||||
BOARD_BOOTIMAGE_PARTITION_SIZE := 100663296
|
||||
BOARD_DTBOIMG_PARTITION_SIZE := 25165824
|
||||
BOARD_USERDATAIMAGE_PARTITION_SIZE ?= 118235312128
|
||||
|
||||
BOARD_SUPER_PARTITION_SIZE ?= 7583301632
|
||||
BOARD_SUPER_PARTITION_GROUPS := moto_dynamic_partitions
|
||||
BOARD_MOTO_DYNAMIC_PARTITIONS_PARTITION_LIST := system system_ext product vendor
|
||||
BOARD_MOTO_DYNAMIC_PARTITIONS_SIZE ?= 7579107328 # BOARD_SUPER_PARTITION_SIZE - 4MB
|
||||
|
||||
BOARD_PRODUCTIMAGE_FILE_SYSTEM_TYPE := ext4
|
||||
BOARD_SYSTEMIMAGE_FILE_SYSTEM_TYPE := ext4
|
||||
BOARD_SYSTEM_EXTIMAGE_FILE_SYSTEM_TYPE := ext4
|
||||
BOARD_VENDORIMAGE_FILE_SYSTEM_TYPE := ext4
|
||||
BOARD_PRODUCTIMAGE_FILE_SYSTEM_TYPE := erofs
|
||||
BOARD_SYSTEMIMAGE_FILE_SYSTEM_TYPE := erofs
|
||||
BOARD_SYSTEM_EXTIMAGE_FILE_SYSTEM_TYPE := erofs
|
||||
BOARD_VENDORIMAGE_FILE_SYSTEM_TYPE := erofs
|
||||
|
||||
TARGET_USERIMAGES_USE_EXT4 := true
|
||||
TARGET_USERIMAGES_USE_F2FS := true
|
||||
@@ -136,6 +130,9 @@ TARGET_COPY_OUT_PRODUCT := product
|
||||
TARGET_COPY_OUT_SYSTEM_EXT := system_ext
|
||||
TARGET_COPY_OUT_VENDOR := vendor
|
||||
|
||||
BOARD_EROFS_COMPRESSOR := lz4
|
||||
BOARD_EROFS_PCLUSTER_SIZE := 262144
|
||||
|
||||
# Platform
|
||||
BOARD_USES_QCOM_HARDWARE := true
|
||||
TARGET_BOARD_PLATFORM := bengal
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
```
|
||||
|
||||
SPDX-FileCopyrightText: 2022-2024 The LineageOS Project
|
||||
SPDX-FileCopyrightText: The LineageOS Project
|
||||
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
//
|
||||
// SPDX-FileCopyrightText: 2020-2025 The LineageOS Project
|
||||
// SPDX-FileCopyrightText: The LineageOS Project
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
//
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
* SPDX-FileCopyrightText: 2015 The CyanogenMod Project
|
||||
* SPDX-FileCopyrightText: 2020-2025 The LineageOS Project
|
||||
* SPDX-FileCopyrightText: The LineageOS Project
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
|
||||
39
common.mk
39
common.mk
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# SPDX-FileCopyrightText: 2022-2025 The LineageOS Project
|
||||
# SPDX-FileCopyrightText: The LineageOS Project
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
|
||||
@@ -26,13 +26,13 @@ PRODUCT_PACKAGES += \
|
||||
AB_OTA_POSTINSTALL_CONFIG += \
|
||||
RUN_POSTINSTALL_system=true \
|
||||
POSTINSTALL_PATH_system=system/bin/otapreopt_script \
|
||||
FILESYSTEM_TYPE_system=ext4 \
|
||||
FILESYSTEM_TYPE_system=erofs \
|
||||
POSTINSTALL_OPTIONAL_system=true
|
||||
|
||||
AB_OTA_POSTINSTALL_CONFIG += \
|
||||
RUN_POSTINSTALL_vendor=true \
|
||||
POSTINSTALL_PATH_vendor=bin/checkpoint_gc \
|
||||
FILESYSTEM_TYPE_vendor=ext4 \
|
||||
FILESYSTEM_TYPE_vendor=erofs \
|
||||
POSTINSTALL_OPTIONAL_vendor=true
|
||||
|
||||
PRODUCT_PACKAGES += \
|
||||
@@ -121,6 +121,7 @@ PRODUCT_PACKAGES += \
|
||||
PRODUCT_PACKAGES += \
|
||||
android.hardware.graphics.mapper@3.0-impl-qti-display \
|
||||
android.hardware.graphics.mapper@4.0-impl-qti-display \
|
||||
gralloc.qcom \
|
||||
vendor.qti.hardware.display.allocator-service \
|
||||
vendor.qti.hardware.display.composer-service \
|
||||
vendor.qti.hardware.memtrack-service
|
||||
@@ -145,6 +146,9 @@ PRODUCT_PACKAGES += \
|
||||
PRODUCT_PACKAGES += \
|
||||
libvndfwk_detect_jni.qti.vendor # Needed by CNE app
|
||||
|
||||
# GApps
|
||||
TARGET_USES_MINI_GAPPS := true
|
||||
|
||||
# GPS
|
||||
PRODUCT_PACKAGES += \
|
||||
android.hardware.gnss@2.1-impl-qti \
|
||||
@@ -194,10 +198,21 @@ PRODUCT_PACKAGES += \
|
||||
ipacm \
|
||||
IPACM_cfg.xml
|
||||
|
||||
# Kernel
|
||||
PRODUCT_ENABLE_UFFD_GC := true
|
||||
|
||||
# Lineage Health
|
||||
PRODUCT_PACKAGES += \
|
||||
vendor.lineage.health-service.default
|
||||
|
||||
# LiveDisplay
|
||||
PRODUCT_PACKAGES += \
|
||||
vendor.lineage.livedisplay-service.sdm \
|
||||
vendor.lineage.livedisplay-service.sysfs
|
||||
|
||||
$(call soong_config_set,livedisplay_sdm,enable_dm,false)
|
||||
$(call soong_config_set,livedisplay_sysfs,enable_se,true)
|
||||
|
||||
# Media
|
||||
PRODUCT_PACKAGES += \
|
||||
libOmxCore \
|
||||
@@ -217,7 +232,8 @@ PRODUCT_COPY_FILES += \
|
||||
# MotoActions
|
||||
PRODUCT_PACKAGES += \
|
||||
MotoActions \
|
||||
MotoCommonOverlay
|
||||
MotoCommonOverlay \
|
||||
TurboPowerOverlay
|
||||
|
||||
# NFC
|
||||
PRODUCT_PACKAGES += \
|
||||
@@ -225,9 +241,15 @@ PRODUCT_PACKAGES += \
|
||||
Tag
|
||||
|
||||
# Overlay
|
||||
DEVICE_PACKAGE_OVERLAYS += \
|
||||
$(LOCAL_PATH)/overlay \
|
||||
$(LOCAL_PATH)/overlay-lineage
|
||||
PRODUCT_PACKAGES += \
|
||||
FrameworksResCommon \
|
||||
FrameworksResProduct \
|
||||
FrameworksResTarget \
|
||||
LineagePlatformCommon \
|
||||
SettingsResCommon \
|
||||
SystemUIResCommon \
|
||||
TelephonyResProduct \
|
||||
WifiResCommon
|
||||
|
||||
PRODUCT_ENFORCE_RRO_TARGETS := *
|
||||
PRODUCT_PACKAGES += \
|
||||
@@ -356,9 +378,6 @@ PRODUCT_PACKAGES += \
|
||||
wpa_supplicant \
|
||||
wpa_supplicant.conf
|
||||
|
||||
PRODUCT_PACKAGES += \
|
||||
WifiResCommonOverlay
|
||||
|
||||
# WiFi firmware symlinks
|
||||
PRODUCT_PACKAGES += \
|
||||
firmware_wlan_mac.bin_symlink \
|
||||
|
||||
@@ -1,3 +1,8 @@
|
||||
#
|
||||
# SPDX-FileCopyrightText: The LineageOS Project
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
|
||||
[AID_VENDOR_QTI_DIAG]
|
||||
value:2901
|
||||
|
||||
|
||||
72
evolution.dependencies
Normal file
72
evolution.dependencies
Normal file
@@ -0,0 +1,72 @@
|
||||
[
|
||||
{
|
||||
"repository": "hardware_motorola",
|
||||
"target_path": "hardware/motorola",
|
||||
"remote": "evo-devices"
|
||||
},
|
||||
{
|
||||
"repository": "kernel_motorola_sm6225",
|
||||
"target_path": "kernel/motorola/sm6225",
|
||||
"remote": "evo-devices"
|
||||
},
|
||||
{
|
||||
"repository": "Deivid21/proprietary_vendor_motorola_MotCamera-common",
|
||||
"target_path": "vendor/motorola/MotCamera-common",
|
||||
"remote": "gitlab",
|
||||
"branch": "android-15"
|
||||
},
|
||||
{
|
||||
"repository": "Deivid21/proprietary_vendor_motorola_MotCameraAI-common",
|
||||
"target_path": "vendor/motorola/MotCameraAI-common",
|
||||
"remote": "gitlab",
|
||||
"branch": "android-15"
|
||||
},
|
||||
{
|
||||
"repository": "Deivid21/proprietary_vendor_motorola_MotCamera2",
|
||||
"target_path": "vendor/motorola/MotCamera2",
|
||||
"remote": "gitlab",
|
||||
"branch": "android-15"
|
||||
},
|
||||
{
|
||||
"repository": "Deivid21/proprietary_vendor_motorola_MotCamera2AI",
|
||||
"target_path": "vendor/motorola/MotCamera2AI",
|
||||
"remote": "gitlab",
|
||||
"branch": "android-15"
|
||||
},
|
||||
{
|
||||
"repository": "Deivid21/proprietary_vendor_motorola_MotCamera3AI-bengal",
|
||||
"target_path": "vendor/motorola/MotCamera3AI-bengal",
|
||||
"remote": "gitlab",
|
||||
"branch": "android-15"
|
||||
},
|
||||
{
|
||||
"repository": "Deivid21/proprietary_vendor_motorola_MotCamera4-bengal",
|
||||
"target_path": "vendor/motorola/MotCamera4-bengal",
|
||||
"remote": "gitlab",
|
||||
"branch": "android-15"
|
||||
},
|
||||
{
|
||||
"repository": "Deivid21/proprietary_vendor_motorola_MotoPhotoEditor",
|
||||
"target_path": "vendor/motorola/MotoPhotoEditor",
|
||||
"remote": "gitlab",
|
||||
"branch": "android-15"
|
||||
},
|
||||
{
|
||||
"repository": "Deivid21/proprietary_vendor_motorola_MotoSignatureApp",
|
||||
"target_path": "vendor/motorola/MotoSignatureApp",
|
||||
"remote": "gitlab",
|
||||
"branch": "android-15"
|
||||
},
|
||||
{
|
||||
"repository": "Deivid21/proprietary_vendor_motorola_MotorolaSettingsProvider",
|
||||
"target_path": "vendor/motorola/MotorolaSettingsProvider",
|
||||
"remote": "gitlab",
|
||||
"branch": "android-15"
|
||||
},
|
||||
{
|
||||
"repository": "Deivid-21s-Sources/proprietary_vendor_motorola_sm6225-common",
|
||||
"target_path": "vendor/motorola/sm6225-common",
|
||||
"remote": "github-non-los",
|
||||
"branch": "lineage-22.2"
|
||||
}
|
||||
]
|
||||
@@ -1,6 +1,6 @@
|
||||
#!/usr/bin/env -S PYTHONPATH=../../../tools/extract-utils python3
|
||||
#
|
||||
# SPDX-FileCopyrightText: 2024 The LineageOS Project
|
||||
# SPDX-FileCopyrightText: The LineageOS Project
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
//
|
||||
// SPDX-FileCopyrightText: 2024 The LineageOS Project
|
||||
// SPDX-FileCopyrightText: The LineageOS Project
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
//
|
||||
|
||||
|
||||
@@ -1,23 +1,31 @@
|
||||
on property:ro.vendor.hw.ram=4GB
|
||||
setprop dalvik.vm.heapstartsize 8m
|
||||
setprop dalvik.vm.heapgrowthlimit 192m
|
||||
on property:ro.vendor.hw.ram=3GB
|
||||
setprop dalvik.vm.heapstartsize 12m
|
||||
setprop dalvik.vm.heapgrowthlimit 256m
|
||||
setprop dalvik.vm.heapsize 512m
|
||||
setprop dalvik.vm.heaptargetutilization 0.75
|
||||
setprop dalvik.vm.heapminfree 512k
|
||||
setprop dalvik.vm.heapmaxfree 8m
|
||||
setprop dalvik.vm.heaptargetutilization 0.58
|
||||
setprop dalvik.vm.heapminfree 6m
|
||||
setprop dalvik.vm.heapmaxfree 24m
|
||||
|
||||
on property:ro.vendor.hw.ram=4GB
|
||||
setprop dalvik.vm.heapstartsize 12m
|
||||
setprop dalvik.vm.heapgrowthlimit 256m
|
||||
setprop dalvik.vm.heapsize 512m
|
||||
setprop dalvik.vm.heaptargetutilization 0.55
|
||||
setprop dalvik.vm.heapminfree 8m
|
||||
setprop dalvik.vm.heapmaxfree 24m
|
||||
|
||||
on property:ro.vendor.hw.ram=6GB
|
||||
setprop dalvik.vm.heapstartsize 12m
|
||||
setprop dalvik.vm.heapgrowthlimit 256m
|
||||
setprop dalvik.vm.heapsize 512m
|
||||
setprop dalvik.vm.heaptargetutilization 0.5
|
||||
setprop dalvik.vm.heapminfree 6m
|
||||
setprop dalvik.vm.heapmaxfree 24m
|
||||
setprop dalvik.vm.heapstartsize 16m
|
||||
setprop dalvik.vm.heapgrowthlimit 384m
|
||||
setprop dalvik.vm.heapsize 768m
|
||||
setprop dalvik.vm.heaptargetutilization 0.55
|
||||
setprop dalvik.vm.heapminfree 8m
|
||||
setprop dalvik.vm.heapmaxfree 40m
|
||||
|
||||
on property:ro.vendor.hw.ram=8GB
|
||||
setprop dalvik.vm.heapstartsize 12m
|
||||
setprop dalvik.vm.heapgrowthlimit 256m
|
||||
setprop dalvik.vm.heapsize 512m
|
||||
setprop dalvik.vm.heapstartsize 24m
|
||||
setprop dalvik.vm.heapgrowthlimit 512m
|
||||
setprop dalvik.vm.heapsize 1024m
|
||||
setprop dalvik.vm.heaptargetutilization 0.5
|
||||
setprop dalvik.vm.heapminfree 6m
|
||||
setprop dalvik.vm.heapmaxfree 24m
|
||||
setprop dalvik.vm.heapminfree 12m
|
||||
setprop dalvik.vm.heapmaxfree 64m
|
||||
|
||||
@@ -345,6 +345,13 @@ service vendor.hal-fps-sh /vendor/bin/init.oem.fingerprint2.sh
|
||||
group system
|
||||
oneshot
|
||||
|
||||
service chipone_ident /vendor/bin/hw/chipone_ident
|
||||
class late_start
|
||||
user system
|
||||
group system
|
||||
oneshot
|
||||
disabled
|
||||
|
||||
service fpc_ident /vendor/bin/hw/fpc_ident
|
||||
class late_start
|
||||
user system
|
||||
|
||||
@@ -37,6 +37,10 @@ on early-init
|
||||
# Change ownership of sysfs power control node
|
||||
chown system graphics /sys/class/drm/card0/device/power/control
|
||||
|
||||
# Workarround for cache
|
||||
rm /data/resource-cache
|
||||
rm /data/system/package_cache
|
||||
|
||||
#Disable UFS clock scaling
|
||||
write /sys/bus/platform/devices/${ro.boot.bootdevice}/clkscale_enable 0
|
||||
|
||||
|
||||
@@ -1,10 +0,0 @@
|
||||
[
|
||||
{
|
||||
"repository": "android_hardware_motorola",
|
||||
"target_path": "hardware/motorola"
|
||||
},
|
||||
{
|
||||
"repository": "android_kernel_motorola_sm6225",
|
||||
"target_path": "kernel/motorola/sm6225"
|
||||
}
|
||||
]
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# SPDX-FileCopyrightText: 2017-2022 The LineageOS Project
|
||||
# SPDX-FileCopyrightText: The LineageOS Project
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
|
||||
|
||||
@@ -1,30 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
/*
|
||||
** Copyright 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.
|
||||
*/
|
||||
-->
|
||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
<!-- Whether device has screen with higher aspect ratio -->
|
||||
<bool name="config_haveHigherAspectRatioScreen">true</bool>
|
||||
|
||||
<!-- Defines the actions shown in advanced reboot submenu -->
|
||||
<string-array name="config_restartActionsList">
|
||||
<item>restart</item>
|
||||
<item>restart_recovery</item>
|
||||
<item>restart_fastboot</item>
|
||||
<item>restart_bootloader</item>
|
||||
</string-array>
|
||||
</resources>
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
SPDX-FileCopyrightText: 2022 The LineageOS Project
|
||||
SPDX-FileCopyrightText: The LineageOS Project
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
<resources>
|
||||
|
||||
@@ -1,31 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
/**
|
||||
* Copyright (c) 2009, The Android Open Source 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.
|
||||
*/
|
||||
-->
|
||||
|
||||
<!-- These resources are around just to allow their values to be customized
|
||||
for different hardware and product builds. Do not translate. -->
|
||||
|
||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
|
||||
<!-- Vibrator pattern for camera gesture launch. -->
|
||||
<integer-array name="config_cameraLaunchGestureVibePattern">
|
||||
<item>0</item>
|
||||
<item>150</item>
|
||||
</integer-array>
|
||||
|
||||
</resources>
|
||||
@@ -1,28 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
/**
|
||||
* Copyright (c) 2009, The Android Open Source 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.
|
||||
*/
|
||||
-->
|
||||
|
||||
<!-- These resources are around just to allow their values to be customized
|
||||
for different hardware and product builds. Do not translate. -->
|
||||
|
||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
|
||||
<!-- Margin on the right side of the system icon group on Keyguard. -->
|
||||
<dimen name="system_icons_keyguard_padding_end">10.0px</dimen>
|
||||
|
||||
</resources>
|
||||
@@ -1,21 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
~ Copyright (C) 2018 The Android Open Source 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
|
||||
-->
|
||||
<resources>
|
||||
<!-- Maximum number of notification icons shown on the Always on Display
|
||||
(excluding overflow dot) -->
|
||||
<integer name="max_notif_icons_on_aod">9</integer>
|
||||
</resources>
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,54 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--Copyright (c) 2013, The Linux Foundation. All rights reserved.
|
||||
|
||||
Not a Contribution, Apache license notifications and license are retained
|
||||
for attribution purposes only.
|
||||
|
||||
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. -->
|
||||
|
||||
<!-- Phone app resources that may need to be customized
|
||||
for different hardware or product builds. -->
|
||||
<resources>
|
||||
<!-- Determine whether we should show the "listen for instructions" screen after
|
||||
successfully placing the OTA call -->
|
||||
<integer name="OtaShowListeningScreen">1</integer>
|
||||
|
||||
<!-- Flag indicating if the phone is a world phone -->
|
||||
<bool name="world_phone">true</bool>
|
||||
|
||||
<!-- Flag indicating if dtmf tone type is enabled -->
|
||||
<bool name="dtmf_type_enabled">true</bool>
|
||||
|
||||
<!-- Determine whether calls to mute the microphone in PhoneUtils
|
||||
are routed through the android.media.AudioManager class (true) or through
|
||||
the com.android.internal.telephony.Phone interface (false). -->
|
||||
<bool name="send_mic_mute_to_AudioManager">true</bool>
|
||||
|
||||
<!-- If this is true, the SIM card (through Customer Service Profile EF file) will be
|
||||
able to prevent manual operator selection. If false, this SIM setting will be
|
||||
ignored and manual operator selection will always be available. See
|
||||
CPHS4_2.WW6, CPHS B.4.7.1 for more information -->
|
||||
<bool name="csp_enabled">true</bool>
|
||||
|
||||
<!-- Show Preferred Network Type options in No SIM case -->
|
||||
<bool name="config_no_sim_display_network_modes">true</bool>
|
||||
|
||||
<!-- String indicating the package name of the device ImsService implementation for MMTEL -->
|
||||
<string name="config_ims_mmtel_package">org.codeaurora.ims</string>
|
||||
|
||||
<!-- String indicating the package name of the device ImsService implementation for RCS -->
|
||||
<string name="config_ims_rcs_package">vendor.qti.imsrcs</string>
|
||||
|
||||
<!-- Package name for the call-based number verification app -->
|
||||
<string name="platform_number_verification_package" translatable="false">com.google.android.gms</string>
|
||||
</resources>
|
||||
@@ -1,4 +1,4 @@
|
||||
# All unpinned blobs below are extracted from devon_g T2SNS33.73-22-3-15
|
||||
# All unpinned blobs below are extracted from devon_g T2SNS33.73-22-3-19
|
||||
|
||||
# ADSP
|
||||
vendor/bin/adsprpcd
|
||||
|
||||
9
resource-overlay/bengal/Frameworks/Android.bp
Normal file
9
resource-overlay/bengal/Frameworks/Android.bp
Normal file
@@ -0,0 +1,9 @@
|
||||
//
|
||||
// SPDX-FileCopyrightText: The LineageOS Project
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
//
|
||||
|
||||
runtime_resource_overlay {
|
||||
name: "FrameworksResTarget",
|
||||
vendor: true,
|
||||
}
|
||||
13
resource-overlay/bengal/Frameworks/AndroidManifest.xml
Normal file
13
resource-overlay/bengal/Frameworks/AndroidManifest.xml
Normal file
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
SPDX-FileCopyrightText: The LineageOS Project
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="android.overlay.target">
|
||||
|
||||
<overlay
|
||||
android:isStatic="true"
|
||||
android:priority="250"
|
||||
android:targetPackage="android" />
|
||||
</manifest>
|
||||
18
resource-overlay/bengal/Frameworks/res/values/config.xml
Normal file
18
resource-overlay/bengal/Frameworks/res/values/config.xml
Normal file
@@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
SPDX-FileCopyrightText: The LineageOS Project
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
<!-- When true use the linux /dev/input/event subsystem to detect the switch changes
|
||||
on the headphone/microphone jack. When false use the older uevent framework. -->
|
||||
<bool name="config_useDevInputEventForAudioJack">true</bool>
|
||||
|
||||
<!-- List of biometric sensors on the device, in decreasing strength. Consumed by AuthService
|
||||
when registering authenticators with BiometricService. Format must be ID:Modality:Strength,
|
||||
where: IDs are unique per device, Modality as defined in BiometricAuthenticator.java,
|
||||
and Strength as defined in Authenticators.java -->
|
||||
<string-array name="config_biometric_sensors" translatable="false" >
|
||||
<item>0:2:15</item> <!-- ID0:Fingerprint:Strong -->
|
||||
</string-array>
|
||||
</resources>
|
||||
9
resource-overlay/common/Frameworks/Android.bp
Normal file
9
resource-overlay/common/Frameworks/Android.bp
Normal file
@@ -0,0 +1,9 @@
|
||||
//
|
||||
// SPDX-FileCopyrightText: The LineageOS Project
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
//
|
||||
|
||||
runtime_resource_overlay {
|
||||
name: "FrameworksResCommon",
|
||||
vendor: true,
|
||||
}
|
||||
13
resource-overlay/common/Frameworks/AndroidManifest.xml
Normal file
13
resource-overlay/common/Frameworks/AndroidManifest.xml
Normal file
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
SPDX-FileCopyrightText: The LineageOS Project
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="android.overlay.common">
|
||||
|
||||
<overlay
|
||||
android:isStatic="true"
|
||||
android:priority="200"
|
||||
android:targetPackage="android" />
|
||||
</manifest>
|
||||
@@ -1,50 +1,9 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--Copyright (c) 2012-2016, The Linux Foundation. All rights reserved
|
||||
|
||||
Not a Contribution.
|
||||
|
||||
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.
|
||||
<!--
|
||||
SPDX-FileCopyrightText: The LineageOS Project
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
|
||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
|
||||
<!-- Whether a software navigation bar should be shown. NOTE: in the future this may be
|
||||
autodetected from the Configuration. -->
|
||||
<bool name="config_showNavigationBar">true</bool>
|
||||
|
||||
<!-- This string array should be overridden by the device to present a list of network
|
||||
attributes. This is used by the connectivity manager to decide which networks can coexist
|
||||
based on the hardware -->
|
||||
<!-- An Array of "[Connection name],[ConnectivityManager.TYPE_xxxx],
|
||||
[associated radio-type],[priority],[restoral-timer(ms)],[dependencyMet] -->
|
||||
<!-- the 5th element "resore-time" indicates the number of milliseconds to delay
|
||||
before automatically restore the default connection. Set -1 if the connection
|
||||
does not require auto-restore. -->
|
||||
<!-- the 6th element indicates boot-time dependency-met value. -->
|
||||
<string-array translatable="false" name="networkAttributes">
|
||||
<item>"wifi,1,1,1,-1,true"</item>
|
||||
<item>"mobile,0,0,0,-1,true"</item>
|
||||
<item>"mobile_mms,2,0,4,60000,true"</item>
|
||||
<item>"mobile_supl,3,0,2,60000,true"</item>
|
||||
<item>"mobile_dun,4,0,2,60000,true"</item>
|
||||
<item>"mobile_hipri,5,0,3,60000,true"</item>
|
||||
<item>"mobile_fota,10,0,2,60000,true"</item>
|
||||
<item>"mobile_ims,11,0,2,60000,true"</item>
|
||||
<item>"mobile_cbs,12,0,2,60000,true"</item>
|
||||
<item>"bluetooth,7,7,2,-1,true"</item>
|
||||
<item>"mobile_emergency,15,0,5,-1,true"</item>
|
||||
</string-array>
|
||||
|
||||
<!-- This string array should be overridden by the device to present a list of radio
|
||||
attributes. This is used by the connectivity manager to decide which networks can coexist
|
||||
based on the hardware -->
|
||||
@@ -56,141 +15,45 @@
|
||||
<item>"7,1"</item>
|
||||
</string-array>
|
||||
|
||||
<!-- If this is true, the screen will come on when you plug/unplug usb/power/whatever. -->
|
||||
<bool name="config_unplugTurnsOnScreen">true</bool>
|
||||
|
||||
<!-- Boolean indicating if restoring network selection should be skipped -->
|
||||
<!-- The restoring is handled by modem if it is true-->
|
||||
<bool translatable="false" name="skip_restoring_network_selection">true</bool>
|
||||
|
||||
<!-- Is the device capable of hot swapping an ICC Card -->
|
||||
<bool name="config_hotswapCapable">true</bool>
|
||||
|
||||
<!-- Whether WiFi display is supported by this device.
|
||||
There are many prerequisites for this feature to work correctly.
|
||||
Here are a few of them:
|
||||
* The WiFi radio must support WiFi P2P.
|
||||
* The WiFi radio must support concurrent connections to the WiFi display and
|
||||
to an access point.
|
||||
* The Audio Flinger audio_policy.conf file must specify a rule for the "r_submix"
|
||||
remote submix module. This module is used to record and stream system
|
||||
audio output to the WiFi display encoder in the media server.
|
||||
* The remote submix module "audio.r_submix.default" must be installed on the device.
|
||||
* The device must be provisioned with HDCP keys (for protected content).
|
||||
-->
|
||||
<bool name="config_enableWifiDisplay">true</bool>
|
||||
|
||||
<!-- Flag indicating whether the we should enable the automatic brightness in Settings.
|
||||
Software implementation will be used if config_hardware_auto_brightness_available is not set -->
|
||||
<bool name="config_automatic_brightness_available">true</bool>
|
||||
|
||||
<!-- MMS user agent string -->
|
||||
<string name="config_mms_user_agent" translatable="false">Android-Mms/2.0</string>
|
||||
|
||||
<!-- MMS user agent prolfile url -->
|
||||
<string name="config_mms_user_agent_profile_url" translatable="false"
|
||||
>http://www.google.com/oha/rdf/ua-profile-kila.xml</string>
|
||||
|
||||
<!-- Flag indicating if the speed up audio on mt call code should be executed -->
|
||||
<bool name="config_speed_up_audio_on_mt_calls">true</bool>
|
||||
|
||||
<!-- Whether camera shutter sound is forced or not (country specific). -->
|
||||
<bool name="config_camera_sound_forced">false</bool>
|
||||
|
||||
<!-- Flag specifying whether VoLTE, VT and WFC is available on device -->
|
||||
<bool name="config_device_volte_available">true</bool>
|
||||
<bool name="config_device_vt_available">true</bool>
|
||||
<bool name="config_device_wfc_ims_available">true</bool>
|
||||
|
||||
<!-- Flag specifying whether VoLTE & VT should be available for carrier: independent of
|
||||
carrier provisioning. If false: hard disabled. If true: then depends on carrier
|
||||
provisioning, availability etc -->
|
||||
<bool name="config_carrier_volte_available">true</bool>
|
||||
|
||||
<!-- Configure mobile tcp buffer sizes in the form:
|
||||
rat-name:rmem_min,rmem_def,rmem_max,wmem_min,wmem_def,wmem_max
|
||||
If no value is found for the rat-name in use, the system default will be applied.
|
||||
|
||||
This is deprecated. Please use config_mobile_tcp_buffers for rat-based TCP buffers sizes or
|
||||
config_tcp_buffers for rat-independent TCP buffer sizes.
|
||||
-->
|
||||
<string-array name="config_mobile_tcp_buffers">
|
||||
<item>"5gnr:2097152,6291456,16777216,512000,2097152,8388608"</item>
|
||||
<item>"lte:2097152,4194304,8388608,262144,524288,1048576"</item>
|
||||
<item>"lte_ca:4096,6291456,12582912,4096,1048576,2097152"</item>
|
||||
<item>"umts:4094,87380,1220608,4096,16384,1220608"</item>
|
||||
<item>"hspa:4094,87380,1220608,4096,16384,1220608"</item>
|
||||
<item>"hsupa:4094,87380,1220608,4096,16384,1220608"</item>
|
||||
<item>"hsdpa:4094,87380,1220608,4096,16384,1220608"</item>
|
||||
<item>"hspap:4094,87380,1220608,4096,16384,1220608"</item>
|
||||
<item>"edge:4093,26280,35040,4096,16384,35040"</item>
|
||||
<item>"gprs:4092,8760,11680,4096,8760,11680"</item>
|
||||
<item>"evdo:4094,87380,524288,4096,16384,262144"</item>
|
||||
</string-array>
|
||||
|
||||
<!-- Config determines whether to update phone object when voice registration
|
||||
state changes. Voice radio tech change will always trigger an update of
|
||||
phone object irrespective of this config -->
|
||||
<bool name="config_switch_phone_on_voice_reg_state_change">false</bool>
|
||||
|
||||
<!-- Number of physical SIM slots on the device. This includes both eSIM and pSIM slots, and
|
||||
is not necessarily the same as the number of phones/logical modems supported by the device.
|
||||
For example, a multi-sim device can have 2 phones/logical modems, but 3 physical slots,
|
||||
or a single SIM device can have 1 phones/logical modems, but 2 physical slots (one eSIM
|
||||
and one pSIM) -->
|
||||
<integer name="config_num_physical_slots">2</integer>
|
||||
|
||||
<!-- Whether the Unprocessed audio source supports the required frequency range and level -->
|
||||
<bool name="config_supportAudioSourceUnprocessed">true</bool>
|
||||
|
||||
<!-- Default files to pin via Pinner Service -->
|
||||
<string-array translatable="false" name="config_defaultPinnerServiceFiles">
|
||||
<item>/apex/com.android.art/javalib/core-oj.jar</item>
|
||||
<item>/apex/com.android.art/javalib/core-libart.jar</item>
|
||||
<item>/apex/com.android.media/javalib/updatable-media.jar</item>
|
||||
<item>/system/bin/surfaceflinger</item>
|
||||
</string-array>
|
||||
|
||||
<!-- When true use the linux /dev/input/event subsystem to detect the switch changes
|
||||
on the headphone/microphone jack. When false use the older uevent framework. -->
|
||||
<bool name="config_useDevInputEventForAudioJack">true</bool>
|
||||
<!-- If this is true, the screen will come on when you plug/unplug usb/power/whatever. -->
|
||||
<bool name="config_unplugTurnsOnScreen">true</bool>
|
||||
|
||||
<!-- Indicate available ColorDisplayManager.COLOR_MODE_xxx. -->
|
||||
<integer-array name="config_availableColorModes">
|
||||
<item>0</item>
|
||||
<item>1</item>
|
||||
<item>2</item>
|
||||
</integer-array>
|
||||
<array name="config_availableColorModes">
|
||||
<item>0</item> <!-- COLOR_MODE_NATURAL --> <!-- This uses colorimetric render intents-->
|
||||
<item>1</item> <!-- COLOR_MODE_BOOSTED --> <!-- This applies a 10% boost using the PCC-->
|
||||
<item>2</item> <!-- COLOR_MODE_SATURATED -->
|
||||
<item>3</item> <!-- COLOR_MODE_AUTOMATIC --> <!-- This uses enhanced render intents-->
|
||||
</array>
|
||||
|
||||
<!-- List of biometric sensors on the device, in decreasing strength. Consumed by AuthService
|
||||
when registering authenticators with BiometricService. Format must be ID:Modality:Strength,
|
||||
where: IDs are unique per device, Modality as defined in BiometricAuthenticator.java,
|
||||
and Strength as defined in Authenticators.java -->
|
||||
<string-array name="config_biometric_sensors" translatable="false" >
|
||||
<item>0:2:15</item> <!-- ID0:Fingerprint:Strong -->
|
||||
</string-array>
|
||||
<!-- Is the device capable of hot swapping an ICC Card -->
|
||||
<bool name="config_hotswapCapable">true</bool>
|
||||
|
||||
<!-- Stability requirements in milliseconds for accepting a new brightness level. This is used
|
||||
for debouncing the light sensor. Different constants are used to debounce the light sensor
|
||||
when adapting to brighter or darker environments. This parameter controls how quickly
|
||||
brightness changes occur in response to an observed change in light level that exceeds the
|
||||
hysteresis threshold. -->
|
||||
<integer name="config_autoBrightnessBrighteningLightDebounce">500</integer>
|
||||
<integer name="config_autoBrightnessDarkeningLightDebounce">500</integer>
|
||||
<!-- The restoring is handled by modem if it is true-->
|
||||
<bool name="skip_restoring_network_selection">true</bool>
|
||||
|
||||
<!-- The default refresh rate for a given device. Change this value to set a higher default
|
||||
refresh rate. If the hardware composer on the device supports display modes with a higher
|
||||
refresh rate than the default value specified here, the framework may use those higher
|
||||
refresh rate modes if an app chooses one by setting preferredDisplayModeId or calling
|
||||
setFrameRate().
|
||||
If a non-zero value is set for config_defaultPeakRefreshRate, then
|
||||
config_defaultRefreshRate may be set to 0, in which case the value set for
|
||||
config_defaultPeakRefreshRate will act as the default frame rate. -->
|
||||
<integer name="config_defaultRefreshRate">0</integer>
|
||||
<!-- Whether a software navigation bar should be shown. NOTE: in the future this may be
|
||||
autodetected from the Configuration. -->
|
||||
<bool name="config_showNavigationBar">true</bool>
|
||||
|
||||
<!-- Safe USB headset gain. This value is used to ensure that the SPL on the USB
|
||||
headset output is compliant to EN 60950 requirements for portable music players. -->
|
||||
<integer name="config_safe_media_volume_usb_mB">-1500</integer>
|
||||
<!-- ComponentName of a dream to show whenever the system would otherwise have
|
||||
gone to sleep. When the PowerManager is asked to go to sleep, it will instead
|
||||
try to start this dream if possible. The dream should typically call startDozing()
|
||||
to put the display into a low power state and allow the application processor
|
||||
to be suspended. When the dream ends, the system will go to sleep as usual.
|
||||
Specify the component name or an empty string if none.
|
||||
|
||||
Note that doze dreams are not subject to the same start conditions as ordinary dreams.
|
||||
Doze dreams will run whenever the power manager is in a dozing state. -->
|
||||
<string name="config_dozeComponent" translatable="false">com.android.systemui/com.android.systemui.doze.DozeService</string>
|
||||
|
||||
<!-- If true, the doze component is not started until after the screen has been
|
||||
turned off and the screen off animation has been performed. -->
|
||||
<bool name="config_dozeAfterScreenOffByDefault">true</bool>
|
||||
|
||||
<!-- Power Management: Specifies whether to decouple the auto-suspend state of the
|
||||
device from the display on/off state.
|
||||
@@ -231,18 +94,91 @@
|
||||
-->
|
||||
<bool name="config_powerDecoupleInteractiveModeFromDisplay">true</bool>
|
||||
|
||||
<!-- ComponentName of a dream to show whenever the system would otherwise have
|
||||
gone to sleep. When the PowerManager is asked to go to sleep, it will instead
|
||||
try to start this dream if possible. The dream should typically call startDozing()
|
||||
to put the display into a low power state and allow the application processor
|
||||
to be suspended. When the dream ends, the system will go to sleep as usual.
|
||||
Specify the component name or an empty string if none.
|
||||
Note that doze dreams are not subject to the same start conditions as ordinary dreams.
|
||||
Doze dreams will run whenever the power manager is in a dozing state. -->
|
||||
<string name="config_dozeComponent">com.android.systemui/com.android.systemui.doze.DozeService</string>
|
||||
<!-- Whether WiFi display is supported by this device.
|
||||
There are many prerequisites for this feature to work correctly.
|
||||
Here are a few of them:
|
||||
* The WiFi radio must support WiFi P2P.
|
||||
* The WiFi radio must support concurrent connections to the WiFi display and
|
||||
to an access point.
|
||||
* The Audio Flinger audio_policy.conf file must specify a rule for the "r_submix"
|
||||
remote submix module. This module is used to record and stream system
|
||||
audio output to the WiFi display encoder in the media server.
|
||||
* The remote submix module "audio.r_submix.default" must be installed on the device.
|
||||
* The device must be provisioned with HDCP keys (for protected content).
|
||||
-->
|
||||
<bool name="config_enableWifiDisplay">true</bool>
|
||||
|
||||
<!-- If true, the doze component is not started until after the screen has been
|
||||
turned off and the screen off animation has been performed. -->
|
||||
<bool name="config_dozeAfterScreenOffByDefault">true</bool>
|
||||
<!-- Flag specifying whether VoLTE, VT and WFC is available on device -->
|
||||
<bool name="config_device_volte_available">true</bool>
|
||||
|
||||
<!-- Flag specifying whether VoLTE & VT should be available for carrier: independent of
|
||||
carrier provisioning. If false: hard disabled. If true: then depends on carrier
|
||||
provisioning, availability etc -->
|
||||
<bool name="config_carrier_volte_available">true</bool>
|
||||
|
||||
<!-- Flag specifying whether VT is available on device -->
|
||||
<bool name="config_device_vt_available">true</bool>
|
||||
|
||||
<!-- Flag specifying whether WFC over IMS is available on device -->
|
||||
<bool name="config_device_wfc_ims_available">true</bool>
|
||||
|
||||
<!-- Config determines whether to update phone object when voice registration
|
||||
state changes. Voice radio tech change will always trigger an update of
|
||||
phone object irrespective of this config -->
|
||||
<bool name="config_switch_phone_on_voice_reg_state_change">false</bool>
|
||||
|
||||
<!-- Number of physical SIM slots on the device. This includes both eSIM and pSIM slots, and
|
||||
is not necessarily the same as the number of phones/logical modems supported by the device.
|
||||
For example, a multi-sim device can have 2 phones/logical modems, but 3 physical slots,
|
||||
or a single SIM device can have 1 phones/logical modems, but 2 physical slots (one eSIM
|
||||
and one pSIM) -->
|
||||
<integer name="config_num_physical_slots">2</integer>
|
||||
|
||||
<!-- Whether the Unprocessed audio source supports the required frequency range and level -->
|
||||
<bool name="config_supportAudioSourceUnprocessed">true</bool>
|
||||
|
||||
<!-- This string array should be overridden by the device to present a list of network
|
||||
attributes. This is used by the connectivity manager to decide which networks can coexist
|
||||
based on the hardware -->
|
||||
<!-- An Array of "[Connection name],[ConnectivityManager.TYPE_xxxx],
|
||||
[associated radio-type],[priority],[restoral-timer(ms)],[dependencyMet] -->
|
||||
<!-- the 5th element "resore-time" indicates the number of milliseconds to delay
|
||||
before automatically restore the default connection. Set -1 if the connection
|
||||
does not require auto-restore. -->
|
||||
<!-- the 6th element indicates boot-time dependency-met value. -->
|
||||
<string-array translatable="false" name="networkAttributes">
|
||||
<item>"wifi,1,1,1,-1,true"</item>
|
||||
<item>"mobile,0,0,0,-1,true"</item>
|
||||
<item>"mobile_mms,2,0,4,60000,true"</item>
|
||||
<item>"mobile_supl,3,0,2,60000,true"</item>
|
||||
<item>"mobile_dun,4,0,2,60000,true"</item>
|
||||
<item>"mobile_hipri,5,0,3,60000,true"</item>
|
||||
<item>"mobile_fota,10,0,2,60000,true"</item>
|
||||
<item>"mobile_ims,11,0,2,60000,true"</item>
|
||||
<item>"mobile_cbs,12,0,2,60000,true"</item>
|
||||
<item>"bluetooth,7,7,2,-1,true"</item>
|
||||
<item>"mobile_emergency,15,0,5,-1,true"</item>
|
||||
</string-array>
|
||||
|
||||
<!-- The default refresh rate for a given device. Change this value to set a higher default
|
||||
refresh rate. If the hardware composer on the device supports display modes with a higher
|
||||
refresh rate than the default value specified here, the framework may use those higher
|
||||
refresh rate modes if an app chooses one by setting preferredDisplayModeId or calling
|
||||
setFrameRate().
|
||||
If a non-zero value is set for config_defaultPeakRefreshRate, then
|
||||
config_defaultRefreshRate may be set to 0, in which case the value set for
|
||||
config_defaultPeakRefreshRate will act as the default frame rate. -->
|
||||
<integer name="config_defaultRefreshRate">0</integer>
|
||||
|
||||
<!-- Stability requirements in milliseconds for accepting a new brightness level. This is used
|
||||
for debouncing the light sensor. Different constants are used to debounce the light sensor
|
||||
when adapting to brighter or darker environments. This parameter controls how quickly
|
||||
brightness changes occur in response to an observed change in light level that exceeds the
|
||||
hysteresis threshold. -->
|
||||
<integer name="config_autoBrightnessBrighteningLightDebounce">500</integer>
|
||||
<integer name="config_autoBrightnessDarkeningLightDebounce">500</integer>
|
||||
|
||||
<!-- Safe USB headset gain. This value is used to ensure that the SPL on the USB
|
||||
headset output is compliant to EN 60950 requirements for portable music players. -->
|
||||
<integer name="config_safe_media_volume_usb_mB">-1500</integer>
|
||||
</resources>
|
||||
@@ -0,0 +1,27 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
SPDX-FileCopyrightText: The LineageOS Project
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
<!-- Configure mobile tcp buffer sizes in the form:
|
||||
rat-name:rmem_min,rmem_def,rmem_max,wmem_min,wmem_def,wmem_max
|
||||
If no value is found for the rat-name in use, the system default will be applied.
|
||||
|
||||
This is deprecated. Please use config_mobile_tcp_buffers for rat-based TCP buffers sizes or
|
||||
config_tcp_buffers for rat-independent TCP buffer sizes.
|
||||
-->
|
||||
<string-array name="config_mobile_tcp_buffers">
|
||||
<item>"5gnr:2097152,6291456,16777216,512000,2097152,8388608"</item>
|
||||
<item>"lte:2097152,4194304,8388608,262144,524288,1048576"</item>
|
||||
<item>"lte_ca:4096,6291456,12582912,4096,1048576,2097152"</item>
|
||||
<item>"umts:4094,87380,1220608,4096,16384,1220608"</item>
|
||||
<item>"hspa:4094,87380,1220608,4096,16384,1220608"</item>
|
||||
<item>"hsupa:4094,87380,1220608,4096,16384,1220608"</item>
|
||||
<item>"hsdpa:4094,87380,1220608,4096,16384,1220608"</item>
|
||||
<item>"hspap:4094,87380,1220608,4096,16384,1220608"</item>
|
||||
<item>"edge:4093,26280,35040,4096,16384,35040"</item>
|
||||
<item>"gprs:4092,8760,11680,4096,8760,11680"</item>
|
||||
<item>"evdo:4094,87380,524288,4096,16384,262144"</item>
|
||||
</string-array>
|
||||
</resources>
|
||||
9
resource-overlay/common/FrameworksProduct/Android.bp
Normal file
9
resource-overlay/common/FrameworksProduct/Android.bp
Normal file
@@ -0,0 +1,9 @@
|
||||
//
|
||||
// SPDX-FileCopyrightText: The LineageOS Project
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
//
|
||||
|
||||
runtime_resource_overlay {
|
||||
name: "FrameworksResProduct",
|
||||
product_specific: true,
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
SPDX-FileCopyrightText: The LineageOS Project
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="android.overlay.product">
|
||||
|
||||
<overlay
|
||||
android:isStatic="true"
|
||||
android:priority="200"
|
||||
android:targetPackage="android" />
|
||||
</manifest>
|
||||
@@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
SPDX-FileCopyrightText: The LineageOS Project
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
<!-- Default files to pin via Pinner Service -->
|
||||
<string-array name="config_defaultPinnerServiceFiles" translatable="false">
|
||||
<item>/apex/com.android.art/javalib/core-oj.jar</item>
|
||||
<item>/apex/com.android.art/javalib/core-libart.jar</item>
|
||||
<item>/apex/com.android.media/javalib/updatable-media.jar</item>
|
||||
<item>/system/bin/surfaceflinger</item>
|
||||
</string-array>
|
||||
</resources>
|
||||
9
resource-overlay/common/LineagePlatform/Android.bp
Normal file
9
resource-overlay/common/LineagePlatform/Android.bp
Normal file
@@ -0,0 +1,9 @@
|
||||
//
|
||||
// SPDX-FileCopyrightText: The LineageOS Project
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
//
|
||||
|
||||
runtime_resource_overlay {
|
||||
name: "LineagePlatformCommon",
|
||||
vendor: true,
|
||||
}
|
||||
13
resource-overlay/common/LineagePlatform/AndroidManifest.xml
Normal file
13
resource-overlay/common/LineagePlatform/AndroidManifest.xml
Normal file
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
SPDX-FileCopyrightText: The LineageOS Project
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="lineageos.platform.overlay.common">
|
||||
|
||||
<overlay
|
||||
android:isStatic="true"
|
||||
android:priority="400"
|
||||
android:targetPackage="lineageos.platform" />
|
||||
</manifest>
|
||||
@@ -0,0 +1,17 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
SPDX-FileCopyrightText: The LineageOS Project
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
<!-- Whether device has screen with higher aspect ratio -->
|
||||
<bool name="config_haveHigherAspectRatioScreen">true</bool>
|
||||
|
||||
<!-- Defines the actions shown in advanced reboot submenu -->
|
||||
<string-array name="config_restartActionsList">
|
||||
<item>restart</item>
|
||||
<item>restart_recovery</item>
|
||||
<item>restart_fastboot</item>
|
||||
<item>restart_bootloader</item>
|
||||
</string-array>
|
||||
</resources>
|
||||
9
resource-overlay/common/Settings/Android.bp
Normal file
9
resource-overlay/common/Settings/Android.bp
Normal file
@@ -0,0 +1,9 @@
|
||||
//
|
||||
// SPDX-FileCopyrightText: The LineageOS Project
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
//
|
||||
|
||||
runtime_resource_overlay {
|
||||
name: "SettingsResCommon",
|
||||
vendor: true,
|
||||
}
|
||||
13
resource-overlay/common/Settings/AndroidManifest.xml
Normal file
13
resource-overlay/common/Settings/AndroidManifest.xml
Normal file
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
SPDX-FileCopyrightText: The LineageOS Project
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="com.android.settings.overlay.common">
|
||||
|
||||
<overlay
|
||||
android:isStatic="true"
|
||||
android:priority="300"
|
||||
android:targetPackage="com.android.settings" />
|
||||
</manifest>
|
||||
@@ -17,4 +17,8 @@
|
||||
<resources>
|
||||
<!-- Whether to show Smooth Display feature in Settings Options -->
|
||||
<bool name="config_show_smooth_display">true</bool>
|
||||
|
||||
<!-- Custom Maintainer -->
|
||||
<string name="build_maintainer_summary" translatable="false">Deivid Ignacio Parra (Deivid21)</string>
|
||||
<string name="build_maintainer_donate_url" translatable="false">https://www.paypal.com/paypalme/Deivid21</string>
|
||||
</resources>
|
||||
9
resource-overlay/common/SystemUI/Android.bp
Normal file
9
resource-overlay/common/SystemUI/Android.bp
Normal file
@@ -0,0 +1,9 @@
|
||||
//
|
||||
// SPDX-FileCopyrightText: The LineageOS Project
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
//
|
||||
|
||||
runtime_resource_overlay {
|
||||
name: "SystemUIResCommon",
|
||||
vendor: true,
|
||||
}
|
||||
13
resource-overlay/common/SystemUI/AndroidManifest.xml
Normal file
13
resource-overlay/common/SystemUI/AndroidManifest.xml
Normal file
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
SPDX-FileCopyrightText: The LineageOS Project
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="com.android.systemui.overlay.common">
|
||||
|
||||
<overlay
|
||||
android:isStatic="true"
|
||||
android:priority="200"
|
||||
android:targetPackage="com.android.systemui" />
|
||||
</manifest>
|
||||
16
resource-overlay/common/SystemUI/res/values/config.xml
Normal file
16
resource-overlay/common/SystemUI/res/values/config.xml
Normal file
@@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
SPDX-FileCopyrightText: The LineageOS Project
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
<!-- Maximum number of notification icons shown on the Always on Display
|
||||
(excluding overflow dot) -->
|
||||
<integer name="max_notif_icons_on_aod">9</integer>
|
||||
|
||||
<!-- Vibrator pattern for camera gesture launch. -->
|
||||
<integer-array name="config_cameraLaunchGestureVibePattern">
|
||||
<item>0</item>
|
||||
<item>150</item>
|
||||
</integer-array>
|
||||
</resources>
|
||||
13
resource-overlay/common/SystemUI/res/values/dimens.xml
Normal file
13
resource-overlay/common/SystemUI/res/values/dimens.xml
Normal file
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
SPDX-FileCopyrightText: The LineageOS Project
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
|
||||
<!-- These resources are around just to allow their values to be customized
|
||||
for different hardware and product builds. Do not translate. -->
|
||||
|
||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
<!-- Margin on the right side of the system icon group on Keyguard. -->
|
||||
<dimen name="system_icons_keyguard_padding_end">10.0px</dimen>
|
||||
</resources>
|
||||
9
resource-overlay/common/TelephonyProduct/Android.bp
Normal file
9
resource-overlay/common/TelephonyProduct/Android.bp
Normal file
@@ -0,0 +1,9 @@
|
||||
//
|
||||
// SPDX-FileCopyrightText: The LineageOS Project
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
//
|
||||
|
||||
runtime_resource_overlay {
|
||||
name: "TelephonyResProduct",
|
||||
product_specific: true,
|
||||
}
|
||||
13
resource-overlay/common/TelephonyProduct/AndroidManifest.xml
Normal file
13
resource-overlay/common/TelephonyProduct/AndroidManifest.xml
Normal file
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
SPDX-FileCopyrightText: The LineageOS Project
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="com.android.phone.overlay.product">
|
||||
|
||||
<overlay
|
||||
android:isStatic="true"
|
||||
android:priority="200"
|
||||
android:targetPackage="com.android.phone" />
|
||||
</manifest>
|
||||
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
SPDX-FileCopyrightText: The LineageOS Project
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
|
||||
<!-- Phone app resources that may need to be customized
|
||||
for different hardware or product builds. -->
|
||||
<resources>
|
||||
<!-- String indicating the package name of the device ImsService implementation for MMTEL -->
|
||||
<string name="config_ims_mmtel_package">org.codeaurora.ims</string>
|
||||
|
||||
<!-- String indicating the package name of the device ImsService implementation for RCS -->
|
||||
<string name="config_ims_rcs_package">vendor.qti.imsrcs</string>
|
||||
</resources>
|
||||
9
resource-overlay/common/Wifi/Android.bp
Normal file
9
resource-overlay/common/Wifi/Android.bp
Normal file
@@ -0,0 +1,9 @@
|
||||
//
|
||||
// SPDX-FileCopyrightText: The LineageOS Project
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
//
|
||||
|
||||
runtime_resource_overlay {
|
||||
name: "WifiResCommon",
|
||||
vendor: true,
|
||||
}
|
||||
14
resource-overlay/common/Wifi/AndroidManifest.xml
Normal file
14
resource-overlay/common/Wifi/AndroidManifest.xml
Normal file
@@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
SPDX-FileCopyrightText: The LineageOS Project
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="com.android.wifi.resources.overlay.common">
|
||||
|
||||
<overlay
|
||||
android:isStatic="true"
|
||||
android:priority="200"
|
||||
android:targetName="WifiCustomization"
|
||||
android:targetPackage="com.android.wifi.resources" />
|
||||
</manifest>
|
||||
@@ -1,38 +1,18 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2019 The Android Open Source 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.
|
||||
<!--
|
||||
SPDX-FileCopyrightText: The LineageOS Project
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
|
||||
<resources>
|
||||
|
||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
<!-- boolean indicating whether the WiFi chipset has 5GHz band support.
|
||||
Note: This config is replacing the config_wifi_dual_band_support
|
||||
since more bands may now be supported (such as 6GHz), the naming dual_band
|
||||
is no longer indicative, and a separate config now exists for each band -->
|
||||
<bool name="config_wifi5ghzSupport">true</bool>
|
||||
|
||||
<!-- Indicates whether to enable overriding the max number of spatial stream supported by the device
|
||||
If true, config_wifiFrameworkMaxNumSpatialStreamDeviceOverrideValue
|
||||
will be used to override the max number of spatial stream supported by the device.
|
||||
If false, it will be left to WifiCond to derive the value from NL80211 interface -->
|
||||
<bool name="config_wifiFrameworkMaxNumSpatialStreamDeviceOverrideEnable">false</bool>
|
||||
|
||||
<!-- Indicates that SAE Hash-to-Element is supported on this device -->
|
||||
<bool name="config_wifiSaeH2eSupported">true</bool>
|
||||
|
||||
<!-- Boolean indicating that softap passphrase need to enable ASCII encodable check -->
|
||||
<bool name="config_wifiSoftapPassphraseAsciiEncodableCheck">false</bool>
|
||||
<!-- Boolean indicating whether 802.11r Fast BSS Transition is enabled on this platform -->
|
||||
<bool name="config_wifi_fast_bss_transition_enabled">true</bool>
|
||||
|
||||
<!-- Boolean indicating whether the wifi chipset supports background scanning mechanism.
|
||||
This mechanism allows the host to remain in suspend state and the dongle to actively
|
||||
@@ -40,11 +20,20 @@
|
||||
capability can provide power savings when wifi needs to be always kept on. -->
|
||||
<bool name="config_wifi_background_scan_support">true</bool>
|
||||
|
||||
<!-- Indicates that connected MAC randomization is supported on this device -->
|
||||
<bool name="config_wifi_connected_mac_randomization_supported">true</bool>
|
||||
<!-- Integer indicating maximum hardware supported client number of soft ap -->
|
||||
<integer name="config_wifiHardwareSoftapMaxClientCount">10</integer>
|
||||
|
||||
<!-- Boolean indicating whether 802.11r Fast BSS Transition is enabled on this platform -->
|
||||
<bool name="config_wifi_fast_bss_transition_enabled">true</bool>
|
||||
<!-- Wifi driver supports Automatic channel selection (ACS) for softap -->
|
||||
<bool name="config_wifi_softap_acs_supported">true</bool>
|
||||
|
||||
<!-- Wifi driver supports WPA3 Simultaneous Authentication of Equals (WPA3-SAE) for softap -->
|
||||
<bool name="config_wifi_softap_sae_supported">true</bool>
|
||||
|
||||
<!-- Wifi driver supports IEEE80211AC for softap -->
|
||||
<bool name="config_wifi_softap_ieee80211ac_supported">true</bool>
|
||||
|
||||
<!-- Indicates that connected MAC randomization is supported on this device -->
|
||||
<bool name="config_wifi_connected_mac_randomization_supported">true</bool>
|
||||
|
||||
<!-- Indicates that p2p MAC randomization is supported on this device -->
|
||||
<bool name="config_wifi_p2p_mac_randomization_supported">true</bool>
|
||||
@@ -53,12 +42,58 @@
|
||||
radio is unable to find any MCC information to infer wifi country code from -->
|
||||
<bool name="config_wifi_revert_country_code_on_cellular_loss">true</bool>
|
||||
|
||||
<!-- Wifi driver supports Automatic channel selection (ACS) for softap -->
|
||||
<bool name="config_wifi_softap_acs_supported">true</bool>
|
||||
<!-- integer indicating additional disconnect delay (in ms) after IMS onLost() indication is received -->
|
||||
<integer name="config_wifiDelayDisconnectOnImsLostMs">4000</integer>
|
||||
|
||||
<!-- Wifi driver supports IEEE80211AC for softap -->
|
||||
<bool name="config_wifi_softap_ieee80211ac_supported">true</bool>
|
||||
<!-- Indicates that SAE Hash-to-Element is supported on this device -->
|
||||
<bool name="config_wifiSaeH2eSupported">true</bool>
|
||||
|
||||
<!-- Wifi driver supports WPA3 Simultaneous Authentication of Equals (WPA3-SAE) for softap -->
|
||||
<bool name="config_wifi_softap_sae_supported">true</bool>
|
||||
<!-- Boolean indicating that softap passphrase need to enable ASCII encodable check -->
|
||||
<bool name="config_wifiSoftapPassphraseAsciiEncodableCheck">false</bool>
|
||||
|
||||
<!-- Indicates whether to enable overriding the max number of spatial stream supported by the device
|
||||
If true, config_wifiFrameworkMaxNumSpatialStreamDeviceOverrideValue
|
||||
will be used to override the max number of spatial stream supported by the device.
|
||||
If false, it will be left to WifiCond to derive the value from NL80211 interface -->
|
||||
<bool name="config_wifiFrameworkMaxNumSpatialStreamDeviceOverrideEnable">false</bool>
|
||||
|
||||
<!-- Array describing scanning schedule in seconds when device is disconnected and screen is on -->
|
||||
<integer-array name="config_wifiDisconnectedScanIntervalScheduleSec">
|
||||
<item>20</item>
|
||||
<item>40</item>
|
||||
<item>80</item>
|
||||
<item>80</item>
|
||||
</integer-array>
|
||||
|
||||
<!--
|
||||
Controls the mapping between RSSI and RSSI levels.
|
||||
|
||||
RSSI RSSI Level
|
||||
(-infinity, thresholds[0]) 0
|
||||
[threshold[0], threshold[1]) 1
|
||||
[threshold[1], threshold[2]) 2
|
||||
... ...
|
||||
[threshold[len-2], threshold[len-1]) len-1
|
||||
[threshold[len-1], +infinity) len
|
||||
|
||||
where:
|
||||
[a, b) is the range of integers `n` such that a <= n < b
|
||||
`threshold[i]` represents the i'th element of the config_wifiRssiLevelThresholds array
|
||||
and `len` is the length of the config_wifiRssiLevelThresholds array.
|
||||
-->
|
||||
<integer-array name="config_wifiRssiLevelThresholds">
|
||||
<item>-88</item>
|
||||
<item>-82</item>
|
||||
<item>-75</item>
|
||||
<item>-65</item>
|
||||
</integer-array>
|
||||
|
||||
<!-- List of allowed channels in 5GHz band for softap. If the device doesn't want to restrict
|
||||
channels this should be empty. Values is a comma separated channel string and/or channel
|
||||
range string like '36-48,149'. -->
|
||||
<string name="config_wifiSoftap5gChannelList">36-161</string>
|
||||
|
||||
<!-- Configure wifi tcp buffersizes in the form:
|
||||
rmem_min,rmem_def,rmem_max,wmem_min,wmem_def,wmem_max -->
|
||||
<string name="config_wifi_tcp_buffers">524288,2097152,4194304,262144,524288,1048576</string>
|
||||
</resources>
|
||||
12
resource-overlay/motorola/Android.bp
Normal file
12
resource-overlay/motorola/Android.bp
Normal file
@@ -0,0 +1,12 @@
|
||||
//
|
||||
// SPDX-FileCopyrightText: The LineageOS Project
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
//
|
||||
|
||||
phony {
|
||||
name: "TurboPowerOverlay",
|
||||
required: [
|
||||
"TurboPowerOverlaySettingsLib",
|
||||
"TurboPowerOverlaySystemUI",
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
//
|
||||
// SPDX-FileCopyrightText: The LineageOS Project
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
//
|
||||
|
||||
runtime_resource_overlay {
|
||||
name: "TurboPowerOverlaySettingsLib",
|
||||
vendor: true,
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
SPDX-FileCopyrightText: The LineageOS Project
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="org.lineageos.lineageparts.overlay.motorola">
|
||||
|
||||
<overlay
|
||||
android:isStatic="true"
|
||||
android:priority="500"
|
||||
android:targetPackage="org.lineageos.lineageparts" />
|
||||
</manifest>
|
||||
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
SPDX-FileCopyrightText: The LineageOS Project
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
|
||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
<!-- [CHAR_LIMIT=20] Battery use screen. Battery status shown in chart label when charging speed is fast. -->
|
||||
<string name="battery_info_status_charging_fast">TurboPower conectado</string>
|
||||
</resources>
|
||||
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
SPDX-FileCopyrightText: The LineageOS Project
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
|
||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
<!-- [CHAR_LIMIT=20] Battery use screen. Battery status shown in chart label when charging speed is fast. -->
|
||||
<string name="battery_info_status_charging_fast">TurboPower conectado</string>
|
||||
</resources>
|
||||
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
SPDX-FileCopyrightText: The LineageOS Project
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
|
||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
<!-- [CHAR_LIMIT=20] Battery use screen. Battery status shown in chart label when charging speed is fast. -->
|
||||
<string name="battery_info_status_charging_fast">TurboPower connected</string>
|
||||
</resources>
|
||||
9
resource-overlay/motorola/TurboPowerSystemUI/Android.bp
Normal file
9
resource-overlay/motorola/TurboPowerSystemUI/Android.bp
Normal file
@@ -0,0 +1,9 @@
|
||||
//
|
||||
// SPDX-FileCopyrightText: The LineageOS Project
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
//
|
||||
|
||||
runtime_resource_overlay {
|
||||
name: "TurboPowerOverlaySystemUI",
|
||||
vendor: true,
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
SPDX-FileCopyrightText: The LineageOS Project
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="com.android.systemui.overlay.motorola">
|
||||
|
||||
<overlay
|
||||
android:isStatic="true"
|
||||
android:priority="500"
|
||||
android:targetPackage="com.android.systemui" />
|
||||
</manifest>
|
||||
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
SPDX-FileCopyrightText: The LineageOS Project
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
|
||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
<!-- When the lock screen is showing and the phone plugged in, and the battery
|
||||
is not fully charged, and it's plugged into a fast charger, say that it's charging fast. -->
|
||||
<string name="keyguard_plugged_in_charging_fast"><xliff:g id="percentage">%s</xliff:g> • TurboPower conectado</string>
|
||||
</resources>
|
||||
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
SPDX-FileCopyrightText: The LineageOS Project
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
|
||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
<!-- When the lock screen is showing and the phone plugged in, and the battery
|
||||
is not fully charged, and it's plugged into a fast charger, say that it's charging fast. -->
|
||||
<string name="keyguard_plugged_in_charging_fast"><xliff:g id="percentage">%s</xliff:g> • TurboPower conectado</string>
|
||||
</resources>
|
||||
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
SPDX-FileCopyrightText: The LineageOS Project
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
|
||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
<!-- When the lock screen is showing and the phone plugged in, and the battery
|
||||
is not fully charged, and it's plugged into a fast charger, say that it's charging fast. -->
|
||||
<string name="keyguard_plugged_in_charging_fast"><xliff:g id="percentage">%s</xliff:g> • TurboPower connected</string>
|
||||
</resources>
|
||||
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
SPDX-FileCopyrightText: The LineageOS Project
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
|
||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
<!-- Indication on the keyguard that is shown when the device is charging rapidly. Should match keyguard_plugged_in_charging_fast [CHAR LIMIT=50]-->
|
||||
<string name="keyguard_indication_charging_time_fast"><xliff:g id="percentage">%2$s</xliff:g> • TurboPower conectado (<xliff:g id="charging_time_left" example="4 hours and 2 minutes">%1$s</xliff:g> hasta la carga completa)</string>
|
||||
</resources>
|
||||
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
SPDX-FileCopyrightText: The LineageOS Project
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
|
||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
<!-- Indication on the keyguard that is shown when the device is charging rapidly. Should match keyguard_plugged_in_charging_fast [CHAR LIMIT=50]-->
|
||||
<string name="keyguard_indication_charging_time_fast"><xliff:g id="percentage">%2$s</xliff:g> • TurboPower conectado (<xliff:g id="charging_time_left" example="4 hours and 2 minutes">%1$s</xliff:g> até a carga completa)</string>
|
||||
</resources>
|
||||
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
SPDX-FileCopyrightText: The LineageOS Project
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
|
||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
<!-- Indication on the keyguard that is shown when the device is charging rapidly. Should match keyguard_plugged_in_charging_fast [CHAR LIMIT=50]-->
|
||||
<string name="keyguard_indication_charging_time_fast"><xliff:g id="percentage">%2$s</xliff:g> • TurboPower connected (<xliff:g id="charging_time_left" example="4 hours and 2 minutes">%1$s</xliff:g> until full)</string>
|
||||
</resources>
|
||||
@@ -1,5 +0,0 @@
|
||||
runtime_resource_overlay {
|
||||
name: "WifiResCommonOverlay",
|
||||
theme: "WifiResCommonOverlay",
|
||||
product_specific: true
|
||||
}
|
||||
@@ -1,27 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2019 The Android Open Source 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.
|
||||
-->
|
||||
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="com.android.wifi.resources.overlay.moto_sm6225"
|
||||
android:versionCode="1"
|
||||
android:versionName="1.0">
|
||||
<application android:hasCode="false" />
|
||||
<overlay
|
||||
android:targetPackage="com.android.wifi.resources"
|
||||
android:targetName="WifiCustomization"
|
||||
android:isStatic="true"
|
||||
android:priority="0" />
|
||||
</manifest>
|
||||
@@ -1,49 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2019 The Android Open Source 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.
|
||||
-->
|
||||
|
||||
<resources>
|
||||
|
||||
<!-- Array describing scanning schedule in seconds when device is disconnected and screen is on -->
|
||||
<integer-array name="config_wifiDisconnectedScanIntervalScheduleSec">
|
||||
<item>20</item>
|
||||
<item>40</item>
|
||||
<item>80</item>
|
||||
<item>80</item>
|
||||
</integer-array>
|
||||
|
||||
<!--
|
||||
Controls the mapping between RSSI and RSSI levels.
|
||||
|
||||
RSSI RSSI Level
|
||||
(-infinity, thresholds[0]) 0
|
||||
[threshold[0], threshold[1]) 1
|
||||
[threshold[1], threshold[2]) 2
|
||||
... ...
|
||||
[threshold[len-2], threshold[len-1]) len-1
|
||||
[threshold[len-1], +infinity) len
|
||||
|
||||
where:
|
||||
[a, b) is the range of integers `n` such that a <= n < b
|
||||
`threshold[i]` represents the i'th element of the config_wifiRssiLevelThresholds array
|
||||
and `len` is the length of the config_wifiRssiLevelThresholds array.
|
||||
-->
|
||||
<integer-array name="config_wifiRssiLevelThresholds">
|
||||
<item>-88</item>
|
||||
<item>-82</item>
|
||||
<item>-75</item>
|
||||
<item>-65</item>
|
||||
</integer-array>
|
||||
</resources>
|
||||
@@ -1,24 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2019 The Android Open Source 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.
|
||||
-->
|
||||
|
||||
<resources>
|
||||
|
||||
<!-- integer indicating additional disconnect delay (in ms) after IMS onLost() indication is received -->
|
||||
<integer name="config_wifiDelayDisconnectOnImsLostMs">4000</integer>
|
||||
|
||||
<!-- Integer indicating maximum hardware supported client number of soft ap -->
|
||||
<integer name="config_wifiHardwareSoftapMaxClientCount">10</integer>
|
||||
</resources>
|
||||
@@ -1,28 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2019 The Android Open Source 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.
|
||||
-->
|
||||
|
||||
<resources>
|
||||
|
||||
<!-- List of allowed channels in 5GHz band for softap. If the device doesn't want to restrict
|
||||
channels this should be empty. Values is a comma separated channel string and/or channel
|
||||
range string like '36-48,149'. -->
|
||||
<string name="config_wifiSoftap5gChannelList">36-161</string>
|
||||
|
||||
<!-- Configure wifi tcp buffersizes in the form:
|
||||
rmem_min,rmem_def,rmem_max,wmem_min,wmem_def,wmem_max -->
|
||||
<string name="config_wifi_tcp_buffers">524288,2097152,4194304,262144,524288,1048576</string>
|
||||
|
||||
</resources>
|
||||
@@ -1 +1,5 @@
|
||||
#!./extract-files.py --regenerate_makefiles
|
||||
#
|
||||
# SPDX-FileCopyrightText: The LineageOS Project
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
|
||||
@@ -95,12 +95,12 @@ ro.soc.manufacturer=QTI
|
||||
|
||||
# Dalvik
|
||||
dalvik.vm.dex2oat64.enabled=true
|
||||
dalvik.vm.heapstartsize=8m
|
||||
dalvik.vm.heapstartsize=12m
|
||||
dalvik.vm.heapgrowthlimit=256m
|
||||
dalvik.vm.heapsize=512m
|
||||
dalvik.vm.heaptargetutilization=0.75
|
||||
dalvik.vm.heapminfree=1m
|
||||
dalvik.vm.heapmaxfree=8m
|
||||
dalvik.vm.heaptargetutilization=0.55
|
||||
dalvik.vm.heapminfree=8m
|
||||
dalvik.vm.heapmaxfree=24m
|
||||
|
||||
# Display
|
||||
debug.sf.enable_hwc_vds=1
|
||||
|
||||
Reference in New Issue
Block a user