[MAGISK][AML][27/07][v1-Test] Speaker & Headphone Volume Boost Mod & More

jadajada

Senior Member
Jul 5, 2007
331
25
0
Alpha - earpiece speaker works, but it could be a little louder, cuz stereo is almost unnoticeable.
Tested now, and there is NO difference whatsoever, so the mod doesn’t work. The sound coming from the earpiece is just sound leaking from the bottom speaker through the inside of the phone. It is 100% the same with and without the mod.
 

acervenky

Recognized Contributor
Mar 25, 2012
2,319
4,895
0
Mumbai
To figure out the dual speaker, first we need to make sure that we're working on the active mixer.
The sound card for 765G is litomtpsndcard.
To figure out the active mixer try changing the values of WSA_CDC_DMA_RX Digital Volume lines and check if it affects the speaker output.

Regards,
acervenky
 

jadajada

Senior Member
Jul 5, 2007
331
25
0
To figure out the active mixer try changing the values of WSA_CDC_DMA_RX Digital Volume lines and check if it affects the speaker output.
Thanks! I can try this. But do I need to flash you module first, and then edit the file? Or should I edit the magisk-module before flashing? Or do you simply mean that I should backup my original mixers and just edit them on the phone?
 

acervenky

Recognized Contributor
Mar 25, 2012
2,319
4,895
0
Mumbai
Thanks! I can try this. But do I need to flash you module first, and then edit the file? Or should I edit the magisk-module before flashing? Or do you simply mean that I should backup my original mixers and just edit them on the phone?
Backup your original mixers and edit them on phone!

Regards,
acervenky
 

jadajada

Senior Member
Jul 5, 2007
331
25
0
I have looked at the files uploaded above. Only three files have "WSA_CDC_DMA_RX" in them, most of the values are set to "0", some to "1". In all the files named "sound_trigger*" the string is missing. None of the strings in these files have the word "digital" next to "WSA_CDC_DMA_RX" anywhere. So can you give me an example of which of them to change and what I can try as value?

The files containing "WSA_CDC_DMA_RX", are:

mixer_paths_lagoonmtp.xml
mixer_paths_lagoonqrd.xml
mixer_paths_qrd.xml

I have never done this before, but I would to help geting it working.
 

acervenky

Recognized Contributor
Mar 25, 2012
2,319
4,895
0
Mumbai
For speaker output :
Code:
    <ctl name="WSA_RX0 Digital Volume" value="84" />
    <ctl name="WSA_RX1 Digital Volume" value="84" />
For headphone output :
Code:
    <ctl name="HPHL Volume" value="20" />
    <ctl name="HPHR Volume" value="20" />
Regards,
acervenky
 

jadajada

Senior Member
Jul 5, 2007
331
25
0
For speaker output :
[
Forgive me if for maybe asking stupid questions, but the lines you wrote are already there. I use the mixer files uploaded earlier in thread. In the file mixer_paths_lagoonqrd.xlm is this:

Code:
<!-- Volume controls -->
    <ctl name="WSA_RX0 Digital Volume" value="84" />
    <ctl name="WSA_RX1 Digital Volume" value="84" />
    <ctl name="RX_RX0 Digital Volume" value="84" />
    <ctl name="RX_RX1 Digital Volume" value="84" />
    <ctl name="RX_RX2 Digital Volume" value="84" />
    <ctl name="HPHL Volume" value="21" /> <!--Headphone Boost(Left)-->
    <ctl name="HPHR Volume" value="21" /> <!--Headphone Boost(Right)-->
    <ctl name="EAR SPKR PA Gain" value="G_DEFAULT" />
In your code there is no "WSA_CDC_DMA_RX", but there are several lines containing that in the files.

Apparantly I have no idea what I am trying to do.. :(

Or.. Am I completely mistaken and the mixer files uploaded are already altered? I have not checked my original files. I just assumed that the uploaded mixer.rar was taken from original.
 

jadajada

Senior Member
Jul 5, 2007
331
25
0
I think we need good devs here to develop working dual speaker mod
Hopefully it will happen. It is a mod I am really looking forward to using. I tried to take a look at the mixer files, but I could´t make anything from it.

Would love to see dual speaker on this phone, so sad that OnePlus didn’t put it there in the first place.
 

jadajada

Senior Member
Jul 5, 2007
331
25
0
Thread seems dead now. I have for the last week trying to do this myself, following the tutorial here:

https://forum.xda-developers.com/android/development/mod-dual-speaker-soundmod-devices-root-t3735280

The tutorial is easy to follow and I can reproduce the steps, only thing is that “rcv”-section is called “handset” in the mixer files on the Nord. After numerous attempts, I can not get it working. There are so many mixer files, and I don’t know which to edit. Have tried several.

Has anyone else been looking into this, or do we simply have to accept that there won’t be a mod for our device?
 

acervenky

Recognized Contributor
Mar 25, 2012
2,319
4,895
0
Mumbai
Thread seems dead now. I have for the last week trying to do this myself, following the tutorial here:

https://forum.xda-developers.com/android/development/mod-dual-speaker-soundmod-devices-root-t3735280

The tutorial is easy to follow and I can reproduce the steps, only thing is that “rcv”-section is called “handset” in the mixer files on the Nord. After numerous attempts, I can not get it working. There are so many mixer files, and I don’t know which to edit. Have tried several.

Has anyone else been looking into this, or do we simply have to accept that there won’t be a mod for our device?
Like I mentioned before, you'll have to figure out the active mixer first and then look to make changes.

Regards,
acervenky