I've read/tried a few methods to get sound to redirect to a mono (non-A2DP) bluetooth headset. Anyway, I've come up with my own quick fix to the problem. It's a slightly ugly, brute force method, but it works.
So you need installed:
1) vijay555's VJVolubilis (v0.41)
http://www.vijay555.com/?Releases:VJVolubilis
2) MortScript (4.0)
http://www.sto-helit.de/index.php?module=download&action=view&entry=65
VJVolubilis -agon works almost perfectly, but after a phone call, the audio is re-routed back to the mobile (on my AKU 2.2 Prophet, anyway). So that's where MortScript comes in. I've written a script that runs continuously in the background to use VJVolubilis, keeping the sound redirected to the BT headset.
I've attached the scripts and a shortcut file. Put the scripts in \Program Files\Tools, and put the shortcut in \Windows\Start Menu\Programs. Or put the scripts wherever you want and make your own shortcut.
Note: It's TWO scripts now. One to activate the program, the other to run in the background. This is changed for MortScript v.4.
How it works
---
The script runs VJVolubilis every 4 seconds, which should be frequent enough to switch the audio back before another phone call. Be careful if you edit the script and lower the delay, as it might cause a race condition.
To enable BT audio redirection, turn on your BT headset and then run the script. To turn it off, re-run the script to cancel it (give it a few seconds), then turn off your headset. It's as simple as that.
FYI, I measured the CPU usage (using TCPMP), comparing just enabling VJVolubilis vs. running the script. The difference was about 0.2%, so given the margin of error, it's not much in any case.
Notes:
1) Please make sure to cancel the script when you turn off the headset, otherwise your PPC might become unstable.
2) The script keeps BT audio gateway open, which sucks back a lot of power. On my S200, an average day's use is around 50% battery usage, and the headset running out of power (6 to 9 hours, depending on the headset).
3) Argh!!! I made some MortScript v4 syntax mistakes. I hope it's all fixed now.
Cheers!
I downloaded your zip file,un-zipped it and i t contains only 1 cab file(btaudio),installed on my device,but i didn't see any files in the \\Program\tools folder and where is the script file you mentioned located?how to make it to work?thanks.
2kmy477 said:
I downloaded your zip file,un-zipped it and i t contains only 1 cab file(btaudio),installed on my device,but i didn't see any files in the \\Program\tools folder and where is the script file you mentioned located?how to make it to work?thanks.
Click to expand...
Click to collapse
Get and install mortscript; start it so that the file associations (mscr) are set. After this, just start BT Audio.lnk in Programs.
BTW, nice stuff; I'll link it from my "official" article on all these q's.
Where to get the MortScript file?I thought it was included in the BTAudio.zip file.Thanks.
Sorry for not being totally clear... I thought I had written way too much already.
Get VJVolubilis from here:
http://www.vijay555.com/?Releases:VJVolubilis
Mort's site is under renovation, but you can find MortScript from his download site:
http://www.sto-helit.de/downloads/pocketpc/
Both are very small downloads. My zip file only contains a script file and a link to that script.
Anyway, I hope it works...
Edit: BTW, please make sure the BT headset has been turned on *before* using the script. Otherwise cancel the script, turn off the headset and start over.
Okay, thanks Menneisyys! It's not exactly extensively tested, but hopefully it will work on other devices.
Hi everyone, just an FYI, I updated the script so it should work a bit more reliably.
Also, MortScript 4.0RC4 (was RC3) is available (see above).
Which OS(s)?
Does any of this run on WM5 Smartphone edition? More specifically, the Samsung i607 Blackjack? Thanks!
I believe both apps support WM5 smartphones. Just a matter of copying the scripts over after that.
I don't have a WM5 smartphone, so you're gonna have it to try it.
Did you ever find a solution for this on the BlackJack? I was thinking about purchasing one, but it's worthless to me unless I can find a way to route all audio to a mono bluetooth headset.
can not download VJVolubilis. It is a dead link.
chip677 said:
can not download VJVolubilis. It is a dead link.
Click to expand...
Click to collapse
Yeah, right. How come everyone else can? at least try browsing the site - http://www.vijay555.com/
http://www.vijay555.com/ can not browse too.
Hi guys, I've updated the script and links to the programs (see first message). Vijay's site works for me, so maybe it was just down for a bit.
BTW, I've made a new script to only redirect BT audio when the phone rings, but I'll post it to a new thread.
Edit: Sorry, I messed up the script yesterday... I hope it works okay now.
I am using a Dopod D810 (HTC mobile device) and a Plantronic Discovery 640 bluetooth headset. I have tried many times your new method here. Still, I could not listen to the mp3 music via the bluetooth headset! Please help to solve this problem.
As I making a beats mod for sense 3.5, found interesting file TPA2051_CFG.csv and TPA2051_CFG_XC.csv, the first one should be the template and the second one is the working i2c command file for various system volume, search google for TPA2051, is the amplifier which uses i2c interface, I don't know what exactly i2c is, maybe electronic engineers can explain. Comparing XE and normal sensation's, giving only one difference value, see below in blue, that is the playback_headset max amplified value, XE is 55, sensation is 50, that's why the later you hear a lower volume, tweak it to 56 or maybe higher to here boom-boom-boom, pong-pong-pong, ping-ping-ping effect!
For ICS, get the files from my beats mod.
Do not tweak other values except you know exactly what you are doing, there are many of them are gain control, just one bit of them could doubled the gain and may damage your speaker. The datasheet has all the descriptions of these registers of I2C interface.
0x55 seems to be the largest value that the stock htc headset and beats headset can tolerate, 0x59 seems to be the largest value that the speaker can tolerate. For both, the largest volume value is 0x5F.
This should also applies to any other htc devices as long as there is a file similar to this, this is sensation's TPA2051_CFG_XC.csvf ile, if you are using other device, just use that file of your device.
================================================
SoundBoostForGB&ICS.zip
This work for both GB & ICS, without enable the AGC, enabling AGC making music sounds not so good, values for headset is default of XE ROM (0x55), and speaker is (0x59)
#TPA2051 PYDLE_20111027_1Voutput_ON_55_OFF_4F,,,,,,,,,
#mode/kind/i2c_cmds[7],,,,,,,,,
#kind = 0:spk, kind = 1:HEADSET, kind = 2:ring ,kind = 3:rev,kin=4 : 0ff,,,,,
0,4,0x00,0x90,0x00,0x00,0x00,0x00,0x00,#TPA2051_MODE_OFF
1,0,0x00,0x82,0x00,0x07,0xCD,0x59,0x0D,#TPA2051_MODE_PLAYBACK_SPKR
2,1,0x00,0x8C,0x20,0x57,0xCD,0x55,0x0D,#TPA2051_MODE_PLAYBACK_HEADSET
3,2,0x00,0x8E,0x20,0x57,0xCD,0x16,0xCD,#TPA2051_MODE_RING
4,0,0x00,0x82,0x00,0x07,0xCD,0x59,0x0D,#TPA2051_MODE_VOICECALL_SPKR
5,1,0x00,0x8C,0x20,0x57,0xCD,0x55,0x0D,#TPA2051_MODE_VOICECALL_HEADSET
6,0,0x00,0x82,0x00,0x07,0xCD,0x59,0x0D,#TPA2051_MODE_FM_SPKR
7,1,0x00,0x8C,0x20,0x57,0xCD,0x0B,0x8D,#TPA2051_MODE_FM_HEADSET
8,3,0x00,0x8C,0x20,0x57,0xCD,0x55,0x0D,#TPA2051_MODE_PLAYBACK_rev
9,3,0x00,0x8C,0x20,0x57,0xCD,0x55,0x0D,#TPA2051_MODE_VOICECALL_rev
10,4,0x00,0x8C,0x20,0x57,0xCD,0x55,0x0D,#TPA2051_MODE_PLAYBACK_HEADSET_BEATS_ON
11,5,0x00,0x8C,0x20,0x57,0xCD,0x4F,0x0D,#TPA2051_MODE_PLAYBACK_HEADSET_BEATS_OFF
i2c is a in-circuit protocol for comunicating. Thats the protocol the chips and memory banks use to transfer and address data. It is based on a serial connection. I dont know if any of that helps but just wanted to share that info. Now for a question, how to apply and what are the compatable ROMs?
celelivada said:
i2c is a in-circuit protocol for comunicating. Thats the protocol the chips and memory banks use to transfer and address data. It is based on a serial connection. I dont know if any of that helps but just wanted to share that info. Now for a question, how to apply and what are the compatable ROMs?
Click to expand...
Click to collapse
A big thank for your information, and that proves that value is the radio button of amplifier, and since it is a protocol, it will alike for all devices that uses the same chip, how to apply I'll post it on first post. Thanks.
Hi,
I just tested for the value in PLAYBACK_SPKR,set as you recommended and...Yes it works!There is an improvement
Thank you very much for this tip,very good
No one else has tested
WELL DONE. It works !!!! I will look into the other files and see how to tweak them if and when I get time because I'm at college for my masters all day. If there's anything I can help you, feel free to PM.
senastoin xe sense 3
would this work on my sesation xe runing sense 3 stock rom and were do i fiid the files new to this first andriod phone was using wm6.5
it should work, didnt check it but it has ti have this cofig file. It says in the first post, I used ES file manager, and enabled the root access feature and browsed to the file specified and chenged the 2 values.
---------- Post added 15th December 2011 at 12:25 AM ---------- Previous post was 14th December 2011 at 11:48 PM ----------
I found the AIC3254_reg_dualmiccx file and after a loooong review of the datasheet from texas instruments, it seems that the video recording clipping can also be fixed this way. I found that in the:
A17,VideoRecord_IMIC,SET,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w
,,REGISTER,0x00,0x34,0x36,0x37,0x39,0x3B,0x3C,0x00,0x51,0x52,0x53,0x54,0x00,0x0E,0x0F,0x09,0x12,0x13
,,VALUE,0x01,0x20,0x02,0x20,0x02,0x58,0x58,0x00,0x00,0x88,0x00,0x00,0x01,0x02,0x02,0x3F,0x03,0x03
you can change 83 and 84 memory bank (0x53 and 0x54) to control the volume. 0000 0000 is default in the datasheet, which is 0dB.To lower the gain you have to write a negative digital number in those registers eg. 1111 1111 is a gain of -0dB.
Thank you celelivada, I'll try at weekend. One more question, I,m tweaking some soundimage file for sound effects, the srs processor, there is input & output gain, default is 1.0 in and 1.0 out, the question is if input tweak to 0.5, will I get a a louder out?
Works great, thanks for the tip ...
Sent from my HTC Sensation Z710e using XDA App
nice. cant believe a volume fix was that easy and i know its been an issue for a long time.
mudhi said:
Thank you celelivada, I'll try at weekend. One more question, I,m tweaking some soundimage file for sound effects, the srs processor, there is input & output gain, default is 1.0 in and 1.0 out, the question is if input tweak to 0.5, will I get a a louder out?
Click to expand...
Click to collapse
I cant really tell, I really dont know if the input and output of that chip are connected, it has 2 miniDSPs, one is for input and one for output. But I think (because it sounds like it) that the number here represents a normal linear scale, not a dB one. So if you enter "2", the output would be doubled, although not twice as loud because of the whole logarithmic scale of the human ear. Be carefull with that number anyway, do small increments when testing.
edit___ I made a zip for flashing, so try it out, its based on the script for BEATS. I havent tested it but theres no reason for it not to work.
http://dl.dropbox.com/u/29005924/SoundBoost.zip
The Illest 619 said:
nice. cant believe a volume fix was that easy and i know its been an issue for a long time.
Click to expand...
Click to collapse
It is that really easy, but the process of finding that easy is really soooooooo hard. found it until I replace files of /etc from other device.
The zip file is not working. It says: installation aborted, error 6.
Sent from my HTC Sensation Z710e using Tapatalk
I'd be curious to see what RING does. Never hear it in my pocket...
Congrats on the work, though i have read this before and believe the Beats i flashed to my IC rom follows the same princepal. However what i am looking for is an improvement in Notification/Ringtones.
Is there anything in the file to indicate these can be adjusted?
vis-tec said:
Congrats on the work, though i have read this before and believe the Beats i flashed to my IC rom follows the same princepal. However what i am looking for is an improvement in Notification/Ringtones.
Is there anything in the file to indicate these can be adjusted?
Click to expand...
Click to collapse
Ringtones and notification uses the that micro mono speaker, there is no other way to improve it except change it to larger one
There is another way, I saw a post to edit the audio file raising the volume, but same principle, the speaker is not big enough to deliver higher volume.
Although I don't really understand what is the exact meaning, but those 0x values are commands to be send to the chip, and those meanings are ins/outs, directions and level of amplifying, the rings I already tried but have to read the datasheet to understand the meaning, perhaps celelivada wants to read it.
I will read it when I get the time. Now i worked on the soundimage files, and edited the SRS for music headset, and made a much punchier bass. For the .zip , I was in a hurry to make it, but it is really simple to make it yourself or just opet up the beats mod, because it already has the file but it is on stock values. You can open the zip end edit the file there than flash it.
are there other csv files where you can change a value to increase the in-call volume? on my Nexus One, Desire and INC S kernel devs were able to boost in-call volume for the HANDSET (not HEADSET). i'm assuming that the values in the OP do not affect the in-call volume/speaker versus the speaker on the rear of the phone. sadly for me, i haven't read/seen in-call volume tweaks for Sensation kernels. thanks for taking time to read/reply to my questions. (i wish i were savvy enough to do this on my own, lol).
cortez.i said:
are there other csv files where you can change a value to increase the in-call volume? on my Nexus One, Desire and INC S kernel devs were able to boost in-call volume for the HANDSET (not HEADSET). i'm assuming that the values in the OP do not affect the in-call volume/speaker versus the speaker on the rear of the phone. sadly for me, i haven't read/seen in-call volume tweaks for Sensation kernels. thanks for taking time to read/reply to my questions. (i wish i were savvy enough to do this on my own, lol).
Click to expand...
Click to collapse
This reminds me my first impression on sensation is the front speaker volume is too low, and I never seen any post on how to improves it, but it should be possible, and I believe it is the same csv file. Need some readings on datasheet and trying.
celelivada said:
I will read it when I get the time. Now i worked on the soundimage files, and edited the SRS for music headset, and made a much punchier bass. For the .zip , I was in a hurry to make it, but it is really simple to make it yourself or just opet up the beats mod, because it already has the file but it is on stock values. You can open the zip end edit the file there than flash it.
Click to expand...
Click to collapse
so the beats mod have not enough punch. Some informations I know had posted over beats mod. The best source I can find on wow settings is here
Maybe increase trubass speaker size and level, decrease focus and definition, and increase ogain... Just a reminder that you don't have to wipe cache and dalvik everytime, to save time on reboot.
Sound effect tuning should be as easy as using Windows Media Player or any other player, just can't imagine why htc doesn't give this out but instead giving a fixed value, they are supposed to be have sliding bars for emphasize effects. May be they just focus on beats (which is only a bass enhancement and nothing else, and can only be tweaked by hacking the libbeatsbass.so library).
I share how I edit and push it to phone, if you are using Windows.
Using Android SDK, and set environment variable so that everywhere you can adb push and pull, if you install htc sync, adb are also installed, they may not the same version as the Android SDK and will giving that adb is outdate and restarted everytime, so delete those files adb.exe, adbwinapi.dll adbwinusbapi.dll. For win 7 just hold shift and right click to a folder to open cmd prompt.
To compare agains files or folders, first install notepad2 and replace the default notepad, download and use windiff.exe, it can compare difference on word by word, right click can open notepad to edit, and you can easily distinguish between them.
You can leaving notepad2 open just save values you changed and push to the phone and adb reboot. And can go back or go forward for the changes.
celelivada said:
I will read it when I get the time. Now i worked on the soundimage files, and edited the SRS for music headset, and made a much punchier bass. For the .zip , I was in a hurry to make it, but it is really simple to make it yourself or just opet up the beats mod, because it already has the file but it is on stock values. You can open the zip end edit the file there than flash it.
Click to expand...
Click to collapse
If you get the time, please read the datasheet and find the tweak for handset voicecall volume. I found something interesting on sensation XL, but it's not easy to figure out. There is a new kind rev (reverse?) reverse for front and back speaker? front speaker is verrrrrrrrrrrrrry important.
#TPA2051 Runnymede_20111005,,,,,,,,,
#mode/kind/i2c_cmds[7],,,,,,,,,
#kind = 0:spk, kind = 1:HEADSET, kind = 2:ring ,kind = 3:rev,kin=4 : 0ff,,,,,
0,4,0x00,0x90,0x00,0x00,0x00,0x00,0x00,#TPA2051_MODE_OFF
1,0,0x00,0x8C,0x25,0x57,0xD3,0x0D,0x8D,#TPA2051_MODE_PLAYBACK_SPKR
2,1,0x00,0x8C,0x25,0x57,0xD3,0x0D,0x8D,#TPA2051_MODE_PLAYBACK_HEADSET
3,2,0x00,0x8C,0x25,0x57,0xD3,0x0D,0x8D,#TPA2051_MODE_RING
4,0,0x00,0x8C,0x25,0x57,0xD3,0x0D,0x8D,#TPA2051_MODE_VOICECALL_SPKR
5,1,0x00,0x8C,0x25,0x57,0xD3,0x0D,0x8D,#TPA2051_MODE_VOICECALL_HEADSET
6,0,0x00,0x8C,0x25,0x57,0xD3,0x0D,0x8D,#TPA2051_reserve
7,1,0x00,0x8C,0x25,0x57,0xD3,0x0D,0xAD,#TPA2051_MODE_FM_HEADSET
8,3,0x00,0x82,0x25,0x57,0x13,0x4D,0x0D,#TPA2051_MODE_PLAYBACK_rev
9,3,0x00,0x82,0x25,0x57,0x13,0x4D,0x0D,#TPA2051_MODE_VOICECALL_rev
10,4,0x00,0x8C,0x25,0x57,0xD3,0x4D,0x0D,#TPA2051_MODE_PLAYBACK_HEADSET_BEATS_ON
11,5,0x00,0x8C,0x25,0x57,0xD3,0x0D,0x8D,#TPA2051_MODE_PLAYBACK_HEADSET_BEATS_OFF
Hello xda community
Today I am sharing my knowledge related to the sound modding in android as a way of saying thank you for all the support I received from the xda members in the forums
About myself: I have been working as professional DJ and sound engineer for serious gigs since 15 years.
Goals: This is a general guide to help you understand the fundamentals of sound output in android and how to edit it, then you have to do some research specific to your phone/tablet or experiment on your sound file to have the desired levels. Theorically, this applies to any android phone or tablet, although the values to input will differ from one device to another and from one manufacturer to another. Here I am describing how I boosted the sound in my Xperia Z1, so be aware that applying the same values on a different phone might get different results.
Why I wrote this: Most of the sound mods will not work if you have a different android version than the one of the modder because the architecture of the sound paths might differ from one android version to another, even if it's exactly the same device, so it's vital to be able to boost your sound on your own if all the mods didn't work for you or no mod exists for your device. Sometimes also, a modder wishes to create a sound boost mod but doesn't know how to get the maximum loudness without losing quality. This will no more happen if you read and understand this guide
Note: I am not responsible if you cause any damage to your device or your sound stops working, you are the only one responsible for what you do with what is described in this guide.
Requirements: rooted phone, file explorer and note editor (I use Es File Explorer as it has both)
I wrote this guide to clarify what needs to be edited to get a louder sound without losing quality, so here are the facts:
To get started, use a file explorer and navigate to /system/etc and locate a file named mixer_paths.XML
I recommend that you make a copy of this file in case you need to restore it later if you get undesirable results with your experiements.
Open it using a note editor and locate the sections of your interest, usually there is a title for each section with the values coming right under it, e.g "Headset volume" or "microphone volume"
Starting from here you will have to find out the values specific to your device either by finding them in the forums (if you are lucky) or experimenting by editing the values I am about to explain.
HPH (amplifier/electric output) vs RX (digital/signal):
HPH: Basically, the best way to get a volume boost without decreasing the sound quality is to increase the amount of electric power that your device outputs, this will have the effect of feeding your headphones with more power which will generate more acoustic pressure (DeciBels/db) without degrading the quality (provided you didn't reach the limits of your headset). To do this, just set your HPHR and HPHL to as high as your device allows.
Rx: This is somehow the input signal of your sound, increasing this value will boost the source signal which will create distortion and saturation, this will result in a sound that will feel louder because of the generated compression, but the cost is a loss in dynamics and quality, the loss is proportional to the increase in the signal. In other words, increasing the RX value will distort and saturate the sound, you will have a louder but poor sound quality with a huge loss of bass and a flat sound, with the possibility that this will fry/damage your phone sound card and/or headphones at high volumes because of the saturation generating constant electric current which could overheat the wires/transistors beyond what they were designed to take. Add to this a higher risk to internal ear damages.
My advice is to start increasing the HPH value to the highest possible value first, save the file, reboot and see if the sound boost is high enough for you. If that was not loud enough, then try increasing the RX value by +3, save, restart and try again.
Facts: The loudness doubles at every +3 db, which means RX 85 should be 2 times louder than RX 82
Conclusion: The first step to boosting your sound is to increase the HPHR and HPHL. If more loudness is needed, increase the RX value gradually by +2 or +3 until you reach the desired loudness (try to find a good balance, I wouldn't recommend going more than +3 beyond your current RX value). Keep in mind that too much increase in RX will make you lose bass and sound quality, at that point don't expect the equalizer (EQ) of your music player to give you more bass or improve your sound quality because you have saturated/damaged the sound at its origins.
I hope this will help you set your sound at the desired levels without damaging your sound quality or devices or headphones or ears.
Note: I am using these settings on my Xperia Z1 with my Sony MH1C headset, these values should work for the Xperia Z1 Compact because it has a similar hardware. Theorically, this guide is universal and can be adapted to work with any android device, the values in mixer_paths.xml might be different on other devices but the boosting principle is the same.
More infos:
HPHR = Right output
HPHL = Left output
People with impaired hearing can set up these 2 values differently. E.g: HPH? 20 should be for the weak ear, set the value for the strong ear at anything below 20 until you reach the balance between the 2 ears.
Edit for some CyanogenMod Based ROMs: On my S4 mini running a Resurrection Remix Marshmallow ROM, which is based on CM, I didn't find the mixer_paths.xml file, instead I found a file which contained similar settings for the sound.
The file is named snd_soc_msm_2x and is situated in : system/etc/snd_soc_msm
If you found this useful, please click on the "thanks" button below to thank me That will make my day
Additional Information
Here is an additional post worth reading:
Quote:
Originally Posted by barkohba
Ok so here's the deal with (truly) increasing the ANALOG (which is what you want) volume of your xperia.
For starters, I want to specify that what I am about to present is valid, to my knowledge, to Xperia Z1, STOCK (I don't know how it behaves for other firmwares like CM11) and only rooted.
Also, I am using an MDR-1R (Sony) headset. These are high end over the ear headsets, and what's important to note is that they're made to handle, among a bunch of other sound details, high volumes without distortion,
HPH vs RX (digital):
If you increase the RX volumes, you will get a digital boost. What that means is basically you WILL get a volume boost, but that boost comes with the cost of quality, and will clearly deteriorate the sound, making the sound feel very uncontrolled and distorted. That is not normal at these volume levels with the headsets that I use, due to the fact that when I connect them to an iMac (which has a much more powerful and higher volume than what can be achieved on a smartphone/mp3 player due to its high quality sound card) the sound keeps all of its details intact, with NO distortion.
The HPH (L/R) is what you're after. This increases the analog volume (aka true volume), which raises all of the frequencies equally, giving you a real volume boost, without distorting the sound (if you have a low end headset, at high volumes the sound could sound distorted not due to the phone, but because of the headset drivers/quality). For reasons I can not explain, raising the value above 20 (I actually tried it with 23 and 25, but I have the feeling even at 21 the same thing happens, though you are free to try and report on your findings) makes the volume drop way below standard. So what you want to do is increase both HPH levels to 20!
Now in my case, and this is valid for high end headphones (at least to my knowledge), setting the HPH to 20 and slightly increasing the RX to 85 helps a bit, as the lows and especially the mids get a small boost without distorting the sound, making my MDR-1Rs sound as good as possible on a mobile device without a portable amplifier.
Basically, for me, with the aforementioned headset, the best settings is HPH-20 (both), RX-85 (both) .
You can fell free to play around with these settings, but the bottom line is, for most headsets, especially the in ear ones that come bundled and other low or mid range headsets, the best settings is increasing the HPH volumes up to 20 (or less if at max volume the headsets give out uncontrolled and distorted sound), and completely leaving the RX alone, as increasing it to levels above 85 basically destroys the sound quality, and we don't want that.
Of course, if you have high quality over the ear headsets, which tend to have pretty low volume on mobile devices due to their large drivers which need a lot of power, the absolute best option to get the most out of them is buying a mobile amplifier. Of course such amplifier cost around 600 dollars, and are specifically targeted for rich audiophiles or musicians. Sony makes on of the best portable amplifiers out there, but it's an expensive proposition since it costs as much as a flagship xperia, and is even a bit larger than one (though it does come with a special straps to hang on to your device)
Hope that helped!
Source: http://forum.xda-developers.com/showthread.php?p=62188768#post62188768
If a moderator could edit the title and correct the last word to "quality", that would be appreciated Thank you in advance
This has been tested by me and I confirm that it's working on:
Samsung Galaxy S3 i9300 (Jellybeans 4.3 stock rom, Kitkat 4.4.x and lollipop 5.x.x various custom roms)
Sony Xperia Z1 (stock lollipop 5.x.x)
I never tested this on ICS or previous android versions, but it should work if there is an mixer_paths.XML file
Happy modding and feel free to post if you have further questions, I will be more than happy to help.
Please no questions related to what values you should set to your device, this is impossible to answer if you have a different device than mine, obviously I don't own every device out there to experiment with
Very clear and well explained......One thing to mention......
I had a look in the system directory for the file (and found it)......it's in a directory that my file explorer classes as 'read only'.......
Not sure if it's necessary to change it to 'read/write' before you start?.......
Sent from my rooted, debloated stocKK kn0x0 SM-G900F
keithross39 said:
Very clear and well explained......One thing to mention......
I had a look in the system directory for the file (and found it)......it's in a directory that my file explorer classes as 'read only'.......
Not sure if it's necessary to change it to 'read/write' before you start?.......
Sent from my rooted, debloated stocKK kn0x0 SM-G900F
Click to expand...
Click to collapse
Welcome Keithross39 Glad you joined my thread
I don't know what file manager you're using, but I have never had issues or warning messages (about read/write requirements) using Es File Explorer. I don't think it would harm anything if you turned the file from "Read-Only" to "Read and Write". Alternatively, you could just copy the file to another directory, then edit the parameters you wish to adjust (boost) using a note editor and save, then you can paste the edited file on the same folder and you will be asked by your file manager whether you wish to replace the file or add a copy, just select to replace and it should be it, then you can just restart the phone and see if there is an improvement on the things you modified (headset, speaker, microphone, bluetooth headset, alarms, or anything else you edited).
If you encounter a problem, just place the original (untouched) file back to that folder and overwrite, restart and you're back to stock values.
PS: For a louder sound, I don't recommend using apps from the play store because they give false claims, they just compress your sound to make it sound louder but you lose the quality, on the top of that you may get bugs or shorter battery life if the app is running in the background. My trick doesn't require any app (other than your usual file manager and note editor) and the results are cleaner louder sound with a stable system, and these modifications will not use any additional resources (cpu or ram) since this is part of the native boot process.
On what device are you planning to boost your sound? If you wish, try posting your mixer_paths.xml file here and I will see if I can edit it to suite your needs (specify what you wish to boost in your reply)
I currently use Viper4Android with a 6 db gain boost (the maximum boost the app allows) across both speaker and headphones for alarm volume, and music/videos (headphone and speaker)
Never used sound mods from playstore. I have purchased Poweramp but I don't even use the equaliser functions built into that.....
Sent from my rooted, debloated stocKK kn0x0 SM-G900F
Here's my xml file (Galaxy s5, f variant running stock 4.4.2)
The +6 db is fine for speaker, but I'd be looking for more out of the headphones....View attachment mixer_paths.xml.zip
keithross39 said:
Here's my xml file (Galaxy s5)
The +6 db is fine for speaker, but I'd be looking for more out of the headphones....View attachment 3475791
Click to expand...
Click to collapse
I have some good news for you
I took a look at your xml file and I wanted to know what would be the maximum value I could set to certain various, so I googled and I found a thread which already implemented these changes in a mod with various boost levels. The files in the thread are flashable zips (twrp or cwm or any other will do). Alternatively, you can unzip the zip of your choice and go inside the system folder then etc and copy the xml file from there and replace manually the one in your device's system/etc folder by overwriting it.
Here is the link to the mods: http://forum.xda-developers.com/showthread.php?t=2729652
As I already mentioned before, sometimes mods will not work if you happen to have a different android version or a different device, so what I did is to open the xml you provided and open the xml from this mod side by side, I compared them line by line to make sure that all the lines from the mod are the same as the ones from your file (a missing or different line would lead to a possible crash or missing feature or error messages due to a bad linking), I was pleased to see that everything from this mod is 100% the same as in your file, it's just the values that are increased comparing to your file (since this is a sound boost mod). So I can assure you that this mod will work on your phone, just make sure to temporarily disable viper4android to avoid any possible conflict, try the different boost levels until you find the one that suits you most, then you can try to enable viper4android again in order to equalize your sound, it shouldn't cause any conflict in my opinion.
As to what I think you should choose, from what you mentioned in your last post I would say the V1 lite or the V4 Lite would be perfect for your needs.
Don't hesitate to ask me if there is anything else I can help you with And please tell me if it worked for you
PS: make sure you grab the KitKat version of the mod, not the lollipop, as I think you're still running KitKat and that's the version of the XML I checked
Note: It looks like Samsung engineers are very smart in the way they set their default sound values, I say this because it looks like the HPHR and HPHR levels are already set to their maximum (Most other manufacturers have these lowered, such as what I found out in my Sony Z1). So what they did is setting the amplifier to the maximum value and reduce the gain value well below the norms (this is the RX value) in order to avoid distortion and/or possibly to be in conformity to the international laws that forces manufacturers to set a volume limit to avoid hear damage. So basically, all that needs to be done is to increase the gain through the RX values knowing that there is a point where going beyond will affect the sound quality. I think V1 lite and V4 lite will be under or equal to the right balance between loudness without losing quality. V2 medium may be equal or over the balance level, the increase in loudness will be big but the decrease in sound quality might not be noticeable to the average user, so that's possibly still a good value to consider if V1 lite was not loud enough for you, although I don't recommend it. V3 is a big NO for me, I guess you already know why, lol
Thanks for the heads up on that thread.......read the first 25 or so pages and found a headphone only zip.....
Extracted it and pushed the new xml file to the correct location (deleted the original), kept viper enabled (mentioned in the thread that viper and the boost mod can be used together) and now I have the volume combo that best suits my needs.......
Sent from my rooted, debloated stocKK kn0x0 SM-G900F
keithross39 said:
Thanks for the heads up on that thread.......read the first 25 or so pages and found a headphone only zip.....
Extracted it and pushed the new xml file to the correct location (deleted the original), kept viper enabled (mentioned in the thread that viper and the boost mod can be used together) and now I have the volume combo that best suits my needs.......
Sent from my rooted, debloated stocKK kn0x0 SM-G900F
Click to expand...
Click to collapse
I am really happy that your sound is better, I wasn't sure how viper4android works and I wasn't sure combining it with the mod will be giving any improvement over the already boosted sound from the mod alone, but I am glad it worked fine
The crazy wife stole all my time this weekend, I lost hope on rooting my S5, now I'm jealous that you have the mod and I don't hahaha, just kidding. I am truly glad that you have it boosted, I will let you know when I get my S5 rooted, perhaps I will enquire some tips from you regarding what ported apps I shouldn't miss
Till then, have fun in Oxford
Ps: I did a private party once in Oxford, it was great I believe it was in 2007 when I was still living and DJing in London. Germany is kind of boring in comparison and I am planning to return to London in February 2017, I have some kind of contract blocking me here for another 15 months
volume boost speaker and headphone z3c
thanks for the tecnical explication
i want volume boost speaker and headphone in my z3 compact whit 4.4 but have mooore value in the xml file help me please
brattak said:
thanks for the tecnical explication
i want volume boost speaker and headphone in my z3 compact whit 4.4 but have mooore value in the xml file help me please
Click to expand...
Click to collapse
Hello and thank you for reading my article
I will try to help you as much as I can but you will possibly have to edit the values on your own to set how loud you like your sound to be. Also, I don't have the same phone, so I can't do more than assist you.
So here is a mod for the z3c on lollipop which I advise you to download in order to have an idea of the values you can change and up to what limit. I can not say whether or not this mod keeps a good sound quality when getting a boost simply because I don't own an Xperia Z3c device to try it, sorry about that, but people reported that it was loud and clear.
https://mega.nz/#!b8M1xQ4I!Twhozp_4XZhMgFlgSPkkc9QZCpIony0K0fjtKzdlyfQ
If it was up to me, I would NOT use the lollipop file from the Z3c directly on a kitkat rom because there might be a very slight difference which would make something not work at some point. What I mean is that the mod might work to bring your volume louder when listening to music, but then in a month you decide to skype with someone and you will not get any sound, you will be wondering why and you will possibly not think that it's due to the mod.
This mod has parameters written in a case-sensitive text, each line is linking an instruction to something specific either in the software or the hardware level. If a line is missing or has values unsupported by your device, you will have a particular parameter which may not work at all, or worse case senario is that you get no sound at all. This can be reverted if you just backed up your original sound mixer file.
What I would do:
I would download the lollipop boosted sound mixer file for the Z3c from the link I provided above, open it in a text editor. Extract the same file from the folder system/etc of your phone and open it in a text editor.
Now you have the two files side by side, you can compare the lines and the values, you can then copy the values from the lollipop file and paste them on the file you extracted from your phone. Make sure you only copy/paste the numbers, as they represent the values, don't modify the text.
Once you finish this, you can save your edited file (don't change the name of it), and paste it to system/etc on your phone. Reboot and voila, you have the mod on your phone, 100% guaranteed to be compatible and will not cause you any bugs in the future, unlike if you used any Mod.
Could you please report if it worked for you?
Also, if it works for you, you will be the creator of a z3c kitkat sound boost mod, feel free to post it here so that people with your device and rom can benefit from it
If my post was helpful to you, just press the "Thank you" button
I also found this thread which seems to have the boosted file for the z3 (not compact) on kitkat. You can unzip the archive and find the mixer_paths.xml file, open it side by side with the file you extracted from your phone and copy paste the corresponding numbers (values) without altering the text.
http://forum.xda-developers.com/z3/development/z3-speakers-incoming-call-headphones-t2889964
Let us know the results
thanks for help i use this for compare ( http://www.corefiling.com/opensource/xmldiff.html) and have many difference but i only mod in my file the value 84\95 other i dont know......its correct ?
brattak said:
thanks for help i use this for compare ( http://www.corefiling.com/opensource/xmldiff.html) and have many difference but i only mod in my file the value 84\95 other i dont know......its correct ?
Click to expand...
Click to collapse
I had a look at your original file and the one which I shared with you earlier and it seems the main differences are the 84 which was increased to 95. In my opinion, this is too much and will result in a loss of quality. As I explained in my first post, changing the value with +3 will double the volume, therefore I would advise you to try changing your values from 84 to 87 in the first place, save and put the file on the right directory, reboot and listen to something other than hard rock and see if the volume is loud enough. If you are almost happy, try changing the values to 88 or 89. If you feel you are still not satisfied, continue increasing the values but keep in mind that every increase you do will generate further distortion which degrades the quality, at some point you will hear it even if you are not a sound engineer.
Also, you may not want to boost everything and rather just boost the headphone volume for music, then try to leave the default parameters for everything except the headphones that you can set to your preference.
Thank you for providing the link to the tool to compare 2 files, it looks useful and I will possibly use it in the future.
Let me know what is the best value in your opinion, and try to share the file so that others benefit from it
Don't forget to hit the thank you button if my answer was helpful
Ok
Inviato dal mio D5803 utilizzando Tapatalk
brattak said:
Ok
Inviato dal mio D5803 utilizzando Tapatalk
Click to expand...
Click to collapse
Hello Brattak
Did you manage to get the boost working on your Z3c with Kitkat?
I would like to help you, so feel free to ask all your questions or let me know if you need help
Forza Star Gate SG1
Thanks i set first 84 before 95 but the sound not have difference
I download another sound mod for z3c for lollipop extract and compare in this mod the value is 125.......now i try increase over 100 but 125 is very high.....
Sorry for my english im italian ?
Inviato dal mio D5803 utilizzando Tapatalk
brattak said:
Thanks i set first 84 before 95 but the sound not have difference
I download another sound mod for z3c for lollipop extract and compare in this mod the value is 125.......now i try increase over 100 but 125 is very high.....
Sorry for my english im italian
Inviato dal mio D5803 utilizzando Tapatalk
Click to expand...
Click to collapse
He he he, don't worry about your English, I think most people managed to understand
I am sorry if the boost was not loud enough for you, but it's not really a problem since you can change the values to higher numbers and get the loudness you want
It looks like the values in the Z3c are different from the Z1 and that's why I can not give you exact numbers, but you can try a setting of 100 and see if it suits your needs. You can then try 110 and decide if you want louder with 115 or want to go lower with 105
I hope it works out well for you and that everyone can learn from your experiment
Don't forget to hit the thank you button if you want to thank me
I
just blew my fricken ears out And dont know what to sah
http://forum.xda-developers.com/and...1-modified-t3429632/post67976756#post67976756
Update
added sony_efect file
backup tips
added bsplayer mod
added onkyo player test
added onkyo player revised
aded to backup and prep
a little more onkyo mod2 info
#################
### ONKYO MUSIC PLAYER MOD 3 V ###
GET THIS MODDED ONKYO PLAYER
ITS FRICKEN AWESOME WITH HUGE BASS
SEE POST 15
################@@#
1 l. I apologize for nor posting this a couple years ago.
i have been screwing with these mods and have somwthing that can totally change what these mods do for you.
i have tips for huge audio that begin even before your ausio mods are even installed.
But i am goin to give you a fat piece of the steak then come back and to the begining
######## edit 1
using these edited files on many different nods i have no need for an equalzer. infact most will destroy the sound these creat.
exept for equalizers at direct source. What i mean is when the app that plays the source file
For music i mostly use the Onkyo player. has an equalizer,upconvert and other cool stuff
For Movies i use a copy of Mxplayer that has a dts patch
Sonetimes i use The Vlc video player has a nice preamp and equalzer.
My experince has been eqalizers aplied down the line destroy The Artists Intentions.
I reco mend disabling all mods and eq to get the true value.
As i write this i have srs and beats files uploaded. turn off dolby maxx and viper4android If you have them Just to see what these do
Backup and prep
most people know about custom recoverys
but often we make edits or changes where the negative effects that dont show up untill after we have new data and stuff we dont want to lose.
Zipme by jrummy can help you greatly.
it can be directed to files and folders it can create a flashable signed replication that can often repair problems without full restore
exanple
flashable backups of soundeffects.conf,build.prop,launcher,framework,systemapps,etc can save you many hassles.
also another huge tip
my recovery twrp has a file manager
example
i have a copy of my build.prop in my system named build.prop.bak
say i made a build.prop edit but wasnt worried or forgot to backup
my edit bootlooped me
i boot to recovery mount system,go to filemanager delete or rename the build.prop then remove .bak from the copy ,reboot,Problem solved.
you cab use this for anything franework ,apps ,init.d
I mod everything so i do bootloop trying things but i can often fix problems without ever doin restore
Another valuable tool
an app nandroid backup manager
it can go into your Backups and extract files and data Even if your backup wont boot
example
Say you flashed a new kernel You forgot to do a backup
Oh **** you flashed a kernel for your other phone .
you are totally screwed
Go ahead make a backup even though it wont boot
once you get a rom installed or firmware flash
you can use the manager to easily get everything you want out of your backups
Prep
i am gonna say all phones have "govenors and Restricters
Most have badass hardware. But none of the software was ever written to get full potential of all high tec hardware
Often just few build.prop edits can make your phones sound much better.
This is different anongst phones but the concept is the same
i have a samsung tab 4 7 inch 4.4.2with marvel processors.No delopment at all for it. There is no api for bluetooth,Couldnt run an eq Well **** that sucks It so fricken quiet i couldnt here a thing even through bluetoot
.i forget exactly what i did but in build.prop was a line telling the system where calibration files are
something like gen cal.db tel/cal/gen_cal.db i forget exactlty
removed the cal files also removed cal applet from System/bin I think the was some crap on nv
well after that my phone wasnt limiting my audio
then while boppin around through my decompiled global.jar i stumbled across something like
playback_resampling=0
well i changed that to a 1
then 20 lines down i see
blahblah_allow srs_processing=0
hell ya i changed to 1
Holy Crap Wow was i surprised.
another common one is
framework res "maybe elsewhere"
blahblah_safe_mediasound=1
changing to 0 reduced phones software limits
If you have this You will see it if you use app like sqlEditor and look in data/data/android.provider/settings
safe_media 3
when disabled will show a 1
OFF TOPIC BUT VERY VALUBLE
amongst global.jar,framework.res or settings apk there is a line
device_provisioned=0 i forget the exact line
change to 1
often when modding or tweaking or just by accident that after a factory reset your phone starts acting Dumb
like home key doesnt work reboot menu isnt all there.
so you have to use sqleditor and correct devisioning in settings table and reboot
if you change this as i explained this will never happen to you
Srs
for those that know what they are doing.
uzip these. srsprocessing goes in system/etc/srs
the two truemedia files go in system/etc/soundimage
REBOOT
depending on your specific mod truemedia files may be in system/etc and not in a soundimage folder
these will add huge huge bass to your srs while using BLUETOOTH
Be careful some small speakers may tear or simply RUN AWAY
amTruemedia i have decreased compression and windows. Added gain and added huge place holders to bass mins
srs_processong decreased compression and window dropped freq to 55hz and added gain
you will need a min of 90 mb free in system
these took hours and hour to make as i dont have a computer so all was done from my phone. just to load a file in jota takes 5 minutes then another 5 to insert aditional lines
Anybody with a comouter can open these up and make these sounds four times increased than what i have
ps. on the srs_processing file i got tired and stopped editing. So the 55hz is more inxreased in the video aspect. But this is just the surface anybody can modify these.
Its possible for audio mod creators to package these in there mods already
also with addin huge boost at srs level its likely that some dolby and max will tone these down. Try turning them off in build prop to see. Such i have down. i shut max complely off except for dts ,also i have dolby off as well.
And you can make huge eq to these wirh edits turni on eq turn on all bands,add gain and add placeholders to band mins
beats
This is my next project, but maybe somebody here can play with it
there the beats files Extract and put to system/etc/tfa REBOOT
Some beats mods have more eq files than these
you can likely use these settings by makin copy and renaming
Dolby and Sony
these can give you huge sound if your audio mod uses it.
the folder is system/etc/sony_effect
unzip and replace yours with mine and reboot.
Still to come
Abother huge dolby mod Huge sound .It was very tricky to get to work right will dolbys tuning,ak parameters and clamps. But i did managed to get around it all
I package it for you with an explanation soon
Maxx
7gill said:
beats
This is my next project, but maybe somebody here can play with it
there the beats files Extract and put to system/etc/tfa REBOOT
Some beats mods have more eq files than these
you can likely use these settings by makin copy and renaming
Click to expand...
Click to collapse
I think i'll try this... XD
One question: Why the file size of these are times 1000 the size of any srs configs i have known?
i am trying to make use of all the intelligenxe on these files.To be real about your question. Most audio mods you see are a ton of files put together All having big names."sony,etc" i have been able to use them for what i want.
i havent found any other way to get the sound i want.
The files are so big because sound has been added to them.So far the only way i have learned to do so is by increasing values and file size is the cost.
The srs files have Huge bass boom that is very clean if the system runs properly.
I want to spend alot of time to explain everything. I am homeles and do everything from a phone. I have a weird life and get side tracked often .
If people here knew what i have learned Audio mods would be changed forever.
i have a 49 dollar samsung light and a shark bluetooth speaker that sets the air on fire when i play music and videos.
i have mods and edits for alot of various mod packs.
Again i apologize for not giving you everything i know.
Hey i just noticed by removing the small srs lic files increases my output.
I will get two dolby files up here tonight, They are big files also. But if setup right will make your phone a movie theater
i am hoping someone will test this.
I have gotten this onkyo app to run its equalizer on 50 bands
on my little phone. it required a little data manipulation
Now trying to make it apart of the app
This is weird since Onkyo has alot of signature crapThe gains are already set to 12
install and turn eq on . then raise the eq bar up.
Honestly i have alot of system edits that i am unsure of how
much this does alone.its sounds fuc****in great on my phone
Edit
had to upload this in another post for some reason
Scroll down to get file
if you use Bsplayer
in its settings you can raise presmp to 500 percent
thats great when you files low in sound
Want even more?
in its data folder Shared prefences
these will give you even more
this is the preamp string bsplayer uses to tell its preamp what to do
the app only gets it to 500
i changed to 1000 Bam signifacant gain
<string name="papreamp">1000</string>
here it is
if this works correctly you will have a 50 band equalizer set at full. turn on eq and raise its bar
i am not sure whats gonna happen if you start adjustin individual bands. i may work on this more
if this doesnt work right i can give you my data files
Edit
i am uploading another copy that doesnt bother plist
If you try this
results are more valuable thank yous
i dont have anyone to test And my phones are so tweaked with audio crap i dont need more,But i want it if i can make it.
onkyo mod2
to make this more clear
the eq comes stock with 11 bands that are set to 0
you use the apps eq to modify
i rewrote the eq file with 50 bands and set gain to 12
so the app is running the file as written but isnt aware of what its doin
Originally i just the bands in its data folder which made it temporary. Tryin to get it a permanent mod
##
I think the way i did this the app applies band gains even with eq off
not sure
Let me know how this works for you
1 Anybody here want to work on an audio mod package
I especially need someone who is good at adding libraries to the sound conf also creating flashable scripts
After trying many audio mods i havent found 1 i am totally happy with..
2
i am using a copy of
_UNIVERSAL__HTKaudio_2016
basically its another decent audio mod
I have it to make my speaker blow smoke
i even get deep base like them cars drivin by.
i hsve s shark bluetooth speaker .the 15 watt one made of metal. its pretty heavy. Well i get it to hop around .
If you want to try sonething new I will take time to give you step by step instructions And all the modded files
to have badass audio on your phone
Nothing compares to it at all. The phones like Htc these files come stock on are weak.
Since theres nothing close .Its a little chore
i have done the most the time comsuning work
You will just need to flash the htk mod All the edited files i have and a little time to make edits and replace files
If you do You will ask yourself why this Sh** been around for years but never sounded like this
You have got to this
MY third rendition of Onkyo music player
Holy crap
This little bastard puts out alot of sound with tons of bass
Unzip and install.
if you already have a copy installed Delete data after updating
PLEASE POST ANY RESULTS YOU HAVE
tThanks
7gill said:
here it is
if this works correctly you will have a 50 band equalizer set at full. turn on eq and raise its bar
i am not sure whats gonna happen if you start adjustin individual bands. i may work on this more
if this doesnt work right i can give you my data files
Edit
i am uploading another copy that doesnt bother plist
If you try this
results are more valuable thank yous
i dont have anyone to test And my phones are so tweaked with audio crap i dont need more,But i want it if i can make it.
Click to expand...
Click to collapse
50 Band--unbearable screech. What's that? Why are all the Mod.O.HF.players same size after your modifications? Anyway, fyi, sound in a little better without FeaturedEQ.