Skip to content

Commit 7ac4df5

Browse files
authored
Add files via upload
* Removed the workaround for a DRC inverted bug of POCO F6 crDroid 11.4 and 11.5 because fixed on crDroid 11.6 * Tuned I/O scheduler tunables for POCO F6 (crDroid 11.6)
1 parent 66f413d commit 7ac4df5

File tree

4 files changed

+21
-9
lines changed

4 files changed

+21
-9
lines changed

changelog.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
## Change logs
22

3+
# v1.1.7
4+
* Removed the workaround for a DRC inverted bug of POCO F6 crDroid 11.4 and 11.5 because fixed on crDroid 11.6
5+
* Tuned I/O scheduler tunables for POCO F6 (crDroid 11.6)
6+
37
# v1.1.6
48
* Added a workaround for a DRC inverted bug of POCO F6 crDroid 11.4 or later ROMs
59
* Changed an error message for no Magisk mirrors

customize.sh

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,13 +71,10 @@ case "`getprop ro.board.platform`" in
7171
if [ -e "/vendor/lib64/hw/audio.bluetooth_qti.default.so" ]; then
7272
BT_module="bluetooth_qti"
7373
fi
74-
# Workaround for a DRC inverted bug of POCO F6 crDroid 10.x (Nov. 27, 2024 and later) ROM's and crDroid 11.4 or later
74+
# Workaround for a DRC inverted bug of POCO F6 crDroid 10.x (Nov. 27, 2024 and later) ROM's
7575
if [ "`getprop ro.crdroid.device`" = "peridot" -a "`getprop ro.build.version.release`" = "14" \
7676
-a "`getprop ro.build.date.utc`" -ge "1732697965" ]; then
7777
DRC_enabled="true"
78-
elif [ "`getprop ro.crdroid.device`" = "peridot" -a "`getprop ro.build.version.release`" = "15" \
79-
-a "`getprop ro.build.date.utc`" -ge "1746174604" ]; then
80-
DRC_enabled="true"
8178
fi
8279
;;
8380
mt* )

jitter-reducer-functions.shlib

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1472,7 +1472,7 @@ function getSchedulerValues()
14721472
"boost" )
14731473
case "`getSocModelName`" in
14741474
sm[6-8]* )
1475-
echo "133 0 36 516 0"
1475+
echo "135 0 36 516 0"
14761476
;;
14771477
sdm8[5-9]* | sdm9* )
14781478
echo "133 0 36 516 0"
@@ -1838,7 +1838,7 @@ function reduceIoJitter()
18381838
if [ -w "/sys/block/$i/queue/iosched/async_depth" ]; then
18391839
case "`getSocModelName`" in
18401840
sm[6-8]* )
1841-
echo '32' >"/sys/block/$i/queue/iosched/async_depth"
1841+
echo '33' >"/sys/block/$i/queue/iosched/async_depth"
18421842
;;
18431843
gs* )
18441844
echo '32' >"/sys/block/$i/queue/iosched/async_depth"
@@ -1854,7 +1854,7 @@ function reduceIoJitter()
18541854
if [ -w "/sys/block/$i/queue/iosched/prio_aging_expire" ]; then
18551855
case "`getSocModelName`" in
18561856
sm[6-8]* )
1857-
echo '6903152' >"/sys/block/$i/queue/iosched/prio_aging_expire"
1857+
echo '6903144' >"/sys/block/$i/queue/iosched/prio_aging_expire"
18581858
;;
18591859
gs* )
18601860
echo '6903152' >"/sys/block/$i/queue/iosched/prio_aging_expire"
@@ -2219,6 +2219,10 @@ function reduceEffectJitter()
22192219
if [ "`getprop init.svc.aocd`" = "running" ]; then
22202220
setprop ctl.stop aocd
22212221
fi
2222+
# Stop Tensor device's AOCX daemon for reducing significant jitter
2223+
if [ "`getprop init.svc.aocxd`" = "running" ]; then
2224+
setprop ctl.stop aocxd
2225+
fi
22222226
reloadAudioserver
22232227
else
22242228
return 2
@@ -2239,6 +2243,9 @@ function reduceEffectJitter()
22392243
if [ "`getprop init.svc.aocd`" = "stopped" ]; then
22402244
setprop ctl.start aocd
22412245
fi
2246+
if [ "`getprop init.svc.aocxd`" = "stopped" ]; then
2247+
setprop ctl.start aocxd
2248+
fi
22422249
reloadAudioserver
22432250
else
22442251
return 2
@@ -2257,6 +2264,10 @@ function reduceEffectJitter()
22572264
if [ -n "$val" ]; then
22582265
echo " Effects AOC server: $val"
22592266
fi
2267+
val="`getprop init.svc.aocxd`"
2268+
if [ -n "$val" ]; then
2269+
echo " Effects AOCX server: $val"
2270+
fi
22602271

22612272
fi
22622273

module.prop

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
id=audio-samplerate-changer
22
name=Audio samplerate changer
3-
version=v1.1.6
4-
versionCode=1106
3+
version=v1.1.7
4+
versionCode=1107
55
author=zyhk
66
description=A Magisk module changing audio samplerates at the system-wide mixer for the best Hi-Fi experience.

0 commit comments

Comments
 (0)