[MOD][Stereo][BiQuad][Audio] Stereo mod and enhanced bass using Qualcomms Biquads

Search This thread

louis-JYG4t

Senior Member
Mar 25, 2015
211
103
Created review and installation for mod on oreo based roms. Sound is like SRS now but not louder but we can use kernel auditer mod For sound control

MOD EDIT: YOUTUBE LINK REMOVED
Thanks for the video! However i'd like to note that the uninstall.zip won't work this way, users should manually backup their stock mixer_paths.xml or dirty-flash their rom to go back to stock.
In the meanwhile I figured out how to create a universal installer and uninstaller for both pre- and post-oreo roms. I'll apply it on my sound mods one of the coming days and update the thread.

Edit: also don't boost the volume too much, it could harm your speakers. If enough users want it, I can make an even loader version without destroying the speakers, but then I would have to reduce bass.
 
Last edited by a moderator:

louis-JYG4t

Senior Member
Mar 25, 2015
211
103
I added support for android oreo for the installer.
Could someone who is on oreo verify if it works or not? I tested it on nougat and it works.
Revert to stock before flashing if you're on oreo, otherwise the backup/restore-function won't work.
 
  • Like
Reactions: Thanhbat

joead2010

Member
Jul 26, 2017
38
5
I added support for android oreo for the installer.
Could someone who is on oreo verify if it works or not? I tested it on nougat and it works.
Revert to stock before flashing if you're on oreo, otherwise the backup/restore-function won't work.

Its works on oreo but the result was not as good as i expected (too much bass)
???
 

bmark240

Senior Member
Aug 19, 2016
837
728
Can someone create a version that merges BiQuad with the other modded
Mixer_paths. XML?
For example adjusting the RX3 to boost
the volume slightly, & dropping the Bass as the crackle kicks in at even light frequencies.
 

louis-JYG4t

Senior Member
Mar 25, 2015
211
103
@louis-JYG4t Can you bring MaxxAudio back to Oreo?
I really miss it, your sound mode make main speaker sound really good same as MaxxAudio(partially), I think you can modify it to work on Oreo
Thank you

I'm going to replace my oneplus one in one of the coming months so I won't make any mod for it anymore.
I'm sory.
 
  • Like
Reactions: Thanhbat
Apr 8, 2014
10
1
Larissa
I am running sultan nougat and your stereo mod. Very nice audio quality but a bit low. And also I have a problem . None of the speakers work when I make a call. I have tried different apps messenger and phone call but it doesn't work.
 

louis-JYG4t

Senior Member
Mar 25, 2015
211
103
I am running sultan nougat and your stereo mod. Very nice audio quality but a bit low. And also I have a problem . None of the speakers work when I make a call. I have tried different apps messenger and phone call but it doesn't work.

Do you use the dolby atmos modification? If no: try it, it's amazing ;) this mod had been made while using the dolby atmos so I adjusted the volume, stereo, etc. all on that case.
For the call problem: are you using the original sultan nougat? I'm also using that and I don't encounter it... you could try uninstalling my mod, checking if the calling works again, then reinstall it and check again. If it still doesn't work, send me your mixer_paths.xml please.
 

SairesArt

Senior Member
May 22, 2015
50
5
OnePlus One
Holy **** man, this is awesome!
The very very best implementation I have ever Seen of Earphone for stereo.
Totally upgrades experience. Many thanks for keeping my OPO so relevant and alive.

The bass is also way better than anything I achieved with Viper4Arise.
 

louis-JYG4t

Senior Member
Mar 25, 2015
211
103
Holy **** man, this is awesome!
The very very best implementation I have ever Seen of Earphone for stereo.
Totally upgrades experience. Many thanks for keeping my OPO so relevant and alive.

The bass is also way better than anything I achieved with Viper4Arise.


Thank you very much for sharing !

Working great , real upgrade .

Great to hear!
You could leave a thumbs-up on the first post to encourage me to make more developments ?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 20
    Code:
    *** Disclamer
    I made this mod for myself and I'm willing to share it with you. Install this at your own risk.

    Introduction
    This mod activates the earpeace speaker for playback of multimedia audio, to create a stereo sound.

    Using Qualcomms biquads, which is a hardware filter (doesn't interfere with software equalizers) in the audio codec that isn't used by default, I have been able to increase the volume and bass of the audio without harming the speakers. For this, I designed the biquads like this:

    Earpiece
    Let's be clear about it: the earpiece speaker isn't physically designed to produce loud and rich music and doing so may be harmfull for it.
    I filtered out the low-frequency tones for the earpiece speaker because these are the most harmfull for it. Doing so, I was also able to turn up the volume a tad without sacrificing on the quality of the audio.
    This is the frequency response of the earpiece speaker:
    X-AcT62JXUKRQkFhxuT5vncFZNQxZ7mhBdptLBl4tcJ49-4IsUfQrjc40x-iR5G831-rE-shmohnDQBy7bw6=w1920-h948-rw


    Main speaker
    Here I made 2 versions: 'balanced' and 'volume boosted'.
    Balanced:
    On this one I lowered the volume of the main speaker to match the volume of the earpiece speaker. But because the low-frequency tones are quite weak on the oneplus one, I decided to keep the basses on stock level. This way, the sound is nice balanced while basses are a bit boosted. This leads to a very nice audio experience while watching video's, however the max volume is quite low.
    The frequency response of the main speaker for this case is like this:
    Gs8cB-sWLH_go6KmQFFUYr9RSIXJg1VvzlkXL4cWh7I_zN516L0KRXh2UbKkDBSbgtJN44-ef7cNIAfkDMB6=w1920-h948-rw

    Volume boosted
    This is actually the same as the balanced, but the total volume is about the same as stock.
    I lowered the main speaker volume until the point where the earpiece and main speaker together produce about the same volume as stock. The low-frequency tones of the main speaker are kept at max volume. This leads to music with about the same volume, but better bass than stock. The nice stereo effect of the music is still present, but not balanced anymore.
    This is the frequency response of the main speaker:
    lIIJkzA9MTawQpwC6bfdhKxmWhvd5OAXRcyOW9RnJ-bWHLHoFIPSJmIpJf_zuP_kpENQljMpGMpueMtFjxJQ=w1920-h948-rw

    Features
    • Based on the latest mixer_paths.xml from sultanXDA's LineageOS 14.1
    • Stereo audio
    • Biquad filters
      - earpiece is louder by filtering out the basses (main speaker also louder)
      - A lot more bass out of main speaker
    • Perfect balance between left and right channel
    • Added some missing ULL cases and output paths

    Download

    Installation instructions
    1) Download the balanced or the volume boosted stereo mod above
    2) Flash the zip-file through a custom recovery
    (The mod will check if my 'balanced' or 'volume boosted' mod has already been installed. In case it hasn't, it'll make a back-up of the original mixer_paths.xml)
    3) Ready!

    Uninstallation instructions
    Just install the Uninstall.zip, you're back to stock.
    (I also noticed that not every ROM uses the same mixer_paths.xml, so if you lost your sound after flashing this mod, don't wory, just flash the Uninstall.zip)

    Remarks
    I use (and thus developed) this mod together with a dolby atmos port to get a great audio experience while watching movies and listening music. Therefore it is also optimal in combination with dolby atmos.

    This mod was a lot of work, give a "thanks" or consider a small donation if you like it please.

    Thanks To
    Code:
    @abhi08638 for teaching me about the stereo part of this mod.
    @chdloc for teaching me about biQuads.

    XDA:DevDB Information
    Audio Mod, Tool/Utility for the OnePlus One

    Contributors
    louis-JYG4t

    Version Information
    Status: Stable

    Created 2018-03-12
    Last Updated 2018-03-21
    3
    Cần you port maxxaudio to oreo :D
    I'm not developing anymore for the oneplus one as I'll replace it. I bought xiaomi mi 8 today for wich I'll probably make a stereo mod again.
    My oneplus served me 3 years, but part of my touchscreen isn't working anymore after one drop too much.. ?
    3
    Holy **** man, this is awesome!
    The very very best implementation I have ever Seen of Earphone for stereo.
    Totally upgrades experience. Many thanks for keeping my OPO so relevant and alive.

    The bass is also way better than anything I achieved with Viper4Arise.


    Thank you very much for sharing !

    Working great , real upgrade .

    Great to hear!
    You could leave a thumbs-up on the first post to encourage me to make more developments ?
    3


    it works perfect.you can manual replace the mixer_paths.xml from /system/vendor/etc.great job.



    Oh I see, the location of mixer_paths.xml has changed with android 8.1...
    I'll update the installer to support android 8.1. In the mean time, you could indeed manually replace the mixer_paths.xml like zzyyi66 said, but take a backup of the original because the uninstaller won't work if the installer can't make a backup.
    For the people who manually replaced it without making a backup: another way to return to stock would be dirty flashing your rom again.
    2
    12/03/2018
    Initial publication.

    21/03/2018
    Added istaller support for android oreo.