yashsingh1/xdaforums huggingface dataset:
[Touch Pro2, Tilt 2 Android Development] Tippfehler:
I have tried, to get connection with Sony Ericsson LiveView. It is paired, but I think there is data connection missing. In WinMo it opens two COM-Ports. I have tried my LV on a native android phone and it runs.

On Rhod100, if LV is trying to pair, sometimes the BT is switching off after 2 seconds and on after 4 seconds all the time, until reboot.

For people, who don´t know, what LiveView is:

LV is a Wrist-Watch Remote Control for Android-Phones with a small touch screen.

You do not need to pull your phone out of the pocket for the most things.

And it is not expensive, I bought a new one for 30 €.

http://www.youtube.com/watch?v=KN2qoA0FfHQ
[Touch Pro2, Tilt 2 Android Development] Serren:
I can confirm after 24 hours of testing that the 01319 kernel is MUCH better on this audio/bt build then the others in the first post. Only two crashes in 24 hours.

One crash was really odd, as the phone all of a sudden started to make static, popping and crackling sounds. Something in the audio software went bad I guess. The phone worked, but no audio.
[Touch Pro2, Tilt 2 Android Development] pdawg17:
I agree...no matter what kernel I use though BT pairing/connecting has been spotty at best...I even went out and bought a Plantronics Voyager Pro+ headset to see if my 510 was going bad and it has had the same pairing/connecting problems...
[Touch Pro2, Tilt 2 Android Development] toadlife:
FWIW, the two bluetooth headsets I use are Motorola T9 and Motorola T505. Both have worked almost flawlessly. I've had a few glitches here and there, but I also have the occasional glitch in WinMo with these devices too. I've also paired with my HP laptop (don't know the BT chip) and successfully sent a file to my phone via BT.
[Touch Pro2, Tilt 2 Android Development] pdawg17:
Ok...good to know that BT works well for you...any rhod400 owners that have tried the BT? How well is it working?
[Touch Pro2, Tilt 2 Android Development] großa:
Which phone model do you have?

I'll test the 1319 kernel too. Got the same problem + the loudness for music or ringtones sometimes fluctuated. No chance to get a logcat.

It happend at work.

If it's not too late, i'll try to get a logcat on saturday/sunday.
[Touch Pro2, Tilt 2 Android Development] mbellot:
I haven't paired a headset (don't own one) but file transfers to/from my laptop have been fast and flawless.
[Touch Pro2, Tilt 2 Android Development] pdawg17:
Do you remember if you used BCM4325D0 or D1?
[Touch Pro2, Tilt 2 Android Development] mbellot:
D1. Copied in to the file system, not with a bind mount.

I know I went through some gyrations getting it to work because I don't have adb up and running.

Copy stuff to the SD, booted Froyo and used Connectbot to get a root shell. Remounted / as rw and did all the edits/copies (took three tries to get it all done) and after the last reboot I had functional audio (loud) and the phone paired up with my laptop for file transfers.
[Touch Pro2, Tilt 2 Android Development] nasapunk88:
this same thing happened to me in rhod300(tilt2) with my Motorola headset. using 01324, pushed all files using ADB, used the BCM4325D1.hcd

i dont have a computer with Bluetooth to test file transferring yet. =(
[Touch Pro2, Tilt 2 Android Development] pdawg17:
Thanks guys for the help with BT...turns out I had a typo in the hciattach command...the font used in post #2 makes ones and lowercase L's look the same...BT working great now!

On another note, I've had times where I receive a phone call and person on other end can't hear me...toggling speakphone on and then off fixes it...is this a known bug?
[Touch Pro2, Tilt 2 Android Development] tstonick:
No audio on CDMA RHOD400

So,

I have a Sprint CDMA RHOD400 and

custom_shells{

chmod 777 /etc/dbus.conf

chmod 666 /dev/htc-acoustic_wince /dev/tpa2016d2

#echo 2 > /sys/devices/platform/msm_hsusb/usb_function_switch

rm -f /sdcard/fsck*.rec

modprobe ipv6

mount --bind /sdcard/Android/libhtcgeneric-ril.so /lib/froyo/libhtcgeneric-ril.so

mount --bind /sdcard/Android/libaudio.so /lib/froyo/libaudio.so

mount --bind /sdcard/Android/libaudiopolicy.so /lib/froyo/libaudiopolicy.so

mount --bind /sdcard/Android/libhtc_acoustic.so /lib/froyo/libhtc_acoustic.so

in my froyo.user.conf and the libs all in the right spot, but with either 1319 or 1324, I get no audio at all. Any suggestions?
[Touch Pro2, Tilt 2 Android Development] arrrghhh:
I mention in the thread bindmounts don't seem to work. You're also bind mounting those libs to the wrong location, re-read the first post.
[Touch Pro2, Tilt 2 Android Development] pdawg17:
Files should be bound to /system/lib - not /lib/froyo

EDIT: Beat me to it arrrghhh!
[Touch Pro2, Tilt 2 Android Development] manekineko:
Also, you didn't mention, but you got the csv files as well right?
[Touch Pro2, Tilt 2 Android Development] Serren:
Forget the bindmounts. Research how to "adb push" files. I learned last week and its not hard. It will make things much easier for you.
[Touch Pro2, Tilt 2 Android Development] manekineko:
Are people able to remount their systems read/write with the loopback filesystem? When I try to do so, I get an error in ADB, and without that I don't think you'll be able to push files into system.

I just mount the files in Linux and copy them in when I don't bindmount.
[Touch Pro2, Tilt 2 Android Development] webxplore:
Using 1319 kernel & hyc rootfs+system ext (/sdcard/andboot)...with a brand new data.img.

using adb,

mounted / & /system as rw

modified & pushed init.froyo.rc according to 1 & 2 posts,

pushed audio libraries to /system/lib (chmod 755),

pushed brcm_patchram_plus to /system/bin (chmod 755),

pushed BCM4325.hcd (D1) to /system/etc (chmod 755),

made sure all *.csv files are in /sdcard/andboot folder

remount ro

reboot

toggled bluetooth......no luck

captured logcat & dmesg (05-19 07:59:29.070 E/bluedroid( 1315): bt_enable: Timeout waiting for HCI device to come up)

got incoming call and there is one way audio (calling party cannot hear me).

What am i doing wrong? Appreciate any leads.
[Touch Pro2, Tilt 2 Android Development] pdawg17:
Can't help with most of it but I can tell you I have the same problem with calling party not being able to hear me...I fix it by toggling speakerphone on/off...
[Touch Pro2, Tilt 2 Android Development] arrrghhh:
All the CSV's need to be at the root of the SD card. Follow the posts to a T. Also might need to modify init.rc directly, I did both just to be sure.

Yea, I'm able to. I don't think adb remount works, but adb shell mount -o remount,rw / works just fine for me.
[Touch Pro2, Tilt 2 Android Development] mbellot:
Or get ConnectBot from the Marketplace and do it directly on the phone without adb.
[Touch Pro2, Tilt 2 Android Development] webxplore:
Thanks arrrghhh....tried both rc files with csv's copied to root and no luck yet.
[Touch Pro2, Tilt 2 Android Development] arrrghhh:
Keep pluggin at it. It's not easy... not sure when it'll be implemented either, because of all the components that are required. It might not make FRX07, just for the sake of getting FRX07 out :p. Making 10,000 changes at once is never a good idea...
[Touch Pro2, Tilt 2 Android Development] nasapunk88:
make sure your init.froyo.rc is correct. The "1" and the "L" are hard to distinguish in the code for Bluetooth and use 2 lines for audio code.
[Touch Pro2, Tilt 2 Android Development] webxplore:
Agree. I will keep trying. Rebooting after making changes is frustrating.
[Touch Pro2, Tilt 2 Android Development] webxplore:
I copied the lines from post 1 & 2 into both init.froyo.rc & init.rc. I will double check.
[Touch Pro2, Tilt 2 Android Development] Tippfehler:
For my problem with SE LiveView: You do not need to have LV, it is enough, to install the LiveVew Application from the market and start it. After that, BT is switching off an on all the time, until you kill this app.
[Touch Pro2, Tilt 2 Android Development] arrrghhh:
Sounds like it's an issue with the app...

Or at least how we handle the app. You're going to have to get logs, and I'm not sure it's going to get a whole lot of attention - if one BT device fails among the thousands...
[Touch Pro2, Tilt 2 Android Development] Tippfehler:
Thanks arrrghhh.

Unfortunately I think, that I am alone with LiveView in the rhodium section of this forum at the moment, but bluetooth is new and maybe others find this thing also very interesting.

I hope, that this log can help to find the problem.

...

E/LiveView Application( 1899): Listen() failed

E/LiveView Application( 1899): java.io.IOException: Not able to register SDP record for LiveView

...

Is it a java-problem?
[Touch Pro2, Tilt 2 Android Development] arrrghhh:
Well, most of the userland code for Android is written in Java, so...

Something is definitely wrong, kudos for grabbing those logs. Perhaps someone will pick up the cause - but as you said, BT is young on our RHOD's.
[Touch Pro2, Tilt 2 Android Development] bndtdog:
Bluetooth, baby!

I want to thank highlandsun and all the posters in this thread who provided info to get this working on my Sprint Rhodium 400. To help other noobs (like me), I'll try and put up a step-by-step, but I have to point out one issue that was keeping my BT from working no matter how carefully I did everything in the posts.

IMPORTANT: When you initially boot up in WinMo, you must have your Bluetooth turned OFF. If your Bluetooth is on in Winmo, turn it off, then REBOOT WinMo and then run Haret.

I don't know if this is true of all Rhodiums and builds but it was true of mine.
[Touch Pro2, Tilt 2 Android Development] reckert:
I tried this on a Rhodium 500, and get

05-20 14:31:03.300 D/BluetoothService( 1673): Bluetooth state 10 -> 11
05-20 14:31:03.320 I/bluedroid( 1673): Starting hciattach daemon
05-20 14:31:03.420 V/BluetoothEventRedirector( 2077): Received android.bluetooth.adapter.action.STATE_CHANGED
05-20 14:31:03.680 D/dalvikvm( 1758): GC_FOR_MALLOC freed 7550 objects / 426104 bytes in 130ms
05-20 14:31:08.900 D/dalvikvm( 1852): GC_EXPLICIT freed 3038 objects / 227360 bytes in 140ms
05-20 14:31:13.830 D/dalvikvm( 1863): GC_EXPLICIT freed 1594 objects / 112408 bytes in 60ms
05-20 14:31:17.880 W/SSLCertificateSocketFactory( 1889): Bypassing SSL security checks at caller's request
05-20 14:31:18.870 D/dalvikvm( 1927): GC_EXPLICIT freed 2952 objects / 194024 bytes in 90ms
05-20 14:31:21.350 D/dalvikvm( 2018): GC_FOR_MALLOC freed 7039 objects / 342688 bytes in 70ms
05-20 14:31:23.410 E/bluedroid( 1673): bt_enable: Timeout waiting for HCI device to come up
05-20 14:31:23.410 D/BluetoothService( 1673): Bluetooth state 11 -> 10
05-20 14:31:23.450 V/BluetoothEventRedirector( 2077): Received android.bluetooth.adapter.action.STATE_CHANGED

in the logs when I start up. I tried both of the HCD files in the inits.

Any suggestions?
[Touch Pro2, Tilt 2 Android Development] arrrghhh:
Looks like you might've missed a step. I didn't try the guide above your post, but look thru it and see if you skipped one. There's a couple of things that need to fall in place for this all to work correctly...
[Touch Pro2, Tilt 2 Android Development] bndtdog:
See my previous posts. I was getting a similar message until I disabled bluetooth in WinMo, rebooted WinMo, then booted into Android. Let us know if it works.
[Touch Pro2, Tilt 2 Android Development] emanuelrv:
wow

ittttttttttt work i pass file to my phone and viceversa im writing this and listen music from my phone to my pc tune in work great with some Hickok:p:p:rolleyes: almost a week to finilaze this
[Touch Pro2, Tilt 2 Android Development] emanuelrv:
pandora

my pandora is work i do is desactive automovile bluettoth is off i have music in my pc from the phone dammmmmmmmmm

i haave sprint toucjh pro2
[Touch Pro2, Tilt 2 Android Development] webxplore:
I have been getting the same error and have been trying for more than a day.....the steps that I have followed are the same as bndtdog's cheatsheet....still no luck...

I am going to try one last time with a clean install or give up and wait for future builds.
[Touch Pro2, Tilt 2 Android Development] reckert:
I just got mine to work - I was missing the 'Turn off bluetooth in windows ce', as suggested by bndtdog.

For the record, I used BCM4325D1_004.002.004.0083.0084.hcd as the .hcd file in /system/etc.

Thanks Highland, aaargh and everyone else.
[Touch Pro2, Tilt 2 Android Development] emanuelrv:
audio

I now this for test it work the Bluetooth with Motorola s9 sttereo and Pandora annd tujne radio only I note is skip littleee bit thhe song. Buuut nooooo. Lost coonection they continue play the song. Note to pppandora igt have the bluetooth car aUidio on make crazy buettoh simple go prefence down in bluetoth. Car audio put off wuala work.
[Touch Pro2, Tilt 2 Android Development] highlandsun:
Thanks for confirming that. I took it for granted because I have winmo in airplane mode all the time. Don't want the phone to receive a call or sms while Haret is loading.
[Touch Pro2, Tilt 2 Android Development] Tippfehler:
The BT from here seems to be ok and I hope it will be included in FRX07.

I have tried LiveView app with the HTC Diamond 100 and FRX06 (kernel 20110514_165614, included BT, running from scratch, without any changes) and it gives me the same issue.

It seems that the LiveView-BT-crash-problem has nothing to do with the BT from here.

FRX06 is not compatible with LiveView.

You can compare the attached log with

http://xdaforums.com/showpost.php?p=13983259&postcount=133

I have also attached a log from a LV compatible phone (Wildfire) while LV is running.
[Touch Pro2, Tilt 2 Android Development] Yusuke14:
Forgive me if this has been answered, but I checked through the thread and see people with similar problem. With this the audio is great, nice and loud, but when I turn on speakerphone the mic doesn't work so whoever I'm talking to doesn't hear me. They sound nice, clear and loud with no more hissing, but I can't be heard.

Has there been a fix for this?

I'm using the 1319 kernel and have put the libaudio files in system/lib, have all the .csv files in root of sdcard.
[Touch Pro2, Tilt 2 Android Development] toadlife:
I have this issue and arrrghhh also has it so I'm pretty sure it's a bug. Unfortunately, there is no fix that I know of.
[Touch Pro2, Tilt 2 Android Development] zeb carter:
I decided that I would take a stab at getting the BT/Audio patches working on my VZ TP2/Rhod500.

I have installed Droid Explorer, the Android SDK and Google USB drivers per all the setups in getting started.

My proplem in getting started - Droid Explorer does not see my phone. I watched the short YouTube video but it is still not seen.

Suggestions or other help, please? Thanks in advance.
[Touch Pro2, Tilt 2 Android Development] arrrghhh:
Indeed. I should probably post this issue to the ML, as I don't think Jerome or Alex will know otherwise...
[Touch Pro2, Tilt 2 Android Development] ryannathans:
W00T

got it working on my RHOD110 on my second attempt.

It just would not turn on (bluetooth), my my second attempt it still would not turn on, it just would turn straight back off.

Guess what fixed it?

Spammed the bluetooth button because I was raging hard. It lagged out and went back to xdandroid logo, after it came back up bluetooth was working fine and has been since.

System seems to be more responsive since I installed all this, maybe placebo? No way to put a clock to it...

--EDIT: Flawless audio playing on my headset (bass is as I remember when I used to be able to use this :P) 13.3MB 320kbs MP3 (5:13) does not lag device very much or near as much as I would have thought, still perfectly usable.

---- VNC over SSH on WLAN with bluetooth on playing that above mentioned MP3 and it seems to be coping, only just i presume. (OC @ 710mhz)
[Touch Pro2, Tilt 2 Android Development] bndtdog:
I had some trouble with Droid Explorer the first time too. I found that booting DE first, and then plugging in the phone made a difference. I also had to reboot the PC when DE kept having an error.

Also, make sure USB debugging is checked in your Droid settings.
[Touch Pro2, Tilt 2 Android Development] AkumaX:
Nice! I'm glad to see that A2DP is working great :D

OT: if you don't mind, would you consider appending some stuff to your Intro Guide? i think that under Overclocking, you should emphasize not o/cing in winmo at all, and that for the CDMA 3.5mm jack, it's not working but a Workaround is to use the ExtUSB dongle (which lets you attach 3.5mm jack to your "miniusb" port) - link
[Touch Pro2, Tilt 2 Android Development] ryannathans:
Just noting that the next/prev/play/pause buttons on my headset don't seem to work.

OT: Thanks AkumaX
[Touch Pro2, Tilt 2 Android Development] zeb carter:
I uninstalled Droid Explorer and reinstalled .I have tried it with the SDK under DE and under Android SDK. Still no detection. Drivers were downloaded. The PC detects that the phone is connected but DE just doesn't see it.

The phone shows it is connected with USSB Debugging enabled. Still nothing.

I gotta be doing something wrong. DE version 0.8.8.2.x86
[Touch Pro2, Tilt 2 Android Development] ryannathans:
Install PDAnet but don't use it unless you want to. It contains the required drivers ;) (for Droid Explorer)
[Touch Pro2, Tilt 2 Android Development] AkumaX:
i actually found out the drivers we needed (XDA in Device Manager)

http://xdaforums.com/showpost.php?p=12705726&postcount=7
[Touch Pro2, Tilt 2 Android Development] zeb carter:
I will try them tonight!! thanks!
[Touch Pro2, Tilt 2 Android Development] tjrhine:
Not sure if this is the right thread to ask in but I think my problem started after making the audio/bluetooth changes (which btw work great.) Everything is working pretty good except for one thing. My mic will not work on incoming calls until I toggle the speakerphone. It works if I make a call but not if I receive one. It happens every time. Any ideas?
[Touch Pro2, Tilt 2 Android Development] pdawg17:
What phone? On my Rhod400 it happens sometimes to me too...and I've recently discovered if I set speakerphone on to listen to voicemail it shuts off after a few seconds and I have to reenable it...then strangely when voicemail starts to play the next message it cuts out again and I have to reenable it...
[Touch Pro2, Tilt 2 Android Development] highlandsun:
JB should be posting a new version of his patches soon. I've already relayed to him a note about bugs with mic and speakerphone and he has confirmed it in his code as well. So now it's just a matter of time until he announces a fix.
[Touch Pro2, Tilt 2 Android Development] pdawg17:
Great...thanks for the update...
[Touch Pro2, Tilt 2 Android Development] highlandsun:
Also, to clarify - the code JB has written is meant to work on all of the supported devices - blackstone, raphael, topaz, whatever. If you're on one of these devices you're welcome to try it out. Just know in advance that I haven't compiled the TI wifi driver for this kernel, so you won't have any wifi support.
[Touch Pro2, Tilt 2 Android Development] tjrhine:
Thanks for the update.
[Touch Pro2, Tilt 2 Android Development] xUmaRix:
eagerly waiting for update libs and kernel image
[Touch Pro2, Tilt 2 Android Development] welard:
does blackstone users have to take file from there windows mobile device for audio to work? and what file are needed? ( BCM4325D0..(bunch of crap).file thats needed, blackstone dont have that file)is there an alternitive file if not will it still work?..........thanks
[Touch Pro2, Tilt 2 Android Development] highlandsun:
Pay attention. One more time, the topic of this thread is audio routing. The code JB is about to release is audio code only. That's all I'm talking about when I say it will work across all devices.

Bluetooth is secondary here; I only included it in this thread as an afterthought, and the Bluetooth instructions here are only for Rhodium. The BCM files are for the Broadcom wireless device, and only Rhodiums have this device.

If you don't have these BCM files on your phone then OBVIOUSLY these instructions won't work for you.
[Touch Pro2, Tilt 2 Android Development] welard:
ok i see cheers......hope no harms done.........thanks again
[Touch Pro2, Tilt 2 Android Development] mbellot:
Actually it was a partially valid question since (for the libs posted in this thread) we needed to copy all the audio related CSV files from winmo.

Will that still be necessary with the new patches?
[Touch Pro2, Tilt 2 Android Development] JustusIV:
Ok i still haven't tried this however if i get some free time at work today i would like to.

Let me get this straight though. Mainly this is the audio routing however bluetooth works on only the touch pros with the broadcom chip which includes the sprint version of the touch pro 2.

And has anyone tested this on a car head unit? i see some people saying there headsets work but hadnt seen any car head units.
[Touch Pro2, Tilt 2 Android Development] arrrghhh:
I think BT now works on both Broadcom and TI chipsets, but this thread only addresses the Broadcom side of things.

I'm pretty sure at least one if not several people said that it works with their car. BT is BT, if it works, it pretty much works AFAIK.
[Touch Pro2, Tilt 2 Android Development] JustusIV:
Sweet that is great news.

So are there plans to roll this up into XDAndroid
[Touch Pro2, Tilt 2 Android Development] fishingmedic:
I can confirm it works sweet in my car, clear as a whistle. Just as easy to set up as winmo and shuts down and went to phone speaker when car was shut off.
[Touch Pro2, Tilt 2 Android Development] arrrghhh:
Whenever it's stable & finished, yea of course.... Audio routing code isn't done, there's still bugs in it.
[Touch Pro2, Tilt 2 Android Development] JustusIV:
Yeah kind of a silly question of course it will be, I guess I dont really know how severe bugs are. Complete crashes of android or FC? i would think any less then that and it would be good to go.

Also sometimes i type just to hear myself type :(
[Touch Pro2, Tilt 2 Android Development] arrrghhh:
Uhm... ok.

The main bug with the audio routing code is the speakerphone - mic isn't enabled when the speakerphone is enabled. I think hyc said that the dual-mic setup on the RHOD isn't enabled, so there's work to be done to get the speakerphone mic working properly.

I'm not aware of any other bugs, but BT seems flaky. Not sure if that's just me or what, but it doesn't seem to work consistently for me.
[Touch Pro2, Tilt 2 Android Development] JustusIV:
So i got through the first post and it appears to be working, i was wondering if there was some more step by step directions for post #2 for getting BT working.

*EDIT*

Sorry missed it the first read through

I believe this post has the BT instructions as well

http://xdaforums.com/showpost.php?p=13986332&postcount=136

*EDIT2*

Ok it appears to all be working however since i am not very formiliar with BT my A2DP audio is not being routed. If i make a phone call after a second or 2 bluetooth kicks in. But music is still coming out the speaker on the phone. Anyway to force BT to kick in for A2DP?

*UPDATE*

So i tested with my care head unit and A2DP works great. so it must be some issue with my motarola S9 that the A2DP is not getting connected.

Side note here.

What about AVRCP is that confirmed working? It didnt appear to be for me. But i am unsure if it works in winamp anyways. which i was using.
[Touch Pro2, Tilt 2 Android Development] reckert:
Lol - wish I realized mike wasn't working with speakerphone - yesterday my BT battery died when I was talking to my wife as I was driving home, had to keep toggling speaker phone so I could hear her and so could talk.

After flipping back and forth about 30 times in a few min, had a full crash into wimo.
[Touch Pro2, Tilt 2 Android Development] JustusIV:
So it might have been lost in my mess of a post earlier, but i even used the search function and came up with nothing.

Is AVRCP included in this patch or will that be completely different code to get it to work?