add support to AUM-L29
This commit is contained in:
parent
d22c4cef9e
commit
3aa7159161
8
Huawei/msm8937/AUM/Android.mk
Normal file
8
Huawei/msm8937/AUM/Android.mk
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
LOCAL_PATH := $(call my-dir)
|
||||||
|
include $(CLEAR_VARS)
|
||||||
|
LOCAL_MODULE_TAGS := optional
|
||||||
|
LOCAL_PACKAGE_NAME := treble-overlay-huawei-AUM
|
||||||
|
LOCAL_MODULE_PATH := $(TARGET_OUT)/overlay
|
||||||
|
LOCAL_IS_RUNTIME_RESOURCE_OVERLAY := true
|
||||||
|
LOCAL_PRIVATE_PLATFORM_APIS := true
|
||||||
|
include $(BUILD_PACKAGE)
|
10
Huawei/msm8937/AUM/AndroidManifest.xml
Normal file
10
Huawei/msm8937/AUM/AndroidManifest.xml
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
package="io.tenseventyseven.treble.huawei.AUM"
|
||||||
|
android:versionCode="1"
|
||||||
|
android:versionName="1.0">
|
||||||
|
<overlay android:targetPackage="android"
|
||||||
|
android:requiredSystemPropertyName="ro.hw.oemName"
|
||||||
|
android:requiredSystemPropertyValue="+AUM*"
|
||||||
|
android:priority="5"
|
||||||
|
android:isStatic="true" />
|
||||||
|
</manifest>
|
113
Huawei/msm8937/AUM/res/values/arrays.xml
Normal file
113
Huawei/msm8937/AUM/res/values/arrays.xml
Normal file
|
@ -0,0 +1,113 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<resources>
|
||||||
|
<integer-array name="flingboost_param_value">
|
||||||
|
<item>0x40C00000</item>
|
||||||
|
<item>0x00000001</item>
|
||||||
|
<item>0x40800000</item>
|
||||||
|
<item>0x00000514</item>
|
||||||
|
<item>0x40C04000</item>
|
||||||
|
<item>0x00000001</item>
|
||||||
|
</integer-array>
|
||||||
|
<integer-array name="scrollboost_param_value">
|
||||||
|
<item>0x40C00000</item>
|
||||||
|
<item>0x00000001</item>
|
||||||
|
<item>0x40800000</item>
|
||||||
|
<item>0x00000514</item>
|
||||||
|
<item>0x40C04000</item>
|
||||||
|
<item>0x00000001</item>
|
||||||
|
</integer-array>
|
||||||
|
<integer-array name="launchboost_param_value">
|
||||||
|
<item>0x40C00000</item>
|
||||||
|
<item>0x00000001</item>
|
||||||
|
<item>0x40800000</item>
|
||||||
|
<item>0x000005DC</item>
|
||||||
|
<item>0x40400000</item>
|
||||||
|
<item>0x00000001</item>
|
||||||
|
<item>0x41000000</item>
|
||||||
|
<item>0x00000004</item>
|
||||||
|
<item>0x42804000</item>
|
||||||
|
<item>0x00000001</item>
|
||||||
|
<item>0x42C0C000</item>
|
||||||
|
<item>0x00000064</item>
|
||||||
|
</integer-array>
|
||||||
|
<integer-array name="actlaunchboost_param_value">
|
||||||
|
<item>0x40C00000</item>
|
||||||
|
<item>0x00000001</item>
|
||||||
|
<item>0x40800000</item>
|
||||||
|
<item>0x000005DC</item>
|
||||||
|
<item>0x40400000</item>
|
||||||
|
<item>0x00000001</item>
|
||||||
|
<item>0x41000000</item>
|
||||||
|
<item>0x00000004</item>
|
||||||
|
<item>0x42804000</item>
|
||||||
|
<item>0x00000001</item>
|
||||||
|
<item>0x42C0C000</item>
|
||||||
|
<item>0x00000064</item>
|
||||||
|
</integer-array>
|
||||||
|
<integer-array name="launchboost_packing_param_value">
|
||||||
|
<item>0x40C04000</item>
|
||||||
|
<item>0x00000001</item>
|
||||||
|
<item>0x40C0C000</item>
|
||||||
|
<item>0x00000001</item>
|
||||||
|
<item>0x40C14000</item>
|
||||||
|
<item>0x00000001</item>
|
||||||
|
<item>0x40C10000</item>
|
||||||
|
<item>0x00000001</item>
|
||||||
|
</integer-array>
|
||||||
|
<integer-array name="panelview_flingboost_param_value">
|
||||||
|
<item>0x40C00000</item>
|
||||||
|
<item>0x00000001</item>
|
||||||
|
<item>0x40800000</item>
|
||||||
|
<item>0x00000514</item>
|
||||||
|
</integer-array>
|
||||||
|
<integer-array name="animationboost_param_value">
|
||||||
|
<item>0x40C00000</item>
|
||||||
|
<item>0x00000001</item>
|
||||||
|
<item>0x40800000</item>
|
||||||
|
<item>0x0000044C</item>
|
||||||
|
<item>0x42804000</item>
|
||||||
|
<item>0x00000001</item>
|
||||||
|
</integer-array>
|
||||||
|
<string-array name="config_tether_bluetooth_regexs">
|
||||||
|
<item>bt-pan</item>
|
||||||
|
</string-array>
|
||||||
|
<string-array name="networkAttributes">
|
||||||
|
<item>wifi,1,1,1,-1,true</item>
|
||||||
|
<item>mobile,0,0,0,-1,true</item>
|
||||||
|
<item>mobile_mms,2,0,4,60000,true</item>
|
||||||
|
<item>mobile_supl,3,0,2,60000,true</item>
|
||||||
|
<item>mobile_dun,4,0,4,60000,true</item>
|
||||||
|
<item>mobile_hipri,5,0,3,60000,true</item>
|
||||||
|
<item>mobile_fota,10,0,2,60000,true</item>
|
||||||
|
<item>mobile_ims,11,0,2,60000,true</item>
|
||||||
|
<item>mobile_cbs,12,0,2,60000,true</item>
|
||||||
|
<item>wifi_p2p,13,1,0,-1,true</item>
|
||||||
|
<item>mobile_ia,14,0,2,-1,true</item>
|
||||||
|
<item>mobile_emergency,15,0,2,-1,true</item>
|
||||||
|
<item>bluetooth,7,7,1,-1,true</item>
|
||||||
|
<item>mobile_bip0,38,0,3,-1,true</item>
|
||||||
|
<item>mobile_bip1,39,0,3,-1,true</item>
|
||||||
|
<item>mobile_bip2,40,0,3,-1,true</item>
|
||||||
|
<item>mobile_bip3,41,0,3,-1,true</item>
|
||||||
|
<item>mobile_bip4,42,0,3,-1,true</item>
|
||||||
|
<item>mobile_bip5,43,0,3,-1,true</item>
|
||||||
|
<item>mobile_bip6,44,0,3,-1,true</item>
|
||||||
|
<item>mobile_xcap,45,0,2,60000,true</item>
|
||||||
|
</string-array>
|
||||||
|
<string-array name="config_gpsParameters">
|
||||||
|
<item>SUPL_HOST=supl.google.com</item>
|
||||||
|
<item>SUPL_PORT=7276</item>
|
||||||
|
<item>NTP_SERVER=north-america.pool.ntp.org</item>
|
||||||
|
</string-array>
|
||||||
|
<string-array name="config_defaultPinnerServiceFiles">
|
||||||
|
<item>system/framework/arm/boot-hwframework.vdex</item>
|
||||||
|
<item>system/framework/oat/arm64/services.vdex</item>
|
||||||
|
<item>system/framework/arm/boot-bouncycastle.vdex</item>
|
||||||
|
<item>system/framework/oat/arm64/hwServices.vdex</item>
|
||||||
|
<item>system/framework/arm/boot-framework.oat</item>
|
||||||
|
<item>system/framework/arm/boot-core-libart.vdex</item>
|
||||||
|
<item>system/framework/oat/arm64/hwServices.odex</item>
|
||||||
|
<item>system/framework/oat/arm64/services.odex</item>
|
||||||
|
<item>system/framework/arm64/boot-framework.oat</item>
|
||||||
|
</string-array>
|
||||||
|
</resources>
|
23
Huawei/msm8937/AUM/res/values/bools.xml
Normal file
23
Huawei/msm8937/AUM/res/values/bools.xml
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<resources>
|
||||||
|
<bool name="config_enableCpuBoostForOverScrollerFling">false</bool>
|
||||||
|
<bool name="config_enableCpuBoostForScroller">false</bool>
|
||||||
|
<bool name="config_enableCpuBoostForAppLaunch">false</bool>
|
||||||
|
<bool name="config_enableCpuBoostForActLaunch">false</bool>
|
||||||
|
<bool name="config_disablePacking">false</bool>
|
||||||
|
<bool name="config_enableCpuBoostForPanelViewFling">false</bool>
|
||||||
|
<bool name="config_enablePerfBoostForAnimation">false</bool>
|
||||||
|
<bool name="config_suspendWhenScreenOffDueToProximity">true</bool>
|
||||||
|
<bool name="config_wifi_enable_wifi_firmware_debugging">false</bool>
|
||||||
|
<bool name="config_useDevInputEventForAudioJack">true</bool>
|
||||||
|
<bool name="config_device_wfc_ims_available">true</bool>
|
||||||
|
<bool name="config_device_volte_available">true</bool>
|
||||||
|
<bool name="config_device_vt_available">true</bool>
|
||||||
|
<bool name="carrier_vt_available_bool">true</bool>
|
||||||
|
<bool name="config_wifi_dual_band_support">false</bool>
|
||||||
|
<bool name="config_bluetooth_le_peripheral_mode_supported">true</bool>
|
||||||
|
<bool name="config_wifi_background_scan_support">true</bool>
|
||||||
|
<bool name="config_enableFusedLocationOverlay">false</bool>
|
||||||
|
<bool name="config_enableGeofenceOverlay">false</bool>
|
||||||
|
<bool name="APKTOOL_DUMMY_13">false</bool>
|
||||||
|
</resources>
|
8
Huawei/msm8937/AUM/res/values/integers.xml
Normal file
8
Huawei/msm8937/AUM/res/values/integers.xml
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<resources>
|
||||||
|
<integer name="launchboost_timeout_param">2000</integer>
|
||||||
|
<integer name="actlaunchboost_timeout_param">1000</integer>
|
||||||
|
<integer name="disablepacking_timeout_param">5000</integer>
|
||||||
|
<integer name="animationboost_timeout_param">600</integer>
|
||||||
|
<integer name="config_wifi_supplicant_scan_interval">30000</integer>
|
||||||
|
</resources>
|
5
Huawei/msm8937/AUM/res/values/strings.xml
Normal file
5
Huawei/msm8937/AUM/res/values/strings.xml
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<resources>
|
||||||
|
<string name="config_fusedLocationProviderPackageName">com.qualcomm.location</string>
|
||||||
|
<string name="config_ims_package">org.codeaurora.ims</string>
|
||||||
|
</resources>
|
61
Huawei/msm8937/AUM/res/xml/power_profile.xml
Normal file
61
Huawei/msm8937/AUM/res/xml/power_profile.xml
Normal file
|
@ -0,0 +1,61 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!--
|
||||||
|
**
|
||||||
|
** Copyright 2009, The Android Open Source Project
|
||||||
|
**
|
||||||
|
** Licensed under the Apache License, Version 2.0 (the "License")
|
||||||
|
** you may not use this file except in compliance with the License.
|
||||||
|
** You may obtain a copy of the License at
|
||||||
|
**
|
||||||
|
** http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
**
|
||||||
|
** Unless required by applicable law or agreed to in writing, software
|
||||||
|
** distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
** See the License for the specific language governing permissions and
|
||||||
|
** limitations under the License.
|
||||||
|
*/
|
||||||
|
-->
|
||||||
|
<device name="Android">
|
||||||
|
<!-- All values are in mA except as noted -->
|
||||||
|
<item name="none">0</item>
|
||||||
|
<item name="screen.on">100</item> <!-- min brite -->
|
||||||
|
<item name="bluetooth.active">97</item>
|
||||||
|
<item name="bluetooth.on">2.5</item>
|
||||||
|
<item name="bluetooth.at">2.5</item> <!-- TBD -->
|
||||||
|
<item name="screen.full">245</item> <!-- backlight 14 leds -->
|
||||||
|
<item name="wifi.on">1.4</item>
|
||||||
|
<item name="wifi.active">260</item>
|
||||||
|
<item name="wifi.scan">70</item>
|
||||||
|
<item name="dsp.audio">43</item> <!-- k3v5 -->
|
||||||
|
<item name="dsp.video">176</item>
|
||||||
|
<item name="radio.active">150</item>
|
||||||
|
<item name="gps.on">36</item>
|
||||||
|
<item name="battery.capacity">3000</item> <!-- 3000mAh -->
|
||||||
|
<item name="radio.scanning">102</item> <!-- TBD -->
|
||||||
|
<!-- Current consumed by the radio at different signal strengths, when paging -->
|
||||||
|
<array name="radio.on"> <!-- 1 entry per signal strength bin, TBD -->
|
||||||
|
<value>13.0</value>
|
||||||
|
<value>10.0</value>
|
||||||
|
<value>10.0</value>
|
||||||
|
<value>10.0</value>
|
||||||
|
<value>10.0</value>
|
||||||
|
</array>
|
||||||
|
<array name="cpu.speeds">
|
||||||
|
<value>960000</value> <!-- 960 MHz CPU speed -->
|
||||||
|
<value>1094400</value> <!-- 1 GHz CPU speed -->
|
||||||
|
<value>1248000</value> <!-- 1.2 GHz CPU speed -->
|
||||||
|
<value>1401000</value><!-- 1.4 GHz CPU speed -->
|
||||||
|
</array>
|
||||||
|
<!-- Power consumption in suspend -->
|
||||||
|
<item name="cpu.idle">2.2</item> <!-- k3v5 -->
|
||||||
|
<!-- Power consumption due to wake lock held -->
|
||||||
|
<item name="cpu.awake">50</item> <!-- k3v5 -->
|
||||||
|
<!-- Power consumption at different speeds -->
|
||||||
|
<array name="cpu.active">
|
||||||
|
<value>137</value>
|
||||||
|
<value>147</value>
|
||||||
|
<value>158</value>
|
||||||
|
<value>169</value>
|
||||||
|
</array>
|
||||||
|
</device>
|
Loading…
Reference in a new issue