From ef1b34251c704c8c6081d3ef3f891b1e3a5c0e05 Mon Sep 17 00:00:00 2001 From: LFOM Date: Fri, 29 Oct 2021 18:00:20 -0300 Subject: [PATCH] Add Huawei FIG (hi6250 board) overlay --- Huawei/hi6250/FIG/Android.mk | 8 + Huawei/hi6250/FIG/AndroidManifest.xml | 10 + Huawei/hi6250/FIG/res/values/config.xml | 200 ++++++++++++++++++++ Huawei/hi6250/FIG/res/xml/power_profile.xml | 71 +++++++ overlay.mk | 1 + 5 files changed, 290 insertions(+) create mode 100644 Huawei/hi6250/FIG/Android.mk create mode 100644 Huawei/hi6250/FIG/AndroidManifest.xml create mode 100644 Huawei/hi6250/FIG/res/values/config.xml create mode 100644 Huawei/hi6250/FIG/res/xml/power_profile.xml diff --git a/Huawei/hi6250/FIG/Android.mk b/Huawei/hi6250/FIG/Android.mk new file mode 100644 index 0000000..8d91926 --- /dev/null +++ b/Huawei/hi6250/FIG/Android.mk @@ -0,0 +1,8 @@ +LOCAL_PATH := $(call my-dir) +include $(CLEAR_VARS) +LOCAL_MODULE_TAGS := optional +LOCAL_PACKAGE_NAME := treble-overlay-huawei-FIG +LOCAL_MODULE_PATH := $(TARGET_OUT_PRODUCT)/overlay +LOCAL_IS_RUNTIME_RESOURCE_OVERLAY := true +LOCAL_PRIVATE_PLATFORM_APIS := true +include $(BUILD_PACKAGE) diff --git a/Huawei/hi6250/FIG/AndroidManifest.xml b/Huawei/hi6250/FIG/AndroidManifest.xml new file mode 100644 index 0000000..72c377d --- /dev/null +++ b/Huawei/hi6250/FIG/AndroidManifest.xml @@ -0,0 +1,10 @@ + + + diff --git a/Huawei/hi6250/FIG/res/values/config.xml b/Huawei/hi6250/FIG/res/values/config.xml new file mode 100644 index 0000000..c5bca7c --- /dev/null +++ b/Huawei/hi6250/FIG/res/values/config.xml @@ -0,0 +1,200 @@ + + + + + + + + + 8 + 55 + 350 + 1600 + 2550 + + + + + 6 + 47 + 150 + 180 + 250 + 255 + + + + 6 + + + 4 + + + true + + + true + + + false + + + false + + + false + + + false + + + + 4 + + + true + + + + rndis0 + + + + + wlan0|ap0 + + + + + bt-pan + + + + + + 1 + 7 + 0 + + + + false + + + false + + + true + + + true + + + true + + + true + + + true + + + true + + + + + diff --git a/Huawei/hi6250/FIG/res/xml/power_profile.xml b/Huawei/hi6250/FIG/res/xml/power_profile.xml new file mode 100644 index 0000000..4ff1f93 --- /dev/null +++ b/Huawei/hi6250/FIG/res/xml/power_profile.xml @@ -0,0 +1,71 @@ + + + + + 0 + 147 + 145 + 1.4 + 1.4 + 408 + 0.7 + 200 + 85 + 43 + 187 + 92 + 70 + 3000 + 65 + + + 13.0 + 10.0 + 10.0 + 10.0 + 10.0 + + + 480000 + 807000 + 1306000 + 1402000 + 1709000 + 1805000 + 2016000 + 2112000 + 2362000 + + + 3.9 + + 43 + + + 107 + 181 + 425 + 538 + 851 + 899 + 1417 + 1484 + 2323 + + diff --git a/overlay.mk b/overlay.mk index 31ef876..2f47cd1 100755 --- a/overlay.mk +++ b/overlay.mk @@ -35,6 +35,7 @@ PRODUCT_PACKAGES += \ treble-overlay-huawei-COR \ treble-overlay-huawei-DUK \ treble-overlay-huawei-EML \ + treble-overlay-huawei-FIG \ treble-overlay-huawei-LLD \ treble-overlay-huawei-PIC \ treble-overlay-huawei-PRA \