From bd64c0a20fd04e929a6f0271481800d357befd71 Mon Sep 17 00:00:00 2001 From: Paul Bouchara Date: Mon, 18 Mar 2019 19:14:23 +0100 Subject: [PATCH] Introduce XZ3 (akatsuki) overlays --- Sony/XZ3/Android.mk | 8 ++ Sony/XZ3/AndroidManifest.xml | 10 ++ Sony/XZ3/res/values/config.xml | 160 +++++++++++++++++++++++++++ Sony/XZ3/res/xml/apns.xml | 2 + Sony/XZ3/res/xml/power_profile.xml | 167 +++++++++++++++++++++++++++++ fail | 0 overlay.mk | 1 + 7 files changed, 348 insertions(+) create mode 100644 Sony/XZ3/Android.mk create mode 100644 Sony/XZ3/AndroidManifest.xml create mode 100644 Sony/XZ3/res/values/config.xml create mode 100644 Sony/XZ3/res/xml/apns.xml create mode 100644 Sony/XZ3/res/xml/power_profile.xml create mode 100644 fail diff --git a/Sony/XZ3/Android.mk b/Sony/XZ3/Android.mk new file mode 100644 index 0000000..4ba3496 --- /dev/null +++ b/Sony/XZ3/Android.mk @@ -0,0 +1,8 @@ +LOCAL_PATH := $(call my-dir) +include $(CLEAR_VARS) +LOCAL_MODULE_TAGS := optional +LOCAL_PACKAGE_NAME := treble-overlay-sony-XZ3 +LOCAL_MODULE_PATH := $(TARGET_OUT)/overlay +LOCAL_IS_RUNTIME_RESOURCE_OVERLAY := true +LOCAL_PRIVATE_PLATFORM_APIS := true +include $(BUILD_PACKAGE) diff --git a/Sony/XZ3/AndroidManifest.xml b/Sony/XZ3/AndroidManifest.xml new file mode 100644 index 0000000..b6d6bfd --- /dev/null +++ b/Sony/XZ3/AndroidManifest.xml @@ -0,0 +1,10 @@ + + + diff --git a/Sony/XZ3/res/values/config.xml b/Sony/XZ3/res/values/config.xml new file mode 100644 index 0000000..eb3236c --- /dev/null +++ b/Sony/XZ3/res/values/config.xml @@ -0,0 +1,160 @@ + + + + 5 + 5 + 7 + 13 + 27 + 37 + 43 + 97 + 113 + 133 + 143 + 157 + 200 + 343 + 487 + 600 + 720 + 807 + 850 + + + 1 + 2 + 3 + 5 + 8 + 10 + 50 + 100 + 200 + 300 + 500 + 1000 + 3000 + 5000 + 7000 + 10000 + 30000 + 50000 + + + 0 + 1 + 15 + 30 + 45 + 60 + 75 + 90 + 105 + 120 + 135 + 150 + 165 + 180 + 195 + 210 + 225 + 240 + 255 + + + 0 + 2 + 22.83 + 45.16 + 67.48 + 89.8 + 112.13 + 134.45 + 156.77 + 179.09 + 201.42 + 223.74 + 246.06 + 268.39 + 290.71 + 313.03 + 335.35 + 357.68 + 380 + + true + true + true + false + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + false + false + true + true + true + false + false + false + true + true + true + true + false + false + true + false + false + true + true + true + true + true + true + true + false + true + 300.0% + 25.0% + 4000 + 8000 + -1 + 250 + 0 + 0 + 0 + 0 + 0 + 200 + 50 + -1 + 0 + 1500 + 4 + 1 + 10 + 17 + 86 + 255 + 79 + 102 + 255 + 1 + 680 + diff --git a/Sony/XZ3/res/xml/apns.xml b/Sony/XZ3/res/xml/apns.xml new file mode 100644 index 0000000..c3b7994 --- /dev/null +++ b/Sony/XZ3/res/xml/apns.xml @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/Sony/XZ3/res/xml/power_profile.xml b/Sony/XZ3/res/xml/power_profile.xml new file mode 100644 index 0000000..ede9f48 --- /dev/null +++ b/Sony/XZ3/res/xml/power_profile.xml @@ -0,0 +1,167 @@ + + + 28.83 + 94.23 + 296.49 + 0 + 0 + 1.01 + 92.06 + 256.24 + 33.56 + 92.85 + 47.75 + 310.54 + 101.25 + 10.94 + + 4.70 + 4.70 + 4.70 + 4.70 + 4.70 + + + 4 + 4 + + + 300000 + 403200 + 480000 + 576000 + 652800 + 748800 + 825600 + 902400 + 979200 + 1056000 + 1132800 + 1228800 + 1324800 + 1420800 + 1516800 + 1612800 + 1689600 + 1766400 + + + 825600 + 902400 + 979200 + 1056000 + 1209600 + 1286400 + 1363200 + 1459200 + 1536000 + 1612800 + 1689600 + 1766400 + 1843200 + 1920000 + 1996800 + 2092800 + 2169600 + 2246400 + 2323200 + 2400000 + 2476800 + 2553600 + 2649600 + + + 27 + 28 + 28 + 29 + 29 + 30 + 30 + 31 + 31 + 32 + 33 + 34 + 35 + 36 + 37 + 39 + 41 + 43 + + + 38 + 43 + 44 + 46 + 48 + 50 + 51 + 54 + 56 + 58 + 60 + 63 + 66 + 68 + 71 + 79 + 88 + 91 + 93 + 102 + 109 + 118 + 129 + + 0.01 + 12.20 + 0.01 + + 37.2 + 39.4 + 40.2 + 49.5 + 55.0 + 64.0 + 77.0 + 82.8 + 103.0 + 117.4 + 128.0 + 143.9 + + 3200 + 0.00 + 5.55 + 6.70 + + 600.00 + + .0002 + .002 + .02 + .2 + 2 + + 0.78 + 80.85 + + 75.11 + 75.11 + 75.11 + 75.11 + 75.11 + + 575 + 0.01 + 60.00 + 46.94 + 600.00 + + 41.05 + 10.26 + + 3700 + \ No newline at end of file diff --git a/fail b/fail new file mode 100644 index 0000000..e69de29 diff --git a/overlay.mk b/overlay.mk index 3764e36..f39d089 100644 --- a/overlay.mk +++ b/overlay.mk @@ -41,6 +41,7 @@ PRODUCT_PACKAGES += \ treble-overlay-razer-cheryl \ treble-overlay-samsung-s9-systemui \ treble-overlay-sharp-s2 \ + treble-overlay-sony-XZ3 \ treble-overlay-webview \ treble-overlay-wifi5g \ treble-overlay-xiaomi-mi6x \