PPCGeeks

PPCGeeks (http://forum.ppcgeeks.com/index.php)
-   Android On TP2 (http://forum.ppcgeeks.com/forumdisplay.php?f=179)
-   -   Bluetooth and Android? (http://forum.ppcgeeks.com/showthread.php?t=139310)

arrrghhh 04-03-2011 12:05 AM

Re: Bluetooth and Android?
 
Quote:

Originally Posted by drewcam888 (Post 2078834)
anyone heard of an update on userland bluetooth fix

jb is kinda working in private, but he said something about starting a thread on testing soon... I haven't seen/heard anything on it. I will post any information I get on this thread, unless someone else beats me to it. I promise ;).

JustusIV 04-04-2011 07:28 PM

Re: Bluetooth and Android?
 
F5 F5 F5 F5........ maybe if i hit it now F5 F5

pmcolman 04-06-2011 06:11 PM

Re: Bluetooth and Android?
 
Quote:

Originally Posted by JustusIV (Post 2031732)
I would love to see some information on this also.
Since i dont have the skills to help out here i guess i will donate 20 dollars the the dev that gets A2DP BT going. Anyone else wanna donate to a bounty on this?
*EDIT* if you want me to make a different thread for the bounty let me know. Didnt want to clutter the place.

I just donated 25 dollars for the same reason.

Paul

pmcolman 04-06-2011 06:15 PM

Re: Bluetooth and Android?
 
Quote:

Originally Posted by arrrghhh (Post 2032059)
Now what stops people from just not donating once it is working?

Nothing stops me ... I will continue to donate as I perceive there is value to do so.

Paul

arrrghhh 04-06-2011 07:19 PM

Re: Bluetooth and Android?
 
Quote:

Originally Posted by pmcolman (Post 2080886)
Nothing stops me ... I will continue to donate as I perceive there is value to do so.

Paul

Good for you.

I've honestly seen jb around lately, and nothing new on the BT front - but last I did hear from him he's close to either public testing or just straight submission to the tree. Not sure, he'll probably test it tho before commit ;).

JustusIV 04-06-2011 07:28 PM

Re: Bluetooth and Android?
 
Quote:

Originally Posted by arrrghhh (Post 2080913)
Good for you.

I've honestly seen jb around lately, and nothing new on the BT front - but last I did hear from him he's close to either public testing or just straight submission to the tree. Not sure, he'll probably test it tho before commit ;).

Ahh man i say you had posted in this thread arrrghhh and i was like HOLY!
Then when i finally got to the post, not the news i was wanting.
However some news is better then no news, and we all appreciate what all you guys do.

Tippfehler 04-16-2011 05:39 AM

Re: Bluetooth and Android?
 
I hope, it is possible, to pair the Rhod100 with Sony Ericsson LiveView.
My Diam100 with FRX06 can pair with all my BT-devices, but not with LiveView.

arrrghhh 04-16-2011 07:05 PM

Re: Bluetooth and Android?
 
Not sure what liveview is.

However, there has been a *slight* development in the BT department. The kernel code has been cleaned up, and jb said he found the issue with BT killing sleep.

I've seen him post in the mailing list more and more recently, so that's always a good sign. That's all for now, hopefully I'll have more soon :thumbleft:

neilson 04-16-2011 10:05 PM

Re: Bluetooth and Android?
 
Quote:

Originally Posted by arrrghhh (Post 2086019)
Not sure what liveview is.

However, there has been a *slight* development in the BT department. The kernel code has been cleaned up, and jb said he found the issue with BT killing sleep.

I've seen him post in the mailing list more and more recently, so that's always a good sign. That's all for now, hopefully I'll have more soon :thumbleft:

LiveView

^Liveview is one of those accessories I find interesting, and look forward to trying once BT is working.

arrrghhh 04-17-2011 12:54 AM

Re: Bluetooth and Android?
 
Quote:

Originally Posted by neilson (Post 2086084)
LiveView

^Liveview is one of those accessories I find interesting, and look forward to trying once BT is working.

lol, good luck.

Might work, but I'd say at this point you'd be lucky if headsets ever work :p.

arrrghhh 05-01-2011 11:24 PM

Re: Bluetooth and Android?
 
Update from the ML:

Quote:

Originally Posted by Jerome
Hi,

Alex found that UART2 irqs (defined in irqs.h) where in a different order for uart1dm and uart2dm. We had to patch the msm_serial_hs.c driver so that uart2 could be used but the real problem was that the irqs were reversed.
Thus, this was causing arm9 to wake up arm11 when BT was on, because the wrong irq was selected in arm9 to wake up arm11.

With the attached patch, the irqs are now in the correct order (this has been fixed on irqs8xxx.h files in newer trees. In fact, no devices using 7xxx processors are using uart2 so they probably never encountered this bug). The patch also revert the change made to the msm_serial_hs.c driver.
Also, I made a small change in the debug outputs from smsm interrupts so that thing are displayed correctly now (typo + reversed variables order).

I've tested this on both diamond and rhodium device so I can confirm BT is still working on both TI and Broadcom bluetooth devices. The phone now successfully stay in sleep mode even if BT is on. It wakes up when BT is used (on BT events).

Regards, Jerome

Soon guys!

Edit - he still hasn't posted his libhtcacoustic patches, which is the userland gold... Hopefully we'll see that surface, he makes it sound like its working for him...

sprinttouch666 05-02-2011 10:50 PM

Re: Bluetooth and Android?
 
so is this just pairing or full on data transfer and stereo audio?

arrrghhh 05-02-2011 11:33 PM

Re: Bluetooth and Android?
 
Quote:

Originally Posted by sprinttouch666 (Post 2095913)
so is this just pairing or full on data transfer and stereo audio?

I'm assuming when all the userland stuff is submitted, everything, full BT. We'll have to wait and see however, to my knowledge Jerome has not made his acoustic changes public yet.

xi.lin 05-03-2011 09:37 PM

Re: Bluetooth and Android?
 
Quote:

Originally Posted by arrrghhh (Post 2095947)
I'm assuming when all the userland stuff is submitted, everything, full BT. We'll have to wait and see however, to my knowledge Jerome has not made his acoustic changes public yet.

Great news~ Wait for changing~

hceuterpe 05-05-2011 03:42 AM

Re: Bluetooth and Android?
 
Don't we have full NAND without SD cards now, too? Those two were my last hold outs before nuking WM 6.5 entirely. i saw he made new commits to libacoustic after the BT commits. I was wondering if that was more audio related stuff, but it makes if those are the bluetooth userland changes needed.

This is sounding very promising!!

highlandsun 05-05-2011 05:14 AM

Re: Bluetooth and Android?
 
Seems like NAND is booting for CDMA phones. I haven't heard anything new about GSM.

arrrghhh 05-05-2011 12:38 PM

Re: Bluetooth and Android?
 
Quote:

Originally Posted by highlandsun (Post 2097467)
Seems like NAND is booting for CDMA phones. I haven't heard anything new about GSM.

GSM devices have been able to boot, but it's hit or miss and last I heard you need to pull the SIM - which isn't very useful.

It's not so great on CDMA at the moment either, but the NAND dev team are working hard to bring out a new revision. They've been working hard on a more native-like experience, and it sounds like they're close to another release. LMiller did say they needed some help as the new method of updating doesn't let them update via SD... which is a bummer. Not sure the ins and outs, but this is pretty OT :p.

pmcolman 05-12-2011 09:04 AM

Re: Bluetooth and Android?
 
Quote:

Originally Posted by arrrghhh (Post 2095146)
Update from the ML:

Soon guys!

Edit - he still hasn't posted his libhtcacoustic patches, which is the userland gold... Hopefully we'll see that surface, he makes it sound like its working for him...

Way cool!!! :)

highlandsun 05-12-2011 11:14 AM

I just grabbed JB's libacoustic stuff from gitorious a couple hours ago and compiled it. A test package is being created. It will be a new kernel + new libraries. Maybe within the next 24 hours it will be posted for testers.

It looks like we need a couple firmware images or something to get bluetooth working. I'm a little fuzzy on the details, wasn't paying enough attention. But it sounded like stuff you would have to copy off of your winmo install, not something we would distribute. Sorry for the vagueness.
Sent from my FRX06+ TP2 using Tapatalk

arrrghhh 05-12-2011 11:26 AM

Re: Bluetooth and Android?
 
I assume you're talking about the csv files... the jist I got on that was that perhaps it would be RHOD-specific, but perhaps not. He seemed to think if it was, then we could distribute different csv files as needed...

highlandsun 05-13-2011 06:34 AM

Re: Bluetooth and Android?
 
Alex asked me to post a testing thread on XDA.

[TESTING] New audio routing - xda-developers

Have fun...

arrrghhh 05-13-2011 09:12 AM

Re: Bluetooth and Android?
 
Quote:

Originally Posted by highlandsun (Post 2100940)
Alex asked me to post a testing thread on XDA.

[TESTING] New audio routing - xda-developers

Have fun...

Aw, I came running over here to post the update :p. It probably is better than you posted the update tho, after all you did put the components together for that. Thank you, gonna test it out now!

Update - whew! Not easy to do - I would just adb push everything folks, don't even mess with bind mounts...

It does work tho, I have BT and audio does seem to work better - I still have a lot of other things to test, but so far it's great :D.

youngtjjones 05-14-2011 09:48 AM

Re: Bluetooth and Android?
 
yes! ganna try

steveholtam 05-14-2011 03:58 PM

Re: Bluetooth and Android?
 
Works great!!! Go to xda to figure it out. It is not easy though...

JustusIV 05-14-2011 10:19 PM

Re: Bluetooth and Android?
 
Quote:

Originally Posted by arrrghhh (Post 2100970)
It does work tho, I have BT and audio does seem to work better - I still have a lot of other things to test, but so far it's great :D.


Wow exciting news. will have to give it a test run soon.
I have never nand yet but i guess i have a question of how this would apply or is it to soon to tell.

Technix2002 05-16-2011 11:50 AM

Re: Bluetooth and Android?
 
Maybe someone can answer this question, when you add the following two lines to the init.rc:
chmod 666 /dev/htc-acoustic_wincechmod 666 /dev/tpa2016d2
It's referencing files/folders (/dev/htc-acoustic_wince and /d/tpa2016d2) that don't exist in my build (I know this because when I adb and look through the file structures neither of those exist). Is there something that I need to add/copy for those?

arrrghhh 05-16-2011 12:01 PM

Re: Bluetooth and Android?
 
Quote:

Originally Posted by JustusIV (Post 2101486)
Wow exciting news. will have to give it a test run soon.
I have never nand yet but i guess i have a question of how this would apply or is it to soon to tell.

NAND has a loooooong way to go to catchup to haret/SD card installations... It'll all get ported to NAND eventually, but apparently a lot needed and needs to be rewritten to work properly/at all.

Quote:

Originally Posted by Technix2002 (Post 2101886)
Maybe someone can answer this question, when you add the following two lines to the init.rc:
chmod 666 /dev/htc-acoustic_wincechmod 666 /dev/tpa2016d2
It's referencing files/folders (/dev/htc-acoustic_wince and /d/tpa2016d2) that don't exist in my build (I know this because when I adb and look through the file structures neither of those exist). Is there something that I need to add/copy for those?

Are you having an issue?

Those should be separate lines. I believe these devices are created with the new libs... I assume you asked because something isn't working, so what is it?

manekineko 05-16-2011 12:29 PM

Re: Bluetooth and Android?
 
Quote:

Originally Posted by Technix2002 (Post 2101886)
Maybe someone can answer this question, when you add the following two lines to the init.rc:
chmod 666 /dev/htc-acoustic_wincechmod 666 /dev/tpa2016d2
It's referencing files/folders (/dev/htc-acoustic_wince and /d/tpa2016d2) that don't exist in my build (I know this because when I adb and look through the file structures neither of those exist). Is there something that I need to add/copy for those?

You're using the kernels that go along with this right?

Technix2002 05-16-2011 02:30 PM

Re: Bluetooth and Android?
 
Quote:

Originally Posted by manekineko (Post 2101904)
You're using the kernels that go along with this right?

Yep, I sure am.
Extracted kernel-01324.zip to SDcard\ANDBOOT

I've copied:
.csv files from WinMo to root of SD card
Extracted libaudio.zip to /system/lib
BCM4325D1.hcd from WinMo to /system/etc
brcm_patchram_plus to to system/bin and chmod'd it

Edited /init.rc and /init.cfg/init.froyo.rc with these:
service hciattach /system/bin/brcm_patchram_plus -r --enable_hci \ --enable_lpm --baudrate 4000000 \ --patchram /system/etc/BCM4325.hcd /dev/ttyHS1
Haven't tried BCM4325D0 yet, that is my next step because the above didn't work for me. I'm avoiding bind mounting as much as possible. Am I missing something?

steveholtam 05-16-2011 04:43 PM

Re: Bluetooth and Android?
 
Quote:

Originally Posted by Technix2002 (Post 2101886)
Maybe someone can answer this question, when you add the following two lines to the init.rc:
chmod 666 /dev/htc-acoustic_wincechmod 666 /dev/tpa2016d2
It's referencing files/folders (/dev/htc-acoustic_wince and /d/tpa2016d2) that don't exist in my build (I know this because when I adb and look through the file structures neither of those exist). Is there something that I need to add/copy for those?

Like arghhh said, this part is on two lines:

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

Technix2002 05-16-2011 05:31 PM

Re: Bluetooth and Android?
 
Quote:

Originally Posted by steveholtam (Post 2102031)
Like arghhh said, this part is on two lines:

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

Yep, just notcied that after I posted. Fixed it and still can't get BT to enable at all. I think I'll have to go the route of blowing away my Android on my SD card and start out fresh and see what I get. Thansk for all the help!

arrrghhh 05-16-2011 05:33 PM

Re: Bluetooth and Android?
 
Quote:

Originally Posted by Technix2002 (Post 2102042)
Yep, just notcied that after I posted. Fixed it and still can't get BT to enable at all. I think I'll have to go the route of blowing away my Android on my SD card and start out fresh and see what I get. Thansk for all the help!

It's far from easy to setup. You might just want to hold off until it's properly implemented into a build.

steveholtam 05-16-2011 07:27 PM

Re: Bluetooth and Android?
 
Quote:

Originally Posted by Technix2002 (Post 2102042)
Yep, just notcied that after I posted. Fixed it and still can't get BT to enable at all. I think I'll have to go the route of blowing away my Android on my SD card and start out fresh and see what I get. Thansk for all the help!

Do you have audio, like ringers and in call volume just no BT? That might help us figure out your problem.

Also, I posted my good init.rc file here xda-developers - View Single Post - [TESTING] New audio routing for Froyo Feel free to try it. I had a typo in mine at first, and it took awhile to find it.

Technix2002 05-17-2011 10:07 AM

Re: Bluetooth and Android?
 
Quote:

Originally Posted by steveholtam (Post 2102078)
Do you have audio, like ringers and in call volume just no BT? That might help us figure out your problem.

Also, I posted my good init.rc file here xda-developers - View Single Post - [TESTING] New audio routing for Froyo Feel free to try it. I had a typo in mine at first, and it took awhile to find it.

I lost all audio actually. Now I decided to go ahead and redo everything. I'll let you know if I still have issues after that.

Well, unfortunately even after redoing it all: I still can't get it to work. I might just wait until this included in a build. Thanks for all the help and I'm quite thrilled to know that it does work even though I'm not l33t enough to get it working myself.

hceuterpe 05-18-2011 12:50 PM

Re: Bluetooth and Android?
 
I haven't had the time to do this as I've been super-busy, but does the stereo jack on the bottom now work with BT?

It seems like the two using some sort of audio gateway would be very closely linked.

It also seems like you need to import binary blobs from WM to make Bluetooth in Android work. Isn't that what the csv files are?

arrrghhh 05-18-2011 01:07 PM

Re: Bluetooth and Android?
 
Quote:

Originally Posted by hceuterpe (Post 2102790)
I haven't had the time to do this as I've been super-busy, but does the stereo jack on the bottom now work with BT?

It seems like the two using some sort of audio gateway would be very closely linked.

It also seems like you need to import binary blobs from WM to make Bluetooth in Android work. Isn't that what the csv files are?

Not sure if the csv's can be considered 'binary blobs' but sure...

The 3.5mm jack is completely independent of BT - how are they tied together...? You make it sound like plugging something into the 3.5mm jack has something to do with BT, they're mutually exclusive.

hceuterpe 05-18-2011 02:31 PM

Re: Bluetooth and Android?
 
Quote:

Originally Posted by arrrghhh (Post 2102794)
Not sure if the csv's can be considered 'binary blobs' but sure...

The 3.5mm jack is completely independent of BT - how are they tied together...? You make it sound like plugging something into the 3.5mm jack has something to do with BT, they're mutually exclusive.


Not sure it's completely independent. Read the XDA post about the audio routing. The audio routing was a requirement for something like a BT headset to work. It improved in-call quality within the headset calling, too. Not to mention, video camera audio working.

When testers don't have BT running right, speakerphone w/ external-mic calling in previous work kernels fails.

Not to mention pdawg's comment on XDA:
Originally Posted by pdawg17 http://media.xda-developers.com/imag...s/viewpost.gif Interesting...this morning I twice tried to pair a BT headset and after entering the PIN the phone got VERY SLUGGISH and continued that way until I forced a reboot...reminds me a lot of what happens when I remove the 3.5mm adapter from my phone...

Would the 'ol logcat -v time and dmesg be best or something else?"

arrrghhh 05-18-2011 04:22 PM

Re: Bluetooth and Android?
 
Quote:

Originally Posted by hceuterpe (Post 2102877)
Not sure it's completely independent. Read the XDA post about the audio routing. The audio routing was a requirement for something like a BT headset to work. It improved in-call quality within the headset calling, too. Not to mention, video camera audio working.

I've read the whole thread. 3.5mm audio is not fixed - now the userland audio routing may be affected, however there's no support in the kernel for it - so it's still not working, that's my point that they are mutually exclusive.

Technix2002 06-03-2011 03:38 PM

Re: Bluetooth and Android?
 
Okay all, I followed these directions xda-developers - View Single Post - [TESTING] New audio routing for Froyo exactly and it worked! This is so awesome, A2DP works! I still have a bit of trouble getting call audio to route to the BT headset. One really import thing that seems to help is to DISABLE BT in WinMo, power down, boot back into WinMo then run HaRET and you should be able to turn on BT just fine in Android. What I'm excited about is the fact that I am able to jog/run with my phone and use A2DP with less skipping and audio issues than Windows Mobile had. Still haven't determined if BT is interfering with GPS or viceversa, Endomondo didn't track me properly while listening to music over A2DP.

I've always had a suspician that Bluetooth and GPS share some of the same resources (chipset, IRQ/DMA or soemthing like that) and that is why it didn't play so well togther in Windows Mobile at least while using A2DP while GPS is tracking.

JustusIV 06-03-2011 06:09 PM

Re: Bluetooth and Android?
 
Yeah i am excited about this also.
This is the break through for the phone i was waiting for.
Does AVRCP work for you?


All times are GMT -4. The time now is 03:18 PM.

Powered by vBulletin® ©2000 - 2026, Jelsoft Enterprises Ltd.
©2012 - PPCGeeks.com


Content Relevant URLs by vBSEO 3.6.0