MTK engineer mode (audio speech enhancement parameters) - Android General

does anyone know or can give a tutorial on what the parammeters found in audio speech enhancement of MTK engineer mode ,refer to???

travoltas said:
does anyone know or can give a tutorial on what the parammeters found in audio speech enhancement of MTK engineer mode ,refer to???
Click to expand...
Click to collapse
I would like to know too.
My Huawei Y6-PII Compact is very bad because Microphone is placed on Top! I must keep phone upside down to can be heared ok by others. I would like to boost my Mic level. Please help. Thanks.

This work at least with Ulephone Power:
Go Hardware-Audio_ModeSetting-Normal mode-Mic-Level 3
Normal mode is regular call
Level 3 is for calls, I used value 220
(Speaker mode mic value is 255, which is max)
At least Level 4 is for apps.
I don't know what other values are.
Before adjust, mic was almost useless, now it work like in other phones or even louder.
Default levels in normal mode are:
0=0
1=64
2=112
3=144 calls
4=192 apps
5=192
6=184
7=184
8=184
9=184
10=184
11=0
I also drill mic hole bigger, but that effect was minimal.

Related

[Q] Star 9220 engineer mode - audio setting help needed

I'm trying to improve the call quality, specifically what I hear through the main speaker, to make this phone useable. Currently its very tinny.
I found on a russian forum the dialpad code to engineers mode *#*#3646633#*#*. That brings me to a menu:
Battery Log
Touchscreen
GPRS
Audio
Camera
WiFi
Bluetooth
NetworkInfo
Autoanswer
YGPS
AGPS
EPO
VideoTelephony
Display
Memory
IO
Power
Baseband
FM Receiver
SIMMeLock
SystemLog
De-Sense
Matv
CPU Freq Test
BandMode
Can anyone provide an explanation or instructions for these?
I'm most interested in the "Audio" menu. If I select this I get:
K Tone
Normal Mode
Headset Mode
Loudspeaker Mode
Speech Enhancement
Debug Info
Speech Logger
From there I get drop down menus with FIR 0, FIR 1, FIR 2 etc, Ring, Key, Mic, FMR, Sph etc, Levels 0 up.. and two input boxes, one for value (0-255 and another, Max Vol. 0-60.
Any explanations, instructions or help would be gratefully appreciated.
Have searched this forum and google and the closest I can find is this but I can't make much of it, even with translate.
http://www.hacklabproject.org/mediawiki/index.php?title=Star_A5000_Miglioramenti
Thanks
Steve
I'm really excited that this might give some useful control to address a problem. I'm suprised that with all the experts out there no-one has responded yet. I'm sure the answer to this problem will help others with tinny phones too. Anyone....?
Did I put this in the wrong place? Not one answer :-(
wish i could help you, im looking for the same answer, except for music, it sounds tinny as heck, not originally but has developed a tinny sound that i feel could be fixed

Low Mic Gain during call: how to increase on MTK phone?

Hi,
I have an Oukitel U7 Plus, and the mic volume is too low, the people, during a call, hear me at very low volume.
I have read that on MTK android device, exist an "engingering" code, that allow to modify volume, mic gain and other value.
It's true and it can allow me to increase the volume of the microphone?
Thanks
Hi Antigen81,
I have the same problem with the "OUKITEL U15 Pro". I think the problem appeared when I started to use a headphone with a microphone (but Iā€™m just guessing).
I also tried to change the audio parameter in the engineering mode: *#*#3646633#*#*
but it did't work.

[ROOT][MOD] Xperia X Performance Volume Boost for stock config

What's bugging me about my brand new Xperia X? The overall low volume.
These simple tweaks, this mod if you may, simply modifies a few lines from the stock audio config files which, after a reboot make your speakers louder and headphones, a bit too loud (but I didn't hear anyone complaining about Xperias for being too loud lol)!
It's for rooted users only and for me it sounds a lot better than using (possibly) unstable sound mods instead of simply adjusting the volume on some pretty decent stock drivers.
***Tested on X Performance running Nougat. I've also got my hands on Xperia X Performance files which are pretty straight FWD see attach. Thanks @bkk99213 for testing and for the file!***ā€‹ā€‹ā€‹
Make a backup first or if you didn't simply put the original values back (82 for speaker lines and 76 for headphones). All that can happen if you modify the wrong thing is: Your settings won't do anything or you'll have no sound, that's why a backup is ideal.
Features:
Louder Stereo Speaker sound system wide;
Louder Headphone sound;
Stereo Voice-Speaker call - NOT TESTED! Keep a backup and please let me know if it's working;
Customizable as you see fit! Just stick to the already explored options.
Conflict-free tweaks - no additional files added, no nothing, just some modified lines - you can trust it .
Installation:
By flashing the .zip on recovery or with FLASHFIRE [press the red "+" button > Flash ZIP or OTA > leave the options as they are and Click on the "done arrow thingy".
Manually copying the file to /etc - DO NOT forget to set the right permissions (RW R R). Please take a look over the Permissions.png screenshot in case you don't know how to set them - you long click on the file, then go to properties and you'll see the permissions button.
Do it yourself - there's a guide down bellow.
In the download section you'll find:
>>Flashable! already modified "Xperia X P Getting Loud.zip" with: SPEAKER values - 84 for both RX7/RX8 and HEADPHONE values - 84 for RX1/RX2.
>>Flashable! Stock Values - it's the stock file unmodified.
>>NON-Flashable! zips - there you have 1 zip for the modified file and the stock one so you can place it manually via ES file explorer or the explorer of your choosing.
**And some screenshots that are pretty self explanatory showing you what modifications need to be made if you want to do it yourself.
DIY Guide (using ES File Explorer):
You're probably acquainted with ES File Explorer so it should be pretty simple. The modifications I made were done with ES (it has an built-in editor).
1. Make sure the Root Explorer toggle is On - it's located in the Tools tab as you swipe the left side of the screen;
2. Go to the root of the files where you'll see folders such as "data; dev; firmware; storage; system; etc" go to "etc" folder and scroll down till you see the mixer_paths files;
3. Open "mixer_paths_tasha" and at the prompt, select ES Note Editor - it's a huge file so tap right above the navigation bar! A bar with percentage should show up - it will help you navigate through the file;
4.1 Speakers - Get to 45% of the file where you should see the path for "speaker", ctrl name RX7 and RX8 with their stock values - modify the values as you please but please don't go over 85 - sound will be too distorted;
4.2 Headphones - Go to 57% of the file - you'll see "headphones" path - ctrl name RX1 and RX2 - modify the values but anything more than 84 might be too much.
5. Save and reboot. If you choose to modify the files on a PC make sure to set the permissions when you put the file back. Otherwise bootloops might occur.
*Stereo Voice-Speaker call is untested but in theory it should work, as it does on my Xperia X. I added the second channel to the routing - screenshot bellow.
**Stereo Ringtone-Speaker - WIP. I'm currently stuck so feel free to jump in and notify me via PM.
***Internal players such as Music, Video, ringing and notification will try to compensate the sound so it might not be as loud as expected. But try a youtube video and you'll notice the difference.
***Do not attempt to modify something else unless you know what you're doing - on that note, make a backup first. In my first attempts I lost sound device wide with FC for sound effects apk.
***Do not go over the values I imputed (84 for speaker and 85 for headphone) - apart from the distortions that will occur because of the louder volume the internal DAC might not be able to reproduce the sound at such intensity - in my tests one of the speakers was shutting down. Again, no harm can come to your device but don't push it.
***I saw a lot of sections for hi-res headphones, Noise cancelling, etc - I did not explore those options because I don't have the means to test it. Any input and contributions from you guys are most welcome.
These files control the volume output for digital / analog which means it's a non-intrusive way to change volumes with no harm for the device. If volume limit exceeds the capacity of the speakers it will sound bad but there is no chance for physical damage.
I'm coming from a highly modded Xperia Z (that phone saw some torture) which made use of the earpiece speaker for stereo, and even if the speakers aren't designed for that output they are louder than the X which packs pretty decent speakers. This is the mod that gave me the idea: http://forum.xda-developers.com/xperia-z/themes-apps/mod-stereomod-xz-v1-1-t2835995
Click to expand...
Click to collapse
Also check this out. It's an xposed module that will disable the annoying thermal warning for the camera. No more functions disabled just because phone got a bit over skin temperature lol. http://forum.xda-developers.com/cro...-camera-xperia-thermal-disabler-v1-0-t3455087
Cheers and happy new year!
Cannot find 9335
In Xperia X Performance @7.0nougat
I can't find the file in etc folder.
bkk99213 said:
In Xperia X Performance @7.0nougat
I can't find the file in etc folder.
Click to expand...
Click to collapse
Yes that's why it's a guide-ish. Files are different still... Traditionally with Sony, you should aim for the largest file. In your case the right file should be "...tasha" file. If you want you can send it to me or try it yourself. Keep a backup. I had no bootloops (so there's nothing to fear) by modifying what I shouldn't (and i had a dozen of tries). All that can happen if you modify the wrong thing is: Your settings won't do anything or you'll have no sound, that's why a backup is ideal. PM me. I'm curious about the file and results.
Sebi673 said:
Yes that's why it's a guide-ish. Files are different still... Traditionally with Sony, you should aim for the largest file. In your case the right file should be "...tasha" file. If you want you can send it to me or try it yourself. Keep a backup. I had no bootloops (so there's nothing to fear) by modifying what I shouldn't (and i had a dozen of tries). All that can happen if you modify the wrong thing is: Your settings won't do anything or you'll have no sound, that's why a backup is ideal. PM me. I'm curious about the file and results.
Click to expand...
Click to collapse
Here you go and thanks a lot. I know mi 4i can use same method to make the sound loudly. So I also interest your GUIDE
But PM cannot attach file. So I use REPLY..:laugh:
bkk99213 said:
Here you go and thanks a lot. I know mi 4i can use same method to make the sound loudly. So I also interest your GUIDE
But PM cannot attach file. So I use REPLY..:laugh:
Click to expand...
Click to collapse
It's simpler than it was on my X. I'll be back with an update. But I need my coffee first ))
Tested. It work. Whatsapp's Ringtone is obviously but some notification sound get distorted.
So I don't know the setting(84) is correct or not.
bkk99213 said:
Tested. It work. Whatsapp's Ringtone is obviously but some notification sound get distorted.
So I don't know the setting(84) is correct or not.
Click to expand...
Click to collapse
That's device specific. On my X 84 is just the right amount. I'll make another zip with 83 values. That's only one step over stock.
At least headphones are loud and distortion free. I noticed some good amplification on those. On my old Xperia Z I could never have such a powerful sound without signal cutting off on one of the channels.
Correction. The file had 85 for speakers. I'll put new zips with 84 soon.
---Files Updated---
Sebi673 said:
That's device specific. On my X 84 is just the right amount. I'll make another zip with 83 values. That's only one step over stock.
At least headphones are loud and distortion free. I noticed some good amplification on those. On my old Xperia Z I could never have such a powerful sound without signal cutting off on one of the channels.
Correction. The file had 85 for speakers. I'll put new zips with 84 soon.
---Files Updated---
Click to expand...
Click to collapse
84.perfect.:good::good::good:
bkk99213 said:
84.perfect.:good::good::good:
Click to expand...
Click to collapse
So glad I was able to help. You're welcome!
After tested 5 days, I get some trouble that my phone call's volume is lower than before.
But the settings should be no change for phone call, right?
* I have not much phone call, so I can't find this problem @ 1st day.
Thanks for your help again.
Does anyone know which xml would need to be modified for this to work on the X Compact?
agentsmith988 said:
Does anyone know which xml would need to be modified for this to work on the X Compact?
Click to expand...
Click to collapse
It's usually the largest one. So you should look for that. And then adapt this method to the X. Speakers might be with a different name buy you'll get it
Sent from my Xperia X using XDA Labs
Sebi673 said:
It's usually the largest one. So you should look for that. And then adapt this method to the X. Speakers might be with a different name buy you'll get it
Sent from my Xperia X using XDA Labs
Click to expand...
Click to collapse
Looks like it's mixer_paths_wcd9335.xml at 148.6KB. Both RX7 and RX8 are at 82 stock (under path name="wsa-speaker"). How much past the original values are you pushing these things, 2-3? Do these values boost the in-call speakerphone volume as well?
Unrelated, does anyone know if this XML has anything that could be modified to get get both speakers working when using the in-call speakerphone?
agentsmith988 said:
Looks like it's mixer_paths_wcd9335.xml at 148.6KB. Both RX7 and RX8 are at 82 stock (under path name="wsa-speaker"). How much past the original values are you pushing these things, 2-3? Do these values boost the in-call speakerphone volume as well?
Unrelated, does anyone know if this XML has anything that could be modified to get get both speakers working when using the in-call speakerphone?
Click to expand...
Click to collapse
I am pretty sure both X and X compact use the same HW - it seems to be the same file and wsa thingy - check my thread for X - https://forum.xda-developers.com/xperia-x/themes/xperia-x-mixerpaths-volume-tweaks-tank-t3525691
it is possible to modify the call speaker - and there are more things to add like stereo for that one. But going over default for one speaker can get voice distorted. And if stereo is applied there, than microphone quality will drop a lot. There's a reason why the call speaker is mono - so that the mic on the other side can catch most of the sounds. At some point maybe I'll look for a hook for stereo.
bkk99213 said:
After tested 5 days, I get some trouble that my phone call's volume is lower than before.
But the settings should be no change for phone call, right?
* I have not much phone call, so I can't find this problem @ 1st day.
Thanks for your help again.
Click to expand...
Click to collapse
These modifications can't affect the phone call volume since I never touched those. And I never had such issues. But I'll keep my ear close to it )
Sebi673 said:
I am pretty sure both X and X compact use the same HW - it seems to be the same file and wsa thingy - check my thread for X - https://forum.xda-developers.com/xperia-x/themes/xperia-x-mixerpaths-volume-tweaks-tank-t3525691
it is possible to modify the call speaker - and there are more things to add like stereo for that one. But going over default for one speaker can get voice distorted. And if stereo is applied there, than microphone quality will drop a lot. There's a reason why the call speaker is mono - so that the mic on the other side can catch most of the sounds. At some point maybe I'll look for a hook for stereo.
Click to expand...
Click to collapse
Awesome! Bumped the speaker and headphone values up to 86 and 85 and all I can say is wow! Made a huge difference!
Do you know which lines specifically control the in-call speaker volume? Makes sense about the mono audio/mic pick-up, however it'd be great to at least increase the volume.
agentsmith988 said:
Awesome! Bumped the speaker and headphone values up to 86 and 85 and all I can say is wow! Made a huge difference!
Do you know which lines specifically control the in-call speaker volume? Makes sense about the mono audio/mic pick-up, however it'd be great to at least increase the volume.
Click to expand...
Click to collapse
Adding stereo speaker to phone call is a bit tricky as far as I remember, especially without a recovery. Hopefully I'll have some spare time to look over it or at least identify call routing.
Sent from my Xperia X using XDA Labs
Sebi673 said:
Adding stereo speaker to phone call is a bit tricky as far as I remember, especially without a recovery. Hopefully I'll have some spare time to look over it or at least identify call routing.
Sent from my Xperia X using XDA Labs
Click to expand...
Click to collapse
Would it be easier to just increase the in-call volume and leave it mono? I'm guessing that there is a similar RX line that can be bumped up a few values to increase the volume.
Under <path name="voice-speaker"> there is a line <ctl name="RX8 Digital Volume" value="82" />. I'm guessing that may be it?
agentsmith988 said:
Would it be easier to just increase the in-call volume and leave it mono? I'm guessing that there is a similar RX line that can be bumped up a few values to increase the volume.
Under <path name="voice-speaker"> there is a line <ctl name="RX8 Digital Volume" value="82" />. I'm guessing that may be it?
Click to expand...
Click to collapse
yup, that should be it. I'm advocating for the stereo because stock values already distort a lot on speaker call
[Update] - stereo call speaker now working. Testing and applying method for ringtone speaker aswell
agentsmith988 said:
Would it be easier to just increase the in-call volume and leave it mono? I'm guessing that there is a similar RX line that can be bumped up a few values to increase the volume.
Under <path name="voice-speaker"> there is a line <ctl name="RX8 Digital Volume" value="82" />. I'm guessing that may be it?
Click to expand...
Click to collapse
[UPDATE] Please check the updated thread for Xperia X. For you, modifications should be easier to learn from there. Stereo Voice-Speaker added - no need for volume boost. https://forum.xda-developers.com/xperia-x/themes/xperia-x-mixerpaths-volume-tweaks-tank-t3525691

In-call volume and MTK Engineering mode

Is there documentation somewhere about the various settings of Engineering mode of MediaTek-based phones? Lots or articles offer a basic description of it and the codes to enter it, but I haven't found a comprehensive guide about particular settings.
Specifically, I am interested in changing in-call volume. In the Hardware testing->Audio->Voice section, I can change values for NB, WB, and SWB + Receiver, Receiver_SV, HAC, Headset, etc. What do all these refer to, specifically?
One post on XDA advised to change the NB, WB, and SWB values of the Receiver setting, but the result affected the mic volume, which was not what I intended.
avamalka said:
Is there documentation somewhere about the various settings of Engineering mode of MediaTek-based phones? Lots or articles offer a basic description of it and the codes to enter it, but I haven't found a comprehensive guide about particular settings.
Specifically, I am interested in changing in-call volume. In the Hardware testing->Audio->Voice section, I can change values for NB, WB, and SWB + Receiver, Receiver_SV, HAC, Headset, etc. What do all these refer to, specifically?
One post on XDA advised to change the NB, WB, and SWB values of the Receiver setting, but the result affected the mic volume, which was not what I intended.
Click to expand...
Click to collapse
This would be great. I've been messing around with it but I think I might have broken in-call volume from MIC with BT headset...
I wish someone could explain it in detail.
danieleal said:
This would be great. I've been messing around with it but I think I might have broken in-call volume from MIC with BT headset...
I wish someone could explain it in detail.
Click to expand...
Click to collapse
Sorry for the late response.Im in the same boat Im no expert .The best I could gather is to Max out all of the fields NB,WB,SWB with the highest numerical values allowed(I entered audio>vol>voice252,240with index of 160)(for audio playback I used no less than 180 for index gain) and for speech enhancement I referred to this other post by "walopower"
https://forum.xda-developers.com/t/...-enhancement-parameters.3082461/post-71643868
basically dropping down to index 3 for calls and raising that to 255 all levels!
Lastly I edited the build.prop (optional)
ro.config.vc_call_vol_steps=30
ro.config.media_vol_steps=30
My gains are not super loud like I would rather it be, only about 3 times as good as stock
Its all very time consuming but it works!
If anyone figures out a way to get the in-call super loud I would appreciate it!

How to adjust microphone gain/level? - Android 11, 12, or 13

I go to concerts often. Depending on how close I am to the speakers, level of bass, and other factors, I can get audio clipping when I take a video. A simple mic gain adjustment would solve this. Weird that I can't find a setting, magisk module, or custom rom for my OnePlus 9 Pro that has this setting.
If anyone can direct me to how to adjust the mic level, it would be greatly appreciated. I posted this in the Android sub since I would assume that it's a common feature I just don't know how to get to. At least it's only two or three clicks in Windows, Linux, and even Mac.
Look inside here:
How to Boost Microphone Volume on Android: 15 Steps
Easy ways to make your Android's microphone volume louderThis wikiHow teaches you how to boost your microphone's volume on Android. Generally, the volume of the mic is set by the system hardware. However, there are apps you can download...
www.wikihow.com

Categories

Resources