yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] rp9:
If you want to connect analog output of your DAC instead of XS3868 - sure, you can do it.

No, PodEmu does not support digital audio. PodEmu just implement metadata communication protocol. PodEmu does not interfere with audio signal.
[Android Apps and Games] Strel0ka:
Thanks for the clarification. I'm kind of new to the hardware DIYing, would you, by any chance, know of any efficient Digital-to-Analogue chips one could easily implement into the cable?
[Android Apps and Games] emong:
Hi Pondy,

Just about to order some parts to make this and also have the FG falcon.

I pulled apart the falcons actual adapter to see the wiring and ford haven't wired any of the USB lines, so pin 23 (5v) isn't wired in, hence why your having issues with it!

pin 18 is only meant to be 3.3v as well, so you could just wire direct to the Bluetooth modules without needing the step down converter? (assuming your following the suggested diagram).

Also, pin 16 isn't connected either, so don't bother using it for a ground.. pin 15 is though..

i will hopefully have some parts in a few weeks to test it out..
[Android Apps and Games] Pondy:
Let me know how you go, but I tried quite a few combinations - I'm definitely getting 5v from somewhere, I never pulled the cable apart in my car.
[Android Apps and Games] rp9:
[MENTION=251277]nedge2k[/MENTION], I just published version 2.16 on the market. It supports BLE devices, but after severe tests I do not recommend using BLE devices. Their transfer rate is simply too low to handle the communication and packages are randomly dropped. It was observed the most during picture download. Also it interfered with my XS3868 module.

For this and other updates please refer to the first post.
[Android Apps and Games] Strel0ka:
Thanks for your great work mate!

I've decided to give your bluetooth solution a try. If you want I'll provide pictures, even if it ends up not working. I suppose future user will benefit greatly from a few pictures regarding the wiring.

Just a little follow up:

To change the Baud Rate of the HC-05, is it sufficient to build the bluetooth solution, connect it to a 30 Pin for power and configure it that way?

Do I need to to pair both the HC-05 and the XS3868 before using or just one of them?
[Android Apps and Games] rp9:
No, you need to have another serial device (like PL2303) or just old PC with serial port and connect HC-05 to this port to change settings. Here is described more or less what you need to do: http://wiki.bernardino.org/index.php/Using_the_HC-05_Bluetooth

You need to pair both of them. They are independent devices.
[Android Apps and Games] CCacerola:
I been using the HC-05 module and it work grear:good:! now i put the XS3868 module and stil working great. But now i like to minimize the modules changing the 3 modules (HC-05 + XS3868 + DCDC Stepdown module for 3.6V) for only one? i been searching and i found the BK8000L module, in the description say it can handle SPP commands + Audio OUT. (Bluetooth Stereo Audio Module Transmission BK8000L AT Commands SPP Bluetooth Speaker Amplifier), the price is almost the same of the XS module.

Exist an extension board for this module how say can work on 5V. (USB Powered i think?:confused:)

All part i found it on aliexpress

Can anybody knows if this module can work with PodEmu?:confused::confused:
[Android Apps and Games] nedge2k:
Damn, feared that may be the case. Will give it a go anyway, thanks for all your work :D
[Android Apps and Games] rp9:
CCacerola, BK8000L is a chip name and module based on it is F-6288. This is what I found. And unfortunately it cannot handle SPP. Can you please post the link to module that you found here?

In the meantime I have another great news. Some time ago I ordered RN-52 module that has both A2DP and SPP profiles. I finally wired it up and it works straight away. Sound quality is excellent and now I have only one BT module instead of two. I will update the first post on how to configure it (actually it is very simple). I ordered it directly from the manufacturer (http://www.microchipdirect.com/) and total cost (including shipment from UK) was ~29 EUR. So it more expensive then HC-05 and XS3868 combined, but here you get all in one chip and the feel of the product is premium, comparing to let's say HC-05 from China. It is shipped in a nice plastic box, with personal thanks for purchase. I even made photos of unboxing, but cannot find them now. Here are just a few pictures of my "testing" wiring:

[IMG="PIC01"]https://xdaforums.com/attachment.php?attachmentid=4434774&stc=1&d=1519945518[/IMG]

[IMG="PIC02"]https://xdaforums.com/attachment.php?attachmentid=4434775&stc=1&d=1519945518[/IMG]

[IMG="PIC03"]https://xdaforums.com/attachment.php?attachmentid=4434776&stc=1&d=1519945518[/IMG]

It still requires 3.3V power supply, so step-down DC converter or at least 3.3V stabilizer element is required.
[Android Apps and Games] Xstitch:
Raspberry Pi port?

Can you port the app to Raspberry Pi and design an extension board to connect it to iPod dock?

That would be AWESOME!
[Android Apps and Games] rp9:
Sorry, not planning to port it to Raspberry Pi. What is your use case, why would you want it?
[Android Apps and Games] Pondy:
Why not do this instead?

https://www.xda-developers.com/openauto-raspberry-pi-android-auto-head-unit/
[Android Apps and Games] Xstitch:
I want to use it (Rpi with a decent DAC attached) with my car as a source of hi-res audio controlled via dash stereo and wheel controls.

I have come across multiple similar requests around the net which makes it a decent project.
[Android Apps and Games] fr4nk1yn:
2.17-45 is a no go. When the service is started the music is garbled.

-edit: Went outside to test again and it's working, great. Even the track buttons are working 100%

BTW, I'm going to be the guy that says the app should have a donate button. This app has made my tablet install much cleaner.
[Android Apps and Games] madmalkav:
Sorry for the very basic question, but I'm not familiar with iPod related stuff:

I have a car compatible with iPod. It provides an USB and a jack connector. In this case:

- I don't need to use any kind of adapters, just the USB cable.

- I need to plug the jack connector to the phone and the car, as the iPod protocol only shares metainfo, not music data.

Am I misunderstanding something?
[Android Apps and Games] VarDes:
Just try plugging in the jack only and play some music from your phone straight away, should work.
[Android Apps and Games] madmalkav:
Well, wheel controls are something nice to have when you are driving :)
[Android Apps and Games] VarDes:
Ayo, I overlooked this aspect ... :), but afaic You'll need to make a custom cable to make the wheel part work, at least according to original post
[Android Apps and Games] bl4dy_pt:
Hi guys,

Has anyone testes this on an audi 13 mmi?

I'm currently using a tune2air module, but obviously with android no track info, and this sounds like music to my ears :cool:
[Android Apps and Games] fr4nk1yn:
No misunderstanding. You need both the custom cable and an auxiliary cable.
[Android Apps and Games] bl4dy_pt:
So we use rn52 as referred in the 1st post , eliminating the second board but making the same connections as with the hc-05, correct?
[Android Apps and Games] nedge2k:
Been meaning to post this for a while so here goes...

For Audi MMI 2G owners (possibly 3G too) with AMI, I used the following parts:

Audi AMI 4F0 051 510K (blue grommet) cable

CSR8645 v4.3 Breakout Board (this has APT-X support, ensure it has 5v-to-3.3v DC/DC convertor)

HC-05 ZS-040 Bluetooth Module (this accepts 3.6-6v input)

Using version 2.17-45, music will eventually play but MMI will just display connecting to device. Play/pause works but skipping tracks does not. Also worth noting that if you do not connect PodEmu to the car within 30-60 seconds, MMI will display an error and you'll have to unplug/replug the cable, fitting a reset button to the AMI 3V-in wire would also work. This can also happen if you get out of the car for a short period as MMI does not fully shut down when the ignition is off for about 5 minutes.

Prior versions of the app would show a playlist and allow control but songs would just repeat constantly and skipping tracks would return you back to the track you started on.

I've attached my schematics for the AMI cable and another showing how it connects to to the bluetooth boards. Most important things to note are that AMI pin 9 needs to see 3V and AMI pin 16 needs to be grounded - otherwise MMI won't attempt to communicate with PodEmu.

I'd also suggest only using a genuine Audi AMI cable (available very cheaply used off ebay) as the audio wires are nicely shielded and are a decent thickness.
[Android Apps and Games] nedge2k:
Good news Audi MMI 2G owners, version 2.17-47 shows track names in the car and allows skipping :D Cheers Roman!

If you're using Spotify, just make sure "device broadcast status" is on in Spotify settings or odd stuff will happen.
[Android Apps and Games] bnevets27:
[MENTION=1795196]rp9[/MENTION] Is it possible for this to support more than one app? I would love if using the next track button would go to the next track on whichever music app is currently running. So rather it was a globally function rather being tied to whichever app you choose. Would it be possible to allow this app to integrate with tasker? Allowing any input to be used to control anything tasker can do, allowing basically unlimited possibilities.
[Android Apps and Games] skavan:
This project is nothing short of remarkable! [MENTION=1795196]rp9[/MENTION] congrats on your incredible work.

So - here's my use case:

1. Jaguar XKR 2008 with 30-pin ipod connector.

2. Galaxy S9 with USB-C and obviously BT connector.

3. Running Android Auto when in vehicle.

I bought a coolstream carpro, which works (Android-->BT-->CarPro-->Dock Connector) and allows music and prev/next to work. BUT audio quality is poor. I don't know whether its the codex (just SBC) or some DAC, presuming there is one, in the CarPro gizmo.

So - to get hi-def music, I think (but am a bit of an idiot on all this stuff) that there are two ways to go:

1. PodEmu --> BT Module with aptX (Samsung doesn't have aptX HD) or better still, LDAC (all android devices have this Sony Codec). --> 30 pin connector OR

2. PodEmu --> USB-C ---> Serial and Digital Audio--> DAC --> 30 pin connector

I prefer #1 if I can get high quality audio as it is a wireless route and let's me use the USB port for charging. But -- the bit I don't understand is the codec stuff. Some versions of the RN52 come aptX ready - but not enabled without a license. And an end user doesn't seem to be able to get a license. Grrrrr

Anyway - would love your thoughts on how I might proceed. I have hunted and hunted for a product to achieve my goals and yours is by far the closest!

s.

p.s. I have found reference to a part CSR8645 that implements aptX: CSR8645
[Android Apps and Games] Bill720:
Questions

Neat project. I'd like to try using this with my iSimple PxDp iPod2Car adapter, but have two questions:

1. Could this be adapted to work with an older 12volt iPod interfacing device?

2. What happens when a call comes in? Is it routed through the interface or does it stay on the phone? If it does go through the interface, what is relied on for microphone input?
[Android Apps and Games] bl4dy_pt:
Mate you're a star, I'll have to purchase the parts and give this beautiful project a try :svetius:
[Android Apps and Games] skavan:
Trying to wrap my head around how all this works....and have some basic questions:

As I understand it:

1. The HC-05 is a bluetooth transmitter/receiver that is used for data RX/TX.

2. The XS3868/CSR8645 is a bluetooth receiver that is used for Audio RX

But this confuses me! From the android phone perspective, does this mean the phone has to connect to/pair with 2 BT devices?

My end goal is to build a version of this project that lets me use the Bluetooth LDAC (Sony) Codec, or APTX HD Codec, for maximum audio quality and minimum wires!

If there isn't a BT module that can do this, I was thinking I could buy something like this: Fiio BT Headphone DAC - and push the audio out to the 30 pin connector and then build the HC-05 half of the project for the metadata and track changing stuff.

This would also, therefore, have two BT endpoints. Would it work? I guess I'm not understanding some basics of BT. Will my phone connect to the HC-05 and an audio streaming device simultaneously?

Oh - and do you think this would work with Amazon Music and Spotify as well as Google Music inside of the Android Auto App?

s.
[Android Apps and Games] rp9:
Answering your questions:

1. I am not aware of any 12volt interfaces, but I am not iPod fan :) Quick google only showed that old chargers provided 12v instead of 5v, but it doesnt meant that the interface was different.

2. When phone call comes in the phone does what it is supposed to do, the music is paused and the call is received. Phone is using any device that was configured for phone audio. Could be the same as for media, but could be different BT device.
[Android Apps and Games] Bill720:
Follow-up

Right. The older accessories used 12volt because that's what the Firewire (1394) interface used. This functionality was discontinued after the first iPhone and iPod Touch. Previous models are all compatible with both (as far as I know).

That said, the schematics are for converting from 5volts. If the input voltage is 12volts, (and not on those 5volt input pins) I can't imagine the device getting any kind of power; can you?

I figured as much, but does the device represent itself as something capable of handling voice calls?
[Android Apps and Games] rp9:
No, the device is not intended to handle calls. Eg in my car, my phone is paired both with PodEmu device and with car handsfree BT module. Therefore, music goes through PodEmu device, and when the call is answered music is paused and the call is handled by car BT.
[Android Apps and Games] rp9:
Hi SKAVAN. Yes this project requires 2 communication channels and therefore phone should pair with 2 BT devices, or if one device could handle both (like RN-52) only with one device. For HiFi audio you can use whatever connection you want: it could be BT device or direct wiring.
[Android Apps and Games] sms5690:
So does this work with streaming apps like Pandora, YouTube, etc as far as showing the name/album art and providing audio controls like play/pause and next/back?

Are those control commands sent back to the phone similar to how Bluetooth headphones send audio controls? And would you therefore be able to implement a Google Assistant type action on long press or double click?
[Android Apps and Games] bnevets27:
Can this app control more than one app?
[Android Apps and Games] Bill720:
No calls, but still good to know

Ah, that makes sense. Thanks for clarifying.
[Android Apps and Games] skavan:
Almost there....but not quite!

In my implementation I am using the audio out of a seperate BT device...but using your design for HC-05 and for USB power to my Audio BT dongle.

Vehicle is Jaguar XKR 2008. I believe it has a similar 30-port implementation as BMW's and Range Rovers from the same era.

Audio is working via BT dongle and then Audio Out into the 30-pin connector just fine.

I have tested the HC-05 using a terminal program and BlueTerm on Android. Works fine at 57600 baud.

PodEmu, successfully connects to HC-05...but shows dock as Disconnected.

If I kill PodEmu and load Android BT HC05 Terminal I see inbound traffic.

Logs (attached) are full of OAPM errors like this:

2018-07-14 13:45:45 (860) : PodEmu - OAPM: Line 1: ERROR: second byte is not 0x55. Received 0xE0

2018-07-14 13:45:45 (862) : PodEmu - OAPM: Line 1: ERROR: second byte is not 0x55. Received 0xFF

2018-07-14 13:45:45 (863) : PodEmu - OAPM: Line 1: ERROR: second byte is not 0x55. Received 0xFF

2018-07-14 13:45:45 (864) : PodEmu - OAPM: Line 1: ERROR: second byte is not 0x55. Received 0xEC

2018-07-14 13:45:45 (865) : PodEmu - OAPM: Line 1: ERROR: second byte is not 0x55. Received 0xFF

2018-07-14 13:45:45 (866) : PodEmu - OAPM: Line 1: ERROR: second byte is not 0x55. Received 0xE0

2018-07-14 13:45:45 (866) : PodEmu - OAPM: Line 1: ERROR: second byte is not 0x55. Received 0xFF

2018-07-14 13:45:45 (867) : PodEmu - OAPM: Line 1: ERROR: second byte is not 0x55. Received 0xE0

Running PodEmu 2.17-45 from the Play Store on a Samsung Galaxy S9+.

Any ideas?
[Android Apps and Games] skavan:
OMG Working! But with a feature request...

Just wanted to report...It's working...and it's working GREAT (with two caveats below):

I can't even be certain how it suddenly started working, but my primary changes were to:

- reset (including paired info) and reprogram one of my HC-05's -- but holding the button down on the HC-05 for the entire process.

- wipe all bluetooth processes from phone and restart

- turn off head-unit and turn it on AFTER connecting up podemu and hw.

OK - so here are the caveats and resultant requests:

If the headunit is already running, it often times, will not dock connect until I turn headunit off then on. How does the reconnect work in podemu? is there a way to trigger a reconnect/connect? if not, could one be added? Not the hugest deal.

A bigger deal is music app support. In my use case, I use Android Auto as a front end (running on the phone, not on car display). I use a mixture of spotify, google music, amazon music. But right now, I have to pre-select a music player in podemu and its not practical to change it while driving. It would be great in simple mode, for podemu to send a Next Track/Previous Track, media intent to the active player.

The Android API provides for this (I think) here. This would of course disable the metadata...but in my case, the phone is doing the music display! So -- the way it could work is if one chooses "Force Simple Mode" in podEmu, a new "Controlled Application Choice" appears: "Active Player". When chosen, this sends the media button events through Android. Alternatively, or perhaps additionally, add Android Auto to the controlled apps list. I have confirmed with a small Tasker Task, that MEDIA_NEXT etc... impacts the current media player inside Android Auto - tested with Amazon Music, Google Play, Sirius XM and Spotify.

s.
[Android Apps and Games] rp9:
Hi skavan. It's great to hear its working! Answering your questions:

Please log an issue on GitHub and attach the logs from PodEmu while you are trying to reconnect. Maybe your head unit expecting some specific behaviour that is not implemented in PodEmu

Please also log it on GitHub as feature request. I'll try to add work on it in the spare time.

Also, in general I have a request to all users: if you have requests or problems, please log them on GitHub. I am receiving multiple emails, sometimes problems are posted here, so it is difficult to manage them in different places. It will be much more easy to me if all bugs/requests are in the same place - GitHub: https://github.com/xtensa/PodEmu/issues
[Android Apps and Games] hugo_nz:
PodeEmu + Tune2Air + BMW iDrive = Yea/Na?

Looking at buying a bovee Tune2Air WMA3000b

Would PodEmu work with this over bluetooth? Really keen to get spotify working through the iDrive.

Thanks in advance, and thanks for a great app!
[Android Apps and Games] JLIspace:
The tune2air unit is doing everything PodEmu can do when combined with the right cable and bluetooth adapter. To my knowledge it has nothing to do with PodEmu. Basically it's doing the exact same thing but not on your phone and not for free.
[Android Apps and Games] mmarks:
Looking for help/advice.

I have a 2009 Bentley Continental which has Bluetooth but only for phone calls (uses RSAP protocol). It also has in the glovebox a 30 pin iPod cable (similar if not the same as the Audi MMI). I have plugged an old iPod into the cable and it works a treat. Display shows playlists, current track etc and I can use the stereo and wheel buttons to control next track etc.

As I own an Android phone (Blackberry Key2) and generally update all my podcasts and music on the phone rather than unplugging the ipod from the car each time there is a podcast update, plugging it into my PC, updating and then plugging it back into the car - which is a pain!!! I would much rather listen to everything from my phone.

I bought a Bovee 1000 Bluetooth interface which plugs into the iPod cable in the car and I can connect my Blackberry to it and play everything through Bluetooth but it doesn't display track info, allow playlists, searches or allow me to use the car controls - I have to do everything through my phone.

Would PodEmu get round this? I did try downloading it and selected Bluetooth and my Bovee 1000 device but it always says disconnected. Am I doing anything wrong? Can it be configured to work with this or am I looking at the wrong thing?

Any/all help appreciated.
[Android Apps and Games] Daniel-TAz00:
wow, I've been looking for this for as long as it seems to have existed :D Can't wait to try it.
[Android Apps and Games] Doug8796:
I have a Galaxy Note 8 and a Kia Optima 2010 with an ipod USB option. What parts do I need to get started?
[Android Apps and Games] rp9:
mmars, please read carefully first post. In requirements point 2 it is clearly said that DIY cable is required. It will not work with any third party dongles like Bovee.

Doug8796, please look at "Hardware" and "Supported serial interfaces" sections in the first post. There are multiple options...
[Android Apps and Games] Doug8796:
My question is that will it work with my usb c, and my stereo has a standard usb input on it.

I don't mind doing some soldering, I am just a bit confused. All I have is aux in and usb (ipod) in. Can I still use a bluetooth module? Will I need a USB to Female adapter/extender, so that I can make my DIY cable?
[Android Apps and Games] skavan:
PodEmu can probably get you on screen text -- but I think you will need to ditch the Bovee and make the circuit board and connect that to your ipod socket.
[Android Apps and Games] Daniel-TAz00:
It only works with the 30 pin original ipod connector.
[Android Apps and Games] Doug8796:
My car is pre lightning cable. I think it is usb to 30pin. Cant i get a usb to female 30pin and make diy cable that way.
[Android Apps and Games] rp9:
Doug8796, you have KIA. KIA/Hyundai have invented some none-standard connection and indeed there is a USB->30-pin converter. I am not sure if you Model and MY will support it but you can try. The cable is here: KIA/Hyundai iPod adapter
[Android Apps and Games] Doug8796:
What steps and adapters do I need to get started?
[Android Apps and Games] rp9:
Really? Please kindly read the first post in this thread.
[Android Apps and Games] Doug8796:
It is kind of vague. Does this solder job allow for bluetooth sound without a direct connection? I assume it does but it is not very in depth
[Android Apps and Games] fr4nk1yn:
That cable was my first experiment. There's really nothing in there, I cut it open after playing with it. Kia/Hyundai's iPod implementation sucks but it's not proprietary.

The serial adapter works just fine.

One minor quibble. When using PodEmu, at least on my said Hyundai, music can not be paused. Have I mentioned this before?! Pausing music while the radio is set to iPod simply has it start playing again. It pauses any other time like taking calls, or switching to another input.
[Android Apps and Games] Doug8796:
Do you have a custom diy cable or did you use the bluetooth module?
[Android Apps and Games] fr4nk1yn:
Found this while doing some AliExpress surfing: https://www.aliexpress.com/item/1pc...XD-Compatible-Win-XP-VISTA-7/32851113892.html , combine that with: https://www.aliexpress.com/item/DIY...lastic-Cover-Adapter-Connect/32849715800.html , and you'd have a quick easy adapter!
[Android Apps and Games] Daniel-TAz00:
It won't work with 30-pin to usb, as you're just patching 4 pins (usb pins) from the 30pin into a usb cable. While this app works over the TX/RX serial pins in the 30pin.
[XDA Assist] :
I need this dump file to get my LG g3 F460K working. If someone can help that would be greate.