From 0491139665649d3cb2975ef82d8781d70ee5acd4 Mon Sep 17 00:00:00 2001 From: Jan Altensen Date: Wed, 28 Aug 2019 21:39:59 +0200 Subject: [PATCH] dream2 Change-Id: Icabc539b7ea862d69dc7acfbb587439802923246 --- Android.mk | 2 +- AndroidProducts.mk | 2 +- BoardConfig.mk | 8 +- lineage_dreamlte.mk => lineage_dream2lte.mk | 16 +-- .../base/core/res/res/xml/power_profile.xml | 2 +- .../core/res/res/xml/power_profile_dream2.xml | 110 ++++++++++++++++++ 6 files changed, 125 insertions(+), 15 deletions(-) rename lineage_dreamlte.mk => lineage_dream2lte.mk (75%) create mode 100644 overlay/frameworks/base/core/res/res/xml/power_profile_dream2.xml diff --git a/Android.mk b/Android.mk index 31d7f4f..5164e67 100644 --- a/Android.mk +++ b/Android.mk @@ -21,7 +21,7 @@ LOCAL_PATH := $(call my-dir) -ifeq ($(TARGET_DEVICE),dreamlte) +ifeq ($(TARGET_DEVICE),dream2lte) include $(call all-makefiles-under,$(LOCAL_PATH)) diff --git a/AndroidProducts.mk b/AndroidProducts.mk index e583cd3..6b51892 100644 --- a/AndroidProducts.mk +++ b/AndroidProducts.mk @@ -14,4 +14,4 @@ # limitations under the License. PRODUCT_MAKEFILES := \ - $(LOCAL_DIR)/lineage_dreamlte.mk + $(LOCAL_DIR)/lineage_dream2lte.mk diff --git a/BoardConfig.mk b/BoardConfig.mk index c3a6ee1..8e5ae11 100644 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -16,13 +16,13 @@ # inherit from common -include device/samsung/universal8895-common/BoardConfigCommon.mk -DEVICE_PATH := device/samsung/dreamlte +DEVICE_PATH := device/samsung/dream2lte # Assert -TARGET_OTA_ASSERT_DEVICE := dreamlte +TARGET_OTA_ASSERT_DEVICE := dream2lte # Kernel -TARGET_KERNEL_CONFIG := exynos8895-dreamlte_defconfig +TARGET_KERNEL_CONFIG := exynos8895-dream2lte_defconfig # inherit from the proprietary version --include vendor/samsung/dreamlte/BoardConfigVendor.mk +-include vendor/samsung/dream2lte/BoardConfigVendor.mk diff --git a/lineage_dreamlte.mk b/lineage_dream2lte.mk similarity index 75% rename from lineage_dreamlte.mk rename to lineage_dream2lte.mk index 3f643f8..f226df6 100644 --- a/lineage_dreamlte.mk +++ b/lineage_dream2lte.mk @@ -18,25 +18,25 @@ $(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk) $(call inherit-product, $(SRC_TARGET_DIR)/product/full_base.mk) -# Inherit from dreamlte device -$(call inherit-product, device/samsung/dreamlte/device.mk) +# Inherit from dream2lte device +$(call inherit-product, device/samsung/dream2lte/device.mk) $(call inherit-product, $(SRC_TARGET_DIR)/product/full_base_telephony.mk) # Inherit some common Lineage stuff. $(call inherit-product, vendor/lineage/config/common_full_phone.mk) # Device identifier. This must come after all inclusions -PRODUCT_DEVICE := dreamlte -PRODUCT_NAME := lineage_dreamlte +PRODUCT_DEVICE := dream2lte +PRODUCT_NAME := lineage_dream2lte PRODUCT_BRAND := samsung -PRODUCT_MODEL := SM-G950F +PRODUCT_MODEL := SM-G955F PRODUCT_MANUFACTURER := samsung PRODUCT_GMS_CLIENTID_BASE := android-samsung # Use the latest approved GMS identifiers PRODUCT_BUILD_PROP_OVERRIDES += \ - PRODUCT_NAME=dreamltexx \ - PRIVATE_BUILD_DESC="dreamltexx-user 8.0.0 R16NW G950FXXU1CRC7 release-keys" + PRODUCT_NAME=dream2ltexx \ + PRIVATE_BUILD_DESC="dream2ltexx-user 8.0.0 R16NW G955FXXU1CRC7 release-keys" -BUILD_FINGERPRINT := samsung/dreamltexx/dreamlte:9/PPR1.180610.011/G950FXXS4DSC2:user/release-keys +BUILD_FINGERPRINT := samsung/dream2ltexx/dreamlte:8.0.0/R16NW/G955FXXU1CRC7:user/release-keys 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 3e4de64..35b4cb8 100644 --- a/overlay/frameworks/base/core/res/res/xml/power_profile.xml +++ b/overlay/frameworks/base/core/res/res/xml/power_profile.xml @@ -99,7 +99,7 @@ 4.4 22 - 3000 + 3500 .0002 .002 diff --git a/overlay/frameworks/base/core/res/res/xml/power_profile_dream2.xml b/overlay/frameworks/base/core/res/res/xml/power_profile_dream2.xml new file mode 100644 index 0000000..35b4cb8 --- /dev/null +++ b/overlay/frameworks/base/core/res/res/xml/power_profile_dream2.xml @@ -0,0 +1,110 @@ + + + 0 + 52 + 270 + 122 + 0.5 + 0.29 + 699 + 292 + 40 + 196 + 66.21 + 616 + 177 + 132 + 61.4 + + 6.82 + 6.82 + + + 4 + 4 + + + 98 + 92 + 85 + 75 + 67 + 57 + 53 + 50 + 47 + 43 + 39 + 34 + + + 1586000 + 1482000 + 1378000 + 1274000 + 1170000 + 1066000 + 962000 + 858000 + 754000 + 650000 + 546000 + 442000 + + + 832 + 745 + 681 + 628 + 556 + 508 + 459 + 404 + 370 + 334 + 303 + 278 + 249 + 225 + 215 + 197 + 182 + 168 + 164 + 160 + 155 + + + 2600000 + 2496000 + 2392000 + 2288000 + 2184000 + 2080000 + 1976000 + 1872000 + 1768000 + 1664000 + 1560000 + 1456000 + 1352000 + 1248000 + 1144000 + 1040000 + 936000 + 832000 + 728000 + 624000 + 520000 + + 4.4 + 22 + 3500 + + .0002 + .002 + .02 + .2 + 2 + + -- 2.20.1