From: Jan Altensen Date: Sun, 14 Jul 2019 18:22:41 +0000 (+0200) Subject: meh X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=46bfb4cc4d0b5ac4f23800f100149b45d9a92419;p=GitHub%2Fexynos8895%2Fandroid_device_samsung_greatlte.git meh Change-Id: Iaec2dad881e97e3ac3f959b2297dcce1c56f5720 --- 46bfb4cc4d0b5ac4f23800f100149b45d9a92419 diff --git a/Android.mk b/Android.mk new file mode 100644 index 0000000..31d7f4f --- /dev/null +++ b/Android.mk @@ -0,0 +1,28 @@ +# +# Copyright (C) 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. + +# WARNING: Everything listed here will be built on ALL platforms, +# including x86, the emulator, and the SDK. Modules must be uniquely +# named (liblights.tuna), and must build everywhere, or limit themselves +# to only building on ARM if they include assembly. Individual makefiles +# are responsible for having their own logic, for fine-grained control. + +LOCAL_PATH := $(call my-dir) + +ifeq ($(TARGET_DEVICE),dreamlte) + +include $(call all-makefiles-under,$(LOCAL_PATH)) + +endif diff --git a/AndroidProducts.mk b/AndroidProducts.mk new file mode 100644 index 0000000..e583cd3 --- /dev/null +++ b/AndroidProducts.mk @@ -0,0 +1,17 @@ +# +# Copyright (C) 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. + +PRODUCT_MAKEFILES := \ + $(LOCAL_DIR)/lineage_dreamlte.mk diff --git a/BoardConfig.mk b/BoardConfig.mk new file mode 100644 index 0000000..c3a6ee1 --- /dev/null +++ b/BoardConfig.mk @@ -0,0 +1,28 @@ +# +# Copyright (C) 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. + +# inherit from common +-include device/samsung/universal8895-common/BoardConfigCommon.mk + +DEVICE_PATH := device/samsung/dreamlte + +# Assert +TARGET_OTA_ASSERT_DEVICE := dreamlte + +# Kernel +TARGET_KERNEL_CONFIG := exynos8895-dreamlte_defconfig + +# inherit from the proprietary version +-include vendor/samsung/dreamlte/BoardConfigVendor.mk diff --git a/device.mk b/device.mk new file mode 100644 index 0000000..ad5f3eb --- /dev/null +++ b/device.mk @@ -0,0 +1,20 @@ +# +# Copyright (C) 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. +# + +DEVICE_PACKAGE_OVERLAYS += $(LOCAL_PATH)/overlay + +# Inherit from common +$(call inherit-product, device/samsung/universal8895-common/device-common.mk) diff --git a/lineage.dependencies b/lineage.dependencies new file mode 100644 index 0000000..586c242 --- /dev/null +++ b/lineage.dependencies @@ -0,0 +1,6 @@ +[ + { + "repository": "android_device_samsung_universal8895-common", + "target_path": "device/samsung/universal8895-common" + } +] diff --git a/lineage_dreamlte.mk b/lineage_dreamlte.mk new file mode 100644 index 0000000..5c7a412 --- /dev/null +++ b/lineage_dreamlte.mk @@ -0,0 +1,41 @@ +# +# Copyright (C) 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. +# + +# 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.mk) + +# Inherit from dreamlte device +$(call inherit-product, device/samsung/dreamlte/device.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_BRAND := samsung +PRODUCT_MODEL := SM-G950F +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" + +BUILD_FINGERPRINT := samsung/dreamltexx/dreamlte:9/PPR1.180610.011/G950FXXS4DSC2: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 new file mode 100644 index 0000000..3e4de64 --- /dev/null +++ b/overlay/frameworks/base/core/res/res/xml/power_profile.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 + 3000 + + .0002 + .002 + .02 + .2 + 2 + +