Bluetooth Tether + Linux - General Questions and Answers

I use a p500 lg and I asked for help to learn how to create a bluetooth connection here
But now the question becomes more about linux and it seemed right to change topic, although I have not found a more appropriate section of this.
My PC can communicate with the smartphone bluetooth but I can not pull up a internet connection.
I'm trying with the program Blueman, if you knowing another good method... but I'm not a pro user.
To make the nicest thing I manufactured an animated gif of latest operation of last unsuccessful operation: http:/ / oi42.tinypic.com/8wa6ok.jpg (I still can not put links)
Thanks

Related

Bluetooth DUN on CM 7.1.0

Hi all,
I spent a couple of days Googling around, trying to get Bluetooth DUN working on Cyanogenmod 7.1.0 on my Viewsonic GTablet.
After some hacking around with the source, I got it working. I can connect my GTablet to the internet through my Blackberry Torch on Rogers (in Ontario, Canada).
I've already posted my notes to the CM forums, but apparently since I'm a noob here I can't post the link to it, so here's my notes (direct copied from the CM forums):
Dial-up networking requires the chat binary, which is included in the standard Linux ppp package. For some reason, this binary was omitted from the Android ppp package, so I downloaded the Android 2.3.7 source, copied the chat source in to the Android ppp package and built it from scratch. The instructions for this were found at afewe DOT wordpress DOT com/android-arm-development/use-point-to-point-protocol-ppp-in-android/
Once the chat binary is installed in the proper location on the Android device (/system/bin/chat) it's just a matter of writing a pppd config and chatscript for your given provider. These configs can be found in the berry4all package at berry4all DOT com.
I copied the 'rogers' file from that package and put it in /etc/ppp/peers/rogers, then the rogers-chat file and put it in /etc/ppp/chatscripts/rogers-chat.
I modified the /etc/ppp/peers/rogers so that the last line, which calls the chat binary, reflected the proper locations of the binary and the chat script.
Finally, I removed the 'novj' option from the pppd config. Once the config was all up and ready to go, I went to the terminal and did:
$ su
# rfcomm bind /dev/rfcomm0 <BT MAC> <channel>
# pppd call rogers
And voila! A stable, bluetooth dial-up network connection through my phone.
I just wanted to throw out my notes first to make people aware that its possible and easy. If there's enough interest, I'll write a more detailed and specific step-by-step howto on getting it set up.
Hi,
I see that CM 7.1 includes "bluetooth tether" support now but it's not clear to me what this actually is. Does CM 7.1 include the DUN bluetooth profile? It sounds like you're using reverse tethering, i.e. you are using a Blackberry's data connection so you're using the DUN profile on the Blackberry and are using the CM device as a client?
I have a stock Desire S and am looking for DUN support so I can use the internet access in my car through the Desire's 3G connection. The car supports only DUN and PDANet doesn't work for some reason.
Thanks,
Tim
Looks like you're out of luck.... same story for my Benz with Comand Online Navcom system.
If you drive an MB like me, you'll have to wait for an update later this year (from MB that is)... or buy a BlackBerry.
Sent from my GT-P7500 using Tapatalk
Is it confirmed that mercedes benz are providing this update?
Sent from my GT-I9100 using Tapatalk
I very much doubt it (I'm also trying to get it working with Comand Online).
http://telematicsnews.info/2011/08/...connectivity-options-to-comand-online_ag2223/
Not great news.
tj80 said:
I very much doubt it (I'm also trying to get it working with Comand Online).
Click to expand...
Click to collapse
From the press release:
"An option for customers having phones without DUN support is the Mercedes-Benz “Bluetooth (SAP) telephone module - V4″, available early 2012. The new version (V4) offers UMTS capability, allowing fast data connection using customer SIM card or accessing SIM information from SAP (SIM Access Profile) enabled mobile phone."
and:
"... Furthermore Mercedes-Benz is in close talks with leading Android phone vendors to enable the DUN feature in their phones by default."
(I have Android 2.3 and Windows Phone 7.5 devices)
Yes, so we can pay £400 for a SAP module or buy a new phone if anyone actually launches an Android handset with DUN - remembering that Google appear to have zero interest so it will be manufacturer specific. Oh yes, I nearly forgot - Android doesn't have SAP profile support either!
I'd say the chances of Mercedes updating existing systems to work with phones which don't support DUN is virtually zero. Hardly ideal on a system which cost £2000...
Cheers,
Tim
I agree. It was a huge mistake of MB to go with this dead BT DUN protocol!
I thought Android phones do support SAP, isn't that why the car can dial a contact?
agupta80 said:
I thought Android phones do support SAP, isn't that why the car can dial a contact?
Click to expand...
Click to collapse
'fraid not, that uses PBAP (phone book access protocol).

[Q] Reverse tethering - Please help

Hi, simple problem here. I need to make an Android app that reads a file on PC (picture or movie) and displays it on the screen. WiFi is not an option so it MUST work via USB. It must work on MAC (LINUX acceptable, NOT WINDOWS). Looking around there are 3 ways to do this:
1) reverse tethering. If I manage to have all internet traffic on USB then I can access files on my machine via web server. Looks a bit over complicated though. I looked all over the net and couldn't find out how to do on my WiFi tablet (Galaxy tab7 plus Wifi, Android 3.2, no 3G). Some solutions require enabling the "USB tethering" option on the tables, which is not there for WiFi only. I couldn't get to work the method that "netcfg usb0 dhcp" either.
(Note: WIN users seem to be happy with this UsbPortForwarding.aspx but I need something that runs on Mac or Linux)
2) Direct USB access. Do we have a method to allow an Android app to read a file on the computer? As far as I what I read, the answer is no.
3) USB to ethernet adapters. That would be great but again I still have to find an adapter that will work with Honeycomb
Any hints? pls help, looks like such a simple thing to do but it's really hard without WiFi!
cheers!
http://www.xda-developers.com/android/reverse-tethering-keeping-your-android-device-online/
There's the reverse tethering article from the portal last month. Not sure if that's exactly what you need because I've never used the app. Give it a go. Hopefully it works.
thanks, I've seen that, it's the WIN-Only solutions which I mentioned. Seems to work very well but unfortunately I need a unix based machine.
Quite shocking that there is only a Win version, looks like a problem that would be very easy to solve in unix (IF one knew what to do..
Any unix-gurus opinions on this?
.
Thread moved to Q&A due to it being a question. Would advise you to read forum rules and post in correct section.
Failure to comply with forum rules will result in an infraction and/or ban depending on severity of rule break.

[developer needed] Android device as bluetooth headset for phone

Well here is what’s needed by me and by general demand that I noticed:
We need an application that will enable an android device (a tablet for instance) to act as a Bluetooth headset and dialer for another phone
I have searched through the forums but with no luck, all that I found where similar questions but unanswered!
http://forum.xda-developers.com/showthread.php?t=844605
http://forum.xda-developers.com/showthread.php?t=720397
http://forum.xda-developers.com/showthread.php?t=905938
http://forum.xda-developers.com/showthread.php?t=868062
So to sum it up I think we need a developer that can help us out also am willing to pay for it or buy it of the market if that’s what it takes
Cheers & thanks in advance
(PS: if this is not the proper place for something like this, please excuse the noob and redirect me to the proper thread)
Please guys. I'am looking to and is also willing to pay for it.
I'm also willing to pay for the application. Please someone help us?
bump!!
bump!!
come on guys... any thing?!?
bump
this should be a default feature for android...
I have been asking for the same thing, Moscow Desire is looking into it with LeeDroid to try and implement something by porting it from a phone I think...I'm waiting on pins and needles.
The thread on it is here, the last couple pages:
http://forum.xda-developers.com/showthread.php?p=23447188&posted=1#post23447188http://forum.xda-developers.com/showthread.php?p=23447188&posted=1#post23447188
It's not what we're looking for.
In the thread they are trying to get bluetooth headsets to work on a tablet.
We are looking for an app that can get a tablet to connect to a phone and make calls.
For example, I have my tablet built into my car and connectet to my car radio via cable. It would be nice if it could make and receive calls.
Bluetooth dialer
simonmbjornes said:
It's not what we're looking for.
In the thread they are trying to get bluetooth headsets to work on a tablet.
We are looking for an app that can get a tablet to connect to a phone and make calls.
For example, I have my tablet built into my car and connectet to my car radio via cable. It would be nice if it could make and receive calls.
Click to expand...
Click to collapse
Hi! I have been searching for the same solution from months but the onle thing i have found is,
"dealextreme.com/p/minipad-a9-1-lcd-bluetooth-dialer-headset-white-94840"
so untill any developer work on true bluetooth applitacation which can fulfill our needs this is the only thing we can use.
I started a thread on this then discovered that it's been asked plenty of times before. After doing research I have discovered the following things:
1) It is possible to replace the Bluetooth stack on Android
2) We would have to make Android play the role of the hands free and not an audio gateway
3) This has been implemented - http://www.parrot.com/usa/products/bluetooth-hands-free-car-kits/parrot-asteroid
4) The stack on Android is BlueZ
5) The devs at Cyanogen mod have been working with the Android Bluetooth stack
From what I can see, we would have to modify the Hands-Free Profile in the Bluez stack to play the hands-free role. If we could somehow load in another profile or edit the existing one, that might do the trick. I'm not too familiar with Bluetooth, but I will be going over code tonight to see if I can come up with an idea.
touchpad webos has this capibility
I have a hp touchpad with cynogenmod 9 that dual boots to webos. In webos, i can link via bluetooth to my blackberry phone. I can call and receive via a dialer app in webos. I have not been able to figure out how to do this on the android boot. I can pair the device but haven't figured out how to do in android. Hoping since wedos went open there might be an app for android to mirror the webos capibility.
I've posted support for this development in a number of forums and in other threads here at XDA. This would be a huge deal for the 'android-as-car-stereo' idea. There are a number of suppliers that make USB-->DAC-->RCA(composite) converters, and that takes the shoddy internal DAC out of the equation for most tablets. All that is left is the need for bluetooth call transfers to the tablet.
hopefull news
people check this out:
https://play.google.com/store/apps/details?id=com.funkyandroid.phonelink
its to connect between tablet and android phone hopefully this might lead somewhere!!
I have a Bluetooth transmitter (B-Speech RTX1) attached to my AV-receiver and want to use my phone with headphones as a speaker system. There has to be an app that plays the stream once we can connect a transmitter via HFP profile with the phone I guess...
I don't know if my wish is related to this thread, but there is a thread explaining how to enable HFP in Android by editing the "audio.conf".
I get the new options but am not able to connect the transmitter to my phone. I guess I will have to buy BT-headphones...
I too am looking for this service to be done (using my tablet in my dash of my car connected to my amp's/speakers). Another post for this can be seen here: http://forum.xda-developers.com/showthread.php?t=844605
I just tried the method posted in the link above by hudl.. but it didn't work. My tablet still pairs with my phone like before, no way to connect them, nor the "use for phone audio" option from my phone to the tablet. :-( Still no solution as of yet.
I think this might work for ya
I haven't tried it yet, but am downloading it now. After much searching I think this is what we've been looking for.
jimbill88 said:
I haven't tried it yet, but am downloading it now. After much searching I think this is what we've been looking for.
Click to expand...
Click to collapse
???
I'd love to see this and would happily pay towards development of this. Parrot Asteroid seems to handle incoming HFP, HSP and A2DP profiles very well. I too have modified the audio.conf file and can also see the additional options.. My phone just doesn't know what to do with it!
Is there anyone who can point this thread in the right direction? It's the only piece of the puzzle left for android carpc tablet goodness.
Thanks,
MrNorm
Just reviving interest in this thread again as tablets in cars are becoming more and more common.
Checking if any developer is still willing to help out, I am sure there are plenty of willing users waiting with their wallets ready
Cheers
Mario
Parrot did it for sure. It would be an awesome feature. I wish things just worked like that by default... someone needs to re-invent a BT-like connection where everything on a device is exposed... a phone should be a BT keyboard/mouse/airmouse/headset/speaker/monitor/camera/drive/sdreader/modem/gps/serial-console/etc as well as being on the opposite end of each of those things. And without needing a separate app for each of those things that is even possible/created.
http://www.gottabemobile.com/2012/04/18/using-the-galaxy-player-3-6-as-a-bluetooth-handset/
If we could use Samsungs work in this player we could easily implement it.

Adding Multiple Wi-Fi Networks to Android Device

Hello all! First off, this is my first day as a new member on this forum, which I should've done long ago honestly! This forum has helped me a lot and given me insight on many problems I've faced as I delve further into Android development. With any luck, one day I can return the favor to other inspiring developers as well!
Introductions aside, I am helping develop an app for the company I work for which requires a connection to many different devices which all broadcast a hidden Wi-Fi network. The way I see it, the easiest solution is to add the networks manually through the Wi-Fi settings on Android devices, however it is long and tedious and lends to human error (I have to manually copy over SSIDs and long PSK strings). I have also come to understand that each Android device has a "wpa_supplicant.conf" file, containing all the saved networks for that device.
I am working with an array of different phones, all running some version of Android, and I need a way to add networks en masse instead of one-by-one. Is there any way that I can:
1.) set-up a "wpa_supplicant.conf" file with all the preexisting networks and PSKs,
2.) gain temporary root access to edit the ".conf" file already present (or even bypass the need for root access), and then
3.) replace each ".conf" file for that device with the updated version.
This is all assuming that the process is relatively the same per each device, which I have also come to understand is not always the case. If this cannot be done, any insight into an alternative solution would also be much appreciated! Once again, I am just trying to avoid mulling through manual setup and inevitably entering something in wrong (I've got to be somewhat dyslexic). Kudos!
- Tristan Wright

Reading "register" information from my ZTE MF90+

Hi Folks, i read quite a bit in the XDA-dev forums in the last few years, but now it's time to change the status "from passive to active". :silly:
- I have a "ZTE MF90+" (a nifty little mobile 4G WiFi hotspot with battery). The Chipset should be based on a Qualcomm MDM9215.
- I bought it about 3 years ago and it is SIM-Locked (aka Provider-Locked iirc).
- I fiddled around a bit with it and am able to ADB into it (from my Ubuntu 18.04 machine and from my Raspberry Pi, too - e.g. to activate RNDIS/CDC mode for USB tethering)
- I have an unlock code, that should work "to tear down this SIM-Lock wall" without any hassle.
So far, so good ... but my interests are still not satisfied; i want to know what's up with the internals of this modem, when i enter the unlock code. I simply want to observe and understand what's going on under the hood.
To quote Ylvis from their song Stonehenge: "And i know i should be happy, but instead, there's question, i can't get out of my head!"
Maybe a year ago i did some internet research, where i found several clues that the "SIM-Lock" information might be stored inside some Section of a NV storage https://forum.xda-developers.com/showthread.php?t=1954029.
On some other russian hacker forum (that i can't find right now, unfortunately) according to google translate one of them seemed to be able to change one NV entry there to get rid of the Sim-Lock. The tabs are still open on my other Ubuntu 14.04 Laptop 250km away from here, so it might take some time to provide the "russian hacker forum link" here for further reference. I haven't tried it out back then as i heavily relied on this mobile hotspot back then and could neither afford to brick it nor had the time to fiddle around further.
What i remember was also this thread: https://forum.xda-developers.com/showthread.php?t=1804117, but this thread is from 2012 and e.g. the download link for the NV-items_reader_writer.rar don't work anymore, so i haven't tried it yet to get this program running.
So now i need your help:
-> What tools can i use (on my Ubuntu Linux machine, if necessary via WINE) to read out a "full image" of the (Android) system to flash back later (if necessary) and what tool can i use to read (and modify if necessary one day) the NV items to compare them "before and after" i unlocked it?
Any hints where to start and in which direction i could head from there? :cyclops:
Please help me to grow and rise :highfive:

Categories

Resources