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

Search This thread

acervenky

Recognized Contributor
  • Mar 25, 2012
    2,325
    4,917
    Mumbai
    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
     

    Attachments

    • tubeamplifier.zip
      26.6 KB · Views: 9,131
    Last edited:

    acervenky

    Recognized Contributor
  • Mar 25, 2012
    2,325
    4,917
    Mumbai
    @acervenky while playing music and videos i think its not working i used clean salte confuguration and reduced speaker gain to 0 and earpiece gain to max but no sound.

    But while playing youtube videos above test worked. Earpiece working.

    Music via play music as well as Xperia Music is playing through both the speakers for me.
    As for the videos, gallery and mx player are working fine too.
    Flash this on clean stock & magisk, it should work fine.

    Regards,
    acervenky
     
    • Like
    Reactions: aenews and umcc05

    acervenky

    Recognized Contributor
  • Mar 25, 2012
    2,325
    4,917
    Mumbai
    I have the Same Problem in music player.no Stereo sound

    @acervenky while playing music and videos i think its not working i used clean salte confuguration and reduced speaker gain to 0 and earpiece gain to max but no sound.

    But while playing youtube videos above test worked. Earpiece working.

    Which music player are you using?

    Regards,
    acervenky
     
    • Like
    Reactions: aenews and umcc05

    acervenky

    Recognized Contributor
  • Mar 25, 2012
    2,325
    4,917
    Mumbai
    I have the Same Problem in music player.no Stereo sound

    @acervenky while playing music and videos i think its not working i used clean salte confuguration and reduced speaker gain to 0 and earpiece gain to max but no sound.

    But while playing youtube videos above test worked. Earpiece working.

    Black Player.In Games No Stereo Sound too.NFS No Limits

    Black player working for me as well. I had flashed NoLimits rom to check compatibility, also viper and dolby were included in the rom, you can maybe try flashing viper and report back?
    Meanwhile I will try to revert back to stock and check whether the earpiece is working.

    EDIT : Reverted to stock, facing same issues as you guys. To get the stereo mod across all apps please install the Viper audio or NoLimits Rom.
    OP will be updated accordingly.

    Regards,
    acervenky
     
    Last edited:
    • Like
    Reactions: umcc05

    acervenky

    Recognized Contributor
  • Mar 25, 2012
    2,325
    4,917
    Mumbai
    Poweramp working too. How set volume and witch volume are safe?
    You can modify gain levels by flashing clean slate kernel and installing the companion app.
    You can increase the volume till the voice is clear, if it starts to crack lower the volume as it may damage the earpiece.

    After Install Viper black Player Work with Stereo Sound bitte NFS No Limits not
    Ok, thank you for reporting back.
    I'll check out the ingame audio.

    Regards,
    acervenky
     
    • Like
    Reactions: umcc05

    damnedon

    Member
    Jun 4, 2018
    17
    2
    You can damage the earpiece at very high volume levels. However, at moderate volumes this won't cause any issue.

    Regards,
    acervenky

    Can I regulate volume of top speaker or it's the same as main speaker? Maybe engineer menu? And maybe somehow I can adjust max lvl of top speaker to play on lower settings?
     

    acervenky

    Recognized Contributor
  • Mar 25, 2012
    2,325
    4,917
    Mumbai
    Can I regulate volume of top speaker or it's the same as main speaker? Maybe engineer menu? And maybe somehow I can adjust max lvl of top speaker to play on lower settings?

    You will have to flash the clean slate kernel and use the companion application to modify the max gain on earpiece speaker.

    Regards,
    acervenky
     
    • Like
    Reactions: umcc05

    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
    Our Apps
    Get our official app!
    The best way to access XDA on your phone
    Nav Gestures
    Add swipe gestures to any Android
    One Handed Mode
    Eases uses one hand with your phone