[Galaxy S II General] J-Monty-L:
Hi Folks

Since i got my first Android-Phone a few weeks ago i´m dissapointed with the sound-quality and the maximum volume of my

SGS2 => Sennheiser CX300-II (16Ohm) combination.

In search for a Solution about the low Headphone-Volume-Problem i tried i think every possible fix that is mentioned in this forum without getting happy :(

1. pulling up the PreAmp in Equalizer of PowerAmp-Player

2. Changing the stock Music-Player with Cyanogen´s Player in combi with DSP-Manager

3. Volume+

4. Several Service-Mode-Settings

Then i started fiddling around with alsa and tried to find out where alsa saved the mixer settings we change with the hardware keys.

Without success until now:(

But on the way i remembered that alsa brings some CLI-Tools that unfortunatly aren´t installed in the stock rom, so i downloaded update_mixget.zip from here:

http://xdaforums.com/showpost.php?p=7778062&postcount=7

and copied the files alsa_amixer, alsa_aplay and alsa_ctl via adb to system/xbin/

Et voila ! Some interesting info surfaced when i checked the mixer-settings in an adb terminal: (with a plugged-in HP and all volume-settings max´ed)

Simple mixer control 'Master',0
Capabilities: pvolume pswitch penum
Playback channels: Front Left - Front Right
Limits: Playback 0 - 93
Mono:
Front Left: Playback 75 [81%] [0.00dB] [on]
Front Right: Playback 75 [81%] [0.00dB] [on]
Simple mixer control 'Headphone',0
Capabilities: pvolume pswitch penum
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono:
Front Left: Playback 31 [100%] [0.00dB] [on]
Front Right: Playback 31 [100%] [0.00dB] [on]
Simple mixer control 'Speaker',0
Capabilities: pvolume pswitch penum
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono:
Front Left: Playback 0 [0%] [-99999.99dB] [off]
Front Right: Playback 0 [0%] [-99999.99dB] [off]
Simple mixer control 'Side Tone',0
Capabilities: pvolume pswitch penum
Playback channels: Front Left - Front Right
Limits: Playback 0 - 93
Mono:
Front Left: Playback 0 [0%] [-99999.99dB] [off]
Front Right: Playback 0 [0%] [-99999.99dB] [off]
Simple mixer control 'Line 1',0
Capabilities: pvolume pswitch penum
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono:
Front Left: Playback 0 [0%] [-99999.99dB] [off]
Front Right: Playback 0 [0%] [-99999.99dB] [off]
Simple mixer control 'Line 2',0
Capabilities: pvolume pswitch penum
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono:
Front Left: Playback 0 [0%] [-99999.99dB] [off]
Front Right: Playback 0 [0%] [-99999.99dB] [off]
Simple mixer control 'Line Bypass',0
Capabilities: pvolume pswitch penum
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono:
Front Left: Playback 0 [0%] [-99999.99dB] [off]
Front Right: Playback 0 [0%] [-99999.99dB] [off]
Simple mixer control 'Mic 1 Bypass',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum
Playback channels: Mono
Limits: Playback 0 - 31
Mono: Playback 0 [0%] [-99999.99dB] [off]
Simple mixer control 'Mic 1 Gain',0
Capabilities: volume volume-joined penum
Playback channels: Mono
Capture channels: Mono
Limits: 0 - 3
Mono: 0 [0%] [15.00dB]
Simple mixer control 'Mic 2 Bypass',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum
Playback channels: Mono
Limits: Playback 0 - 31
Mono: Playback 0 [0%] [-99999.99dB] [off]
Simple mixer control 'Mic 2 Gain',0
Capabilities: volume volume-joined penum
Playback channels: Mono
Capture channels: Mono
Limits: 0 - 3
Mono: 0 [0%] [15.00dB]
Simple mixer control 'Mic 3 Bypass',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum
Playback channels: Mono
Limits: Playback 0 - 31
Mono: Playback 0 [0%] [-99999.99dB] [off]
Simple mixer control 'Mic 3 Gain',0
Capabilities: volume volume-joined penum
Playback channels: Mono
Capture channels: Mono
Limits: 0 - 3
Mono: 0 [0%] [15.00dB]
Simple mixer control 'AD ATT',0
Capabilities: volume pswitch penum
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: 0 - 93
Front Left: 0 [0%] [-99999.99dB] Playback [off]
Front Right: 0 [0%] [-99999.99dB] Playback [off]
Simple mixer control 'AD Analog',0
Capabilities: volume pswitch penum
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: 0 - 31
Front Left: 19 [61%] [0.00dB] Playback [on]
Front Right: 19 [61%] [0.00dB] Playback [on]
Simple mixer control 'AD Digital',0
Capabilities: volume pswitch penum
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: 0 - 93
Front Left: 75 [81%] [0.00dB] Playback [on]
Front Right: 75 [81%] [0.00dB] Playback [on]
Simple mixer control 'ADC PDM SEL',0
Capabilities: enum
Items: 'ADC' 'PDM'
Item0: 'ADC'
Simple mixer control 'ADCL LINE MIXMODE',0
Capabilities: enum
Items: 'LINEL' 'LINEMONO'
Item0: 'LINEL'
Simple mixer control 'ADCL MIXER Line',0
Capabilities: pswitch pswitch-joined penum
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'ADCL MIXER Mic1',0
Capabilities: pswitch pswitch-joined penum
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'ADCL MIXER Mic2',0
Capabilities: pswitch pswitch-joined penum
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'ADCL MIXER Mic3',0
Capabilities: pswitch pswitch-joined penum
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'ADCR LINE MIXMODE',0
Capabilities: enum
Items: 'LINER' 'LINEMONO'
Item0: 'LINER'
Simple mixer control 'ADCR MIXER Line',0
Capabilities: pswitch pswitch-joined penum
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'ADCR MIXER Mic1',0
Capabilities: pswitch pswitch-joined penum
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'ADCR MIXER Mic2',0
Capabilities: pswitch pswitch-joined penum
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'ADCR MIXER Mic3',0
Capabilities: pswitch pswitch-joined penum
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'AE PARAMETER SEL',0
Capabilities: enum
Items: 'PARAM1' 'PARAM2' 'PARAM3' 'PARAM4' 'PARAM5'
Item0: 'PARAM1'
Simple mixer control 'AE SRC',0
Capabilities: enum
Items: 'OFF' 'ADC' 'DIR0' 'DIR1' 'DIR2' 'MIX'
Item0: 'OFF'
Simple mixer control 'AENG6',0
Capabilities: volume pswitch penum
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: 0 - 93
Front Left: 75 [81%] [0.00dB] Playback [on]
Front Right: 75 [81%] [0.00dB] Playback [on]
Simple mixer control 'Codec Status',0
Capabilities: enum
Items: 'REC_OFF' 'REC_ON' 'RESET_ON' 'RESET_OFF'
Item0: 'REC_OFF'
Simple mixer control 'DAC',0
Capabilities: pvolume pswitch penum
Playback channels: Front Left - Front Right
Limits: Playback 0 - 93
Mono:
Front Left: Playback 75 [81%] [0.00dB] [on]
Front Right: Playback 75 [81%] [0.00dB] [on]
Simple mixer control 'DACMAIN SRC',0
Capabilities: enum
Items: 'OFF' 'ADC' 'DIR0' 'DIR1' 'DIR2' 'MIX'
Item0: 'OFF'
Simple mixer control 'DACVOICE SRC',0
Capabilities: enum
Items: 'OFF' 'ADC' 'DIR0' 'DIR1' 'DIR2' 'MIX'
Item0: 'OFF'
Simple mixer control 'DIGITAL MIXER Adc',0
Capabilities: pswitch pswitch-joined penum
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'DIGITAL MIXER Dir0',0
Capabilities: pswitch pswitch-joined penum
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'DIGITAL MIXER Dir1',0
Capabilities: pswitch pswitch-joined penum
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'DIGITAL MIXER Dir2',0
Capabilities: pswitch pswitch-joined penum
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'DIR#0',0
Capabilities: volume pswitch penum
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: 0 - 93
Front Left: 75 [81%] [0.00dB] Playback [on]
Front Right: 75 [81%] [0.00dB] Playback [on]
Simple mixer control 'DIR#0 ATT',0
Capabilities: volume pswitch penum
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: 0 - 93
Front Left: 75 [81%] [0.00dB] Playback [on]
Front Right: 75 [81%] [0.00dB] Playback [on]
Simple mixer control 'DIR#1',0
Capabilities: volume pswitch penum
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: 0 - 93
Front Left: 75 [81%] [0.00dB] Playback [on]
Front Right: 75 [81%] [0.00dB] Playback [on]
Simple mixer control 'DIR#1 ATT',0
Capabilities: volume pswitch penum
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: 0 - 93
Front Left: 75 [81%] [0.00dB] Playback [on]
Front Right: 75 [81%] [0.00dB] Playback [on]
Simple mixer control 'DIR#2',0
Capabilities: volume pswitch penum
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: 0 - 93
Front Left: 75 [81%] [0.00dB] Playback [on]
Front Right: 75 [81%] [0.00dB] Playback [on]
Simple mixer control 'DIR#2 ATT',0
Capabilities: volume pswitch penum
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: 0 - 93
Front Left: 75 [81%] [0.00dB] Playback [on]
Front Right: 75 [81%] [0.00dB] Playback [on]
Simple mixer control 'DIT#0',0
Capabilities: cvolume cswitch penum
Capture channels: Front Left - Front Right
Limits: Capture 0 - 93
Front Left: Capture 75 [81%] [0.00dB] [on]
Front Right: Capture 75 [81%] [0.00dB] [on]
Simple mixer control 'DIT#1',0
Capabilities: cvolume cswitch penum
Capture channels: Front Left - Front Right
Limits: Capture 0 - 93
Front Left: Capture 75 [81%] [0.00dB] [on]
Front Right: Capture 75 [81%] [0.00dB] [on]
Simple mixer control 'DIT#2',0
Capabilities: cvolume cswitch penum
Capture channels: Front Left - Front Right
Limits: Capture 0 - 93
Front Left: Capture 75 [81%] [0.00dB] [on]
Front Right: Capture 75 [81%] [0.00dB] [on]
Simple mixer control 'DIT0 SRC',0
Capabilities: enum
Items: 'OFF' 'ADC' 'DIR0' 'DIR1' 'DIR2' 'MIX'
Item0: 'OFF'
Simple mixer control 'DIT1 SRC',0
Capabilities: enum
Items: 'OFF' 'ADC' 'DIR0' 'DIR1' 'DIR2' 'MIX'
Item0: 'OFF'
Simple mixer control 'DIT2 SRC',0
Capabilities: enum
Items: 'OFF' 'ADC' 'DIR0' 'DIR1' 'DIR2' 'MIX'
Item0: 'OFF'
Simple mixer control 'HP Gain',0
Capabilities: pvolume pvolume-joined penum
Playback channels: Mono
Limits: Playback 0 - 3
Mono: Playback 0 [0%] [0.00dB]
Simple mixer control 'HPL DAC MIXMODE',0
Capabilities: enum
Items: 'DACL' 'DACMONO'
Item0: 'DACL'
Simple mixer control 'HPL LINE MIXMODE',0
Capabilities: enum
Items: 'LINEL' 'LINEMONO'
Item0: 'LINEL'
Simple mixer control 'HPL MIXER Dac',0
Capabilities: pswitch pswitch-joined penum
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'HPL MIXER Line',0
Capabilities: pswitch pswitch-joined penum
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'HPL MIXER Mic1',0
Capabilities: pswitch pswitch-joined penum
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'HPL MIXER Mic2',0
Capabilities: pswitch pswitch-joined penum
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'HPL MIXER Mic3',0
Capabilities: pswitch pswitch-joined penum
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'HPR MIXER DacR',0
Capabilities: pswitch pswitch-joined penum
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'HPR MIXER LineR',0
Capabilities: pswitch pswitch-joined penum
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'HPR MIXER Mic1',0
Capabilities: pswitch pswitch-joined penum
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'HPR MIXER Mic2',0
Capabilities: pswitch pswitch-joined penum
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'HPR MIXER Mic3',0
Capabilities: pswitch pswitch-joined penum
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'LINEOUT1L DAC MIXMODE',0
Capabilities: enum
Items: 'DACL' 'DACMONO'
Item0: 'DACL'
Simple mixer control 'LINEOUT1L LINE MIXMODE',0
Capabilities: enum
Items: 'LINEL' 'LINEMONO'
Item0: 'LINEL'
Simple mixer control 'LINEOUT1L MIXER Dac',0
Capabilities: pswitch pswitch-joined penum
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'LINEOUT1L MIXER Line',0
Capabilities: pswitch pswitch-joined penum
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'LINEOUT1L MIXER Mic1',0
Capabilities: pswitch pswitch-joined penum
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'LINEOUT1L MIXER Mic2',0
Capabilities: pswitch pswitch-joined penum
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'LINEOUT1L MIXER Mic3',0
Capabilities: pswitch pswitch-joined penum
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'LINEOUT1R MIXER DacR',0
Capabilities: pswitch pswitch-joined penum
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'LINEOUT1R MIXER LineR',0
Capabilities: pswitch pswitch-joined penum
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'LINEOUT1R MIXER Mic1',0
Capabilities: pswitch pswitch-joined penum
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'LINEOUT1R MIXER Mic2',0
Capabilities: pswitch pswitch-joined penum
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'LINEOUT1R MIXER Mic3',0
Capabilities: pswitch pswitch-joined penum
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'LINEOUT2L DAC MIXMODE',0
Capabilities: enum
Items: 'DACL' 'DACMONO'
Item0: 'DACL'
Simple mixer control 'LINEOUT2L LINE MIXMODE',0
Capabilities: enum
Items: 'LINEL' 'LINEMONO'
Item0: 'LINEL'
Simple mixer control 'LINEOUT2L MIXER Dac',0
Capabilities: pswitch pswitch-joined penum
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'LINEOUT2L MIXER Line',0
Capabilities: pswitch pswitch-joined penum
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'LINEOUT2L MIXER Mic1',0
Capabilities: pswitch pswitch-joined penum
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'LINEOUT2L MIXER Mic2',0
Capabilities: pswitch pswitch-joined penum
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'LINEOUT2L MIXER Mic3',0
Capabilities: pswitch pswitch-joined penum
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'LINEOUT2R MIXER DacR',0
Capabilities: pswitch pswitch-joined penum
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'LINEOUT2R MIXER LineR',0
Capabilities: pswitch pswitch-joined penum
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'LINEOUT2R MIXER Mic1',0
Capabilities: pswitch pswitch-joined penum
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'LINEOUT2R MIXER Mic2',0
Capabilities: pswitch pswitch-joined penum
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'LINEOUT2R MIXER Mic3',0
Capabilities: pswitch pswitch-joined penum
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'MB1',0
Capabilities: pswitch pswitch-joined penum
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'MB2',0
Capabilities: pswitch pswitch-joined penum
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'MB3',0
Capabilities: pswitch pswitch-joined penum
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'PDM',0
Capabilities: volume pswitch penum
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: 0 - 93
Front Left: 0 [0%] [-99999.99dB] Playback [off]
Front Right: 0 [0%] [-99999.99dB] Playback [off]
Simple mixer control 'RC MIXER DacL',0
Capabilities: pswitch pswitch-joined penum
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'RC MIXER DacR',0
Capabilities: pswitch pswitch-joined penum
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'RC MIXER LineMono',0
Capabilities: pswitch pswitch-joined penum
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'RC MIXER Mic1',0
Capabilities: pswitch pswitch-joined penum
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'RC MIXER Mic2',0
Capabilities: pswitch pswitch-joined penum
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'RC MIXER Mic3',0
Capabilities: pswitch pswitch-joined penum
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'Receiver',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum
Playback channels: Mono
Limits: Playback 0 - 31
Mono: Playback 0 [0%] [-99999.99dB] [off]
Simple mixer control 'SPL DAC MIXMODE',0
Capabilities: enum
Items: 'DACL' 'DACMONO'
Item0: 'DACL'
Simple mixer control 'SPL LINE MIXMODE',0
Capabilities: enum
Items: 'LINEL' 'LINEMONO'
Item0: 'LINEL'
Simple mixer control 'SPL MIXER Dac',0
Capabilities: pswitch pswitch-joined penum
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'SPL MIXER Line',0
Capabilities: pswitch pswitch-joined penum
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'SPR DAC MIXMODE',0
Capabilities: enum
Items: 'DACR' 'DACMONO'
Item0: 'DACR'
Simple mixer control 'SPR LINE MIXMODE',0
Capabilities: enum
Items: 'LINER' 'LINEMONO'
Item0: 'LINER'
Simple mixer control 'SPR MIXER Dac',0
Capabilities: pswitch pswitch-joined penum
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'SPR MIXER Line',0
Capabilities: pswitch pswitch-joined penum
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'Voice',0
Capabilities: pvolume pswitch penum
Playback channels: Front Left - Front Right
Limits: Playback 0 - 93
Mono:
Front Left: Playback 0 [0%] [-99999.99dB] [off]
Front Right: Playback 0 [0%] [-99999.99dB] [off]

The interesting thing here is that with all volume settings on max even the Master-Channel shows only 75 of 93 (81%).

In an adb shell i managed to change some of the values like e.g. :

HP-gain from 0 to 3 with : alsa_amixer sset ´HP Gain´ 3

or

changing the Master-Channel : alsa_amixer sset ´Master´ 80

(but be carefull here - don´t blew your ears/headphones)

Unfortunatly i´m not really a linux-crack nor an alsa-guru and just now i´m feeling like a chimp throwing stones at a bell and wondering about the sounds i get (most of them distorted/clipping)

Can someone please check if he can reproduce the results i´m getting here

(rooted samsung rom with KF3-Kernel/Rom)

and if it works probably there is a dev that can give us a real alsa-mixer-app to get around the crippled android-volume-mixer.

While supercurio seemed to have given up on the SGS2 und the not so promising measurements of pspilot in the "Preliminary Audio Analysis-Thread (probably a HW-flaw in the HP-Amp-Design) i´m still not ready to accept a nearly inaudible media-volume on my phone.

Let´s see if someone can find an acceptable setting that gives us both : volume and quality

Considering the amount of possibilities thats quite a task :)

Hoping on your help here

Greets

Monty