Audio Gain Trick (need others check)

manuhuelva

Senior Member
Mar 30, 2010
173
37
58
Huelva
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
 
Last edited:

ShadoV90

Senior Member
Mar 5, 2017
228
85
0
Legnica
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.
 
Last edited:
  • Like
Reactions: manuhuelva

manuhuelva

Senior Member
Mar 30, 2010
173
37
58
Huelva
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.
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.
 

ShadoV90

Senior Member
Mar 5, 2017
228
85
0
Legnica
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.
 
Last edited:
  • Like
Reactions: manuhuelva

manuhuelva

Senior Member
Mar 30, 2010
173
37
58
Huelva
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.
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.
 
  • Like
Reactions: ShadoV90

manuhuelva

Senior Member
Mar 30, 2010
173
37
58
Huelva
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
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.