Viper4Android speaker profile made by a music producer - Redmi K20 / Xiaomi Mi 9T Themes, Apps, and Mods

Hello dear fellas,
I've made a custom profile for our Redmi K20 for its speaker. Since I am a music producer / sound engineer, I tweaked the speaker sound by my ear. You may notice a slight improvement in high-ends and low-ends.
To install it: just copy the xml file on root/Viper4Android/presets/mi9t (if you do not have the folder, create it)
Test it and let me know your opinion.
Not tested on K20 Pro!

after put it in preset folder how to activate it in the app?
nvm i test it and my configuration is better than that.

djmitza222 said:
Hello dear fellas,
I've made a custom profile for our Redmi K20 for its speaker. Since I am a music producer / sound engineer, I tweaked the speaker sound by my ear. You may notice a slight improvement in high-ends and low-ends.
To install it: just copy the xml file on root/Viper4Android/presets/mi9t (if you do not have the folder, create it)
Test it and let me know your opinion.
Not tested on K20 Pro!
Click to expand...
Click to collapse
What did you change? I don't see any difference except that phone speaker optimization was turned off. Otherwise it's just viper clarity on default everywhere possible for me.

Related

[MOD] LG G2 Headphone/Speaker Volume Boost

Disclaimer:
DO NOT USE additional volume boosting tweaks/applications with this MOD.
Doing so will potentially make the signal too hot and could potentially lead to hearing damage/loss/equipment failure.
(Make sure you disable viper4android Max loudness signal boost if you have it installed!!).[/COLOR][/B]
This is a Headphone/Speaker Volume Level Modification.
DAC audio quality from the LG G2 is excellent, this improves the output further.
BENEFITS:
- Moves volume sweet spot to 50% vs. stock 80-90%.
- Removes need for volume boosting apps
- Does not alter DAC raw audio signal quality
- Provides optimized signal drive for higher ohm headphones
- Improved audio texture and fullness
- Improved low end at optimal listening levels
WORKS WITH:
All LG G2 Stock ROMS
This Mod Affects:
- External Speaker Volume (boosted to optimal levels)
- Headphones Volume for all audio Bit-rates (boosted to optimal levels)
TESTING:
Media Players:
- LG G2 Stock Audio Player (Lower digital noise on track pause compared to Neutron)
- Neutron Media Player (Warmer sound Signature)
Headphones:
- Stock G2 headphones (with built-in Volume control)
- Sennheiser ie-80 (16 ohms)
- Audio Technica (38 ohms)
- Beyerdynamic DT-770 (80 ohms)
Audio Sources:
- Multiple Music Styles (808 hiphop, trance, reggae, jazz, etc) in multiple bit-rates from 320kbps mp3 to 24-bit/192KHz Flac.
Parallel Testing with:
- Stock IPhone 4s
REQUIREMENTS:
- Phone must be Rooted: http://forum.xda-developers.com/showthread.php?t=2448887
- Root Browser (or similar File Explorer with system access)
- Modded "snd_soc_msm_Taiko" file (see instructions for link)
INSTRUCTIONS:
On phone:
1. Use Root Browser (or similar File Explorer), navigate to: /system/etc/snd_soc_msm
2, Copy "snd_soc_msm_Taiko" file to your storage folder as a backup (of your stock audio settings).
3. Download "snd_soc_msm_Taiko.txt" file:
Canadian D803 (remove the .txt): http://www44.zippyshare.com/v/67179492/file.html
AT&T D800 (remove the .att): http://www27.zippyshare.com/v/15157641/file.html
TMobile D801 (remove the .tmobil): http://www73.zippyshare.com/v/29686332/file.html
Verizon VS980 (remove the .verizon): http://www28.zippyshare.com/v/2883677/file.html
Sprint LS980 (remove the .spr): http://www70.zippyshare.com/v/61257387/file.html
Worldwide D802 (remove the .intl): http://www26.zippyshare.com/v/64106222/file.html
Korean F320L (remove the .kr): http://www21.zippyshare.com/v/81280391/file.html
AOSP Slimbean 4.3 (remove the .aosp) http://www65.zippyshare.com/v/20666112/file.html
4. Rename to snd_soc_msm_Taiko
5. Paste renamed file into: /system/etc/snd_soc_msm (Choose yes to overwrite the existing file).
6. OPTIONAL: Use Root Explorer to change permissions to rw~r~~r~~ on "snd_soc_msm_Taiko" file
***(No adverse effects leaving permissions on file as rw~rw~r~~)
7. Restart phone, test external speaker and headphones starting at low volume. Enjoy!
POTENTIAL ISSUES:
Some Verizon/ATT users reported mod microphone muting when using speaker phone.
If you experience this please confirm you downloaded the correct file for your model variant.
See more on LG G2 model variants here: http://en.wikipedia.org/wiki/LG_G2
If you are having other issues with this MOD reply to the thread/pm me using the following template:
------------------------------------------------------------------------------------------------
User:
Issue:
Phone Carrier/Model#
Current ROM installed:
Restarted phone and tested again?
Changes/edits made to the file?
Gone back to stock audio settings?
If working at stock settings is it possible to upload a copy of your stock working audio file?
------------------------------------------------------------------------------------------------
Thanks go out to:
drumaster12 for AT&T D800 submission/testing.
tareqjj for Tmobil D801 file submission/testing.
bazon for Worldwide D802 submission/testing.
insang-droid for Verizon file submission and testing.
bri315317 for covering similar content matter here:
http://forum.xda-developers.com/showthread.php?t=2442883
Reserved.
TIP #1:
If your G2 stock earbuds fit your ear canals really well, see if they fit on your other earphones!
I tried these G2 ear buds on my ie-80 in-ears and i can honestly say they give the best seal i have had in 7 months since getting these earphones!
The G2 buds have an abnormally large hole diameter which allows alot more high/mid range through than my previous sets. Stoked!
TIP #2:
Clean your in-ear headphones regularly, scotch tape works great!
Pull off the earbuds and carefully dab (do not rub) each the earphone housing speaker grills repeatedly with sticky part of the scotch tape to remove any wax/dirt buildup.
Repeat this once every 1 - 2 weeks to ensure longer life/good sound of your earphones.
If possible store your in-ears in a clean container/sealed carry pouch so they do not collect dust/lint/dirt from your pockets.
Thanks for the mod. Tested a FLAC song with stock music player on speakers. Max volume and no distortion.
sacredsoul said:
Thanks for the mod. Tested a FLAC song with stock music player on speakers. Max volume and no distortion.
Click to expand...
Click to collapse
Great to hear!
On a note of personal note, i had viper4android installed on my LG G2 but with these modifications,
i ended up uninstalling it as i was primarily using it for volume boost purposes as opposed to signal shaping/eq-ing.
I also found that viper4android would work randomly with some files but not others.
IMO Volume boosting should work consistently at all times, across the board.
From the purist/consistency train of thought this volume mod will give you consistent volume boosting and more power to your headphones (fuller sound) without altering/degrading the already superb audio signal, or adding digital noise.
That being said, viper4android is a great app for shaping the sound signature, which is what it is primarily designed for.
For me, "the closer to the original source, the better"
Much improved sound. Thanks.
Sent from my LG-D802 using Tapatalk
doesn't improve loudness from wha I cam tell but it improves the quality ALOT. thanks!!
600+ views and 6 thanks in less than 24 hours.. A little show of earned thanks goes a long way, its free!
sil0 said:
600+ views and 6 thanks in less than 24 hours.. A little show of earned thanks goes a long way, its free!
Click to expand...
Click to collapse
Soliciting for "thanks" is kind of lame especially considering I saw this mod first in the link you provided in the OP
Sent from my LG-D801 using xda app-developers app
sil0 said:
Disclaimer:
DO NOT USE additional volume boosting tweaks/applications with this MOD.
Doing so will potentially make the signal too hot and could potentially lead to hearing damage/loss/equipment failure.
(Make sure you disable viper4android Max loudness signal boost if you have it installed!!).
This is an external Speaker and Headphone Volume level modification.
It is what I feel "should have been" the stock "happy medium" audio levels for the LG G2.
The DAC audio quality coming from the LG G2 is excellent.
This modification brings the listening sweet spot down to 50% volume level instead of the 80-90% volume range at stock.
Stock levels did not push test headphones as well.
Benefits:
- Removes the need for 3rd party audio VOLUME BOOST apps
- Does not alter DAC raw audio signal quality
- Provides optimized signal drive for higher ohm headphones
- Improved audio fullness
- Improved low end at optimal listening levels
This MOD works with:
All LG G2 Carriers
This Mod Affects:
- External Speaker Volume (boosted to optimal levels)
- Headphones Volume for all audio Bit-rates (boosted to optimal levels)
Requirements:
- Phone must be Rooted: http://forum.xda-developers.com/showthread.php?t=2448887
- Root Browser (or similar File Explorer with system access)
- Modded "snd_soc_msm_Taiko" file (see instructions for link)
Test Media Players:
- LG G2 Stock Audio Player (much lower digital noise on track pause compared to Neutron)
- Neutron Media Player
Test headphones:
- Sennheiser ie-80 (16 ohms)
- Audio Technica (38 ohms)
- Beyerdynamic DT-770 (80 ohms)
Test Audio Sources:
- Multiple Music Styles (808 hiphop, trance, reggae, jazz, etc) in multiple bit-rates from 320kbps mp3 to 24-bit/192KHz Flac.
Parallel Testing with:
- Stock IPhone 4s
Instructions:
On your phone:
1. Use Root Browser (or similar File Explorer) to navigate to: /system/etc/snd_soc_msm
2. Locate the file called: "snd_soc_msm_Taiko"
3. Copy this file to your storage as a backup in case you decide to revert back to stock.
4. Download the "snd_soc_msm_Taiko" file to your phone: http://www44.zippyshare.com/v/67179492/file.html
5. Once complete, paste the downloaded "snd_soc_msm_Taiko" file into: /system/etc/snd_soc_msm
Choose yes to overwrite the existing file.
6. Restart your phone, and test external speaker and headphones with starting with volume at 0%
7. If this improved your G2 audio, say thanks, and enjoy your music!
I would also like to thank bri315317 for creating the following thread which covers similar content matter:
http://forum.xda-developers.com/showthread.php?t=2442883
Click to expand...
Click to collapse
The old file is rw~r~~r~~ the permissions on the file you have here is set to rw~rw~r~~. What should the permissions be set to??
Thank you
hd-renegade said:
The old file is rw~r~~r~~ the permissions on the file you have here is set to rw~rw~r~~. What should the permissions be set to??
Thank you
Click to expand...
Click to collapse
Use root explore and change permission by checking the boxes accordingly
Sent from my LG-D801 using Tapatalk
shook187 said:
Use root explore and change permission by checking the boxes accordingly
Sent from my LG-D801 using Tapatalk
Click to expand...
Click to collapse
That is what I did, just wanted to make sure it was right. Someone might want to add that to the first post.
hd-renegade said:
The old file is rw~r~~r~~ the permissions on the file you have here is set to rw~rw~r~~. What should the permissions be set to??
Thank you
Click to expand...
Click to collapse
Permissions should not make a difference in this case, however you can set them to rw~r~~r~~ for the file as shook mentioned using root explorer.
Mine are currently set to rw~rw~r~~ and there is no difference in performance.
I have updated OP with step 6 as optional. Cheers!
Just helping jesus3109 voice be heard.
" This is for the mod in android development.. I cant post anything there cause im a new memeber so i need ten posts...
Bassically if you do this mod it will make speaker mode not work... You can hear the other person but they wont hear you.. It disables the mic... Same thing if u use earphones with a mic... U could hear them but they wont hear you....
If someone can get this message out in the lg g2 develpment thread ill appreciate it... "
shook187 said:
Soliciting for "thanks" is kind of lame especially considering I saw this mod first in the link you provided in the OP
Sent from my LG-D801 using xda app-developers app
Click to expand...
Click to collapse
Really.
Well not giving thanks where its due, is even more lame, not to mention it is Thanksgiving today after all..
1. For what its worth i stumbled on this file in my G2 looking through sys etc files as a result of modding my note 2 last year in similar fashion, when i was looking for volume boosting without 3rd party apps at the time.
2. I have spent time testing to ensure i get the levels right on a fair range of equipment, and i feel others should be entitled the chance to benefit from this as well.
3. That thread that i ended up finding (and linking out of courtesy regardless) is pretty convoluted and a bit of a mess, labelled ATT (i am on Bell and this is a universal fix, not just ATT), and realistically only addresses speaker volume.
4. I have provided a working tested version of the file that G2 owners can use if they choose; not everyone is comfortable/has time/patience to edit/test settings in order to enjoy the untapped potential their phones have to offer.
5. I was in actuality not soliciting (seeing as we are NOT selling anything here), but making a factual observation through my thanks post, and the same applies to all positive dev/mod work.
You're welcome.
thanks, audio seems improved and much higher.
maybe a bit too high.. I can't set volume up to middle.
alex72 said:
Just helping jesus3109 voice be heard.
" This is for the mod in android development.. I cant post anything there cause im a new memeber so i need ten posts...
Bassically if you do this mod it will make speaker mode not work... You can hear the other person but they wont hear you.. It disables the mic... Same thing if u use earphones with a mic... U could hear them but they wont hear you....
If someone can get this message out in the lg g2 develpment thread ill appreciate it... "
Click to expand...
Click to collapse
The version i posted on this thread works fine with no issues.
I have tested the scenarios detailed in your post using 2 different cell phone lines, calling my g2 from another cell, and vice versa.
Both with speaker mode enabled/disabled, and with/without headphones.
Mic works fine in both cases for me, no issues here on my Bell version G2.
I do not currently have a pair of headphones with microphone built in to test that format though, if anyone else can test that would be great.
Please clarify carrier, whether phone is stock or not,whether has he done any file edits after the fact, etc.
nic85 said:
thanks, audio seems improved and much higher.
maybe a bit too high.. I can't set volume up to middle.
Click to expand...
Click to collapse
Please confirm headphone model you are using if possible.
sil0 said:
Permissions should not make a difference in this case, however you can set them to rw~r~~r~~ for the file as shook mentioned using root explorer.
Mine are currently set to rw~rw~r~~ and there is no difference in performance.
I have updated with step 6 as optional. Cheers!
Click to expand...
Click to collapse
Just trying to help if I can. I am no expert.
hd-renegade said:
Just trying to help if I can. I am no expert.
Click to expand...
Click to collapse
Every little bit helps!
Hi. Somebody can tell me -
in which line (number and text) setting the speaker volume? I mean speaker for ringtone (not for talking)
Tnx
--------------------------------------
LG G2 D802 (International vers.) rooted

|AUDIO MOD|MiMAX|04-07|DAC HAX|DUALSPEAKERS|AROMA|HIFI AUDIO|shox AUDIO MOD v2.3|

Hey guys...
ScreaMySkrillEX here.
This is an audio mod made for the redmi note 3(kenzo/Kate) which also works on mi max(hydrogen/helium) as both the devices share the same audio codec and streams.
What does my mod do?
It enables dual speaker config on your device and has two variants(htc10/stereo). And there's also a stock version which only tweaks the headphone audio output.
Htc10 version uses both earpiece and loudspeaker for audio output. The output is mono and hence earpiece acts like a mid-range booster and adds more detail to the speaker audio.
Stereo version also uses both speakers for audio output but earpiece behaves as left speaker and loudspeaker behaves as the right speaker.
Instructions.
1) Download the latest zip from the drive folder link below:
https://drive.google.com/folderview?id=0B5ratNhH-7mGU3AtTVFmekE4VG8
2)Reboot to recovery.
3)Flash shox Audio Mod zip.(while flashing the file shows that its made for kenzo/Kate. Don't worry, it will work for your device also xD)
4)Reboot.
5)Feel the shox effect!
Enjoy the music...
If you have any requests or problems, feel free to ask.
I will definitely help you.
And you guys are most welcome for your suggestions.
Read the 2nd post for more info and recommended tips.
Thanks to:
@chdloc - For his biquads app and support. He has thought me many things. A brilliant dev.
@UltraM8 - For his Ainur Sauron audio mod.
@zhuhang - For his viper4android app and IRS samples.
@Albertkuba - For actually informing that this mod works for mi max too. This thread is because of him
@ZeroInfinity - He is the inspiration for me. His works are really brilliant.
Recommended tips:
1)Flash Ainur Sauron audio mod made by @UltraM8 along with this mod for a much better experience.This is currently the best audio mod which is the cleanest..Please thank him for his great work...
Link here: https://forum.xda-developers.com/android/software/soundmod-ainur-audio-t3450516
2)Users who need more tweaking to the audio can use Viper4Android.
3)I have included some of the best IRS samples for viper4android(according to me). So try it out if you are using viper4android for complete control over your music. Extract the zip and place the contents in viper4android/kernel directory of your internal storage.(the zip provided is not recovery flashable).
4)People who use MX player for videos can enable SW audio boost which will further increase the sound levels through speakers without any distortions..
It is recommended not to listen through speakers at full volume for longer periods.. Keep the volume low by 1 or 2 steps from the max.
5)People who think that the present max volume through headphones isn't enough can install viper4android and increase output gain to 6dB in master gate..
My personal Viper4Android settings:
Master power - on
Playback gain control - off
FET compressor - off
Viper DDC - on, set to sennheiser hd558
Spectrum extension - on, set to 1.0
Firequalizer - off
Convolver - off
Differential surround, field surround, headphone surround+, reverberation - all set to off
Dynamic system - off
Viper bass - off
Viper clarity - off
Tube sound simulator - off
AnalogX - on, set to extreme
My earphones :
1) Sennheiser cx180 street-II - daily outdoor use.
2) Skullcandy Ink'D - used rarely.
3) Sony MDR-ED12LP - used when I'm at home.
List of smartphones I own right now:
1) Xiaomi Redmi Note 3(kenzo)
2) Samsung Galaxy S(i9000)
3) Xiaomi Redmi Note 4(Mido)
4) Samsung Galaxy Note(n7000)
CHANGELOGS:-
V1 - initial release.
V1.1 - tweaked the values a bit to further remove the hissing noise as reported by @MurdererFight.(thanks bro for being the first tester and reporting me)
V1.2 - added some tweaks which will truly enable HiFi audio through DAC with the help of a magisk module..now the DAC detects the impedance of the earphone or the headphone connected.this ensures proper voltage levels through the amp for the earphones/headphones.
V1.3 - Merged surround audio mod along with hifi audio..
Enjoy stereo-like sound on your kenzo (earpiece speaker also outputs sound now xD, videos feel more alive to watch now).Thanks to @AgentBuBu for the soundmod.
I just merged his mod with mine..
V1.4 - Changed the earpiece thresholds to remove the crackling sound and readjusted both the speaker sound to the same level. Now enjoy stereo like never before on your kenzo's speakers. Thanks to @Androbots for reporting this.Also made the mod universal by making a magisk and SuperSU version..
V1.45 - Readjusted the values again for both earpiece and loudspeaker to remove distortion completely, increased audio volume through headphone jack without disturbing the quality. So, now there's a very little drop in the audio but the quality is absolute eargasm.
v1.5 - Readjusted and increased the volume of both earpiece and speaker without inducing distortions. The sound level is more than stock now.
And further pushed the volume through headphones for louder volume..Now the stereo feel is amazing..
And included biQuads support for headphones for expert users. Now you can correct the frequency response of your beloved cans, IEMs.
Link for biQuads is here:
https://forum.xda-developers.com/showpost.php?p=70194192&postcount=226
v1.6 - This time made sure to keep the audio levels same at the earpiece and loudspeaker to increase the stereo and ambience.
Very little changes to headphone volume again. Removed some unused codes. Its true stereo now. Enjoy the stereo on speakers like never before
v1.7 - Fixed the messed up headphone gain as reported by @AravindhStanley and now has 2 new versions...
1) Stereo Version - The present version which you guys are using..earpiece acts as the left speaker and loudspeaker acts as the right speaker. The speaker volume and earpiece volume is balanced
2) HTC 10 Version - The new one!!!! it is based on the new HTC 10 loudspeaker audio output.. Its mono but still uses earpiece for sound. But here the earpiece acts as a mid range and bass booster and significantly increases the detail of sound heard through speakers. Here, the loudspeaker is louder than the earpiece. The earpiece just adds detail here. So don't complain about unbalanced audio levels as its kept unbalanced.
This version removes all the audio libs to disable audio offloading to the dsp..Now the audio goes straight to the DAC untouched..
So please flash your audio mods once again after flashing the mod to get them back working.
Now biQuads is fixed by the founder @chdloc himself..So its finally working now....
I recommend all the users to try both the version and keep the ones which you like.
The link to new biQuads is here:
https://forum.xda-developers.com/showpost.php?p=70194192&postcount=226
v1.7fix - This is only for HTC 10 version...Many users would have experienced no audio from the loudspeaker after flashing v1.7(it wasn't intended to work like that). This issue has been fixed. Now enjoy audio on both earpiece and loudspeaker. Loudspeaker has louder volume than earpiece as earpiece just acts like a mid range and bass booster like before.. Enjoy the sound now..
v1.8 - Made significant changes to headphone audio....
Now the audio is decoded at 24bit 192khz..but still the output is 16bit 48khz..wait for the Poweramp to fix it or if anyone knows how to edit audioflinger please pm me...if audioflinger is hacked, 24bit 192khz audio can be made systemwide....
And enabled hardware Dolby and DTS-HPX support...
Use any of the sound mod which has support for them...you will feel a difference..
Nothing much changed in speaker audio..
Reflash your audio mods again....dirty flash
v1.9 - Rebased with the stock mixer_paths.XML and edited it from the start again..its much clean and removed useless codes from the file..
Fixed the bug - in-call voice through speakers even though the phone was in earpiece mode as reported by @AravindhStanley
Finally the mod is universal! One flashable zip for all ROMs and kernels so no hustle of magisk or su versions.
Dropped the HTC10 version as I dint see much potential in it..It will be continued only on demand..
Temporarily removed biQuads support as it requires an in-depth inspection..will include it in the next build..
V2.0 - *Fixed low audio volume on headphones as reported by many....
*Introducing a stock version, which only tweaks the headphone audio leaving the speakers untouched(stock config)
*Reincarnated the HTC10 version as requested by @mahmoudthassan
V2.1 - *added bass filter for earpiece in both htc10 and stereo version to protect the speaker..
*added a bass filter for headphones also to improve bass range which also reduces distortion..
*created an uninstaller for the mod..
V2.2 - *renamed the mod from HI-FI AUDIO PATCH to shox Audio Mod.
*finally implemented biQuads and added my sound signature to the headphone audio output.
*increased the amp volume to 16 to increase output volume.
*included patched kernels also for the mod as it is mandatory.
This is a guide for creating your own biQuads which replaces the existing ones in the mod.
As you all know, biQuads is a set of 5 IIR filters which can be used to enhance the music and also correct the frequency response of the headphones/earphones which you use.
Continue from here only if you know what sampling rate, bit width, lowpass, highpass, peak filters mean. Otherwise google those terms and learn what they are and what they do
So here's how to design your own biQuads and listen the music in your way:
1) Download biQuads flashable zip from the XDA thread here:
https://forum.xda-developers.com/android/software/reference-qualcomm-audio-codec-iir-t3093000
Thank @chdloc for this great work.
2) Flash the zip in recovery and reboot.
3) You will see an app named biQuads in the apps drawer.
4) Open the app and give it root access.
5)As I told earlier, there are biQuads numbering from 1 to 5
6)After every filter you create for every number, tap design biQuad and wait for 20-30sec. You will be redirected to another window where the app check whether the filter is designed correctly or not with a spectrum graph. After that, increase the biQuad number
7) Do the same step 6 again and again from 1 to 5 until your biQuads is ready.
8)Finally, select review filter where you get a final graph and parameters of different IIR filters.
9)Then select save and give your biQuads a name(make sure there are no spaces included in the name). Click accept and the file gets saved in the internal sdcard with the filename you specified.
10)Open the *.coeffs where * is the name you specified for the biQuads in a text editor.
11) Replace IIR2 with IIR0 wherever found and change INP1 to INP2 wherever found.
12) Finally copy everything from the file and replace the contents in the mixer paths(present in /system/etc) under path name headphones. You will find similar lines there which are my biQuads already implemented.(make sure that you file editor has root access)
13) Replace those lines perfectly and align the lines as they were. Save the file when you are done and reboot.
14) Magic.
Hi! I can't download from the gDrive link, it seems not working now...
Kamaal said:
Hi! I can't download from the gDrive link, it seems not working now...
Click to expand...
Click to collapse
Try again..
Thanks. I've been waiting for a dual speakers mod for a long time.
HTC 10 mod version makes the sound output like it's coming out of a can. But the stereo mod is great.
ScreaMySkrillEX said:
Try again..
Click to expand...
Click to collapse
No luck: it's me?
ERR_CONNECTION_REFUSED
Edit: weird, the problem was only accessing from my Mi Max.
Thanks, i'm gonna to try your mod.
Is there a way to make the earpiece speaker louder that default? On the Mi Max, mine at least, it's far quieter than the main speaker, meaning it, doesn't seem like it does much.
This also means that in Stereo mode, the left channel is far more underpowered when stereo content is playing, and it's noticeable.
Cooly568 said:
Is there a way to make the earpiece speaker louder that default? On the Mi Max, mine at least, it's far quieter than the main speaker, meaning it, doesn't seem like it does much.
This also means that in Stereo mode, the left channel is far more underpowered when stereo content is playing, and it's noticeable.
Click to expand...
Click to collapse
Maybe htc10 version is more suitable for this device..
If you have a kernel with sound control, try increasing microphone volume.
ScreaMySkrillEX said:
Maybe htc10 version is more suitable for this device..
If you have a kernel with sound control, try increasing microphone volume.
Click to expand...
Click to collapse
Was the same with the HTC10 version, and I'm not sure if I have a kernel that can do that, and even if I did, how would I go about doing that?
Discovered a bug with this mod. Installing this would disable mic thus any video you record has no audio. Worse uninstalling this mod would not remove the bug. So I had to reflash ROM.
Cocoyg said:
Discovered a bug with this mod. Installing this would disable mic thus any video you record has no audio. Worse uninstalling this mod would not remove the bug. So I had to reflash ROM.
Click to expand...
Click to collapse
I have the mod installed and do not have this issue. my recorded videos all have sound
Mod is working great, but i feel unsafe, any side effect after using call's speaker for a long time?
MM.626 said:
Mod is working great, but i feel unsafe, any side effect after using call's speaker for a long time?
Click to expand...
Click to collapse
Nope, as far as the speaker doesn't distort
????????
hello and kudos for this feat.
but forgive me for asking a stupid question, will this work with bluetooth stereo headphones?
-------
UPDATE
tried it... worked! muchos gracias!
Working but it have a bugs which video recording has no sound and it also break Hi-Res audio playback on PowerAmp alpha build 704. IEM/Headphone left channel volume sometime really quiet while right channel was too loud. I have to unplug and replug audio jack to make both channels working again.
Tested with Mi Max hydrogen 6.0.1 + Audio Technica ATH-IM50/ATH-M40X/Trinity Delta
For anyone who suffer same bugs, replace mixer_paths_wcd9326.xml and mixer_paths.xml in /system/etc and set permission to 0644
thanks for the heads up.
mine is hydrogen on GlobeROM 7.7.20 + Viper4Arise
did not loose audio on video recording.
nougat
Hi,
Will this work on stock rooted nougat based rom 8.5 ? please revert as i m finding it impossible to install viper on nougat for mi max prime helium
satankid said:
Hi,
Will this work on stock rooted nougat based rom 8.5 ? please revert as i m finding it impossible to install viper on nougat for mi max prime helium
Click to expand...
Click to collapse
Viper4Arise is only used to further tweak the settings that this MOD offers.
so i think its just but OK not to install Viper.
also, if you already have a 3rd-party recovery, you can easily flash this.

Stereo Surround Mod for Oneplus 5T

I can see there is a mod ported from 3T to 5 that allows the phones earpiece to work as a second sound speaker when playing music.
https://forum.xda-developers.com/oneplus-5/themes/stereo-speaker-mod-oos-t3632980
Anyone knows if this would work on 5T?
is not a good idea. The above loudspeaker is not designed for it.
It should be fine. I’m not looking to make the sound louder, overstressing the earpiece. Just some small treble to make you hear stereo. Anyone able to port the MOD?
I just tried this mod by swapping the xml file and it worked.
But I don't keep it as the file is smaller than the stock one.
Plus it's designed for OP5, not 5T
I revert back to stock, waiting for a clean port !
Just to mention, the speaker was way louder than the earpiece, making the sound not really balanced.
A few persones ask in the OP5 thread how to change the volume of the earpiece, or if it's possible to change the steps of the volume like this :
25% speaker = 50 % earpiece
50% speaker = 70 % earpiece
75% speaker = 100% earpiece
100% speaker = 100% earpiece
to have a more balanced sound (except for 100% of course)
and lastly it would be cool to have a quick way to disable the mod, in case of high volume during a long period, to prevent earpiece damage.
It would be really, really cool if a dev could do this.
Thanx a lot in advance !
Link2811 said:
I just tried this mod by swapping the xml file and it worked.
But I don't keep it as the file is smaller than the stock one.
Plus it's designed for OP5, not 5T
I revert back to stock, waiting for a clean port !
Just to mention, the speaker was way louder than the earpiece, making the sound not really balanced.
A few persones ask in the OP5 thread how to change the volume of the earpiece, or if it's possible to change the steps of the volume like this :
25% speaker = 50 % earpiece
50% speaker = 70 % earpiece
75% speaker = 100% earpiece
100% speaker = 100% earpiece
to have a more balanced sound (except for 100% of course)
and lastly it would be cool to have a quick way to disable the mod, in case of high volume during a long period, to prevent earpiece damage.
It would be really, really cool if a dev could do this.
Thanx a lot in advance !
Click to expand...
Click to collapse
So based on your post, the mixer file is in the same place but it's smaller, and the Oneplus mod worked for you, that means the lines inside for the speaker mod are good.
Can you send me the 5T original mixer file? My phone will get to me tomorrow, but I can merge the 5T file with the Oneplus 5 changes (keep full content of 5T and add only the changes from 5)
EDIT: Regarding the volume, I would not mess with that very much. I think you can use Viper4 to control it, but I would suggest to remove the Bass and increase the gain with maximum 10 percent. You should be on the safe side (not breaking your earpiece) and also gain some sound. (bass from bottom speaker and treble/small mid from earpiece)
Here it is, thank you !
Btw, I don' think Viper can do anything about that.
In fact, this mod only replicate what the main speaker is playing, doing dual mono.
So if I change something with Viper, it will do it for both, right ?
Or am I completely wrong ?
Link2811 said:
Here it is, thank you !
Btw, I don' think Viper can do anything about that.
In fact, this mod only replicate what the main speaker is playing, doing dual mono.
So if I change something with Viper, it will do it for both, right ?
Or am I completely wrong ?
Click to expand...
Click to collapse
Here is the modded 5T file. I don't have the phone yet to test it, but will let you know as soon as I do.
I am not sure about Viper4, but I think it has independent controls for bottom speaker and top speaker, I might be wrong.
Not work with Viper.
Aligatz1989 said:
Here is the modded 5T file. I don't have the phone yet to test it, but will let you know as soon as I do.
I am not sure about Viper4, but I think it has independent controls for bottom speaker and top speaker, I might be wrong.
Click to expand...
Click to collapse
Greaaat, I will tell you in a couple of hours
Okay, it works !
But :
It only works on Youtube, that's a start ! That's the main reason I need both speakers so I'm happy
anyway
As I say before it would be cool to have a bit more volume for the earpiece. Do you know what line I need to edit in the xml ?
And about Viper, I don't see what I can do with it, as the app is not designed to support settings for stereo speaker. I mean, no settings for one specifically.
But thanx a lot to you and DorianX, it's really cool
Edit : Well I searched in the XML and edit the "91" volume to "100". It's really better !
Edit 2 : I was wrong ! The earpiece works in chrome and other apps too. It's weird because, in some games like Super Mario Run, the earpiece works correctly, but in other games like Monument Valley 2, it doesn't
Did you tried using Viper4android? (Disabling then enabling again), also try with Universal deep_buffer Remover: https://forum.xda-developers.com/apps/magisk/module-universal-deepbuffer-remover-t3577067
Anyone want to write a how to?
This is the only thing I really miss from my old iPhone 7+
I'm assuming rooting is required etc.

Audio recording lacking bass

Hi, I am running ressurection remix 8.1 on my whyred ai, cant seem to work out how to get any bass on my video recordings, on my mido I had to flash some changes to audio mixer files etc. Not sure if anyone else is having this problem but the audio reoding sounds really tinny.
anyone else notice this?
just realised the inbuilt audio recorder is ok, only video apps like google camera and opencamera seem to have the issue?
junglist said:
just realised the inbuilt audio recorder is ok, only video apps like google camera and opencamera seem to have the issue?
Click to expand...
Click to collapse
Same here I also noticed it. Seems they have a high pass filter at around 150Hz or something.
lukesan said:
Same here I also noticed it. Seems they have a high pass filter at around 150Hz or something.
Click to expand...
Click to collapse
yes, thats what I thought too, how the hell do we disable it? anyone?
junglist said:
yes, thats what I thought too, how the hell do we disable it? anyone?
Click to expand...
Click to collapse
Ok found a way to get really good audio quality. I've searched across boards and tried a lot of stuff. The volume level might be low(er) but I need to alter another XML file. Good enough for concerts and out in the open I would say.
First you need to change the max bitrate since they set that to 96KHz which is way to low. The file to edit is /vendor/etc/media_profiles_vendor.xml
Almost all the way down that file you see the AAC settings.
You will see
<AudioEncoderCap name="aac" enabled="true"
minBitRate="8000" maxBitRate="288000"
minSampleRate="8000" maxSampleRate="48000"
minChannels="1" maxChannels="6" />
As you see I set it to 288000.
Next is the biggest issue. Seems the MIUI camera standard uses AGC and that high pass filter that up to date I haven't found. Open camera works but the other microphone you can select they go via the noise cancelling stuff which kills the audio and you get an underwater sound.
I have a official licensed cinema FV-5 from the playstore. Now there is an issue for the moment. I cannot record in 1080P (the image zooms in like crazy it seems, I contacted the developer for that). On 4K recording it works perfectly. Also remember in the menu to tab the little shaky hand to switch on the stabilizer as that works miracles.
Now go to the settings - audio - audio source is set to 'built-in mic(video camera)' ------ audio channels - stereo (2) ----- bitrate - 256000 ----- sampling rate - 48000 and very important 'disable audio automatic gain control - is switched on' meaning disabled.
Give it a go.
@junglist @lukesan Hi,
I downloaded Mi Max 3 ROM which is the same SOC and I found some interesting stuff about that!
mediaprofiles.xml in vendor is the same on both devices (at least on 9.5.19.0 which am using right now) but the one in system is different, on Mi Max 3 they changed the aac bitRate in so many lines from 156000 to 192000 which is looks interesting!
Also there’s a trick here, mediaprofiles.xml which is in system is the same media_profiles_vendor.xml which is vendor, same on our device, that means both files must be overriding not only mediaprofiles.xml in system!
here’s a flashable zip from Mi Max 3 ROM for any one wants to give a try, also check out this video which compares between our device and Mi Max 3 regarding this part:
https://www.youtube.com/watch?v=5LKThf9KWjs (09:42)
I still need to perform more testing before I can confirm if this really works or not!
rocker00 said:
@junglist @lukesan Hi,
I downloaded Mi Max 3 ROM which is the same SOC and I found some interesting stuff about that!
mediaprofiles.xml in vendor is the same on both devices (at least on 9.5.19.0 which am using right now) but the one in system is different, on Mi Max 3 they changed the aac bitRate in so many lines from 156000 to 192000 which is looks interesting!
Also there’s a trick here, mediaprofiles.xml which is in system is the same media_profiles_vendor.xml which is vendor, same on our device, that means both files must be overriding not only mediaprofiles.xml in system!
here’s a flashable zip from Mi Max 3 ROM for any one wants to give a try, also check out this video which compares between our device and Mi Max 3 regarding this part:
https://www.youtube.com/watch?v=5LKThf9KWjs (09:42)
I still need to perform more testing before I can confirm if this really works or not!
Click to expand...
Click to collapse
Ok, very cool find! Observations which I made over the last couple of days
We have 2 'issues' on the redmi note 5 (Whyred) so 1) the bitrate and 2) the highpass
1) is as you say media_profiles_vendor.xml we can easily alter that one. Check out the downloadable MI MIX 2 audio quality ... module for Magisk. Download extract and copy that xml file and set the same permissions 644 I believe. Make a backup of the original first. They set the bitrate really high on that one 256kbit/s I believe which is a bit overkill, but compared to 20mbit/s for the video it is nothing and I rather have overkill than 96kbit/s underwater sound.
So that one is easily fixable.
2) The high pass filter seems to be linked to the AGC. I really like the AGC since it keeps the volume constant and should be the standard for the 'normal' people who do not care about extreme hifi things. I would leave it on if I could only switch off the high pass filter. Shoot a video and it will be perfect for 99.999% of the people. Levels will almost be perfect. People easily understandable etc etc etc.
I would like to switch off the AGC (and the filter) for real audio recordings, meaning classical music etc etc .. this involves always having to check if your level is not to low or if the peaks are not to high causing clipping which means distortion.
For issue 2 the only app that I found that can do this is cinema-fv5. I made an error in my previous text to set it to 8MP since then the stabilization doesn't seem to work properly so I now set that to 2592x1296 which seems pretty 16/9 like to me. If you switch off the AGC in this app then you get AGC off and high pass off. Very low level audio but perfect quality. I guess perfect for a concert. (this weekend there is a local festival here so I can really test (and enjoy))
If you want good audio but mono then you need open camera for now. If you set the microphone to 'mono' you will also hear that the sound is good, setting it to stereo gets the noise cancellation working and it sounds like crap.
I'll try those Mi Max 3 things if I find a bit of time. Lets share knowledge and experience and we'll get it working like it should. This is the only small downside of the redmi note 5 that I have found so far. (and that is coming from an S7)
---------- Post added at 10:54 AM ---------- Previous post was at 10:00 AM ----------
@rocker00 Just flashed it. Does set the bitrate to 288kbit/s which is really high but, like said above compared to video that is peanuts. Better a lot more than what it was. But it does not switch off the AGC or high pass. Since you have the rom can you check and attach another file? The file is in the same path (vendor/ etc) our file on the redmi note 5 is called mixer_paths_skus.xml . I guess it might be a bit different on MI MAX but I guess some more audio is being controlled there.
@lukesan First please override media_profiles_vendor.xml manually because it looks like the script is not mounting vendor!
Regarding the file, media_profiles_V1_0.xml, mixer_paths_i2s.xml, mixer_paths_mtp.xml, mixer_paths_skus.xml, mixer_paths_skush.xml, mixer_paths_wcd9326.xml, mixer_paths_wcd9335.xml and mixer_paths_wcd9340.xml
are the same md5! but mixer_paths.xml (which i downloaded the whole rom just to get it in order to try to enable dual speaker) is completely different!
Also i have 2 doubts:
1- in build.prop which is in vendor they changed ro.vendor.audio.sdk.fluencetype to fluence which is none in our device(related to noise cancelling)
2-ACDB (Audio Calibration Database) which is completely different in Mi Max 3 cuz it has dual speaker and two speakers at the bottom, and ACDB is controlled by audio.primary.sdm660.so which is different for sure in both, i hope it's not related to that because it will be really a hard job!
here's the mixer_paths.xml am still looking into it maybe i can find something!
rocker00 said:
@lukesan First please override media_profiles_vendor.xml manually because it looks like the script is not mounting vendor!
Regarding the file, media_profiles_V1_0.xml, mixer_paths_i2s.xml, mixer_paths_mtp.xml, mixer_paths_skus.xml, mixer_paths_skush.xml, mixer_paths_wcd9326.xml, mixer_paths_wcd9335.xml and mixer_paths_wcd9340.xml
are the same md5! but mixer_paths.xml (which i downloaded the whole rom just to get it in order to try to enable dual speaker) is completely different!
Also i have 2 doubts:
1- in build.prop which is in vendor they changed ro.vendor.audio.sdk.fluencetype to fluence which is none in our device(related to noise cancelling)
2-ACDB (Audio Calibration Database) which is completely different in Mi Max 3 cuz it has dual speaker and two speakers at the bottom, and ACDB is controlled by audio.primary.sdm660.so which is different for sure in both, i hope it's not related to that because it will be really a hard job!
here's the mixer_paths.xml am still looking into it maybe i can find something!
Click to expand...
Click to collapse
Probably it is taking the media_profiles_vendor.xml which I already edited manually. Well to check that our device is capable you could check with Cinema-FV5 lite which is free up to 1280x720 resolution. Disable the AGC and you get a nice clear sound full audio spectrum. I'm on a 8.7.5 rom and when I start to record my image is taken from the upper left corner all zoomed in. Not sure which rom you are on, but could you give that a try?
If it's that *.so file we need to address someone with the right knowledge. I've never decompiled stuff like that.
lukesan said:
Probably it is taking the media_profiles_vendor.xml which I already edited manually. Well to check that our device is capable you could check with Cinema-FV5 lite which is free up to 1280x720 resolution. Disable the AGC and you get a nice clear sound full audio spectrum. I'm on a 8.7.5 rom and when I start to record my image is taken from the upper left corner all zoomed in. Not sure which rom you are on, but could you give that a try?
If it's that *.so file we need to address someone with the right knowledge. I've never decompiled stuff like that.
Click to expand...
Click to collapse
I'll try the app ASAP and i'll keep trying...never give up
BTW, that lib is most likely C++ signed binary so you can't do anything about it!
rocker00 said:
I'll try the app ASAP and i'll keep trying...never give up
BTW, that lib is most likely C++ signed binary so you can't do anything about it!
Click to expand...
Click to collapse
Just came back from the festival that I told about. The default MIUI video cam.. wow made a complete mess. The AGC went completely crazy and no bass. Using cinema-FV5 ... wow listening to it right now with my earplugs..... it's like I'm still there. Ok the bass sounds (only) a bit distorted, but I was standing at the front and the smart people there handed out headphones that dampened sound to the kids. I myself suffer from tinnitus so I have -20dB earplugs ... even then it was crazy loud.
So cinema-FV5 is definitely a must with music. Not sure if I can upload something on Youtube without violating copyrights. But surely this phone is capable of recording high quality audio for sure.
Same happened to me. After recording the stage with artists and loud music. It looked OK, stabilised video at 1080p, but sound lacks bass with stock camera app.
I would like to try better camera apps like gcam, just there are ~50 hours for me to wait till I can unlock my bootloader and flash a decent ROM.
Then we could record at 60fps 1080p and [email protected] with normal audio.
kellerman40 said:
Same happened to me. After recording the stage with artists and loud music. It looked OK, stabilised video at 1080p, but sound lacks bass with stock camera app.
I would like to try better camera apps like gcam, just there are ~50 hours for me to wait till I can unlock my bootloader and flash a decent ROM.
Then we could record at 60fps 1080p and [email protected] with normal audio.
Click to expand...
Click to collapse
Forget gcam or other roms for now since they use the same audio path. There is another trick I read about but it involves a lot of work and I would hardly call it a working thing unless you spend a lot of time. Check this thread. I know for the MI MIX but same procedure applies for now. https://forum.xda-developers.com/mi-mix-2/how-to/mi-mix-2-video-sound-recording-quality-t3776450
Leave the 60fps and 4K behind if it is in a dark environment. You might end up with dropped frames etc which is really annoying.
lukesan said:
Forget gcam or other roms for now since they use the same audio path. There is another trick I read about but it involves a lot of work and I would hardly call it a working thing unless you spend a lot of time. Check this thread. I know for the MI MIX but same procedure applies for now. https://forum.xda-developers.com/mi-mix-2/how-to/mi-mix-2-video-sound-recording-quality-t3776450
Leave the 60fps and 4K behind if it is in a dark environment. You might end up with dropped frames etc which is really annoying.
Click to expand...
Click to collapse
Have you tried it? I've tried your trick with the bitrate increase in media_profiles.xml, though I've set it to 192000 and used the FV-5 disable the AGC and it's much better quality! Although the bass is a bit too much pronounced and the meds and highs are a bit sacrificed, it's still much better than stock. But with the custom settings for audio in FV-5 it makes that "underwater" sound, no matter which combination I used, but I did everything according to your post, only if I leave the default values it works. (I now suspect it was maybe because of the stereo recording option)
I am interested to make some changes using the thread you linked, I'm just afraid not to make a mess of volumes in earpiece or introduce echo during a call or something like that, that's why I'm hesitating.
The AGC makes a total mess of recording, it lowers the quality and introduces background noise.
For the 60fps I'm not sure that works as none of the camera app that I've tried are able to record it (I'm on AOSP based rom) because it depends on the camera blobs, and I'm not sure Xiaomi updated the sources, but they did introduce it in MIUI 10 builds.
Cirra92 said:
Have you tried it? I've tried your trick with the bitrate increase in media_profiles.xml, though I've set it to 192000 and used the FV-5 disable the AGC and it's much better quality! Although the bass is a bit too much pronounced and the meds and highs are a bit sacrificed, it's still much better than stock. But with the custom settings for audio in FV-5 it makes that "underwater" sound, no matter which combination I used, but I did everything according to your post, only if I leave the default values it works. (I now suspect it was maybe because of the stereo recording option)
I am interested to make some changes using the thread you linked, I'm just afraid not to make a mess of volumes in earpiece or introduce echo during a call or something like that, that's why I'm hesitating.
The AGC makes a total mess of recording, it lowers the quality and introduces background noise.
For the 60fps I'm not sure that works as none of the camera app that I've tried are able to record it (I'm on AOSP based rom) because it depends on the camera blobs, and I'm not sure Xiaomi updated the sources, but they did introduce it in MIUI 10 builds.
Click to expand...
Click to collapse
Strange that you got the underwater sound. Can you check with this one? https://mediaarea.net/en/MediaInfo Just drag and drop the file on it. It will show the audio properties.
Just to confirm again my settings in FV-5 I changed the resolution to 2592x1296 (turn on handshake thing on where you can actually see where you are recording, weird setting I know). In the 'Audio' settings check the attached screenshot.
lukesan said:
Strange that you got the underwater sound. Can you check with this one? https://mediaarea.net/en/MediaInfo Just drag and drop the file on it. It will show the audio properties.
Just to confirm again my settings in FV-5 I changed the resolution to 2592x1296 (turn on handshake thing on where you can actually see where you are recording, weird setting I know). In the 'Audio' settings check the attached screenshot.
Click to expand...
Click to collapse
Oh yes I did that, but you didn't check the "Custom audio settings" box so the app uses default system settings rather than the ones you selected. Try it out if you didn't already.
And I've checked with MediaInfo, the video was recorded in 96K (because the app didn't use custom settings), but anyway it should be using maximum possible values the device has set in media_profiles_vendor.xml, which is in my case 192K. I've seen now that media_profiles_V1_0.xml is basically the same file and there is 96K set as maximum, maybe both files need to be changed?
Cirra92 said:
Oh yes I did that, but you didn't check the "Custom audio settings" box so the app uses default system settings rather than the ones you selected. Try it out if you didn't already.
And I've checked with MediaInfo, the video was recorded in 96K (because the app didn't use custom settings), but anyway it should be using maximum possible values the device has set in media_profiles_vendor.xml, which is in my case 192K. I've seen now that media_profiles_V1_0.xml is basically the same file and there is 96K set as maximum, maybe both files need to be changed?
Click to expand...
Click to collapse
That's normal since it seems you can't overwrite those settings in our current roms it seems. I bought that FV5 but I emailed support and never gotten answer back, to bad. It always takes the settings from that file on the phone it seems. And yes if you see 96Kb/s than it is normal that you hear these metallic sounds. Can you maybe attach the media_profiles_vendor.xml you have in the /system/vendor/etc dir?
lukesan said:
That's normal since it seems you can't overwrite those settings in our current roms it seems. I bought that FV5 but I emailed support and never gotten answer back, to bad. It always takes the settings from that file on the phone it seems. And yes if you see 96Kb/s than it is normal that you hear these metallic sounds. Can you maybe attach the media_profiles_vendor.xml you have in the /system/vendor/etc dir?
Click to expand...
Click to collapse
Well recording in 96K instead of 48K which was the case with MIUI 9.5 in GSMArena test is already an improvement, however I'm sure this device is capable of even more. So for now, seems that just disabling AGC made a very good difference, it might just get better if we raise the bitrate even more. I've seen in the thread you linked that they actually modified media_profiles_V1_0.xml in case of LineageOS to raise the bitrate, I will now try that one as well.
Here is my file you requested.
lukesan said:
That's normal since it seems you can't overwrite those settings in our current roms it seems. I bought that FV5 but I emailed support and never gotten answer back, to bad. It always takes the settings from that file on the phone it seems. And yes if you see 96Kb/s than it is normal that you hear these metallic sounds. Can you maybe attach the media_profiles_vendor.xml you have in the /system/vendor/etc dir?
Click to expand...
Click to collapse
I confirm that changing the media_profiles_v1_0.xml does increase the bitrate! I have set it to 192K, however since the maximum value that was set for each resolution (I've tested 1080p) is 156K the app used that one based on previous setting. Now every app should use the 156K if we don't alter the bitrate for each resolution separately (that's my guess at least).
lukesan said:
Just came back from the festival that I told about. The default MIUI video cam.. wow made a complete mess. The AGC went completely crazy and no bass. Using cinema-FV5 ... wow listening to it right now with my earplugs..... it's like I'm still there. Ok the bass sounds (only) a bit distorted, but I was standing at the front and the smart people there handed out headphones that dampened sound to the kids. I myself suffer from tinnitus so I have -20dB earplugs ... even then it was crazy loud.
So cinema-FV5 is definitely a must with music. Not sure if I can upload something on Youtube without violating copyrights. But surely this phone is capable of recording high quality audio for sure.
Click to expand...
Click to collapse
I tried this app with the steps you mentioned and yeah, sound is better for sure but it's much better if we can get the same result on stock cam.
let's take it step by step, first is the bit rate, even after using Mi Max 3 files the bit rate remains the same! i checked my old Sony Xperia z2 mediaprofiles.xml and i found the aac bitRate is also 192000, see the video sample result in the 1st pic from sony and second one from note 5 pro!
Now clearly there's something controlling the cam audio beside mediaprofiles.xml since the modifications wasn't enough!
I'll record a log while recording and let's see if i can find any info about that!
@Cirra92 60 FPS is working on 9.5, i thought like you about blobs but surprisingly no! now i'm on 9.5.19.0 and i just got the camera apk from MIUI 10 and i have 60 FPS!
Also i found another thing which is interesting but it's still not working even on Mi Max 3.....looks like 120 FPS HFR is on the way!
Check this video out: https://www.youtube.com/watch?v=0rjZx_5JD1s (13.06)
I managed to get this setting even if it's still grey!
etc\device_features/whyred.xml just added those lines:
<!--whether support camera video high frame-->
<bool name="support_camera_video_high_frame">true</bool>
let's try to make the cam perfect as much as possible!

How to improve speakers quality (balance, bass, clarity) [7 / 7T / 7 Pro]

It's possible to significantly improve loudspeakers sound quality and fix imbalance with hidden Dolby Atmos settings.
Follow any or both steps below (good for all Oneplus 7 series).
STEP 1: Fix stereo imbalance (ROOT is required)
The top loudspeaker sounds louder and crispier than bottom (moreover, the top rattles more at high volume). This can be fixed by editing dax_sqlite3.db with any SQLite editor:
Code:
/data/vendor/dolby/dax_sqlite3.db
I used SQLite Editor app:
1. Open dax_sqlite3.db and go to "tunings".
2. Open record with "speaker_landscape_normal" and edit 2 parameters, then save.
Replace audio_optimizer_gain_l with new value:
Code:
-56,0,40,16,8,0,0,0,0,0,0,0,0,0,0,0,0,0,0,-16
Replace audio_optimizer_gain_r with new value:
Code:
-16,24,72,48,40,32,32,32,32,32,32,32,32,32,32,32,32,32,32,16
Each number separated by comma = gain in dB * 16 (i.e. "32" means "+2 db", "-16" means "-1 db").
3. (OPTIONAL - may be useless on your rom) Analogically replace the same parameters for the records "speaker_portrait_normal", "speaker_landscape_India", "speaker_portrait_India".
4. Reboot. That's it!
If something goes wrong (or you dislike new sound), just remove dax_sqlite3.db and reboot. Dolby will re-create it and return all default settings. Details about this edit:
We change overal speaker output optimization. Practically it's 20-band EQ for each physical speaker (audio_optimizer_gain_l = top).
So we reset both EQs to sound equally neutral, but keep the top speaker ~2 db lower.
STEP 2: Enable graphic EQ for speakers
You can activate dolby atmos equalizer for loudspeakers (available only for headphones by default) to get more bassy and clean sound.
If you don't have ROOT, use this DAX2 app: https://forum.xda-developers.com/oneplus-7t/how-to/dolby-atmos-equaliser-7t-hd1903-root-t4054999
You will have to disable/freeze built-in dolby tuner for full functionality (see tips also in that thread).
If you have ROOT, I recommend the method below. It relies on internal dolby app and will work in all modes (dynamic/movie/music + ringtone).
You'll need to edit sound_tuner.db with any SQLite editor:
Code:
/data/data/com.oneplus.sound.tuner/databases/sound_tuner.db
Again with SQLite Editor app:
1. Open sound_tuner.db, then go to "sound_tuner" and edit the line with "speaker_device".
2. Change values for "headphone_style_preferred" ("Intelligent style") and "audio_frequency" (EQ itself), then save changes.
headphone_style_preferred keeps value from 0 to 3 (0 - balance, 1 - warmer, etc), "0" is recommended.
audio_frequency keeps a string with each band gain in dB, separated with '#' without spaces. Recommendation for 7T:
Code:
4.4#6.5#0.0#-7.8#-6.5#-5.0#-4.5#-4.0#-3.6#-4.0
Don't use "7.0" or higher for first three bands - it will harm the speakers at high volumes.
3. To apply EQ switch current mode in Dolby Atmos settings (e.g. Music to Dynamic). That's it!
To reset EQ you can return "0#0#0#0#0#0#0#0#0#0" in "audio_frequency".
Embox said:
It's possible to use hidden built-in dolby atmos equalizer for speakers, root is required.
Works at least for all latest Oneplus (7 / 7 Pro / 7T).
You need to edit sound_tuner.db - dolby keeps its settings for all connected devices here.
I used MyAndroidTools for quick editing:
Click to expand...
Click to collapse
I have a really dumb question: where can I find that app? I searched the play store and nothing I found came up with db editing tools.
Sorry about the search failure question, this is something I'd like to do.
MyAndroidTools can be downloaded at least on Github. As i'm new user here, I cannot paste links yet. Google "MyAndroidToolsWebsite github". I used 1.6.8 release apk.
There's also "aSQLiteManager" app on the play store, it's old and quite slow, but works on my 7T. Enough for tuning the speakers once
grandpajiver said:
I have a really dumb question: where can I find that app? I searched the play store and nothing I found came up with db editing tools.
Sorry about the search failure question, this is something I'd like to do.
Click to expand...
Click to collapse
https://www.apkmirror.com/apk/wangqi/my-android-tools/
Embox said:
It's possible to use built-in dolby atmos equalizer for speakers, for example, to emphasize lows and decrease highs.
Root is required. Works for all Oneplus 7 Series
You'll need to edit sound_tuner.db with any SQLite editor:
Code:
/data/data/com.oneplus.sound.tuner/databases/sound_tuner.db
I used MyAndroidTools for quick editing:
1. Turn Music mode for speakers in Dolby Atmos and play any favorite track looped (not necessary, but much easier to compare sound difference further).
2. In MyAndroidTools go to Database > Dolby Atmos > sound_tuner.db > sound_tuner and open the line with "speaker_device".
3. Change values for "headphone_style_preferred" ("Intelligent style") и "audio_frequency" (10-band EQ), then save changes.
headphone_style_preferred keeps value from 0 to 3 (0 - balance, 1 - warmer, etc), i prefer "0".
audio_frequency keeps a string with each band gain, separated with '#' without spaces.
For 7T try this (more bassy and clean sound, but little loss in volume):
Code:
[B]2.5#6.8#0.0[/B]#-8.0#-6.0#-5.0#-4.5#-4.0#-3.8#-4.0
Don't use "7.0" or higher for first three bands - it brings distortion at high volumes.
4. To apply EQ switch to dolby atmos and change Music mode to Dynamic, and then back to Music. That's it!
To reset EQ you can return "0#0#0#0#0#0#0#0#0#0" in "audio_frequency".
Speaker EQ settings don't affect any headphones, work in all modes (dynamic/movie/music, also in ringtone mode)
Click to expand...
Click to collapse
Thanks, sounds really better now!
Speaker bass and clarity is good.
Will this trip safety net? Thanks!
c19932 said:
Will this trip safety net? Thanks!
Click to expand...
Click to collapse
Nope.
Igot this working. Thank you for your help. The bass is really nice, but I am concerned about whether the heavy bass will be bad for the speaker in the long run. any idea?
Also, also preset audio_frequency for car speakers for heavy bass? Thank you! this is great!
c19932 said:
whether the heavy bass will be bad for the speaker in the long run
Click to expand...
Click to collapse
It can harm at max volumes, mostly the top speaker. If you constantly use max volume or close, better keep first three bands under "6.0" and turn off "Intelligent EQ" (set it to "3"), as any iEQ enables additional bass boost for speakers.
My goal was great clear sound at low-to-mid volumes.
I was searching for the possibility to enable EQ on 7t without root, but nothing really worked, until I found Dolby Atmos DAX2 app (originaly from Razer phone)... (you can find it on apkmirror - I cannot share links yet...) works pretty well... maybe someone can have a use for it too...
Hege said:
Dolby Atmos DAX2 app (originaly from Razer phone)... (you can find it on apkmirror
Click to expand...
Click to collapse
Great finding, thanks! I checked it too and it works
This DAX2 app doesn't sync with built-in Oneplus sound tuner though (7T at least). Any change under "Settings -> Sound & vibration -> Dolby Atmos" and EQ for any device will be overrided.
It seems Oneplus has 2-way atmos audio library access - via standard SoundTuner app (in "Settings") and Dolby itself (which can be tuned by this DAX2 app).
I updated the first post - how to fix loudspeakers imbalance and improve total quality.
Try it, now Oneplus 7T sounds perfectly
Embox said:
I updated the first post - how to fix loudspeakers imbalance and improve total quality.
Try it, now Oneplus 7T sounds perfectly
Click to expand...
Click to collapse
Will done. Sounds beautiful!
Thanks for the awesome work. Anyone planning on making a magisk module or something simple for those of us not as inclined to flash all this code?
Hope too, i'm not into magisk much...
A thing about step 2 - this file is personal and keeps your headphone profiles too. Unless magisk module can change (not replace) *db file, you will have to re-tune all profiles again.
Upd: I removed attached file for replacing original db. Seemed to work incorrect even on my device (dolby turned off any effect). Manual editing still works fine.
Hey! I remember back then you posted a value set that produced great bass. Could you post that again? Thanks!
c19932 said:
Hey! I remember back then you posted a value set that produced great bass. Could you post that again? Thanks!
Click to expand...
Click to collapse
Hey! Before finding dax3_sqlite.db i used almost the same set for global EQ (now this is "step 2"):
Code:
2.5#6.8#0.0#-8.0#-6.5#-5.0#-4.6#-4.2#-4.0#-4.2
A value set i like most now in combination with additional "step 1" is updated in the first post.
You can visually and faster adjust EQ with Dax2 app in this post (then copy its values to "step 2" and remove the app):
https://forum.xda-developers.com/oneplus-7t/how-to/dolby-atmos-equaliser-7t-hd1903-root-t4054999
Thanks for the guide, my speakers sound really nice now. I have a few questions. May I know how you got the values for the speaker balancing? Not planning on doing it myself or anything, just curious. Also, with your EQ values, what are the odds of damaging the speakers at max volume?
Thanks for feedback, I also loved more 7T speakers, though sound got a little quieter.
Terrigible said:
how you got the values for the speaker balancing?
Click to expand...
Click to collapse
The stock top speaker is louder (not much, but noticeably), GSMArena also mentioned that. Stock EQ values ("Step 1") remind me random earthquake graph, for example bottom speaker gains:
-219,-16,68,-16,-16,0,9,-11,9,-16,52,9,32,-16,-46,4,-11,12,38,-16
So I reset them all to neutral ("0"), add little bass except lowest/highest bands (speakers can't produce 46/20000 Hz). Then made bottom value set +32 higher ("+2 db"), it sounds ok for total balance (no precise measurements with mic). After I adjust global EQ based on this neutral setup ("Step 2").
Curious can also find more hidden fields to tune like bass boost, headphone optimization in the "dax_sqlite3.db".
Terrigible said:
what are the odds of damaging the speakers at max volume?
Click to expand...
Click to collapse
Good odds with extreme gains and constant max volume. I mean "step 2" (global EQ), no harm with "step 1" only.
On my experience all gains below +6 db are save, no distortion. One can decrease this to +4...5 db for sure safety.
Thanks for this man, now my 7t speaker sounds correct.
Anyway would you please share your EQ settings for Headphone?

Categories

Resources