Small Magisk module that enables High Impedance Mode all the time for our device.
You should notice increased output on high impedance/low sensitivity headphones. Gives my Etymotic ER4SRs the extra juice they deserved (they were 45 ohm so just shy of the 50Ω mark).
Respect the risk of higher overall volume. LG kept High Impedance Mode for 50Ω loads and above for a reason. Sensitive/low impedance earphones (Shures) should be used with extreme caution with this mod. Our V35 should lower the volume everytime a 3.5mm is plugged in but always check just incase so you dont damage your ears or headphones.
Tested on Unlocked Oreo. Flashed with Magisk. Thanks to vl48 as his Dual Speaker install script is used since it modifies the same file. This is why the mod shows up as Dual Speaker in Magisk.
do the speakers on this drain the battery? Seems when playing audio the battery goes faster than i had with other phones. A mod to reduce that might be nice. iirc I was told its due to sound features being on
Semitope said:
do the speakers on this drain the battery? Seems when playing audio the battery goes faster than i had with other phones. A mod to reduce that might be nice. iirc I was told its due to sound features being on
Click to expand...
Click to collapse
This mod doesn't affect speaker settings, so nothing would be changed from stock. This only pertains to the headphone jack.
Update
Upon revisiting Oreo and testing this mod the impedance stays the same and the desired effect isn't achieved. However this apparently works for some people according to the poll. Expect mixed results since the same mixer_paths_tavil.xml tweaks for the V30 doesn't work for the V35 (at least not on mine).
If anyone would like to try their hand at it's /System/Vendor/etc/mixer_paths_tavil.xml. Locate these lines and change to numbers shown.
<!-- ESS DAC START -->
<path name="headphones-hifi-dac">
<ctl name="Es9018 AVC Volume" value="0" />
<ctl name="Es9018 Master Volume" value="0" />
<ctl name="Es9018 HEADSET TYPE" value="2" />
</path>
I' can't, mixer_paths_tavil.xml resets at every reboot
would you be interested in trying to develop a dual speaker mod for the v35 too?
the ones available for the g7 do not work on the v35
Ok so i went back to root oreo but i can't install your magisk module, every time i reboot the module disapears... Is it because i use the lastest version of magisk ?
Related
Hey guys,
So my previous Android device, I downloaded a graphic EQ, and it just worked. Even if I was watching a movie sans headphones, I could use it to boost mid-range so that dialogue was a little louder. It didn't increase overall volume, but it did shape sound and it didn't decrease overall volume.
On my T211, I have downloaded EQs, and they work provided I am not streaming audio via bluetooth. It would kind of be cool if they worked with bluetooth speakers as well (not sure if they work with bluetooth headphones) - but the bigger annoyance for me, is that if I boost one frequency, it seems that the overall media volume declines proportionately. I don't know if it works exactly to that effect, but it is something like that; the EQ improves the sound quality quite a bit, in fairness the bass is better quality than with my previous phone (w/headphones), but the music only gets so loud. Then I turn the EQ off, and the music is noticeably louder, but the sound is flat and lower quality. It's as if there's an internal safeguard to limit overall audio output, or the power it uses, or something.
There seem to be several files in the system/etc folder which would seem to govern volume and audio effects. But I haven't figured out any more than that. Not a big deal - I own a headphone amplifier - but I have seen a tweak to improve headphone volume on the Note 2 and more generally I feel this is a worthy subject for discussion. Anybody have input? If it matters, I deleted my MusicFX.apk file and 'Music Effects' no longer appears in my settings menu (which shouldn't make a difference considering my EQs do work.
Hi,
I just got my G3 yesterday and really disappointed with the crackly sound coming from the headphone jack. Has anybody else had the same issue? It's particularly bad in the left ear.
It feels like a software issue because if I put the headphones in in a certain way, it causes it to go into "line out/aux" mode with a little jack icon, which causes the sound to be perfect. Otherwise it just goes into headphone mode which sounds like garbage (distortion, crackling etc)
Is there a way to force the G3 to default to line out instead of detecting what's going on?
Cheers for any help!
EDIT: For anyone finding this having the same problem, my issues were solved by Rooting using http://forum.xda-developers.com/lg-g3/general/guide-root-method-lg-devices-t3129197
And then following instructions on http://forum.xda-developers.com/lg-g3/help/hissing-noise-left-ear-playing-music-t2804065/page17
I changed the settings to
<ctl name="HPHL Volume" value="17" />
<ctl name="HPHR Volume" value="17" />
<ctl name="RX1 Digital Volume" value="60" />
<ctl name="RX2 Digital Volume" value="60" />
<ctl name="COMP1 Switch" value="0" />
which matches the default aux settings. I still get a small amount of white noise which seems to go when you start music. The important thing is that distortion and noise is gone when audio is playing. I hope this helps someone.
When I bought my g3 I had the same feeling that someting is not alright but then like magic the problems fixed itself or I got used to it. I don't know. Also a lot of people were having this problem but it's I think a hardware problem.
domrin123 said:
Hi,
I just got my G3 yesterday and really disappointed with the crackly sound coming from the headphone jack. Has anybody else had the same issue? It's particularly bad in the left ear.
It feels like a software issue because if I put the headphones in in a certain way, it causes it to go into "line out/aux" mode with a little jack icon, which causes the sound to be perfect. Otherwise it just goes into headphone mode which sounds like garbage (distortion, crackling etc)
Is there a way to force the G3 to default to line out instead of detecting what's going on?
Cheers for any help!
Click to expand...
Click to collapse
Try the fix at #162
If that still doesn't work try my method at #164
http://forum.xda-developers.com/lg-g...2804065/page17
You phone need to be rooted though.
yoohoo said:
Try the fix at #162
If that still doesn't work try my method at #164
http://forum.xda-developers.com/lg-g...2804065/page17
You phone need to be rooted though.
Click to expand...
Click to collapse
This actually worked! Though the link is: http://forum.xda-developers.com/lg-g3/help/hissing-noise-left-ear-playing-music-t2804065/page17
I rooted my lollipop build using http://forum.xda-developers.com/lg-g3/general/guide-root-method-lg-devices-t3129197 in case anyone comes across this.
domrin123 said:
This actually worked! Though the link is: http://forum.xda-developers.com/lg-g3/help/hissing-noise-left-ear-playing-music-t2804065/page17
I rooted my lollipop build using http://forum.xda-developers.com/lg-g3/general/guide-root-method-lg-devices-t3129197 in case anyone comes across this.
Click to expand...
Click to collapse
Oops ! Sorry for the wrong link.
Hi guys. I downloaded an app called Android hidden settings from the play store. I already use settings database editor as well as the hidden settings magisk module, but I saw if one thing inside this app I haven't seen anywhere else. There is a setting called Hi Fi DAC pop up. When you click on it floating window opens and it gives you the option to turn on DTS x and the hi-fi quad DAC. you can toggle the switch is regardless of whether or not you're playing music so I figured this wouldn't do anything. This is what I noticed:
When the floating window first appears, DTS is already enabled, I disabled it and toggled the DAC switch to the on position and proceeded to open my music player. From here I opened the full settings menu and clicked on the sound effects section to check if the DAC was switched on in the phones full menu and the toggle is actually still set to the on position. Figuring there would be no change in sound, I messed with the left and right channels anyway as well as the sound preset and digital filter. Before I go further I forgot to mention that I do not have headphones plugged in, I am playing music directly through the phone speaker. To my surprise, the audio quality does change and the volume is limited to 75 as if a headset was plugged in.
I opened up the Flinger Dump app to check audio output details but it is very limited to what it shows. I'm wondering if anyone with more knowledge on the topic and the proper tools could do some further testing and see what changes actually occur. I use UAPP, and its output is showing differently then flinger dump is. Could be a complete waste of time, could lead to something further...
If I have not misunderstood, what you mean is that with that app, you inadvertently activated the dac or the dts for the speaker's sound channel, right? If so, it would be amazing to be able to modify how the dac behaves without headphones. Perhaps it could be activated for the speaker, perhaps not, but what you propose is very interesting.
I'm honestly not sure. I don't believe so, but it's definitely done something and I don't have the knowledge or the software to see exactly what has changed. Basically, unless you have headphones or an auxiliary cord plugged into the phones Jack, you can't toggle the Hi-Fi DAC button to the on position as I'm sure you're fully aware of. This hidden shortcut allows it to be toggled on without anything plugged in to the headphone jack. I played some tracks thinking that there is a 99.9% chance that the audio quality wouldn't change ( or the sound wouldn't change, I don't know about quality ) but to my surprise it did change the sound. As long as the DTS:X is turned off, all of the other options had some sort of effect on the audio. The sound preset, the digital filter and the left and right channel knobs all had some sort of effect on any audio I played through the phone's internal speaker, and the volume limit changed from 100 down to 75, exactly how it would behave if headphones were plugged in.
I just need someone to help figure out exactly what this is changing, because my music app is showing 16bit and various Khz from the 300 range to over 1000...and as you can see from the screenshot the FlingerDump app is showing 24bit to 32bit and depending on the track but the KHZ remains the same.
It may be a dead end, but I figured that since there is an actual change in sound.... there may be a possibility for someone with more knowledge than me to take this and run with it and see where it leads. I removed all of my audio mods except for JamesDSP and John Fawkes DTS tuning because every other mod made my phone upsample everything from 44.1 to 48 and it was pissing me off. The results above were with USB Audio Player Pro, but I disabled bit perfect mode when I tested this out in order to avoid interference with the results.
I'm on stock android q (through fota) and out of curiosity i tried that. Nothing happened. I can tap it and nothing. The same with dts settings. Turning quad dac to small speaker for me have no sense. Idk how circuits looks, but i think system itself don't let reroute signal through dac to speaker. BUT if ypu want to check then try that.
Open terminal app and type
su -c tinymix
And look for what is on screen.
If it's state is closed then quad dac is not working. If state is hifi, then it's working.
Pls, let me know if this work 4 u in speaker/headphones
Call *#546368#*710*
Hiddenmenu>devicetest>saat>manualtest>loopback test.
Scroll the trigger to other possition.
Wait 2 sec
Scroll the 2nd trigger
Wait for noise and them scroll again to disable.
Now play music or like to high volume.
Did increased? Idk if my volumes are down due to modifications and modules, and it reset the levels. Or if this enables a free gain mode for all of us.
Pls feedback, i need to know.
After reboot this gain disables for me. This "new" gain, will be the normal volume, and i ****ed up my mediaserver and its under-gained for any reason??
Or is a trick that i have discovered, and really gain the volume without any reason?
If is normal volume, i wish to know what i did for get an under-gain in my sound ... Is curious
for now, my headphones on dac, are beating up my Sennheiser Momentum like a 999Ohm auric. Really, for me is a huge gain.
OK. First thing to check: Which headphones are you using to tests? Are they over 50 ohm impedance?
If you can call hidden menu, then i assume that you have stock system.
EDIT:
I checked that. Volume is exactly like AVC = 0 (high impedance mode). For me it looks like forcing High Impedance Mode (HIM).
But if you have root you can manually set AVC like whatever you want forever
This phone according to mixer_paths_tavil.xml have three modes of analog gain: Normal mode (AVC = 14 or 15), AUX Mode (AVC = 6) and High Impedance Mode (AVC = 0)
By default HIM turns on headphones which have more than 50 ohm impedance, and it unleashes all power of amplifier in that DAC.
ShadoV90 said:
OK. First thing to check: Which headphones are you using to tests? Are they over 50 ohm impedance?
If you can call hidden menu, then i assume that you have stock system.
EDIT:
I checked that. Volume is exactly like AVC = 0 (high impedance mode). For me it looks like forcing High Impedance Mode (HIM).
But if you have root you can manually set AVC like whatever you want forever
This phone according to mixer_paths_tavil.xml have three modes of analog gain: Normal mode (AVC = 14 or 15), AUX Mode (AVC = 6) and High Impedance Mode (AVC = 0)
By default HIM turns on headphones which have more than 50 ohm impedance, and it unleashes all power of amplifier in that DAC.
Click to expand...
Click to collapse
I know that bro, thanks for ur info, but i already installed a magisk module dualspeaker, and ive edited the tavil file, setting all Hifi-dac avc to 0. This mean that i have an issue with the module or like, did not activated properly.
Because everytime stock system runs even with module, you need to kill audioserver at the start to make things work.
For some reason system loads default values instead of modded. After type in terminal
su -c killall audioserver
you will notice the difference. I made file in module "service.sh" and only command there is killall audioserver. With that every modification of audio is working properly due to restarting audioserver after start system.
ShadoV90 said:
Because everytime stock system runs even with module, you need to kill audioserver at the start to make things work.
For some reason system loads default values instead of modded. After type in terminal
su -c killall audioserver
you will notice the difference. I made file in module "service.sh" and only command there is killall audioserver. With that every modification of audio is working properly due to restarting audioserver after start system.
Click to expand...
Click to collapse
Man, i love u, thanks. U fixed my headaches of months with audio in one post. Really, thanks, i remember days with 10-15 kdz flashes, every time triying one different trick for make this module and others (killed my sound) work properly. Thank u again.
it really feels like a great change tested on a kz zsn pro, is there a way to maintain that volume level? i am on android 10 stock with root
Ricky Almonte said:
it really feels like a great change tested on a kz zsn pro, is there a way to maintain that volume level? i am on android 10 stock with root
Click to expand...
Click to collapse
It can be mantained if u do no reboot, but I memorized the code, and now, on reboots, other than accepting the system error message at startup, I also have to do the test loopback hahah (my kernel gives Android error at startup, it was just a joke). Finally after doing that at every start, I have the power of the speakers in stock as if I hadn't rooted. It's a shame to have to do all that in the stock rom, but Dad LG shielded his cell phone like a nuclear shelter.
manuhuelva said:
Man, i love u, thanks. U fixed my headaches of months with audio in one post. Really, thanks, i remember days with 10-15 kdz flashes, every time triying one different trick for make this module and others (killed my sound) work properly. Thank u again.
Click to expand...
Click to collapse
@manuhuelva please check your pms, thanks
kadyt said:
@manuhuelva please check your pms, thanks
Click to expand...
Click to collapse
Here is ur request bro
I do the workaround of "Loop Test" every reboot for properly start the module
First, I apologize I'm posting in this forum regarding Xiaomi 11T, but there are no similar cases in it's forum.
So I recently bought Xiaomi 11T, about a month ago, and the volume on my true wireless earbuds is extremely low compared to my older phone (Xiaomi Mi A1), which was running on Android 9. Same is the case when I use earbuds with laptop (and the laptop has a much older Bluetooth version 4.2, I guess). So I looked it up and did find a possible solution but the phone had to be factory reset to solve through that solution, which I don't want to do because it's frustrating doing it all again. *I tried solving (linked below) this by following the steps except the resetting one, but it did not solve this issue. *I have already tried changing the region. I'm in Pakistan, so I changed it to US, India and also restarted and re-paired the earbuds, but it still didn't solve.
So is there any way that I can solve the low volume issue without resetting the phone?
DO NOTE that "Disable absolute volume" option in developer options is TURNED OFF.
Solution which requires resetting the phone
I copy-pasted this from my post in Xiaomi 11T Pro forum, but found no solutions.
So please let me know if any of you know any solutions to this issue.
I'm not an expert, but I remember some things of time ago:
1. EU rom has some limitations for earphones volume due to European regulations, so you would need to change the region or even the rom if this is your case.
2. Disable "absolute volume" in your paired Bluetooth device (your TWS), I know you have disabled it in developer options, but look for that same option in the paired device section.
3. Enable MI Sound Enhancer and try with the different options. It always helps me to improve the audio.
Please share your results, if this doesn't work, I will look for my earbuds and try to remember what I did to fix that.
Add: Also, if your earbuds have integrated volume control buttons, check if the volume control is "synchronized" with the phone, first time I use my earbuds in my Poco F3, the volume of the earbuds and the phone was independent.
Add 2: I take a look at my earphones, if you disabled absolute volume, you need to turn up the volume directly from your earphones. I have enabled absolute volume because of that.
Hi. Thank you for the reply.
1 ) I have tried changing the region and it still was the same.
2) I don't have the option for disabling "Disable Absolute volume" in Bluetooth section paired device section, nor in the advanced settings, as shown in the screenshot below.
3) Mi Sound section is grayed out for me, even when the earbuds are connected.
I did notice that earbuds and phone are not synchronized. Volume of earbuds is adjusted separately to the volume of the phone. So how do I sync them? Please let me know.
White T-Poison said:
Hi. Thank you for the reply.
1 ) I have tried changing the region and it still was the same.
2) I don't have the option for disabling "Disable Absolute volume" in Bluetooth section paired device section, nor in the advanced settings, as shown in the screenshot below.
3) Mi Sound section is grayed out for me, even when the earbuds are connected.
I did notice that earbuds and phone are not synchronized. Volume of earbuds is adjusted separately to the volume of the phone. So how do I sync them? Please let me know.
Click to expand...
Click to collapse
Hi,
To synchronize the volume of both devices, just enable absolute volume again, we already know that's not the problem, so do it.
MI 11T has atmos right? Change sound preset to video and try with the next set up in atmos settings.
Also, you can try disabling "sound enhancement" from game booster options.
If you have enabled absolute volume again, changed the preset to video, tried the setup in atmos settings, disabled the sound enhancement from game turbo, and the issue is not fixed, I can't help you, but I will be pretty sure that the problem will be the earbuds.
Edit: You could play with the sound codecs of developer settings as last resource.
ErickBls said:
Hi,
To synchronize the volume of both devices, just enable absolute volume again, we already know that's not the problem, so do it.
MI 11T has atmos right? Change sound preset to video and try with the next set up in atmos settings.
Also, you can try disabling "sound enhancement" from game booster options.
If you have enabled absolute volume again, changed the preset to video, tried the setup in atmos settings, disabled the sound enhancement from game turbo, and the issue is not fixed, I can't help you, but I will be pretty sure that the problem will be the earbuds.
Edit: You could play with the sound codecs of developer settings as last resource.
View attachment 5565905
Click to expand...
Click to collapse
I enabled "Disable Absolute volume" as you said, and set the preset to Video as well. And this is as close as I could get with the equalizer settings (they're horrible to set). And there is a positive difference than before. But it still isn't as loud as before or with other devices.
And I couldn't find any "sound enhancements" in Game Turbo.
There is no option of Media Volume sync, as it is in Samsung. I tried looking it up and it said that it is now built-in Android 10 onwards? I don't know.
But I tried the earbuds with laptop, and they're so much better, just like before. And I change the Bluetooth codec to AAC, but it automatically reverts back to SBC. I don't know anything about audio or codecs. So any guesses
ErickBls said:
Hi,
To synchronize the volume of both devices, just enable absolute volume again, we already know that's not the problem, so do it.
MI 11T has atmos right? Change sound preset to video and try with the next set up in atmos settings.
Also, you can try disabling "sound enhancement" from game booster options.
If you have enabled absolute volume again, changed the preset to video, tried the setup in atmos settings, disabled the sound enhancement from game turbo, and the issue is not fixed, I can't help you, but I will be pretty sure that the problem will be the earbuds.
Edit: You could play with the sound codecs of developer settings as last resource.
View attachment 5565905
Click to expand...
Click to collapse
I think this option (Adjust sound to earphones) might help, since it looks like media sync option. But I don't know why Mi Sound is grayed out.
White T-Poison said:
I enabled "Disable Absolute volume" as you said, and set the preset to Video as well. And this is as close as I could get with the equalizer settings (they're horrible to set). And there is a positive difference than before. But it still isn't as loud as before or with other devices.
And I couldn't find any "sound enhancements" in Game Turbo.
There is no option of Media Volume sync, as it is in Samsung. I tried looking it up and it said that it is now built-in Android 10 onwards? I don't know.
But I tried the earbuds with laptop, and they're so much better, just like before. And I change the Bluetooth codec to AAC, but it automatically reverts back to SBC. I don't know anything about audio or codecs. So any guesses?View attachment 5565927View attachment 5565929View attachment 5565931
Click to expand...
Click to collapse
First, please resize the images you attached in the comments, are huge.
The "enhanced audio" option is in "Performance mode".
Now I remember MI Sound Option is only available for wire earphones.
Even if disabling Enhanced Audio from Gameturbo don't fix the issue , keep it disabled. If it is enabled, when you start some game or app that use game turbo, the sound turns to sht.
The absolute volume feature must be enabled to sync the volume of both devices.
Honestly, I have no idea what else could you try; well, yes, some equalizers have the option to artificially increase the volume, maybe that could solve the problem in some way.
In my experience, the loudness enhancer of Equalizer FX works very well.
If FX doesn't work, try the app "Boom" by GlobalDelight, It has a free trial, imo is the best app for music (super recommended for windows too), and when I use it, my head explodes if I turn up full volume.
(Picture from Google)
ErickBls said:
First, please resize the images you attached in the comments, are huge.
The "enhanced audio" option is in "Performance mode".
Now I remember MI Sound Option is only available for wire earphones.
Even if disabling Enhanced Audio from Gameturbo don't fix the issue , keep it disabled. If it is enabled, when you start some game or app that use game turbo, the sound turns to sht.
The absolute volume feature must be enabled to sync the volume of both devices.
Honestly, I have no idea what else could you try; well, yes, some equalizers have the option to artificially increase the volume, maybe that could solve the problem in some way.
In my experience, the loudness enhancer of Equalizer FX works very well.
If FX doesn't work, try the app "Boom" by GlobalDelight, It has a free trial, imo is the best app for music (super recommended for windows too), and when I use it, my head explodes if I turn up full volume.
(Picture from Google)
View attachment 5565945
Click to expand...
Click to collapse
Sorry for the huge images. I new to posting threads, so I don't have much experience or etiquettes of threads.
I have turned off Enhanced audio and turned on "Disable Absolute volume", and still audio is not synced. And just increasing the volume isn't my goal. Rather I want it to work properly, as intended.
Anyways, do you think that the solution that I have linked in the original post, would work?
White T-Poison said:
Sorry for the huge images. I new to posting threads, so I don't have much experience or etiquettes of threads.
I have turned off Enhanced audio and turned on "Disable Absolute volume", and still audio is not synced. And just increasing the volume isn't my goal. Rather I want it to work properly, as intended.
Anyways, do you think that the solution that I have linked in the original post, would work?
Click to expand...
Click to collapse
Disable Absolute Volume has to be turned off, not on, I mean, you need to have absolute volume enabled.
Try with FX loudness enhancement, could work.
Idk if the post solution will work, but I think you need to try.