[MAGISK][MOD][EOL][v5] Dual Speaker Mod For Redmi K20 Pro

Search This thread
T

Tazreean Shahariyr

Guest
This is a request....can you make this mod for the redmi K20 too?
 

David_#27

Senior Member
Mar 11, 2017
595
169
I really need help from here!

Any time i try to install this mod, not only it doesn't work, but also the sound comes only from the earpiece...

What am I doing wrong?
I followed exactly the OP instructions.
I have no viper installed or any other sound mods.

Can anyone guide me so I can make it happen?

Thanks in advance!
 
  • Like
Reactions: javad79

javad79

Senior Member
Sep 14, 2016
141
63
Please add support for mi 9 too. All mi9 dual speaker mod won't work in all AOSP rom or won't work with custom kernels with miui rom . I hope you add support
I used your mod in OnePlus 6 and it was great .
Thanks bro for your hard work ?
 

Espmic86

Senior Member
Feb 1, 2017
107
60

Hi dude, was awesome the v5 finally working in magisk, no I updated and doesn't work anymore, even if manually extract to vendor etc.

Using latest Xiaomi.eu 11.0.7 cn based stable firmware

Updated latest audio modification library

Updated latest viper 4 android FX

Everything works as usual, but no v5 doesn work whatever way I try to install it, unchecking audio modification, uninstalling any other mod, putting XML files manually and setting permissions etc... This was the same problem that I had with v4, was solved with v5 which worked perfectly



Is there anything I can do to let you understand if this is due to the file and can be modified to enlarge compatibility with everything updated so that you can release a newer version? Or some advices maybe I m doing something wrong?

No way to get dual stereo anymore, in whatever application.. no way
 

ag8t

Member
Sep 7, 2012
6
1
Redmi K20 Pro
Hi dude, was awesome the v5 finally working in magisk, no I updated and doesn't work anymore, even if manually extract to vendor etc.

Using latest Xiaomi.eu 11.0.7 cn based stable firmware

Updated latest audio modification library

Updated latest viper 4 android FX

Everything works as usual, but no v5 doesn work whatever way I try to install it, unchecking audio modification, uninstalling any other mod, putting XML files manually and setting permissions etc... This was the same problem that I had with v4, was solved with v5 which worked perfectly



Is there anything I can do to let you understand if this is due to the file and can be modified to enlarge compatibility with everything updated so that you can release a newer version? Or some advices maybe I m doing something wrong?

No way to get dual stereo anymore, in whatever application.. no way

just follow the instructions
 
Last edited:
  • Like
Reactions: suzon.sth122

[email protected]

Senior Member
Sep 26, 2016
137
50
There is delay between two speaker output.. They are not synced.
I am unable to find settimgs where to adjust there time delay manually.
Any help frm anyone?
 

zuhero

Senior Member
May 17, 2014
121
15
Ok guys as I said the manually installation works also on 11.0.5 and multiple audio mods.

Required ADB, busybox and permissive selinux switched.
Install viper all, then install aml, then install viper drivers, reboot.... Reboot and reinstall until you get viper working, if it does not try installing viper drivers by unchecking aml in magisk modules.

Set viper as you like, I suggest tube ampl8fier convulator and -14db master audio plus all modifications you like, over headset and Bluetooth I suggest xhifi crystal audio and to boost basses with the specific option. (Convulators kernels goes in viper4android/kernels folder).

Once you got this working just install the 320kbps bitrate magisk module and reboot.

Now you have a great audio, but beleave me that if you successfully install as below described also dual speaker and low latency mode you can't beleave how astonishing and perfect audio reproduction is, like having a laptop in your hands, crystal clear... The people who say they don t mind about the difference they actually didn't even recognize that they haven't successfully installed any dual speaker mod correctly....so do as follows now:

Just extract from v4 magisk module the mixer XML files and put them in system vendor etc folder and set permissions to 0644 aka rw-r-r (I put them attached anyway, these are from v4 dual speaker mode created from the owner of this thread)

Put audio policy XML file posted for the latency problem by previous member in vendor system etc audio and set permissions to 0644 aka rw-r-r

This file must be extracted from the zip in the attachment

Be sure in your phone options you have MONO AUDIO disabled and left/right channel balanced 50%. (In my case I had problems before because the audio was settled to mono and because I gave wrong permission to files.... Be sure to set them all on rw-r-r (0644 indeed).

I use old but still best for me es file manager

You won't believe what a boost you have..

Actually I suggest installing immensity kernel v11 (user experience flows, AnTuTu got from 410k to 450k and ram, memory and file reading access is way faster now.)

Also use 75hz dtbo which i tested working only with this immensity kernel and doesn't require DC antiflickering and works everywhere with no frame drops and battery impact and no green tint.
No need to install or use the disable he overlay

And now finally both kernel and dtbo doesn't break widevine so you still get l1 hdr support and netflix works at 1080p hdr, this wasn't working in the past.

These are all the suggestions I can give to get the max out of k20 pro.

I should make a separete thread with "suggested tested working modifications to get the perfect k20 pro".

Have a try guys, won't regret for sure.

Of course get cloudflare DNS, YouTube vanced , Google pay fix, latest magisk, and you have a greatly no bugs customized phone , SnapTube, idm, or whatever apps you like to use. Good is fouad WhatsApp for strong privacy settings.

Best cam out of all testing is parrots V10, attached my config after many tests this is the best all situation config I could get, of course others may not like it, I use it daily for pics, only use stock camera for videos. Even latest release aren't good as this with these settings in my opinion, so I'm stuck to V10, get it on gcams azsvedo archive.

Dtbo file must be extracted and installed as image through twrp.
Install whatever spam blocker such as adaway, maybe using unified hosts , get instruction on this forum, just be sure to whitelist apps domain such as news Republic or medscape if you use them.

All rights and thanks go to the relative developers who created the various files.

Regards,
Michele
People, bluetooth doesn't work when i change de audio policy xml to the one in the post, any solution or workaround? All the other mods work nice
I uploaded my working audio policy. Any configurations that i need to change to get the low latency from the aforementioned xml in the quote? Or can someone please fix my xml.
 

Attachments

  • audio_policy_configuration.xml
    32.6 KB · Views: 85
Last edited:
  • Like
Reactions: Riyonlive

Kamall_D

New member
Mar 15, 2020
3
0
People, bluetooth doesn't work when i change de audio policy xml to the one in the post, any solution or workaround? All the other mods work nice
I uploaded my working audio policy. Any configurations that i need to change to get the low latency from the aforementioned xml in the quote? Or can someone please fix my xml.

I have the same problem in my k20 pro with latest EEA rom, can anyone provide a solution or upload stock audioconfiguration.xml will be helpful
 

juanjo.segura

Member
Mar 29, 2015
34
0
Well I've tried this mod in the v4 and v5, and I can't feel almost no difference between installed or not, only if I put my ear on the earpiece. I'm installing with Magisk 20.4, I'm making any mistake?
 

Marxnzw

New member
Jul 25, 2020
1
0
hey i got problem the dual speaker mod works but sound on earpiece is enormly quiet a

hey i got problem the dual speaker mod works but sound on earpiece is enormly quiet and delayed. what can i do? than you
 

drifftkingg97

Member
Sep 17, 2017
38
8
Mod is working great on Havoc OS, however V4A cannot detect the irs file. I have multiple other irs files for my headphones which work, but yours just doesn't pop up in the list.
I simply extracted the file to Viper4Android/Kernel, and renamed to 'Tube.irs'.
Anything I am doing wrong?
 
  • Like
Reactions: erenkeros

Top Liked Posts

  • There are no posts matching your filters.
  • 46
    This mod enables the earpiece to be used as a secondary speaker for audio output.

    Disclaimer : I'm not responsible for any damage to your device.

    Youtube :


    Instructions & Working :
    Download the mod
    Flash via Magisk Manager/TWRP
    Reboot



    Download : AFH

    Source :
    Github

    Changelog :
    v1 - Initial Release
    v2 - #77
    v3 - #82
    v4 - #118
    v5 - #269
    EOL + v5exp - #296

    Note :
    Download the file in the attachment, extract it & move it to ViPER4Android/Kernel folder in internal storage and select TubeAmplifier file in Convolver. This will significantly boost the output of both the speakers without causing any distortions. [Original thread]

    To disable the mod, simply uninstall it from the magisk manager.

    Credits :
    Dante63 for his guide

    Regards,
    acervenky
    17
    EOL

    I received many requests to port the dual earphone feature from RUI, this is untested and may result in bootloop; so proceed only if you know what you're doing!
    Download : v5exp

    And about the mod, v5 will be the last version. Anyone who is interested to maintain it further can refer to my repository for additional info.
    To view the changes in latest RUI mixers, refer to this commit!
    Thank you to all the testers for reporting back and users who uploaded their mixers from latest firmwares, I worked on several mods for this device & it has been a great pleasure to be a part of raphael community.

    Regards,
    acervenky
    12
    Ok guys as I said the manually installation works also on 11.0.5 and multiple audio mods.

    Required ADB, busybox and permissive selinux switched.
    Install viper all, then install aml, then install viper drivers, reboot.... Reboot and reinstall until you get viper working, if it does not try installing viper drivers by unchecking aml in magisk modules.

    Set viper as you like, I suggest tube ampl8fier convulator and -14db master audio plus all modifications you like, over headset and Bluetooth I suggest xhifi crystal audio and to boost basses with the specific option. (Convulators kernels goes in viper4android/kernels folder).

    Once you got this working just install the 320kbps bitrate magisk module and reboot.

    Now you have a great audio, but beleave me that if you successfully install as below described also dual speaker and low latency mode you can't beleave how astonishing and perfect audio reproduction is, like having a laptop in your hands, crystal clear... The people who say they don t mind about the difference they actually didn't even recognize that they haven't successfully installed any dual speaker mod correctly....so do as follows now:

    Just extract from v4 magisk module the mixer XML files and put them in system vendor etc folder and set permissions to 0644 aka rw-r-r (I put them attached anyway, these are from v4 dual speaker mode created from the owner of this thread)

    Put audio policy XML file posted for the latency problem by previous member in vendor system etc audio and set permissions to 0644 aka rw-r-r

    This file must be extracted from the zip in the attachment

    Be sure in your phone options you have MONO AUDIO disabled and left/right channel balanced 50%. (In my case I had problems before because the audio was settled to mono and because I gave wrong permission to files.... Be sure to set them all on rw-r-r (0644 indeed).

    I use old but still best for me es file manager

    You won't believe what a boost you have..

    Actually I suggest installing immensity kernel v11 (user experience flows, AnTuTu got from 410k to 450k and ram, memory and file reading access is way faster now.)

    Also use 75hz dtbo which i tested working only with this immensity kernel and doesn't require DC antiflickering and works everywhere with no frame drops and battery impact and no green tint.
    No need to install or use the disable he overlay

    And now finally both kernel and dtbo doesn't break widevine so you still get l1 hdr support and netflix works at 1080p hdr, this wasn't working in the past.

    These are all the suggestions I can give to get the max out of k20 pro.

    I should make a separete thread with "suggested tested working modifications to get the perfect k20 pro".

    Have a try guys, won't regret for sure.

    Of course get cloudflare DNS, YouTube vanced , Google pay fix, latest magisk, and you have a greatly no bugs customized phone , SnapTube, idm, or whatever apps you like to use. Good is fouad WhatsApp for strong privacy settings.

    Best cam out of all testing is parrots V10, attached my config after many tests this is the best all situation config I could get, of course others may not like it, I use it daily for pics, only use stock camera for videos. Even latest release aren't good as this with these settings in my opinion, so I'm stuck to V10, get it on gcams azsvedo archive.

    Dtbo file must be extracted and installed as image through twrp.
    Install whatever spam blocker such as adaway, maybe using unified hosts , get instruction on this forum, just be sure to whitelist apps domain such as news Republic or medscape if you use them.

    All rights and thanks go to the relative developers who created the various files.

    Regards,
    Michele
    11
    v4 Released

    Changelog :
    Code:
    Optimized gain of Main Speaker & Earpiece
    Eliminate Delay Between Both The Speakers
    Change the config to Mono (will fix the R channel not playing through main speaker)

    Attached the loudness enhancement irs file to OP, download it and follow the instructions!
    The mod is now refined, will move to AML from next release!

    Regards,
    acervenky
    10
    v5 Released

    Changelog :
    Code:
    Updated mixers from latest A10 firmware to eliminate issues with BT
    New magisk template
    Audio-ull enabled

    Regards,
    acervenky