• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[MAGISK][MOD][EOL] [v8]Stereo Speaker Mod For Oneplus 6 *AML COMPATIBLE*

Search This thread

Anirudh A

Member
Mar 17, 2014
30
14
Thanks for the links!

I use v9 also with viper4android + audio modification library+ Ainur_Narsil-MK_I .

Thanks for the V9. That's the only version that works with android 10.

I'm on Paranoid Android and this mod only slightly played music via the earpiece, which is fine.

The real MVP is the ViperFA. Just amazing when tuned correctly.

I only installed ViperFA first, reboot, and then Stereo MOD. I tried installing them all (all 4 which you provided) and I had no audio.

I hope the link for v9 stays on here! I can't find it anywhere.
 

acervenky

Recognized Contributor
Mar 25, 2012
2,325
4,926
Mumbai
POCO M2 Pro
Xiaomi Mi 10T / 10T Pro
Will this work on a Custom ROM (Android 10)? In case if it fails will it hamper my system or can be easily disabled ? Also any change in the battery consumption?

Please advise

This should work on custom roms, and can be easily disabled in magisk. Minimal change in battery consumption.
Even if it fails to work, you can use my script to patch your own mixer.

Regards,
acervenky
 

cheth20

Senior Member
Sep 11, 2006
111
6
I installed the magisk module and now I have dual speakers with the earpiece giving like 10 - 15 % boost.

I was using a kernel app to increase the earpiece volume to boost the volume during phone calls, but I saw a lot of distortion when I just increased a little. So now my question is - As I am seeing that the ear piece speaker can in fact play music at relatively higher volume with your mod, can I somehow use this technique to increase the call volume without distortion?



a little increase call quality.
This should work on custom roms, and can be easily disabled in magisk. Minimal change in battery consumption.
Even if it fails to work, you can use my script to patch your own mixer.

Regards,
acervenky
 

Luisferna27

New member
Apr 14, 2019
3
0
I need some help...

Please someone can help me? What is the correct order to install AML+ Viper + Stereo V9? And how to install it? Because there's a lot of ways installing Viper and then disabling AML, but i have seen in some screenshots that they have installed and enabled AML + Viper + Stereo. Thanks.
 

acervenky

Recognized Contributor
Mar 25, 2012
2,325
4,926
Mumbai
POCO M2 Pro
Xiaomi Mi 10T / 10T Pro
Interesting, they've made some changes to the speaker paths. I've attached the modified mixer to this post that should work.

I installed the magisk module and now I have dual speakers with the earpiece giving like 10 - 15 % boost.

I was using a kernel app to increase the earpiece volume to boost the volume during phone calls, but I saw a lot of distortion when I just increased a little. So now my question is - As I am seeing that the ear piece speaker can in fact play music at relatively higher volume with your mod, can I somehow use this technique to increase the call volume without distortion?



a little increase call quality.
Yes you can get a boost in call volume by increasing the DEC Volume values.

Regards,
acervenky
 

Attachments

  • mixer_paths_tavil(1).xml
    122.4 KB · Views: 39

dohclude

Senior Member
Interesting, they've made some changes to the speaker paths. I've attached the modified mixer to this post that should work.


Yes you can get a boost in call volume by increasing the DEC Volume values.

Regards,
acervenky
Tried your modified mixer, didn't do anything as far as I can tell though. Still only getting sound from the lower speaker, no earpiece. Are there possibly other mixer_path files that need to be patched, or is this patch just not working?
 
Last edited:

cheth20

Senior Member
Sep 11, 2006
111
6
Thanks, but I am really not sure which DEC section to modify as there are multiple ones

1 - is it the same value that gets modified by the kernel's sound module ?
2 - Can you may be help me with a magisk module which is already modified as it is has multiple DEC sections and I am really not sure?
3 - Where do I copy the modified XML file and under what name and properties?
4 - How can I use both, kernel sound tweaks along with your stereo mod? I see users have multiple ways of doing this.

Interesting, they've made some changes to the speaker paths. I've attached the modified mixer to this post that should work.


Yes you can get a boost in call volume by increasing the DEC Volume values.

Regards,
acervenky
 
Last edited:

cheth20

Senior Member
Sep 11, 2006
111
6
Volume changes possible in other mobiles?

Hi,

Is the volume change ( call volume, mic boost, dual speakers etc) possible in other mobiles running GSI version of 10?
 
  • Like
Reactions: Luisferna27

And00x

New member
May 5, 2020
1
0
I'm pretty sure v10 breaks AML compatibility. V4A always stops working after using and disconnecting bluetooth speakers/headphones, which is probably due to conflict with Dirac (sound mod built into the OP6). When this happens, I have to force stop V4A, clear cache, and only then V4A kicks in for the phone speakers again.

I'm back to v9 for know, let's hope for a fix. Also, any plans for supporting A11 when it comes out for the OP6?
 

jadajada

Senior Member
Jul 5, 2007
356
27
Haven’t used the OnePlus 6 for a while, but have started to use it again. Tried this mod again and my experience are these:

Versions below 8 not tested.

V8: does not work on latest 10.5.3
V9: Works fine, but audio gain settings in EX Manager does not stick. It resets to +4.
V10: Works, audio gain in EX Manager sticks, bit there is quite a bit of latency between the two speakers. Too much reverberation, sounds like the sound is in a large hall.

I am on latest Oxygen 10.5.3, with latest ElementalX kernel + Viper4Android.
 

akaiinuku

Member
Jan 22, 2012
8
1
OnePlus 7 Pro
I've been searching but cannot find a defined set of instructions that tell me the sequence to flash V4A, AML, Sauron and dual speaker. If anyone knows the correct sequence, please share it. I've boot-looped my phone once now and I don't fancy doing it again.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 110
    45795538731_495c60a0d0_c.jpg

    This module enables the earpiece to be used as a secondary speaker while playing music or videos.
    There were a few modifications in the mixer file, similar to Oneplus 5 & 5T.
    *I am not responsible for any damage to your device*
    You will need a stock rom with Magisk installed.
    EDIT : After reviews from users I found out that this mod works partially with complete stock, to get stereo audio on all the apps please install NoLimits rom or Viper Audio.
    Just add the module in magisk & reboot.
    If you want it to be more loud, flash the cleanslate kernel and increase the earpiece gain.(*At your own risk)

    Downloads :
    v8 : Releases
    Source : Github
    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]

    Addidional Note : As reported by aenews v8 breaks AML compatibility with other mods, so if you're facing the same issues please revert to v7!

    OLD VERSIONS :
    Download v1 : DRIVE
    Download v2 [Gain Reduced] : DRIVE
    Download v2 : DRIVE [Does not require Viper]
    Download v3 : DRIVE
    Download v3 [With Unity & AML Support] : #232
    Download v4 : DRIVE [PIE]
    Download v5 : DRIVE
    Download v6 : DRIVE

    Youtube Video :


    Featured On XDA Portal

    Changelog :
    Code:
    v1 - Initial Release
    v2 - Fixed the earpiece not working in several apps. The mod is now standalone and works without Viper as well
    v3 - Fixed the earpiece not working during call
    v4 - Fixed Bluetooth Audio[PIE]
    v5 - Right channel audio plays through both the speakers now. Earpiece gain increased by 2dB
    v6 - Fixed latency issue between earpiece and main speaker
    v7 - Mod is now AML compatible
    v8 - Fixed the issues with speakerphone and bluetooth devices

    I had to go through several threads in order to port this mod.
    Credits :
    magura320
    SpasilliumNexus
    DorianX
    chdloc
    Dante63
    Zackptg5

    Regards,
    acervenky
    26
    v6 - Latency Fixed

    I'm very happy to announce v6, I had browsed through almost all the stereo speaker mods present on XDA to find a fix for the latency issue between two speakers, but found no solutions. So had to come up with my own workaround, with more than a dozen mixer test files finally found a solution.
    If you guys find any dev facing the same issue please mention this post, it'll save a lot of time.
    To those devs trying to fix this issue, increase the sample rate of SLIM interface.
    We're moving towards a more refined mod for our device.
    I'm glad that all of you guys provide quick feedbacks, it helps a lot :)
    Unfortunately I didn't have enough time to make it AML compatible, but it'll not take long ;)
    OP updated with v6, more detailed changelog mentioned below :
    Code:
    Fixed latency issue between earpiece and main speaker
    Increased earpiece gain by 3dB and reduced main speaker gain by 2dB
    Changed the headphone playback mode from Low-power to HIFI


    Regards,
    acervenky
    22
    OP Updated with v4.
    Thank you to all the testers, you guys are awesome!

    Regards,
    acervenky
    18
    True Stereo Test Version

    So based on inputs from you guys, have been experimenting with the channels and also got a holiday today:victory: to work on it. For an immersive experience, I have boosted the earpiece by 2-3dB.
    I did not notice any distortion at full volume, but that may vary from user to user.
    Interested members can test it out and provide inputs. :)

    Regards,
    acervenky
    16
    Hello, would you be able to backport this mod for the Oneplus 3T? The last release for that phone was released last year, so it no longer works on Magisk 16: https://androidfilehost.com/?fid=817550096634786190

    Yes sure!
    For OP6 Users : I'll be releasing a new version for testing by end of the day, if the reports are positive will update the OP as well.
    Sorry to keep you guys waiting, have been busy lately due to project work.

    Regards,
    acervenky