From 429086b305562332a65b5fabce1924c80aa30177 Mon Sep 17 00:00:00 2001 From: K4zoku Date: Wed, 11 Jan 2023 16:48:14 +0700 Subject: [PATCH] Add overlay for VSmart Active 3 --- Vsmart/Active3/Android.mk | 8 ++++ Vsmart/Active3/AndroidManifest.xml | 10 +++++ Vsmart/Active3/res/values/arrays.xml | 47 +++++++++++++++++++++ Vsmart/Active3/res/values/bools.xml | 19 +++++++++ Vsmart/Active3/res/values/integers.xml | 6 +++ Vsmart/Active3/res/values/public.xml | 29 +++++++++++++ Vsmart/Active3/res/values/strings.xml | 4 ++ Vsmart/Active3/res/xml/power_profile.xml | 52 ++++++++++++++++++++++++ 8 files changed, 175 insertions(+) create mode 100644 Vsmart/Active3/Android.mk create mode 100644 Vsmart/Active3/AndroidManifest.xml create mode 100644 Vsmart/Active3/res/values/arrays.xml create mode 100644 Vsmart/Active3/res/values/bools.xml create mode 100644 Vsmart/Active3/res/values/integers.xml create mode 100644 Vsmart/Active3/res/values/public.xml create mode 100644 Vsmart/Active3/res/values/strings.xml create mode 100644 Vsmart/Active3/res/xml/power_profile.xml diff --git a/Vsmart/Active3/Android.mk b/Vsmart/Active3/Android.mk new file mode 100644 index 0000000..5f3276e --- /dev/null +++ b/Vsmart/Active3/Android.mk @@ -0,0 +1,8 @@ +LOCAL_PATH := $(call my-dir) +include $(CLEAR_VARS) +LOCAL_MODULE_TAGS := optional +LOCAL_PACKAGE_NAME := treble-overlay-vsmart-active3 +LOCAL_MODULE_PATH := $(TARGET_OUT_PRODUCT)/overlay +LOCAL_IS_RUNTIME_RESOURCE_OVERLAY := true +LOCAL_PRIVATE_PLATFORM_APIS := true +include $(BUILD_PACKAGE) diff --git a/Vsmart/Active3/AndroidManifest.xml b/Vsmart/Active3/AndroidManifest.xml new file mode 100644 index 0000000..5ed9689 --- /dev/null +++ b/Vsmart/Active3/AndroidManifest.xml @@ -0,0 +1,10 @@ + + + diff --git a/Vsmart/Active3/res/values/arrays.xml b/Vsmart/Active3/res/values/arrays.xml new file mode 100644 index 0000000..7d22072 --- /dev/null +++ b/Vsmart/Active3/res/values/arrays.xml @@ -0,0 +1,47 @@ + + + + wifi,1,1,1,-1,true + mobile,0,0,0,-1,true + mobile_mms,2,0,2,60000,true + mobile_supl,3,0,2,60000,true + mobile_dun,4,0,2,60000,true + mobile_hipri,5,0,3,60000,true + mobile_fota,10,0,2,60000,true + mobile_ims,11,0,-1,-1,true + mobile_cbs,12,0,2,60000,true + wifi_p2p,13,1,0,-1,true + mobile_ia,14,0,2,-1,true + mobile_emergency,15,0,2,-1,true + mobile_wap,21,0,3,60000,true + mobile_xcap,25,0,3,60000,true + mobile_rcs,26,0,3,60000,true + mobile_bip,27,0,3,60000,true + mobile_vsim,28,0,-1,60000,true + mobile_preempt,29,0,9,60000,true + + + rndis\\d + + + ap\\d + + + bt-pan + bt-dun + + + /system/framework/arm/boot-mediatek-framework.vdex + /system/lib/libjavacrypto.so + /system/lib/libhidltransport.so + /system/framework/arm/boot-core-libart.oat + /system/framework/arm/boot-conscrypt.oat + /system/framework/arm/boot-core-libart.vdex + /system/framework/arm/boot-ext.vdex + /system/framework/arm/boot.vdex + /system/framework/arm/boot-framework.vdex + + + com.google.android.gms + + diff --git a/Vsmart/Active3/res/values/bools.xml b/Vsmart/Active3/res/values/bools.xml new file mode 100644 index 0000000..fbf1b1b --- /dev/null +++ b/Vsmart/Active3/res/values/bools.xml @@ -0,0 +1,19 @@ + + + true + false + false + false + true + true + true + true + true + true + true + false + true + true + true + true + diff --git a/Vsmart/Active3/res/values/integers.xml b/Vsmart/Active3/res/values/integers.xml new file mode 100644 index 0000000..3880351 --- /dev/null +++ b/Vsmart/Active3/res/values/integers.xml @@ -0,0 +1,6 @@ + + + 1 + 255 + 1 + diff --git a/Vsmart/Active3/res/values/public.xml b/Vsmart/Active3/res/values/public.xml new file mode 100644 index 0000000..77e52a7 --- /dev/null +++ b/Vsmart/Active3/res/values/public.xml @@ -0,0 +1,29 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Vsmart/Active3/res/values/strings.xml b/Vsmart/Active3/res/values/strings.xml new file mode 100644 index 0000000..4267c26 --- /dev/null +++ b/Vsmart/Active3/res/values/strings.xml @@ -0,0 +1,4 @@ + + + com.mediatek.ims + diff --git a/Vsmart/Active3/res/xml/power_profile.xml b/Vsmart/Active3/res/xml/power_profile.xml new file mode 100644 index 0000000..6e99d2a --- /dev/null +++ b/Vsmart/Active3/res/xml/power_profile.xml @@ -0,0 +1,52 @@ + + + 0 + 1.3 + 460 + 33.2 + 1.7 + 0.3 + 225.85 + 54.5 + 29.3 + 183.6 + 0.1 + 0.1 + 50 + 77 + 34.8 + + 1.2 + 1.2 + + 0 + 0 + 0 + 0 + + 1 + + + 400000 + + + 100 + + 0.1 + + 22.7 + + 3950 + 0 + 0 + 0 + + 0 + + .0002 + .002 + .02 + .2 + 2 + + \ No newline at end of file