yashsingh1/xdaforums huggingface dataset:
[Captivate Android Development] VentureForth:
OK. Have Galaxy Tuner installed, but when I tap Sound, it crashes. Has this happened to anyone else, and is there a workaround?

Should my lagfix be on or off?
[Captivate Android Development] 305Freak:
I personally haven't because I did not know it was a simple change. Now that I do I will ask. Thanks X...

P.S. Your work is awesome.
[Captivate Android Development] ficeto:
what is that fix? I made a kernel without Voodoo Sound for i9000 users with that problem, but fixing it all together will be a better way :) care to share?
[Captivate Android Development] xcaliburinhand:
Take a look at the code here:

https://github.com/xcaliburinhand/I...mmit/a2693cd06863f1d6ad6a70d0b0998f3c80aeae9f

The top addition (lines 343 to 349) is the stuff needed to set the usb controller to the right mode for the captivate.

The bottom two additions, fix some things Samsung left out. In the most recent kernel source from Samsung they add in the bottom to sections of code, so you can add line 373 to 389 and 434 to 444 without the if statements.

If you would like to also enable call audio using the dock, check out this code:

https://github.com/xcaliburinhand/I...mmit/c31dacfd1b1c3236df5955d108b3a4f5d68931f3

(ignore the change on line 37 of wm8994.h)
[Captivate Android Development] 305Freak:
Thanks

Hi ficeto, glad to see you received my message via rickysa2000. Thanks for looking into this. I think your kernel is stellar but in-call audio through USB to use in the car dock is important if you don't have some kind of bluetooth audio device in the car. This is typically the radio itself. Alas, that feature normally increases the car cost (from dealers such as BMW) by another $1000+.

It really does work well although I've noticed on some versions of some kernels, once the call is initiated it does not reroute audio unless you enable the phones speaker phone and then disable it. A minor inconvenience really. Maybe Xcal has some input on this. Viva hands-free phone calls!
[Captivate Android Development] ardyer:
Does anyone know which CM7 Kernels have xcaliburinhand's changes to them? The only one I have seen is Glitch, but I'd like to find one that has fewer extra features (e.g., things for me to screw up ;) )

I've looked at the changelogs to a lot of them, but none really seem to mention it.
[Captivate Android Development] BumRush:
Any update on this? I have recently switched from talon to dc3.1 and am loving it. Call auido through the dock is really my only complaint about the kernel.
[Captivate Android Development] 305Freak:
I have not heard or seen anything yet.
[Captivate Android Development] heymanator:
Is there anyway to make this into a app or zip file. I enjoy using the dock however it would be nice to have call audio through the dock as well. Is there a way to fix the less bass sound
[Captivate Android Development] 305Freak:
I wish more kernel devs would look into the in call audio through USB. Hopefully it can be done to the Captivate kernels as well. I had stayed away from Captivate ROMs until this week. I personally think they run just as good if not better out of the box than the i-9000 ROMs. Now if only this small fix could be addressed :rolleyes:
[Captivate Android Development] boog:
Will probably have to wait on source to see any of these changes.
[Captivate Android Development] justin860:
do you have to have the dock? or can I use just a usb cable?
[Captivate Android Development] loserskater:
The dock triggers the USB with a specified resistance(?) (like a download jig) so it knows the dock is attached and to transfer audio over USB. If you can find a way of tweaking your USB cable to have that same resistance (probably by splicing) then it would probably work, but a normal USB cable will not.
[Captivate Android Development] outcastrc:
Just letting you guys know Rogers 2.3.3 update absolutely cripples the docks, and USB audio. Audio redirector app does not help.

One cool feature that I stumble on tho was I had the phone plugged into the car stereo with just the phone jack. I received a call and was able to have a hands free conversation. The other person was coming out of the front passenger door speaker. Very nice. I don't recall ever being able to do that before...
[Captivate Android Development] BPM:
same problem here.

i love cm 7.1. but which kernel should i use to get the dock working??
[Captivate Android Development] darkfalz:
Someone correct me if I'm wrong, but I believe that this feature is coming to CM7 sometime soon. I think I saw it in the teamhacksung Twitter feed.

Edit: https://github.com/teamhacksung/samsung-kernel-aries/commit/2eb4c630f9e0b2e4efae3a158ce03c07255c8800
[Captivate Android Development] xcaliburinhand:
Yes and no, current coding looks like it will work with the Captivate and Fascinate. However, the phone will still think it is in speaker mode so the infamous bass issue will pop back up.

-x
[Captivate Android Development] lar1r:
Are the steps to enable usb audio for phone calls simliar for both captivate and i9000?

ie: if we want to add this feature do we just follow this:

http://api.viglink.com/api/click?fo...a4f5d68931f3&jsonp=vglnk_jsonp_13233140758591
[Captivate Android Development] Betray:
No that is not the app we use. Not sure what app that is but its called car home
[Captivate Android Development] loserskater:
The name of the apk is CarCradle.apk but when you install it, it comes up as Car Home. This is it right?
[Captivate Android Development] Betray:
Almost looks like that. There is no voice search option on the top. instead it says "Search" and does a generic android search
[Captivate Android Development] xcaliburinhand:
For the people who can get the audio out through the dock but not phone calls, that may be a different issue. Similar issue happens when not using a dock.

There is support in the froyo 2.2.1 kernel for phone call audio using the headphone jack, but the output path doesn't seem to be triggered correctly.
[Captivate Android Development] ozone777:
Another Way

Take your $40 and get either of the following:

Satechi Bluetooth Hands-free Car Stereo Fm Transmitter

or

Kensington LiquidAUX Bluetooth Car Kit with Remote

Both can stream music and phone through your speakers using a bluetooth connection. Plus, that's one less wire running up your console and dash.

The Satechi can stream via AUX connection as well as FM transmission.

The LiquidAUX streams via AUX connection only but also has a nifty remote you can attach to your steering wheel.

I am using the LiquidAUX but only for music and not phone and it works perfectly.

But if you really need the phone capability, then the reviews seem to favor the Satechi.
[Captivate Android Development] ardyer:
Gave the desk home from the rogers rom a try today at work (thanks loserskater), with no luck. Running Phoenix 4.0.3. If I ever decide to try Firefly, I'll give it a shot there too.
[Captivate Android Development] inningsdefeat500:
I have Rogers 2.2 and it works with Samsung Desk Cradle
[Captivate Android Development] mrcoolgli:
I have the rodgers update and this dock and sound does not work. I will offer up 20 bucks to sweeten the pot.
[Captivate Android Development] outcastrc:
When I went use it again yesterday it didn't work. So it looks like its not very reliable. I plan on trying again tonight after work and if it doesn't work. Restart the phone to see what happens.
[Captivate Android Development] lospulpo:
Count me in for 10 bucks if the issue gets fixed before AT&T's Froyo.
[Captivate Android Development] darkovin:
I am running FireFly 2 w/ the firebird2 v.0.4 kernal, but with no luck. I will try the posted car dock tomorrow to see what happens.

Update: Nope, no go.
[Captivate Android Development] outcastrc:
Well I'm not impressed. It didn't work yet again, and a restart of the phone didn't help. So officially I have only gotten it to work once.
[Captivate Android Development] ihalatci:
I have the official car dock for a while and I have been trying with various versions of Cog since 2.3bx with no luck.

$15.
[Captivate Android Development] eightysixfilms:
I've used double twist out of shear laziness to sync my music over to my phone. I don't know how long it's been since they've applied it to their app, but in settings there is an option for Auto USB drive. I enabled it right off the bat and didn't really think anything of it. But one day when I plugged my captivate into my usb port that I installed in my car and my head unit began to read it as an external drive and boom music started playing. I have a Pioneer DEHP5000UB head unit installed, it's like 4 or 5 years old and works great.
[Captivate Android Development] loraque:
This isn't the same thing I think. Yours is being read as a mass storage device that happens to have music on it, and your stereo is reading/playing it. This issue is having the phone convert audio to USB out, so that the AUX jack on the mount can receive the audio signal, and still provide power through the connected USB.
[Captivate Android Development] OVCArchion:
Being on the 3rd page is no good...
[Captivate Android Development] delugeofspam:
I'll throw $15 at whoever gets this working, myself.

I wasn't going to buy the OEM dock, I found one that is an FM transmitter (my car is kinda primitive...) and I was going to use that.

It stands to reason that USB audio out is USB audio out, and if you get it working on the OEM dock, it will work on an after-market dock as well.

So... the bounty is up. I bet some dev is willing to chomp at $100... and hopefully it's hardcore because I like using speedmod :D
[Captivate Android Development] GAMacky:
If you're using an after-market dock with an FM transmitter, couldn't you use the audio out jack on the Captivate instead?
[Captivate Android Development] lanisan:
USB

K, my interest is piqued..

I have an alpine IDA-X001 head unit. (Meant for iPhones but has usb in and supports fat32 up to 8gb I believe). I have never been able to get it to Mount to the head unit (which reads the music and allows you to control it natively from the deck seeing Artist info, song info etc. Never connected a flash drive but assumed my phone would work. I have the SD and an External SD. I do not have a car dock and don't see that I should need one. USB pass through is USB pass through to me (correct my ignorance please). I should be able to connect my micro usb to the female usb connection of my head unit and play music directly that way reading the SD or EXTSD but again, it has never worked. I will try the desk home option. I'm on FF 2.0.4. Right now I am connected over a 3.5mm to aux in on my head unit. If I am completely missing what this thread is for, forgive me.

Thanks
[Captivate Android Development] GAMacky:
Did you set your USB setting to Mass Storage? Then your HU should be able to see the audio files on your phone.
[Captivate Android Development] tazman171:
Sure with a different dock, accessories, etc., etc.

This thread is specifically about the Samsung Car Dock and implementing the 3.5mm jack that comes from the USB port on the dock

The standard 3.5 mm is covered and the option is supposed to be implemented with Froyo according to Samsung but so far nada as far as the official rogers froyo release. :cool:
[Captivate Android Development] mrcoolgli:
I tried the stock rodgers update today.

1. Fresh install, nothing added.

2. Tried rebooting the unit while in the dock.

3. Rebooted serveral times.

Nothing I could think of would get audio to work on the dock 3.5mm interface.
[Captivate Android Development] neptronix:
I have gotten all cog roms to work with dock. Unfortunately I run only 9000 roms now and have yet to get to work. In the cog roms it requires a specific version of car home to work. I can post link if anyone needs
[Captivate Android Development] delugeofspam:
The dock I'm looking at buying is "universal" for android phones, with just a USB connector. It charges and gets audio from the USB port. I'm (hopefully correct in) assuming that whatever audio format the Samsung OEM dock uses is what this mount is expecting.
[Captivate Android Development] Betray:
Ok to those who have rogers stock 2.2 to allow audio out, you must click on the circled button i have highlighted until it turns with a strike through it almost looking like its on mute.

I have had a few issues where the audio didn't come throw, so i disconnected it then i tried again and it worked.
[Captivate Android Development] loraque:
I would like to give that a try. Everyone else flip the mount over and plug in AUX and USB and still use the mount at least? :)
[Captivate Android Development] OVCArchion:
Do you mean the desk dock or the car dock. they are quite different. We are dealing with the car dock here.
[Captivate Android Development] OVCArchion:
Flipping it over works ok, but unless you have a thin audio cable or you trim the mount itself around the cable, it does not hold the phone as tight.
[Captivate Android Development] RockRatt:
I just picked up a JVC deck for my truck, it has a usb cable port and a audio jack. I plugged in my captivate with the usb to the stereo usb cable expecting only that it would charge it. But my phone asked for a mass storage device. I hit okay and the stereo showed downloading. Then the music started playing. When I received a call though it would not pause the music but I was still able to take the call and talk via the bluetooth while the music still played. I know this is not exactly what you are looking for but it does show that the usb on our phones will do audio out to a device and play. I have not tried connecting it with the audio jack yet but I would love for it to play my music and pause on an incoming call as it does via either my headphone jack or bluetooth headphones.

Sent from MY Perception 10.2 Darkness 2.5, Glitterballs v.4 1280 Oc/Uv, UGJL2 MODEM on XDA App
[Captivate Android Development] foxbat121:
Your phone is being used as a USB stick. It is not the same thing and your USB port is not output audio at all. It outputs MP3 files to the deck.
[Captivate Android Development] Guardian_Bob:
updated files via the Rodgers froyo dump, looks like it supports it now.

The problem is, it has to be baked into the kernel. Meaning, it'll take someone with a working kernel dev env to make this work. I don't have that yet, or I'd just do this.
[Captivate Android Development] xcaliburinhand:
I896 code uses fsa9480_write(client, REGISTER_MANUALSW1, 0x48); // D+/- switching by Audio_L/R within enable_SPK instead of fsa9480_write(client, REGISTER_MANUALSW1, 0x90);	// D+/- switching by V_Audio_L/R

I haven't checked if there any major differences included in the audio codec.

However, has anyone been able to validate that forcing the "mute" through the dock app on the rogers kernel forces audio out the dock. I have seen mixed answers on this.
[Captivate Android Development] Guardian_Bob:
Well I now have the dock to test with, all I need is a proper kernel. Currently on perception 10.3 with Firebird.
[Captivate Android Development] xcaliburinhand:
Test kernel has been removed as functionality has been implemented in my main kernel stream.

http://xdaforums.com/showthread.php?t=808286
[Captivate Android Development] loserskater:
Flashed. Waiting to get off work to test

EDIT: Still not working for me... both music and phone calls... trying the rogers car home now

EDIT 2: Rogers CarCradle.apk works with this kernel!!! The music plays through usb! although phone calls are still routed through the phone speaker. But this is all I wanted so great job!

Oh, and you have to hit the speaker icon at the top so it displays mute (line through it)

I'll update the first post when more people can confirm.
[Captivate Android Development] xcaliburinhand:
May be able to resolve it with the same fix to get phone calls through headphones. Will need you to run a debug kernel first. Should be able to get it to you later tomorrow.

Sent from a cell tower.
[Captivate Android Development] fatttire:
Do you guys think that we can splice a USB cable to get 3.5mm audio out or do you need to buy the cradle?

Btw, freakin' ingenious
[Captivate Android Development] Guardian_Bob:
Um, you'll need a dock.

It is a little big but here you go:

http://www.newegg.com/Product/Product.aspx?Item=N82E16875998664&cm_re=i897-_-75-998-664-_-Product
[Captivate Android Development] loserskater:
Not sure about splicing, but you might be able to find a usb > usb&3.5mm adapter somewhere... Now hoping that works is a long shot, but you never know.
[Captivate Android Development] loserskater:
Added to OP:

-Here's a couple workarounds to use other car homes/music apps!

1. When you select the car home app DON'T SET AS DEFAULT!

This will cause the home button to just stay at the car home instead of going back to the launcher.

Open up the Roger's Car Home, press the home button and then select your music/car app.

2. Use your music/car app so it's in the recent app lists.

Open up Roger's Car Home, hold home and select the app you want.

3. Setup a Tasker profile that opens the app you want when the rogers app is opened.

That way you can set Roger's Car Home to default when you plug it in you're good to go.
[Captivate Android Development] tazman171:
The samsung car dock has a 3.5mm jack on it that is tied to the usb on the dock, but the captivate already has a 3.5mm jack so no dock needed.

First page info:

THIS and THIS is the car mount I'm talking about. They're both the same.

It has a male usb that plugs into the phone and on the back of the mount there is a female usb (for charging) and a female 3.5mm line out (for audio). Once plugged in, all audio is sent through the rear speaker instead of over usb.

It states in the manual that it will work once the official 2.2 comes out.

I'm hoping that somebody can get this working before that.

So,

If your car stereo has RCA aux in puts you need a 3.5mm male to stereo RCA male cable, works with the dock now or phone by itself.

If you have a 3.5mm aux jack on the front of the deck,

a 3.5mm male to male cable will work with the dock or /and with the phone by itself.

If it has a micro or mini usb port and you're not using the Samsung car dock you need the adapters for switching the usb cable to the corresponding end and use your usb port on the phone .

As stated, this was just to implement the usb linked 3.5mm jack on the samsung car dock as samsung said it be implemented with an official captivate Froyo release. Rogers is the only North American carrier that got it, so far that is, and it still wasn't working until recently thanks to the devs here.

No Samsung car dock is needed to listem to music from your phone on your car stereo, rather, it was the dock making that hard to do. :cool:
[Captivate Android Development] Guardian_Bob:
Um okay. I know I have an official car dock to use my phone as a GPS unit. The dock covers the audio out. That means, at least for me, the USB audio is a big deal. I assume it is a big deal for a few people, as some have bought desk/car docks that won't play audio until 2.2 or a kernel with support comes around.

Actually it doesn't with the official dock, see my comment above. The headphone jack is inaccessible.

I don't think anyone was claiming you needed the dock to listen to music in your car. What I believe the claim was, people with the official docks and a Captivate cannot play music/calls through the car stereo/etc using the dock. That is what is trying to be resolved by this thread.

Note this not only affects the car dock, but the desk dock as well.
[Captivate Android Development] xcaliburinhand:
I am not sure if there is really a need to splice a USB cable since if you are not using a dock, you have access to the phones built-in 3.5mm jack.

However, as a thought exercise I will mention the following:

The micro USB cable has 5 pins, VCC(1), Data-(2), Data+(3), ID(4), GND(5). Based on this thread a 133K resistor between pin 4 and 5 will trigger the home dock, a 619K resistor between pin 4 and 5 will trigger the car dock.

At this point using the app and technique described in this thread, the output of pin 2 and 3 can be connected to a 3.5mm jack.

I have not tested any of this, and this is all speculation based on kernel comments and the resistor thread. Talk this with a grain of salt and try at your own risk.

-x
[Captivate Android Development] Guardian_Bob:
There is the other problem of which ground to use as well, based on the comment.

For stereo sound, as the comment suggests:

// D+/- switching by V_Audio_L/R

You'd need 3 wires. It could be the USB ground, but no promises. Time to get out a multi-meter and test some connections.

I would test this myself but I don't happen to have a breakout board for the male micro USB that the dock has.
[Captivate Android Development] loraque:
Trying to test out the fix... does this carcradle.apk add itself to the app drawer so you can choose it, or does it run on dock only? I can't seem to find it after applying it, but that may be one of my other car homes getting in the way.

And I think my ROM does not include the default music player based on Google Car Home not being able to launch the music player when I click on it. I can add it manually, but the one on my ROM (Serendipity ATM) has no mute/external speaker option to select.

The Fascinate guys, now that they have 2.2, have a similar thread to this where one of the guys there got this working using Google Car Home, with a similar mute workaround that we have going on. I did try that, but ran into the non-stock music player issue. Anyone try the Google Car Home with the test kernel?
[Captivate Android Development] loserskater:
Ok, I had the update.zip setup wrong. It should work now. And it will be available in the app drawer along side the Google Car Home. They will both be called Car Home. And if you want to use Google car home, look at my instructions in the first post.
[Captivate Android Development] loraque:
Confirmed this is working, though I am still trying to figure out how to get my normal home key back. Re-reading things gives me ideas. My phone is doomed.

But it DOES work. I had Pandora playing just fine. Only a quick jaunt to the store for chicken soup though, so no time yet to explore the possibilities.

I was pretty concerned with the feedback I could hear prior to this from the power... or whatever. I could hear the pitch of the hum change with the engine revving, and I was concerned that would carry over. Did not detect it.
[Captivate Android Development] fatttire:
Thanks for all your replies... but I think I didn't explain myself well... the reason why I asked about splicing the USB / 3.5mm audio is cause I hate plugging in two cords plus its more to get tangled.

Haha yes, I am aware of the headphone jack on the phone....

Awesome work.

Gonna look for a USB / 3.5mm audio Y adapter :D
[Captivate Android Development] Guardian_Bob:
Well two cords is a small price to pay considering if you decide to pull the audio out, your interacting with the power system of your phone and one small mistake can fry it.

Furthermore, you can't just splice an existing cable, you'll need a breakout as the normal cable just connects pins 4 & 5 or so I'm told.