Compare commits

14 Commits
bka ... vic

Author SHA1 Message Date
Michael Bestas
a7771a5460 cebu: Enable LiveDisplay adaptive backlight
Change-Id: I3892e178b87b569805dd5e929e009d465bd63461
2025-09-14 14:20:59 -03:00
Deivid21
0012f04934 cebu: Add missing fingerprint blobs
* E fpCoreHal [ERR]: fp_ext_svc2_bridge.cpp  dlopen failed can't find hal so:
  /vendor/lib64/libfp_ext_svc2.so, errno= 2, reason = dlopen failed: library
  "/vendor/lib64/libfp_ext_svc2.so" not found, can't start ext_svc2 service

Change-Id: I31780f209da4c0f96005d8cef88239a61d518f8a
2025-09-14 14:20:27 -03:00
Deivid21
43a3aa205a cebu: Switch to MotCamera4
Change-Id: I3f1b93bff04dcded7ff4baaad6017a9be50d0faa
2025-08-21 01:35:03 -04:00
Deivid21
b427ca52ec cebu: init: Switch filesystem type to EroFS
Change-Id: I681a357fe9b6169f9beeaf18f223b95462de3174
2025-08-19 23:41:20 -04:00
lahaina
877af66b49 cebu: Don't build userdata image
Change-Id: Ic978e6ce989a0053eb7625aafc29242694999cbc
2025-08-19 23:41:19 -04:00
Deivid21
ca57476259 cebu: Build MotCamera3 from prebuilt source
Change-Id: Iff3db87a0c2c66bab3600a6befa7b8b340fa1225
Signed-off-by: Deivid21 <david.parra.ignacio@gmail.com>
2025-08-19 23:41:19 -04:00
Deivid21
bbdaf405ba cebu: Adjustments for Evolution X
Change-Id: Ib8358166c80f55b1100a8997df81231ce04495af
2025-08-19 23:41:07 -04:00
Deivid21
edcf71e500 cebu: Add missing liblowlight_ai_portrait.arcsoft
Change-Id: I390698ea4651de02ed3516f3c1d28b075ad6c0e1
2025-08-19 23:40:58 -04:00
Michael Bestas
ec72826b4f cebu: Switch to SPDX copyright
* And drop copyright years.

Change-Id: Iffe3dc0e0a657230a7a9d253fbb05244a6219981
2025-08-19 23:40:34 -04:00
Michael Bestas
05daf14eb8 cebu: overlay: Add proper overlays for cebu variants
Change-Id: Ib0560d04d4d0f20e57141d0aca9ae8a9b6b399d1
2025-08-19 23:38:09 -04:00
Michael Bestas
9f417ce66e cebu: overlay: Convert overlays to Android.bp
Change-Id: I10a3a9e459fc6c512b273194a8ace6159106aaa1
2025-08-19 23:36:01 -04:00
Michael Bestas
5251cb7796 cebu: Add missing capsense_reset
Change-Id: I301cb7e5b3b4a23bcdbb99e1b6043a733140f5e8
2025-08-19 22:20:59 -04:00
Michael Bestas
42cd13a558 cebu: Cleanup init.mmi.overlay.rc
Co-authored-by: Deivid21 <david.parra.ignacio@gmail.com>
Change-Id: Iaee09a94e87ab86a5ae6fe96d0e9d4e9d83522b8
2025-08-19 22:20:59 -04:00
Michael Bestas
89f5287d19 cebu: Override properties for cebu variants
Co-authored-by: Deivid21 <david.parra.ignacio@gmail.com>
Change-Id: I5e663fde87c980468fe99607a59a75e673f94e49
2025-08-19 22:20:59 -04:00
47 changed files with 395 additions and 200 deletions

View File

@@ -1,5 +1,5 @@
//
// SPDX-FileCopyrightText: 2022-2024 The LineageOS Project
// SPDX-FileCopyrightText: The LineageOS Project
// SPDX-License-Identifier: Apache-2.0
//

View File

@@ -1,5 +1,5 @@
#
# SPDX-FileCopyrightText: 2022 The LineageOS Project
# SPDX-FileCopyrightText: The LineageOS Project
# SPDX-License-Identifier: Apache-2.0
#

View File

@@ -1,5 +1,5 @@
#
# SPDX-FileCopyrightText: 2022-2024 The LineageOS Project
# SPDX-FileCopyrightText: The LineageOS Project
# SPDX-License-Identifier: Apache-2.0
#
@@ -36,7 +36,6 @@ RECOVERY_KERNEL_MODULES := $(BOARD_RECOVERY_KERNEL_MODULES_LOAD)
# Partitions
BOARD_RECOVERYIMAGE_PARTITION_SIZE := 67108864
BOARD_USERDATAIMAGE_PARTITION_SIZE := 50616843776
BOARD_SUPER_PARTITION_SIZE := 9763291136
BOARD_MOTO_DYNAMIC_PARTITIONS_SIZE := 4877451264 # (BOARD_SUPER_PARTITION_SIZE / 2) - 4MB

View File

@@ -3,7 +3,7 @@ Device tree configuration for Motorola Moto G9 Power
```
SPDX-FileCopyrightText: 2022-2024 The LineageOS Project
SPDX-FileCopyrightText: The LineageOS Project
SPDX-License-Identifier: Apache-2.0

View File

@@ -1,5 +1,5 @@
#
# SPDX-FileCopyrightText: 2022-2024 The LineageOS Project
# SPDX-FileCopyrightText: The LineageOS Project
# SPDX-License-Identifier: Apache-2.0
#
@@ -33,14 +33,29 @@ PRODUCT_PACKAGES += \
PRODUCT_PACKAGES += \
android.hardware.light-service.lineage
# LiveDisplay
$(call soong_config_set,livedisplay_sysfs,enable_ab,true)
# Moto Camera 4
TARGET_MOTCAMERA3 := cebu
TARGET_USES_MOTCAMERA3 := true
$(call inherit-product, vendor/motorola/MotCamera4-bengal/motcamera4.mk)
# NFC
PRODUCT_PACKAGES += \
android.hardware.nfc@1.2-service
# Overlay
DEVICE_PACKAGE_OVERLAYS += \
$(LOCAL_PATH)/overlay \
$(LOCAL_PATH)/overlay-lineage
PRODUCT_PACKAGES += \
FrameworksResDevice \
FrameworksResDeviceXT2091-7 \
FrameworksResDeviceXT2091-8 \
LineagePlatformDevice \
SystemUIResDevice \
WifiResDevice \
WifiResDeviceXT2091-7 \
WifiResDeviceXT2091-8 \
# Permissions
PRODUCT_COPY_FILES += \
@@ -60,6 +75,11 @@ $(foreach DEVICE_SKU, $(DEVICE_NFC_SKUS), \
$(LOCAL_PATH)/permissions/unavail.android.hardware.nfc.xml:$(TARGET_COPY_OUT_ODM)/etc/permissions/sku_$(DEVICE_SKU)/unavail.android.hardware.nfc.xml \
$(LOCAL_PATH)/permissions/unavail.com.nxp.mifare.xml:$(TARGET_COPY_OUT_ODM)/etc/permissions/sku_$(DEVICE_SKU)/com.nxp.mifare.xml)
# Properties
PRODUCT_PACKAGES += \
hardware.sku.XT2091-7.prop \
hardware.sku.XT2091-8.prop
# Shipping API level
BOARD_SHIPPING_API_LEVEL := 29
PRODUCT_SHIPPING_API_LEVEL := 29

13
evolution.dependencies Normal file
View File

@@ -0,0 +1,13 @@
[
{
"repository": "device_motorola_sm6225-common",
"target_path": "device/motorola/sm6225-common",
"remote": "evo-devices"
},
{
"repository": "Deivid-21s-Sources/proprietary_vendor_motorola_cebu",
"target_path": "vendor/motorola/cebu",
"remote": "github-non-los",
"branch": "lineage-22.2"
}
]

View File

@@ -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
#

View File

@@ -1,5 +1,5 @@
//
// SPDX-FileCopyrightText: 2024 The LineageOS Project
// SPDX-FileCopyrightText: The LineageOS Project
// SPDX-License-Identifier: Apache-2.0
//

View File

@@ -6,10 +6,10 @@
# Currently we dont have e2fsck compiled. So fs check would failed.
#<src> <mnt_point> <type> <mnt_flags and options> <fs_mgr_flags>
system /system ext4 ro wait,slotselect,avb=vbmeta,avb_keys=/avb/q-gsi.avbpubkey:/avb/r-gsi.avbpubkey:/avb/s-gsi.avbpubkey,logical,first_stage_mount
system_ext /system_ext ext4 ro wait,slotselect,avb,logical,nofail,first_stage_mount
product /product ext4 ro wait,slotselect,avb,logical,nofail,first_stage_mount
vendor /vendor ext4 ro wait,slotselect,avb,logical,first_stage_mount
system /system erofs ro wait,slotselect,avb=vbmeta,avb_keys=/avb/q-gsi.avbpubkey:/avb/r-gsi.avbpubkey:/avb/s-gsi.avbpubkey,logical,first_stage_mount
system_ext /system_ext erofs ro wait,slotselect,avb=vbmeta,logical,first_stage_mount
product /product erofs ro wait,slotselect,avb=vbmeta,logical,first_stage_mount
vendor /vendor erofs ro wait,slotselect,avb=vbmeta,logical,first_stage_mount
/dev/block/by-name/metadata /metadata ext4 noatime,nosuid,nodev,discard wait,formattable,first_stage_mount,check
/dev/block/bootdevice/by-name/userdata /data f2fs noatime,nosuid,nodev,discard,reserve_root=32768,resgid=1065,fsync_mode=nobarrier,inlinecrypt latemount,wait,check,formattable,fileencryption=aes-256-xts:aes-256-cts:v2+emmc_optimized+wrappedkey_v0,metadata_encryption=aes-256-xts:wrappedkey_v0,keydirectory=/metadata/vold/metadata_encryption,quota,reservedsize=128M,sysfs_path=/sys/devices/platform/soc/4744000.sdhci,checkpoint=fs
/devices/platform/soc/4784000.sdhci/mmc_host* auto auto defaults wait,voldmanaged=sdcard1:auto

View File

@@ -1,92 +1,33 @@
on early-init && property:ro.bootmode=mot-factory
insmod /vendor/lib/modules/moto_f_usbnet.ko
on mmi-priority
# Only high priority MMI DLKMs loaded here
# For instance, sensor_class referenced from several DLKMs
# and needs to load first. Touchscreen might need extra time
# to perform firmware update if necessary
setprop vendor.mmi_init.stage priority
exec u:r:vendor_modprobe:s0 -- /vendor/bin/modprobe -a -d /vendor/lib/modules mmi_annotate mmi_info tzlog_dump watchdog_cpu_ctx mmi_sys_temp dts201a_mmi.ko
# Only high priority MMI DLKMs loaded here
# For instance, sensor_class referenced from several DLKMs
# and needs to load first. Touchscreen might need extra time
# to perform firmware update if necessary
exec u:r:vendor_modprobe:s0 -- /vendor/bin/modprobe -a -d /vendor/lib/modules mmi_annotate mmi_info mmi_sys_temp dts201a_mmi
on fs
# Majority of MMI DLKMs should be in this group
setprop vendor.mmi_init.stage common
insmod /vendor/lib/modules/cci_intf.ko
insmod /vendor/lib/modules/leds_aw99703.ko
insmod /vendor/lib/modules/ktd3136_bl.ko
insmod /vendor/lib/modules/nova_0flash_mmi.ko
insmod /vendor/lib/modules/focaltech_0flash_mmi.ko
insmod /vendor/lib/modules/chipone_tddi_mmi.ko
insmod /vendor/lib/modules/qpnp_adaptive_charge.ko
insmod /vendor/lib/modules/qpnp-power-on-mmi.ko
exec u:r:vendor_modprobe:s0 -- /vendor/bin/modprobe -a -d /vendor/lib/modules sensor_class abov_sar_mmi_overlay audio_snd_soc_aw882xx
# Majority of MMI DLKMs should be in this group
insmod /vendor/lib/modules/cci_intf.ko
insmod /vendor/lib/modules/leds_aw99703.ko
insmod /vendor/lib/modules/ktd3136_bl.ko
insmod /vendor/lib/modules/nova_0flash_mmi.ko
insmod /vendor/lib/modules/focaltech_0flash_mmi.ko
insmod /vendor/lib/modules/chipone_tddi_mmi.ko
insmod /vendor/lib/modules/qpnp_adaptive_charge.ko
insmod /vendor/lib/modules/qpnp-power-on-mmi.ko
on post-fs-data
# Load DLKM that can afford being loaded later
setprop vendor.mmi_init.stage late
start vendor.mmi_modules
#wait_for_prop init.svc.vendor.mmi_modules stopped
setprop vendor.mmi_init.stage complete
on early-boot
# Goodix fingerprint
chown system system /dev/goodix_fp
chmod 0664 /dev/goodix_fp
chmod 0777 /proc/android_touch/debug
mkdir /data/vendor/gf_data 0770 system system
mkdir /mnt/vendor/persist/goodix 0770 system system
on boot
# change permission for capsensor
chown system system /sys/class/capsense/reset
chown system system /sys/class/capsense/int_state
# change permission for adaptive charging
chown system system /sys/module/qpnp_adaptive_charge/parameters/upper_limit
chown system system /sys/module/qpnp_adaptive_charge/parameters/lower_limit
# change ownership for thermopile sensor
chown system system /sys/class/sensors/thermopile_sensor/enable
chown system system /sys/class/sensors/thermopile_sensor/poll_delay
chown system system /sys/class/thermopile/dts201a/coefficient_reg
chown system system /sys/class/thermopile/dts201a/dts201a_data2read
mkdir /data/vendor/thermo 0770 system system
#service vendor.mmi_modules /vendor/bin/init.mmi.modules.sh
# user root
# oneshot
# disabled
exec u:r:vendor_modprobe:s0 -- /vendor/bin/modprobe -a -d /vendor/lib/modules sensors_class abov_sar_mmi_overlay audio_snd_soc_aw882xx
service capsense_reset /system/vendor/bin/capsense_reset
class core
user system
group system input
disabled
class core
user system
group system input
disabled
on property:sys.boot_completed=1
start capsense_reset
service vendor.motpsd /vendor/bin/motpsd
class late_start
user root
service vendor.vl53l1_daemon /vendor/bin/vl53l1_daemon
class late_start
user root
group root
socket vl53l1_daemon stream 660 root system
service vendor.mmi-laser-sh /vendor/bin/init.mmi.laser.sh
class core
user root
oneshot
# Turn on led to indicate device on in factory mode
on property:ro.bootmode=mot-factory
write /sys/class/leds/charging/brightness 255
# on property:ro.build.type=userdebug
# start vendor.touchRec

View File

@@ -1,6 +0,0 @@
[
{
"repository": "android_device_motorola_sm6225-common",
"target_path": "device/motorola/sm6225-common"
}
]

View File

@@ -1,5 +1,5 @@
#
# SPDX-FileCopyrightText: 2022-2024 The LineageOS Project
# SPDX-FileCopyrightText: The LineageOS Project
# SPDX-License-Identifier: Apache-2.0
#

View File

@@ -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">
<!-- Doze: does this device support STATE_DOZE? -->
<bool name="doze_display_state_supported">true</bool>
</resources>

View File

@@ -1,27 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
/**
* Copyright (c) 2009, The Android Open Source Project
* Copyright (C) 2023, The LineageOS Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-->
<resources>
<!-- Height of the status bar header bar when on Keyguard -->
<dimen name="status_bar_header_height_keyguard">@*android:dimen/status_bar_height</dimen>
<!-- Padding for the lock icon on the keyguard. In pixels - should not scale with display size. -->
<dimen name="lock_icon_padding">32px</dimen>
</resources>

View File

@@ -121,6 +121,7 @@ vendor/lib64/libfcell.so
vendor/lib64/libipebpsstriping.so
vendor/lib64/libjpege.so
vendor/lib64/liblmutils-ns.so
vendor/lib64/liblowlight_ai_portrait.arcsoft.so
vendor/lib64/libmctfengine_stub.so
vendor/lib64/libmmcamera_cac3.so
vendor/lib64/libmmcamera_faceproc.so
@@ -140,7 +141,8 @@ vendor/lib64/libvidhance.so
vendor/etc/camera/dual_golden_depth.bin
vendor/etc/camera/vidhance_calibration
# CapSense firmware
# CapSense
vendor/bin/capsense_reset
vendor/firmware/AbovCapSense.BIN
# Display (Calibration Data)
@@ -152,10 +154,13 @@ vendor/etc/qdcm_calib_data_td4330_v2_video_mode_dsi_truly_panel.xml
# Fingerprint
vendor/bin/hw/android.hardware.biometrics.fingerprint@2.1-service-chipone
vendor/bin/hw/android.hardware.biometrics.fingerprint@2.1-service-fpc
vendor/bin/hw/chipone_ident
vendor/bin/hw/fpc_ident
vendor/etc/init/android.hardware.biometrics.fingerprint@2.1-service-chipone2.rc
vendor/etc/init/android.hardware.biometrics.fingerprint@2.1-service-fpc2.rc
vendor/lib64/com.fingerprints.extension@1.0.so
vendor/lib64/libfp_ext_svc2.so
vendor/lib64/vendor.fpsensor.hardware.fpsensorhidlsvc@2.0.so
vendor/lib64/hw/chipone.fingerprint.default.so
vendor/usr/idc/uinput-fpc.idc
vendor/usr/idc/uinput-fpsensor.idc

18
props/Android.bp Normal file
View File

@@ -0,0 +1,18 @@
//
// SPDX-FileCopyrightText: The LineageOS Project
// SPDX-License-Identifier: Apache-2.0
//
prebuilt_etc {
name: "hardware.sku.XT2091-7.prop",
src: "hardware.sku.XT2091-7.prop",
sub_dir: "props",
soc_specific: true,
}
prebuilt_etc {
name: "hardware.sku.XT2091-8.prop",
src: "hardware.sku.XT2091-8.prop",
sub_dir: "props",
soc_specific: true,
}

View File

@@ -0,0 +1,10 @@
ro.product.system.model=Lenovo K12 Pro
ro.product.system_dlkm.model=Lenovo K12 Pro
ro.product.system_ext.model=Lenovo K12 Pro
ro.product.model=Lenovo K12 Pro
ro.product.odm.model=Lenovo K12 Pro
ro.product.odm_dlkm.model=Lenovo K12 Pro
ro.product.product.model=Lenovo K12 Pro
ro.product.vendor.model=Lenovo K12 Pro
ro.product.vendor_dlkm.model=Lenovo K12 Pro
ro.vendor.product.display=Lenovo K12 Pro

View File

@@ -0,0 +1,10 @@
ro.product.system.model=Lenovo K12 Pro
ro.product.system_dlkm.model=Lenovo K12 Pro
ro.product.system_ext.model=Lenovo K12 Pro
ro.product.model=Lenovo K12 Pro
ro.product.odm.model=Lenovo K12 Pro
ro.product.odm_dlkm.model=Lenovo K12 Pro
ro.product.product.model=Lenovo K12 Pro
ro.product.vendor.model=Lenovo K12 Pro
ro.product.vendor_dlkm.model=Lenovo K12 Pro
ro.vendor.product.display=Lenovo K12 Pro

View File

@@ -0,0 +1,9 @@
//
// SPDX-FileCopyrightText: The LineageOS Project
// SPDX-License-Identifier: Apache-2.0
//
runtime_resource_overlay {
name: "FrameworksResDeviceXT2091-7",
vendor: true,
}

View File

@@ -0,0 +1,15 @@
<?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.device.XT2091_7">
<overlay
android:isStatic="true"
android:priority="350"
android:requiredSystemPropertyName="ro.boot.hardware.sku"
android:requiredSystemPropertyValue="XT2091-7"
android:targetPackage="android" />
</manifest>

View File

@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
SPDX-FileCopyrightText: The LineageOS Project
SPDX-License-Identifier: Apache-2.0
-->
<resources>
<!-- MMS user agent string -->
<string name="config_mms_user_agent" translatable="false">lenovok12pro</string>
</resources>

View File

@@ -0,0 +1,9 @@
//
// SPDX-FileCopyrightText: The LineageOS Project
// SPDX-License-Identifier: Apache-2.0
//
runtime_resource_overlay {
name: "FrameworksResDeviceXT2091-8",
vendor: true,
}

View File

@@ -0,0 +1,15 @@
<?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.device.XT2091_8">
<overlay
android:isStatic="true"
android:priority="350"
android:requiredSystemPropertyName="ro.boot.hardware.sku"
android:requiredSystemPropertyValue="XT2091-8"
android:targetPackage="android" />
</manifest>

View File

@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
SPDX-FileCopyrightText: The LineageOS Project
SPDX-License-Identifier: Apache-2.0
-->
<resources>
<!-- MMS user agent string -->
<string name="config_mms_user_agent" translatable="false">lenovok12pro</string>
</resources>

View File

@@ -0,0 +1,9 @@
//
// SPDX-FileCopyrightText: The LineageOS Project
// SPDX-License-Identifier: Apache-2.0
//
runtime_resource_overlay {
name: "FrameworksResDevice",
vendor: true,
}

View 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.device">
<overlay
android:isStatic="true"
android:priority="300"
android:targetPackage="android" />
</manifest>

View File

@@ -1,20 +1,8 @@
<?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.
*/
SPDX-FileCopyrightText: 2009 The Android Open Source Project
SPDX-FileCopyrightText: The LineageOS Project
SPDX-License-Identifier: Apache-2.0
-->
<!-- These resources are around just to allow their values to be customized
@@ -231,4 +219,7 @@
<!-- Enable system navigation keys. -->
<bool name="config_supportSystemNavigationKeys">true</bool>
<!-- MMS user agent string -->
<string name="config_mms_user_agent" translatable="false">motog9power</string>
</resources>

View File

@@ -1,20 +1,8 @@
<?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.
*/
SPDX-FileCopyrightText: 2009 The Android Open Source Project
SPDX-FileCopyrightText: The LineageOS Project
SPDX-License-Identifier: Apache-2.0
-->
<!-- These resources are around just to allow their values to be customized

View File

@@ -1,4 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
SPDX-FileCopyrightText: The LineageOS Project
SPDX-License-Identifier: Apache-2.0
-->
<device name="Android">
<item name="none">0</item>
<item name="screen.on">88.97</item>

View File

@@ -0,0 +1,9 @@
//
// SPDX-FileCopyrightText: The LineageOS Project
// SPDX-License-Identifier: Apache-2.0
//
runtime_resource_overlay {
name: "LineagePlatformDevice",
vendor: true,
}

View 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.device">
<overlay
android:isStatic="true"
android:priority="800"
android:targetPackage="lineageos.platform" />
</manifest>

View File

@@ -1,19 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2015-2016 The CyanogenMod Project
2017-2023 The LineageOS Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
SPDX-FileCopyrightText: 2015-2016 The CyanogenMod Project
SPDX-FileCopyrightText: The LineageOS Project
SPDX-License-Identifier: Apache-2.0
-->
<resources>
<!-- All the capabilities of the LEDs on this device, stored as a bit field.

View File

@@ -0,0 +1,9 @@
//
// SPDX-FileCopyrightText: The LineageOS Project
// SPDX-License-Identifier: Apache-2.0
//
runtime_resource_overlay {
name: "SystemUIResDevice",
vendor: true,
}

View File

@@ -0,0 +1,12 @@
<?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.device">
<overlay
android:isStatic="true"
android:targetPackage="com.android.systemui" />
</manifest>

View File

@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
SPDX-FileCopyrightText: 2009 The Android Open Source Project
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">
<!-- Doze: does this device support STATE_DOZE? -->
<bool name="doze_display_state_supported">true</bool>
</resources>

View File

@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
SPDX-FileCopyrightText: 2009 The Android Open Source Project
SPDX-FileCopyrightText: The LineageOS Project
SPDX-License-Identifier: Apache-2.0
-->
<resources>
<!-- Height of the status bar header bar when on Keyguard -->
<dimen name="status_bar_header_height_keyguard">@*android:dimen/status_bar_height</dimen>
<!-- Padding for the lock icon on the keyguard. In pixels - should not scale with display size. -->
<dimen name="lock_icon_padding">32px</dimen>
</resources>

View File

@@ -0,0 +1,9 @@
//
// SPDX-FileCopyrightText: The LineageOS Project
// SPDX-License-Identifier: Apache-2.0
//
runtime_resource_overlay {
name: "WifiResDeviceXT2091-7",
vendor: true,
}

View File

@@ -0,0 +1,16 @@
<?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.device.XT2091_7">
<overlay
android:isStatic="true"
android:priority="800"
android:requiredSystemPropertyName="ro.boot.hardware.sku"
android:requiredSystemPropertyValue="XT2091-7"
android:targetName="WifiCustomization"
android:targetPackage="com.android.wifi.resources" />
</manifest>

View File

@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
SPDX-FileCopyrightText: The LineageOS Project
SPDX-License-Identifier: Apache-2.0
-->
<resources>
<!-- Do not translate. Default access point SSID used for tethering -->
<string name="wifi_tether_configure_ssid_default" translatable="false">Lenovo K12 Pro</string>
</resources>

View File

@@ -0,0 +1,9 @@
//
// SPDX-FileCopyrightText: The LineageOS Project
// SPDX-License-Identifier: Apache-2.0
//
runtime_resource_overlay {
name: "WifiResDeviceXT2091-8",
vendor: true,
}

View File

@@ -0,0 +1,16 @@
<?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.device.XT2091_8">
<overlay
android:isStatic="true"
android:priority="800"
android:requiredSystemPropertyName="ro.boot.hardware.sku"
android:requiredSystemPropertyValue="XT2091-8"
android:targetName="WifiCustomization"
android:targetPackage="com.android.wifi.resources" />
</manifest>

View File

@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
SPDX-FileCopyrightText: The LineageOS Project
SPDX-License-Identifier: Apache-2.0
-->
<resources>
<!-- Do not translate. Default access point SSID used for tethering -->
<string name="wifi_tether_configure_ssid_default" translatable="false">Lenovo K12 Pro</string>
</resources>

View File

@@ -0,0 +1,9 @@
//
// SPDX-FileCopyrightText: The LineageOS Project
// SPDX-License-Identifier: Apache-2.0
//
runtime_resource_overlay {
name: "WifiResDevice",
vendor: true,
}

View 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.device">
<overlay
android:isStatic="true"
android:priority="800"
android:targetName="WifiCustomization"
android:targetPackage="com.android.wifi.resources" />
</manifest>

View File

@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
SPDX-FileCopyrightText: The LineageOS Project
SPDX-License-Identifier: Apache-2.0
-->
<resources>
<!-- Do not translate. Default access point SSID used for tethering -->
<string name="wifi_tether_configure_ssid_default" translatable="false">moto g(9) power</string>
</resources>

View File

@@ -1 +1,5 @@
#!./extract-files.py --regenerate_makefiles
#
# SPDX-FileCopyrightText: The LineageOS Project
# SPDX-License-Identifier: Apache-2.0
#

View File

@@ -20,3 +20,6 @@ ro.hardware.keystore_desede=true
# Radio
ro.vendor.radio.imei.sv=11
# SKU specific properties
import /vendor/etc/props/hardware.sku.${ro.boot.hardware.sku}.prop