yashsingh1/xdaforums huggingface dataset:
[G2 Android Development] vPro97:
Yup, I think sreeprajay is on it ;)

Not in it's current state. I'm still trying to figure out how to modify the volumes from an app easily and in real time (like with dorimanx kernel), but we'll see.

I would love it if you could send me your original mixer-paths.xml for me to look at it, please.

Happy new year.
[G2 Android Development] KaiJun:
Here you go. And happy new year to you too!
[G2 Android Development] am2006:
after I test it on YouTube , nothing change, sounds come from only bottom speaker, I'm on G2CloudyStock rom, Am I missing something?
[G2 Android Development] vPro97:
Did you choose rotation before enabling the mod?
[G2 Android Development] am2006:
yup

I do exactly as the guide say
[G2 Android Development] vPro97:
Please do the following:

Navigate to you SDCARD and delete robo folder. Then uninstall the app and try again.
[G2 Android Development] am2006:
still nothing change :(
[G2 Android Development] BlushMaq:
Both the provided mixer_paths.xml by the OP are not working on my LG G2 D800 running stock 5.0.2 v30f.Upon installing mod by 2nd method,Messaging force closes and music refuses playing songs saying this song can not be played.Can you provide me mixer_paths.xml file for my phone?
[G2 Android Development] siggey:
Installed busybox?

_____________________________________Read more write less and be smart
[G2 Android Development] johnhakes:
Will this work on stock lollipop? Thank you!

I followed the alternative method and the mod works on D802 Lollipop stock.

But, unfortunately, I am not able to tune down the volume of the earpiece, since the sound is distorted . does anybody know how to do it on Lollipop stock? Thanks! ;)
[G2 Android Development] remorema:
+1

also installed it mannually on stock lolipop. if anyone finds a way to balance left/right channels please share.

tried to do it with default acessibility audio settings but I guess that settings is only for headphones

edit: read all the thread and find strange how everybody seems to have louder sound from botom speaker. in my d802 when I play the video at OP for instance, the sound is much louder on the left channel. phone is rotated ccw so the left channel is on the earpice and right chanel is on the bottom speaker.

can you please tell me what line to edit to lower the earpiece(top speaker) volume?

because like it is if I raise the volume past 50% the earpice is very loud and distorted and the bottom speaker is still low.

edit2: found the values.

for my phone I found both speakers balanced and can raise volume all the way to 100% with this config

edit3: anyone knows what values should I edit to raise headphones volume?
[G2 Android Development] 60nine:
just to confirm that the alternate (manual) "installation" works on [MENTION=4008653]somboons[/MENTION] srk2-00 lollipop rom (d802, eur)...

as usual - to make it work as it should - lower the main speaker gain in dorimanx app (sound settings tab) that comes with dorimanx lollipop kernel...

[MENTION=4008653]somboons[/MENTION] - it would be great if you could include this mod in your rom aroma installer as well...
[G2 Android Development] vPro97:
The headphones value and the earpiece value are the same. If you lower one, you lower both.
[G2 Android Development] SPBoss:
Just install dorimanx kernel.. better phone performance and loads of control over audio settings.
[G2 Android Development] Eclipse9069:
I used this for about 15 minutes of music playing at work and my ear piece is no longer working.. is it blown?
[G2 Android Development] SPBoss:
How loud were you playing it? Were the speakers sounding distorted?
[G2 Android Development] Eclipse9069:
Yeah, unfortunately and I like a dumbass ignored that lol. I ordered a new OEM speaker for cheap, thankfully I don't really this phone for calls and when I do I have bluetooth and speakerphone that should get me by until I get the speaker and replace it.
[G2 Android Development] 60nine:
me again :D

just to confirm that manual installed mixer_paths.xml works on the latest Cloudy 3.1 rom as well ;)

(didn't try the app method though)
[G2 Android Development] 4r44444:
Thank you very much, does your zip works on cloudy g2 3.1 too? (D802)
[G2 Android Development] 60nine:
lol dude, see my post just above yours... do a manual installation from the 2nd post...
[G2 Android Development] DrJedikiah:
Nice job
[G2 Android Development] Digit.:
So what it does? Clears the sound? Loudness increased or what? Sorry newbie here x:
[G2 Android Development] 60nine:
read the 1st post, it's all well explained there...

and as a newbie - make reading 1st posts (or OP's) in threads your common task here on xda...
[G2 Android Development] Sealant:
Amazing feedback

Really nice effect.. Guy.. Good Idea really good.. No need more to say

P.S. Working fine with CloudyG2 3.1 with DorimanX 3.2 kernel (remmember about manual process instalation in LP Android)

Best Regards!
[G2 Android Development] Photo0:
ask

Please try with hangouts, for me no sound with this mod. Thx!
[G2 Android Development] pinkfloyd3:
+1

Really nice
[G2 Android Development] serraxer:
Awesome sound, thumbs up! Applied it manually to Cloudy g2 3.3.
[G2 Android Development] PDesire:
The Soundmod Competition has begun, Vote for your favorite Soundmodders

Link:

http://xdaforums.com/android/software/competition-soundmod-manufacturers-t3266648
[G2 Android Development] berezker:
Works nicely on Google Edition Rom V1 (Based on NonameRom)
[G2 Android Development] raptorddd:
Will you help to try this mod, after reading for minutes didnt understand how to for LP stock or custom stock.

manually means we nee to place file . wich file to doenload and where it goes.?
[G2 Android Development] OT-Xtreme:
great i love it, [MENTION=5500870]vPro97[/MENTION] can you and the other 2 devs can make it work for cm13 marshmallow based roms? really missing this mod on cm
[G2 Android Development] vPro97:
Hi [MENTION=6826301]OT-Xtreme[/MENTION].

Try installing the mod for the AOSP roms, should be the same file. Please do a backup first and then install it manually (don't use the app). Please note there's a high chance of getting into a bootloop, so make sure you have a solid backup first. All the best,

vPro
[G2 Android Development] OT-Xtreme:
hey tnx its working!
[G2 Android Development] Diman779:
на Samsung i9192 нет такого файла . можно как то сделать?
[G2 Android Development] Val D.:
- post your questions in English (XDA forum rules)

- this mod is for LG G2 phones, results not guaranteed on different hardware / software
[G2 Android Development] Diman779:
ок
[G2 Android Development] berezker:
When I change the volume, the earpiece changes with the loudspeaker

How can i keep the earpiece at a stable sound and only control loudspeaker

And don't tell me to change sound settings in dorimanx to keep up with earpiece.
[G2 Android Development] 60nine:
sorry, but that's the only known way of doing it...
[G2 Android Development] berezker:
Ok thanks anyways
[G2 Android Development] radzix27:
Does this mod affect Voip apps (Skype, Viber) to no sound from speakers or microphone?
[G2 Android Development] 60nine:
backup old mixer_paths.xml file somewhere

put new one where old one was (with proper permissions)

reboot

test

report here

if something goes wrong or doesn't work as it should, you can put your old/original mixer_paths file back
[G2 Android Development] fridaynext:
The dropbox links appear to be broken - does anyone have a mirror or backup of the manual installation file for Cloudy G2 3.3?
[G2 Android Development] amynjimmy:
All Dropbox links are d9wn...anyone have backups....wanna try this on bliss rom
[G2 Android Development] 60nine:
attached... install manually as per OP instructions
[G2 Android Development] amynjimmy:
Is there anyway to mod this for aosp mm. Thx
[G2 Android Development] 60nine:
i'm not the author of this mod neither i use aosp roms and ever will...
[G2 Android Development] gokhanbilgin:
Please port for resurrection remix anroid 6.0 rom.

I can donate to you for this
[G2 Android Development] vPro97:
This mod should work for AOSP marshmallow/nougat as well, however you'd have to install it using the manual method. As always, take a backup before installing the mod. I do no longer have a LG G2 to test it out myself, but I've been told that it works nicely on MM (Android 6.0.1).
[G2 Android Development] GalaticStryder:
It works fine, thanks for your work. However, on AOSP, the default earpiece value is too high and distorts a lot on our blobs. I found the value of 66 to fit better on AOSP/CAF HALs, if anyone wants to try it, just copy and paste this path on top of the "stock" speaker path to add the second earpiece channel.

There are no differences in audio concerning to 6.x and 7.x, so the mod and the sound itself is the same.
[G2 Android Development] vPro97:
Awesome, thank you for this information. And yes, there shouldn't be any difference in terms of the location/how the mod works.
[G2 Android Development] omercicek43:
Installed it on an unofficial release of cm14.1 but the left(top) speaker sounds higher then the original(bot) speaker.

But i think it's just my imagination. Top speaker looks to your face directly and the other one is somewhere else like it does'nt give a pineapple(watch that asian guy's video about pens and apples, it's funny and on the other hand that speaker location just...).

So it's working on an cm14.1. Just did copy past and gave permissons.
[G2 Android Development] DS-1:
Can anyone please upload mixer_path again? I'd like to try it on LineageOS.

Thanks!
[G2 Android Development] 60nine:
https://www.dropbox.com/s/zlggvekgfuixlfa/mixer_paths-stereo.xml?dl=0

just rename it to its original name and set proper permissions
[G2 Android Development] dot64:
Is there a way to set a fixed lower volume of the stereo enabled speaker manually, perhaps directly in the modified XML file? I don't have a custom kernel installed to use STweaks.
[G2 Android Development] pavloklim:
Redownloded mixer_paths.xml

I find this mixer_paths.xml you can download it!!! You should edit speaker and erarpiece volume, it's 587 line. After reboot your device!!! I have lineage os, it works. And i have a problem, i am new user and i cant publish post with links. If you need this file you can write me with Telegram. pshklm it's my nick, or you can send me privat message
[G2 Android Development] MicroMod777:
Can you post this up now? I need to try it on Lineage too.
[G2 Android Development] vPro97:
Ouch, seems like you manually have to push it then. I don't know why it isn't working.
[G2 Android Development] naraita:
The app doesnt open in g3 ported rom, Is Blitz g3 rom
[G2 Android Development] vPro97:
What kind of ROM is that? Only ROMS om XDA are supported, however you may manually push it. If interested, send me a pm.
[G2 Android Development] KaiJun:
Replaced /system/etc/mixer-paths.xml with mixer-pathsCCW.xml from /sdcard/robot/ and set correct permissions.

The stereo works perfectly. For anyone on Render Kernel (CM12), set the speaker boost in Synapse to -15 to balance out with the earpiece.

The loud earpiece during call is still there, but can be fixed just by lowering call volume. Can't believe I didn't think of that before.

If it helps, I'm on CM12 unofficial (the one by Rashed), using D802, and everything works perfectly. Thanks for the great work!
[G2 Android Development] vPro97:
Thank you again for reporting back.

I had a look at the mixer paths.xml that you posted and I couldn't really figure out why it was happening - it seems like we have something to work on with regards to the app :)

The earpiece lines are left untouched so I was really wondering why you were facing that issue. For me, the earpiece in calls has always been very loud and clear - and too loud at max volume.
[G2 Android Development] 60nine:
dorimanx kernel ftw ;)
[G2 Android Development] JeffreyNijnatten:
App is not opening (CloudyG3 2.1, D802, Dalvik)

When I try to open the app nothing happens (tried to redownload but same problem every time), for the first time the app asks for root permissions but no app is popping up.
[G2 Android Development] dalmm:
Same here..
[G2 Android Development] 60nine:
no issues here whatsoever... same rom, same variant, dalvik runtime as well
[G2 Android Development] shaggydiamond:
App doesn't open on Cloudy g3 2.1 dalvik dalvik.

All I see is a toast that it's been granted root access.

Tried re-installing after clear data, issue persists
[G2 Android Development] vPro97:
We'll look into that. It takes some time for it to fire up, but it does load for me.
[G2 Android Development] roboMr.Burns:
Please try and install busybox and make sure you have access to the Internet. In addition I have some Server issues. I can fix them on sunday/monday when I have physical Access to my Server. Please be patient;)

-Next release will have an log to make Troubleshooting a little easier.
[G2 Android Development] khanjui:
Working perfect on stock!
[G2 Android Development] nismology:
Working perfectly here on CloudyG3 2.1 on a D801.
[G2 Android Development] morpheus620:
Same here. D802, cloudyG3 2.1,working fine.
[G2 Android Development] Xer0 WindKey:
App wont start for me, Im on VS980, 24a Stock.

Will try installing busybox and rebooting.

EDIT: App ran fine after installing busybox from playstore. But even after running the app is no changing anything, everything is still mono through only the main back speaker.
[G2 Android Development] JeffreyNijnatten:
Thankyou! Installed (the latest version of) busybox, gave my phone a reboot and the app is opening now!

(LG G2 D802, CloudyG3, CloudyKernel, Dalvik)

(but sound only comes from loudspeaker, so not working)
[G2 Android Development] Xer0 WindKey:
Aye, after installing busybox, the app opened, but after applying the settings and rebooting, it doesn't seem to be working. :crying:

Are we sure this is working on LG Stock Firmware?
[G2 Android Development] JeffreyNijnatten:
Ya, you're right, it doesn't seem to work sadly.
[G2 Android Development] vPro97:
Both of you please make sure that the 'robo' folder is placed on your sdcard and contains mixer-paths.xml
[G2 Android Development] Xer0 WindKey:
Hello, thank you for your quick reply, I can confirm the folder was created in sdcard, inside I see three files:

mixer_paths.bak

mixer_paths.xml

mixer_pathsCCW.xml

permissions for everyfile are currently -rw

How can i help more?
[G2 Android Development] malco:
I've a problem, can't rollback changes.

D802 with 20H and Dorimanx Kernel
[G2 Android Development] JeffreyNijnatten:
Installed it manually since app wasn't working for me properly, I have to say pretty cool mod!

Only the earpeace gets distorted very fast, volume has to be not higher than 50%, but that's because it's not developed for this usage.:rolleyes:

Also the earpeace seems to be too loud compared to the speaker since the speaker is pointing to a different direction, besides that good mod though.:fingers-crossed:
[G2 Android Development] vPro97:
There's definitely something wrong there. Normally the loudspeaker is much louder than the earpiece. What ROM are you using?
[G2 Android Development] Xer0 WindKey:
So I tinkered around a bit, I took the mixed_paths.xml from the robo folder and pasted it on /system/etc (after backing the the original up of course) then I restarted, and it worked! :D

However is true what [MENTION=5078671]JeffreyNijnatten[/MENTION] said about it distorting fast though, in fact, it is also true that when the volume is at 50% the earpiece seems to be at a higher level than the loud speaker, I like the fact that it works :D

I'm even VERY tempted to install that kernel you mentioned to get better results. Ill play with that when I get home.

This mod is going to be awesome for gaming, since my hand always covers the loud speaker when I'm holding the phone.

Again, Im very grateful for your efforts, so let me know how I can help better the mod, I'm on a VS980 on Stock 24a.

-X
[G2 Android Development] zeeebs:
This is seriously magic. Works like a charm!

Thanks for keeping this awesome phone relevant.
[G2 Android Development] JeffreyNijnatten:
I'm on CloudyG3 2.1, LG G2 D802, , CloudyKernel, Dalvik

Did the same thing as [MENTION=1866762]Xer0 WindKey[/MENTION], copied the file to /system/etc/
[G2 Android Development] 4everAnoob:
App doesn't open on my g2. What is going on? Also knock code stoppen working a few weeks ago. Guess its time for a reinstall.
[G2 Android Development] malco:
Solved flashing the kernel again
[G2 Android Development] vPro97:
For those of you unable to use the app, please follow the alternative installation method in the second post till the app is updated :)
[G2 Android Development] faris:
this is the most ingenious mod ive ever used. working great on aicp lollipop. True Stereo!
[G2 Android Development] polyszi:
I don't know what I do wrong.. I'm using CloudyG3 2.1 Rom (Art), install mix app and busybox so the app is running. Unfortunately when i reboot everything is the same .. Only the main louder working. If i try copy (system/etc mixed_patch.xml) and reboot my Rom is crashed so i need flash again.. I try threetimes but not working. Anyone have ideas? Thank you. :)
[G2 Android Development] vPro97:
Try following the steps in post 2 carefully. Make sure you set the right permissions.
[G2 Android Development] roboMr.Burns:
Look on your sdcard, in the robo folder, there should be an mixer-paths.bak. that one should be a different filesize than the others. If not, you might have backed up after the mod was installed. In next version I'll implement something to make the backup process safer.
[G2 Android Development] Roph:
Nothing happens for me.

CloudyG3 2.1, stock kernel (or whatever comes with CG3), UK D802. I am using viper audio though. Disabling viper audio still doesn't have an effect. I'd rather keep Viper since by default the loudspeaker sounds awful.
[G2 Android Development] vPro97:
Follow the instructions in the second post, please. I was using cloudy and it worked flawlessly for me. With Viper.
[G2 Android Development] vPro97:
Mod Version 1.1 for BETA TESTERS!

Be VERY CAREFUL WHEN TESTING THIS VERSION. Start at lowest volume settings and slowly increase the volume to test it.

Disclaimer: I'm not responsible for any damage, but I have tested it on mine and it works great without any distortion - but no device is created equal.

Changelog

Earpiece Digital Volume increased from 80 to 100 to decrease the volume gap between the loudspeaker and the earpiece. I tested it and it's working fine for me at max volume but it has to be tested thoroughly before being included in the next app.

Installation instructions:

Download and unzip XML file then follow the instructions in post #2 (directly below OP).

Please report back afterwards - enjoy!
[G2 Android Development] polyszi:
Thanks, tomorrow i will try again and i hope working fine.
[G2 Android Development] asdfvtn:
Doesn't seem to even open on my my D803 running MIUI 4.11.28 (gtbluesky).

Sounds like a great mod though!
[G2 Android Development] nickynikolov:
Big distortion for me in earpiece with this version. I'm with d802 running latest CM12 - Rashed version.
[G2 Android Development] lil-pete:
Same here. But very good Mod. I think it´s to much bass voice in earpiece. And when earpiece is a little bit quieter.

My Device: D802 with Bliss Pop Lollipop

Thanks for your work
[G2 Android Development] vPro97:
Okay, seems like this beta won't be going into the next app but I won't remove it since there might be some people whose devices can handle that volume.

To those complaining about low volume, too bassy or whatever - there's not much you can do. This doesn't alter with hardware, it just enables the earpiece to play music and sounds as well. The hardware has its limitations and that's how it is, sorry for that.
[G2 Android Development] Roph:
Great, all working now. Though the earpiece is much louder than the bottom speaker. I have to pan around 80% to the right (earpiece left, bottom speaker right) before they're about equal in volume.

Which values specifically are you editing in the .xml file for the earpiece volumes? I'd like to lower them.
[G2 Android Development] polyszi:
Now working perfectly. Good work, thanks. :good:
[G2 Android Development] itstakenallihave:
Where is the "SDCARD" and "robo" folder? I have the D801 and there is no SDCARD, only Internal Storage. I searched for robo under root device files and storage... found nothing.

I manually put the mixer_paths.xml into /system/etc and the mod is working but it's too loud and the app won't open. Tried installing BusyBox and clearing app data, and uninstalling reinstalling.
[G2 Android Development] vPro97:
Well it's clear that you aren't the most experienced user. What's too loud which device model are you using? Sdcard is your internal storage.

We need to work on improving the app.
[G2 Android Development] allstar21369:
Thanks

The earphone speaker volume is too loud, and buzzy (alarms, youtube videos, music, etc.). Far louder than the bottom speaker. And since the app doesn't open I'm not sure how else I can lower it. I do love the idea of this app though. Amazed no one thought of it before. I appreciate your work and I hope I can get it working correctly.

Also, I said my model number in my first post, D801 (T-Mobile variant- running Mahdi AOSP ROM).

I figured "Sdcard" was my internal storage. I still mentioned it, however, because I couldn't find the "robo" folder anywhere and was hoping I was not understanding something (but I WAS understanding it and the "robo" folder just doesn't exist there I suppose).
[G2 Android Development] vPro97:
Thank you very much for elaborating. I hope you kept a backup of your original mixer_paths.xml. In case you did, I'd appreciate a copy of it to understand why it works differently for you.

The robo folder should be created automatically when installing the app, it didn't and the app won't launch. I'm pretty sure [MENTION=4115780]roboMr.Burns[/MENTION] is working on it.

Once again, thanks.

And, I'm sorry if I offended you, it wasn't my intention.
[G2 Android Development] roboMr.Burns:
Yes I am making progress. I think I figures out, why it's not starting for some people. In addition fixed my Fileserver today:)
[G2 Android Development] FoxyNoob:
I should have listened, lol

Anybody happen to have a copy of the stock mixer xml for a ls980? Thanks in advance.
[G2 Android Development] RevolcFael4:
Tried it on Reserrection ROM 5.0.2 for LS980. Doesnt seem to work.
[G2 Android Development] vPro97:
Can people who have problems please post a copy of their original mixer_paths.xml?
[G2 Android Development] FoxyNoob:
Mine didn't work either, had to manually replace the xml with the one in the robo folder.
[G2 Android Development] Xer0 WindKey:
Hello, here is my original mixer paths

https://mega.co.nz/#!3ZYBRDbQ!xNGLd8KuMTQcL9e850d8l5v6cpwpmPPJf10S7Oqa_Sg

My phone is VS980, Hope this helps mate :)

-X
[G2 Android Development] G24Life:
It works great!

If anybody was wondering if it works on unofficial cyanogenmod, it does!

At least on my g2 d801 (T-Mobile) thanks for the great work guys!
[G2 Android Development] FoxyNoob:
thank you

Thank you, thank you, thank you
[G2 Android Development] vPro97:
If you like this mod, please just hit the thanks button ;)
[G2 Android Development] mrchambo:
Tried install method #1 on my G2 running XDABBEB's G3 Port on VS980 with ART , app installed but would not open. Tried both versions, 1.0 and 1.1.

Looking forward to trying again!

Thanks for the cool app and I'm confident it will work eventually.

MrC
[G2 Android Development] allstar21369:
Okay, here is a Dropbox link to my original mixer_paths.xml file -> https://www.dropbox.com/s/ymn9h8ue5xx7s9b/mixer_paths.xml?dl=0

And as I mentioned previously, I'm running an AOSP ROM and I manually replaced the mixer_paths.xml file.

I can't open the mixer app, but it is working, although the earphone speaker volume is too loud and buzzes.

Also, the "robo" never created itself in my storage (or anywhere else).
[G2 Android Development] FoxyNoob:
busy box

For those unable to get the mixer app to run, I had to use the busybox installer by Stephen. The one by JRummy didn't work for me.