(MOD) (Omnirom n8013 only) increase headphone volume and speaker volume to the max ! - Galaxy Note 10.1 Original Development

(Tested in Omnirom 4.4.4 for Note 10 n8013 only)
For those who want to increase headphone volume and speaker volume without distortion to the max beyond device max volume flash this file in recovery (disable zip signing check in recovery) and enjoy !!!
You will have to flash this file with every rom update till this mode included in rom by default
Done as always by using Alsamixer app and knowning the current max volume and maximum volume that could be reached then editing manually by Es file explorer
Please if you like it ask the developer to include it permanently in the rom

Mohamedselim said:
(Tested in Omnirom 4.4.4 for Note 10 n8013 only)
For those who want to increase headphone volume and speaker volume without distortion to the max beyond device max volume use this file in attachments :
1- unzip
2- use es file explorer in root mode
3- place the file (unzipped) to system/etc/sound and overwrite the file with same name and set permissions to rw-r-r root root and reboot device and enjoy !!!
You will have to replace file with every rom update till this mode included in rom by default
Done as always by using Alsamixer app and knowning the current max volume and maximum volume that could be reached then editing manually by Es file explorer
Please if you like it ask the developer to include it permanently in the rom
Click to expand...
Click to collapse
Be careful: the property "Speaker Boost Volume" was already in there I've added it long time ago (line 42) with a comment, plus see property "AIF1DAC1 3D Stereo Volume" at line 101. I have lowered those values after the users reported distorted audio (search in omnirom 4.4.4 thread around a year ago, maybe less)

marco9333 said:
Be careful: the property "Speaker Boost Volume" was already in there I've added it long time ago (line 42) with a comment, plus see property "AIF1DAC1 3D Stereo Volume" at line 101. I have lowered those values after the users reported distorted audio (search in omnirom 4.4.4 thread around a year ago, maybe less)
Click to expand...
Click to collapse
Thanks for commenting
The increase in speaker volume is tiny from 60 to 63
The increase in headphone volume is big from 50 to 63 (as reported by Alsamixer app) and i confirm no crackling sound especially in headphones even if pumped to full volume (63) (you need a decent pair of headphones of course as Beats or Skullcandy etc)

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

Increase volume

As our zenfone 2 are realy good. they lack strengh of volume.
I have found this thread about others zenfone. Can a master take a look. And adjust it to our phones.
http://www.asus-zenfone.com/p/forum.html#nabble-td369
Thank you.
yes, how????
I don't have any problem with volume of speaker but earphone volume seems a bit low when using poweramp
Yeah, I was wondering how to increase the volume even more, especially so that I don't miss important calls or texts.
the volume is lowest ever made on smartphones! any tweaks??
Viper4Android - http://forum.xda-developers.com/showthread.php?t=2191223
Viper does nothing for volume
The other day I discovered that I can change the headphone and speaker gain on my Samsung Galaxy Tab S tablet by editing /system/etc/default_gain.conf. This worked on Lollipop and KitKat.
http://forum.xda-developers.com/showpost.php?p=58589358&postcount=3
You need root, install es file explorer, enable root mode, mount /system rw from ES, then edit that file with ES file editor, and reboot. Then if you don't need root anymore, you can mount /system back ro, disable root mode, and do full unroot from supersu settings. I have no idea if the same works on other devices, but you can try.
I don't have any problem with the volume quantity but the quality.... Noise gets distorted above 80% .. Ringtones,mxplayer,music in every thing.
I owned 2 Z00A models both of them had the same problem.
Even tried other custom roms.... That also didn't do anything.
Do anyone else face this issue ?
Sent from my ASUS_Z00AD using Tapatalk
It is not possible that some of you say that you have no issue with the sound volume . me and my friend just bought two zen2's and both of us had other phones before and we were veeerry surprised when we heard the super low voltage on zens .
Huggge difference compared to g3,huwawei mate and htc 8.
There was this tweak for g3 to edit mixer_path.XML and the volume gained like 50% loudness that was incredible. Is there any way to do the same with zen2?
dogsfoot said:
Viper does nothing for volume
Click to expand...
Click to collapse
I would beg to differ. I can't remember which settings I tweaked, but here's a guide for the older version of Viper4Android:
http://freaktab.com/forum/tablet-su...-louder-on-android-devices-viper4android-root
Should be along a similar path.
Alsa Mixer is the solution, but root is reqiured. Just install Alsa from play store and modify RX1 Digital to RX7 Digital.
Alsamixer isn't working for me. I get "cannot link executable: cannot load library libasound.so
Sent from my ASUS_Z00AD using Tapatalk

|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.

Increase device volume output (avoiding rooting / unlocking bootloader if possible)

Hi, I want to increase the very low default volume of the headphone jack on the Xperia XA2. I'm using AIMP which has a built-in EQ and preamp which works well but leads to high distortion (these headphones can handle a lot more without distortion).
On other devices / custom ROMs there is usually a file in /system/etc/ such as mixer_gains.xml, mixer_paths.xml or other configuration file which can be edited to increase the volume output from the hardware with (little to) no distortion. With the latest firmware 50.1.A.10.40, I've explored this folder with a system file explorer and most of the obvious choices aren't there, there doesn't seem to be any file which I could modify to increase the volume.
(I will mention there are a lot of files in /system/*vendor*/etc/ which appear to be of the correct format, but I don't know if any of these are actually used by the system).
I don't want to use a software solution (app from Play Store, etc) since these seem to use an algorithm to increase the gain in software leading to high levels of distortion. I haven't unlocked my bootloader / rooted since there's no guarantee that I'll be able to increase the volume anyway. Has anybody has success increasing the volume on this or a similar device?
Ok, I couldn't stand it any longer so I unlocked the bootloader and rooted.
Since I couldn't figure out exactly where wired headphones were referenced in the mixer_paths*.xml in /vendor/etc/, using FX file explorer I copied them to a folder and with Notepad++ on my PC replaced each instance of the default volume in all the files (84) with a higher value (96), before copying them back into /vendor/etc/.
After a reboot... system volume (and headphone volume) now at a healthy* level
If anybody wants me to upload a zip of the modified files, you could copy them into /vendor/etc/ using an appropriate file manager (provided you have unlocked the bootloader and are rooted).
After a dozen reboots or so, I found the values referencing wired headphone volume.
In /vendor/etc/, the file mixer_paths_mtp.xml (lines 313, 314):
<ctl name="RX1 Digital Volume" value="84" />
<ctl name="RX2 Digital Volume" value="84" />
These lines can be modified to increase / decrease the wired headphone volume. I've increased them to 100 in my setup.
The following lines (RX3 RX4 and/or RX5) appear to modify the volume of the phone speaker.
I've attached a modified mixer_paths_mtp.xml which you can copy to /vendor/etc/, although it may be easier to simply modify the relevant lines in a root enabled text editor on your phone.
Requires a reboot to take effect.
This would be the first thing I look for after buying a new phone. I hope it helps somebody. Thank you
Great stuff.
Quick question. Do you live within the EU (I do). My phone is also a bit quiet.
Would be interesting to compare values from phones from inside and outside the EU with the enforced volume limits
Certainly would be interesting, and that's a potential avenue for increasing the volume without rooting (though I know very little about how Sony distributes their firmware). Yeah, in the EU and I had heard (barely, haha) that there were volume limits so guessed that may have something to do with it.
jimmygumble said:
Great stuff.
Quick question. Do you live within the EU (I do). My phone is also a bit quiet.
Would be interesting to compare values from phones from inside and outside the EU with the enforced volume limits
Click to expand...
Click to collapse
Using a Xperia XA2 bought from USA, and flashed the GEL Customized version (Latin American version), and values are the same... All RX Digital Volume are limited to 84.

Low volume except in nougat .

As we all know ,zuk z2 plus has a very low speaker and ear piece.
People usually use Dolpy Atmos module to make the volume louder . It works , but I tried different versions of it but the only one that worked for me was the nougat version and now I'm stuck with android nougat because the loud volume is very important for me.
What do you use to make uour volume louder guys ? I want to update to pie but all the roms I tested have a really low volume .
The Sinbad said:
As we all know ,zuk z2 plus has a very low speaker and ear piece.
People usually use Dolpy Atmos module to make the volume louder . It works , but I tried different versions of it but the only one that worked for me was the nougat version and now I'm stuck with android nougat because the loud volume is very important for me.
What do you use to make uour volume louder guys ? I want to update to pie but all the roms I tested have a really low volume .
Click to expand...
Click to collapse
1.download a file explorer
2.Go to *root* > vendor > etc
3. Open mixer_paths_tasha.xml in editor.
4. To increase speaker volume -
Find "RX7 DIGITAL VOLUME" and change it's value from 84 to 87
5 to increase earpiece volume -

Categories

Resources