Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,742,696 Members 37,489 Now Online
XDA Developers Android and Mobile Development Forum

[HOW-TO] Fix left speaker balance

Tip us?
 
freeza
Old
(Last edited by freeza; 12th June 2011 at 01:35 AM.)
#1  
freeza's Avatar
Recognized Developer - OP
Thanks Meter 9486
Posts: 4,246
Join Date: May 2006
Location: Pasadena, CA

 
DONATE TO ME
Default [HOW-TO] Fix left speaker balance

Unfortunately I was one of the many people who have received a TF where the right speaker was significantly louder than the left. The reason for this is unknown by me as I've not disassembled my TF, and there are conflicting answers as to whether or not it is a software or hardware issue. However, with the help of fellow XDA member verkion for the initial fix and pointing me in the right direction, I've tinkered around enough that I feel comfortable sharing with the rest of the community. Let's get started.

Requirements:
-Root
-Left speaker actually working
-Root Explorer or similar file manager (recommended method)
--ADB if you don't use Root Explorer
--Text editing program (Notepad++ is recommended and free) if you decide to use ADB

Let's start with the recommended method, Root Explorer.

Step 1: Open Root Explorer and navigate to /system/data.

Step 2: Tap on the "Mount R/W" button.

Step 3: Tap and hold on the file "srs_processing.cfg" and once the menu comes up, select the "Open in Text Editor" option.

Step 4: Scroll down to:

//BLOCK: ( srs_spk_int : ) TruEQ - Internal Speaker Tuning

Here's where things can get kind of annoying, because you will have to change values, save & exit, then reboot and test your results. Anyway, there are 4 values you will want to focus on, and those are:

srs_spk_int:trueq_lband0 = 900.000000,-9.000000,0.700000 // TruEQ Left Band 0 Tuning (CF Gain Q) -
srs_spk_int:trueq_lband1 = 11000.000000,6.000000,0.500000 // TruEQ Left Band 1 Tuning -
srs_spk_int:trueq_lband2 = 400.000000,3.000000,0.7000000 // TruEQ Left Band 2 Tuning -
srs_spk_int:trueq_lband3 = 2500.000000,-9.000000,0.700000 // TruEQ Left Band 3 Tuning -

The values in bold are the only ones I've messed with so far with very good results. The beginning values have a maximum of around 16000, and 17000 results in your left speaker not working, something above 16000 but below 17000 may work but I haven't tried it. The two middle ones, I don't know the maximum because It wasn't necessary to up them that much. For example, mine look like this:

srs_spk_int:trueq_lband0 = 1400.000000,-9.000000,0.700000 // TruEQ Left Band 0 Tuning (CF Gain Q) -
srs_spk_int:trueq_lband1 = 16000.000000,10.000000,0.500000 // TruEQ Left Band 1 Tuning -
srs_spk_int:trueq_lband2 = 900.000000,7.000000,0.7000000 // TruEQ Left Band 2 Tuning -
srs_spk_int:trueq_lband3 = 7500.000000,-9.000000,0.700000 // TruEQ Left Band 3 Tuning -

For me, this works out wonderfully! However, results may vary.

Step 5:
Once you've changed those values, save & exit, then restart your TF and examine results. Repeat steps if necessary.

Method 2: ADB. NOTE: Make sure USB debugging is enabled.

Step 1: Connect TF to computer.
Step 2: In a command prompt/terminal navigate to where your Android SDK is and type adb devices to make sure your TF is recognized, if so, type adb remount. If it succeeds, proceed to step 3, otherwise you may need to either enable USB debugging, or install drivers.
Step 3: Type "adb pull /system/data/srs_processing.cfg" It will save the file in the same directory as adb.

NOTE: Do not close command prompt/terminal.

Step 4: Open "srs_processing.cfg" in Notepad++ or whatever qualified text editor you use. NOTE: Due to the nature of how Windows reads files, Notepad might not save the file correctly and definitely will not open it looking pretty. Wordpad might be the same. Basically, the file needs to be saved in UNIX format.
Step 5: Scroll up to Step 4 of the Root Explorer method and proceed.
Step 6: Save the file with Notepad++ or whatever qualified text editor you use.
Step 7: Back in command prompt/terminal, with the file saved over the original type "adb push srs_processing.cfg /system/data/"
Step 8: Reboot your TF as you normally would, or with adb method "adb reboot"

Examine results and repeat steps if necessary.

Attached below are the default srs_processing.cfg and my edited one.

Feel free to post back your own values, because they may be more refined than mine or may work for someone else better as well. ENJOY!

Update: Thanks to seshmaru, a typo was discovered. ASUS added an extra zero to the bold part in line: srs_spk_int:trueq_lband2 = 400.000000,3.000000,0.7000000 // TruEQ Left Band 2 Tuning - I've updated the default file as well as my edited one to remove this extra 0. While this did boost volume in the left speaker for me, it still was not on par with the right one.

Update 2: verkion suggests "turn off the Hard Limiting in the Internal Speaker Boosted section by setting:
hlimit_skip to 0 instead of 1. This gave me a little more "headroom" before distortion became unbearable. A hard limiter is a CLIPPING filter...it just "snips the sound" when it goes over a preset value instead of trying to "scale down the volume.""
Attached Files
File Type: zip srs_processingDEFAULTFIXED.zip - [Click for QR Code] (2.7 KB, 1173 views)
File Type: zip srs_processingEDITEDFIXED.zip - [Click for QR Code] (2.8 KB, 2705 views)
The Following 44 Users Say Thank You to freeza For This Useful Post: [ Click to Expand ]
 
seshmaru
Old
(Last edited by seshmaru; 10th June 2011 at 07:24 AM.)
#2  
Senior Member
Thanks Meter 352
Posts: 1,251
Join Date: Aug 2009
NOTE: If your right speaker is more quiet of course look for the srs_spk_int:trueq_rband lines instead.

EDIT:

While looking at your fix I noticed something, this is what I pulled from my config:

Code:
Select Code
srs_spk_int:trueq_lband0 = 900.000000,-9.000000,0.700000 // TruEQ Left Band 0 Tuning (CF Gain Q) -
srs_spk_int:trueq_lband1 = 11000.000000,6.000000,0.500000 // TruEQ Left Band 1 Tuning -
srs_spk_int:trueq_lband2 = 400.000000,3.000000,0.7000000 // TruEQ Left Band 2 Tuning -
srs_spk_int:trueq_lband3 = 2500.000000,-9.000000,0.700000 // TruEQ Left Band 3 Tuning -
srs_spk_int:trueq_rband0 = 900.000000,-9.000000,0.700000 // TruEQ Right Band 0 Tuning (CF Gain Q) -
srs_spk_int:trueq_rband1 = 11000.000000,6.000000,0.500000 // TruEQ Right Band 1 Tuning -
srs_spk_int:trueq_rband2 = 400.000000,3.000000,0.700000 // TruEQ Right Band 2 Tuning -
srs_spk_int:trueq_rband3 = 2500.000000,-9.000000,0.700000 // TruEQ Right Band 3 Tuning -
if you pay attention you will find that the 2 highlighted lines are a different length, even though they should be equal, woops Asus?
The Following 5 Users Say Thank You to seshmaru For This Useful Post: [ Click to Expand ]
 
danielsjam
Old
#3  
Member
Thanks Meter 17
Posts: 88
Join Date: Nov 2010
I modified this line
srs_spk_int:trueq_lband2 = 400.000000,3.000000,0.7000000 // TruEQ Left Band 2 Tuning -
to read
srs_spk_int:trueq_lband2 = 400.000000,3.000000,0.700000 // TruEQ Left Band 2 Tuning -

This fixed my unbalance problem.

Thanks - this was driving me nuts.....
The Following User Says Thank You to danielsjam For This Useful Post: [ Click to Expand ]
 
Deathalo
Old
#4  
Senior Member
Thanks Meter 6
Posts: 100
Join Date: Oct 2010
looks like Asus left out a 0, did you try adding one?
 
danielsjam
Old
(Last edited by danielsjam; 10th June 2011 at 07:40 AM.)
#5  
Member
Thanks Meter 17
Posts: 88
Join Date: Nov 2010
No I removed a 0 based on the fact that all others have five 0's or there are a total of six digits

Sent from my Transformer TF101 using Tapatalk
The Following User Says Thank You to danielsjam For This Useful Post: [ Click to Expand ]
 
Deathalo
Old
#6  
Senior Member
Thanks Meter 6
Posts: 100
Join Date: Oct 2010
Ah, yes that makes sense, it balanced your speakers correctly?
The Following User Says Thank You to Deathalo For This Useful Post: [ Click to Expand ]
 
verkion
Old
#7  
Senior Member
Thanks Meter 23
Posts: 285
Join Date: Sep 2007
Thanks for posting this up Freeza. Honestly, I was too lazy to do this before. Did you notice the Left Speaker tends to distort far "earlier" (lower volume threshold) than the right one?

danielsjam...are you sure changing/removing a zero fixed or changed the balance? It shouldn't make any difference considering its a trailing zero. I'll test this in a few just to be certain.

Thanks!
verkion
 
freeza
Old
(Last edited by freeza; 10th June 2011 at 09:14 AM.)
#8  
freeza's Avatar
Recognized Developer - OP
Thanks Meter 9486
Posts: 4,246
Join Date: May 2006
Location: Pasadena, CA

 
DONATE TO ME
Quote:
Originally Posted by seshmaru View Post
NOTE: If your right speaker is more quiet of course look for the srs_spk_int:trueq_rband lines instead.

EDIT:

While looking at your fix I noticed something, this is what I pulled from my config:

Code:
Select Code
srs_spk_int:trueq_lband0 = 900.000000,-9.000000,0.700000 // TruEQ Left Band 0 Tuning (CF Gain Q) -
srs_spk_int:trueq_lband1 = 11000.000000,6.000000,0.500000 // TruEQ Left Band 1 Tuning -
srs_spk_int:trueq_lband2 = 400.000000,3.000000,0.7000000 // TruEQ Left Band 2 Tuning -
srs_spk_int:trueq_lband3 = 2500.000000,-9.000000,0.700000 // TruEQ Left Band 3 Tuning -
srs_spk_int:trueq_rband0 = 900.000000,-9.000000,0.700000 // TruEQ Right Band 0 Tuning (CF Gain Q) -
srs_spk_int:trueq_rband1 = 11000.000000,6.000000,0.500000 // TruEQ Right Band 1 Tuning -
srs_spk_int:trueq_rband2 = 400.000000,3.000000,0.700000 // TruEQ Right Band 2 Tuning -
srs_spk_int:trueq_rband3 = 2500.000000,-9.000000,0.700000 // TruEQ Right Band 3 Tuning -
if you pay attention you will find that the 2 highlighted lines are a different length, even though they should be equal, woops Asus?
oh wow. I hadn't noticed. GREAT find.

Quote:
Originally Posted by verkion View Post
Thanks for posting this up Freeza. Honestly, I was too lazy to do this before. Did you notice the Left Speaker tends to distort far "earlier" (lower volume threshold) than the right one?

danielsjam...are you sure changing/removing a zero fixed or changed the balance? It shouldn't make any difference considering its a trailing zero. I'll test this in a few just to be certain.

Thanks!
verkion
Yeah, I do notice it a tad, but I can definitely live with it! I was hoping you wouldn't mind.
The Following User Says Thank You to freeza For This Useful Post: [ Click to Expand ]
 
danielsjam
Old
#9  
Member
Thanks Meter 17
Posts: 88
Join Date: Nov 2010
Yes fixed my left speaker. Before this I could barely hear my left. If not wrong they are using ALSA sound drivers. You may find more info at the ALSA web site.

Sent from my Transformer TF101 using Tapatalk
 
jcX4ever
Old
#10  
jcX4ever's Avatar
Senior Member
Thanks Meter 5
Posts: 102
Join Date: Sep 2006
I pushed the OP's attached file (srs_processingDEFAULT.zip) then my left speaker became more louder. I pushed back my pulled stock original file from my TF but then my right speaker is now louder.

Stock pulled file attached.
Attached Files
File Type: zip srs_processing.zip - [Click for QR Code] (2.8 KB, 221 views)
Nokia 3310 || SonyEricson T610 || SonyEricson W600 || SonyEricson W800i || SonyEricson K750 || T-Mobile MDA Vario || Apple iPhone || T-Mobile G1 || Viewsonic Gtab || B&N Nook Color || HTC HD7 || Asus TransFormer TF101 || T-Mobile G2 || Samsung Galaxy S3 || Ainol Aurora 2
current
Samsung Galaxy S4

(G1-G2-S3-S4)..lol.. next phone should have one letter and "5" at the end.

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes