MOTOACTV audio input development - Other SmartWatches

I have found a way to record audio with the MOTOACTV (using a headset with microphone):
download the attached amixer and aplay executables.
copy them to the /system/bin/ folder in your MotoACTV
Code:
adb remount
adb push amixer /system/bin/
adb push aplay /system/bin/
adb shell chmod 755 /system/bin/amixer
adb shell chmod 755 /system/bin/aplay
adb shell ln -s /system/bin/aplay /system/bin/arecord
Now we need to configure the audio input, this is the trick:
Code:
adb shell
amixer sset 'PGA Mux Right' 'MIC2'
amixer sset 'Audio Source' 'Mic2'
amixer sset 'XSP-IP Attenuation' 63
Now, we can use arecord and aplay to test:
Code:
adb shell
arecord -f cd -d 5 /sdcard/test.wav
will record for 5 seconds
Code:
aplay /sdcard/test.wav
Now, we now that there's nothing wrong with the hardware or the kernel, but I'm not sure if the problem lies in libaudio.so, libasound.so or in one of the android configurations.
Any ideas?

You sick son of a *****. Nice. Very nice

Wow, ingenius. Using alsa utils to perform recording. Sometimes I forget how close android is to linux. Great Find.

|SavageD| said:
Wow, ingenius. Using alsa utils to perform recording. Sometimes I forget how close android is to linux. Great Find.
Click to expand...
Click to collapse
Any progress?
Got to be a library thing right?

Just curious if anyone's had any progress in this? I dusted the motoactv off yesterday and started playing with it again.
Do we still have a community? Ours is waaay better than that Samsung one - if we could just get audio working right.
I thought up kind of a neat idea on how to give vibrator support to motoactv:
we could open up a sony liveview (scrap out the screen and housing and just encase it in electrical tape or something small) and pair it with motoactv via bluetooth (running liveview on moto)... notifications would result in the liveview vibrating. ))))) bit crazy but I think it'll work.

willfck4beer said:
Just curious if anyone's had any progress in this? I dusted the motoactv off yesterday and started playing with it again.
Do we still have a community? Ours is waaay better than that Samsung one - if we could just get audio working right.
I thought up kind of a neat idea on how to give vibrator support to motoactv:
we could open up a sony liveview (scrap out the screen and housing and just encase it in electrical tape or something small) and pair it with motoactv via bluetooth (running liveview on moto)... notifications would result in the liveview vibrating. ))))) bit crazy but I think it'll work.
Click to expand...
Click to collapse
I've got one of those... a little scared to try though lol!

ClearD said:
I've got one of those... a little scared to try though lol!
Click to expand...
Click to collapse
Well we could test to see if we can even pair liveview to actv first... do we have support for serial bluetooth profile?
I got Torque to download and install on the actv and I went to connect to my obd2 bluetooth dongle... but have to pre-pair them... and my actv only seems to find bluetooth headset/a2dp type things... I'm a bit foggy but I thought I downloaded some .zip add on/mod that was supposed to allow more profiles to function. Can't remember the details though. What is the extent of people's success with bluetooth beyond headset devices?

Been able to bluetooth tether devices via a third part app. But, like you said, My Motoactv only recogines audio devices in the stock bluetooth settings.
PS. The Sony Liveview vibration is so weak, it is hardly worth the effort, even though the idea was most certainly thinking outside the "motoactv" box!

Related

Audio routing

I KNOW I KNOW, WIDCOMM stack...but what I want to know is basically can I route audio properly to my mono plantronics headset. I used to do this with my Wizard, and the headset routes audio fine during phone calls. Why can't a small program force this connection for streaming music. I don't care if it sounds like crap, i just want to be able to listen to it. ARGH this is driving me crazy. Any help would be nice.
If you are just going to say "try the widcomm stack" please don't. I read it doesn't play well with MS Voice Command and I use VC too much to not be able to have it function properly. Thanks in advance...
I used BTAudio Toggle with my 8125 and the 640 (to listen to MP3's off of TCPMP or WMP). Have you tried it on your current phone?
scharnet said:
I used BTAudio Toggle with my 8125 and the 640 (to listen to MP3's off of TCPMP or WMP). Have you tried it on your current phone?
Click to expand...
Click to collapse
yes, none of these programs seem to work with the 8525...but they did work with the 8125...
I know you don't want to hear it, but upgrade to WM6, and then apply Widcomm stack and MS vc 1.6. Works great. As a matter of fact, I installed it because Ms VC didn't seem to work right with ms bluetooth stack. Now, plantronics 640 works great, all audio is routed and MS Voice Command works flawlessly....
I have found all you need is the bbs_hermes_03.cab file (can't remember the exact name) from this post. the other files were not needed by me. Ran the cab file and everything worked
http://forum.xda-developers.com/showpost.php?p=1072773&postcount=72
Yeah th BBS_Hermes_03 works, it reroutes audio to bluetooth once activated. But the down side is DUN and Bluetooth active syn don't work no more.
hksmr2 said:
Yeah th BBS_Hermes_03 works, it reroutes audio to bluetooth once activated. But the down side is DUN and Bluetooth active syn don't work no more.
Click to expand...
Click to collapse
Sorry, I did not know about that. I don't use bluetooth DUN, or Bluetooth Active Sync. Bluetooth is much to slow for that to me..
eagle 1 said:
Sorry, I did not know about that. I don't use bluetooth DUN, or Bluetooth Active Sync. Bluetooth is much to slow for that to me..
Click to expand...
Click to collapse
hrmmm, i'm running wm6. I'll give that a try later today. I didn't read anyone saying that in the thread. I'll give it a try.
I got a weird one. I connected my pda to my pc via High Quality Audio profile.
Now when I play a music file on my PDA, I get no sound from my speakers, but, upon going into Sounds Control Panel in Vista, I see the Bluetooth Microphone is receiving the data. When I stop the song, the data stops. When I play, it starts. How do I reverse this so that when I play a song, it shows up on my PC as output and not input, this is strange...
Here is a mortscript I wrote to accomplish this:
http://gthing.net/scripts/index.php?option=com_docman&task=doc_details&gid=8&Itemid=2
Works on my 8525
hksmr2 said:
Yeah th BBS_Hermes_03 works, it reroutes audio to bluetooth once activated. But the down side is DUN and Bluetooth active syn don't work no more.
Click to expand...
Click to collapse
I installed this but it does not work AT ALL. I can't even use my bluetooth to talk on the phone.......wtf?
gthing said:
Here is a mortscript I wrote to accomplish this:
http://gthing.net/scripts/index.php?option=com_docman&task=doc_details&gid=8&Itemid=2
Works on my 8525
Click to expand...
Click to collapse
Apologies and apoplexies for the OT.
Hello gthing: Can you point me to a tutorial on using mortscript for us mere "mort"als? (The root "mort" sure is weird - dead man writing?
I am not highly technical, but want to understand some of the things I run across in the forum better.
Thanks
Ben
gthing said:
Here is a mortscript I wrote to accomplish this:
http://gthing.net/scripts/index.php?option=com_docman&task=doc_details&gid=8&Itemid=2
Works on my 8525
Click to expand...
Click to collapse
Not sure if it's the same mortscript I'm using, but in the MS VC Bluetooth thread there is one posted as well.
Using the steps there, I'm quite easily able to switch from VC to mono audio routing.
Someone summed the steps up quite nicely, do a search for my name pkley towards the end of that thread...
BigBen said:
Apologies and apoplexies for the OT.
Hello gthing: Can you point me to a tutorial on using mortscript for us mere "mort"als? (The root "mort" sure is weird - dead man writing?
I am not highly technical, but want to understand some of the things I run across in the forum better.
Thanks
Ben
Click to expand...
Click to collapse
Just install mortscript (find RC9) and then the mscr files will run as applications. You can put them in your applications folder and even run them using voice command if you have it.
If you want to write your own scripts, it comes with documentation, and you can find a few examples at gthing.net/scripts <----would really appreciate more scripts on that site if anyone has any they can upload.
gthing, thanks for the reply! I am going to look into this!
Ben
Ok, none of these things help...in fact the wicomm stack doesn't work with my bluetooth headset (plantronics 320) and I can't even un-install the damn thing. It just locks up my phone in the endless spinning rainbow wheel, or literally freezes. More-over none of these replies help as far as routing all sound from my phone to a MONO bluetooth headset...
gthing said:
Here is a mortscript I wrote to accomplish this:
http://gthing.net/scripts/index.php?option=com_docman&task=doc_details&gid=8&Itemid=2
Works on my 8525
Click to expand...
Click to collapse
Thank you - works perfectly !

Using your PPC as a wireless headset for PC possible??

I've been scouring google trying to look for something that works like this:
1) ALL audio from your computer is streamed to your PPC.
AND
2) You can use your PPC as a wireless mic for your computer.
In essence it'll work as a wireless voice communicator with your laptop. Is there anyway to do this? I've tried using bluetooth, but the computer software I have wouldn't allow me to use my phone as a 'headset' only to transfer files and create a DUN. So if anyone know of any computer software or PPC software that would help me achieve this, it would be greatly appreciated. It could be through BT, WiFi or Data. I just need something that works.
My purpose for this is that I like to play games, listen to music, and even voice chat (ventrilo) and I would like to be able to still hear what's going on on my computer while I'm grabbing a glass of water or taking a bio-break.
Click to expand...
Click to collapse
Found a method that works, but it in very poor quality. First thing is to install Skype .18 beta onto your phone (only version that works on the Titan) and to install Skype on your computer also. You will need to create 2 accounts for both the phone Skype & PC Skype. Now configure your computer Skype to reroute all audio to go through the microphone input. Call either devices from the other device and initiate voice chat. You should be able to hear your computer from your phone, but in very low/poor quality. When you speak into the phone you can hear yourself on your computer. A headset is suggested.
This is what I found to work so far, still trying to search for a better way of doing this. I've been able to stream quality music from the computer and voice to the computer, but never both at the same time yet.
Here's link to Skype .18 beta:
http://smarthacks.com/wp-content/skype/SkypeForPocketPC-2.2.0.18-Beta.cab
I'd like to know if it's possible as well...for some reason my speakers arent being recognized by windows (i freaking hate MS!!) so it'd be nice to use BT to use my phone as speakers (that and so i could wander around the house)
if it support audio gateway it could work of cause
to enable it one would have to quit the game
and change pref'd device in audio settings in pc
control panel and restart the game
audio gateway would mean to go through BT. I'm sure the titan is able but its the bt software on the computer end that's crappy (got my bt adapter for $4). I'm looking for alternatives if possible.
i paid a few pretty pennies for my BT device (it wasn't overly expensive, it was a good deal at the time), and it came with a disc that had blue soleil on it. Well, it kept telling me i needed to register or somthing, but wouldnt let me. So i got rid of it. I bet B.Soleil would work though, maybe i'll dig it back up.
found all of my original documentation and disks with B.S. on it. They gave me a trial version. I paid for a usb dongle with blue tooth and B.S. gave me an eval copy. Okay, no wonder people hack/crack stuff. Idiots like that. I hope they die in a fire.
lol yea i think mine is blue soleil too, not sure if its a full copy or eval copy. all i know is its crap and won't let me do what i want.
yeah, i smashed my blue soliel disk out of anger. i tried it first, and it wouldnt let me stream music to my headset or my phone, so whatever. I dont even need that program to transfer files, i have BT drivers on my computer already.
well if you do manage to find a working BT software be sure to share ;D
Really?...
Total_Lag said:
2) You can use your PPC as a wireless mic for your computer.
Click to expand...
Click to collapse
I'd made a thread about how I'd wanted to dev, or asking if anyone knew of a prog to do this. What s/w d'ya know of/recommend?
Total_Lag said:
I've been scouring google trying to look for something that works like this:
1) ALL audio from your computer is streamed to your PPC.
AND
2) You can use your PPC as a wireless mic for your computer.
Click to expand...
Click to collapse
he's LOOKING for an app that does it.
I'm trying to look into a A2DP server solution, though I doubt it's possible for the PPC to 'serve' audio to the computer.

[REQ]Turn on/off WiFi, depending on Bluetooth

Hi all!
When I woke up today, like 20 min ago!
I had an idea I would like to get on my phone..
I know a little programming, but not enough to realise this
ok..
When I'm at home I use wiFi to connect my phone to the internet, but when I'm not at home I don't use WiFi (like many others)
And I sometimes forget to turn it off when I'm going out,
and firstly It drains battery
second, It makes anoying beeps whenever it finds new wiFi's
(have anyone found how to turn this off permanently, every time i restart my phone it's back on again! Grr)
anyway back to to point...
My Bluetooth is always on...
transfering files when at home, and listning to music when I'm out...
So Idea (finally )
When Bluetooth connects/finds my home computer it will turn on WiFi
and when it loses my home computer it will turn off WiFi..
pretty simple idea, but I think It can be pretty useful?
any programming geniuses up to te task!?
Thanx to all in this Forum...!
I'll look at it...
Mr_Gee said:
I'll look at it...
Click to expand...
Click to collapse
Nice ...
I've looked in msdn about bluetooth .. but I just don't know where to start...???
The idea came partly from when I'm listening to music with bluetooth headphones and are leaving my apartment..
The music stops-starts-stops-starts.... just as I'm out of range for the bluetooth...
So I thought there must be an event that u can 'hook up on' with a small app that turns off/on the wifi...?
would be great if someone (Mr_Gee?) could help me out here ..?
or maybe just point me in the right direction when it comes to the coding?
(Visual Basic is the language I'm used to)
I got something, which is partially working,
do you connect to your PC when you are at home?
the problem i'm facing is that in the registry i can see what is going on, but for some reason i can't see if/when the BT is connected to the PC
the code is the same as "on but not connected", I could look up if there is an active sync connection, but i'm not sure if this is something that manually needs to be initiated.
the app does work if you are disconnected, it will stop the wifi
Mr_Gee said:
I got something, which is partially working,
do you connect to your PC when you are at home?
the problem i'm facing is that in the registry i can see what is going on, but for some reason i can't see if/when the BT is connected to the PC
the code is the same as "on but not connected", I could look up if there is an active sync connection, but i'm not sure if this is something that manually needs to be initiated.
the app does work if you are disconnected, it will stop the wifi
Click to expand...
Click to collapse
ok ... no, I'm not connected to my computer with active sync all the time...
So that probably isn't a solution... ?
I want it to notice if my computer is in range...
but shouldn't there be a process running that's checking if someone is connecting or sending something?
Like with the headphones, If I go out of range with them, eventually the handsfree will turn off...
Like I said... I have no idea where to go here!
But Thanx! for your help on this...
Much appreciated!
Yes that is what you would expect...
but I need to find the information somewhere
I'll keep looking and let you know
This script apparently lets you automatically activesync over bluetooth when you are close to your computer.
http://forum.xda-developers.com/showpost.php?p=1096906&postcount=5
Code:
If NOT wndExists "Connected to MEDIACENTER"
RegReadDWord HKLM, System\State\Hardware, Bluetooth, Bluetooth
If Expression %Bluetooth% <= 8
Set BluetoothWas, "Off"
Run "\Windows\ToggleBTH.exe"
Sleep 3000
EndIf
Run "\Windows\rnaapp.exe", -n -m -e"MEDIACENTER"
WaitFor "Connected to MEDIACENTER", 15
Run "\Windows\udp2tcp.exe"
Run "\Windows\rapiclnt.exe", -dppp_peer
Run "\Windows\repllog.exe", /remote /sched /h
Sleep 1000
RegWriteDWord HKLM, System\State\Hardware, Cradled, 1
While wndExists "Connected to MEDIACENTER"
Sleep 1000
EndWhile
Run "\Program Files\MortScript\TKill.exe", UDP to TCP proxy
Run "\Program Files\MortScript\TKill.exe", Remote API Client
Run "\Program Files\MortScript\TKill.exe", ActiveSync
If equals %BluetoothWas%, "Off"
Run "\Windows\ToggleBTH.exe"
EndIf
Else
Run "\Program Files\MortScript\TKill.exe", Connected to MEDIACENTER
EndIf
One could easily inset a wifi toggle softcut in there somewhere.
Surur
surur said:
This script apparently lets you automatically activesync over bluetooth when you are close to your computer.
http://forum.xda-developers.com/showpost.php?p=1096920&postcount=6
....
One could easily inset a wifi toggle softcut in there somewhere.
Surur
Click to expand...
Click to collapse
Nice find...
but I don't think it will run the script when I'm close to my computer...
looks like u run the script and it activates bluetooth runs activesync and then closes the connection ...
NisseDILLIGAF said:
Nice find...
but I don't think it will run the script when I'm close to my computer...
looks like u run the script and it activates bluetooth runs activesync and then closes the connection ...
Click to expand...
Click to collapse
Presumably you could put it in a loop and check for success or failure of the activesync connection. Reading the script is not ideal however.
Surur
surur said:
This script apparently lets you automatically activesync over bluetooth when you are close to your computer.
http://forum.xda-developers.com/showpost.php?p=1096906&postcount=5
One could easily inset a wifi toggle softcut in there somewhere.
Surur
Click to expand...
Click to collapse
Hi,
That script is indeed only one-click sync, in that particular script it's over GRPS/UMTS. I made such a script for Bluetooth also, but it's only to sync. I still haven't found a way to auto-connect to your Bluetooth or WIFI source without a script continuesly looping and there for draining the battery and the CPU.
In this thread however mjg7876 asked for ideas, put up a vote and apperantly the event driven application got the most votes. I suggested just such a feature; raise an event when a particular BT device is connectable. All we can do is hope mjg7876 gets started on the project soon, and finds a non-battery-draining way in C++ make it happen.
Cheers,
Cacti

Fire has Bluetooth and FM Radios but...

according to the ifixit teardown, at least on the first production run it looks like they used a Jorjin WG7310 WLAN controller that also includes BT and FM. it appears they simply left out the antenna and now that we have source, has anyone looked at how difficult it would be to cook in BT and FM support, assuming we install our own antennas?
http://www.jorjin.com/Product_SiPmodule_WG7310.htm
How do you know that they left out the antennas?
mdstricklin said:
How do you know that they left out the antennas?
Click to expand...
Click to collapse
well the antennas would have had to be detailed on the FCC filing and they were not. I can't imagine why they would pay extra to engineers to design in antenna routing for features they were never planning on using anyways. Then the cost of having the antennas put in the hardware would also be unnecessary......im fairly certain they were trying to cut every dollar out of it when possible, but i dont know for sure yet
The Nook Color has a similar chip and no antenna but Bluetooth still functions though with a range of only few feet. I don't know the correct physics terminology, but I believe the chip and the system board act as a primitive antenna. Of course, if the BT functionality operates through separate pins on that chip than the wifi then BT will only work if those data and power pins are properly connected into the system too.
heres something i just noticed.. in the init.rc it has this:
# do not launch the Radio Interface Layer daemon (RILd) service
# since there is NO modem on the board
#service ril-daemon /system/bin/rild
# socket rild stream 660 root radio
# socket rild-debug stream 660 radio system
# user root
# group radio cache inet misc audio sdcard_rw
but, then it has this:
service bluetoothd /system/bin/bluetoothd -n
socket bluetooth stream 660 bluetooth bluetooth
socket dbus_bluetooth stream 660 bluetooth bluetooth
# init.rc does not yet support applying capabilities, so run as root and
# let bluetoothd drop uid to bluetooth with the right linux capabilities
group bluetooth net_bt_admin misc
disabled
so it seems that it could support bluetooth.. i installed the bluetoothd binary, but in logcat at boot it says:
BluetoothHeadset( 1394): Could not bind to Bluetooth Headset Service
ActivityManager( 1394): Unable to start service Intent { act=android.bluetooth.IBluetoothHeadset }: not found
so im guessing the next thing is to mod the services.jar to include bt services?
just checking on the thread, if it has the hardware you would think this would be a big deal
jamesnmandy said:
just checking on the thread, if it has the hardware you would think this would be a big deal
Click to expand...
Click to collapse
the 2nd chip in the wifi module is the same as the WiFi/BT front end chip in the Nook Color. This is antenna switch, combining both the BT and WiFi connections to use only one antenna. See here and here and here.
If the BT portion is hooked up to a UART on the OMAP, and the BT power enable is wired or connected in tandem with the WiFi power, then BT should be possible.
I found this site with a good picture of the inside of the Kindle. They battery takes up most of the room.
http://www.theverge.com/2011/11/16/2565949/kindle-fire-root-teardown-source-code
pokey9000 said:
the 2nd chip in the wifi module is the same as the WiFi/BT front end chip in the Nook Color. This is antenna switch, combining both the BT and WiFi connections to use only one antenna. See here and here and here.
If the BT portion is hooked up to a UART on the OMAP, and the BT power enable is wired or connected in tandem with the WiFi power, then BT should be possible.
Click to expand...
Click to collapse
i am excite!
pyrorob said:
heres something i just noticed.. in the init.rc it has this:
# do not launch the Radio Interface Layer daemon (RILd) service
# since there is NO modem on the board
#service ril-daemon /system/bin/rild
# socket rild stream 660 root radio
# socket rild-debug stream 660 radio system
# user root
# group radio cache inet misc audio sdcard_rw
but, then it has this:
service bluetoothd /system/bin/bluetoothd -n
socket bluetooth stream 660 bluetooth bluetooth
socket dbus_bluetooth stream 660 bluetooth bluetooth
# init.rc does not yet support applying capabilities, so run as root and
# let bluetoothd drop uid to bluetooth with the right linux capabilities
group bluetooth net_bt_admin misc
disabled
so it seems that it could support bluetooth.. i installed the bluetoothd binary, but in logcat at boot it says:
BluetoothHeadset( 1394): Could not bind to Bluetooth Headset Service
ActivityManager( 1394): Unable to start service Intent { act=android.bluetooth.IBluetoothHeadset }: not found
so im guessing the next thing is to mod the services.jar to include bt services?
Click to expand...
Click to collapse
It appears that the Bluez packages are missing. In the init.ompa4430.rc, this line is disabled:
#Permissions for Bluetooth
# chown bluetooth bluetooth ro.bt.bdaddr_path
but...
the following lines are enabled (this may be for WiFi and not BT):
#change permisisons for radio
chmod 0660 /dev/ttyS0
chown radio radio /dev/ttyS0
This is Great News! Cant Wait to Start Modding!
My HTC EVO Shift has a FM radio built in and it will not turn on unless the headphones are plugged in it uses the cord as a antenna so no internal is needed.
Bluetooth working with CM7?
Anyone flashed the CM7 image that was released recently to see if Bluetooth works with that ROM?
asb2164 said:
My HTC EVO Shift has a FM radio built in and it will not turn on unless the headphones are plugged in it uses the cord as a antenna so no internal is needed.
Click to expand...
Click to collapse
Blue tooth will only work with a edited Kernel
Sent from my Kindle Fire using xda premium
BT does not work yet in CM7 or even the latest build of CM9 for the kindle fire
whistlestop said:
Anyone flashed the CM7 image that was released recently to see if Bluetooth works with that ROM?
Click to expand...
Click to collapse
Sorry guys doesn't work yet. I will try to create a custom kernel tonight though.
That would be cool if we had access to bluetooth and FM transmitters
awidawad said:
Sorry guys doesn't work yet. I will try to create a custom kernel tonight though.
Click to expand...
Click to collapse
Do your best man. This is the only thing keeping me from an ics rom
sent from my rooted kindle fire
Possible Problem...
Sorry guys might not be tonight because the basic bluetooth driver I tried for the kf won't work. I may have to make even more modifications to the kernel, so this might take awhile. Another problem is the possibility of different hardware in different kindles. http://forum.xda-developers.com/showthread.php?t=1430473&page=3 As you can see the bt and fm is crossed out in this model.
Can't wait to hear of more progress on this.
awidawad said:
Sorry guys might not be tonight because the basic bluetooth driver I tried for the kf won't work. I may have to make even more modifications to the kernel, so this might take awhile. Another problem is the possibility of different hardware in different kindles. http://forum.xda-developers.com/showthread.php?t=1430473&page=3 As you can see the bt and fm is crossed out in this model.
Click to expand...
Click to collapse
That would not be good to have different hardware in some kindles, hope mine has the good stuff, lol
Sent from my Kindle Fire using xda premium

Can the Nexus 7 be recognized as a bluetooth phone device?

I have my Nexus 7 installed in my car and I'm trying to get it to auto connect to my head unit. I've tried different apps, Tasker, and different settings and I believe the issue is because its a "media only" bluetooth device. Is there a way to add the "Phone Profile" like I have on my GNex to the Nexus 7?
I believe tablet talk has an option. I'll check and post A screenie
Sent from my SPH-L710 using xda premium
Sent from my SPH-L710 using xda premium
Thanks for the tip...I'll give it a shot. Hopefully this gives me the Phone profile in the Bluetooth settings.
Doesn't look like Tablet Talk will give the Nexus 7 the Phone Profile in the default bluetooth settings. Any other ideas?
Not really sure I don't have a Bluetooth headset. I just seen that in the settings.
Sent from my SPH-L710 using xda premium
You could try adding these services in the terminal:
Code:
% sdptool add HS
Headset service registered
% sdptool add HF
Handsfree service registered
% sdptool add HFAG
Handsfree AG service registered
You can also try to change the device class to "Phone, Smart phone":
Code:
% hciconfig hci0 class 0x5a020c
None of these changes will be visible in the GUI, but they might convince your car kit that it wants to auto connect. If it works, you can run these commands with Tasker and the Secure Settings plugin.
elmicha said:
You could try adding these services in the terminal:
Code:
% sdptool add HS
Headset service registered
% sdptool add HF
Handsfree service registered
% sdptool add HFAG
Handsfree AG service registered
You can also try to change the device class to "Phone, Smart phone":
Code:
% hciconfig hci0 class 0x5a020c
None of these changes will be visible in the GUI, but they might convince your car kit that it wants to auto connect. If it works, you can run these commands with Tasker and the Secure Settings plugin.
Click to expand...
Click to collapse
I'm having the same issue like the OP. I have android 4.2.1 and I can't find sdptool in system/bin/
I'm looking to do something similar here, and I know this topic has come up before. I want the N7 to act as a bluetooth "headset" for my N4 for a car install. It definitely lacks a phone profile.
Mega props if anyone figures out how to do that well.
YES!
SQurel23 said:
I have my Nexus 7 installed in my car and I'm trying to get it to auto connect to my head unit. I've tried different apps, Tasker, and different settings and I believe the issue is because its a "media only" bluetooth device. Is there a way to add the "Phone Profile" like I have on my GNex to the Nexus 7?
Click to expand...
Click to collapse
Finally, others who know my pain! It is really frustrating because I am trying to have my Nexus 7 basically stand in for my head unit. Its pretty annoying if you have to set it up each and every time you get in and out of the car though. I'm on the verge of returning the JVC unless someone has made some headway.
Edit - tried sdptool from the command prompt and it did not work. Tried before and after rebooting. Working to find out more about hciconfig. This doesn't work right away from the command prompt. Time to thread crawl some more.
AW: Can the Nexus 7 be recognized as a bluetooth phone device?
sdptool and hciconfig are parts of the "old" Bluetooth stack Bluez. With Android 4.2 a new Bluetooth stack by Broadcom has been introduced, and I guess the old Bluez commands don't work anymore. And nobody confirmed that these commands were even helpful in this situation.
Count me among those who desparately want the N7 to auto connect to my car radio.
*Bump*

Categories

Resources