[Q] How do i enable bluetooth setting in the maind menu - Android Software/Hacking General [Developers Only]

Alright here is my dilemma: I have a android head unit for my car An6b01 (Adayo, FORYOU, K1) it runs on froyo 2.2 it has a 6.1 inch screen, 1 sd micro slot & and 1 regular sd, 3 usb ports wi-fi and bluetooth 1ghz arm8 processor etc. I'm able to go on the market place web and all that good stuff my problem is that although the unit runs on android 2.2 it has its own native apps which seem to control some of the hardware on the unit. For example it has a bluetooth app thats designated for pairing with your phone which lets you play music off of it receive calls and go through your phone book, This app also enables if the bluetooth is on or not. Now if you go to android settings the bluetooth option is not there and i'm unable to pair with different device such a ODB2 module. I was wondering if there is a way that i could add the bluetooth option back into my setting in order for me to pair with other devices. I have tried some of the apps of the market place like "Bluetooth Enabler" and "Bluetooth Manager" but when i try turning on the bluetooth through there it just says "Turning on Bluetooth" and nothing happens. My unit is rooted and i'm familiar with editing the system files and flashing roms. Could any one give me some tips on how i can enable the Bluetooth setting in my android setting? I also have all the system files if anyone is willing to look at it. thanks:

i just relized that i might of put this in a wrong area... feel free to move it sorry

Related

How can I force a specific bluetooth profile?

Hi all,
I am trying to use the factory bluetooth integration in my car, and from everything I've read, it requires SAP (or rSAP?) to work properly. I've never had trouble pairing to the bluetooth module, but the car still insists there is no phone.
After messing with it yesterday and installing SAPSettings, I can hear the speaker of the phone in the car's audio, but no microphone, and it still says "insert phone" in the car's phone menu as apposed to downloading the phone book and letting me dial on the screen.
The phone lists the SAP profile among many others, but if I go into the settings of the car's bluetooth connection, it only lets me choose "Hands Free", with an on/off checkbox. It seems like thats what it sensed was available from the car, and offers nothing else, but I'd like to force SAP instead.
Car: MB E-Class
Phone: Sprint HTC Touch
OS: WM 6.5
Thanks!
I'm going to put the official windows mobile 6.1 on it to see if it makes a difference.
bluetooth is a long list of various profiles
problem is that devices only need to implement 1 or 2 to call themselves
bluetooth devices and no if the maker of the bluetooth stack in both ends
didn't implement a profile you can't force it
I have this problem trying to get my HD to connect to my landrover freelander 2 hse. I can get it to connect to the phone, but cant get the call to play thru cars speakers.
Dont bother with winmo 6.1 or official rom, just doesnt work at then (cant connect).
Only way i can get it to work is with winmo 6.5 (manila 2.5) (profiles must have newer or more stable settings). Only thing i have to do then is to make a call (normally voicemail) turn privacy on, then off again and voila it plays thru speakers.
Downside is i have to do this everytime i start the engine.........
Now that probably doesnt help you much but you will probably find from your car manufacturer that you device is not supported with you cars handsfree bluetooth kit.
the only one fully compatible with the freelander 2 is................. an phone

Automatic music playing on BT

Hi,
Another question:
I have BT in my car. I also have car charger.
When I connect phone to car's BT and start to charge the phone, music starts to play through BT from phone.
How can i disable this automatic turn on of music player on phone?
Tell us something more!
Which musicplayer are you using!
Is there StockROM on your device?
Are you using apps to manage BT-connections?
...
Yeah, sorry, forgot to copy paste this:
I'm running 2.3.5 VoiduS 3D v1a [PROXUSER] with Sense 3.0.
Application is standard music player, nothing fancy from my side.
As far as i know, i dont have any apps managing my BT..
Needed some time to find that ROM, a little bit old one! You havent got updates this year
May a try on a ROM with regular updates would make sense?
But now to your problem:
I never used that ROM, so standardplayer there is HTC-musicplayer i can see on proxusers thread?!
I can't find any options in standardplayer where to choose an option to start music automatically after connecting to BT-device!
Following settings i find on Stock-Sense-ROM, so on yours it could be a bit different:
In "settings/wireless&networks/BT-settings/bluetooth devices" you can find paired devices!
Hold the device of your car, a popup will apear. Choose "options". Untick "media".
May it helps. Otherwise there also could be an option on your car's device which you'll have to tick/untick!?
Hmm, this MOD was only one that didnt explicitly demanded full wipe of my phone.
need to look into new MODs, I'm just too lazy to set up phone from the scratch again, since i already have all the settings i want set up.
As far as cars BT settings are concerned, i just tested removing paired device from car BT system and re-adding it with only phone function, but once i save it it automatically adds music function too. I guess phone demands a music function :S
SubjectX said:
As far as cars BT settings are concerned, i just tested removing paired device from car BT system and re-adding it with only phone function, but once i save it it automatically adds music function too. I guess phone demands a music function :S
Click to expand...
Click to collapse
Hmm...i'm not using my smartphone with my car, so i only can say that it is possible for me to set phone-option only on pairing my device to my computer

One click - Connect 2 Specific Bluetooth device for A2DP and Phone app

An amazing One click - Connect 2 Specific Bluetooth device for A2DP and Phone app:
Bluetooth Pair
https://play.google.com/store/apps/details?id=com.gnssoftworks.bluetoothpair
found it very useful for swapping bluetooth headphones between devices WITHOUT turning off Bluetooth entirely or going into the settings menu.
Example Use Case:
I have one Stereo Bluetooth headset with mic (two profiles - phone and A2DP audio)
I have one Android Phone and one Android Tablet.
Phone Profile is always connected to the Android Phone, but the A2DP audio changes depending on which device you want to listen to music from.
Normally, if you want to listen to audio from the Tablet when your headset's A2DP profile is connected to the phone, you'd have to first go to the settings menu of the phone, and disconnect the A2DP, leaving Phone Profile connected. Then go to the settings menu on your tablet and connect the A2DP only.
Then you'd have to do the opposite if you want to listen to audio from the Phone again.
Takes a long time.
With Bluetooth Pair, you can specifically connect or disconnect to a specific device and specific profile (phone / a2dp) by widgets.
So you won't have to turn off the bluetooth completely on one device just to allow your headset to connect another device. Nor do you need to go into settings anymore.
1.) Just tap on the A2DP device specific widget on the phone to disconnect, the A2DP Profile from the phone
2.) go to the Tablet, and tap on the A2DP device specific widget to connect the A2DP profile of the headset to the Tablet
Two taps!
Would you mind sharing a code snippet on how you achieve this? I've been working on a little program that I intend to use around the house and this is the missing piece that I can't figure out. Basically, I have some NFC tags spread around the house and a receiver app that triggers various actions. One of them enables bluetooth on my device (if off), turns on my home audio receiver (over telnet), connects to the receiver's A2DP device (this is the missing piece), and launches a music app.
I've seen examples where this works using an AIDL method, but from what I've gathered this no longer works under Android 4.2. Does your app work on 4.2? Any hints you can provide?
Thanks!
Brian
I'm not the writer of this app.
You could try contacting them via the email listed on Google Play.
BTW, while you're making your app, please dedicate a thread to it on XDA so we can all beta test and buy it later!
klau1 said:
I'm not the writer of this app.
You could try contacting them via the email listed on Google Play.
BTW, while you're making your app, please dedicate a thread to it on XDA so we can all beta test and buy it later!
Click to expand...
Click to collapse
Oh, OK. I just assumed this was your app.
After reading the Play Store description more carefully, I don't think this app actually does what I'm trying to do (programmatically establish an A2DP connection). It appears this app enables / disables certain profiles but the actual connection is still handled by the OS.
As far as the app I'm making, I was intending it to just be something for personal use. I'm planning on keeping it very lightweight and tailored specifically to my needs. For it to be used by anyone else they would have to have the same brand of A/V receiver as me (Pioneer) that supports the same telnet commands. Most of the rest of the functionality of the app can be duplicated by using some of the existing NFC apps like NFC Task Launcher. If I ever develop it into something interesting that could be used by a wider audience I probably will post it on XDA for feedback though.

[Q] Android 5.0 Bluetooth Visibiltiy

I'm pretty sure I remember this setting being available in the preview versions just like in kitkat, but on the recently released images I cannot find the setting to change the bluetooth visibility setting to never time-out. The pioneer bluetooth stereo in my car absolutely will not recognize the presence of my phone unless it is discoverable.
Am I missing something, or has this option simply been removed.
If it has been removed I'm hoping maybe there is something I can modify to get this option back.
Thank you
xxrzdxx said:
I'm pretty sure I remember this setting being available in the preview versions just like in kitkat, but on the recently released images I cannot find the setting to change the bluetooth visibility setting to never time-out. The pioneer bluetooth stereo in my car absolutely will not recognize the presence of my phone unless it is discoverable.
Am I missing something, or has this option simply been removed.
If it has been removed I'm hoping maybe there is something I can modify to get this option back.
Thank you
Click to expand...
Click to collapse
If you open the bluetooth settings it says, that your device is visible to all devices as long bluetooth is enabled. Only in this screen your bluetooth device is visible to other devices.
I hope google fixes this, because its too confusing.
Yes, unfortunately that's the only reference to bluetooth visibility I have found.
My understanding in 5.0 is that your device's Bluetooth is only visible to paired devices, except when the Bluetooth Settings page is open. When the Bluetooth Settings page is open on your device it will be visible to all nearby Bluetooth devices (which is what you need when pairing). Have you paired the Pioneer Bluetooth stereo with your device?
There no longer appears to be an option as there was on 4.4 to permanently set 'Visible to all nearby Bluetooth devices'. However, why would you want that, other than when setting up pairing? It's a security risk.
xxrzdxx said:
I'm pretty sure I remember this setting being available in the preview versions just like in kitkat, but on the recently released images I cannot find the setting to change the bluetooth visibility setting to never time-out. The pioneer bluetooth stereo in my car absolutely will not recognize the presence of my phone unless it is discoverable.
Am I missing something, or has this option simply been removed.
If it has been removed I'm hoping maybe there is something I can modify to get this option back.
Thank you
Click to expand...
Click to collapse
I'm in your same situation, I was googling around and I found this... I'm on CM12 and wish that we can find a solution for make the bluetooth always discoverable on AOSP roms. I own a Lg G3 and on the stock Android 5.0 rom the option (like in KitKat) it still there!
The only reason I was really looking for this features is that my older Pioneer head-unit in my car (DEH-P9800BT) won't connect automatically to my phone unless the phone is discoverable. I've managed to adapt my other bluetooth connections that were set this way to work without the option, but I've tried for years (since my Palm Treo 650p) to get the head unit to connect automatically with no luck.
I am also wondering why they have hid this feature...
Looks like they are trying to go like (cr)Apple, whereas your iPhone is only discoverable within the Bluetooth menu.

Bluetooth paired devices - disable multimedia sound on Huawei

Hello,
I have a simple case:
- I have PX5 radio in car
- and Huawei Mate 20 Lite as a phone
Both devices are paired with bluetooth.
Since PX5 radio is full Android device that can run Google Play apps itself.
I would like to use bluetooth only for calling and as trigger for Tasker(start WiFi hotspot).
But since it is possible my phone sends also multimedia sound(but it won't be played on radio, since specific app for A2DP is not working - and I'm fine with that), I would like my phone to simply play multimedia itself, not via bluetooth.
I know it is possible in vanilla Android(https://fscl01.fonpit.de/userfiles/6983662/image/androidpit-lollipop-bluetooth-forget-w628.jpg) but since Huawei has it's "awesome" custom settings menu it is not there, do You guys have any idea how to change that settings?
ADB or any application would be great.
I'm not interested about any solution with root.
Apparently there is small "i" button on the right of paired device in bluetooth settings - not that easy to click(because when I tried to hit it for a first time I couldn't hit it correctly - that why I created that topic) - where You can change what sound is passed via bluetooth.

Categories

Resources