Top Speaker not working with music and video - HTC Desire 630 Questions & Answers

Is that top speaker a fake design only? After purchase I found that top speaker using only when calling. Not playing in music or video. So this phone have not stereo speaker.

That's true, this device has only mono BoomSound speaker. The top is used for calls, the bottom for playing music.

Nexus 5X was like this too, they were able to enable both by editing media_profiles.xml. It's a lot more complicated on HTC phones though.

i have modified mixer_paths to enable top speaker. You must have rooted with s-off or flash twrp recovery if you want to put to system. Top speaker volume is a little low to recognize when both speakers playing. May be i should get a speaker like bottom one.
P/s: rename mixer_paths.xml to mixer_paths.xml (this one work good with voice call and music) and push to /system/etc/ then chmod 644, reboot and enjoy.

gemini16 said:
i have modified mixer_paths to enable top speaker. You must have rooted with s-off or flash twrp recovery if you want to put to system. Top speaker volume is a little low to recognize when both speakers playing. May be i should get a speaker like bottom one.
P/s: rename mixer_paths.xml to mixer_paths.xml (this one work good with voice call and music) and push to /system/etc/ then chmod 644, reboot and enjoy.
Click to expand...
Click to collapse
This seems like a risky process. I will stick to the original setup. Desire 630 gives awesome audio performance through earphones/headphones.
However I have one favour to ask. Can you direct me to a proper method of rooting for this device. I see you are rooted.

flash twrp from here https://forum.xda-developers.com/showpost.php?p=70251086&postcount=95 and you'll have root, but if you want to change system, don't change in normal mode, let's changed in twrp recovery mode instead(like remove bloat ware, add system apps...., and make sure you have to mounted system partition in twrp's gui.).
I've already s-off and supercid with xtc2clip, so i can change system in normal mode.
By the way, if you have backed up mixer_paths.xml then you can edit it without risk.
ps: find and change to
Code:
<path name="speaker">
<ctl name="SLIM_0_RX Channels" value="Two" />
<ctl name="SLIM RX1 MUX" value="AIF1_PB" />
...........
<ctl name="EAR PA Gain" value="[COLOR="Red"]POS_6_DB[/COLOR]" />
<ctl name="RX1 Digital Volume" value="[COLOR="Red"]97[/COLOR]" />
<ctl name="RX4 Digital Volume" value="[COLOR="Red"]83[/COLOR]" />
<ctl name="SPK DRV Volume" value="[COLOR="Red"]7[/COLOR]" />
and top speaker will nearly balance with bottom speaker.

i uploaded my edited with gain sound for top speaker for

gemini16 said:
i uploaded my edited with gain sound for top speaker for
Click to expand...
Click to collapse
Should I rename it to mixer_paths.xml and push it to system?

dearbasheer said:
Should I rename it to mixer_paths.xml and push it to system?
Click to expand...
Click to collapse
You have to rename it.

gemini16 said:
You have to rename it.
Click to expand...
Click to collapse
Renamed the original as .bakxml and pushed your edited xml file to system/etc and did chmod644. The earpiece functions also as speaker now. However the volume is low in comparison to the below speaker.
Hope the earpiece doesn't get damaged because it is also performing as a speaker now.
Edit: 23.03.2017
The earpiece, after modding the mixer_path.xml did a decent job as a speaker though not as loud as the original speaker. Original speaker itself is not loud enough, is another story. However the problem is when you start speaking to someone, the voice from other-end sounds muddled. So, I quickly removed replaced the modded .xml file with the original one and back to things as it is. Now the calls are normal and clear. I can live without another speaker, but a unclear call doesn't make sense

Hope my will work normally.

Related

[Q] NC Headphone ( changing mixer_paths.xml)

Good morning!
First of all, I want to say sorry for my bad English. I'm from Germany. :silly:
My issue:
I bought a Sony Xperia Z2 a couple of days before. I also got a digital noise cancelling headset MDR-NC31EM for free in combination with the device. Unfortunately, the volume is way too high. I changed some values in the mixer_paths.xml. However, I didn't find the right entries to change the volume while noise cancelling is enabled. I even got some boot loops. It seems to me that the entry "<path name="anc-nce-headphone ..." is for enabled noise cancelling and the entry "<path name="anc-nce-off-headphone ..." is for disabled noise cancelling, but I don't know what to do now.
I'm not a developer but maybe I'm right with my deliberations:
Code:
<path name="anc-nce-off-headphone">
<path name="anc-off-headphone" /> <-- this is a reference to the "anc-off-headphone"-entry(?)
</path>
and in the "<path name="anc-off-headphone" ..."-entry there is an opportunity to change the volume for the headphone with disabled noise cancelling.
Code:
<ctl name="HPHL Volume" value="20" />
<ctl name="HPHR Volume" value="20" />
When I modify this values, the volume changes after reboot. The entry "<path name="anc-nce-headphone ..." is empty. What do I need to do in order to also change the value while noise cancelling?
Can some great developer help me with this issue? Many thanks in advance!
Best regards,
Mark_14
I'm not exactly sure what happens for you if you modify those values.

CM-based (SlimKat) Lower Headphone Volume?

I've been looking around for a guide related to loweri g the volume levels of my headphones.
It looks like on CM based ROMs the best way to do this is to lower the volumes in mixer_he.XML,but when I attempt this I do not get any sound until I restore the file.
Has anyone successfully done this on an LG G3?
Thanks.
chris062689 said:
I've been looking around for a guide related to loweri g the volume levels of my headphones.
It looks like on CM based ROMs the best way to do this is to lower the volumes in mixer_he.XML,but when I attempt this I do not get any sound until I restore the file.
Has anyone successfully done this on an LG G3?
Thanks.
Click to expand...
Click to collapse
Someone posted a mixer file recently in one of the ROM threads (sorry I can't be more specific) to increase the volumes. Maybe you can look for that, and see what they increased, so you will have an idea what to reduce and how much.
Sent from my G3 Rockin Cyanogen
Volume button on the back of the phone -.-
Sent from my LG-VS985 using XDA Premium 4 mobile app
My headphones are much too loud even at the lowest volume setting. And yes, I have used the volume buttons
<ctl name="RX1 Digital Volume" value="30" />
<ctl name="RX2 Digital Volume" value="30" />
Have to change these two above values in /etc/mixer_paths.xml
For the path of headphones and headphones digital.

[MOD][Jan/26/2015] OnePlus One Audio Mods Collection

What is this?
This post is a collection of all the audio related mods I have created from the OnePlus One. The mods are: Triple Mono sound, True Stereo sound, Main Microphone bypass, Speakerphone low volume fix, and Speakerphone low volume fix with True Stereo sound. If you have a request, then make it here and I try to make it if I can.
Various Mod Explanations
What is it?***True Stereo or Triple Mono***
This mod will activate you front earpiece speaker in conjunction with the rear main speaker any time Speaker mode is used for example playing music, watching movies, shows, you tube and so on, creating an almost surround sound type of effect.
Click to expand...
Click to collapse
True Stereo
I have enabled true stereo playback by putting the speakers on a different channel than the earpiece. This version of the mod will only be noticeable if you are listening to music that was recorded in stereo. Although I would recommend going with the Triple Mono version. This version is quieter than the Triple mono version. WARNING: MESSING WITH YOUR EQ WILL ALSO EFFECT THE EARPIECE. IT COULD POTENTIALLY BLOW IT OUT IF YOU INCREASE THE VOLUME OR BASS TOO MUCH
Triple Mono
This version plays all audio through one channel. This basically means that you now have 3 mono speakers and is what I recommend since the sound comes out much louder than the Stereo version. WARNING: MESSING WITH YOUR EQ WILL ALSO EFFECT THE EARPIECE. IT COULD POTENTIALLY BLOW IT OUT IF YOU INCREASE THE VOLUME OR BASS TOO MUCH
Main Mic Bypass
This version bypasses the main microphone in case it is broken. When the main mic breaks, it disables ALL audio input even though the other internal mics are fine. The only way to fix the main mic is to solder a new one on, but this mod can temporarily delay this procedure by re enabling audio input from the other internal mics.
Speakerphone low volume fix
I've seen many people have this problem. I think its due to the fact the the phone relies on the main microphone too much. What I did is instead of using the main microphone for both headset calling and speakerphone calling with the aux mic for noise cancellation, I made it so that the main mic is used for the headset only and the aux mic is used for speaker calling only. This has worked for some people but I can't guarantee it will work for you as well.
Speakerphone low volume fix With True Stereo
Same as the speakerphone mod but with true stereo mod implemented.
Camera AutoFocusFix
Fixes the camera click sound you get when recording. Included in all other files.
Prerequisites and installation instructions
MUST be rooted
go into /system/etc
backup your mixer_path.xml
Flash one of the zips below
reboot
This mod modifies the mixer_path.xml in the /system/etc folder. I have only tested this on CM11. ***CM12*** seems to work as well.
I don't guarantee it will work for your rom, because this is based off LiquidSmooth rom. Although the worst that'll happen is you'll lose sound. If you have a backup of your original mixer_path.xml, then just push it back to /system/etc, set permissions, and reboot. That will allow you regain your sound if it was lost. In a worst case scenario where you messed up the permissions and are in a bootloop, flash the revert to stock zip or dirty flash your rom.
Technical Info for DIY
This is what I modified to enable it only for Triple Mono audio playback.
RX1 is the headset
RX3 is the speaker
"ear" path
<path name="ear">
***Added***<ctl name="SLIM RX1 MUX" value="AIF1_PB" />
***Added***<ctl name="SLIM_0_RX Channels" value="One" />
<ctl name="RX1 MIX1 INP1" value="RX1" />
<ctl name="CLASS_H_DSM MUX" value="DSM_HPHL_RX1" />
<ctl name="RX1 Digital Volume" value="90" />
<ctl name="EAR PA Gain" value="POS_6_DB" />
<ctl name="DAC1 Switch" value="1" />
</path>
custom speaker-ear path
<path name="spk-ear">
<path name="ear" />
<ctl name="RX3 MIX1 INP1" value="RX1" />
<ctl name="RDAC5 MUX" value="DEM3_INV" />
<ctl name="COMP2 Switch" value="1" />
<ctl name="LINEOUT1 Volume" value="13" />
<ctl name="LINEOUT3 Volume" value="13" />
</path>
output paths
<path name="handset">
***removed two lines and added to "ear" path***
<path name="ear" />
</path>
<path name="speaker">
***change path to custom***<path name="spk-ear" />
***Increase headset***<ctl name="RX1 Digital Volume" value="90" />
***reduce speakers***<ctl name="RX3 Digital Volume" value="70" />
<ctl name="RX4 Digital Volume" value="80" />
</path>
Customizing your sound levels
The file I attached has the speaker volume slightly reduced so it sounds more balanced overall. However, you can customize how loud or quiet you want the speaker or headset to be.
Open the mixer_paths.xml
Go to the "output paths" section
find the <path name="speaker"> line
<path name="speaker">
***change path to custom***<path name="spk-ear" />
***Increase headset***<ctl name="RX1 Digital Volume" value="90" />
***reduce speakers***<ctl name="RX3 Digital Volume" value="70" />
<ctl name="RX4 Digital Volume" value="80" />
</path>
To change the speaker volume
change the value "70" to your desired value in the following line
<ctl name="RX3 Digital Volume" value="70" />
NOTE: The default CM11 value is 80. This value will restore it to the default loudness.
To change the headset volume
change the value "90" to your desired value in the following line
<ctl name="RX1 Digital Volume" value="90" />
NOTE: The default CM11 value is 86. This value will restore it to the default loudness.
WARNING: I would not recommend going over 95. The reason being that after 95, on louder volumes, the headset starts crackling.
save and reboot
github link
https://github.com/abhi08638/OPO-Audio-mods
Flashable Zips are below
Credits
@sshafranko
His thread:
http://forum.xda-developers.com/note-edge/development/mod-sm-915t-surround-sound-t2955648
Please do not use this in your rom without proper credits.
Sweet
Downloading now. I will test it when i have time and i will report back.
Sent from my A0001 using XDA Free mobile app
Hope it works on CM11S + Ak kernel
Awesome job...wait till everyone hears their phone after doing this. LOL Thanks for all your help abhi
Works, But much quieter than bottom speakers.
truth77 said:
Works, But much quieter than bottom speakers.
Click to expand...
Click to collapse
I toned down the bottom speakers to make it sound more balanced. I can tell you how to increase it if you want.
sent from my amazingly awesome OnePlus One
Don't forget to hit thanks!
abhi08638 said:
I toned down the bottom speakers to make it sound more balanced. I can tell you how to increase it if you want.
sent from my amazingly awesome OnePlus One
Don't forget to hit thanks!
Click to expand...
Click to collapse
Please do. I'm all ears
It works, but I too would like to know how to increase the earpiece volume.
Is it spkr-ear path value 70 & 80? Lol couldnt help myself fromm looking hehe
truth77 said:
Please do. I'm all ears
Click to expand...
Click to collapse
NikoZBK said:
It works, but I too would like to know how to increase the earpiece volume.
Click to expand...
Click to collapse
Under the output paths in the XML file, find this:
<path name="speaker">
<path name="spk-ear" />
<ctl name="RX1 Digital Volume" value="90" />
<ctl name="RX3 Digital Volume" value="70" />
<ctl name="RX4 Digital Volume" value="80" />
</path>
Modify this line
<ctl name="RX3 Digital Volume" value="70" />
To
<ctl name="RX3 Digital Volume" value="80" />
80 is the default value on our phones so i wouldn't go higher than that.
sent from my amazingly awesome OnePlus One
Don't forget to hit thanks!
truth77 said:
Is it spkr-ear path value 70 & 80? Lol couldnt help myself fromm looking hehe
Click to expand...
Click to collapse
Lol sort of.
RX1 = 90 is the headset
RX3 = 70 is the speakers
The defaults are RX1 = 86 and RX3 = 80
sent from my amazingly awesome OnePlus One
Don't forget to hit thanks!
abhi08638 said:
Under the output paths in the XML file, find this:
<path name="speaker">
<path name="spk-ear" />
<ctl name="RX1 Digital Volume" value="90" />
<ctl name="RX3 Digital Volume" value="70" />
<ctl name="RX4 Digital Volume" value="80" />
</path>
Modify this line
<ctl name="RX3 Digital Volume" value="70" />
To
<ctl name="RX3 Digital Volume" value="80" />
80 is the default value on our phones so i wouldn't go higher than that.
sent from my amazingly awesome OnePlus One
Don't forget to hit thanks!
Click to expand...
Click to collapse
Haha i was right lol! I figured those were the lines
truth77 said:
Haha i was right lol! I figured those were the lines
Click to expand...
Click to collapse
Let us know how it goes
sent from my amazingly awesome OnePlus One
Don't forget to hit thanks!
abhi08638 said:
Let us know how it goes
sent from my amazingly awesome OnePlus One
Don't forget to hit thanks!
Click to expand...
Click to collapse
Made the ear speaker loudee but my bottoms are crazy loud lol. Rx1 you say is the bottom speaker right?
Edit: sorted out, sounds good. Definitely a difference.
truth77 said:
Made the ear speaker loudee but my bottoms are crazy loud lol. Rx1 you say is the bottom speaker right?
Edit: sorted out, sounds good. Definitely a difference.
Click to expand...
Click to collapse
No rx3 is the bottom speaker
sent from my amazingly awesome OnePlus One
Don't forget to hit thanks!
OP Updated with instructions to set custom values for headset and speakers
truth77 said:
Made the ear speaker loudee but my bottoms are crazy loud lol. Rx1 you say is the bottom speaker right?
Edit: sorted out, sounds good. Definitely a difference.
Click to expand...
Click to collapse
Can you share your settings
Cool, trying it our with viper.
maxver0 said:
Can you share your settings
Click to expand...
Click to collapse
Here ya go
<path name="speaker">
<path name="spk-ear" />
<ctl name="RX1 Digital Volume" value="90" />
<ctl name="RX3 Digital Volume" value="70" />
<ctl name="RX4 Digital Volume" value="84" />
</path>
85 & 86 crackle at top volume 84 is the max. I lowered the speakers but not worth the volume loss. Oneplus is louder than most phones anyways so 70 not bad. The mod makes it sound like the words come from the earpiece. sounds best holding the phone upright.
---------- Post added at 08:04 PM ---------- Previous post was at 08:02 PM ----------
abhi08638 said:
No rx3 is the bottom speaker
sent from my amazingly awesome OnePlus One
Don't forget to hit thanks!
Click to expand...
Click to collapse
I meant 3 lol i said rx1 cause it was on top :silly:

[MOD] Boost in-call handset volume

I, like many, feel that the maximum in-call handset earpiece volume is too low for even moderately noisy environments. I have found a way to remedy this. I have tested this over a period of time to make sure there are no adverse effects before posting here.
I am NOT responsible for damage to your phone from applying this change. Apply it at your own risk!
Requires root
Tested on a stock ROM and PureNexus. It should work on most stock-based ROMS.
EXCEEDING GAINS AND VOLTAGES IN THIS MOD IS NOT RECOMMENDED AND MAY DESTROY YOUR EARPIECE, EARPIECE AMPLIFIER, OR YOUR HEARING! More is not better.
I try to visit this forum regularly, but have a very demanding job. I'll try to answer questions when possible, but this change is really pretty easy.
You need to have a root-aware file manager like FX, ES File Explorer, Root explorer, etc. You will also need to be able to edit an XML file either on your device or offboard on a computer.
1. Navigate to /system/etc
2. Find your mixer_paths.xml file
3. Make a backup of the file on your internal storage or computer in case you want to revert down the road.
4. Open it for editing or export to your computer to edit.
5. Find this section (line 1684, about 3/4 of the way down):
Code:
<path name="handset">
<ctl name="Imon Enable" value="Off" />
<ctl name="Vmon Enable" value="Off" />
<ctl name="ClassD Only" value="On" />
<ctl name="Boost Output Voltage" value="6.5V" />
<ctl name="Left Speaker Gain" value="20" />
<ctl name="Receiver Enable" value="On" />
</path>
and change it to this (comments are optional but make changes easier to find):
Code:
<path name="handset">
<!-- MOD: Increase Handset Earpiece Volume -->
<ctl name="Receiver Enable" value="On" />
<ctl name="Imon Enable" value="On" />
<ctl name="Vmon Enable" value="On" />
<ctl name="ClassD Only" value="Off" />
<ctl name="Boost Output Voltage" value="8.5V" />
<ctl name="Left Speaker Gain" value="15" />
<ctl name="Left Speaker Enable" value="On" />
<!-- END MOD -->
</path>
6. Save the file.
7. Replace the file on /system/etc
8. Make sure its permissions are correct (the same as the other xml files in that path - 644)
9. Reboot
10. Profit
As stock, the earpiece speaker amplifier is run in a lower power, lower gain mode for calls vs multimedia. This essentially puts the earpiece into it's multimedia speaker mode but with much lower gain.
I've been looking for this for a looooong time. Thanks for the great find!
Volume too loud
Is it possible to do the exact opposite? How? What values? My incall volume is very loud even on the lowest setting! Tks a lot.
Probably leave the edited section stock but change the left speaker gain to 17 or 15. That said, you may have other issues if your volume control isn't turning the in-call volume down enough - it should go down to almost inaudible in stock configuration.
Just tried this mod and it works great. I work out of a tool filled old Ford E-250 work van that has a ton of rattles and squeaks. I can finally hear while driving the rust bucket.
Tks a lot TBacker. It does not work. I think I have a bad unit.
@TBacker
thank you for this mod!! this works wonderfully (almost too good). If i wanted the lowest volume to be a little lower, i would change the 15 to a lower number like 12?
steveo17 said:
@TBacker
If i wanted the lowest volume to be a little lower, i would change the 15 to a lower number like 12?
Click to expand...
Click to collapse
Correct. Try in small steps (like 2 at a time), as each step may cover more volume range than you'd expect. So first attempt should be 13.
Dang, i cannot find those lines.
I remember there was an app for this for the G3. Wish this was, I don't like having to manually edit this stuff, especially every new update. Thanks for figuring this out for us man!
attached is the Mixer_paths.xml edited as per the OP.
Feel free to copy and paste this into your phone and set the permissions
I'm sure someone could make this into a flashable zip too
Thanks, @TBacker and @steveo17, worked perfectly!
Sent from my Nexus 6P using Tapatalk
svnhvn said:
Dang, i cannot find those lines.
Click to expand...
Click to collapse
Continue to scroll even when you think you hit the end
warning:
be careful i think headphone volume is boosted big time when doing this as well
steveo17 said:
warning:
be careful i think headphone volume is boosted big time when doing this as well
Click to expand...
Click to collapse
Seems the same to me.
Phazmos said:
Seems the same to me.
Click to expand...
Click to collapse
I used viper4android to lower down the headphone volume which makes it manageable
attached is a mixer_paths with the gain level lowered to 13
and one more with gain lowered to 11
steveo17 said:
warning:
be careful i think headphone volume is boosted big time when doing this as well
Click to expand...
Click to collapse
I don't believe this is correct. While we're modifying gains and amp settings that look like headphone controls, they're inside the in-call handset tags, which only activate in that mode.
Now if you start changing the other gains at the top of the file, they have a global effect across multiple modes.
TBacker said:
I don't believe this is correct. While we're modifying gains and amp settings that look like headphone controls, they're inside the in-call handset tags, which only activate in that mode.
Now if you start changing the other gains at the top of the file, they have a global effect across multiple modes.
Click to expand...
Click to collapse
i agree with that; however, after changing these settings, my volume when using headphones probably tripled at least.
Can you test yours to see how it reacts?
If you're rooted, you can also use a kernel manager that has headphone, speaker, and mic gain controls, and boost them within that application. That worked for me. I use the Franco kernel, and use fkupdater, the paid version of the app on the play store. Cheers!

Xiaomi Redmi Note 4x (Snapdragon) – too loud headset VOIP calls, mixer_path.xml

Hi,
I'm trying to figure out how to edit mixer_path.xml in order to lower headset microphone volume for VOIP calls or to adjust its sensitivity (for calls by apps such as Messenger, WhatsApp or Skype) on MIUI 10, Xiaomi Redmi Note 4x. Also, I would like to change the default headset volume setting for VOIP calls, so that the lowest level would mean no sound at all, and the last but not least would become way lower. The headset volume part, the only headset volume setting, specified for microphone setting, looks like this:
Code:
<path name="headset-mic">
<path name="adc2" />
<ctl name="ADC2 MUX" value="INP2" />
<ctl name="IIR1 INP1 MUX" value="DEC1" />
</path>
adc2 setting looks like this:
Code:
<ctl name="ADC2 Volume" value="4" />
I don't know what is specified by the value "4".
If I understand it correctly, IIR1 INP1 MUX volume is defined by value of DEC1.. ¨
Code:
<ctl name="DEC1 Volume" value="84" />
DEC1, nevertheless, changes volume of many other things besides the headset mic volume. On the top of it, there's not any other kind of definition for headset mic VOIP calls.
I add here the full file mixer_path.xml, for Xiamoi Redmi Note 4x. If you have any idea what else is possible to edit/change to achieve the desired changes, let me know please. I went through many forums to gain the information, but this file looks way different than for e.g. Samsung's phones. So the change must be unique.
Thanks a lot.

Categories

Resources