Skip to content

Commit 1c34407

Browse files
committed
Merge branch 'scene4.2' into scene4
2 parents df70461 + 0cfd033 commit 1c34407

71 files changed

Lines changed: 12663 additions & 870 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

app/build.gradle

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ apply plugin: 'kotlin-android'
33
apply plugin: 'kotlin-android-extensions'
44

55
android {
6+
dataBinding {
7+
enabled =true
8+
}
69
signingConfigs {
710
omarea_Signing {
811
keyAlias 'omarea.com'
@@ -18,8 +21,8 @@ android {
1821
applicationId "com.omarea.vtools"
1922
minSdkVersion 23
2023
targetSdkVersion 30
21-
versionCode 202103017
22-
versionName "4.1.0 Pre Release"
24+
versionCode 202103241
25+
versionName "4.2.0"
2326
externalNativeBuild {
2427
cmake {
2528
cppFlags ""
@@ -69,6 +72,7 @@ android {
6972
}
7073

7174
dependencies {
75+
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.3.9"
7276
compileOnly 'de.robv.android.xposed:api:82'
7377
// compileOnly 'de.robv.android.xposed:api:82:sources'
7478
implementation 'androidx.constraintlayout:constraintlayout:2.0.4'

app/src/main/assets/kr-script/miui/thermal_conf2/kona/options.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ device=`getprop ro.product.device`
77
if [[ $device == "cmi" ]] || [[ $device == "umi" ]]; then
88
echo "default|系统默认(default)
99
powerfrugal_cmi|节能降温(powerfrugal)
10+
pro_cmi|深度定制(pro)
1011
extreme_cmi|极致性能(extreme)
1112
danger|丧心病狂(danger)"
1213
elif [[ $device == "lmi" ]] || [[ $device == "lmipro" ]]; then
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
将极为保守的温度控制策略应用到日常场景,
2-
良好的控制发热的同时,也会显著降低性能
3-
除此以外,充电速度也会明显下降,这或许能延长电池寿命,
4-
当然,这并不影响【游戏加速】功能的效果!
2+
良好的控制发热的同时,也会显著降低性能
3+
即使在游戏运行中,也会优先保证舒适体验,在发热时适当降低性能以控制功耗。
4+
除此以外,充电速度也会明显下降,这或许能延长电池寿命,
Binary file not shown.
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
将极为保守的温度控制策略应用到日常场景,
2+
良好的控制发热的同时,也会显著降低性能,
3+
除此以外,充电速度也会明显下降,这或许能延长电池寿命,
4+
当然,这并不影响【游戏加速】功能的效果!
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
[VIRTUAL-SENSOR]
2+
algo_type virtual
3+
sensors cam_therm1 battery conn_therm quiet_therm wireless_therm xo_therm
4+
weight 1149 147 -193 408 -228 -385
5+
polling 1000
6+
weight_sum 1000
7+
compensation 2222
8+
9+
[CHG-MONITOR-BAT]
10+
algo_type monitor
11+
sensor VIRTUAL-SENSOR
12+
device battery
13+
polling 2000
14+
trig 37000 39000 40000 42000 43000 44000 45000 46000 47000 60000
15+
clr 35000 37000 39000 40000 42000 43000 44000 45000 46000 48000
16+
target 804 1104 1206 1308 1308 1309 1310 1312 1414 1515
17+
18+
[CHG-MONITOR-WIRELESS]
19+
algo_type monitor
20+
sensor VIRTUAL-SENSOR
21+
device wireless_charge
22+
polling 2000
23+
trig 37000 38600 39400 40200 41000 42000 43000
24+
clr 35000 37000 38600 39400 40200 41000 42000
25+
target 400 601 603 805 807 1009 1313
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)