yashsingh1/xdaforums huggingface dataset:
[Galaxy S I9000 Android Development] Coolsaber57:
Supercurio, are there any plans to allow for increasing the gain for the built in speaker(s)?

I have a galaxy tab running a voodoo kernel, and I would love it if I could increase the volume of the internal speakers.
[Galaxy S I9000 Android Development] AshVash90:
Hello

Great work Supercurio! Just wondered if it would be possible to build the touchwiz music player's "Effect" feature into a release, I don't really like the original music player but keep hold of it because of the 'Wide' effect, feel it sounds great in tandem with the right settings on Voodoo and Galaxy Tuner. Willing to donate plenty if it's possible! [:

Ash
[Galaxy S I9000 Android Development] GizmoDroid:
For those of us over in the Fascinate forum that are stuck without a kernel source, did you ever figure out if there was a way to utilize the files in "system\etc\audio\" to change any parameters? There are a bunch of text files with mysterious things that look like parameters that control the sound for different audio devices.

I know you looked through them and the hidden menu audio settings before establishing the voodoo sound drivers, so I was thinking you might know if they are a temporary way to control the sound until we get the kernel source.
[Galaxy S I9000 Android Development] webcrtor:
Guys anyone else has audio sync issues while recording? it sucks tbh it ruins the video.. It's like half a second delay..

Running Darky's 9.0 with speedmod K13C, and voodoo settings are: balanced recording + hifi record(oversampling) enabled. Recording in hq 720p

Any tips are welcome!
[Galaxy S I9000 Android Development] eeyunopper:
Hi Supercurio, I have decided to give CM7 a go... again. So smooth, so sexy... But i'm having a problem (more an irritation) with hardware amp. It cannot be set before music playback, using either winamp or "stock" player. Although it's not too much hassle, I have to open player, reduce digital volume, press play, set voodoo hardware vol, and then increase dig vol to max. A bit annoyin, especially when I forget and rupture my ear drums.

Is there an easy fix for this?

Many thanks for any help

Ian
[Galaxy S I9000 Android Development] supercurio:
Must be a shortcoming in a custom patch, as it works perfectly on Nexus S.

I'll advice CM custom kernels publishers to use my original Nexus S patch.
[Galaxy S I9000 Android Development] Nix01104:
Any love for the Galaxy Tab

Hi, any way to get this to work with the t mobile Galaxy Tab?
[Galaxy S I9000 Android Development] supercurio:
Yes I made patches already implemented in Boushh's kernel for Verizon Tab.

Preparing an update atm.

@pajda88 sound only related thread
[Galaxy S I9000 Android Development] deathst:
Spotted and here to report a new bug.

Latest Voodoo 5.4.1 / Driver version 4

When playing videos, It seems that only certain sounds is playing on the correct volume on speakers.

http://www.youtube.com/watch?v=_qSPcneGmLE - Starting from 2:58 onward

http://www.youtube.com/watch?v=RC3zB_RDr0s - Starting from 2:28

Only the rightside guitar's volume is really soft on the speakers and the left Guitar plays fine (Second video link 2:59 onwards)

Playing on ear piece they sound perfectly fine and better then stock.

SO yeah anyone experience this too? Cause i have been listening to these videos for a long time now even on speakers :(

Edit: Same Results on 5.4.2 too
[Galaxy S I9000 Android Development] supercurio:
Its a known bug I fixed during this night, https://github.com/project-voodoo/linux_gt-i9000/commit/8aaf5b3e436a449dda0213bc80850b1fc7e0111c ;)
[Galaxy S I9000 Android Development] deathst:
Awesome, Thanks for the quick reply :D
[Galaxy S I9000 Android Development] _JKay_:
Hi, I have problems with xwjs7 with voodoo 5.4.2. Calls does not always work! Making calls hangs and accepting calls hangs. I am also using a framework-res.apk from js3. I will replace it with original and do more testing. Can it be BLN?
[Galaxy S I9000 Android Development] boldeagle:
Thanks for your advise.

But I don't have the "install zip from sd card" option in my recovery screen.

I only have "apply sdcard:update.zip" option.

cheers
[Galaxy S I9000 Android Development] Qukel:
You probably have recovery 3e then. You might wanna flash with Odin then.

Please read the first post carefully. There should be a link to where it is all explained.
[Galaxy S I9000 Android Development] fullerms:
Hi SC,

I just experienced the sudden volume increase bug if a sms is received when the analog volume control is active.

The music volume shot up suddenly and blew out my ears. Now I know how Tom the cat feels when Jerry shoves a stick of dynamite into his ears. :)

It's a ear blowing experience. Please fix asap before someone gets hurt.
[Galaxy S I9000 Android Development] halfsoul:
Supercurio,

I would really like it if you could make the default analog volume a settable option. For example, Voodoo currently defaults to -6 (I think), but I always turn it down to -26. Since I reboot frequently I would really like to be able to set my own volume (and I imagine others would too).
[Galaxy S I9000 Android Development] oswade:
I think it automatically saves it. At least for me, I turn it off at -30 and it comes on at -30 :)
[Galaxy S I9000 Android Development] eeyunopper:
Eagerly awaiting v5... preparing to flash back to 2.2.1 to be ready...

sent via potential brick...
[Galaxy S I9000 Android Development] halfsoul:
Mine is not persistent, it "forgets" when I reboot.
[Galaxy S I9000 Android Development] TubeShaped:
I just downloaded Voodoo Control App - Donate from market on a freshly installed ROM but it only showed the the amp option and recording preset, like the first version of the app. However the free version works fine. Sup? :P
[Galaxy S I9000 Android Development] supercurio:
Hi!

That's unexpected of course. Which version is it ?

Maybe try to send me (or attach) adb logcat output. It will describe me what's happening, thanks :)
[Galaxy S I9000 Android Development] supercurio:
Hi, I'm investigating the issue ATM but don't manage to reproduce it in any way so far.

Could you give much more informations ?

Which ROM / Kernel at least, which app in front, which SMS application ?

Also, joining a logcat of when it happens, will help.
[Galaxy S I9000 Android Development] supercurio:
Yo,

I tried again to reproduce this scenario without luck.

Is it some improvement I wrote in the latest version? Dunno as I didn't manage to reproduce it earlier also.

Would you tell me if it still happens with the upcoming 0.10 version of the app and driver v5 ?
[Galaxy S I9000 Android Development] dennishylau:
I haven't got the time to test extensively right now but with the same driver version as before (v4) and the new 0.10 app the problem seems to be solved!

I shall do some more testings and read some logs tomorrow. have to deal with some extremely nasty maths homework now :(

thank you supercurio :)
[Galaxy S I9000 Android Development] DDNV:
Sudden volume increase

Some more info for you.

I've only experience the sudden volume increase after an audio notification with app 0.10 and drivers v5. No problems with app 0.9.? or app 0.10 and drivers v4. To be clear, yesterday I was on app 0.9.?, and driver v4. Updated kernel with drivers v5 and app 0.1 today and had issues. Revert to kernel with v4 still with app 0.1 and no issues.

The simple way for me to reproduce it is listen to pandora, and plug in and out the USB for charging. So the charging notification audio initiates the increase. Other audio notification do it also, this is just the easiest way to reproduce it for me.

Captivate

ROM: Serendipity 6.2

Kernel: Suckerpunch #58 (v5) or #57 (v4)

Sorry no logcat file attached. Maybe later if I get a chance.

Thanks for the great work, and hope this helps.

DDNV
[Galaxy S I9000 Android Development] bernard134:
I am on darky rom v9.3 on my galaxy s running voodoo kernal 5.4.1. C an I upgrade to the latest v5.5 voodoo kernal?
[Galaxy S I9000 Android Development] deeaz:
Im running 5.4.2 kernel. Should i diable lagfix before updating to 5.5??
[Galaxy S I9000 Android Development] Jeshter2000:
Is this conpatible with JS8 ?
[Galaxy S I9000 Android Development] suua:
what has changed in the latest version?
[Galaxy S I9000 Android Development] jornbjorn:
yes you can upgrade from 5.4.1, also... dont need to disable lagfix.... and yes its compatible with js8.

the most interesting with new version is voodoo sound 5... works really well!
[Galaxy S I9000 Android Development] Demiourgos:
supercurio I like the thing you're doing.

Are you also planning to take care of Samsung Galaxy S2 i9100?
[Galaxy S I9000 Android Development] mkr14:
I can confirm that this is an issue for me as well. After the USB cable is plugged in and gives the notification sound, the volume shoots up. This is not registered by the Voodoo volume slider. Once you touch the slider, the volume returns to what it was before. The headphone amp notification disappears as well.

Voodoo Sound driver V5 with Voodoo Control .10

Going back to Voodoo Sound V4 fixes the issue.

I do not know how to provide logcat logs or I would.
[Galaxy S I9000 Android Development] supercurio:
Hi.

It's something never happening in my tests.

Can you describe be you exact detailled configuration ?

Kernel / ROM / each Voodoo app option activated/deactivated, of there are other software able to affect volume running (media players), tasker, modified Phone.apk for recording, or *anything*
[Galaxy S I9000 Android Development] supercurio:
I have no idea.

All I know is that I won't if its bootloader is locked/signed/encrypted
[Galaxy S I9000 Android Development] db7777:
Can i flash this kernel on gb beta (2.3.2)?
[Galaxy S I9000 Android Development] jornbjorn:
i cant use it with gingerbread
[Galaxy S I9000 Android Development] deeaz:
Are you sure i dont need to diable lagfix. Only flash from cwm
[Galaxy S I9000 Android Development] jornbjorn:
yes, i just did it myself ;)
[Galaxy S I9000 Android Development] DDNV:
ROM and Kernel above.

Captivate I897 1008

Voodoo app options

Force analog selected

Anti-jitter selected

Hi-fi play sleced

Hi-fi recored not selected

Mono downmix not selected

Phone.apk moded for recording on Serendipity

No other software that could affect volumne running (that I'm aware of)

Don't think these matter but

Modem T959TLJL3

PlumbBob GPS fix

Fugu tweaks

Is there a way to get the logcat file you need by using just the phone? Is so let me know and I'll get it and upload it.

DDNV
[Galaxy S I9000 Android Development] mkr14:
I am using this setup on a 1009 Captivate with a jk4 modem and no plumbbob gps.

Serendipity 6.2, Suckerpunch #58 (now #57 voodoo #4)
[Galaxy S I9000 Android Development] NightSky256:
Hi guys, is there a way to enable calls througt standard (no mike) headphones with the latest voodoo kernel version ?

As this feature is the only that keeps me on OTHER kernels. :(
[Galaxy S I9000 Android Development] Gari126:
Thank you Supercurio + feedback instal 5.4.2

Hi Supercurio,

Many thanks for the great job you are doing!

You have significantly liberated the sound of my Galaxy S 16Gb !

I can now listen to the FM tuner without any shame! and enjoy the overall sound quality improvement ... donation is on its way !

Just to report to you (and others) that I didn't manage to flash your 5.4.2 version (renamed update.zip) with CWM, as I got the error "Signature verification failed... Installation aborted?"

I was running a stock ROM (The JS5 from Samfirmware) with the 3e recovery version in CWM (by default)... and this might be the problem ... the 3e recovery seems to have problem with the checksum of your file !

So I turn back to ODIN 1.3 .... and followed your recommendations in your first post and succeeded quickly to flash you Voodoo 5.4.2 on my Galaxy S 16 Gb!

I could also enjoy the nice woman voice, telling me that all the process will take time, and that I have to be patient !!! a nice way to keep cool during the stressful upgrade!!

Many thanks again ...!!!

Gari126 (a Frenchie living in Holland)

PS: no bug found yet!
[Galaxy S I9000 Android Development] Jeshter2000:
Strange i lost some setting ... How can this be Curio ??

Force analog

Anti-jitter

Hi-fi play

Hi-fi recored

Mono downmix

This is what i don't have sooo i dont know what the problem is .

I only got : headphone amplifier ,Recording Presset .Disable Voice filter... Thats it ! is this correct?

Im on Js 8
[Galaxy S I9000 Android Development] supercurio:
Sorry NightSky256, it's not yet implemented by still planned!
[Galaxy S I9000 Android Development] supercurio:
Hmm you shouldn't loose previously available settings :)

Can you show me your logcat or a screenshot ?

Thx!
[Galaxy S I9000 Android Development] supercurio:
BTW thanks guys for helping me understand the sudden volume raise some people experience.

I still didn't manage to reproduce it and I need reports from you to get it I guess ;)

Maybe my phones or usage are "too clean" ^^ to reproduce it? Dunno yet.

Why logcat can help:

Logcat is the log for applications. since the beginning, Voodoo apps reports a lot of things in the log for debugging and information purposes.

For instance, each volume change is notified in the log, and also the file writing action (in /sys/class/misc/voodoo_sound/headphone_amplifier_level)

If the app (with volume key mapping hack) is responsible of the Volume change, I should be able to fix that some way, using informations in logcat.

However, so far the reports I had showed no such thing as writes/volume changes fro the app.

Means it would be something else, in a driver external to Voodoo and the existing standard sound driver.

Why?

Because the way its designed is like that:

If there is a volume change, commands send to the hardware are "hijacked" and original volume value is replaced by user-set volume level.

And, concretely, no other level can be sent, it's impossible.

In this case, it would mean

- another driver (there are some sort of 2 drivers running at the same time on the same hardware, strange design.)

- or a non-kernel app accessing directly hardware's registers (not impossible either)

- or the baseband itself accessing audio hardware to do some stupid things (not impossible, extremely dumb and virtually unfixable)

Now you know why it's not so trivial to fix, even if to me it's the most serious issue because if only few people experience it, it can affect health or hurt hearing.

Thanks !
[Galaxy S I9000 Android Development] Jeshter2000:
Will do tommorow ... Really strange logcat how do.i do that ? Willing to help you know
[Galaxy S I9000 Android Development] supercurio:
for logcat, you can do (every OS, sdk installed and USB debugging enabled)

adb logcat > logcat.txt

Or download and use a "logcat" like app on market, several of them allow to dump and save the logcat output on sdcard ;)
[Galaxy S I9000 Android Development] _-livio-_:
any news on the eq feature?
[Galaxy S I9000 Android Development] supercurio:
Yes, Wolfson confirmed our partnership and its a feature that will be developed with their blessing during Q2 :):):)
[Galaxy S I9000 Android Development] GGXtreme:
I'm experiencing the same issue. What I've got:

Phone: AT&T Samsung Captivate I897 (batch 1009 w/ broken 3-button combos)

ROM: Modified Serendipity 6.2 (call recording, Flash 10.2+Hulu-in-browser support, other minor tweaks)

Kernel: Suckerpunch #58 (100Hz, all recommended tweaks + CIFS and TUN support, warm screen profile, recommended ext4 lagfix and /system converted to ext4)

Modem: JL3

Other: Using GoSMS for messaging, no running apps or task killers besides PowerAMP (used for testing the media volume for this bug), stock Music app frozen with TiBu (it kept starting up every time I unplugged my headphones for some reason), running LauncherPro

Flashing back to Suckerpunch #57 solved the issue. I'll flash back to #58 and get you a logcat ASAP (not tonight, too tired right now).
[Galaxy S I9000 Android Development] halfsoul:
supercurio, can you please let me know which behavior is expected? What is the volume level set to after a fresh boot?
[Galaxy S I9000 Android Development] supercurio:
First thing: does somebody has the sudden level jump issue with one of the kernel I distribute myself ? (this one or the Nexus S ones)

I see a few people report use Captivate kernels with those patches:

- hpcall supprt (Calls routed via headphones when available)

- Captivate Car/Home Dock Support

That's 2 patches hacking routing (messing with path numbers using hardcoded values). Could be related.

Wont be related if somebody had the same issue with my kernel.
[Galaxy S I9000 Android Development] supercurio:
Today its not perfect, like if you boot with headphones plugged the expected volume is not applied (only if you boot without headphones plugged in and you plug them later)

This is something that will evolve soon.
[Galaxy S I9000 Android Development] mkr14:
Not sure if I did this right

Here is my first attempt at a logcat log. The programs I found on the market save the log in a giant ugly clump of text. Not sure how to get around this. I tried using ADB to replicate it, but you need the USB cable already plugged in to use it.

Anyway, I tried to limit the log to the actual event. Let me know if I should do something else.
[Galaxy S I9000 Android Development] supercurio:
Hehe, you can try to limit as little as possible so we can understand better what's around.

Reading the log now, thanks!

PS: not worried by 5MB logcats ;)
[Galaxy S I9000 Android Development] supercurio:
Is that really when the issue happens ?

− I see alsa openings but no VoodooApp action

Are you playing music when volume issue appears ? I see no trace of player log - not sure
[Galaxy S I9000 Android Development] mkr14:
I have it set to level - Debug. Should this be set to Verbose? I cleared the log then timed it to save the log a bit after I plug in the USB. That is all of the info that popped up.

Here is another log set at Verbose.

EDIT: I added a second log. Made sure I set the volume before plugging in the USB cable. It should contain the event.
[Galaxy S I9000 Android Development] supercurio:
Thanks, still no trace of VoodooApp action at all.

Means VoodooApp is not at fault.

Now I'm testing other methods, like with trying to set the output level directly by ALSA levels.

Same way, its intercepted by my driver and only the user level value is applied.
[Galaxy S I9000 Android Development] supercurio:
At which point does the problem happens, would you say in the second log?
[Galaxy S I9000 Android Development] mkr14:
As soon as the USB connection notification sound goes off and the music reinitializes.

I would guess that the problem should be reported somewhere in the middle of that log. EDIT: er more like towards the end

880): Collection::notifyDUNConnected -> connected socket:13

D/notified_event( 2880): Collection::notifyDUNConnected --

I/NotificationService( 3210): Normal Sound PLAY ... system/media/audio/ui/Charger_Connection.ogg <-- IT HAPPENS AFTER THIS EVENT

I/AudioService( 3210): AudioFocus requestAudioFocus() from android.media.AudioManager@48c1f7e8

V/MediaPlaybackService( 4274): AudioFocus: received AUDIOFOCUS_LOSS_TRANSIENT

E/AudioTrack( 2888): getAudioMode[0]

I/AudioHardwareALSA( 2888): virtual android::status_t android::AudioHardwareALSA::setFmRadioVolume(float) : Volume = [0.000000]

I/AudioHardwareALSA( 2888): [virtual int android::AudioHardwareALSA::setCodecStatus(int)], Data=0

D/AudioHardwareALSA( 2888): AudioStreamOutALSA::setParameters() routing=10

D/AudioHardwareALSA( 2888):

D/AudioHardwareALSA( 2888): ALSA OPEN mode 0,device 10

I/AudioHardwareALSA( 2888): Try to open ALSA PLAYBACK device AndroidPlayback_Speaker_Headset_normal

I/AudioHardwareALSA( 2888): Initialized ALSA PLAYBACK device AndroidPlayback_Speaker_Headset_normal

D/AudioHardwareALSA( 2888): Set PLAYBACK PCM format to S16_LE (Signed 16 bit Little Endian)

EDIT: Not really sure what I am looking for but this seems to be the actual event. This is occurs after the playback device is restarted. It seems to pop up right when the audio spikes as well. This is towards the end of the log.

AudioHardwareALSA( 2888): virtual android::status_t android::AudioHardwareALSA::setFmRadioVolume(float) : Volume = [1.000000]

I/AudioHardwareALSA( 2888): [virtual int android::AudioHardwareALSA::setCodecStatus(int)], Data=1

Should it set volume to 1.000000?
[Galaxy S I9000 Android Development] cbdrift:
Ummmmm - Superdude (heh) - all i can say about V5 sound is WOAH!!!

Im hearing things in tracks i thought I knew that i havnt heard before - same headphones - but there seems to be more detail in the very quiet background to some parts of the tracks i listen to =)

YAY - i get to listen to everything I have again as new stuff =)

MANY Thanks - again - you keep my happiness with this phone on such a good level I dont know if i ever need to replace it :)

Quick question about nexus s and sgs versions tho.

The nexus s ver has speaker tuning is that something that the sgs cant or doesnt need? or is it due to a different speaker design and driver method?

Just curious - i dont listen to music on the speaker anyways :) heh

but if you can give the speaker more bass - i wouldnt say no :)

thanks again

looking forward to anything you add to this in future :)
[Galaxy S I9000 Android Development] supercurio:
:) I'm happy you have pleasure listening to music !

About the speaker tuning, It can very well be done on Galaxy S, at the condition we find first how to disable the software processing applied first (using CPU) on streams sent to the speaker.

On Nexus S or CyanogenMod, the unmodified sound is sent to the audio codec then played on speaker, so I can arrange it to sound better with this particular hardware.

On Galaxy S roms, it's already damaged so its too late.
[Galaxy S I9000 Android Development] Jeshter2000:
Do i need.to.do something special or.just run the logcat .. Audiojack detection does not work anymore to so .
[Galaxy S I9000 Android Development] Aphova:
Great work on V5!

About the quote - so it's not a hardware limitation? I remember you said that hardware audio decoding (decompression) is not possible because of the circuitry design if I'm not mistaken. This is something different though?

Saw your twitter post, sorry to hear about the setback with Samsung Korea... Glad you're not giving up!
[Galaxy S I9000 Android Development] DarrenCarnall:
Just tried this out, excellent work here! I love that I can now finally hear both left & right channels of The Beatles when playing through the phone's built in speaker (using forced mono setting).

It would be great if somehow you could set it so the headphone jack was always in stereo, and the external speaker was in forced mono. Like have the choice for both. But as it is it's really useful being able to change it.

Great work supercurio!
[Galaxy S I9000 Android Development] Jeshter2000:
@Supercurio Do i need to do something special for the logcat that you asked for ?

http://www.2shared.com/document/nabMECxh/alogcat2011-03-18-14-16-540100.html

At the end of this file i did a headphone plug in and out

I hoping that you can track the issue .. Really love voodoo sound sooo cant live without it.

Here is a screencapture:

Uploaded with ImageShack.us
[Galaxy S I9000 Android Development] halfsoul:
Supercurio,

I have a couple ideas about the sudden volume on sms issue and why you haven't reproduced it:

1. Serendipity does not use the stock Samsung mms.apk

2. Serendipity has the option to tie notification volume to incoming call volume.

Questions for those affected:

1. Is it only sms notifications? What about emails?

2. Do either of these fix it?

a. Use a different messaging client

b. Disable notification volume binding
[Galaxy S I9000 Android Development] hytin:
no sound i the speaker when making phone calls but on load speaker there is

im on JS8

and voodoo 5.5