From d108c65b8547f387bac0eb8849145d0c863946b2 Mon Sep 17 00:00:00 2001 From: roynatech2544 Date: Fri, 11 Aug 2023 13:13:43 +0900 Subject: [PATCH] tb128fu: Run dos2unix on all files --- Android.bp | 2 +- Android.mk | 24 +- AndroidProducts.mk | 26 +- BoardConfig.mk | 36 +- README.md | 36 +- device.mk | 66 +- evolution.dependencies | 6 +- evolution_tb128fu.mk | 56 +- .../base/core/res/res/values/config.xml | 996 +++++++++--------- .../base/core/res/res/values/dimens.xml | 58 +- .../base/core/res/res/xml/power_profile.xml | 194 ++-- .../packages/SystemUI/res/values/config.xml | 52 +- .../packages/SystemUI/res/values/dimens.xml | 40 +- 13 files changed, 796 insertions(+), 796 deletions(-) diff --git a/Android.bp b/Android.bp index e021eab..722b775 100644 --- a/Android.bp +++ b/Android.bp @@ -1,2 +1,2 @@ -soong_namespace { +soong_namespace { } \ No newline at end of file diff --git a/Android.mk b/Android.mk index fabcf65..7c2217d 100644 --- a/Android.mk +++ b/Android.mk @@ -1,13 +1,13 @@ -# -# Copyright (C) 2022 The LineageOS Project -# -# SPDX-License-Identifier: Apache-2.0 -# - -LOCAL_PATH := $(call my-dir) - -ifeq ($(TARGET_DEVICE),tb128fu) - -include $(call all-makefiles-under,$(LOCAL_PATH)) - +# +# Copyright (C) 2022 The LineageOS Project +# +# SPDX-License-Identifier: Apache-2.0 +# + +LOCAL_PATH := $(call my-dir) + +ifeq ($(TARGET_DEVICE),tb128fu) + +include $(call all-makefiles-under,$(LOCAL_PATH)) + endif \ No newline at end of file diff --git a/AndroidProducts.mk b/AndroidProducts.mk index 83e0cbe..4095807 100644 --- a/AndroidProducts.mk +++ b/AndroidProducts.mk @@ -1,13 +1,13 @@ -# -# Copyright (C) 2022 The LineageOS Project -# -# SPDX-License-Identifier: Apache-2.0 -# - -PRODUCT_MAKEFILES := \ - $(LOCAL_DIR)/evolution_tb128fu.mk - -COMMON_LUNCH_CHOICES := \ - evolution_tb128fu-user \ - evolution_tb128fu-userdebug \ - evolution_tb128fu-eng +# +# Copyright (C) 2022 The LineageOS Project +# +# SPDX-License-Identifier: Apache-2.0 +# + +PRODUCT_MAKEFILES := \ + $(LOCAL_DIR)/evolution_tb128fu.mk + +COMMON_LUNCH_CHOICES := \ + evolution_tb128fu-user \ + evolution_tb128fu-userdebug \ + evolution_tb128fu-eng diff --git a/BoardConfig.mk b/BoardConfig.mk index bdf56fc..24b49d4 100644 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -1,19 +1,19 @@ -# -# Copyright (C) 2022 The LineageOS Project -# -# SPDX-License-Identifier: Apache-2.0 -# - -DEVICE_PATH := device/lenovo/tb128fu - -# Display -TARGET_SCREEN_DENSITY := 440 - -# OTA assert -TARGET_OTA_ASSERT_DEVICE := tb128fu - -# Inherit from sm6225-common -include device/lenovo/sm6225-common/BoardConfigCommon.mk - -# Inherit from the proprietary version +# +# Copyright (C) 2022 The LineageOS Project +# +# SPDX-License-Identifier: Apache-2.0 +# + +DEVICE_PATH := device/lenovo/tb128fu + +# Display +TARGET_SCREEN_DENSITY := 440 + +# OTA assert +TARGET_OTA_ASSERT_DEVICE := tb128fu + +# Inherit from sm6225-common +include device/lenovo/sm6225-common/BoardConfigCommon.mk + +# Inherit from the proprietary version include vendor/lenovo/tb128fu/BoardConfigVendor.mk \ No newline at end of file diff --git a/README.md b/README.md index 6bfb91d..ba922dd 100644 --- a/README.md +++ b/README.md @@ -1,19 +1,19 @@ -Device configuration for Lenovo TB128FU (TB128FU/P89990JA1) -========================================== - -The Lenovo Tab M10 Plus (3rd Gen) (codenamed _"tb128fu"_). -It was released in May 2022. - -| Basic | Spec Sheet | -| -----------------------:|:------------------------------------------------------------------------------------------------------------------------------ | -| Chipset | Qualcomm SM6225 Snapdragon 680 4G (6 nm) | -| GPU | Mali-G52 MC2 | -| Memory | 6 GB RAM | -| Shipped Android Version | 12.0 | -| Storage | 128 GB | -| Battery | Li-Po 7700 mAh, non-removable | -| Display | IPS LCD, 400 nits, 1200 x 2000 pixels, 5:3 ratio (~220 ppi density) | -| Camera | 8MP + 8MP | - -## Device picture +Device configuration for Lenovo TB128FU (TB128FU/P89990JA1) +========================================== + +The Lenovo Tab M10 Plus (3rd Gen) (codenamed _"tb128fu"_). +It was released in May 2022. + +| Basic | Spec Sheet | +| -----------------------:|:------------------------------------------------------------------------------------------------------------------------------ | +| Chipset | Qualcomm SM6225 Snapdragon 680 4G (6 nm) | +| GPU | Mali-G52 MC2 | +| Memory | 6 GB RAM | +| Shipped Android Version | 12.0 | +| Storage | 128 GB | +| Battery | Li-Po 7700 mAh, non-removable | +| Display | IPS LCD, 400 nits, 1200 x 2000 pixels, 5:3 ratio (~220 ppi density) | +| Camera | 8MP + 8MP | + +## Device picture \ No newline at end of file diff --git a/device.mk b/device.mk index 1c0a3f5..a5488c5 100644 --- a/device.mk +++ b/device.mk @@ -1,34 +1,34 @@ -# -# Copyright (C) 2022 The LineageOS Project -# -# SPDX-License-Identifier: Apache-2.0 -# - -# Inherit from sm6225-common -$(call inherit-product, device/lenovo/sm6225-common/bengal.mk) - -# Inherit from vendor blobs -$(call inherit-product, vendor/lenovo/tb128fu/tb128fu-vendor.mk) - -# API Level -PRODUCT_SHIPPING_API_LEVEL := 31 - -# Audio configs -PRODUCT_COPY_FILES += \ - $(call find-copy-subdir-files,*,$(LOCAL_PATH)/audio/,$(TARGET_COPY_OUT_VENDOR)/etc) - -# Boot animation -TARGET_SCREEN_HEIGHT := 2000 -TARGET_SCREEN_WIDTH := 1200 - -# Device uses high-density artwork where available -PRODUCT_AAPT_CONFIG := normal -PRODUCT_AAPT_PREF_CONFIG := xhdpi - -# Overlays -DEVICE_PACKAGE_OVERLAYS += \ - $(LOCAL_PATH)/overlay - -# Soong namespaces -PRODUCT_SOONG_NAMESPACES += \ +# +# Copyright (C) 2022 The LineageOS Project +# +# SPDX-License-Identifier: Apache-2.0 +# + +# Inherit from sm6225-common +$(call inherit-product, device/lenovo/sm6225-common/bengal.mk) + +# Inherit from vendor blobs +$(call inherit-product, vendor/lenovo/tb128fu/tb128fu-vendor.mk) + +# API Level +PRODUCT_SHIPPING_API_LEVEL := 31 + +# Audio configs +PRODUCT_COPY_FILES += \ + $(call find-copy-subdir-files,*,$(LOCAL_PATH)/audio/,$(TARGET_COPY_OUT_VENDOR)/etc) + +# Boot animation +TARGET_SCREEN_HEIGHT := 2000 +TARGET_SCREEN_WIDTH := 1200 + +# Device uses high-density artwork where available +PRODUCT_AAPT_CONFIG := normal +PRODUCT_AAPT_PREF_CONFIG := xhdpi + +# Overlays +DEVICE_PACKAGE_OVERLAYS += \ + $(LOCAL_PATH)/overlay + +# Soong namespaces +PRODUCT_SOONG_NAMESPACES += \ $(LOCAL_PATH) \ No newline at end of file diff --git a/evolution.dependencies b/evolution.dependencies index 0447063..04f0d71 100644 --- a/evolution.dependencies +++ b/evolution.dependencies @@ -1,4 +1,4 @@ -[ - { - } +[ + { + } ] \ No newline at end of file diff --git a/evolution_tb128fu.mk b/evolution_tb128fu.mk index f8051ce..c570da5 100644 --- a/evolution_tb128fu.mk +++ b/evolution_tb128fu.mk @@ -1,28 +1,28 @@ -# -# Copyright (C) 2022 The LineageOS Project -# -# SPDX-License-Identifier: Apache-2.0 -# - -# Inherit from those products. Most specific first. -$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk) -$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base_telephony.mk) - -# Inherit some common Evolution-X stuff. -$(call inherit-product, vendor/evolution/config/common_full_tablet_wifionly.mk) - -# Inherit from tb128fu device -$(call inherit-product, device/lenovo/tb128fu/device.mk) - -PRODUCT_NAME := evolution_tb128fu -PRODUCT_DEVICE := tb128fu -PRODUCT_MANUFACTURER := Lenovo -PRODUCT_BRAND := Lenovo -PRODUCT_MODEL := XiaoXin Pad 2022 - -PRODUCT_GMS_CLIENTID_BASE := android-lenovo - -PRODUCT_BUILD_PROP_OVERRIDES += \ - PRIVATE_BUILD_DESC="qssi-user 12 SKQ1.220119.001 13.5.476_220805 release-keys" - -BUILD_FINGERPRINT := Lenovo/P89990JA1/TB128FU:12/SKQ1.220119.001/13.5.476_220805:user/release-keys +# +# Copyright (C) 2022 The LineageOS Project +# +# SPDX-License-Identifier: Apache-2.0 +# + +# Inherit from those products. Most specific first. +$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk) +$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base_telephony.mk) + +# Inherit some common Evolution-X stuff. +$(call inherit-product, vendor/evolution/config/common_full_tablet_wifionly.mk) + +# Inherit from tb128fu device +$(call inherit-product, device/lenovo/tb128fu/device.mk) + +PRODUCT_NAME := evolution_tb128fu +PRODUCT_DEVICE := tb128fu +PRODUCT_MANUFACTURER := Lenovo +PRODUCT_BRAND := Lenovo +PRODUCT_MODEL := XiaoXin Pad 2022 + +PRODUCT_GMS_CLIENTID_BASE := android-lenovo + +PRODUCT_BUILD_PROP_OVERRIDES += \ + PRIVATE_BUILD_DESC="qssi-user 12 SKQ1.220119.001 13.5.476_220805 release-keys" + +BUILD_FINGERPRINT := Lenovo/P89990JA1/TB128FU:12/SKQ1.220119.001/13.5.476_220805:user/release-keys diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml index bc924e5..80b4009 100644 --- a/overlay/frameworks/base/core/res/res/values/config.xml +++ b/overlay/frameworks/base/core/res/res/values/config.xml @@ -1,499 +1,499 @@ - - - - - - - - true - - - true - - - true - - - false - - - true - - - vendor.qti.iwlan - - - - 4 - 5 - 10 - 30 - 100 - 400 - 600 - 1000 - - - - - 800 - 800 - 500 - 500 - 500 - 500 - 500 - 500 - - - - - 2 - 10 - 30 - 100 - 800 - 2000 - 4000 - - - - - 3.5 - 4.3 - 5.0 - 17.0 - 24.0 - 31.0 - 34.0 - 46.0 - 59.0 - 76.0 - 81.0 - 82.0 - 83.0 - 84.0 - 85.0 - 86.0 - 87.0 - 89.0 - 90.0 - 91.0 - 93.0 - 94.0 - 96.0 - 97.0 - 99.0 - 100.0 - 101.0 - 104.0 - 105.0 - 106.0 - 108.0 - 109.0 - 111.0 - 112.0 - 114.0 - 116.0 - 137.0 - 157.0 - 180.0 - 205.0 - 226.0 - 257.0 - 280.0 - 295.0 - 369.0 - 400.0 - 416.7 - 433.3 - 450.0 - 466.7 - 483.3 - 500.0 - 512.5 - 525.0 - 537.5 - 550.0 - 562.5 - 575.0 - 587.5 - 600.0 - 610.0 - 620.0 - 630.0 - 640.0 - 650.0 - 660.0 - 670.0 - 680.0 - 690.0 - 700.0 - 705.0 - 710.0 - 715.0 - 720.0 - 725.0 - 730.0 - 735.0 - 740.0 - 745.0 - 750.0 - 755.0 - 760.0 - 765.0 - 770.0 - 775.0 - 800.0 - 816.7 - 833.3 - 850.0 - 866.7 - 883.3 - 900.0 - 914.3 - 928.6 - 942.9 - 957.1 - 971.4 - 985.7 - 1000.0 - - - - - 1 - 2 - 4 - 6 - 8 - 10 - 15 - 20 - 25 - 30 - 35 - 40 - 45 - 50 - 55 - 60 - 65 - 70 - 75 - 80 - 85 - 90 - 95 - 100 - 120 - 140 - 160 - 180 - 200 - 220 - 240 - 260 - 280 - 300 - 320 - 340 - 360 - 380 - 400 - 420 - 440 - 460 - 480 - 500 - 700 - 900 - 1100 - 1300 - 1500 - 1700 - 1900 - 2000 - 25003000350040004500500055006000650070007500800085009000950010000105001100011500120001250013000135001400014500150001600017000 - 18000 - 19000 - 20000 - 21000 - 22000 - 23000 - 24000 - 25000 - 26000 - 27000 - 280002900030000350004000045000500005500060000 - 65000 - 700007500080000850009000095000100000 - - - - - 23 - 10 - 15 - 3045607590105 - 120 - 135 - 150 - 165 - 180195210225240 - 255 - - - - - 2 - 4 - 22 - 30 - 68 - 95 - 133 - 165 - 192 - 218 - 255 - 290 - 326 - 352 - 384399422 - 432 - 442 - 455 - - - - - 2000 - 2000 - 1000 - 1000 - 500 - 500 - 500 - 500 - - - - - 800 - 800 - 800 - 800 - 800 - 500 - 500500 - - - - 2 - 10 - 30 - 100 - 800 - 2000 - 4000 - - - - - 0 - - - - 0 - - - - 100% - - - 1000 - 1000 - - - 255 - - - 2 - - - 6 + + + + + + + + true + + + true + + + true + + + false + + + true + + + vendor.qti.iwlan + + + + 4 + 5 + 10 + 30 + 100 + 400 + 600 + 1000 + + + + + 800 + 800 + 500 + 500 + 500 + 500 + 500 + 500 + + + + + 2 + 10 + 30 + 100 + 800 + 2000 + 4000 + + + + + 3.5 + 4.3 + 5.0 + 17.0 + 24.0 + 31.0 + 34.0 + 46.0 + 59.0 + 76.0 + 81.0 + 82.0 + 83.0 + 84.0 + 85.0 + 86.0 + 87.0 + 89.0 + 90.0 + 91.0 + 93.0 + 94.0 + 96.0 + 97.0 + 99.0 + 100.0 + 101.0 + 104.0 + 105.0 + 106.0 + 108.0 + 109.0 + 111.0 + 112.0 + 114.0 + 116.0 + 137.0 + 157.0 + 180.0 + 205.0 + 226.0 + 257.0 + 280.0 + 295.0 + 369.0 + 400.0 + 416.7 + 433.3 + 450.0 + 466.7 + 483.3 + 500.0 + 512.5 + 525.0 + 537.5 + 550.0 + 562.5 + 575.0 + 587.5 + 600.0 + 610.0 + 620.0 + 630.0 + 640.0 + 650.0 + 660.0 + 670.0 + 680.0 + 690.0 + 700.0 + 705.0 + 710.0 + 715.0 + 720.0 + 725.0 + 730.0 + 735.0 + 740.0 + 745.0 + 750.0 + 755.0 + 760.0 + 765.0 + 770.0 + 775.0 + 800.0 + 816.7 + 833.3 + 850.0 + 866.7 + 883.3 + 900.0 + 914.3 + 928.6 + 942.9 + 957.1 + 971.4 + 985.7 + 1000.0 + + + + + 1 + 2 + 4 + 6 + 8 + 10 + 15 + 20 + 25 + 30 + 35 + 40 + 45 + 50 + 55 + 60 + 65 + 70 + 75 + 80 + 85 + 90 + 95 + 100 + 120 + 140 + 160 + 180 + 200 + 220 + 240 + 260 + 280 + 300 + 320 + 340 + 360 + 380 + 400 + 420 + 440 + 460 + 480 + 500 + 700 + 900 + 1100 + 1300 + 1500 + 1700 + 1900 + 2000 + 25003000350040004500500055006000650070007500800085009000950010000105001100011500120001250013000135001400014500150001600017000 + 18000 + 19000 + 20000 + 21000 + 22000 + 23000 + 24000 + 25000 + 26000 + 27000 + 280002900030000350004000045000500005500060000 + 65000 + 700007500080000850009000095000100000 + + + + + 23 + 10 + 15 + 3045607590105 + 120 + 135 + 150 + 165 + 180195210225240 + 255 + + + + + 2 + 4 + 22 + 30 + 68 + 95 + 133 + 165 + 192 + 218 + 255 + 290 + 326 + 352 + 384399422 + 432 + 442 + 455 + + + + + 2000 + 2000 + 1000 + 1000 + 500 + 500 + 500 + 500 + + + + + 800 + 800 + 800 + 800 + 800 + 500 + 500500 + + + + 2 + 10 + 30 + 100 + 800 + 2000 + 4000 + + + + + 0 + + + + 0 + + + + 100% + + + 1000 + 1000 + + + 255 + + + 2 + + + 6 \ No newline at end of file diff --git a/overlay/frameworks/base/core/res/res/values/dimens.xml b/overlay/frameworks/base/core/res/res/values/dimens.xml index a0290cd..5f5d197 100644 --- a/overlay/frameworks/base/core/res/res/values/dimens.xml +++ b/overlay/frameworks/base/core/res/res/values/dimens.xml @@ -1,30 +1,30 @@ - - - - - - 48.0dip - - 48.0dip - - 29.0dip - - 29.0dip - - 29.0dip - - - 10.0dip - + + + + + + 48.0dip + + 48.0dip + + 29.0dip + + 29.0dip + + 29.0dip + + + 10.0dip + \ No newline at end of file diff --git a/overlay/frameworks/base/core/res/res/xml/power_profile.xml b/overlay/frameworks/base/core/res/res/xml/power_profile.xml index fed7b74..464fab9 100644 --- a/overlay/frameworks/base/core/res/res/xml/power_profile.xml +++ b/overlay/frameworks/base/core/res/res/xml/power_profile.xml @@ -1,98 +1,98 @@ - - - 8400 - 79.01 - 479.19 - 158 - 300 - 53.25 - 35.94 - - 6 - 2 - - 5.43 - 3.61 - 19.87 - 12 - 12 - - 300000 - 576000 - 768000 - 1017600 - 1248000 - 1324800 - 1497600 - 1612800 - 1708800 - 1804800 - - - 11 - 23 - 28 - 43 - 52 - 79 - 90 - 108 - 128 - 149 - - - 300000 - 652800 - 806400 - 979200 - 1094400 - 1209600 - 1324800 - 1555200 - 1708800 - 1843200 - 1939200 - 2169600 - 2208000 - - - 243 - 297 - 312 - 362 - 389 - 448 - 586 - 696 - 876 - 900 - 948 - 1180 - 1300 - - 1.6 - 2 - 140 - 260 - 3700 - 0 - 3 - 150 - - 150 - 180 - 230 - 300 - 390 - - 3700 - - 49 - 8 - - 3700 - 0.01 - 9 - 7 - 3300 + + + 8400 + 79.01 + 479.19 + 158 + 300 + 53.25 + 35.94 + + 6 + 2 + + 5.43 + 3.61 + 19.87 + 12 + 12 + + 300000 + 576000 + 768000 + 1017600 + 1248000 + 1324800 + 1497600 + 1612800 + 1708800 + 1804800 + + + 11 + 23 + 28 + 43 + 52 + 79 + 90 + 108 + 128 + 149 + + + 300000 + 652800 + 806400 + 979200 + 1094400 + 1209600 + 1324800 + 1555200 + 1708800 + 1843200 + 1939200 + 2169600 + 2208000 + + + 243 + 297 + 312 + 362 + 389 + 448 + 586 + 696 + 876 + 900 + 948 + 1180 + 1300 + + 1.6 + 2 + 140 + 260 + 3700 + 0 + 3 + 150 + + 150 + 180 + 230 + 300 + 390 + + 3700 + + 49 + 8 + + 3700 + 0.01 + 9 + 7 + 3300 \ No newline at end of file diff --git a/overlay/frameworks/base/packages/SystemUI/res/values/config.xml b/overlay/frameworks/base/packages/SystemUI/res/values/config.xml index 4c89a03..e54a8cf 100644 --- a/overlay/frameworks/base/packages/SystemUI/res/values/config.xml +++ b/overlay/frameworks/base/packages/SystemUI/res/values/config.xml @@ -1,27 +1,27 @@ - - - - - - - - false - + + + + + + + + false + \ No newline at end of file diff --git a/overlay/frameworks/base/packages/SystemUI/res/values/dimens.xml b/overlay/frameworks/base/packages/SystemUI/res/values/dimens.xml index 9796b1d..17af6e1 100644 --- a/overlay/frameworks/base/packages/SystemUI/res/values/dimens.xml +++ b/overlay/frameworks/base/packages/SystemUI/res/values/dimens.xml @@ -1,21 +1,21 @@ - - - - - 0.0dip + + + + + 0.0dip \ No newline at end of file