[Q] [dev] Changing audio route - Android Q&A, Help & Troubleshooting

Hi all,
How to change the default audio route destination (to bluetooth headset)? I mean programatically, on a rooted phone. I have an SGS (with MIUI 1.11.11) and the available audio to BT headset router programs don't work in the desired way.
Actually there may be some linux related instruction to be done from console.
I am also interested in previligised (root) instruction that do that.
Regars,
Robert

Related

[Q] Android phone as bluetooth gateway.

Hi guys,
After hours of web searches, forum trawling and experimentation, I have yet to find an answer to my question.
GOAL: To connect an old, Android bassed phone handset to an analogue amplifier and use it as a bluetooth passthrough gateway.
I have an old Sony Ericson X10 at my disposal which I would like to connect (via a 3.5mm jack to RCA) as a permanent fixture to my outdoor analogue amplifier and speaker setup. Ultimately, this phone would act as a bluetooth gateway to which other bluetooth source devices could connect and stream music stored on said source devices via this gateway to my audio setup.
The control and volume, as well as the media storage would be taken care of by the source devices and audio passed via bluetooth to the audio setup.
I have tried many apps available and have found none to do this basic task. If there is one available, or similar, I would love to hear about it!
Regards,
Jordan.

[Q] Routing GSM module's sound

Dear all,
I'm working on custom hardware built on Amlogic AML8726-MX SoC. I have the board working with Android 4.2.1 compiled with telephony support. We use standalone GSM module from Telit and I successfully implemented RIL and I'm able to make or receive calls. Unfortunately I'm stucked with routing the audio. The module has digital i2s interface and I connected it through I2S<->USB Audio converter to the SoC.
So now I have two Alsa devices - one is dedicated to analog interfaces (speaker, headphones, microphone) and is working in android applications. The second one represents USB audio and I'm able to use that on kernel level with command line interface. Now I need to to connect these two together to be able to play the voice call using analog interface.
Is there please anyone who can point me into right direction? I'm experienced in kernel development, but going into higher levels is new for me. Can such thing be done just by altering audio_policy.conf and related files or the issue is much more complicated that I expected?
best regards
Jan

[Q] Road Veles Android car stereo add bluetooth support?

Hello all,
I'm after a little bit of guidance on how I might add Bluetooth support to an Android powered Car stereo. It is a "Road Veles" single DIN WinCE and Android device with a 7" flip out screen. The reason I bought this stereo is to run an app by the name of MSDroid. This app was to connect to my vehicle's engine management system via Bluetooth.
Can't post links yet, easy search on Google for Road Veles, look for hit on Chinavasion
The specs say it has Bluetooth, but having tested the device out on the work bench what the specs don't say is that the bluetooth is only accessible for handsfree from WinCE, there is no bluetooth for Android. WiFi via USB dongle works great. I have purchased but not yet received a combined WiFi and Bluetooth dongle. I would very much like to have this combined dongle work with the device. The Bluetooth control is not visible under WiFi control inside settings like it is in my Android phone.
Can anybody point me in the direction of where to start with this? Can I root the device and mod to add bluetooth? Is there another ROM I could run? I have done a lot of searching but can't see much at all out in internet land on this stereo!
Any help greatly appreciated! Thanks in advance,
Arran
Hi, I'm not sure how these sort of things usually work, what sort of dollar value would usually be associated with making a some tweaks to an Android build? ...
Hi again, still looking into this. Any ideas how to tweak the Android 4.0.4 OS to make bluetooth appear inside the settings menu?

[Q&A] use i9100 as a bluetooth car kit / speaker

Hi everybody,
I wonder whether it is possible to use my old I9100 as a bluetooth car-kit. I have already connected the speaker plug of the phone with the aux-in of the radio using a 3,5mm jack cable. I am trying to connect the recent phone via bluetooth - unfortunately after pairing the two devices the popup to select "telephone-audio" or "media-audio" will apperently not occur.
Is there any way (e.g. using a certain app or or custom ROM) to emulate a "real" car-kit? I am currently on 4.1 DBT Stock. But it would be no problem to switch to CM or comparable if a custom ROM will offer the ability.
Thanks in advance
HiHiMan
Try slimSaber, go for the last build, flash rom and gapps, arm=>4.4=>pico package. worked for me on an asus X501U, it has bluetooth audio.
Hi ultravy,
unfortunately slimsaber offers only "media audio". To connect the recent S5 in order to use the SII as a "BT speaker" the other option "telephone-audio" is needed.
I was also not able to stream music from the S5 to the SII, although "media-audio" was ticked.
Any other ideas?
I also tried CM11 which offers also the media audio option - but also no "telephone audio". Is there any app to use the SII as SAP /rSAP receiver?
...digging out as I am still looking for a solution
Does anybody have an idea how to pair my current phone via bluetooth and activate "telephone mode" on my I9100?
Is there any chance to enable A2DP to act as a bluetooth sink??

[Android 4.2.2] [2016 Honda Civic Infotainment] Disabling Bluetooth Whitelist

Hello,
I have rooted my infotainment system in my Honda Civic according to this forum post successfully.
I installed the Torque Pro app which connects to the a Bluetooth ODB-II reader. I verified that it was working using my OnePlus 2 phone and that there were no issues pairing. However, the car infotainment system seems to only display Phones when scanning for devices. It does not detect the reader or my laptop when in discoverable mode.
I took a peak inside the /etc/bluetooth/main.conf file and it seems that it contains entries to whitelist only certain kinds of devices. However, following the comments replacing the values 0xFFFFFF does nothing. I don't think the file is even being read because if I change the device name "HandsFreeLink" to something else, it doesn't actually change.
My suspicion has something to do with the Android version that it is running and the bluetooth stack. It is running Android 4.2.2, and since Jelly Bean, the Bluez stack was replaced with Bluedroid. However, I can't tell what Bluetooth stack is actually running because of some contradictory things:
- /etc/bluetooth/main.conf is there (though it seems to be ignored)
- /data/misc/bluetooth is empty
- /data/misc/bluetoothd has a folder with the device MAC address. Looking into the files, they have lists of already paired devices, etc. (isn't this Bluez that creates these?)
- /data/misc/bluedroid does not exist
I also tried using a separate app to do the pairing, perhaps the UI was hiding other devices. Nope, only phones are being shown.
Where else should I look for Bluetooth configuration? Is there anything I can do, or is this likely something deeply ingrained whenever Honda rewrote part of the bluetooth stack for their car...
Thanks,
cdahmedeh
I'm looking for the same thing but my data/misc/Bluetooth is not empty, I have two HCI folders. I'm trying to get any command that use bluetooth like hciconfig but I cannot get it
Have you guys found a way to pair other bluetooth devices? Its really seems that only phones are visible. Please share if you guys found a solution. Thanks!
I may have found a fix. Not sure how helpful this is but there is a customizable ECU for honda vehicles called Hondata. Normally it just allows you to flash you car ECU to gain more HP but since honda started using android on their headunits, it opened up doors for your car to display ECU info and communicate easier with other bluetooth devices. In this video tutorial, it showed how to root the headunit, install custom apps, and also find other bluetooth devices. They show you for their own purposes of connecting their device but im sure it will allow any bluetooth device.
https://www.youtube.com/watch?v=XGdF1jm987o

Categories

Resources