Volume increase redmi 8A - Xiaomi Redmi 8A Themes, Apps, and Mods

Required Root !!!
file manager to open root
File : \vendor\etc\mixer_paths_sdm439_pm8953_c3ik.xml
text editor to change, as noted in red (A couple of steps to begin with), reboot system . check, if a little is added
Code:
<ctl name="RX1 Digital Volume" value="84" />
<ctl name="RX2 Digital Volume" value="84" />
<ctl name="RX3 Digital Volume" value="84" />
<ctl name="RX1 Digital Volume" value="84" /> # headphones left
<ctl name="RX2 Digital Volume" value="84" /> # headphones right
<ctl name="RX3 Digital Volume" value="84" /> # speaker
volume during a call :
are looking for <path name="handset">
Code:
<path name="handset">
<ctl name="RX1 MIX1 INP1" value="RX1" />
<ctl name="RDAC2 MUX" value="RX1" />
<ctl name="RX1 Digital Volume" value="83" />
<ctl name="EAR PA Gain" value="POS_6_DB" />
<ctl name="EAR_S" value="Switch" />
</path>
<ctl name="RX1 Digital Volume" value="83" /> # volume during a call
Not necessary :
More Headphone Settings :
are looking for <path name="headphones">
Here I was red in the blue (optional)
Code:
<path name="headphones">
<ctl name="MI2S_RX Channels" value="Two" />
<ctl name="RX1 MIX1 INP1" value="RX1" />
<ctl name="RX2 MIX1 INP1" value="RX2" />
<ctl name="RX HPH Mode" value="HD2" />
<ctl name="EAR PA Gain" value="POS_3_DB" />
<ctl name="RDAC2 MUX" value="RX2" />
<ctl name="HPHL" value="Switch" />
<ctl name="HPHR" value="Switch" />
</path>
<ctl name="RX HPH Mode" value="HD2" /> # codec modes. options: HD2 \ NORMAL
<ctl name="EAR PA Gain" value="POS_3_DB" /> # gain db. option: POS_1P5_DB \ POS_3_DB \ POS_4P5_DB \ POS_6_DB .
:good::laugh:

Any mode for camera watermark
Sent from my Redmi 8A using Tapatalk

rehan992 said:
Any mode for camera watermark
Sent from my Redmi 8A using Tapatalk
Click to expand...
Click to collapse
what do you mean ? Rephrase
Sorry for my bad english. I am not literate and in Russian )))

Related

[GUIDE] Volume boost.

So I got the G Pro 2 (D838) about three days back. Outstanding phone but the volume output was lower than I'd have liked it to be. Editing the snd_soc_msm_Taiko file like the G2 didn't do much. Downloaded the Viper audio app (good stuff, but couldn't increase the volume gain much). And then I stumbled on this thread of the G3 which did the trick: http://forum.xda-developers.com/lg-g3/general/guide-headphone-speaker-volume-booster-t2819821
REQUIREMENTS:
1. Root
2. File Manager with Root Access (ES would do)
3. Text Editor (ES would do again; but if you're more comfortable copying the file to PC, something like Notepad++ would do)
STEPS:
1. In the root explorer, go to /system/etc and find "mixer_paths.xml". This is the file you need to edit. As mentioned, you can either do it on the phone using text editor, or copy to the PC and carry out changes there. Backup this file someplace before doing anything.
2. Find the following values and change it (as per your requirement). The below values have been modified to my current setting, and is crazy loud. My ears can only manage levels around 70-80%. So choose to increase values wisely:
Code:
[COLOR="SeaGreen"]<ctl name="RX1 Digital Volume" value="76" />
<ctl name="RX2 Digital Volume" value="76" />[/COLOR]
<path name="speaker">
<ctl name="SLIM RX1 MUX" value="AIF1_PB" />
<ctl name="SLIM_0_RX Channels" value="One" />
<ctl name="RX7 MIX1 INP1" value="RX1" />
[COLOR="SeaGreen"] <ctl name="RX7 Digital Volume" value="67" />[/COLOR]
<ctl name="SPK DRV Volume" value="7" />
</path>
<path name="headphones">
<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="RX2 MIX1 INP1" value="RX2" />
<ctl name="CLASS_H_DSM MUX" value="DSM_HPHL_RX1" />
<ctl name="HPHL DAC Switch" value="1" />
[COLOR="SeaGreen"] <ctl name="HPHL Volume" value="30" />
<ctl name="HPHR Volume" value="30" />
<ctl name="RX1 Digital Volume" value="67" />
<ctl name="RX2 Digital Volume" value="67" />[/COLOR]
<ctl name="COMP1 Switch" value="1" />
</path>
<path name="headphones-advanced">
<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="RX2 MIX1 INP1" value="RX2" />
<ctl name="CLASS_H_DSM MUX" value="DSM_HPHL_RX1" />
<ctl name="HPHL DAC Switch" value="1" />
[COLOR="SeaGreen"] <ctl name="HPHL Volume" value="30" />
<ctl name="HPHR Volume" value="30" />
<ctl name="RX1 Digital Volume" value="70" />
<ctl name="RX2 Digital Volume" value="70" />[/COLOR]
<ctl name="COMP1 Switch" value="1" />
</path>
<path name="speaker-and-headphones">
<path name="headphones" />
[COLOR="SeaGreen"] <ctl name="HPHL Volume" value="22" />
<ctl name="HPHR Volume" value="22" />
<ctl name="RX1 Digital Volume" value="57" />
<ctl name="RX2 Digital Volume" value="57" />[/COLOR]
<ctl name="RX7 MIX1 INP1" value="RX1" />
<ctl name="RX7 MIX1 INP2" value="RX2" />
[COLOR="SeaGreen"] <ctl name="RX7 Digital Volume" value="78" />[/COLOR]
<ctl name="SPK DRV Volume" value="8" />
</path>
3. IMPORTANT- Once complete, make sure the permissions are set to rw- r-- r--. This step is extremely important or you'd probably end up soft bricking your phone.
4. Reboot your phone and blow your head off.
DISCLAIMER: Not responsible if you bricked your phone, killed your headphone due to crazy increases, killed the neighbor, swallowed your phone, etc.
ALWAYS BACKUP BEFORE ANYTHING. Set permissions correctly and you'd be fine. Report back with ROM/ model no, and what not if this doesn't work.
PS. The Viper4android app does work after this; confirmed.
D838 32 GB Taiwain Version
Software Version 10f
Softbrick
letschky said:
D838 32 GB Taiwain Version
Software Version 10f
Softbrick
Click to expand...
Click to collapse
What editor did you use for changing values? Did you reset permissions before reboot?
Thanks
Thanks man. I am testing it right now.
spit_fire said:
What editor did you use for changing values? Did you reset permissions before reboot?
Click to expand...
Click to collapse
1.920 Text editor
2.yes
I have a G2 and edited the taiko file,this works
hello. i have d838 32gb also tw version with 10f. headphone volume very low compare with my note 2 before.
tried installed viper but no effect...(yes already install driver and reboot).
whats the best solution?

Sound Mod. Turn your galaxy note 3 into a stereo dual speaker phone!

Sorry, I deleted how to do this, because apparently it was stepping on someone's toes by not asking or giving credit. I just figured out how to pull one of the features out of a rom I liked, because it works well as a stand alone "app" or "mod", and thought people would enjoy it. I wasn't aware of the copyrights and ownership of ideas on here. So the person who deserves all the credit and praise has posted it somewhere on these forums, I'm sure you can find it. I wasn't aware of that when I posted mine, so my apologies to them. Just make sure if you post something useful to people, search through xda, and try to find the people or person that originally created the seeds for that idea, and ask them if it's ok to post what you intend to, and most importantly, make sure you give them credit and praise. Developers are very protective and proud of their work, so before posting anything, make sure that you ask, praise, and reassure everyone where you got it from, so they and others will also give them many praise and respect. No matter how small the mod you are posting, or helpful, or even insignificant, please follow the rules.
We have this post is it the same .
https://forum.xda-developers.com/galaxy-note-3/themes-apps/soundmod-update-v1-3-16-11-t2958217
Sry
No i suggest just asking the mods to merge posts if they think suitable or leave yours as is .
can I install the mod on another phone ?
I would like change balance - is any app, when i can do it ? (fust for speakers, not for headphones)
Refer all questions to original developer.
Refer all questions to original developer.
*.........*
This mod and other similiar sound xml mods goes way back on many other Samsung models .circa Galaxy S1 or earlier .
Sent from my SM-N930F using XDA-Developers Legacy app
Thread cleaned.
2.3 Flaming / Lack of respect: XDA is about sharing and this does not involve virtual yelling (flaming) or rudeness. Flaming or posting with a lack of respect is unacceptable. Treat new members in the manner in which you would like to have been treated when you were a new member. When dealing with any member, provide them with guidance, advice and instructions when you can, showing them respect and courtesy. Never post in a demanding, argumentative, disrespectful or self-righteous manner.
Thank you.
Here is the same mod, edited so that it works with LineageOS 14.1 (SM-N9005 LTE Int).
Here are the changes from the original file from the rom.
Code:
<path name="spk">
<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="RX1 MIX1 INP2" value="RX2" />-->
<ctl name="RX7 MIX1 INP1" value="RX1" />
<ctl name="RX7 MIX1 INP2" value="RX2" />
<ctl name="CLASS_H_DSM MUX" value="DSM_HPHL_RX1" />
<ctl name="HPHL DAC Switch" value="1" />
<ctl name="DAC1 Switch" value="1" />
</path>
INP1 (left channel) goes to RX1 (ear speaker)
INP2 (right channel) doesn't to RX1 (ear speaker) [because it's commented out]
INP1 (left channel) goes to RX7 (big speaker)
INP2 (right channel) goes to RX7 (big speaker)
you can set these as you like, I found that this way, I get maximum volume, while retaining the stereo effect.
The next important lines are within Play Scenario
Code:
<path name="speaker">
<path name="spk" />
<ctl name="SPK Status" value="1" />
<ctl name="HPHL Volume" value="20" />
<ctl name="HPHR Volume" value="20" />
<ctl name="EAR PA Gain" value="POS_6_DB" />
<ctl name="RX1 Digital Volume" value="86" />
<ctl name="RX7 Digital Volume" value="74" />
<ctl name="SPK DRV Volume" value="8" />
<ctl name="COMP0 Switch" value="1" />
</path>
HPHL Volume, HPHR Volume and EAR PA Gain are needed so that Ear speaker starts working (I didn't hear a difference when changing EAR PA Gain to POS_3_DB, but let's say this is louder - also this setting is being used by the phone when you click extra volume in the stock rom during calling with speaker).
RX1 and RX7 set the volumes (0-100) for the Ear speaker and Big speaker, accordingly.
HOWTO:
Copy mixer_paths.xml to /etc, (backup the original), and set permissions to -rw-r--r-- (as all other permissions in the folder).
URL:
mediafire.com/file/0r6zp3o37cj6e72/mixer_paths.xml/file
Can you kindly build it for smn900 with custom ROM :magma nx vx1
Ananay kaushal said:
Can you kindly build it for smn900 with custom ROM :magma nx vx1
Click to expand...
Click to collapse
It is already available on that ROM's aroma installer
msmrekar said:
Here is the same mod, edited so that it works with LineageOS 14.1 (SM-N9005 LTE Int).
Here are the changes from the original file from the rom.
Code:
<path name="spk">
<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="RX1 MIX1 INP2" value="RX2" />-->
<ctl name="RX7 MIX1 INP1" value="RX1" />
<ctl name="RX7 MIX1 INP2" value="RX2" />
<ctl name="CLASS_H_DSM MUX" value="DSM_HPHL_RX1" />
<ctl name="HPHL DAC Switch" value="1" />
<ctl name="DAC1 Switch" value="1" />
</path>
INP1 (left channel) goes to RX1 (ear speaker)
INP2 (right channel) doesn't to RX1 (ear speaker) [because it's commented out]
INP1 (left channel) goes to RX7 (big speaker)
INP2 (right channel) goes to RX7 (big speaker)
you can set these as you like, I found that this way, I get maximum volume, while retaining the stereo effect.
The next important lines are within Play Scenario
Code:
<path name="speaker">
<path name="spk" />
<ctl name="SPK Status" value="1" />
<ctl name="HPHL Volume" value="20" />
<ctl name="HPHR Volume" value="20" />
<ctl name="EAR PA Gain" value="POS_6_DB" />
<ctl name="RX1 Digital Volume" value="86" />
<ctl name="RX7 Digital Volume" value="74" />
<ctl name="SPK DRV Volume" value="8" />
<ctl name="COMP0 Switch" value="1" />
</path>
HPHL Volume, HPHR Volume and EAR PA Gain are needed so that Ear speaker starts working (I didn't hear a difference when changing EAR PA Gain to POS_3_DB, but let's say this is louder - also this setting is being used by the phone when you click extra volume in the stock rom during calling with speaker).
RX1 and RX7 set the volumes (0-100) for the Ear speaker and Big speaker, accordingly.
HOWTO:
Copy mixer_paths.xml to /etc, (backup the original), and set permissions to -rw-r--r-- (as all other permissions in the folder).
URL:
mediafire.com/file/0r6zp3o37cj6e72/mixer_paths.xml/file
Click to expand...
Click to collapse
Thanks for the script. Try this script with Dolby Atmos. Im happy now. :fingers-crossed:
<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="RX1 MIX1 INP2" value="RX2" />-->
<!--<ctl name="RX7 MIX1 INP1" value="RX1" />-->
<ctl name="RX7 MIX1 INP2" value="RX2" />
<ctl name="CLASS_H_DSM MUX" value="DSM_HPHL_RX1" />
<ctl name="HPHL DAC Switch" value="1" />
<ctl name="DAC1 Switch" value="1" />
nazhar81 said:
Thanks for the script. Try this script with Dolby Atmos. Im happy now. :fingers-crossed:
<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="RX1 MIX1 INP2" value="RX2" />-->
<!--<ctl name="RX7 MIX1 INP1" value="RX1" />-->
<ctl name="RX7 MIX1 INP2" value="RX2" />
<ctl name="CLASS_H_DSM MUX" value="DSM_HPHL_RX1" />
<ctl name="HPHL DAC Switch" value="1" />
<ctl name="DAC1 Switch" value="1" />
Click to expand...
Click to collapse
After a week using i found bug, not working when using internet call like whatsapp. So i revert to original.

mixer paths

The mixer paths is like none Ive seen before. Im headphones there are no RX volume adjustments any where, has anyone cracked this yet? The volume is way to low
Thanks
USMC retired said:
The mixer paths is like none Ive seen before. Im headphones there are no RX volume adjustments any where, has anyone cracked this yet? The volume is way to low
Thanks
Click to expand...
Click to collapse
hey USMC. can you clarify what you mean by "None i've seen before"? what device's mixer paths are you comparing it to?
this is an area of interest for me as i have tinkered with mixer paths but i do not know the results yet because i haven't been able to get my rom working. the RX volumes are in there. look again. not just mixer paths, but the other mixer path files there's 7 of them
Digitalkarma said:
hey USMC. can you clarify what you mean by "None i've seen before"? what device's mixer paths are you comparing it to?
this is an area of interest for me as i have tinkered with mixer paths but i do not know the results yet because i haven't been able to get my rom working. the RX volumes are in there. look again. not just mixer paths, but the other mixer path files there's 7 of them
Click to expand...
Click to collapse
I have the HTC u11 and the structure is unusual compared to say the pixel phones. If you were to put the 2 XML side by side you would see what I'm talking about. For the HTC there no RX paths in which to change the volume where on other phones those volume values exist
USMC retired said:
I have the HTC u11 and the structure is unusual compared to say the pixel phones. If you were to put the 2 XML side by side you would see what I'm talking about. For the HTC there no RX paths in which to change the volume where on other phones those volume values exist
Click to expand...
Click to collapse
Mind if you upload the Pixel XML for me. I'm curious.
Digitalkarma said:
Mind if you upload the Pixel XML for me. I'm curious.
Click to expand...
Click to collapse
I know what he means.
This is a mixer path for a few other phones (not whole XMLs, sorry), but from what I recall, the Exynos S7, the Pixel and a few other smartphones (LG G5/G6) all have similar mixer path edits like this too.
Nexus 7
Code:
<ctl name="HPHL Volume" value="10" />
<ctl name="HPHR Volume" value="10" />
<ctl name="RX1 Digital Volume" value="84" />
<ctl name="RX2 Digital Volume" value="84" />
OnePlus 2
Code:
<path name="handset">
<ctl name="SLIM RX1 MUX" value="AIF1_PB" />
<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="DAC1 Switch" value="1" />
<!-- #ifdef VENDOR_EDIT-->
<!-- [email protected],2015/4/3,change to pass test for qualcomm advise -->
<[B]ctl name="RX1 Digital Volume" value="90" [/B]/>
<!-- #endif VENDOR_EDIT-->
</path>
S7 Edge Exynos
Code:
<path name="gain-media-headset">
<ctl name="Noise Gate Switch" value="0" />
<ctl name="HPOUT1L Impedance Volume" value="105" />
<ctl name="HPOUT1R Impedance Volume" value="105" />
<ctl name="HPOUT1L Input 1 Volume" value="43" />
<ctl name="HPOUT1R Input 1 Volume" value="43" />
</path>
Partial Pixel Code (From Head Fi)
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
HPHL & HPHL from what you said before is already maxed out at 20 but where is the digital volume values on the U11? Viper's ROM has an audio boost for headphones, but they have edited almost every mixer path file. I'll compare when I have the time.
The OP3T was also similar to this, HPHL and HPHR were already maxed out at 20. Editing digital volume via a kernel (Such as Flar's) introduced distortion immediately so wasn't worth it.
This is also quite nice to look at
https://docs.google.com/document/d/1NqfEpbhXfXyqRPJoLxtifbEMNCEuVOIokwT5kyjJ2KI/pub
Im sure it isnt structured in the same order, no surprises there but its similar in referencing which is all that matters.
There are 7 RX Digitals from RX1 through RX7 in the U11 mixer, I think RX1 and 2 has something directly to do with headphones, not sure what the other RX's do. Probably another two is responsible for the top and bottom speaker and who knows what the other 3 do..
There is also a dedicated RX for ANC, 44.1 headphones etc. Thats not in the main mixer path
---------- Post added at 03:06 AM ---------- Previous post was at 02:25 AM ----------
Galactus said:
HPHL & HPHL from what you said before is already maxed out at 20 but where is the digital volume values on the U11? Viper's ROM has an audio boost for headphones, but they have edited almost every mixer path file. I'll compare when I have the time.
The OP3T was also similar to this, HPHL and HPHR were already maxed out at 20. Editing digital volume via a kernel (Such as Flar's) introduced distortion immediately so wasn't worth it.
This is also quite nice to look at
https://docs.google.com/document/d/1NqfEpbhXfXyqRPJoLxtifbEMNCEuVOIokwT5kyjJ2KI/pub
Click to expand...
Click to collapse
Yeah most of the digital values are set at 84 on the U11 as well, not all. Anything more than 84 and you'll start to get distortion if you're volume rocker is set on the higher levels. The registered values are 0(-84 db) to 124(+40 db)
Digitalkarma said:
Im sure it isnt structured in the same order, no surprises there but its similar in referencing which is all that matters.
There are 7 RX Digitals from RX1 through RX7 in the U11 mixer, I think RX1 and 2 has something directly to do with headphones, not sure what the other RX's do. Probably another two is responsible for the top and bottom speaker and who knows what the other 3 do..
There is also a dedicated RX for ANC, 44.1 headphones etc. Thats not in the main mixer path
---------- Post added at 03:06 AM ---------- Previous post was at 02:25 AM ----------
Yeah most of the digital values are set at 84 on the U11 as well, not all. Anything more than 84 and you'll start to get distortion if you're volume rocker is set on the higher levels. The registered values are 0(-84 db) to 124(+40 db)
Click to expand...
Click to collapse
On Vipers ROM the values seem to be set to 88 for most things.
Using V4A increasing software gain by 6dB doesn't introduce any audible background noise or distortion on my RHA MA 750. Also noticed that in "mixer_paths_tavil" they have removed some lines.
Before
Code:
<path name="headphones-voice">
<path name="headphones-voice-generic" />
<path name="sidetone-headphones" />
<ctl name="RX0 Digital Volume" value="84" />
<ctl name="RX1 Digital Volume" value="84" />
<ctl name="HPHL Volume" value="16" />
<ctl name="HPHR Volume" value="16" />
</path>
<path name="headphones-fm">
<path name="headphones-generic" />
<ctl name="COMP1 Switch" value="1" />
<ctl name="COMP2 Switch" value="1" />
<ctl name="RX0 Digital Volume" value="84" />
<ctl name="RX1 Digital Volume" value="84" />
<ctl name="HPHL Volume" value="16" />
<ctl name="HPHR Volume" value="16" />
</path>
<path name="headphones-hw-voip">
<path name="headphones-voice-generic" />
<ctl name="COMP1 Switch" value="1" />
<ctl name="COMP2 Switch" value="1" />
<ctl name="RX0 Digital Volume" value="84" />
<ctl name="RX1 Digital Volume" value="84" />
<ctl name="HPHL Volume" value="16" />
<ctl name="HPHR Volume" value="16" />
</path>
<path name="headphones-audio-voip">
<path name="headphones-voice-generic" />
<ctl name="COMP1 Switch" value="1" />
<ctl name="COMP2 Switch" value="1" />
<ctl name="RX0 Digital Volume" value="84" />
<ctl name="RX1 Digital Volume" value="84" />
<ctl name="HPHL Volume" value="16" />
<ctl name="HPHR Volume" value="16" />
</path>
After
Code:
<path name="headphones-voice">
<path name="headphones-voice-generic" />
<path name="sidetone-headphones" />
<ctl name="RX0 Digital Volume" value="88" />
<ctl name="RX1 Digital Volume" value="88" />
<ctl name="HPHL Volume" value="17" />
<ctl name="HPHR Volume" value="17" />
</path>
<path name="headphones-fm">
<path name="headphones-generic" />
<ctl name="RX0 Digital Volume" value="88" />
<ctl name="RX1 Digital Volume" value="88" />
<ctl name="HPHL Volume" value="17" />
<ctl name="HPHR Volume" value="17" />
</path>
<path name="headphones-hw-voip">
<path name="headphones-voice-generic" />
<ctl name="RX0 Digital Volume" value="88" />
<ctl name="RX1 Digital Volume" value="88" />
<ctl name="HPHL Volume" value="17" />
<ctl name="HPHR Volume" value="17" />
</path>
<path name="headphones-audio-voip">
<path name="headphones-voice-generic" />
<ctl name="RX0 Digital Volume" value="88" />
<ctl name="RX1 Digital Volume" value="88" />
<ctl name="HPHL Volume" value="17" />
<ctl name="HPHR Volume" value="17" />
</path>
I'd be content with using the Usonic headphones if they weren't so crackly at the high end, sibilant songs sound harsher than they should.
On another note, HTC have done something to the mixer paths that has now ruined editing volume steps. On the original firmware, I could set volume steps via Magisk modules to anything I wanted, and it worked fine for the 3.5mm adapter. After updating to 1.13, the volume steps simply repeat once you go past step 15, which is rather annoying. (It is also busted in Vipers ROM).
Digitalkarma said:
Mind if you upload the Pixel XML for me. I'm curious.
Click to expand...
Click to collapse
Galactus said:
On Vipers ROM the values seem to be set to 88 for most things.
Using V4A increasing software gain by 6dB doesn't introduce any audible background noise or distortion on my RHA MA 750. Also noticed that in "mixer_paths_tavil" they have removed some lines.
Before
Code:
<path name="headphones-voice">
<path name="headphones-voice-generic" />
<path name="sidetone-headphones" />
<ctl name="RX0 Digital Volume" value="84" />
<ctl name="RX1 Digital Volume" value="84" />
<ctl name="HPHL Volume" value="16" />
<ctl name="HPHR Volume" value="16" />
</path>
<path name="headphones-fm">
<path name="headphones-generic" />
<ctl name="COMP1 Switch" value="1" />
<ctl name="COMP2 Switch" value="1" />
<ctl name="RX0 Digital Volume" value="84" />
<ctl name="RX1 Digital Volume" value="84" />
<ctl name="HPHL Volume" value="16" />
<ctl name="HPHR Volume" value="16" />
</path>
<path name="headphones-hw-voip">
<path name="headphones-voice-generic" />
<ctl name="COMP1 Switch" value="1" />
<ctl name="COMP2 Switch" value="1" />
<ctl name="RX0 Digital Volume" value="84" />
<ctl name="RX1 Digital Volume" value="84" />
<ctl name="HPHL Volume" value="16" />
<ctl name="HPHR Volume" value="16" />
</path>
<path name="headphones-audio-voip">
<path name="headphones-voice-generic" />
<ctl name="COMP1 Switch" value="1" />
<ctl name="COMP2 Switch" value="1" />
<ctl name="RX0 Digital Volume" value="84" />
<ctl name="RX1 Digital Volume" value="84" />
<ctl name="HPHL Volume" value="16" />
<ctl name="HPHR Volume" value="16" />
</path>
After
Code:
<path name="headphones-voice">
<path name="headphones-voice-generic" />
<path name="sidetone-headphones" />
<ctl name="RX0 Digital Volume" value="88" />
<ctl name="RX1 Digital Volume" value="88" />
<ctl name="HPHL Volume" value="17" />
<ctl name="HPHR Volume" value="17" />
</path>
<path name="headphones-fm">
<path name="headphones-generic" />
<ctl name="RX0 Digital Volume" value="88" />
<ctl name="RX1 Digital Volume" value="88" />
<ctl name="HPHL Volume" value="17" />
<ctl name="HPHR Volume" value="17" />
</path>
<path name="headphones-hw-voip">
<path name="headphones-voice-generic" />
<ctl name="RX0 Digital Volume" value="88" />
<ctl name="RX1 Digital Volume" value="88" />
<ctl name="HPHL Volume" value="17" />
<ctl name="HPHR Volume" value="17" />
</path>
<path name="headphones-audio-voip">
<path name="headphones-voice-generic" />
<ctl name="RX0 Digital Volume" value="88" />
<ctl name="RX1 Digital Volume" value="88" />
<ctl name="HPHL Volume" value="17" />
<ctl name="HPHR Volume" value="17" />
</path>
I'd be content with using the Usonic headphones if they weren't so crackly at the high end, sibilant songs sound harsher than they should.
On another note, HTC have done something to the mixer paths that has now ruined editing volume steps. On the original firmware, I could set volume steps via Magisk modules to anything I wanted, and it worked fine for the 3.5mm adapter. After updating to 1.13, the volume steps simply repeat once you go past step 15, which is rather annoying. (It is also busted in Vipers ROM).
Click to expand...
Click to collapse
I forgot about RX0, there's 8 RX's.. anyhow
Actually the before and after is reversed. HTC added in the Comp switches to the path names. if my memory is right and assuming things haven't changed since then the volume step controls are handled in the framework.jar, I've applied code on the increase volume step mod before on previous devices.
Besides HTC didnt really alter the mixer path too much from update to update to warrant breaking the volume step so I don't think mixer path has anything to do with it at all. the few tweaks HTC made is related to headphone output.
Also for Usonic try editing the ANC(active noise cancellation) values then maybe reduce the RX and increase the HPH
Right I've done some actual testing
@Digitalkarma
Controlling loudness of USonic headphones only when noise cancellation is enabled works by editing the file below. 3.5mm adapter doesn't change regardless of what I have tried.
Code:
<path name="anc-headphones">
<ctl name="COMP1 Switch" value="0" />
<ctl name="COMP2 Switch" value="0" />
<ctl name="ANC Function" value="ON" />
<ctl name="ANC Slot" value="0" />
<ctl name="SLIM RX2 MUX" value="AIF4_PB" />
<ctl name="SLIM RX3 MUX" value="AIF4_PB" />
<ctl name="SLIM_6_RX Channels" value="Two" />
<ctl name="ADC MUX10" value="AMIC" />
<ctl name="AMIC MUX10" value="ADC3" />
<ctl name="ADC MUX12" value="AMIC" />
<ctl name="AMIC MUX12" value="ADC4" />
<ctl name="ANC0 FB MUX" value="ANC_IN_HPHL" />
<ctl name="ANC1 FB MUX" value="ANC_IN_HPHR" />
<ctl name="ADC3 Volume" value="8" />
<ctl name="ADC4 Volume" value="8" />
<ctl name="RX INT1_1 MIX1 INP0" value="RX2" />
<ctl name="RX INT2_1 MIX1 INP0" value="RX3" />
[B]<ctl name="RX1 Digital Volume" value="74" />
<ctl name="RX2 Digital Volume" value="74" />[/B]
<ctl name="ANC OUT HPHL Enable Switch" value="1" />
<ctl name="ANC OUT HPHR Enable Switch" value="1" />
</path>
here you go galactus. this is the Sprint version. everything else is the same besides tavil. there is ver. 29 and ver. 30, HTC made a few changes there
Galactus said:
Right I've done some actual testing
@Digitalkarma
Controlling loudness of USonic headphones only when noise cancellation is enabled works by editing the file below. 3.5mm adapter doesn't change regardless of what I have tried.
Code:
<path name="anc-headphones">
<ctl name="COMP1 Switch" value="0" />
<ctl name="COMP2 Switch" value="0" />
<ctl name="ANC Function" value="ON" />
<ctl name="ANC Slot" value="0" />
<ctl name="SLIM RX2 MUX" value="AIF4_PB" />
<ctl name="SLIM RX3 MUX" value="AIF4_PB" />
<ctl name="SLIM_6_RX Channels" value="Two" />
<ctl name="ADC MUX10" value="AMIC" />
<ctl name="AMIC MUX10" value="ADC3" />
<ctl name="ADC MUX12" value="AMIC" />
<ctl name="AMIC MUX12" value="ADC4" />
<ctl name="ANC0 FB MUX" value="ANC_IN_HPHL" />
<ctl name="ANC1 FB MUX" value="ANC_IN_HPHR" />
<ctl name="ADC3 Volume" value="8" />
<ctl name="ADC4 Volume" value="8" />
<ctl name="RX INT1_1 MIX1 INP0" value="RX2" />
<ctl name="RX INT2_1 MIX1 INP0" value="RX3" />
[B]<ctl name="RX1 Digital Volume" value="74" />
<ctl name="RX2 Digital Volume" value="74" />[/B]
<ctl name="ANC OUT HPHL Enable Switch" value="1" />
<ctl name="ANC OUT HPHR Enable Switch" value="1" />
</path>
Click to expand...
Click to collapse
unless maybe try turning off the ANC OUT enable switch to 0?
anyway. so there is no difference editing the headphones path and headphones 44.1 path? also try editing the initial HPH settings back to 20 too. they originally had it at 20 but changed it to 16 on the latest version.
that's what i have set on my Sprint DK11 rom. 20 for all HPH. 84 on ANC, HP and HP 44.1 paths. glad to know there is an audible change with ANC
Digitalkarma said:
unless maybe try turning off the ANC OUT enable switch to 0?
anyway. so there is no difference editing the headphones path and headphones 44.1 path? also try editing the initial HPH settings back to 20 too. they originally had it at 20 but changed it to 16 on the latest version.
that's what i have set on my Sprint DK11 rom. 20 for all HPH. 84 on ANC, HP and HP 44.1 paths. glad to know there is an audible change with ANC
Click to expand...
Click to collapse
We have lift off in terms of editing audio levels with the USonic Without ANC enabled
I accidentally deleted a comma over the value hence it didn't register when I tried it.
Code:
<path name="headphones">
<ctl name="SLIM RX2 MUX" value="AIF4_PB" />
<ctl name="SLIM RX3 MUX" value="AIF4_PB" />
<ctl name="SLIM_6_RX Channels" value="Two" />
<ctl name="RX INT1_2 MUX" value="RX2" />
<ctl name="RX INT2_2 MUX" value="RX3" />
[B]<ctl name="RX1 Mix Digital Volume" value="74" />
<ctl name="RX2 Mix Digital Volume" value="74" />[/B]
</path>
I set both to 90 and I hear no distortion, of course I didn't max out and in fact will lower it. The USonic is super loud now. Either way, all other mixer path edits seem to be ignored. The USonic headphones don't change at all until you edit the mixer_paths_tavil.
Next step, trying to do the same with 3.5mm adapter, so far all my efforts have failed. 3.5mm adapter doesn't get louder or quieter regardless of what is done.
Galactus said:
We have lift off in terms of editing audio levels with the USonic Without ANC enabled
I accidentally deleted a comma over the value hence it didn't register when I tried it.
Code:
<path name="headphones">
<ctl name="SLIM RX2 MUX" value="AIF4_PB" />
<ctl name="SLIM RX3 MUX" value="AIF4_PB" />
<ctl name="SLIM_6_RX Channels" value="Two" />
<ctl name="RX INT1_2 MUX" value="RX2" />
<ctl name="RX INT2_2 MUX" value="RX3" />
[B]<ctl name="RX1 Mix Digital Volume" value="74" />
<ctl name="RX2 Mix Digital Volume" value="74" />[/B]
</path>
I set both to 90 and I hear no distortion, of course I didn't max out and in fact will lower it. The USonic is super loud now. Either way, all other mixer path edits seem to be ignored. The USonic headphones don't change at all until you edit the mixer_paths_tavil.
Next step, trying to do the same with 3.5mm adapter, so far all my efforts have failed. 3.5mm adapter doesn't get louder or quieter regardless of what is done.
Click to expand...
Click to collapse
So the ANC path works for the Usonic with ANC on and the headphone path is also for Usonic but with ANC off?
Headphone 44.1 is a no go? Just to clarify and confirm. Thanks for testing! Yeah 90 must be a little too loud, 84 is more neutral but louder than 74 that's for sure.
Digitalkarma said:
So the ANC path works for the Usonic with ANC on and the headphone path is also for Usonic but with ANC off?
Headphone 44.1 is a no go? Just to clarify and confirm. Thanks for testing! Yeah 90 must be a little too loud, 84 is more neutral but louder than 74 that's for sure.
Click to expand...
Click to collapse
Yeah ANC path for ANC on and headphones path for ANC off.
44.1 doesn't seem to change anything at all
Galactus said:
Yeah ANC path for ANC on and headphones path for ANC off.
44.1 doesn't seem to change anything at all
Click to expand...
Click to collapse
and the headphones path doesn't do anything for the 3.5 mm headphones as well when listening to USonic and regular headphones side-by-side?
hmmm i wonder what else would change it without altering values all over the place.
Digitalkarma said:
and the headphones path doesn't do anything for the 3.5 mm headphones as well when listening to USonic and regular headphones side-by-side?
hmmm i wonder what else would change it without altering values all over the place.
Click to expand...
Click to collapse
Yeah editing the headphones path doesn't seem to touch the 3.5mm headphones at all. Lowering the value to 10, the USonic without ANC enabled is barely audible. Plug in the adapter and the 3.5mm headphones volume is untouched.
I have no idea where the values for the adaptor or external audio devices would be. There is a ton of USB_AUDIO references in the files but they all seem to have a value of 0 or 1.
I can't really find how it is implemented on other devices either.
Galactus said:
Yeah editing the headphones path doesn't seem to touch the 3.5mm headphones at all. Lowering the value to 10, the USonic without ANC enabled is barely audible. Plug in the adapter and the 3.5mm headphones volume is untouched.
I have no idea where the values for the adaptor or external audio devices would be. There is a ton of USB_AUDIO references in the files but they all seem to have a value of 0 or 1.
I can't really find how it is implemented on other devices either.
Click to expand...
Click to collapse
Time to put on my thinking cap lol
I thought i2s would of had something to do with it..
more than 84
Digitalkarma said:
I forgot about RX0, there's 8 RX's.. anyhow
Actually the before and after is reversed. HTC added in the Comp switches to the path names. if my memory is right and assuming things haven't changed since then the volume step controls are handled in the framework.jar, I've applied code on the increase volume step mod before on previous devices.
Besides HTC didnt really alter the mixer path too much from update to update to warrant breaking the volume step so I don't think mixer path has anything to do with it at all. the few tweaks HTC made is related to headphone output.
Also for Usonic try editing the ANC(active noise cancellation) values then maybe reduce the RX and increase the HPH
Click to expand...
Click to collapse
On the Nexus 6 I took values from 84 to 100 with no problems with distortion or clipping, and as far as the other mixer paths go, most of those arent adjustable. I will keep tinkering and let you know if I find a combo that raises headphones to an acceptable level
I think I have it narrowed down now enough to say that once I find out which MP addjustments are the "master controls" of the entire XML we will be good to go
USMC retired said:
On the Nexus 6 I took values from 84 to 100 with no problems with distortion or clipping, and as far as the other mixer paths go, most of those arent adjustable. I will keep tinkering and let you know if I find a combo that raises headphones to an acceptable level
I think I have it narrowed down now enough to say that once I find out which MP addjustments are the "master controls" of the entire XML we will be good to go
Click to expand...
Click to collapse
You can edit the mixer path tavil which will boost ANC/USonic headphones but believe me when I say the USonic does not need to go past 84 unless you are trying to damage your hearing or the headphone drivers themselves.
As for editing loudness from the 3.5mm adaptor. That is routed to USB_AUDIO which has no editable settings unless you re-route the sound to a SLIMBUS mixer path. By all means give it a go though.
Any suggestions/ development in terms of making the ear-piece & speaker louder by modifying the mixer_paths?

The sound of caller is verrryyy LOUD so people around me can hear my conversation!!!

How I can make lower speaker on phone call?
When I receive a phone call, the sound of caller people is veryyyyyyyy LOUD as much as my around people (with 6m distance) can hear sound of caller :'( also my ear pain :'(
My device is root,magisk,xposed
Thank you for your help.
Simply by pressing the volume down button during call will lower the volume of the ear piece.
nipun03 said:
Simply by pressing the volume down button during call will lower the volume of the ear piece.
Click to expand...
Click to collapse
thank you for your answer, but I've enough experience about "pressing the volume down button during call"
the sound is verrryyyy LOUD even the call volume is on minimum :'(
I guess, it's related a value in a .conf or .xml file in android system .
Is this question HARD? any answer?!
I guess you can edit the xml if its related which is mixer_paths.xml if im not mistaken
thank you so much for your reply, but which param is related to "sound of caller" volume?!
<!-- Analog output devices -->
<path name="ear">
<ctl name="RX1 MIX1 INP1" value="RX1" />
<ctl name="CLASS_H_DSM MUX" value="DSM_HPHL_RX1" />
<ctl name="RX1 Digital Volume" value="80" />
<ctl name="EAR PA Gain" value="POS_6_DB" />
<ctl name="DAC1 Switch" value="1" />
</path>
<path name="spk">
<ctl name="SLIM RX1 MUX" value="AIF1_PB" />
<ctl name="SLIM_0_RX Channels" value="One" />
<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>
<path name="hph">
<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="RX2 MIX1 INP1" value="RX2" />
<ctl name="CLASS_H_DSM MUX" value="DSM_HPHL_RX1" />
<ctl name="HPHL DAC Switch" value="1" />
<ctl name="COMP1 Switch" value="1" />
<ctl name="HPHL Volume" value="20" />
<ctl name="HPHR Volume" value="20" />
</path>
<path name="spk-hph">
<path name="hph" />
<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="14" />
<ctl name="LINEOUT3 Volume" value="14" />
</path>
<!-- Output paths -->
<path name="handset">
<ctl name="SLIM RX1 MUX" value="AIF1_PB" />
<ctl name="SLIM_0_RX Channels" value="One" />
<path name="ear" />
</path>
<path name="voice-handset">
<path name="handset" />
</path>
<path name="speaker">
<path name="spk" />
<ctl name="RX3 Digital Volume" value="80" />
<ctl name="RX4 Digital Volume" value="80" />
</path>
<path name="voice-speaker">
<path name="spk" />
<ctl name="RX3 Digital Volume" value="92" />
<ctl name="RX4 Digital Volume" value="92" />
</path>
<path name="headphones">
<path name="hph" />
<ctl name="RX1 Digital Volume" value="84" />
<ctl name="RX2 Digital Volume" value="84" />
</path>
<path name="line">
<path name="headphones" />
</path>
<path name="voice-headphones">
<path name="hph" />
<ctl name="RX1 Digital Volume" value="85" />
<ctl name="RX2 Digital Volume" value="85" />
</path>
<path name="voice-line">
<path name="voice-headphones" />
</path>
<path name="speaker-and-headphones">
<path name="spk-hph" />
<ctl name="RX1 Digital Volume" value="84" />
<ctl name="RX2 Digital Volume" value="84" />
<ctl name="RX3 Digital Volume" value="80" />
<ctl name="RX4 Digital Volume" value="80" />
</path>
<path name="speaker-and-line">
<path name="speaker-and-headphones" />
</path>
mrhamed said:
thank you so much for your reply, but which param is related to "sound of caller" volume?!
<!-- Analog output devices -->
<path name="ear">
<ctl name="RX1 MIX1 INP1" value="RX1" />
<ctl name="CLASS_H_DSM MUX" value="DSM_HPHL_RX1" />
<ctl name="RX1 Digital Volume" value="80" />
<ctl name="EAR PA Gain" value="POS_6_DB" />
<ctl name="DAC1 Switch" value="1" />
</path>
Click to expand...
Click to collapse
Here. Try changing this value.
Thank you for your reply...
What is valid value range? is the 80 minimum? can I set it to 40?!

How to remove hissing sound at low volumes Galaxy tab 4 [root]

Bought so many different headphones to only be dissatisfied with that static noise.Recently found out a fix gets rid of the problem.
•Before you begin make sure you have root and file explorer (I used es file explorer).
1. In the file explorer go to /etc and find mixer_paths.xml ,make a backup of the file just in case.
2. Open mixer_paths.xml
3. Find:
!-- ================================================================ -->
<!-- Play Scenario -->
<path name2="handset">
<path name="rcv" />
<ctl name="EAR PA Gain" value="POS_3_DB" />
<ctl name="RX1 Digital Volume" value="84" />
</path>
<path name="speaker">
<path name="spk" />
<ctl name="RX4 Digital Volume" value="78" />
<ctl name="RX3 Digital Volume" value="78" />
</path>
<path name="headset">
<path name="ear" />
<ctl name="HPHL Volume" value="20" />
<ctl name="HPHR Volume" value="20" />
<ctl name="RX1 Digital Volume" value="81" />
<ctl name="RX2 Digital Volume" value="81" />
<ctl name="COMP1 Switch" value="1" />
<ctl name="CRADLE Switch" value="0" />
</path>
4. And change the values to:
!-- ================================================================ -->
<!-- Play Scenario -->
<path name="handset">
<path name="rcv" />
<ctl name="EAR PA Gain" value="POS_3_DB" />
<ctl name="RX1 Digital Volume" value="84" />
</path>
<path name="speaker">
<path name="spk" />
<ctl name="RX4 Digital Volume" value="84" />
<ctl name="RX3 Digital Volume" value="84" />
</path>
<path name="headset">
<path name="ear" />
<ctl name="HPHL Volume" value="10" />
<ctl name="HPHR Volume" value="10" />
<ctl name="RX1 Digital Volume" value="77" />
<ctl name="RX2 Digital Volume" value="77" />
<ctl name="COMP1 Switch" value="1" />
<ctl name="CRADLE Switch" value="0" />
</path>
5. Reboot and enjoy!
This also boost speaker volume a bit since tab 4 has it a bit low.If you dont want that dont change speaker settings.
If you still hear the hiss you can change hphl and hphr to "0".if you dont want to change volume ,changing hphl and hphr should be enough since it is the culprit, it boosts eletricity current more than needed and it makes noise.

Categories

Resources