Hi all, I have modded the LG G3 mixer_paths.xml so that it will use earpiece aswell as loudspeaker while playing music, watching youtube etc.
I found this on monivan's stereomod thread for the xperia Z (which i have) and now I'm sharing here with you!
NOTE: THESE ARE NO FLASHABLE ZIP FILES!
NOTE: I DO NOT OWN THIS DEVICE
First of all, PLEASE DO A BACKUP OF YOUR CURRENT FILE BEFORE PROCEEDING!!
It is located in /system/etc/mixer_paths.xml
DISCLAIMER:
Everything you do is your choice, if you missing any important call or getting fired because of alarm didn't work, you busting your earpiece or thermonuclear war starts off and you point your finger at me, I will laugh at you.
I take no responsibility for your actions.
REQUIREMENTS :
-Rooted phone with busybox installed
-Stock rom (may also work on AOSP/CM, don't know try it yourself and let know here)
-LG G3 (tested on T-Mobile variant, but may work on others since unlocked bootloader is NOT required)
HOW TO INSTALL:
1. Download SurroundSound.zip
(Download links in download section)
2. Move your stock/current mixer_paths.xml from /system/etc to any location on your sd card.
3. Unzip the zip file you just downloaded and copy mixer_paths.xml to /system/etc and set correct permission rw-r-r a.k.a. 0644
Like this:
XX0
X00
X00
4. Reboot
5. Turn down your volume before using and increase slowly to test safely.
TUTORIAL thnx @Rafe:
1 - Edit Mixer_paths.xml or Mixer_paths_qcwcn.xml, it depends what the model is, in my case (D855P - Brazil) uses Mixer_paths_qcwcn.xml;
2- In the xml file look for the parameter: <path name="speaker">;
3 - Edit the following lines to the value 60;
<ctl name="RX1 Digital Volume" value="60" />
<ctl name="RX3 Digital Volume" value="60" />
So your Speaker parameter will look like:
<path name="speaker">
<ctl name="SLIM RX1 MUX" value="AIF1_PB" />
<ctl name="SLIM RX2 MUX" value="AIF1_PB" />
<ctl name="SLIM_0_RX Channels" value="Two" />
<ctl name="RX1 MIX1 INP1" value="RX1" />
<ctl name="RX3 MIX1 INP1" value="RX2" />
<ctl name="CLASS_H_DSM MUX" value="DSM_HPHL_RX1" />
<ctl name="HPHL DAC Switch" value="1" />
<ctl name="HPHL Volume" value="20" />
<ctl name="HPHR Volume" value="20" />
<ctl name="RX1 Digital Volume" value="60" />
<ctl name="RX3 Digital Volume" value="60" />
<ctl name="RDAC5 MUX" value="DEM3_INV" />
<ctl name="LINEOUT1 Volume" value="16" />
<ctl name="LINEOUT3 Volume" value="16" />
<ctl name="RX3 HPF cut off" value="MIN_3DB_150Hz" />
<ctl name="RX1 HPF cut off" value="MIN_3DB_150Hz" />
<ctl name="COMP0 Switch" value="1" />
<ctl name="DAC1 Switch" value="1" />
<ctl name="SPK Amp Volume" value="3" />
</path>
Save and reboot!
NOTE:
RX1 is earpiece
RX3 is loudspeaker
I tuned volume values so that sound is not distorting at all kind of genres, at full volume with no equaliser settings active.
But please be careful using this!!
To test if this works see: Left/Right Stereo Audio/Visual Test.: http://youtu.be/dvqbq_0jZ_U
Have fun!
DOWNLOADS:
https://www.mediafire.com/?i9d4dxkk8v9mwiw
(if not available request desktop version)
D855P user's :
-Loud
http://www.mediafire.com/view/lveptsb6eblxavi
-Normal
http://www.mediafire.com/view/r5h2xb4hn8yalk4
Changelog:
V1.0 initial release
V1.1 now also compatible with D855P variant.
Credits:
- @anoymonos for testing
- @monivan for creating this for my Z
- myself
Hi langeveld024,
Do you know if this mod will work on the leaked stock 5.0 ?
Thanks in advance
hi, i dont know, as i dont own this device.
but you can try and report back here!
trying wont harm anything, and just make an backup of the original file.
if doesnt work, send me the file and i will take a look at it
I've tried it and it works.
But there are too much distortions for me.
Thanks anyway for your work budy
Tyty94210 said:
I've tried it and it works.
But there are too much distortions for me.
Thanks anyway for your work budy
Click to expand...
Click to collapse
You tried on lollipop? Are distortions only at high volume? Do you use any equaliser settings and/or other soundmod?
langeveld024 said:
You tried on lollipop? Are distortions only at high volume? Do you use any equaliser settings and/or other soundmod?
Click to expand...
Click to collapse
Yeah i tried it on the last leaked 20A android 5.0 rom on a D855 internation 32gb.
It is completly stock without any mod or equaliser and even the sound boot i heard quite a lot distortions.
Tyty94210 said:
Yeah i tried it on the last leaked 20A android 5.0 rom on a D855 internation 32gb.
It is completly stock without any mod or equaliser and even the sound boot i heard quite a lot distortions.
Click to expand...
Click to collapse
Pm me the file
langeveld024 said:
Pm me the file
Click to expand...
Click to collapse
Hey man! Very nice mod! But my G3 is D855P (Brazil), that uses the file: mixer_paths_qcwcn.xml
Its possible to put your mod for my G3 model?
Cheers
Rafe said:
Hey man! Very nice mod! But my G3 is D855P (Brazil), that uses the file: mixer_paths_qcwcn.xml
Its possible to put your mod for my G3 model?
Cheers
Click to expand...
Click to collapse
Yeah I think so.. Pm me the file I'll look into it .
langeveld024 said:
Yeah I think so.. Pm me the file I'll look into it .
Click to expand...
Click to collapse
Attached! Thanks Bro!
This mod is the best ive ever used on any phone. GOOGLE you should pay attention this should be a stock feature. I cant believe this thread has not exploded, i for one will never go back to a single speaker. Thanks again OP
Sent from my LG-D851 using XDA Free mobile app
Hey man thanks a lot !! The mod seems interesting, however I'm not 100% sure if it is working!
I have the LG855 European version, running on 4.4.2, and I was able to replace the mixer_paths.xml as per instructions. Wasn't sure it worked. It's difficult to tell if the earpiece is active, as the sound from the rear speaker is loud, even if I try to mute it by putting my finger over it. I thought the youtube video should allow it to be silent when it shift from one speaker to another, however the rear speaker seems to be always ON.
I also have the mixer_paths_qcwcn file in the etc folder. I tried to replace this one as well, but nothing has changed from my first trial.
Is there a way to tell if the mod is working? Did I miss something?
Thats how it was my first 7 attempts the 8th worked perfect. Try that youtube link for test youll know When its working
Sent from my LG-D851 using XDA Free mobile app
Thanks for your reply. What do you mean by 7 attempts? Try to play the video more than once? Or keep overwriting the file and restarting the phone until it works?
Sorry for the confusion
Would help if you explain exactly what you did. Cheers.
---------- Post added at 11:52 PM ---------- Previous post was at 11:52 PM ----------
anoymonos said:
Thats how it was my first 7 attempts the 8th worked perfect. Try that youtube link for test youll know When its working
Sent from my LG-D851 using XDA Free mobile app
Click to expand...
Click to collapse
I compared the mixer_paths.xml file with the original one which I had, and lots of changes are there, mainly the values and come lines are added here and there.
However the mixer_paths_qcwcn file is almost the same as my original one except for the following two lines which are deleted in the modded file:
line 1151 <ctl name="ADC3 Volume" value="12" />
line 1152 <ctl name="DEC4 Volume" value="60" />
---------- Post added 18th November 2014 at 12:33 AM ---------- Previous post was 17th November 2014 at 11:52 PM ----------
Just restored the original files and copied the modded mixer_paths.xml file again. I can confirm that it's not working. I removed the back cover and I was able to mute the speaker with my finger. No sound from earpiece.
I've attached below a copy of my original mixer path files found in my etc folder.
mixer_paths
mixer_paths_qcwcn
mixer_paths_auxpcm
My bad, the op changed the file 8 different times for me the last one worked. He created this for use on the S5 and i asked if it could work on d851 and he did magic. But i know what you mean by hard to tell if its working but once it does the youtube video will be very obvious. Hope he helps you get it.
Sent from my LG-D851 using XDA Free mobile app
Confirmed working on d855. Thanks !!!
One question , will it damage the front speaker over time ? And raising the volume pass the middle in the sliding bar and there's distortions.
A feedback for you guys, this mod is amazing and working perfectly in D855P (Brazil).
But for me, I made a change in the volume channels for Speaker, a pushed down to 60 on both channels. Is perfect now! There is no distortion at all, is equally louder on both channels and the stereo effect is amazing.
Combining with that, i suggest to put the equalizer on Surround Mode, for better experience.
Very thank you @langeveld024!
Cheers
aouni_tahech said:
Thanks for your reply. What do you mean by 7 attempts? Try to play the video more than once? Or keep overwriting the file and restarting the phone until it works?
Sorry for the confusion
Would help if you explain exactly what you did. Cheers.
---------- Post added at 11:52 PM ---------- Previous post was at 11:52 PM ----------
I compared the mixer_paths.xml file with the original one which I had, and lots of changes are there, mainly the values and come lines are added here and there.
However the mixer_paths_qcwcn file is almost the same as my original one except for the following two lines which are deleted in the modded file:
line 1151
line 1152
---------- Post added 18th November 2014 at 12:33 AM ---------- Previous post was 17th November 2014 at 11:52 PM ----------
Just restored the original files and copied the modded mixer_paths.xml file again. I can confirm that it's not working. I removed the back cover and I was able to mute the speaker with my finger. No sound from earpiece.
I've attached below a copy of my original mixer path files found in my etc folder.
mixer_paths
mixer_paths_qcwcn
mixer_paths_auxpcm
Click to expand...
Click to collapse
Yeah it seems that all G3 variants uses different mixer_paths.xml xD I will take a look in yours. Btw thread updated, I think the D855P version will work for u. Since it is only the mixer_paths_qcwcn.xml file that does the trick on that phone. Try and lemme know :thumbup:
joejoe23 said:
Confirmed working on d855. Thanks !!!
One question , will it damage the front speaker over time ? And raising the volume pass the middle in the sliding bar and there's distortions.
Click to expand...
Click to collapse
Yeah I will make another version so people can choose between volume's, also I will try to add an low frequency filter in order to reduce distorion :thumbup:
langeveld024 said:
Yeah I will make another version so people can choose between volume's, also I will try to add an low frequency filter in order to reduce distorion :thumbup:
Click to expand...
Click to collapse
Cheers it worked!
I had to only replace the qcwcn file. The normal version doesn't provide a loud sound from the earpiece. The loud one is fine. However I'm not sure if it's fine to keep it like that for the long run. Is it a good idea to provide 3 versions? The current low-high in addition to a new profile which sits in between those two.
Related
Is there any way to make the Sense ICS camera compress images less? None of my images ever seem to top 2MB, even if they're taken in broad daylight in a setting with lots of different colors. Fiddling around with build.prop does nothing
Have you tried fiddling with media_profiles.xml instead?
All the settings in there seem to be geared towards video quality
It's for both video and still pics.
Either way, be careful with it because I have been playing around with it and have managed to make the camera freeze upon taking a shot.
FYI, these changes used to be enough to remove image processing, at least in my experience on Gingerbread ROMs. However it doesn't seem to work for me now on ICS (though feel free to test and report your findings).
1 - changing this,
<!ATTLIST ImageEncoding quality (90|80|70|60|50|40) #REQUIRED>
to
<!ATTLIST ImageEncoding quality (100|80|70|60|50|40) #REQUIRED>
(or just adding 100 in front of 90, either way).
2 - changing these lines (which appear twice),
<ImageEncoding quality="90" />
<ImageEncoding quality="80" />
<ImageEncoding quality="70" />
<ImageDecoding memCap="20000000" />
to
<ImageEncoding quality="100" />
<ImageEncoding quality="100" />
<ImageEncoding quality="100" />
<ImageDecoding memCap="500000000" />
anyone figure this out?
ToL9a said:
It's for both video and still pics.
Either way, be careful with it because I have been playing around with it and have managed to make the camera freeze upon taking a shot.
FYI, these changes used to be enough to remove image processing, at least in my experience on Gingerbread ROMs. However it doesn't seem to work for me now on ICS (though feel free to test and report your findings).
1 - changing this,
<!ATTLIST ImageEncoding quality (90|80|70|60|50|40) #REQUIRED>
to
<!ATTLIST ImageEncoding quality (100|80|70|60|50|40) #REQUIRED>
(or just adding 100 in front of 90, either way).
2 - changing these lines (which appear twice),
<ImageEncoding quality="90" />
<ImageEncoding quality="80" />
<ImageEncoding quality="70" />
<ImageDecoding memCap="500000000" />
to
<ImageEncoding quality="100" />
<ImageEncoding quality="100" />
<ImageEncoding quality="100" />
<ImageDecoding memCap="500000000" />
Click to expand...
Click to collapse
Worked! Many thanks! I had been struggling with this issue all weekend.
How about uploading the files you changed?
tibere86 said:
Worked! Many thanks! I had been struggling with this issue all weekend.
Click to expand...
Click to collapse
Which ROM are you running?
I tried on the Ultimite ICS ROM and it caused the camera to crash. I will try on Virtuous Inquisition soon.
bonesy said:
How about uploading the files you changed?
Click to expand...
Click to collapse
Come on, it's a matter of editing ONE file for a total of 9 small changes, it's not going to take much longer to make the changes yourself than it is to download the file, make a back-up of the original, move it in place of the original and set file permissions.
Just tried with Virtuous, no good.
Some indoor, low light shots work but when taking outdoor shots it crashes the camera.
----
Wrong post.
---+
Im not on about for me, ive done it and did so as soon as i read the post.Im on about newbies that dont have a clue
I made the changes but with 99 as max quality.
Doesn't seem to crash but the image quality isn't as good as i used to have with the AmazeCamera mod
Will continy to experiment
AleyKsi said:
I made the changes but with 99 as max quality.
Doesn't seem to crash but the image quality isn't as good as i used to have with the AmazeCamera mod
Will continy to experiment
Click to expand...
Click to collapse
I tried this and while there's an improvement, it still isn't as good as the mod I had on gingerbread
setting it to 99 also makes it still periodically crash for me, but I can get some pictures off
kristofpetho claims lossless compression on photos with his ICS ROM here,
http://forum.xda-developers.com/showthread.php?t=1350492
95 seems to be stable... Still experimenting.
I've also decompiled HTCCamera.apk and tried to increase bitrate, but with no succes.
billobob said:
I tried this and while there's an improvement, it still isn't as good as the mod I had on gingerbread
setting it to 99 also makes it still periodically crash for me, but I can get some pictures off
Click to expand...
Click to collapse
hey whats the mod you used for gingerbread?
guys did anyone extract the AOSP camera and modify it?
walkinhotdog said:
hey whats the mod you used for gingerbread?
Click to expand...
Click to collapse
It's most likely this one,
http://forum.xda-developers.com/showthread.php?t=1188310
Quality on this is fantastic, but make sure you pick the right one for your ROM.
krogoth said:
95 seems to be stable... Still experimenting.
I've also decompiled HTCCamera.apk and tried to increase bitrate, but with no succes.
Click to expand...
Click to collapse
I've changed bitrate under 0x780 to 18mb. As result camera is recording at 14mbps but there is no video when I'm trying to play it.
Anyone with some camera modding exp?
krogoth said:
I've changed bitrate under 0x780 to 18mb. As result camera is recording at 14mbps but there is no video when I'm trying to play it.
Anyone with some camera modding exp?
Click to expand...
Click to collapse
try contacting cdtdroid or baadnews, they pulled out the amaze camera mod with improved bitrates. maybe contacting a kernel dev would help too, dunno if they can do much w/o the leaked kernel source but it's worth a try
Anybode else has the problem that the speakerphone volume during calls is very low?
The internal speaker works very well and loud while playing musik, videos etc.. but when i use the speakerphone function during calls its way lower. I guess min. more than half of the normal volume.
version: 11.0-xnph22r
try this, its for cm10 but it should be the same...
I can´t find this folder or files on OPO but thx for the info
Everything seems to be like this phone, but the sound ... Bad that at the minimum volume of the incoming call, it still is not quiet, but the maximum volume when talking - I would like to enlarge. In a noisy environment or on the street is not always clearly audible conversation.
I found The solution, it's not an hardware problem. Tomorrow i will post how to make it works better.
Inviato dal mio One utilizzando Tapatalk
ToRvaLDs said:
I found The solution, it's not an hardware problem. Tomorrow i will post how to make it works better.
Inviato dal mio One utilizzando Tapatalk
Click to expand...
Click to collapse
Please share
Sent from my SGH-T889 using XDA Free mobile app
You have to mount the /system as RW ( you can use ES FIle Explorer https://play.google.com/store/apps/details?id=com.estrongs.android.pop )
Edit the file in /system/etc/mixer_paths.xml
Around the line 571 you will find
Code:
<!-- Analog output devices -->
<path name="ear">
you are in the right section, so in the same section around the line 576 you will find:
Code:
<ctl name="RX1 Digital Volume" value="84">
Change the value (84) to an higher number I tried 100 and it's very loud, It think 92/95 could be enough.
MAKE A COPY OF THAT FILE BEFORE EDIT IT.
Thanks to C13v3r0n3 for the right way
ES file explorer or total commander does not load the whole file so never gets to the "ear" section...
Root explorer is the only app that reads whole file properly for editing.
Sent from my One using XDA Free mobile app
Using ES Note Editor works fine for me. Just scroll down and it load the other lines.
Thx very much for the Info
But i have very big problems to getting root access.
Tryed: Es File Explorer, Solid Explorer, Root Explorer, Root Browser... but i don´t get write permissions. I don´t get it
I also used the app mount /system
The button mount r/w in root explorer says it getts root but the system is showing r/o only....
I mounted the system but everytime i saved the file and reopend it its back to 84 again...
only root browser is givin me a feedback that its only read but when you look at the mixer_paths.xml file it shows rwx?
Any ideas what i making wrong?
In ES File Explorer tap the blu icon on top left side and open the sidebar, scroll down and expand the "Tools" menu, here activate : "Root Explorer" and "Show hidden files" (this is optional).
Be sure to grant Root permission when is requested.
yes i tried this also, but when i click aktivated root explorer and click mount system as r/w and ok and than i go a second time in and to check it its back to r/o again. I only can give / the rw rights.
I have franco kernel, could this be the reason?
Its also strange that the new update ota is not working. Should i wipe it and install cm11 new?
Got it worked! :good:
wipe phone, new install of cm11s
App: root browser
A good value is 90
This works but only for the ear speaker. Anybody knows which values must be changed for the dual bottom speaker for freespeaking in calls? I tried all RX but not louder...
Try to put all values to 10 and test if in those values there is the correct settings. After that raise one value at time to find the one you need.
After that share your test
Inviato dal mio One utilizzando Tapatalk
After the restart, i've been getting "Unfortunately, AudioFX has stopped" messages spamming my screen. I had to reinstall the rom. Any way to modify this file without screwing everything?
lightningff13 said:
After the restart, i've been getting "Unfortunately, AudioFX has stopped" messages spamming my screen. I had to reinstall the rom. Any way to modify this file without screwing everything?
Click to expand...
Click to collapse
You're using an editor that isn't loading the file fully and cutting off the end..
Sent from Uranus via OnePlus
ToRvaLDs said:
You have to mount the /system as RW ( you can use ES FIle Explorer https://play.google.com/store/apps/details?id=com.estrongs.android.pop )
Edit the file in /system/etc/mixer_paths.xml
Around the line 571 you will find
Code:
<!-- Analog output devices -->
<path name="ear">
you are in the right section, so in the same section around the line 576 you will find:
Code:
<ctl name="RX1 Digital Volume" value="84">
Change the value (84) to an higher number I tried 100 and it's very loud, It think 92/95 could be enough.
MAKE A COPY OF THAT FILE BEFORE EDIT IT.
Thanks to C13v3r0n3 for the right way
Click to expand...
Click to collapse
My 5 cents!
For loud-speaker vol and for ring vol edit those in the same file:
<!-- Output paths -->
<path name="speaker">
<ctl name="RX3 Digital Volume" value="90" />
<ctl name="RX4 Digital Volume" value="90" />
<path name="voice-speaker">
<ctl name="RX3 Digital Volume" value="95" />
<ctl name="RX4 Digital Volume" value="95" />
MarvinFS said:
My 5 cents!
For loud-speaker vol and for ring vol edit those in the same file:
<!-- Output paths -->
<path name="speaker">
<ctl name="RX3 Digital Volume" value="90" />
<ctl name="RX4 Digital Volume" value="90" />
<path name="voice-speaker">
<ctl name="RX3 Digital Volume" value="95" />
<ctl name="RX4 Digital Volume" value="95" />
Click to expand...
Click to collapse
Thanks for this. If anybody wants to script it here's what worked for me. Assumption: order of xml tags remains same as my stock phone.
Code:
sed -i '0,/RX1 Digital Volume" value="84"/s//RX1 Digital Volume" value="91"/g' system/etc/mixer_paths.xml
sed -i '0,/RX3 Digital Volume" value="80"/s//RX3 Digital Volume" value="90"/g' system/etc/mixer_paths.xml
sed -i '0,/RX4 Digital Volume" value="80"/s//RX4 Digital Volume" value="90"/g' system/etc/mixer_paths.xml
sed -i 's/RX3 Digital Volume" value="80"/RX3 Digital Volume" value="95"/g' system/etc/mixer_paths.xml
sed -i 's/RX4 Digital Volume" value="80"/RX4 Digital Volume" value="95"/g' system/etc/mixer_paths.xml
----
after some testing, I'm keeping stock volume from here on because this mod is way too loud.
ToRvaLDs said:
You have to mount the /system as RW ( you can use ES FIle Explorer https://play.google.com/store/apps/details?id=com.estrongs.android.pop )
Edit the file in /system/etc/mixer_paths.xml
Around the line 571 you will find
Code:
<!-- Analog output devices -->
<path name="ear">
you are in the right section, so in the same section around the line 576 you will find:
Code:
<ctl name="RX1 Digital Volume" value="84">
Change the value (84) to an higher number I tried 100 and it's very loud, It think 92/95 could be enough.
MAKE A COPY OF THAT FILE BEFORE EDIT IT.
Thanks to C13v3r0n3 for the right way
Click to expand...
Click to collapse
Suggestion - edit this post so the part about making a copy of the file before editing it is on top! :silly:
Do i need to root the phone for this solution?
I want to increase the sound of D2302 LP 5.1.1 a little. But the guides given here are for Kitkat, and mixer_paths.xml seems different from those guides. Could anyone tell me what to change?
vijaykmr said:
I want to increase the sound of D2302 LP 5.1.1 a little. But the guides given here are for Kitkat, and mixer_paths.xml seems different from those guides. Could anyone tell me what to change?
Click to expand...
Click to collapse
for me just edit mixerpath :/
Ciptraandoni said:
for me just edit mixerpath :/
Click to expand...
Click to collapse
Sorry, I didn't understand.
vijaykmr said:
Sorry, I didn't understand.
Click to expand...
Click to collapse
Okay -__-
Ciptraandoni said:
for me just edit mixerpath :/
Click to expand...
Click to collapse
Which values did you change? Because I tried raising the first 4 "RX Digital Volume" values to 91 and i've don't think it made any difference.
Miche1asso said:
Which values did you change? Because I tried raising the first 4 "RX Digital Volume" values to 91 and i've don't think it made any difference.
Click to expand...
Click to collapse
For me Mixerpath,mixerpathVY55,mixerpathVY58
set value 1-7RX to 88 or any...
Ciptraandoni said:
For me Mixerpath,mixerpathVY55,mixerpathVY58
set value 1-7RX to 88 or any...
Click to expand...
Click to collapse
Oh, all of them, then? I'll give it a try. Thanks.
Miche1asso said:
Oh, all of them, then? I'll give it a try. Thanks.
Click to expand...
Click to collapse
yeahh, working for you ?
Ciptraandoni said:
yeahh, working for you ?
Click to expand...
Click to collapse
Yeah, it seems to work indeed. I changed in all three files the values
Code:
<ctl name="RX1 Digital Volume" value="84" />
<ctl name="RX2 Digital Volume" value="84" />
<ctl name="RX3 Digital Volume" value="84" />
<ctl name="RX4 Digital Volume" value="84" />
(there is no RX5-RX7) first with 88. It was bit higher. I raised it up to 91 and I've got some distortion, especially with my ringtone that's played with a piano.
I'd love to know what the heck Sony did with our version of Lollipop. They are better bringing an update with major bug fixing soon because I'm getting sick of it. Starting from the lagging.
Miche1asso said:
Yeah, it seems to work indeed. I changed in all three files the values
Code:
<ctl name="RX1 Digital Volume" value="84" />
<ctl name="RX2 Digital Volume" value="84" />
<ctl name="RX3 Digital Volume" value="84" />
<ctl name="RX4 Digital Volume" value="84" />
(there is no RX5-RX7) first with 88. It was bit higher. I raised it up to 91 and I've got some distortion, especially with my ringtone that's played with a piano.
I'd love to know what the heck Sony did with our version of Lollipop. They are better bringing an update with major bug fixing soon because I'm getting sick of it. Starting from the lagging.
Click to expand...
Click to collapse
haha sorry, I use sound mod
so I have 5-7 :v
haha sound good just add viper or dolby
Just use viper audio, works on 5.1
D2303 5.1lollipop customised NCB LB rooted Nuts t2u dual recovery bravia engine 2+x-reality debloated viper audio
Thanks, changing all three files worked.
Am cleaning up & updating the thread
How To Video by @ISF
So, Samsung Galaxy S9 was launched, with an AKG tuned Stereo Speaker. A definitive upgrade from a single bottom firing Speaker on S8 & S8+
but, luckily for us, S8 & S8+ (Exynos Variant) user, there's a way to at least get a similar audio experience on our phone.
This is achieved by enabling our "earpiece speaker" as a secondary output. Creating a pseudo-stereo experience. Sure its nothing when compared to real stereo on S9, but hey, at least we got something right ?
So, how do we get that ? It's simple. We need to modify some lines on mixer_paths.xml file located in system/etc/
but lets make that easier, by providing a Magisk Module & TWRP flashable .zip for you to use.
For you Magisk User, simply download the GalaxyS8DualSpeakerMagiskModule from attachment, and flash it through your Magisk Manager.
If you use SuperSU, you can use TWRP zip also from the attachment, and flash it from your recovery.
Both file support latest OREO firmware and Magisk 16. (If you are still on Nougat, download Nougat version from attachment)
Now, to make it even better, you can then install Audio Mod to your S8, like Viper4FX or A.R.I.S.E the effect will applied to both of the speakers.
For Advanced User :
If you need to adjust the gain yourself, find these lines in mixer_gains and adjust the 35 or 40 value to your liking :
<path name="gain-media-speaker">
<ctl name="HPOUT3L Input 1 Volume" value="35" />
<ctl name="HPOUT3R Input 1 Volume" value="35" />
</path>
<path name="gain-media-headset">
<ctl name="HPOUT2L Impedance Volume" value="107" />
<ctl name="HPOUT2R Impedance Volume" value="107" />
<ctl name="HPOUT2L Input 1 Volume" value="40" />
<ctl name="HPOUT2R Input 1 Volume" value="40" />
</path>
Click to expand...
Click to collapse
ORIGINAL MOD CREDIT goes to @MichaelGroth
Flashable TWRP & Magisk ZIP by me & @LinkseD.
Thank you @silvercat who brought this info on another device thread, and to @topjohnwu who made the systemless method for this mod possible through his Magisk creation.
Thanks for the credit. But who is silvercat?
MichaelGroth said:
Thanks for the credit. But who is silvercat?
Click to expand...
Click to collapse
The one who make me aware of your work, haha
Sorry, i'll split the info
Ah, ok Haha. np. If there is enough interest around this I will make a flashable version and I might also add some volume modifications. ?
MichaelGroth said:
Ah, ok Haha. np. If there is enough interest around this I will make a flashable version and I might also add some volume modifications. ?
Click to expand...
Click to collapse
Given the numbers of "Thanks!" you're getting... I suspect there is interest shown to this initiative!
Else... Can anyone e confirm this is working properly on a rooted S8/S8+? Thanks!
dehnhaide said:
Given the numbers of "Thanks!" you're getting... I suspect there is interest shown to this initiative!
Else... Can anyone e confirm this is working properly on a rooted S8/S8+? Thanks!
Click to expand...
Click to collapse
Works well on mine, should be good for you too
MichaelGroth said:
Ah, ok Haha. np. If there is enough interest around this I will make a flashable version and I might also add some volume modifications. ?
Click to expand...
Click to collapse
Would be awesome if you could boost the volume
There is great interest. MANY THANKS
Good mod. Waiting for this for so long. Thanks bro.
Sent from my SM-G955F using Tapatalk
Very nice. Can you provide it in zip file? And maybe boost volume. Thanks!!!!!!
Can I assume from the title that you DO need root for this to work? My S8+ is not rooted and I want to keep my warranty, but this mod looks amazing
radiobicho said:
Very nice. Can you provide it in zip file? And maybe boost volume. Thanks!!!!!!
Click to expand...
Click to collapse
I add the zip download to the OP
prodigyX said:
Can I assume from the title that you DO need root for this to work? My S8+ is not rooted and I want to keep my warranty, but this mod looks amazing
Click to expand...
Click to collapse
Yes, you NEED root to write anything into system
thanks, this thread should be moved to mods section I guess
edit: I flashed zip file but I don't get any sound from second speaker...or it's very low I don't notice
[email protected] said:
thanks, this thread should be moved to mods section I guess
edit: I flashed zip file but I don't get any sound from second speaker...or it's very low I don't notice
Click to expand...
Click to collapse
Indeed I can report it is working but...
1) the volume from the ear piece speaker is very low or it could be that just the main speaker is too loud and "covers" it...
2) I perceive there is a small delay between the two speakers, specifically when watching YouTube videos, landscape viewing. Sounds more like a reverb... Or it could be just me!
dehnhaide said:
Indeed I can report it is working but...
1) the volume from the ear piece speaker is very low or it could be that just the main speaker is too loud and "covers" it...
2) I perceive there is a small delay between the two speakers, specifically when watching YouTube videos, landscape viewing. Sounds more like a reverb... Or it could be just me!
Click to expand...
Click to collapse
The mod used can be said as a "safe stage" since earpiece is not actually made for audio playback,
Increasing too much volume into it can break the thing.
This is why the mod kept at the subtle lebel.
You still can edit the mixer to increase the volume level btw, just be careful when doing so, LoL
Btw, am sorry MOD, @Bajanman @Razvan , i think this thread would be more proper to be placed on "Theme, Mods & Apps" thread, so maybe you can move it if you dont mind.
TIA
here a Soundmod to increase Sound louder for your Headset, see Attachment
Root required! Just copy both .xml in /system/etc and overwrite. Set Permission to 644 (rw-r-r) and reboot
MichaelGroth said:
Thanks for the credit. But who is silvercat?
Click to expand...
Click to collapse
Suhail from Echoe Forum
I'd like a volume mod for the bottom speaker and a individual one for dual speaker mod with added media gain, bt gain and slight call gain. Im sure alot of people who be on board with this! Had the s7 edge and got it solely for that speaker hacks.
Thanks for the interest guys. I will make a dual speaker mod with different sound modifications, and sound modifications for single speaker. I just need a little time tho. I have alot on my plate tomorrow. But I will make a thread when ready. ?
Hello Everyone,
I hope you all are great...
I used to make DualSpeaker SoundMods and now I sharing my knowledge, make your own SoundMod and be a Hero ...
This MOD is safe as long you make sure you change permissions of the file to 644 (rw- r-- r--) & set Earpiece volume to safe limits...
Please Read:
--- Keep in mind, your Device Kernel has a major role for the SoundMod, in other words, Kernel is able to utilize smoothly allowing full DualSpeaker or fails at some points which gives partial DualSpeaker or completely fails which you don't get DualSpeaker at all...
--- Custom Kernels that are modified at Sound Parts might affect my SoundMods, preventing it from Working (read Q&A)...
--- Some SoundMods might interfere with my MOD & a RACE is done, last one finishes wins (read Q&A)...
Kindly, Vote in the Poll (Where did you come from, How did you find this thread...?) & Rate it...
Dante63 said:
Important Notice (Hijack not intended):
Lately, I have been searching XDA thread for all soundmod requests without intentions to hijack OP thread, I simply invite those who are requesting for soundmod for the devices unrelated to the thread, such requests for (SAMSUNG J2) in Samsung S7 section and so on, or threads where people replied with feedbacks to the OP and didn't get any response or updates for a very long period of time (more than a month), or perhaps the mod no longer works (outdated)...
As I mentioned, All Soundmods here are modified from scratch, if an XDA member adjusted my soundmod and shared it (his preference) I will add his file on the thread and credits will go to that Member...
My Intentions are to simply support all Devices with Dual Speaker SoundMod...
Click to expand...
Click to collapse
If you're going to use this MOD in your Project
please reference my Thread in your Project Thread as well Crediting...
Don't Forget to say :good: THANKS :good:
and
if you're very happy, please consider Donating to Support me, it means a lot even if it was little...
Thread Important Posts:
Post #2 is Thread Changelog...
Post #3 is Thread Progress...
Post #4 is Q & A - SoundMod...
NOTICE: Exynos & Snapdragon Devices:
Exynos devices are easier to make due to that they use 2 mixer files, mixer_paths.xml and mixer_gains.xml, sometimes (only mixer_paths.xml)...
Kirin/Snapdragon devices takes long time since there are multiple mixer files that each phone use, unless you're lucky and it's only few like one or two mixers, yet they will require many tests, I'm willing to go that road but are you willing the same...?
in case XDA YOUTUBE is not working, click on the link to view it https://www.youtube.com/watch?v=Su9Af-jrJWQ
Click to expand...
Click to collapse
I no longer take requests, but I can now assist in teaching you and everyone else how to make your own dualspeaker soundmod... If you succeed in making the dualspeaker, kindly share your work for others aside from that, this thread will contain and support more devices... All credits are yours...
How to Request the MOD (Please Cooperate with me):
In one Post,
Mention your device specs (Name, Model Number, Android and processor - EX: Samsung Galaxy Note 8, SM-N950F, Nougat 7.1.1, Exynos )...
People Please ANDROID VERSION IS VERY IMPORTANT, I can't make TWRP or MAGISK without it...
Compress all of your Mixers inside (system/etc) for Nougat, (system/vendor/etc) for Oreo, any file starting with word *mixer*.xml, name the file with Mixers-(*device model number*)-AndroidVersion (Ex: Mixers-SM-N950F-Oreo) & upload it...
Also, People Please try to name the compressed archive with your device name & android version, because of many requests, mixers are being mixed up and I have to go back to the thread verify which belongs to who, please cooperate...
OK, lately I have been forgetting who requested the MOD, Would you please also write your name in file name, so I could search the thread for you...
Notice about Mixers:
--- In rare cases, the mixers I specified are not used by the phone, to verify, rename them to .bak or remove them, if no sound is produced by the phone then you have the correct mixers else mixers are located at a different place open android terminal and type:
Code:
su
find / -name *mixer* > /sdcard/mixerpaths.txt
cat /sdcard/mixerpaths.txt
you can also view the results at "/sdcard/mixerpaths.txt",
if you're not sure which mixers, attach the mixerpaths.txt and I'll have a look and tell you possible paths...
What I'll Do?
I'll add the Mods here...
First I'll search for your device on XDA, if it exist I'll add my Mods Here,
If it doesn't exist, then I'll make a thread there and post the link here...
You'll be listed as a tester of the MOD if you stop providing feedbacks, I won't be able to proceed and thus, the MOD goes on hold and I move to another device...
I start with the devices that most likely won't take much time...
How to install?
--- You have 3 ways to install the MOD:
You manually copy the files from archive "Manual" into the path of mixers and change permissions to 644 (rw- r-- r--)...
You flash TWRP, if TWRP freezes then reboot, it means Wrong TWRP was flashed, TWRP will create a backup for your current Mixers saved in the same mixers location...
You can just install Magisk...
How to revert?
--- You have 2 ways to revert back to Original:
You manually copy the files from archive "Original" into the path of mixers and change permissions to 644 (rw- r-- r--) or if you flashed TWRP, then check if backup exists "mixername.xml.bak0", if you found it, delete "mixername.xml" and rename the "mixername.xml.bak0" to "mixername.xml" make sure permissions are still 644 (rw- r-- r--)...
You can use the TWRP file to flash the Original/Backup mixers by simply replacing/swapping the files inside it (do not touch folder META-INF)...
Normal ROMS (Use as sample)List of Devices Done:
Samsung Devices:
Samsung Galaxy S9/S9+ - TWRP+MAGISK - Volume Gain - Exynos & Snapdragon - ROOT ONLY
Samsung Galaxy A Series (2017) - Samsung Galaxy J3 2017 Compatible - Dual Speaker SOUNDMOD - TWRP + MAGISK - Root Only
Samsung Galaxy J3 2017 in case you missed it, visit the link above for Samsung Galaxy A Series (2017)...
GALAXY NOTE 8 - TWRP+MAGISK - DualSpeaker - Exynos & Snapdragon - ROOT ONLY
Samsung S7/S7Edge Exynox/Snapdragon (thread to be created soon) - (requested & tested by BlazingKahn35)
Google Drive: Oreo (need oreo mixers) + Nougat - Samsung S7/S7Edge - SoundMod - TWRP
DIY Volume Level:
Exynos, open mixer_gains.xml:
Code:
<path name="gain-media-ear">
<ctl name="HPOUT3L Input 1 Volume" value="23" />
<ctl name="HPOUT3L Input 2 Volume" value="23" />
</path>
<path name="gain-media-speaker">
<path name="gain-media-ear"/>
<ctl name="HPOUT3L Input 1 Volume" value="34" />
<ctl name="HPOUT3L Input 2 Volume" value="34" />
<ctl name="AIF4TX1 Input 1 Volume" value="35" />
<ctl name="AIF4TX2 Input 1 Volume" value="35" />
</path>
Samsung S8/S8+ Exynox/Snapdragon (thread to be created soon) - (requested & tested by jujomar)
Google Drive: Oreo (need oreo mixers) + Nougat - Samsung S8/S8+ - SoundMod - TWRP
Snapdragon DIY Volume Level:
Speaker Volume is not present in the mixer!
Code:
<path name="spk">
------------------
<ctl name="RX0 Digital Volume" value="90" /> <!--earpiece, default 84, safe upto 95, danger above 95-->
------------------
</path>
Samsung A Series (2016) (thread to be created soon) - (requested & tested by xpity34)
Google Drive: STOCK ROM - Samsung A SERIES 2016 - STOCK ROM - TWRP+MAGISK - DualSpeaker - ROOT ONLY
DIY Volume Level:
I believe the words speak for themselves, current values are default
Code:
<path name="gain-media-speaker">
------------------
<ctl name="Speaker Volume" value="0" /><!-- 0 db : 0, step +2 db-->
<ctl name="Earphone Volume" value="0" /><!-- 0 db : 0, step +2 db-->
</path>
<path name="gain-media-headset">
------------------
<ctl name="Headphone Volume" value="36" /><!-- 0 db : 0, step +2 db-->
</path>
Samsung J7 Pro Exynox (thread to be created soon) - (requested & tested by jluisolsito)
Google Drive: Oreo (need oreo mixers) + Nougat - Samsung J7 Pro - SoundMod - TWRP+Magisk
DIY Volume Level:
I believe the words speak for themselves
Code:
<path name="gain-media-speaker">
------------------
<ctl name="Speaker Volume" value="3" /><!-- default 0 db : 0, step +2 db-->
<ctl name="Earphone Volume" value="3" /><!-- default 0 db : 0, step +2 db-->
</path>
<path name="gain-media-headset">
------------------
<ctl name="Headphone Volume" value="36" /><!-- 0 db : 0, step +2 db-->
</path>
Samsung J7 Prime Exynox (thread to be created soon) - (requested & tested by luuphong559)
Google Drive: Oreo (need oreo mixers) + Nougat - Samsung J7 Prime - SoundMod - TWRP
DIY Volume Level:
I believe the words speak for themselves, current values are default
Code:
<path name="gain-media-speaker">
------------------
<ctl name="Speaker Volume" value="0" /><!-- 0 db : 0, step +2 db-->
<ctl name="Earphone Volume" value="0" /><!-- 0 db : 0, step +2 db-->
</path>
<path name="gain-media-headset">
------------------
<ctl name="Headphone Volume" value="36" /><!-- 0 db : 0, step +2 db-->
</path>
Samsung S5 Neo Exynox (thread to be created soon) - (requested & tested by Zapryanovv)
Google Drive: Oreo (need oreo mixers) + Nougat - Samsung S5 Neo - SoundMod - TWRP
DIY Volume Level:
I believe the words speak for themselves, current values are default
Code:
<path name="gain-media-speaker">
------------------
<ctl name="Speaker Volume" value="0" /><!-- 0 db : 0, step +2 db-->
<ctl name="Earphone Volume" value="0" /><!-- 0 db : 0, step +2 db-->
</path>
<path name="gain-media-headset">
------------------
<ctl name="Headphone Volume" value="21" /><!-- 0 db : 0, step +2 db-->
</path>
Xiaomi Devices:
Xiaomi Redmi 5 - (requested by hibiny6990)
Google Drive: Xiaomi Redmi 5 - TWRP+MAGISK - DualSpeaker - ROOT ONLY
DIY Volume Level:
Speaker Volume is not present in the mixer!
Code:
<path name="speaker">
------------------
<ctl name="RX1 Digital Volume" value="84" /> <!--earpiece, default 84, safe upto 95, danger above 95-->
------------------
</path>
Xiaomi Mi5 - (Nougat) : (Nougat requested & tested by pi4a7a) - (Oreo) : (requested & tested by RatchetHacked)
Google Drive: Xiaomi Mi5 - SoundMod - TWRP + MAGISK
DIY Volume Level:
Speaker Volume is not present in the mixer!
Code:
<path name="speaker">
------------------
<ctl name="RX0 Digital Volume" value="90" /> <!--earpiece, default 85, safe upto 95, danger above 95-->
------------------
</path>
Xiaomi Mi A1 (Nougat + Oreo): (requested by laugeek57)
[MOD] Xiaomi mi A1 - MOD DualSpeaker/BuzzFix/MicFix - (TWRP + MAGISK)
Xiaomi Mi5S Plus (Nougat): (requested by danypava)
Google Drive: Xiaomi Mi5S Plus - SoundMod - TWRP + MAGISK
DIY Volume Level:
Code:
<path name="speaker">
------------------
<ctl name="RX0 Digital Volume" value="95" /> <!--earpiece, default 85, safe upto 95, danger above 95-->
<ctl name="RX0 Mix Digital Volume" value="95" /> <!--earpiece, default 85, safe upto 95, danger above 95-->
<ctl name="RX2 Mix Digital Volume" value="95" /> <!--speaker, default 84, safe upto 105, danger above 105-->
<ctl name="RX2 Digital Volume" value="95" /> <!--speaker, default 84, safe upto 105, danger above 105-->
<ctl name="RX3 Mix Digital Volume" value="95" /> <!--speaker, default 84, safe upto 105, danger above 105-->
<ctl name="RX3 Digital Volume" value="95" /> <!--speaker, default 84, safe upto 105, danger above 105-->
<ctl name="RX4 Digital Volume" value="95" /> <!--speaker, default 84, safe upto 105, danger above 105-->
<ctl name="RX4 Mix Digital Volume" value="95" /> <!--speaker, default 84, safe upto 105, danger above 105-->
<ctl name="RX5 Digital Volume" value="95" /> <!--speaker, default 84, safe upto 105, danger above 105-->
------------------
</path>
Xiaomi Redmi 5 Plus: (requester & tester by afznov)
Google Drive: Xiaomi Redmi 5 Plus - SoundMod - TWRP + MAGISK
DIY Volume Level:
Speaker Volume is not present in the mixer!
Code:
<path name="ear">
------------------
<ctl name="RX1 Digital Volume" value="90" /> <!--earpiece, default 84, safe up-to 95, danger above 95 to 120-->
------------------
</path>
Xiaomi redmi 4: (requester & tester by srtraky) (INCOMPATIBLE, MOD CAN'T BE APPLIED)
MOD status: 16 attempts failed, the device is a very low-end, kernel either uses speaker or earpiece, mixer lacks of many lines of codes, inflexible to modify...
Sony Devices:
Sony Xperia Z3: (requester & tester by pi4a7a)
MOD Status: ABANDONED BY REQUESTER (waiting for requester to respond)
Sony Xperia XZ 1: (requester & tester by [email protected])
Google Drive: Sony Xperia XZ 1 - SoundMod - TWRP + MAGISK
DIY Volume Level:
Speaker Volume is not present in the mixer!
Code:
<path name="ear">
------------------
<ctl name="RX0 Digital Volume" value="84" /> <!--earpiece, default 84, safe up-to 95, danger above 95 to 120-->
------------------
</path>
Huawei Devices:
Huawei Honor 6X (Nougat): (requester & tester by sreekantt)
MOD status: Test Delay till friday...
Honor 4C CHM-U01 (Marshmallow): (requester & tester by kosmitchak)
Google Drive: Honor 4C - SoundMod - Magisk + TWRP
Honor 8 (Nougat): (requester & tester by Markxdx)
Google Drive: Honor 8 - SoundMod - Magisk + TWRP
Lenovo Devices:
Lenovo ZUK Z2 Pro (Nougat): (requester & tester by dimitar.petrunov)
[MOD] Lenovo ZUK Z2 Pro - SoundMod DualSpeaker - (TWRP + MAGISK)
Lenovo P2 - (requested & tested by merabini78)
Google Drive: Oreo (need oreo mixers) + Nougat - Samsung S8/S8+ - SoundMod - TWRP
DIY Volume Level:
Speaker Volume is not present in the mixer!
Code:
<path name="ear">
------------------
<ctl name="RX1 Digital Volume" value="84" /> <!--safe upto 95, danger above 95-->
------------------
</path>
Coolpad Devices:
Note 5 (Nougat): (requester & tester by Sanket Pathania)
Google Drive: Coolpad Note 5 - SoundMod DualSpeaker - (TWRP + MAGISK)
DIY Volume Level:
Speaker Volume is not present in the mixer!
Code:
<path name="speaker">
------------------
<ctl name="RX1 Digital Volume" value="84" /> <!--earpiece, default 85, safe upto 95, danger above 95-->
------------------
</path>
OnePlus Devices:
OnePlus X (Nougat): (requester & tester by sagardakua)
Google Drive: OnePlus X - SoundMod - TWRP + MAGISK
DIY Volume Level:
Speaker Volume is not present in the mixer! and change both values in ear and speaker to have unified volume level...
Code:
<path name="ear">
------------------
<ctl name="RX1 Digital Volume" value="95" /> <!--earpiece, default 85, safe upto 95, danger above 95-->
------------------
</path>
<path name="speaker">
<ctl name="RX1 Digital Volume" value="95" /> <!--earpiece, default 85, safe upto 95, danger above 95-->
</path>
OnePlus 2 (Nougat + Oreo): (requester & tester by FPSUsername)
Google Drive: OnePlus 2 - SoundMod - TWRP + MAGISK
DIY Volume Level:
Speaker Volume is not present in the mixer! and change both values in ear and speaker to have unified volume level...
Code:
<path name="ear">
------------------
<ctl name="RX1 Digital Volume" value="95" /> <!--earpiece, default 85, safe upto 95, danger above 95-->
------------------
</path>
<path name="speaker">
<ctl name="RX1 Digital Volume" value="95" /> <!--earpiece, default 85, safe upto 95, danger above 95-->
</path>
OnePlus 3/3T (Oreo): (requester & tester by theduke7)
Google Drive: OnePlus3/3T - SoundMod - TWRP + MAGISK
DIY Volume Level:
Speaker Volume isn't present in the mixers
Code:
<path name="speaker">
------------------
<ctl name="RX0 Digital Volume" value="90" /> <!--earpiece , default is 84, Safe up-to 95, beyond is DANGEROUS-->
------------------
</path>
OnePlus 5 (Oreo): (requester & tester by silvershadow)
Google Drive: OnePlus5 - SoundMod - TWRP + MAGISK
DIY Volume Level:
Requester asked for Bluetooth Volume & AUX Volume (Considered as Headphones) aside from speaker & earpiece
Code:
<path name="speaker">
------------------
<ctl name="RX0 Digital Volume" value="85" /> <!--earpiece up-to 95, beyond is DANGEROUS-->
<ctl name="RX1 Mix Digital Volume" value="85" /> <!--speaker up-to 95, beyond is DANGEROUS-->
<ctl name="RX2 Mix Digital Volume" value="85" /> <!--speaker up-to 95, beyond is DANGEROUS-->
<!--as speaker was rewritten, RX1 & RX2 are usually seen as Speaker level, if it's not noticed please report it-->
------------------<!--Commented Lines would probably not work, but you may experiment by removing "<!--" & "-->"
</path>
<path name="headphones">
------------------
<ctl name="RX1 Mix Digital Volume" value="84" /><!--usually seen as left channel, up-to 95, beyond depends on how much you hate your Ears-->
<ctl name="RX2 Mix Digital Volume" value="84" /><!--usually seen as right channel, up-to 95, beyond depends on how much you hate your Ears-->
</path>
<path name="bt-a2dp">
------------------
<ctl name="RX7 Digital Volume" value="84" /><!--usually seen as BT Volume, up-to 95, beyond depends on how much you hate your Ears-->-->
</path>
LG Devices:
LG G Pad X V521 (Nougat): (requester & tester by jamescable)
Device has one speaker at the bottom only, nothing dual, only thing I can do is raise the volume, requester appreciated my offer and passed...
LG V30 - (requested & tested by Mentalmuso)
I was informed there are two versions: US998 & H930, they have been Merged with best settings from each...
Google Drive: Oreo (need oreo mixers) + Nougat - LG V30 - SoundMod - TWRP+Magisk
DIY Volume Level:
Speaker Volume is not present in the mixer!
Code:
<path name="speaker">
------------------
<ctl name="RX0 Digital Volume" value="84" /><!--earpiece up-to 95, beyond is DANGEROUS-->
</path>
<path name="headphones">
------------------
<ctl name="RX1 Mix Digital Volume" value="76" /><!--Volume, usually seen as left channel, up-to 95, beyond depends on how much you hate your Ears-->
<ctl name="RX2 Mix Digital Volume" value="76" /><!--Volume, usually seen as right channel, up-to 95, beyond depends on how much you hate your Ears-->
------------------
</path>
LG G4 H815 - (requested & tested by [email protected])
Google Drive: Oreo (need oreo mixers) + Nougat - LG G4 H815 - SoundMod - TWRP+Magisk
DIY Volume Level:
Speaker Volume is not present in the mixer!
Code:
<path name="speaker">
------------------
<ctl name="RX1 Digital Volume" value="90" /><!--default 84, earpiece safe up-to 95, beyond is DANGEROUS-->
------------------
</path>
LineageOS ROM (Use as sample)List of Devices Done:
Samsung Devices:
Samsung A Series (2016) LineageOS - (requested & tested by mohand06)
Google Drive: LOS ROM - Samsung A SERIES 2016 - TWRP+MAGISK - DualSpeaker
DIY Volume Level:
I believe the words speak for themselves, current values are default
Code:
<path name="gain-media-speaker">
------------------
<ctl name="Speaker Volume" value="4" /><!-- 0 db : 0, step +2 db, default is 0-->
<ctl name="Earphone Volume" value="4" /><!-- 0 db : 0, step +2 db, default is 0-->
</path>
<path name="gain-media-headset">
------------------
<ctl name="Headphone Volume" value="25" /><!-- 0 db : 0, step +2 db, default is 21-->
</path>
Samsung S7/S7Edge Exynox/Snapdragon LineageOS (thread to be created soon) - (requested & tested by king3opobn)
Google Drive: LOS ROM - Oreo + Nougat - Samsung S7/S7Edge - SoundMod - TWRP+MAGISK
DIY Volume Level:
Exynos:
Code:
<path name="gain-media-handset">
<ctl name="HPOUT3L Input 1 Volume" value="23" />
<ctl name="HPOUT3L Input 2 Volume" value="23" />
</path>
<path name="gain-media-speaker">
<ctl name="AIF4TX1 Input 1 Volume" value="32"/>
<ctl name="AIF4TX2 Input 1 Volume" value="32"/>
</path>
Futuristic:
Create Flashable TWRP for all Devices... (Done )
Create MAGISK Module for all Devices... (Done )
Have a section listing Soundmods by other Developers so this thread contains not only my works but others with credits...
PLEASE YOUR FEEDBACK IS IMPORTANT...
!!! ALWAYS MAKE BACKUP OF YOUR FILES BEFORE REPLACING THEM !!!
Once you replace them, IMPORTANTLY change the permissions to 644 (rw- r-- r--)...
LAST IMPORTANT NOTICE:
This MOD can be used with Equalizers, even though this MOD sets the phone to the loudest balanced volume gain...
Using Equalizers might cause crackles and noise which damage your earpiece & speaker if you don't fix it, to fix it either you adjust the other MOD settings by reducing the boost
or Adjusting my MOD by Opening the mixer file I tell you and adjust the volume I mention for you decreasing it, you must eliminate all crackles and noises...
Big Credits go to XDA Member chdloc for his help in explaining non-exynos mixers...
Don't Forget to say :good: THANKS :good:
and
if you're very happy, please consider Donating to Support me, it means a lot even if it was little...
(07/04/2019)
--- MAGISK 18.1 template added to the list of the templates and 1700 was moved to the folder "old"...
(26/12/2018)
--- I have noticed the XDA youtube tags not working and the button is not there, perhaps it is being updated, so I added the youtube link below the YouTube Tag...
(11/10/2018)
--- MAGISK 1700 added to the list of the templates and 1500 was moved to the folder "old"...
(31/08/2018)
--- YouTube Tutorial released...
(20/07/2018)
--- Update, Project will change into a tutorial...
(24/04/2018)
--- life pressure, project suspended...
(25/03/2018)
--- Thread updated...
--- More test devices ready, 2 succeeded, I will post them soon... (Have a look at Post #3)
(21/03/2018)
--- Samsung J3 2017 is identical to the A Series 2017...
--- Oneplus 3T is identical to OnePlus 3...
--- Rebuilt Exynos Note 8 SoundMod...
--- Released MODs fro Note 8 Exynos OREO and LOS A Series 2016...
View More back to (16/01/2018)
(19/03/2018)
--- Updated All TWRPs, now it will not overwrite your backup...
--- Released MODs fro OnePlus X, J7 Pro and Honor 8..
(18/03/2018)
--- Organized thread and added DIY Volume, released Working MODs...
(15/03/2018)
--- Ugly Batch release, to be tested and Organized later...
(12/03/2018)
--- I bricked my phone and I restored by 14/03/2018, I resumed working on MODs on 15/03/2018...
(09/03/2018) - It's Friday, my break day, no MOD work, just got test results back from testers and thought of releasing instead of delaying it till Sunday
--- Xiaomi Redmi 5 Plus - SoundMod released...
--- Sony Xperia XZ 1 - SoundMod released...
(07/03/2018)
--- OnePlus 2 - SoundMod released...
--- OnePlus 3 - SoundMod released...
--- Merged LG V30 US version with Europe Version - SoundMod Updated...
--- Normal ROM - S7 Edge Exynos Oreo - SoundMod released...
(05/03/2018)
--- Tidy up the Thread...
--- LineageOS - S7 Edge Exynos - SoundMod released...
--- Normal ROM - S7 Edge Exynos Nougat - SoundMod released...
--- Coolpad Note 5 - SoundMod released...
--- All TWRPS have been updated, they will backup your current Mixers in the same path with file name as "mixername.xml.bak0", if you flash it twice you'll lose your Original...
(04/03/2018)
--- Early release for S9/S9+ SoundMod...
(01/03/2018)
--- OnePlus 3 - Added to the Queue...
--- Samsung J7 Prime - MOD released...
--- LG V30 - MOD released...
(28/02/2018)
--- OnePlus 5 - Applied Full DualSpeaker Fix...
--- Xiaomi Devices some devices recieved Full DualSpeaker Fix...
--- Lenovo ZUK Z2 Pro Full DualSpeaker Fix...
--- Honor 4C CHM-U01 - MOD released...
--- LG G4 H815 MOD pulled and closed...
(25/02/2018)
--- Samsung Note 8 Snapdragon - Fix Update released...
--- Xiaomi redmi 4 not Compatible with the SoundMod...
(19/02/2018)
--- LG G4 H815 MOD released - TO BE TESTED...
(15/02/2018)
--- All Magisk Modules were updated to support version 15 & above...
--- LG V30 MOD released - TO BE TESTED...
(12/02/2018)
--- One Plus 5 MOD released...
--- Added Volume Lines for Samsung Galaxy S5 Neo MOD..
(11/02/2018)
--- Fixed Lenovo ZUK Z2 Pro soundmod issue, kernel related not in my hands ¯\_(ツ)_/¯...
--- Samsung Galaxy S5 Neo MOD released...
(07/02/2018)
--- MOD released for Samsung S8/S8+ Exynox/Snapdragon...
(05/02/2018)
--- Fixed Xiaomi Mi A1 headphones issue, significantly reduced hissing/buzzing sound but can't eliminate it completely, not in my hands ¯\_(ツ)_/¯...
(01/02/2018)
--- Fixed Xiaomi soundmod issue, kernel related not in my hands ¯\_(ツ)_/¯...
(31/01/2018)
--- All Xiaomi Devices have TWRP + MAGISK...
--- MOD released for Xiaomi Mi5 Oreo released...
--- Fixed Thread links, Merged Xiaomi Mi5 - Nougat & Oreo in one link...
(30/01/2018)
--- MOD release for Lenovo Zuk Z2 Pro...
--- MOD released for Xiaomi Mi5S Plus...
--- Detected problems in Xiaomi Mi A1...
(29/01/2018)
--- MOD released for Xiaomi Mi A1...
--- Added Lenovo ZUK Z2 Pro & Huawei Honor 6X to the list...
(28/01/2018)
--- Created a thread for Xiaomi Mi A1 requested by laugeek57...
(22/01/2018)
--- Released Xiaomi Mi5 Final, tested by pi4a7a...
(21/01/2018)
--- Updated Galaxy Note 8 - Snapdragon is supported now...
--- Xiaomi Mi5 Alpha release, need testers...
(16/01/2018)
--- Added 2 Devices in Samsung Section...
My Request for You:
--- Report if Magisk or TWRP isn't Working in order to fix, I keep maintaining Magisk template of this MOD as well TWRP
and I wish that you try your best in making this MOD on your own... :angel:
--- Report if Magisk or TWRP isn't Working, as I have updated all devices I may have missed something, you'll have errors, just mention the Magisk/TWRP filename and I'll do the rest, you're not required to post images unless I ask you for it because I know the Expected Error... :angel:
Current Complaints:
--- None...
Currently Abandoned by requester:
--- Sony Xperia Z3...
*** Following Devices are missing Files...
--- Galaxy S4 Mini LTE (oreo 8.1 Lineage)...
--- HTC HD2 (nougat 7.1.1 Evervolv)...
--- HTC Desire 500 (jellybean 4.1.2 stock)...
Currently Queued Requests:
--- Lenovo K6 Plus...
--- Lenovo P2 LOS...
--- Nexus LG 5 LOS...
--- Xperia XA1...
Currently Requester Not Responding:
--- Vivo V3...
--- LOS Huawei Honor 6X...
--- J5 2015...
--- Infinix Zero 4 Plus...
--- Note 3...
Requests that will take sometime to fulfill due to complications in the Mixers (Sorry, but I'm doing my very best):
--- Xiaomi Redmi 3X...
--- Xiaomi Redmi 3S/3S prime...
--- Xiaomi Redmi Note 4X...
Currently Doing:
--- Testing...
Currently Being Tested:
--- Redmi mi5s Oreo Capricorn... - failed - waiting for requester
--- Letv x821 codename x2 ... - testing again - requester not responding
--- Sony Xperia Z5 premium... - testing
--- LG stylo 2 plus... - success,posting soon
--- Galaxy S6 LOS... - success, posting soon
--- LGV30 Oreo... - success, posting soon
--- J7 2015... - success, posting soon
--- LOS MI Max prime... - success, posting soon
--- Mi Note 2... - success, posting soon
Done:
--- Released MOD for LOS MI Max prime...
--- Released MOD for J7 2015...
--- Released MOD for A series LOS 2016...
--- Released MOD for Galaxy J7 Pro...
--- Released MOD for Honor 8...
--- Released MOD for OnePlus X...
--- Released MOD for Redmi 5...
--- Released MOD for Galaxy A series 2016...
--- Released MOD for Lenovo p2...
--- Released MOD for LG G4 H815...
--- Released MOD for Xiaomi Redmi 5 Plus...
--- Released MOD for Sony Xperia XZ 1...
--- Released MOD for OnePlus 3...
--- Updated LG V30 MOD - Merged LG V30 US version with Europe Version...
--- Released MOD for OnePlus 2...
--- Released MOD for Coolpad Note 5...
--- Released MOD for Samsung Galaxy S7 Normal ROM...
--- Released MOD for Samsung Galaxy S7 Edge LineageOS...
--- Early release for Samsung S9/S9+ Exynos & Snapdragon...
--- Released MOD for Samsung Galaxy J7 Prime...
--- Released MOD for LG V30, US version...
--- Released MOD for Honor 4C CHM-U01...
--- Released MOD for One Plus 5...
--- Released MOD for Samsung Galaxy S5 Neo...
--- Released MOD for Samsung S8/S8+ Exynos & Snapdragon...
--- Released MOD for Samsung Galaxy Note 8 (2017) Exynos & Snapdragon...
--- Released MOD for Samsung A3,A5,A7 (2017)...
--- Released MOD Xiamoi Mi5 Nougat & Oreo Device Mixers...
--- Released MOD for Xiaomi Mi A1...
--- Released MOD for Xiaomi Mi5S Plus...
--- Released MOD for Lenovo ZUK Z2 Pro...
--- Added TWRP + MAGISK to All Devices...
--- Updated MAGISK to Support V15 & Above...
Confirmed & Conclusions:
--- LG G Pad X V521 has only one speaker at the bottom, only thing I can do is boost the sound, requester appreciated my offer and passed...
--- Xiaomi redmi 4 is a very low end, after 16 tests I can finally reach to a conclusion the device is not supported as the mixer files is missing many lines of codes, adding those lines cause issues with kernel as it seems kernel doesn't support these lines or maybe I am wrong & can't see where the problem is at...
Q & A - SoundMod - (keep in mind, this is DIY now, I don't take requests)
What's this SoundMod...?
--- Enabling DualSpeaker/PseudoStereo by using the earpiece and balancing as much as possible with the speaker,
but keep in mind that if the earpiece specs are low, the sound would come low, so I won't lower the speaker volume, the purpose of this Mod is to enable the earpiece to the max volume possible with a slight boost to the phone speaker without damaging them...
My Device Kernel has a Major Role, SoundMod isn't Guaranteed...?
--- Not necessarily, Kernel reads from the modified mixers and tries to utilize the speaker & earpiece, failing to do so will result no output sound, the probability of success is as follows (in my Opinion):
Low-End-Devices: 20 to 25% success in getting Partial DualSpeaker, 5% for full DualSpeaker...
Mid-Range-Devices: 60 to 75% success in getting Partial DualSpeaker, 30% for full DualSpeaker...
High-End-Devices: 100% success in getting Partial DualSpeaker, 95% for full DualSpeaker...
To Fix this issue, I disable the DualSpeaker Partially and as minimal, at least you could enjoy DualSpeaker at some points...
Wait, I understand "No DualSpeaker at all", but what do you mean Full & Partial DualSpeaker...?
--- Let's start with the Partial DualSpeaker: The phone sometimes will be using both speakers and sometimes only the bottom speaker depending on the software audio_policy sent to the kernel and interact with the hardware, Full DualSpeaker means both speakers are used always regardless the audio_policy...
is it Possible somehow the "Partial DualSpeaker" becomes Full DualSpeaker...?
--- So Far, All the devices I put my hands on, I managed to make them from Partial to Full, takes some time and requires patience...
I have a Custom Kernel installed, will that be a Problem...?
--- That might be a problem, especially if the Sound Part was Modified, the MOD might not work or have issues...
Do different Android versions have the same SoundMod...?
--- Not necessarily, because first the path of the mixer files change and there is a chance the structure of the mixer file has changed, so make sure you are using the right Android version and if it's not there request it, (read how to request a mod from my thread & mention your request is because of different android version, Ex: (Samsung Note 8 Exynos Android Oreo, Nougat is already Created in your thread)...
How safe is it...?
--- It's very safe as long you change the file permissions to 644 (rw- r-- r--), if you forgot to change them, you might end up in a bootloop, if that happens, in your custom recovery you'll need to go to the files and change their permissions via file manager, or your phone boots up but muted completely (Sound input & output Disabled)...
Can I go Back...?
--- Yes if you backed up, and if you didn't, let me know and I'll see if I have the original mixers...
And if you used TWRP, you'll find the Backup in same path, mixers ending with ".bak0", unless you flashed twice then your Original Mixers have been overwritten...
Is it Mono/Stereo...?
--- Depends on the hardware specs, Some are Mono only, Some are Stereo, if you want to know, there are many Apps on the Play Store that does Sound Tests: simply type "stereo test" and select the app you want, most phone by default play sounds stereo and as result you'd hear the earpiece producing sound from one channel (L) & Speaker from two channels (L & R), if I disable the Left channel from the speaker to make it sound real stereo surround you'll lose sound Volume, Gain and Quality because the earpiece isn't strong enough to compensate the disabled L channel of the speaker, if you insist, I'll see if I have time to have a look and make you the MOD, It's just I don't waste my time on Lowering Sound Volume, Gain and Quality, feel free to fiddle and make it stereo, thread is DIY...
Can I use it with other Equalizers/Amplifiers...?
--- Most Likely No, Because if there is a slight Noise/crackles in the speaker, on long run they will be damaged...
But if you really want to, I'll mention which lines you need to modify for the volume, simply lower the values to eliminate any Noise/crackles...
What about other SoundMods...?
--- Depends on the MOD, if it's targeting the same mixers, then there will be a RACE on who applies config & last MOD applies is the Winner...
If it's not targeting the mixers, then I'd answer you similarly to previous Question...
Why Include all files that have the word "mixer"...?
--- Some Devices have multiple Mixers but uses only one of them, such as Samsung, Different variants use different mixers, not confirmed yet though...
Can I have special requests...?
--- Depends on your request, if the request is simple, I'll direct you to the lines to modify to achieve your request, if it's complicated, I'll find time to do them...
What do I have to report...?
--- VERY IMPORTANT to report the Noise/Crackles because they damage the earpiece/speaker on long run or no sound coming at certain action done...
Also, Any weird behavior such as mic issues or volume level or phone muted at some apps...
Xiaomi Mi5 ; gemini ; Snapdragon 820. ; LOS 14.1
https://drive.google.com/open?id=1tJuOhZxblReM2_bVZKAaQvKDt5Dm69sd
My device has a thread for dual speakers but it's kinda buggy..
pi4a7a said:
Xiaomi Mi5 ; gemini ; Snapdragon 820. ; LOS 14.1
https://drive.google.com/open?id=1tJuOhZxblReM2_bVZKAaQvKDt5Dm69sd
My device has a thread for dual speakers but it's kinda buggy..
Click to expand...
Click to collapse
I have PMed a mixer file to be tested...
If everything goes well, the file will be listed here for others...
pi4a7a said:
Xiaomi Mi5 ; gemini ; Snapdragon 820. ; LOS 14.1
https://drive.google.com/open?id=1tJuOhZxblReM2_bVZKAaQvKDt5Dm69sd
My device has a thread for dual speakers but it's kinda buggy..
Click to expand...
Click to collapse
Alpha release is available,
I have PMed you & I didn't get response, I can't proceed further...
Dante63 said:
Alpha release is available,
I have PMed you & I didn't get response, I can't proceed further...
Click to expand...
Click to collapse
Still waiting for a fix about video not in sync. with audio.
Any way for this to work on S8+ G955U (Snapdragon 835)?
pi4a7a said:
Still waiting for a fix about video not in sync. with audio.
Click to expand...
Click to collapse
You're not using any other mods...?
psych0r3bel said:
Any way for this to work on S8+ G955U (Snapdragon 835)?
Click to expand...
Click to collapse
Yes it's possible...
In my thread i mentioned "How to request a Mod"
Follow the steps and I'll work on it...
Dante63 said:
You're not using any other mods...?
Yes it's possible...
In my thread i mentioned "How to request a Mod"
Follow the steps and I'll work on it...
Click to expand...
Click to collapse
Nothing which affects sound or video.
pi4a7a said:
Nothing which affects sound or video.
Click to expand...
Click to collapse
I'll have a look at it, reproduce the mixer and let you know to test it...
pi4a7a said:
Nothing which affects sound or video.
Click to expand...
Click to collapse
Beta released, Try and let me know how it goes...
mixer_paths_tasha_dualspeaker_beta_release
Dante63 said:
Beta released, Try and let me know how it goes...
mixer_paths_tasha_dualspeaker_beta_release
Click to expand...
Click to collapse
What I have tested and both speakers working fine:
-Sound from player
-Sound from Spotify
-Sound from games
-Sound from notifications
-Microphone works fine in call, recording video and sound recorder
-Sound from Twich
-Sound from YouTube
-All system sounds
Tested and not working:
-None
Test was made on:
Xiaomi Mi5 64GB
The Soda Kernel 1.3
Firmware 8.1.4
Without any sound mods except this one.
pi4a7a said:
What I have tested and both speakers working fine:
-Sound from player
-Sound from Spotify
-Sound from games
-Sound from notifications
-Microphone works fine in call, recording video and sound recorder
-Sound from Twich
-Sound from YouTube
-All system sounds
Tested and not working:
-None
Test was made on:
Xiaomi Mi5 64GB
The Soda Kernel 1.3
Firmware 8.1.4
Without any sound mods except this one.
Click to expand...
Click to collapse
From what I understand the mod is working without issues?
Dante63 said:
From what I understand the mod is working without issues?
Click to expand...
Click to collapse
Yes it work perfect so far. I will reply if any issues occur during further testing.
any chance for android one third generation (gm 5+) ?
Dante63 said:
(22/01/2018)
--- Released Xiaomi Mi5 Beta, need testers...
(21/01/2018)
--- Updated Galaxy Note 8 - Snapdragon is supported now...
--- Xiaomi Mi5 Alpha release, need testers...
(16/01/2018)
--- Added 2 Devices in Samsung Section...
Click to expand...
Click to collapse
Hello,
You can release it for mi A1 ?? magisk v15.3
Rattlesnk said:
any chance for android one third generation (gm 5+) ?
Click to expand...
Click to collapse
laugeek57 said:
Hello,
You can release it for mi A1 ?? magisk v15.3
Click to expand...
Click to collapse
Kindly read in my thread how to request the mod,
I need your mixers and device name, model & processor...
Dante63 said:
Kindly read in my thread how to request the mod,
I need your mixers and device name, model & processor...
Click to expand...
Click to collapse
Hello,
Xiaomi mi A1
Snapdragon 625
Magisk v15.3 TWRP 3.2.1.1
Thanks for you're works