diff --git a/Lenovo/Q706F/Android.mk b/Lenovo/Q706F/Android.mk new file mode 100644 index 0000000..b72b25a --- /dev/null +++ b/Lenovo/Q706F/Android.mk @@ -0,0 +1,8 @@ +LOCAL_PATH := $(call my-dir) +include $(CLEAR_VARS) +LOCAL_MODULE_TAGS := optional +LOCAL_PACKAGE_NAME := treble-overlay-lenovo-Q706F +LOCAL_MODULE_PATH := $(TARGET_OUT_PRODUCT)/overlay +LOCAL_IS_RUNTIME_RESOURCE_OVERLAY := true +LOCAL_PRIVATE_PLATFORM_APIS := true +include $(BUILD_PACKAGE) diff --git a/Lenovo/Q706F/AndroidManifest.xml b/Lenovo/Q706F/AndroidManifest.xml new file mode 100644 index 0000000..8216a8a --- /dev/null +++ b/Lenovo/Q706F/AndroidManifest.xml @@ -0,0 +1,10 @@ + + + diff --git a/Lenovo/Q706F/res/values/arrays.xml b/Lenovo/Q706F/res/values/arrays.xml new file mode 100644 index 0000000..9df0d38 --- /dev/null +++ b/Lenovo/Q706F/res/values/arrays.xml @@ -0,0 +1,87 @@ + + + + 0 + 1 + 3 + 256 + 257 + 258 + 259 + 260 + 261 + 262 + 263 + 264 + 265 + + + 5gnr:2097152,6291456,16777216,512000,2097152,8388608 + lte:2097152,4194304,8388608,262144,524288,1048576 + lte_ca:4096,6291456,12582912,4096,1048576,2097152 + umts:4094,87380,1220608,4096,16384,1220608 + hspa:4094,87380,1220608,4096,16384,1220608 + hsupa:4094,87380,1220608,4096,16384,1220608 + hsdpa:4094,87380,1220608,4096,16384,1220608 + hspap:4094,87380,1220608,4096,16384,1220608 + edge:4093,26280,35040,4096,16384,35040 + gprs:4092,8760,11680,4096,8760,11680 + evdo:4094,87380,524288,4096,16384,262144 + + + bnep\\d + bt-pan + + + 0 + 1 + 5 + 7 + + + usb\\d + rndis\\d + + + softap0 + wlan0 + + + wifi,1,1,1,-1,true + mobile,0,0,0,-1,true + mobile_mms,2,0,4,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,2,60000,true + mobile_cbs,12,0,2,60000,true + bluetooth,7,7,2,-1,true + mobile_emergency,15,0,5,-1,true + ethernet,9,9,9,-1,true + + + 1,1 + 0,1 + 7,1 + + + 10 + 60 + 210 + 350 + 420 + 1000 + 5000 + + + 77 + 77 + 120 + 144 + 198 + 230 + 247 + 255 + + diff --git a/Lenovo/Q706F/res/values/bools.xml b/Lenovo/Q706F/res/values/bools.xml new file mode 100644 index 0000000..f91070e --- /dev/null +++ b/Lenovo/Q706F/res/values/bools.xml @@ -0,0 +1,25 @@ + + + true + true + true + true + true + true + true + true + true + false + true + true + true + true + false + true + true + true + true + true + true + true + diff --git a/Lenovo/Q706F/res/values/integers.xml b/Lenovo/Q706F/res/values/integers.xml new file mode 100644 index 0000000..06e3f8a --- /dev/null +++ b/Lenovo/Q706F/res/values/integers.xml @@ -0,0 +1,6 @@ + + + 240 + 0 + 17 + diff --git a/Lenovo/Q706F/res/xml/power_profile.xml b/Lenovo/Q706F/res/xml/power_profile.xml new file mode 100644 index 0000000..17aeb6d --- /dev/null +++ b/Lenovo/Q706F/res/xml/power_profile.xml @@ -0,0 +1,162 @@ + + + 0 + 300 + 1655 + + 4 + 4 + + + 518400 + 614400 + 691200 + 787200 + 883200 + 979200 + 1075200 + 1171200 + 1248000 + 1344000 + 1420800 + 1516800 + 1612800 + 1708800 + 1804800 + + + 7 + 8 + 10 + 11 + 12 + 13 + 15 + 16 + 17 + 19 + 21 + 23 + 25 + 29 + 31 + + + 710400 + 825600 + 844800 + 940800 + 960000 + 1056000 + 1075200 + 1171200 + 1190400 + 1286400 + 1305600 + 1382400 + 1401600 + 1478400 + 1516800 + 1574400 + 1632000 + 1670400 + 1747200 + 1766400 + 1862400 + 1958400 + 1977600 + 2054400 + 2073600 + 2150400 + 2169600 + 2246400 + 2265600 + 2342400 + 2361600 + 2419200 + 2457600 + 2553600 + 2649600 + 2745600 + 2841600 + + + 30 + 37 + 53 + 45 + 61 + 51 + 67 + 60 + 76 + 68 + 88 + 72 + 92 + 81 + 102 + 94 + 116 + 100 + 129 + 109 + 133 + 141 + 168 + 149 + 182 + 163 + 224 + 180 + 233 + 198 + 240 + 209 + 249 + 272 + 295 + 330 + 366 + + 7.6 + 0.1 + 0 + 10200 + 0.1 + 168 + 1.3 + 24 + 63 + 650 + 380 + 10 + 168 + 6 + + 88 + 8 + + 6 + 180 + 186 + 3700 + + 17 + + 1 + 152 + 190 + 1 + 3700 + + .0001 + .001 + .01 + .1 + 1 + + 135 + 0.6 + 3700 + \ No newline at end of file diff --git a/overlay.mk b/overlay.mk index 80b1ff4..8e4be51 100644 --- a/overlay.mk +++ b/overlay.mk @@ -54,6 +54,7 @@ PRODUCT_PACKAGES += \ treble-overlay-infinix-s4 \ treble-overlay-infinix-zero6 \ treble-overlay-lenovo-k5pro \ + treble-overlay-lenovo-Q706F \ treble-overlay-lenovo-s5 \ treble-overlay-lenovo-s5pro \ treble-overlay-lenovo-tabv7 \