added overlay for Zenfone Live L1 (Oreo 2/16 variant)

This commit is contained in:
v555574 2019-02-11 13:58:05 +04:00
parent 0b663dc2ed
commit dae20b1f12
5 changed files with 140 additions and 0 deletions

View file

@ -0,0 +1,8 @@
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE_TAGS := optional
LOCAL_PACKAGE_NAME := treble-overlay-asus-zenfonelivel1oreo
LOCAL_MODULE_PATH := $(TARGET_OUT)/overlay
LOCAL_IS_RUNTIME_RESOURCE_OVERLAY := true
LOCAL_PRIVATE_PLATFORM_APIS := true
include $(BUILD_PACKAGE)

View file

@ -0,0 +1,9 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="me.phh.treble.overlay.asus.zenfonelivel1"
android:versionCode="1"
android:versionName="1.0">
<overlay android:targetPackage="android"
android:requiredSystemPropertyValue="+*ASUS_X00RD*"
android:priority="81"
android:isStatic="true" />
</manifest>

View file

@ -0,0 +1,85 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<integer-array name="config_autoBrightnessLcdBacklightValues">
<item>7</item>
<item>10</item>
<item>30</item>
<item>45</item>
<item>57</item>
<item>69</item>
<item>88</item>
<item>101</item>
<item>110</item>
<item>117</item>
<item>128</item>
<item>139</item>
<item>150</item>
<item>193</item>
<item>223</item>
<item>246</item>
<item>257</item>
<item>262</item>
<item>266</item>
<item>270</item>
<item>337</item>
<item>405</item>
<item>472</item>
</integer-array>
<integer-array name="config_autoBrightnessLevels">
<item>15</item>
<item>30</item>
<item>50</item>
<item>100</item>
<item>200</item>
<item>300</item>
<item>400</item>
<item>500</item>
<item>650</item>
<item>800</item>
<item>1000</item>
<item>1500</item>
<item>2000</item>
<item>3000</item>
<item>4000</item>
<item>5000</item>
<item>7000</item>
<item>10000</item>
<item>12500</item>
<item>15000</item>
<item>17500</item>
<item>20000</item>
</integer-array>
<bool name="config_automatic_brightness_available">true</bool>
<bool name="config_setColorTransformAccelerated">true</bool>
<bool name="config_supportAudioSourceUnprocessed">false</bool>
<bool name="config_useDevInputEventForAudioJack">true</bool>
<bool name="skip_restoring_network_selection">true</bool>
<bool name="config_bluetooth_le_peripheral_mode_supported">true</bool>
<bool name="config_carrier_volte_available">true</bool>
<bool name="config_device_volte_available">true</bool>
<bool name="config_device_vt_available">true</bool>
<bool name="config_device_wfc_ims_available">true</bool>
<bool name="config_hotswapCapable">true</bool>
<bool name="config_intrusiveNotificationLed">false</bool>
<bool name="config_lidControlsSleep">false</bool>
<bool name="config_wifiDisplaySupportsProtectedBuffers">true</bool>
<bool name="config_wifi_background_scan_support">true</bool>
<bool name="config_wifi_batched_scan_supported">true</bool>
<bool name="config_wifi_dual_band_support">false</bool>
<bool name="config_powerDecoupleAutoSuspendModeFromDisplay">false</bool>
<fraction name="config_autoBrightnessAdjustmentMaxGamma">300.0%</fraction>
<fraction name="config_maximumScreenDimRatio">20.000004%</fraction>
<integer name="config_autoBrightnessBrighteningLightDebounce">1200</integer>
<integer name="config_autoBrightnessDarkeningLightDebounce">3000</integer>
<integer name="config_screenBrightnessDark">1</integer>
<integer name="config_screenBrightnessDim">10</integer>
<integer name="config_screenBrightnessDoze">17</integer>
<integer name="config_screenBrightnessSettingDefault">102</integer>
<integer name="config_screenBrightnessSettingMaximum">255</integer>
<integer name="config_screenBrightnessSettingMinimum">4</integer>
<integer name="config_bluetooth_idle_cur_ma">1</integer>
<integer name="config_bluetooth_operating_voltage_mv">3300</integer>
<integer name="config_bluetooth_rx_cur_ma">2</integer>
<integer name="config_bluetooth_tx_cur_ma">3</integer>
<integer name="config_shutdownBatteryTemperature">600</integer>
</resources>

View file

@ -0,0 +1,37 @@
<?xml version="1.0" encoding="utf-8"?>
<device name="Android">
<item name="screen.on">89.13</item>
<item name="screen.full">188.23</item>
<item name="wifi.on">0.29</item>
<item name="wifi.active">71.23</item>
<item name="wifi.scan">22.94</item>
<item name="bluetooth.on">0.77</item>
<item name="bluetooth.active">26.78</item>
<item name="dsp.audio">11.77</item>
<item name="dsp.video">72.61</item>
<item name="radio.active">136.85</item>
<item name="radio.on">1.43</item>
<item name="radio.scanning">8.05</item>
<item name="gps.on">31.68</item>
<item name="camera.flashlight">120.73</item>
<item name="camera.avg">492.94</item>
<array name="cpu.speeds">
<value>960000</value>
<value>1094400</value>
<value>1209600</value>
<value>1248000</value>
<value>1344000</value>
<value>1401000</value>
</array>
<array name="cpu.active">
<value>134</value>
<value>149</value>
<value>157</value>
<value>172</value>
<value>189</value>
<value>202</value>
</array>
<item name="cpu.awake">21.75</item>
<item name="cpu.idle">2.87</item>
<item name="battery.capacity">3000</item>
</device>

View file

@ -8,6 +8,7 @@ PRODUCT_PACKAGES += \
treble-overlay-Telephony-LTE \
treble-overlay-asus-zenfone5 \
treble-overlay-asus-zenfone5z \
treble-overlay-asus-zenfonelivel1oreo \
treble-overlay-caf-ims \
treble-overlay-devinputjack \
treble-overlay-huawei \