├── .github └── FUNDING.yml ├── LICENSE ├── META-INF └── com │ └── google │ └── android │ ├── update-binary │ └── updater-script ├── README.md ├── acdb.conf ├── action.sh ├── aml.sh ├── arm64-v8a └── libmagiskpolicy.so ├── armeabi-v7a └── libmagiskpolicy.so ├── cleaner.sh ├── copy.sh ├── customize.sh ├── function.sh ├── module.prop ├── package-dolby.txt ├── package.txt ├── post-fs-data.sh ├── sepolicy.rule ├── service.sh ├── system.prop ├── system ├── etc │ ├── default-permissions │ │ └── default-com.miui.misound.xml │ ├── permissions │ │ └── privapp-com.miui.misound.xml │ └── sysconfig │ │ └── config-com.miui.misound.xml ├── lib │ └── libmigui.so ├── lib64 │ └── libmigui.so ├── priv-app │ └── MiSound │ │ ├── MiSound.apk │ │ ├── AndroidManifest.xml │ │ ├── classes.dex │ │ ├── classes2.dex │ │ ├── classes3.dex │ │ └── resources.arsc │ │ └── extract └── vendor │ ├── lib │ ├── rfsa │ │ └── adsp │ │ │ ├── misound_karaoke_res.bin │ │ │ ├── misound_karaokemix_res.bin │ │ │ ├── misound_res.bin │ │ │ ├── misound_res_headphone.bin │ │ │ └── misound_res_spk.bin │ └── soundfx │ │ └── libmisoundfx.so │ └── lib64 │ └── soundfx │ └── libmisoundfx.so ├── system_dolby ├── etc │ ├── default-permissions │ │ └── default-com.dolby.daxservice.xml │ ├── permissions │ │ └── privapp-com.dolby.daxservice.xml │ └── sysconfig │ │ └── config-com.dolby.daxservice.xml ├── priv-app │ └── daxService │ │ └── daxService.apk └── vendor │ ├── bin │ └── hw │ │ └── vendor.dolby.hardware.dms@2.0-service │ ├── etc │ ├── acdbdata │ │ └── adsp_avs_config.acdb │ ├── dolby │ │ └── dax-default.xml │ └── media_codecs_dolby_audio.xml │ ├── lib │ ├── libdapparamstorage.so │ ├── libdeccfg.so │ ├── libqtigef.so │ ├── libstagefright_foundation.so │ ├── libstagefright_soft_ac4dec.so │ ├── libstagefright_soft_ddpdec.so │ ├── libstagefrightdolby.so │ ├── rfsa │ │ └── adsp │ │ │ └── capi_v2_dap_cpdp.so │ ├── soundfx │ │ ├── libeffectproxy.so │ │ ├── libhwdap.so │ │ ├── libswdap.so │ │ ├── libswgamedap.so │ │ └── libswvqe.so │ └── vendor.dolby.hardware.dms@2.0.so │ └── lib64 │ ├── libdapparamstorage.so │ ├── libdeccfg.so │ ├── libdlbdsservice.so │ ├── libqtigef.so │ ├── libsqlite.so │ ├── libstagefright_foundation.so │ ├── libstagefright_soft_ac4dec.so │ ├── libstagefright_soft_ddpdec.so │ ├── libstagefrightdolby.so │ ├── soundfx │ ├── libeffectproxy.so │ ├── libhwdap.so │ ├── libswdap.so │ ├── libswgamedap.so │ └── libswvqe.so │ ├── vendor.dolby.hardware.dms@2.0-impl.so │ └── vendor.dolby.hardware.dms@2.0.so ├── system_rhode └── vendor │ ├── lib │ └── soundfx │ │ └── libswdap.so │ └── lib64 │ └── soundfx │ └── libswdap.so ├── system_support ├── lib │ └── libhidlbase.so ├── lib64 │ └── libhidlbase.so └── vendor │ ├── lib │ └── hw │ │ ├── android.hardware.audio.effect@2.0-impl.so │ │ ├── android.hardware.audio.effect@4.0-impl.so │ │ ├── android.hardware.audio.effect@5.0-impl.so │ │ ├── android.hardware.audio.effect@6.0-impl.so │ │ └── android.hardware.audio.effect@7.0-impl.so │ └── lib64 │ └── hw │ ├── android.hardware.audio.effect@2.0-impl.so │ ├── android.hardware.audio.effect@4.0-impl.so │ ├── android.hardware.audio.effect@5.0-impl.so │ ├── android.hardware.audio.effect@6.0-impl.so │ └── android.hardware.audio.effect@7.0-impl.so ├── uninstall.sh ├── unused └── vendor │ └── etc │ ├── init │ └── vendor.dolby.hardware.dms@2.0-service.rc │ ├── media_codecs.xml │ └── selinux │ ├── vendor_file_contexts │ └── vendor_hwservice_contexts ├── update.sh ├── x86 └── libmagiskpolicy.so └── x86_64 └── libmagiskpolicy.so /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | # These are supported funding model platforms 2 | 3 | github: reiryuki # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2] 4 | patreon: # Replace with a single Patreon username 5 | open_collective: # Replace with a single Open Collective username 6 | ko_fi: reiryuki # Replace with a single Ko-fi username 7 | tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel 8 | community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry 9 | liberapay: reiryuki # Replace with a single Liberapay username 10 | issuehunt: # Replace with a single IssueHunt username 11 | otechie: # Replace with a single Otechie username 12 | lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry 13 | custom: https://www.paypal.me/reiryuki # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2'] 14 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2022 Rei Ryuki 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /META-INF/com/google/android/update-binary: -------------------------------------------------------------------------------- 1 | #!/sbin/sh 2 | 3 | ################# 4 | # Initialization 5 | ################# 6 | 7 | umask 022 8 | 9 | # echo before loading util_functions 10 | ui_print() { echo "$1"; } 11 | 12 | require_new_magisk() { 13 | ui_print "*******************************" 14 | ui_print " Please install Magisk v20.4+! " 15 | ui_print "*******************************" 16 | exit 1 17 | } 18 | 19 | ######################### 20 | # Load util_functions.sh 21 | ######################### 22 | 23 | OUTFD=$2 24 | ZIPFILE=$3 25 | 26 | mount /data 2>/dev/null 27 | 28 | [ -f /data/adb/magisk/util_functions.sh ] || require_new_magisk 29 | . /data/adb/magisk/util_functions.sh 30 | [ $MAGISK_VER_CODE -lt 20400 ] && require_new_magisk 31 | 32 | install_module 33 | exit 0 34 | -------------------------------------------------------------------------------- /META-INF/com/google/android/updater-script: -------------------------------------------------------------------------------- 1 | #MAGISK 2 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Mi Sound and Dolby Atmos Redmi K40 Magisk Module 2 | 3 | ## DISCLAIMER 4 | - Dolby apps and blobs are owned by Dolby™. 5 | - The MIT license specified here is for the Magisk Module only, not for Dolby apps and blobs. 6 | - MiSound app and blobs are owned by Xiaomi™. 7 | - The MIT license specified here is for the Magisk Module only, not for MiSound app and blobs. 8 | 9 | ## Descriptions 10 | - Equalizers sound effect ported from Xiaomi Redmi K40 (alioth) and integrated as a Magisk Module for all supported and rooted devices with Magisk 11 | - Global type sound effect 12 | - Mi Sound, Dolby Atmos, & Bluetooth microphone enhancer 13 | - Dolby Atmos changes/spoofs ro.product.brand to Redmi, ro.product.device to alioth, & ro.product.manufacturer to Xiaomi which may break some system apps and features functionality 14 | - Dolby Atmos conflicted with `vendor.dolby_v3_6.hardware.dms360@2.0-service`, `vendor.dolby_sp.hardware.dmssp@2.0-service`, & `vendor.dolby.hardware.dms@1.0-service` 15 | 16 | ## Sources 17 | - https://dumps.tadiphone.dev/dumps/redmi/alioth qssi-user-12-SKQ1.211006.001-V13.0.3.0.SKHEUXM-release-keys 18 | - libsqlite.so: https://dumps.tadiphone.dev/dumps/zte/p855a01 msmnile-user-11-RKQ1.201221.002-20211215.223102-release-keys 19 | - MiSound.apk: https://apkmirror.com com.miui.misound by Xiaomi Inc. 20 | - daxService.apk: https://dumps.tadiphone.dev/dumps/motorola/rhode user-12-S1SR32.38-124-3-a8403-release-keys 21 | - libhidlbase.so: CrDroid ROM Android 13 22 | - android.hardware.audio.effect@*-impl.so: https://dumps.tadiphone.dev/dumps/oneplus/op594dl1 qssi-user-14-UKQ1.230924.001-1701915639192-release-keys--US 23 | - libmagiskpolicy.so: Kitsune Mask R6687BB53 24 | 25 | ## Screenshots 26 | - https://t.me/androidryukimods/488 27 | 28 | ## Requirements 29 | - Magisk or KernelSU installed (Recommended to use Magisk Delta/Kitsune Mask for systemless early init mount manifest.xml if your ROM is Read-Only https://t.me/ryukinotes/49) 30 | - Miui Core Magisk Module installed in non-Miui ROM 31 | - Mi Sound EQ 32 | - Miui ROM (In non-Miui ROM, the UI still showing even it doesn't work) 33 | - Android 8 (SDK 26) and up 34 | - Earphone/headphone connected 35 | - Dolby Atmos EQ 36 | - arm64-v8a architecture 37 | - Android 11 (SDK 30) and up 38 | 39 | ## WARNING!!! 40 | - Possibility of bootloop or even softbrick or a service failure on Read-Only ROM if you don't use Magisk Delta/Kitsune Mask. 41 | 42 | ## Installation Guide & Download Link 43 | - Recommended to use Magisk Delta/Kitsune Mask https://t.me/ryukinotes/49 44 | - Remove any other else Dolby MAGISK MODULE with different name (no need to remove if it's the same name) 45 | - Reboot 46 | - Install Miui Core Magisk Module first if you are in non-Miui ROM: https://github.com/reiryuki/Miui-Core-Magisk-Module 47 | - If you have Dolby in-built in your ROM, then you need to activate data.cleanup=1 at the first time install (READ Optionals bellow!) 48 | - Install this module https://www.pling.com/p/1769560/ via Magisk app or KernelSU app or Recovery if Magisk installed 49 | - Install AML Magisk Module https://t.me/ryukinotes/34 only if using any other else audio mod module 50 | - If you are using KernelSU, you need to disable Unmount Modules by Default in KernelSU app settings 51 | - Reboot 52 | - If you are using KernelSU, you need to allow superuser list manually all package name listed in package-dolby.txt (and your home launcher app also) (enable show system apps) and reboot afterwards 53 | - If you are using SUList, you need to allow list manually your home launcher app (enable show system apps) and reboot afterwards 54 | - If you have sensors issue (fingerprint, proximity, gyroscope, etc), then READ Optionals bellow! 55 | 56 | ## Optionals 57 | - https://t.me/ryukinotes/79 58 | - Global: https://t.me/ryukinotes/35 59 | - Stream: https://t.me/ryukinotes/52 60 | 61 | ## Troubleshootings 62 | - https://t.me/ryukinotes/79 63 | - Global: https://t.me/ryukinotes/34 64 | 65 | ## Support & Bug Report 66 | - https://t.me/ryukinotes/54 67 | - If you don't do above, issues will be closed immediately 68 | 69 | ## Credits and Contributors 70 | - @HuskyDG 71 | - https://t.me/viperatmos 72 | - https://t.me/androidryukimodsdiscussions 73 | - @HELLBOY017 74 | - You can contribute ideas about this Magisk Module here: https://t.me/androidappsportdevelopment 75 | 76 | ## Sponsors 77 | - https://t.me/ryukinotes/25 78 | 79 | 80 | -------------------------------------------------------------------------------- /acdb.conf: -------------------------------------------------------------------------------- 1 | 2 | # Audio Configuration Database 3 | # gh 4 | 5 | 6 | # acdb.conf is a module configuration file sourced by the ACDB module to add or remove the configuration of libraries and effects included in this module - determined by the status of a Magisk module being installed, disabled, or enabled. 7 | 8 | 9 | # Simply insert the appropriate value for the required parameters below for consistent results: 10 | 11 | 12 | # Required: 13 | 14 | libraryid=misoundfx 15 | libraryname=libmisoundfx.so 16 | 17 | effectid=misoundfx 18 | effectuuid=5b8e36a5-144a-4c38-b1d7-0002a5d5c51b 19 | 20 | 21 | # Optional: 22 | 23 | musicstream= 24 | 25 | -------------------------------------------------------------------------------- /action.sh: -------------------------------------------------------------------------------- 1 | MODPATH=${0%/*} 2 | 3 | # info 4 | echo "- Apps caches from this module will be re-cleaned" 5 | echo " at the next boot." 6 | echo " " 7 | 8 | # rename 9 | FILE=$MODPATH/cleaner.sh 10 | if [ -f $FILE.txt ]; then 11 | mv -f $FILE.txt $FILE 12 | fi 13 | 14 | 15 | -------------------------------------------------------------------------------- /aml.sh: -------------------------------------------------------------------------------- 1 | [ ! "$MODPATH" ] && MODPATH=${0%/*} 2 | 3 | # destination 4 | [ ! "$libdir" ] && libdir=/vendor 5 | MODAECS=`find $MODPATH -type f -name *audio*effects*.conf` 6 | MODAEXS=`find $MODPATH -type f -name *audio*effects*.xml` 7 | MODAPS=`find $MODPATH -type f -name *policy*.conf -o -name *policy*.xml` 8 | 9 | # function 10 | archdir() { 11 | if [ -f $libdir/lib/soundfx/$LIB ]\ 12 | || [ -f $MODPATH/system$libdir/lib/soundfx/$LIB ]\ 13 | || [ -f $MODPATH$libdir/lib/soundfx/$LIB ]; then 14 | ARCHDIR=/lib 15 | elif [ -f $libdir/lib64/soundfx/$LIB ]\ 16 | || [ -f $MODPATH/system$libdir/lib64/soundfx/$LIB ]\ 17 | || [ -f $MODPATH$libdir/lib64/soundfx/$LIB ]; then 18 | ARCHDIR=/lib64 19 | else 20 | unset ARCHDIR 21 | fi 22 | } 23 | remove_conf() { 24 | for RMV in $RMVS; do 25 | sed -i "s|$RMV|removed|g" $MODAEC 26 | done 27 | sed -i 's|path /vendor/lib/soundfx/removed||g' $MODAEC 28 | sed -i 's|path /system/lib/soundfx/removed||g' $MODAEC 29 | sed -i 's|path /vendor/lib/removed||g' $MODAEC 30 | sed -i 's|path /system/lib/removed||g' $MODAEC 31 | sed -i 's|path /vendor/lib64/soundfx/removed||g' $MODAEC 32 | sed -i 's|path /system/lib64/soundfx/removed||g' $MODAEC 33 | sed -i 's|path /vendor/lib64/removed||g' $MODAEC 34 | sed -i 's|path /system/lib64/removed||g' $MODAEC 35 | sed -i 's|library removed||g' $MODAEC 36 | sed -i 's|uuid removed||g' $MODAEC 37 | sed -i "/^ removed {/ {;N s/ removed {\n }//}" $MODAEC 38 | sed -i 's|removed { }||g' $MODAEC 39 | sed -i 's|removed {}||g' $MODAEC 40 | } 41 | remove_xml() { 42 | for RMV in $RMVS; do 43 | sed -i "s|\"$RMV\"|\"removed\"|g" $MODAEX 44 | done 45 | sed -i 's|||g' $MODAEX 46 | sed -i 's|||g' $MODAEX 47 | sed -i 's|||g' $MODAEX 48 | sed -i 's|||g' $MODAEX 49 | sed -i 's|||g' $MODAEX 50 | sed -i 's|||g' $MODAEX 51 | sed -i 's|||g' $MODAEX 52 | sed -i 's|||g' $MODAEX 53 | sed -i 's|||g' $MODAEX 54 | sed -i 's|||g' $MODAEX 55 | sed -i 's|||g' $MODAEX 56 | sed -i 's|||g' $MODAEX 57 | sed -i 's|||g' $MODAEX 58 | sed -i 's|||g' $MODAEX 59 | } 60 | 61 | # store 62 | RMVS="ring_helper alarm_helper music_helper voice_helper 63 | notification_helper ma_ring_helper ma_alarm_helper 64 | ma_music_helper ma_voice_helper ma_system_helper 65 | ma_notification_helper sa3d fens lmfv dirac dtsaudio 66 | dlb_music_listener dlb_ring_listener dlb_alarm_listener 67 | dlb_system_listener dlb_notification_listener" 68 | 69 | # setup audio effects conf 70 | for MODAEC in $MODAECS; do 71 | for RMV in $RMVS; do 72 | sed -i "/^ $RMV {/ {;N s/ $RMV {\n }//}" $MODAEC 73 | sed -i "s|$RMV { }||g" $MODAEC 74 | sed -i "s|$RMV {}||g" $MODAEC 75 | done 76 | if ! grep -q '^output_session_processing {' $MODAEC; then 77 | sed -i '$a\ 78 | \ 79 | output_session_processing {\ 80 | music {\ 81 | }\ 82 | ring {\ 83 | }\ 84 | alarm {\ 85 | }\ 86 | system {\ 87 | }\ 88 | voice_call {\ 89 | }\ 90 | notification {\ 91 | }\ 92 | bluetooth_sco {\ 93 | }\ 94 | dtmf {\ 95 | }\ 96 | enforced_audible {\ 97 | }\ 98 | accessibility {\ 99 | }\ 100 | tts {\ 101 | }\ 102 | assistant {\ 103 | }\ 104 | call_assistant {\ 105 | }\ 106 | patch {\ 107 | }\ 108 | rerouting {\ 109 | }\ 110 | }\' $MODAEC 111 | else 112 | if ! grep -q '^ rerouting {' $MODAEC; then 113 | sed -i "/^output_session_processing {/a\ rerouting {\n }" $MODAEC 114 | fi 115 | if ! grep -q '^ patch {' $MODAEC; then 116 | sed -i "/^output_session_processing {/a\ patch {\n }" $MODAEC 117 | fi 118 | if ! grep -q '^ call_assistant {' $MODAEC; then 119 | sed -i "/^output_session_processing {/a\ call_assistant {\n }" $MODAEC 120 | fi 121 | if ! grep -q '^ assistant {' $MODAEC; then 122 | sed -i "/^output_session_processing {/a\ assistant {\n }" $MODAEC 123 | fi 124 | if ! grep -q '^ tts {' $MODAEC; then 125 | sed -i "/^output_session_processing {/a\ tts {\n }" $MODAEC 126 | fi 127 | if ! grep -q '^ accessibility {' $MODAEC; then 128 | sed -i "/^output_session_processing {/a\ accessibility {\n }" $MODAEC 129 | fi 130 | if ! grep -q '^ enforced_audible {' $MODAEC; then 131 | sed -i "/^output_session_processing {/a\ enforced_audible {\n }" $MODAEC 132 | fi 133 | if ! grep -q '^ dtmf {' $MODAEC; then 134 | sed -i "/^output_session_processing {/a\ dtmf {\n }" $MODAEC 135 | fi 136 | if ! grep -q '^ bluetooth_sco {' $MODAEC; then 137 | sed -i "/^output_session_processing {/a\ bluetooth_sco {\n }" $MODAEC 138 | fi 139 | if ! grep -q '^ notification {' $MODAEC; then 140 | sed -i "/^output_session_processing {/a\ notification {\n }" $MODAEC 141 | fi 142 | if ! grep -q '^ voice_call {' $MODAEC; then 143 | sed -i "/^output_session_processing {/a\ voice_call {\n }" $MODAEC 144 | fi 145 | if ! grep -q '^ system {' $MODAEC; then 146 | sed -i "/^output_session_processing {/a\ system {\n }" $MODAEC 147 | fi 148 | if ! grep -q '^ alarm {' $MODAEC; then 149 | sed -i "/^output_session_processing {/a\ alarm {\n }" $MODAEC 150 | fi 151 | if ! grep -q '^ ring {' $MODAEC; then 152 | sed -i "/^output_session_processing {/a\ ring {\n }" $MODAEC 153 | fi 154 | if ! grep -q '^ music {' $MODAEC; then 155 | sed -i "/^output_session_processing {/a\ music {\n }" $MODAEC 156 | fi 157 | fi 158 | done 159 | 160 | # setup audio effects xml 161 | for MODAEX in $MODAEXS; do 162 | for RMV in $RMVS; do 163 | sed -i "s|||g" $MODAEX 164 | sed -i "s|||g" $MODAEX 165 | done 166 | if ! grep -q '' $MODAEX\ 167 | || grep -q ' 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /system/etc/sysconfig/config-com.miui.misound.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /system/lib/libmigui.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reiryuki/Mi-Sound-Redmi-K40-Magisk-Module/8bae02fbe231a1f84cb9220dfb8c53cd9355182d/system/lib/libmigui.so -------------------------------------------------------------------------------- /system/lib64/libmigui.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reiryuki/Mi-Sound-Redmi-K40-Magisk-Module/8bae02fbe231a1f84cb9220dfb8c53cd9355182d/system/lib64/libmigui.so -------------------------------------------------------------------------------- /system/priv-app/MiSound/MiSound.apk/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 12 | 16 | 17 | 20 | 21 | 24 | 25 | 28 | 29 | 32 | 33 | 36 | 37 | 40 | 41 | 44 | 45 | 48 | 49 | 52 | 53 | 56 | 57 | 60 | 61 | 64 | 65 | 68 | 69 | 72 | 73 | 76 | 77 | 80 | 81 | 84 | 85 | 88 | 89 | 92 | 93 | 96 | 97 | 100 | 101 | 104 | 105 | 108 | 109 | 112 | 113 | 116 | 117 | 120 | 121 | 124 | 125 | 128 | 129 | 132 | 133 | 136 | 137 | 140 | 141 | 144 | 145 | 148 | 149 | 152 | 153 | 167 | 171 | 172 | 176 | 177 | 185 | 187 | 190 | 191 | 194 | 195 | 196 | 198 | 201 | 202 | 205 | 206 | 207 | 209 | 212 | 213 | 216 | 217 | 220 | 221 | 222 | 224 | 227 | 228 | 231 | 232 | 233 | 237 | 238 | 242 | 243 | 244 | 252 | 254 | 257 | 258 | 261 | 262 | 263 | 265 | 268 | 269 | 272 | 273 | 274 | 275 | 283 | 285 | 288 | 289 | 292 | 293 | 294 | 296 | 299 | 300 | 303 | 304 | 305 | 306 | 314 | 316 | 319 | 320 | 323 | 324 | 325 | 327 | 330 | 331 | 334 | 335 | 336 | 337 | 342 | 344 | 347 | 348 | 351 | 352 | 355 | 356 | 357 | 358 | 365 | 367 | 370 | 371 | 374 | 375 | 376 | 377 | 384 | 385 | 392 | 394 | 397 | 398 | 401 | 402 | 403 | 404 | 411 | 413 | 416 | 417 | 420 | 421 | 422 | 423 | 431 | 433 | 436 | 437 | 440 | 441 | 442 | 443 | 451 | 453 | 456 | 457 | 460 | 461 | 462 | 463 | 469 | 470 | 476 | 477 | 483 | 484 | 492 | 494 | 497 | 498 | 499 | 500 | 504 | 506 | 509 | 510 | 511 | 512 | 519 | 521 | 524 | 525 | 528 | 529 | 530 | 531 | 537 | 539 | 542 | 543 | 544 | 545 | 553 | 554 | 561 | 563 | 566 | 567 | 570 | 571 | 572 | 573 | 579 | 580 | 583 | 584 | 588 | 589 | 593 | 594 | 598 | 599 | 603 | 604 | 608 | 609 | 613 | 614 | 618 | 619 | 623 | 624 | 628 | 629 | 633 | 634 | 638 | 639 | 643 | 644 | 648 | 649 | 653 | 654 | 658 | 659 | 663 | 664 | 668 | 669 | 673 | 674 | 678 | 679 | 683 | 684 | 688 | 689 | 693 | 694 | 695 | 696 | -------------------------------------------------------------------------------- /system/priv-app/MiSound/MiSound.apk/classes.dex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reiryuki/Mi-Sound-Redmi-K40-Magisk-Module/8bae02fbe231a1f84cb9220dfb8c53cd9355182d/system/priv-app/MiSound/MiSound.apk/classes.dex -------------------------------------------------------------------------------- /system/priv-app/MiSound/MiSound.apk/classes2.dex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reiryuki/Mi-Sound-Redmi-K40-Magisk-Module/8bae02fbe231a1f84cb9220dfb8c53cd9355182d/system/priv-app/MiSound/MiSound.apk/classes2.dex -------------------------------------------------------------------------------- /system/priv-app/MiSound/MiSound.apk/classes3.dex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reiryuki/Mi-Sound-Redmi-K40-Magisk-Module/8bae02fbe231a1f84cb9220dfb8c53cd9355182d/system/priv-app/MiSound/MiSound.apk/classes3.dex -------------------------------------------------------------------------------- /system/priv-app/MiSound/MiSound.apk/resources.arsc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reiryuki/Mi-Sound-Redmi-K40-Magisk-Module/8bae02fbe231a1f84cb9220dfb8c53cd9355182d/system/priv-app/MiSound/MiSound.apk/resources.arsc -------------------------------------------------------------------------------- /system/priv-app/MiSound/extract: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reiryuki/Mi-Sound-Redmi-K40-Magisk-Module/8bae02fbe231a1f84cb9220dfb8c53cd9355182d/system/priv-app/MiSound/extract -------------------------------------------------------------------------------- /system/vendor/lib/rfsa/adsp/misound_karaoke_res.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reiryuki/Mi-Sound-Redmi-K40-Magisk-Module/8bae02fbe231a1f84cb9220dfb8c53cd9355182d/system/vendor/lib/rfsa/adsp/misound_karaoke_res.bin -------------------------------------------------------------------------------- /system/vendor/lib/rfsa/adsp/misound_karaokemix_res.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reiryuki/Mi-Sound-Redmi-K40-Magisk-Module/8bae02fbe231a1f84cb9220dfb8c53cd9355182d/system/vendor/lib/rfsa/adsp/misound_karaokemix_res.bin -------------------------------------------------------------------------------- /system/vendor/lib/rfsa/adsp/misound_res.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reiryuki/Mi-Sound-Redmi-K40-Magisk-Module/8bae02fbe231a1f84cb9220dfb8c53cd9355182d/system/vendor/lib/rfsa/adsp/misound_res.bin -------------------------------------------------------------------------------- /system/vendor/lib/rfsa/adsp/misound_res_headphone.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reiryuki/Mi-Sound-Redmi-K40-Magisk-Module/8bae02fbe231a1f84cb9220dfb8c53cd9355182d/system/vendor/lib/rfsa/adsp/misound_res_headphone.bin -------------------------------------------------------------------------------- /system/vendor/lib/rfsa/adsp/misound_res_spk.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reiryuki/Mi-Sound-Redmi-K40-Magisk-Module/8bae02fbe231a1f84cb9220dfb8c53cd9355182d/system/vendor/lib/rfsa/adsp/misound_res_spk.bin -------------------------------------------------------------------------------- /system/vendor/lib/soundfx/libmisoundfx.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reiryuki/Mi-Sound-Redmi-K40-Magisk-Module/8bae02fbe231a1f84cb9220dfb8c53cd9355182d/system/vendor/lib/soundfx/libmisoundfx.so -------------------------------------------------------------------------------- /system/vendor/lib64/soundfx/libmisoundfx.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reiryuki/Mi-Sound-Redmi-K40-Magisk-Module/8bae02fbe231a1f84cb9220dfb8c53cd9355182d/system/vendor/lib64/soundfx/libmisoundfx.so -------------------------------------------------------------------------------- /system_dolby/etc/default-permissions/default-com.dolby.daxservice.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /system_dolby/etc/permissions/privapp-com.dolby.daxservice.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /system_dolby/etc/sysconfig/config-com.dolby.daxservice.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /system_dolby/priv-app/daxService/daxService.apk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reiryuki/Mi-Sound-Redmi-K40-Magisk-Module/8bae02fbe231a1f84cb9220dfb8c53cd9355182d/system_dolby/priv-app/daxService/daxService.apk -------------------------------------------------------------------------------- /system_dolby/vendor/bin/hw/vendor.dolby.hardware.dms@2.0-service: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reiryuki/Mi-Sound-Redmi-K40-Magisk-Module/8bae02fbe231a1f84cb9220dfb8c53cd9355182d/system_dolby/vendor/bin/hw/vendor.dolby.hardware.dms@2.0-service -------------------------------------------------------------------------------- /system_dolby/vendor/etc/acdbdata/adsp_avs_config.acdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reiryuki/Mi-Sound-Redmi-K40-Magisk-Module/8bae02fbe231a1f84cb9220dfb8c53cd9355182d/system_dolby/vendor/etc/acdbdata/adsp_avs_config.acdb -------------------------------------------------------------------------------- /system_dolby/vendor/etc/media_codecs_dolby_audio.xml: -------------------------------------------------------------------------------- 1 | 2 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | -------------------------------------------------------------------------------- /system_dolby/vendor/lib/libdapparamstorage.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reiryuki/Mi-Sound-Redmi-K40-Magisk-Module/8bae02fbe231a1f84cb9220dfb8c53cd9355182d/system_dolby/vendor/lib/libdapparamstorage.so -------------------------------------------------------------------------------- /system_dolby/vendor/lib/libdeccfg.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reiryuki/Mi-Sound-Redmi-K40-Magisk-Module/8bae02fbe231a1f84cb9220dfb8c53cd9355182d/system_dolby/vendor/lib/libdeccfg.so -------------------------------------------------------------------------------- /system_dolby/vendor/lib/libqtigef.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reiryuki/Mi-Sound-Redmi-K40-Magisk-Module/8bae02fbe231a1f84cb9220dfb8c53cd9355182d/system_dolby/vendor/lib/libqtigef.so -------------------------------------------------------------------------------- /system_dolby/vendor/lib/libstagefright_foundation.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reiryuki/Mi-Sound-Redmi-K40-Magisk-Module/8bae02fbe231a1f84cb9220dfb8c53cd9355182d/system_dolby/vendor/lib/libstagefright_foundation.so -------------------------------------------------------------------------------- /system_dolby/vendor/lib/libstagefright_soft_ac4dec.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reiryuki/Mi-Sound-Redmi-K40-Magisk-Module/8bae02fbe231a1f84cb9220dfb8c53cd9355182d/system_dolby/vendor/lib/libstagefright_soft_ac4dec.so -------------------------------------------------------------------------------- /system_dolby/vendor/lib/libstagefright_soft_ddpdec.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reiryuki/Mi-Sound-Redmi-K40-Magisk-Module/8bae02fbe231a1f84cb9220dfb8c53cd9355182d/system_dolby/vendor/lib/libstagefright_soft_ddpdec.so -------------------------------------------------------------------------------- /system_dolby/vendor/lib/libstagefrightdolby.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reiryuki/Mi-Sound-Redmi-K40-Magisk-Module/8bae02fbe231a1f84cb9220dfb8c53cd9355182d/system_dolby/vendor/lib/libstagefrightdolby.so -------------------------------------------------------------------------------- /system_dolby/vendor/lib/rfsa/adsp/capi_v2_dap_cpdp.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reiryuki/Mi-Sound-Redmi-K40-Magisk-Module/8bae02fbe231a1f84cb9220dfb8c53cd9355182d/system_dolby/vendor/lib/rfsa/adsp/capi_v2_dap_cpdp.so -------------------------------------------------------------------------------- /system_dolby/vendor/lib/soundfx/libeffectproxy.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reiryuki/Mi-Sound-Redmi-K40-Magisk-Module/8bae02fbe231a1f84cb9220dfb8c53cd9355182d/system_dolby/vendor/lib/soundfx/libeffectproxy.so -------------------------------------------------------------------------------- /system_dolby/vendor/lib/soundfx/libhwdap.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reiryuki/Mi-Sound-Redmi-K40-Magisk-Module/8bae02fbe231a1f84cb9220dfb8c53cd9355182d/system_dolby/vendor/lib/soundfx/libhwdap.so -------------------------------------------------------------------------------- /system_dolby/vendor/lib/soundfx/libswdap.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reiryuki/Mi-Sound-Redmi-K40-Magisk-Module/8bae02fbe231a1f84cb9220dfb8c53cd9355182d/system_dolby/vendor/lib/soundfx/libswdap.so -------------------------------------------------------------------------------- /system_dolby/vendor/lib/soundfx/libswgamedap.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reiryuki/Mi-Sound-Redmi-K40-Magisk-Module/8bae02fbe231a1f84cb9220dfb8c53cd9355182d/system_dolby/vendor/lib/soundfx/libswgamedap.so -------------------------------------------------------------------------------- /system_dolby/vendor/lib/soundfx/libswvqe.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reiryuki/Mi-Sound-Redmi-K40-Magisk-Module/8bae02fbe231a1f84cb9220dfb8c53cd9355182d/system_dolby/vendor/lib/soundfx/libswvqe.so -------------------------------------------------------------------------------- /system_dolby/vendor/lib/vendor.dolby.hardware.dms@2.0.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reiryuki/Mi-Sound-Redmi-K40-Magisk-Module/8bae02fbe231a1f84cb9220dfb8c53cd9355182d/system_dolby/vendor/lib/vendor.dolby.hardware.dms@2.0.so -------------------------------------------------------------------------------- /system_dolby/vendor/lib64/libdapparamstorage.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reiryuki/Mi-Sound-Redmi-K40-Magisk-Module/8bae02fbe231a1f84cb9220dfb8c53cd9355182d/system_dolby/vendor/lib64/libdapparamstorage.so -------------------------------------------------------------------------------- /system_dolby/vendor/lib64/libdeccfg.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reiryuki/Mi-Sound-Redmi-K40-Magisk-Module/8bae02fbe231a1f84cb9220dfb8c53cd9355182d/system_dolby/vendor/lib64/libdeccfg.so -------------------------------------------------------------------------------- /system_dolby/vendor/lib64/libdlbdsservice.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reiryuki/Mi-Sound-Redmi-K40-Magisk-Module/8bae02fbe231a1f84cb9220dfb8c53cd9355182d/system_dolby/vendor/lib64/libdlbdsservice.so -------------------------------------------------------------------------------- /system_dolby/vendor/lib64/libqtigef.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reiryuki/Mi-Sound-Redmi-K40-Magisk-Module/8bae02fbe231a1f84cb9220dfb8c53cd9355182d/system_dolby/vendor/lib64/libqtigef.so -------------------------------------------------------------------------------- /system_dolby/vendor/lib64/libsqlite.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reiryuki/Mi-Sound-Redmi-K40-Magisk-Module/8bae02fbe231a1f84cb9220dfb8c53cd9355182d/system_dolby/vendor/lib64/libsqlite.so -------------------------------------------------------------------------------- /system_dolby/vendor/lib64/libstagefright_foundation.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reiryuki/Mi-Sound-Redmi-K40-Magisk-Module/8bae02fbe231a1f84cb9220dfb8c53cd9355182d/system_dolby/vendor/lib64/libstagefright_foundation.so -------------------------------------------------------------------------------- /system_dolby/vendor/lib64/libstagefright_soft_ac4dec.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reiryuki/Mi-Sound-Redmi-K40-Magisk-Module/8bae02fbe231a1f84cb9220dfb8c53cd9355182d/system_dolby/vendor/lib64/libstagefright_soft_ac4dec.so -------------------------------------------------------------------------------- /system_dolby/vendor/lib64/libstagefright_soft_ddpdec.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reiryuki/Mi-Sound-Redmi-K40-Magisk-Module/8bae02fbe231a1f84cb9220dfb8c53cd9355182d/system_dolby/vendor/lib64/libstagefright_soft_ddpdec.so -------------------------------------------------------------------------------- /system_dolby/vendor/lib64/libstagefrightdolby.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reiryuki/Mi-Sound-Redmi-K40-Magisk-Module/8bae02fbe231a1f84cb9220dfb8c53cd9355182d/system_dolby/vendor/lib64/libstagefrightdolby.so -------------------------------------------------------------------------------- /system_dolby/vendor/lib64/soundfx/libeffectproxy.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reiryuki/Mi-Sound-Redmi-K40-Magisk-Module/8bae02fbe231a1f84cb9220dfb8c53cd9355182d/system_dolby/vendor/lib64/soundfx/libeffectproxy.so -------------------------------------------------------------------------------- /system_dolby/vendor/lib64/soundfx/libhwdap.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reiryuki/Mi-Sound-Redmi-K40-Magisk-Module/8bae02fbe231a1f84cb9220dfb8c53cd9355182d/system_dolby/vendor/lib64/soundfx/libhwdap.so -------------------------------------------------------------------------------- /system_dolby/vendor/lib64/soundfx/libswdap.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reiryuki/Mi-Sound-Redmi-K40-Magisk-Module/8bae02fbe231a1f84cb9220dfb8c53cd9355182d/system_dolby/vendor/lib64/soundfx/libswdap.so -------------------------------------------------------------------------------- /system_dolby/vendor/lib64/soundfx/libswgamedap.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reiryuki/Mi-Sound-Redmi-K40-Magisk-Module/8bae02fbe231a1f84cb9220dfb8c53cd9355182d/system_dolby/vendor/lib64/soundfx/libswgamedap.so -------------------------------------------------------------------------------- /system_dolby/vendor/lib64/soundfx/libswvqe.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reiryuki/Mi-Sound-Redmi-K40-Magisk-Module/8bae02fbe231a1f84cb9220dfb8c53cd9355182d/system_dolby/vendor/lib64/soundfx/libswvqe.so -------------------------------------------------------------------------------- /system_dolby/vendor/lib64/vendor.dolby.hardware.dms@2.0-impl.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reiryuki/Mi-Sound-Redmi-K40-Magisk-Module/8bae02fbe231a1f84cb9220dfb8c53cd9355182d/system_dolby/vendor/lib64/vendor.dolby.hardware.dms@2.0-impl.so -------------------------------------------------------------------------------- /system_dolby/vendor/lib64/vendor.dolby.hardware.dms@2.0.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reiryuki/Mi-Sound-Redmi-K40-Magisk-Module/8bae02fbe231a1f84cb9220dfb8c53cd9355182d/system_dolby/vendor/lib64/vendor.dolby.hardware.dms@2.0.so -------------------------------------------------------------------------------- /system_rhode/vendor/lib/soundfx/libswdap.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reiryuki/Mi-Sound-Redmi-K40-Magisk-Module/8bae02fbe231a1f84cb9220dfb8c53cd9355182d/system_rhode/vendor/lib/soundfx/libswdap.so -------------------------------------------------------------------------------- /system_rhode/vendor/lib64/soundfx/libswdap.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reiryuki/Mi-Sound-Redmi-K40-Magisk-Module/8bae02fbe231a1f84cb9220dfb8c53cd9355182d/system_rhode/vendor/lib64/soundfx/libswdap.so -------------------------------------------------------------------------------- /system_support/lib/libhidlbase.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reiryuki/Mi-Sound-Redmi-K40-Magisk-Module/8bae02fbe231a1f84cb9220dfb8c53cd9355182d/system_support/lib/libhidlbase.so -------------------------------------------------------------------------------- /system_support/lib64/libhidlbase.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reiryuki/Mi-Sound-Redmi-K40-Magisk-Module/8bae02fbe231a1f84cb9220dfb8c53cd9355182d/system_support/lib64/libhidlbase.so -------------------------------------------------------------------------------- /system_support/vendor/lib/hw/android.hardware.audio.effect@2.0-impl.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reiryuki/Mi-Sound-Redmi-K40-Magisk-Module/8bae02fbe231a1f84cb9220dfb8c53cd9355182d/system_support/vendor/lib/hw/android.hardware.audio.effect@2.0-impl.so -------------------------------------------------------------------------------- /system_support/vendor/lib/hw/android.hardware.audio.effect@4.0-impl.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reiryuki/Mi-Sound-Redmi-K40-Magisk-Module/8bae02fbe231a1f84cb9220dfb8c53cd9355182d/system_support/vendor/lib/hw/android.hardware.audio.effect@4.0-impl.so -------------------------------------------------------------------------------- /system_support/vendor/lib/hw/android.hardware.audio.effect@5.0-impl.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reiryuki/Mi-Sound-Redmi-K40-Magisk-Module/8bae02fbe231a1f84cb9220dfb8c53cd9355182d/system_support/vendor/lib/hw/android.hardware.audio.effect@5.0-impl.so -------------------------------------------------------------------------------- /system_support/vendor/lib/hw/android.hardware.audio.effect@6.0-impl.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reiryuki/Mi-Sound-Redmi-K40-Magisk-Module/8bae02fbe231a1f84cb9220dfb8c53cd9355182d/system_support/vendor/lib/hw/android.hardware.audio.effect@6.0-impl.so -------------------------------------------------------------------------------- /system_support/vendor/lib/hw/android.hardware.audio.effect@7.0-impl.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reiryuki/Mi-Sound-Redmi-K40-Magisk-Module/8bae02fbe231a1f84cb9220dfb8c53cd9355182d/system_support/vendor/lib/hw/android.hardware.audio.effect@7.0-impl.so -------------------------------------------------------------------------------- /system_support/vendor/lib64/hw/android.hardware.audio.effect@2.0-impl.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reiryuki/Mi-Sound-Redmi-K40-Magisk-Module/8bae02fbe231a1f84cb9220dfb8c53cd9355182d/system_support/vendor/lib64/hw/android.hardware.audio.effect@2.0-impl.so -------------------------------------------------------------------------------- /system_support/vendor/lib64/hw/android.hardware.audio.effect@4.0-impl.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reiryuki/Mi-Sound-Redmi-K40-Magisk-Module/8bae02fbe231a1f84cb9220dfb8c53cd9355182d/system_support/vendor/lib64/hw/android.hardware.audio.effect@4.0-impl.so -------------------------------------------------------------------------------- /system_support/vendor/lib64/hw/android.hardware.audio.effect@5.0-impl.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reiryuki/Mi-Sound-Redmi-K40-Magisk-Module/8bae02fbe231a1f84cb9220dfb8c53cd9355182d/system_support/vendor/lib64/hw/android.hardware.audio.effect@5.0-impl.so -------------------------------------------------------------------------------- /system_support/vendor/lib64/hw/android.hardware.audio.effect@6.0-impl.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reiryuki/Mi-Sound-Redmi-K40-Magisk-Module/8bae02fbe231a1f84cb9220dfb8c53cd9355182d/system_support/vendor/lib64/hw/android.hardware.audio.effect@6.0-impl.so -------------------------------------------------------------------------------- /system_support/vendor/lib64/hw/android.hardware.audio.effect@7.0-impl.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reiryuki/Mi-Sound-Redmi-K40-Magisk-Module/8bae02fbe231a1f84cb9220dfb8c53cd9355182d/system_support/vendor/lib64/hw/android.hardware.audio.effect@7.0-impl.so -------------------------------------------------------------------------------- /uninstall.sh: -------------------------------------------------------------------------------- 1 | mount -o rw,remount /data 2 | [ ! "$MODPATH" ] && MODPATH=${0%/*} 3 | [ ! "$MODID" ] && MODID=`basename "$MODPATH"` 4 | UID=`id -u` 5 | [ ! "$UID" ] && UID=0 6 | 7 | # log 8 | exec 2>/data/adb/$MODID\_uninstall.log 9 | set -x 10 | 11 | # run 12 | . $MODPATH/function.sh 13 | 14 | # cleaning 15 | remove_cache 16 | PKGS=`cat $MODPATH/package.txt` 17 | #dPKGS=`cat $MODPATH/package-dolby.txt` 18 | for PKG in $PKGS; do 19 | rm -rf /data/user*/"$UID"/$PKG 20 | done 21 | remove_sepolicy_rule 22 | #drm -f /data/vendor/dolby/dax_sqlite3.db 23 | resetprop -p --delete persist.sys.button_jack_profile 24 | resetprop -p --delete persist.sys.button_jack_switch 25 | resetprop -p --delete persist.audio.button_jack.profile 26 | resetprop -p --delete persist.audio.button_jack.switch 27 | resetprop -p --delete persist.vendor.audio.button_jack.profile 28 | resetprop -p --delete persist.vendor.audio.button_jack.switch 29 | resetprop -p --delete persist.vendor.audio.misound.disable 30 | resetprop -p --delete persist.vendor.audio.sfx.hd.music.state 31 | resetprop -p --delete persist.vendor.audio.sfx.hd.type 32 | resetprop -p --delete persist.vendor.audio.sfx.hd.eq 33 | resetprop -p --delete persist.vendor.audio.ears.compensation.example 34 | resetprop -p --delete persist.vendor.audio.ears.compensation.state 35 | resetprop -p --delete persist.vendor.audio.ears.compensation.eq.left 36 | resetprop -p --delete persist.vendor.audio.ears.compensation.eq.right 37 | resetprop -p --delete persist.vendor.audio.scenario 38 | resetprop -p --delete persist.vendor.audio.scenario.restore 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | -------------------------------------------------------------------------------- /unused/vendor/etc/init/vendor.dolby.hardware.dms@2.0-service.rc: -------------------------------------------------------------------------------- 1 | service dms-hal-2-0 /vendor/bin/hw/vendor.dolby.hardware.dms@2.0-service 2 | class hal 3 | user media 4 | group audio media 5 | on post-fs-data 6 | mkdir /data/vendor/dolby 0770 media media 7 | -------------------------------------------------------------------------------- /unused/vendor/etc/media_codecs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /unused/vendor/etc/selinux/vendor_file_contexts: -------------------------------------------------------------------------------- 1 | /(vendor|system/vendor)/bin/hw/vendor\.dolby\.hardware\.dms@2\.0-service u:object_r:hal_dms_default_exec:s0 2 | /data/vendor/dolby(/.*)? u:object_r:vendor_data_file:s0 -------------------------------------------------------------------------------- /unused/vendor/etc/selinux/vendor_hwservice_contexts: -------------------------------------------------------------------------------- 1 | vendor.dolby.hardware.dms::IDms u:object_r:hal_dms_hwservice:s0 -------------------------------------------------------------------------------- /update.sh: -------------------------------------------------------------------------------- 1 | copy_library() { 2 | if echo "$ABI" | grep 64; then 3 | DES="`find /data/app -type d -name *$PKG*`/lib/*64" 4 | if echo $DES | grep $PKG; then 5 | for NAMES in $NAME; do 6 | if [ -f /system/lib64/$NAMES ]; then 7 | cp -f /system/lib64/$NAMES $DES 8 | else 9 | cp -f /system/apex/*/lib64/$NAMES $DES 10 | cp -f /apex/*/lib64/$NAMES $DES 11 | fi 12 | done 13 | chmod 0755 $DES/* 14 | chown 1000.1000 $DES/* 15 | fi 16 | else 17 | DES="`find /data/app -type d -name *$PKG*`/lib/*" 18 | if echo $DES | grep $PKG; then 19 | for NAMES in $NAME; do 20 | if [ -f /system/lib/$NAMES ]; then 21 | cp -f /system/lib/$NAMES $DES 22 | else 23 | cp -f /system/apex/*/lib/$NAMES $DES 24 | cp -f /apex/*/lib/$NAMES $DES 25 | fi 26 | done 27 | chmod 0755 $DES/* 28 | chown 1000.1000 $DES/* 29 | fi 30 | fi 31 | } 32 | 33 | ABI=`getprop ro.product.cpu.abi` 34 | PKG=com.miui.misound 35 | NAME="libnativehelper.so libmiuinative.so libmiuiblur.so 36 | libmiuixlog.so libxlog.so" 37 | copy_library 38 | 39 | 40 | -------------------------------------------------------------------------------- /x86/libmagiskpolicy.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reiryuki/Mi-Sound-Redmi-K40-Magisk-Module/8bae02fbe231a1f84cb9220dfb8c53cd9355182d/x86/libmagiskpolicy.so -------------------------------------------------------------------------------- /x86_64/libmagiskpolicy.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reiryuki/Mi-Sound-Redmi-K40-Magisk-Module/8bae02fbe231a1f84cb9220dfb8c53cd9355182d/x86_64/libmagiskpolicy.so --------------------------------------------------------------------------------