Compare commits
14 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a7771a5460 | ||
|
|
0012f04934 | ||
|
|
43a3aa205a | ||
|
|
b427ca52ec | ||
|
|
877af66b49 | ||
|
|
ca57476259 | ||
|
|
bbdaf405ba | ||
|
|
edcf71e500 | ||
|
|
ec72826b4f | ||
|
|
05daf14eb8 | ||
|
|
9f417ce66e | ||
|
|
5251cb7796 | ||
|
|
42cd13a558 | ||
|
|
89f5287d19 |
@@ -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 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
|
||||
#
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
28
device.mk
28
device.mk
@@ -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
13
evolution.dependencies
Normal 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"
|
||||
}
|
||||
]
|
||||
@@ -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
|
||||
//
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -1,6 +0,0 @@
|
||||
[
|
||||
{
|
||||
"repository": "android_device_motorola_sm6225-common",
|
||||
"target_path": "device/motorola/sm6225-common"
|
||||
}
|
||||
]
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# SPDX-FileCopyrightText: 2022-2024 The LineageOS Project
|
||||
# SPDX-FileCopyrightText: The LineageOS Project
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
|
||||
|
||||
@@ -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>
|
||||
@@ -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>
|
||||
@@ -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
18
props/Android.bp
Normal 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,
|
||||
}
|
||||
10
props/hardware.sku.XT2091-7.prop
Normal file
10
props/hardware.sku.XT2091-7.prop
Normal 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
|
||||
10
props/hardware.sku.XT2091-8.prop
Normal file
10
props/hardware.sku.XT2091-8.prop
Normal 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
|
||||
9
resource-overlay/device/Frameworks-XT2091-7/Android.bp
Normal file
9
resource-overlay/device/Frameworks-XT2091-7/Android.bp
Normal file
@@ -0,0 +1,9 @@
|
||||
//
|
||||
// SPDX-FileCopyrightText: The LineageOS Project
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
//
|
||||
|
||||
runtime_resource_overlay {
|
||||
name: "FrameworksResDeviceXT2091-7",
|
||||
vendor: true,
|
||||
}
|
||||
@@ -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>
|
||||
@@ -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>
|
||||
9
resource-overlay/device/Frameworks-XT2091-8/Android.bp
Normal file
9
resource-overlay/device/Frameworks-XT2091-8/Android.bp
Normal file
@@ -0,0 +1,9 @@
|
||||
//
|
||||
// SPDX-FileCopyrightText: The LineageOS Project
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
//
|
||||
|
||||
runtime_resource_overlay {
|
||||
name: "FrameworksResDeviceXT2091-8",
|
||||
vendor: true,
|
||||
}
|
||||
@@ -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>
|
||||
@@ -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>
|
||||
9
resource-overlay/device/Frameworks/Android.bp
Normal file
9
resource-overlay/device/Frameworks/Android.bp
Normal file
@@ -0,0 +1,9 @@
|
||||
//
|
||||
// SPDX-FileCopyrightText: The LineageOS Project
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
//
|
||||
|
||||
runtime_resource_overlay {
|
||||
name: "FrameworksResDevice",
|
||||
vendor: true,
|
||||
}
|
||||
13
resource-overlay/device/Frameworks/AndroidManifest.xml
Normal file
13
resource-overlay/device/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.device">
|
||||
|
||||
<overlay
|
||||
android:isStatic="true"
|
||||
android:priority="300"
|
||||
android:targetPackage="android" />
|
||||
</manifest>
|
||||
@@ -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>
|
||||
@@ -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
|
||||
@@ -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>
|
||||
9
resource-overlay/device/LineagePlatform/Android.bp
Normal file
9
resource-overlay/device/LineagePlatform/Android.bp
Normal file
@@ -0,0 +1,9 @@
|
||||
//
|
||||
// SPDX-FileCopyrightText: The LineageOS Project
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
//
|
||||
|
||||
runtime_resource_overlay {
|
||||
name: "LineagePlatformDevice",
|
||||
vendor: true,
|
||||
}
|
||||
13
resource-overlay/device/LineagePlatform/AndroidManifest.xml
Normal file
13
resource-overlay/device/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.device">
|
||||
|
||||
<overlay
|
||||
android:isStatic="true"
|
||||
android:priority="800"
|
||||
android:targetPackage="lineageos.platform" />
|
||||
</manifest>
|
||||
@@ -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.
|
||||
9
resource-overlay/device/SystemUI/Android.bp
Normal file
9
resource-overlay/device/SystemUI/Android.bp
Normal file
@@ -0,0 +1,9 @@
|
||||
//
|
||||
// SPDX-FileCopyrightText: The LineageOS Project
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
//
|
||||
|
||||
runtime_resource_overlay {
|
||||
name: "SystemUIResDevice",
|
||||
vendor: true,
|
||||
}
|
||||
12
resource-overlay/device/SystemUI/AndroidManifest.xml
Normal file
12
resource-overlay/device/SystemUI/AndroidManifest.xml
Normal 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>
|
||||
16
resource-overlay/device/SystemUI/res/values/config.xml
Normal file
16
resource-overlay/device/SystemUI/res/values/config.xml
Normal 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>
|
||||
14
resource-overlay/device/SystemUI/res/values/dimens.xml
Normal file
14
resource-overlay/device/SystemUI/res/values/dimens.xml
Normal 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>
|
||||
9
resource-overlay/device/Wifi-XT2091-7/Android.bp
Normal file
9
resource-overlay/device/Wifi-XT2091-7/Android.bp
Normal file
@@ -0,0 +1,9 @@
|
||||
//
|
||||
// SPDX-FileCopyrightText: The LineageOS Project
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
//
|
||||
|
||||
runtime_resource_overlay {
|
||||
name: "WifiResDeviceXT2091-7",
|
||||
vendor: true,
|
||||
}
|
||||
16
resource-overlay/device/Wifi-XT2091-7/AndroidManifest.xml
Normal file
16
resource-overlay/device/Wifi-XT2091-7/AndroidManifest.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
|
||||
-->
|
||||
<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>
|
||||
@@ -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>
|
||||
9
resource-overlay/device/Wifi-XT2091-8/Android.bp
Normal file
9
resource-overlay/device/Wifi-XT2091-8/Android.bp
Normal file
@@ -0,0 +1,9 @@
|
||||
//
|
||||
// SPDX-FileCopyrightText: The LineageOS Project
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
//
|
||||
|
||||
runtime_resource_overlay {
|
||||
name: "WifiResDeviceXT2091-8",
|
||||
vendor: true,
|
||||
}
|
||||
16
resource-overlay/device/Wifi-XT2091-8/AndroidManifest.xml
Normal file
16
resource-overlay/device/Wifi-XT2091-8/AndroidManifest.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
|
||||
-->
|
||||
<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>
|
||||
@@ -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>
|
||||
9
resource-overlay/device/Wifi/Android.bp
Normal file
9
resource-overlay/device/Wifi/Android.bp
Normal file
@@ -0,0 +1,9 @@
|
||||
//
|
||||
// SPDX-FileCopyrightText: The LineageOS Project
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
//
|
||||
|
||||
runtime_resource_overlay {
|
||||
name: "WifiResDevice",
|
||||
vendor: true,
|
||||
}
|
||||
14
resource-overlay/device/Wifi/AndroidManifest.xml
Normal file
14
resource-overlay/device/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.device">
|
||||
|
||||
<overlay
|
||||
android:isStatic="true"
|
||||
android:priority="800"
|
||||
android:targetName="WifiCustomization"
|
||||
android:targetPackage="com.android.wifi.resources" />
|
||||
</manifest>
|
||||
9
resource-overlay/device/Wifi/res/values/config.xml
Normal file
9
resource-overlay/device/Wifi/res/values/config.xml
Normal 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>
|
||||
@@ -1 +1,5 @@
|
||||
#!./extract-files.py --regenerate_makefiles
|
||||
#
|
||||
# SPDX-FileCopyrightText: The LineageOS Project
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user