yashsingh1/xdaforums huggingface dataset:
[Miscellaneous Android Development] Dante63:
Well sir,

Firstly, this thread has become a tutorial, I no longer make mods but I help anyone who's stuck...

Secondly, I got a feeling your device is similar to redmi 4, which the hardware doesn't support the MOD...

but give it a try and good luck...
[Miscellaneous Android Development] ariel5zal:
ok thank s
[Miscellaneous Android Development] azwina:
Dantes63,

can you check this mixer file it is support dual speaker mod ? i have try to check all mixer file only this "mixer path" file will mute the sound. i have try to edit similiar like above setting but cannot. is snapdragon 636
[Miscellaneous Android Development] Dante63:
Checked it and it supports, I mentioned that spk isn't the same in all mixers, you'll see "speaker" and "rcv" would be "handset"

As for playbacks, you don't have slimbus (if I recall correctly) you have INT0_MI2S_RX & PRI_MI2S_RX...

Follow my steps and it should work...

The redmi that you quoted had RDAC2 MUX in speaker and in handset aka earpiece so whatever you put will override the other and the output comes from one place aside that there is one playback only...

Rather than asking... Give it a shot before asking because when I use to make mods, I prepare the files and the users test for me...
[Miscellaneous Android Development] azwina:
Hi Dantes63,

i have done soundmod but i don't know where is wrong, before that i have try many type but the earpiece sound not come out , the attachment is my modify sound mod

in line 1689 is"earpiece"

than i have change this to "RX1"

<!-- Interpolator chain controls -->

<!-- ADD RX Chain Controls -->

<ctl name="RX1 MIX1 INP1" value="RX1" />

<ctl name="RDAC2 MUX" value="RM1" />

i also follow copy file from "deep buffer playback" to "deep buffer playback speaker", copy file from "low latency playback" to low latency playback speaker".

this is the only place i have modify. it is any place need to add on ?? thank you.
[Miscellaneous Android Development] Dante63:
--- First there is no RM1, RX1, that's the first mistake...

--- Secondly, I mentioned that if you don't find the right ctl channels and make your own it will be ignored...

So in earpiece, channels is PRI_MI2S_RX, not INT0_MI2S_RX, unless I missed it and you saw the channels somewhere... You can have both but only one will have effect and the other is ignored...

EDIT: keep both... I just rechecked the mixer file and found both exist...

--- Lastly, you forgot to include earpiece inside speaker...

Fix those and it should work...

Fingers crossed for you...
[Miscellaneous Android Development] rocker00:
[MENTION=7047928]Dante63[/MENTION] Hi,

First of all thank you for helping everyone here to get this mod, really appreciate that!

I’ve Xiaomi Redmi Note 5 which comes without this feature, Xiaomi Mi Max 3 which is the same exact hardware (Snapdragon 636) supporting that and it also has two speakers at the bottom, I’ve watched your video but I couldn’t get it working! Even tried to compare between both files but the same, I downloaded this app https://play.google.com/store/apps/details?id=mobi.omegacentauri.Earpiece&hl=en_US to make sure the device is supporting that and I got the sound from the earpiece, so basically it’s supported.

Attached the files from both devices and I can see the following line on build.prop on Mi Max 3,

persist.audio.speaker.dualmode=true

Not sure if this line has something to do about this!

No need to modify the files just please guide me what to do exactly. Thanks in advance :)
[Miscellaneous Android Development] Dante63:
I had a look and I see no problems in applying the tutorial on it... The difference is just the makings which I mentioned...

Paths will always be the same...

So you go for deep buffer, low latency, compressed and their speakers

Then you look for handset or rcv or receiver, define new path with your own unique name, look for spk or speaker and add the name of the new path... Then back to your new path you'll see value RX* where * is a number, go to the top and it will be zero, change it to RX* and another... Watch the tutorial...

Please, don't expect any further help unless you try by yourself... Many have sent what they have done and asked for help... You sent originals...

Fingers crossed... The video may be long but it's very clear...
[Miscellaneous Android Development] rocker00:
I've already tried many times before posting :)

The part of deep buffer, low latency and compressed is easy and everything else is pretty easy except this:

<path name="handset">

<ctl name="RX1 MIX1 INP1" value="RX1" />

<ctl name="RDAC2 MUX" value="RX1" />

<ctl name="RX1 Digital Volume" value="83" />

<ctl name="EAR PA Gain" value="POS_6_DB" />

<ctl name="EAR_S" value="Switch" />

</path>

In my case this is the path which is the tutorial rely on it since i don't have rcv, nothing about channels!
[Miscellaneous Android Development] g344978010:
Fantastic job！ My device is LG V30 H930DS. With this mod，both speakers are on. And the whole sound is louder. But there is a problem. The sound is stereo. You know the earphone volume is much lower than the main speaker. In some music, main instrument is at the earphone channel. In this case, the whole sound becomes much weaker. So could you please turn the sound into mono. Than this mod will be perfect. Pls take it into consider, thank you!
[Miscellaneous Android Development] Android Neverdie:
I want this mod on my redmi 5a bro
[Miscellaneous Android Development] Dante63:
I mentioned rcv could be handset and spk could be speaker, depends from one phone to another...

Ok so you'll duplicate those lines anywhere above speaker and rename to earpiece or whatever you want... Inside speaker you'll add the line of the new path name...

At the top, make sure these are changed from zero to RX1

<ctl name="RX1 MIX1 INP1" value="RX1" />

<ctl name="RDAC2 MUX" value="RX1" />

All zero should be RX1...

As for channels, I believe you have 2 different RX channels, when you look at your any playback (deepbuffer as example)

You'll see PRI_*** and INTO0_***, I don't remember exactly what's written... But if you take that name and add space and type channels and hit the search, you'll find them defined... Copy them into the new path and change the value to two as per the tutorial...

If you're lost get back to the tutorial since now you know handset is rcv and speaker is spk...
[Miscellaneous Android Development] Dante63:
Please confirm that by installing Amy app from playstore that tests the left right channels...

Search for "left right stereo test" you'll see many apps...

When you test both speakers should play left but then right plays bottom...

The MOD enables the earpiece only with volume adjust, doesn't do anything to stereo or mono...

The settings can be changed her by go to your phone settings -> accessibility -> hearing -> mono audio

But you'll lose some sound quality as deepness and so...
[Miscellaneous Android Development] xdamami:
Dante we Mi8 user's still waiting this mod please check our Paths also.
[Miscellaneous Android Development] Dante63:
Run the command in your terminal according to the tutorial...

However, usually but not always...

Nougat is /system/etc/

Oreo /system/vendor/etc/

If you can't find them, run the command...
[Miscellaneous Android Development] razz3r_777:
I can confirm that channels have significantly different volume. Left channel is loud, using both speakers. And the right is quiet - earpiece only.

Still, great work! :good:

P.S. The device is V30+ (Frankenstein'ed LS to US998), Oreo, Magisk MOD version.
[Miscellaneous Android Development] xdamami:
Here is All Mixers Dante Please check it. I incrased volume on tavil, stock one is 84. Thanks in advance.
[Miscellaneous Android Development] Android Neverdie:
I want this mod for my Xiaomi Redmi 5A How to install bro
[Miscellaneous Android Development] lalsingh.bisht2008:
Hi Dante63,

Do i need to change only these two lines or all of these "ZERO" value to "RX1" .

And one more thing i need to know that how to make recovery zip of this mixer file, so that i can recover them in original state whenever i got bootloop on startup.

<ctl name="RX1 MIX1 INP1" value="RX1" />

<ctl name="RDAC2 MUX" value="RX1" />

or

<ctl name="DEC2 MUX" value="RX1" />

<ctl name="DEC1 MUX" value="RX1" />

<ctl name="ADC2 MUX" value="RX1" />

<ctl name="RDAC2 MUX" value="RX1" />

<ctl name="RX2 MIX2 INP2" value="RX1" />

<ctl name="RX2 MIX2 INP1" value="RX1" />

<ctl name="RX1 MIX2 INP2" value="RX1" />

<ctl name="RX1 MIX2 INP1" value="RX1" />

<ctl name="RX3 MIX1 INP2" value="RX1" />

<ctl name="RX3 MIX1 INP1" value="RX1" />

<ctl name="RX2 MIX1 INP2" value="RX1" />

<ctl name="RX2 MIX1 INP1" value="RX1" />

<ctl name="RX1 MIX1 INP2" value="RX1" />

<ctl name="RX1 MIX1 INP1" value="RX1" />

should i have to include the below lines as well or not???

<ctl name="EAR_S" value="ZERO" />

<ctl name="HPHL" value="ZERO" />

<ctl name="HPHR" value="ZERO" />
[Miscellaneous Android Development] Dante63:
I did mention your device might not support the MOD...

But if you want to try, go ahead, fingers crossed...

Have a look at the tutorial as apparently, you didn't from the way you ask...

The tutorial is very long, because I covered everything, including the questions you asked now...
[Miscellaneous Android Development] Dante63:
I'm sorry sir...

I don't make mods...

I made a tutorial for you and everyone else to watch and create the mod...

If you have a question or got stuck, I'll happily help you... Otherwise, again I'm sorry...

I retired from MOD creating...
[Miscellaneous Android Development] Dante63:
Watch the tutorial and DIY ?
[Miscellaneous Android Development] darkwader18701:
does it work? did you test it ?

Gesendet von meinem MI 8 mit Tapatalk
[Miscellaneous Android Development] Android Neverdie:
Bro I want download link
[Miscellaneous Android Development] Dante63:
What link...?

YouTube tutorial link is already there...
[Miscellaneous Android Development] azwina:
Redmi note 5 ai dual speaker is working perfect :good:

everything working great and giving stereo sound effect, incoming call also got sound and voice also working !! only MIUI stock music app not giving best sound. other video streaming app is working perfect with stereo sound.

just follow Dante63 tutorial...
[Miscellaneous Android Development] jackindojogja:
which mixer_paths* file did u edit?

because so many mixer_paths* and i dont understand which file.

I'm on Redmi Note 5 AI, pixel experience 9.0 (pie)

how to find right mixer_paths* file bro?

All mixer_paths* files almost have same value :(
[Miscellaneous Android Development] Dante63:
As explained in the tutorial, rename the the mixer and reboot to find the right file... When the phone is muted...

It's like you have 6 different electric switches and you don't know which one turns the light on... You simply switch them, one by one... To find which one is the one...
[Miscellaneous Android Development] Maky 0_0:
Can someone make dual sound mod for Galaxy A5 2017 LOS 15.1
[Miscellaneous Android Development] bradical711:
Why yes, you can since you have the device! Just follow the tutorial!
[Miscellaneous Android Development] Maky 0_0:
Im tried but i cant find that stuff in mixers paths

Im tried but i cant find that stuff in mixers paths
[Miscellaneous Android Development] Dante63:
You can ask for help...

That's what I do now...

spk = speaker

rcv = handset

If you didn't hear the tutorial...

The rest is common among all...
[Miscellaneous Android Development] heindrix:
Hi [MENTION=7047928]Dante63[/MENTION]

Let me share my modified mixer file for dual speaker on Mi Mix here.

You can put it in first post as you want to. :o
[Miscellaneous Android Development] h.m.k.:
Do you can share modified file with us?
[Miscellaneous Android Development] Dante63:
Absolutely, once I get time... I'll put a new section on the thread and place the MOD made by other xda members there...

He may or not share it...

Question is, have you tried making it...?

Because if you depend on others, you'll always be here whenever you get a new device... You'll be like "anyone made a MOD for device X... How about device Y... I just got device Z and can't find the MOD"

It's really not hard to follow the guide...
[Miscellaneous Android Development] Dante63:
There is a minor bug in snapdragon MOD where the AUX and earpiece play together, an xda member has helped me detecting and fixing the problem... [MENTION=8905009]SamGuy2020[/MENTION] thanks for the help in fixing the AUX bug...

Next tutorial will be short and will include the fix as well how to detect sound problems by reading logs...
[Miscellaneous Android Development] azwina:
sometime my friend call me i cannot hear the incoming voice it is what you said snapdragon bug ??
[Miscellaneous Android Development] Dante63:
The only bug is aux and earpiece play together...

Anything else would be you missing a line or a change...
[Miscellaneous Android Development] Aceolus:
I am currently trying to raise my in call volume for my Google Pixel 2. I am rooted with Magisk and I have watched the entire video but I became lost. Does anyone know of how I can raise the in call volume of my Pixel 2?
[Miscellaneous Android Development] doktor29:
[MENTION=7047928]Dante63[/MENTION] thanks for this mod :) but can you tell me witch values i need to edit in mixer_path to raise volumes down ?

i have your mod installed in Z2 Pro... everything works well but main speaker is just too loud for me... already trying edit all RX values but no effect.

Im on oreo 8.1
[Miscellaneous Android Development] Dante63:
Depends on what's in the mixer itself and what exactly do you want to raise... Speaker is not possible... Earpiece is possible...

No one managed to alter speaker values from mixer files because they don't exist there...
[Miscellaneous Android Development] Flawn:
Please send again
[Miscellaneous Android Development] DVError:
Can you support redmi note 5 pro ?
[Miscellaneous Android Development] Dante63:
Tutorial explicitly supports everything...
[Miscellaneous Android Development] Aping812:
Mi 8 Original Mixer

Here the Mi 8 Original Mixer

https://drive.google.com/open?id=1odrriWpSSproK1aVoBxfQq6WYfpwstKQ
[Miscellaneous Android Development] darkwader18701:
https://drive.google.com/open?...rriWpSSproK1aVoBxfQq6WYfpwstKQ

Gesendet von meinem MI 8 mit Tapatalk

---------- Post added at 02:29 PM ---------- Previous post was at 02:29 PM ----------

thanks i take your link mate

Gesendet von meinem MI 8 mit Tapatalk
[Miscellaneous Android Development] DVError:
How it supported everything i reat the op twice and i didn't see any xiaomi redmi note 5 pro in the list
[Miscellaneous Android Development] Dante63:
You renamed the mixer file which is why I got confused...

So you have only mixer_paths.xml

That should make things easier for me...

Once I'm done from what's in my hand I'll let you know...
[Miscellaneous Android Development] sagardakua:
Yahh i renamed it as you mention in the OP.

Anyway thanks a lot :laugh:
[Miscellaneous Android Development] RatchetHacked:
The Mi5 one doesn't work on Oreo 8.1,

I replaced the file inside the vendor folder but when I boot up, the sound output is just gone.

Here's the file: https://mega.nz/#!cKpx0ZaB!cLAt7oskVJlXi6zK8Rj3zPXnB7TnwU6JlOG0uzLmhpg
[Miscellaneous Android Development] Dante63:
I'll work on it as soon I'm done from what I have, the mixers available are for Nougat which I doubt they are the same...

You made me realize that I should add to my thread the Android version since Android Oreo is rolling out to avoid using Nougat on Oreo and vice verse...

Thank you and sorry...
[Miscellaneous Android Development] RatchetHacked:
No worries, keep it up! :)
[Miscellaneous Android Development] Dante63:
Thank you for being a tester...

I have released the MOD...
[Miscellaneous Android Development] Dante63:
Your Devices have moved to the working list, hopefully by tomorrow, expect from me a PM with a test file to try... :)

The MOD has been released... ;)
[Miscellaneous Android Development] srtraky:
My request:

Xiaomi redmi 4x

Snapdragon 435

LineageOS 14.1

I've attached all files of audio /etc

Thanks

https://drive.google.com/file/d/1hdvqN7Od7c9VznZM-1NP0-U3OvFkbMia/view?usp=drivesdk
[Miscellaneous Android Development] Dante63:
Added your device to the working List, I'll be PMing you...
[Miscellaneous Android Development] Dante63:
Your Device should be supported now...
[Miscellaneous Android Development] Dante63:
Quick update,

Xiaomi Mi5 & Xiaomi Mi5S Plus now have TWRP & MAGISK

As well added DIY for volume levels for them...

Don't forget to say Thanks :good: and

if you're happy, please consider supporting me it would mean a lot :)...
[Miscellaneous Android Development] RatchetHacked:
JESUS! That was quick ?! Anyways, everything works flawlessly except that there is still the same bug crawling as the one I had while using the same mod back in Nougat. Some apps are using their own audio policies (i.e. : SoundCloud, Spotify, WhatsApp, Chrome ecc..)

Any workarounds? Hope so.
[Miscellaneous Android Development] Dante63:
Even the Mi5 has issues...

It seems all Xiaomi devices mixers needs investigation...

roll back to the original mixers until I solve the issue...
[Miscellaneous Android Development] Myrmeko:
Could you make one for Galaxy S4 Mini LTE (oreo 8.1 Lineage) and Galaxy J5 2015 (oreo 8.1 Lineage / lollipop 5.1.1 Miui 9 Pro)?

Extremelly optional: HTC HD2 (nougat 7.1.1 Evervolv) and HTC Desire 500 (jellybean 4.1.2 stock).

I just cant test those because i kinda broke them and i gotta get them fixed at some point.

Also i doubt HD2 would support this mod without damage being done to the earpiece speaker. Is a very old speaker and i suppose is really not meant to go that loud.

I tried the Earpiece app on my J5 and the sound is actually pretty loud and clear.
[Miscellaneous Android Development] Dante63:
Solved, unfortunately it's kernel related so it's pretty much out of my hands, dualspeaker isn't absolute, you have dual and single speaker better than single speaker only...

but it's up to you ¯\_(ツ)_/¯ ...

No worries :D,

as soon I see links to the mixer files for each device :),

I mentioned it in how to request the SoundMod buddy ;),

unless your expecting me to buy all these devices :rolleyes:...

I wouldn't mind if you'd buy them... :p
[Miscellaneous Android Development] jamescable:
Hey, how can I get you to make one for the lg gpad x T-Mobile v521?
[Miscellaneous Android Development] Dante63:
I mentioned in the first post How to request the MOD...

You're missing processor, Android version and a link to your uploaded mixers...
[Miscellaneous Android Development] jamescable:
https://drive.google.com/file/d/1PMoIJ0dQ8fxI5Y-ZLSYzRSZZ9C9YQ3AU/view?usp=drivesdk

Chipset: Qualcomm msm8939 snapdragon 615

---------- Post added at 04:30 AM ---------- Previous post was at 04:28 AM ----------

https://drive.google.com/file/d/1PMoIJ0dQ8fxI5Y-ZLSYzRSZZ9C9YQ3AU/view?usp=drivesdk

Chipset: Qualcomm msm8939 snapdragon 615

Android version: Nougat 7.1.2

---------- Post added at 04:32 AM ---------- Previous post was at 04:30 AM ----------

https://drive.google.com/file/d/1PMoIJ0dQ8fxI5Y-ZLSYzRSZZ9C9YQ3AU/view?usp=drivesdk

---------- Post added at 04:32 AM ---------- Previous post was at 04:32 AM ----------

Hi

---------- Post added at 04:33 AM ---------- Previous post was at 04:32 AM ----------
[Miscellaneous Android Development] jamescable:
Delete
[Miscellaneous Android Development] Myrmeko:
I will upload the mixer files asap.

I cant do it right now, because i have an exam tomorrow, but in a few days i will gather all the files you need.
[Miscellaneous Android Development] Dante63:
I surely won't list device names...

The tutorial can be applied to all devices...
[Miscellaneous Android Development] xdamami:
Expect Xiaomi mi8. It won't turn on.
[Miscellaneous Android Development] Dante63:
I clearly stated I am willing to help if you got lost and that you can contact me...

And I also showed in the tutorial how unsupported device mixer look like...

Aside from that, I can't tell yes or no,

because I don't own the device nor seen the mixer file...
[Miscellaneous Android Development] 9bestenbier:
Hi. I tried going through the tutorial, but my device has so many mixer files so I don't know which to edit

I have Huawei P8 Lite(2017) and I'm running a treble GSI(Android Pie) with stock emui 8.0 kernel

I've attached the mixerpaths.txt file as well as some of the mixer files

If anyone can assist I'd appreciate it
[Miscellaneous Android Development] ncandroid84:
Por desgracia no se inglés, solo lo básico asique no entiendo nada de lo que hablas en el video :(
[Miscellaneous Android Development] ncandroid84:
Hi, I'm using a translator to begin with.

I hope someone can give me help to create my own mod, since the video is in English and I do not understand much.

I found the mixer_paths file.

Now I can not find any of the lines mentioned in the video.

I just found this:

<path name="speaker">

<ctl name="AMP Audio Gain" value="17" />

</path>

<path name="speaker-mic">

<path name="adc1" />

<ctl name="IIR1 INP1 MUX" value="DEC1" />

</path>

<path name="handset">

<ctl name="RX1 MIX1 INP1" value="RX1" />

<ctl name="RDAC2 MUX" value="RX1" />

<ctl name="RX1 Digital Volume" value="84" />

<ctl name="EAR PA Gain" value="POS_6_DB" />

<ctl name="EAR_S" value="Switch" />

<ctl name="OSPL Rx" value="Disable" />

</path>
[Miscellaneous Android Development] chivomugroso:
The same problem, I would prefer a written tutorial, but I suppose isn't practical...

Thanks for your job Dante63
[Miscellaneous Android Development] Sophia.xda:
how to increase speaker volume little bit more in this mod (I'm already using)...?
[Miscellaneous Android Development] Dante63:
I mentioned how to detect which one by renaming the mixer and testing for sound... When there is no sound... The last file you renamed would be the device using...

handset = rcv

Speaker = spk

So

<path name="earpiece">

<ctl name="RX1 MIX1 INP1" value="RX1" />

<!--Add the channels, search for channels and find the RX, add and make the value = TWO like the tutorial-->

<ctl name="RDAC2 MUX" value="RX1" />

<ctl name="RX1 Digital Volume" value="84" />

<ctl name="EAR PA Gain" value="POS_6_DB" />

<ctl name="EAR_S" value="Switch" />

<ctl name="OSPL Rx" value="Disable" />

</path>

<path name="speaker">

<ctl name="AMP Audio Gain" value="17" />

<path name="earpiece"/>

</path>

<path name="handset">

<ctl name="RX1 MIX1 INP1" value="RX1" />

<ctl name="RDAC2 MUX" value="RX1" />

<ctl name="RX1 Digital Volume" value="84" />

<ctl name="EAR PA Gain" value="POS_6_DB" />

<ctl name="EAR_S" value="Switch" />

<ctl name="OSPL Rx" value="Disable" />

</path>

Then follow the tutorial, you will find the following:

deep-buffer-playback, low-latency-playback, compressed.......

Then find at top and change ZERO to RX1

<ctl name="RX1 MIX1 INP1" value="ZERO" />

<ctl name="RDAC2 MUX" value="ZERO" />

I wish I could help you more Amigo...

Let me know if you get stuck...

Speaker volume can be increased through other mods that doesn't touch the mixer file... Such as viper4droid... You can increase earpiece, headset, etc but not speaker... Speaker Volume is absent in mixer...
[Miscellaneous Android Development] ncandroid84:
Thank you very much for your help [MENTION=7047928]Dante63[/MENTION], achieve operate the dual mode, the problem is that only takes a few seconds and then does not work more. Restart the cell and re-run but again for a few seconds. Find no where is the problem!

In case something helps, I'm running Android 8.1 Official Stock
[Miscellaneous Android Development] ncandroid84:
I forgot to attach the mod to see if you can guide me
[Miscellaneous Android Development] Dante63:
:)

It means you missed something...

Kindly attach your mixer...

I'll have a look and if possible, reach me on facebook for a faster response...

EDIT: I just noticed you did attach the mixer :laugh:
[Miscellaneous Android Development] Dante63:
So I had a look and everything looks fine...

Which leaves you with either using other soundmod or using custom kernel...

Are you using custom kernel...?

Do you have other soundmods...?