Bluetooth DUN on CM 7.1.0 - Android Software/Hacking General [Developers Only]

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).

Related

File Transfer via Bluetooth.

Hey people, does someone cares about it??
IMO, this is one of the most essential and usefull bluetooth function and almost all "regular" phones have it and we do not! Send\receive friend's song, doc, pic isn't available for Android???
Sh*t, I say.
Oh! one more thing - it's one of the most essential iPhones isssues.
But they'we solved this, kinde, so forced iPhone to sent\receive files ONLY with other iPhone via WiFi program. Not very convinient??
So:
1) We have Bluetooth.
2) We need OBEX driver (as I've understood) at least.
3) OBEX + Program that will allow users who don't know\want to patch something and have the Bluetooth File Transfer Function.
4) According to Google Roadmap NO such thing as Bluetooth File Transfer is planned.
So is it hard to do\ real??
Test:
Found a thing called
Bluetooth File Transfer OBEX FTP J2ME
+
Bluetooth File OBEX FTP v1.30
Bluetooth File OBEX FTP v1.30 (Mirror)
Both are Java programs that could od something, 1.30 claims FULL touchscreen support, though cannot say the same for the first link. All them can be tested through the Java Runner from Market. So, any volunteers??)
Linux fully support File Transfer over Bluetooth using OBEX over Bluetooth Technology
The thing is there is no BT API in the current SDK (I hope it will include OBEX). According to Google, BT API is the second most important thing for them (the first one is A2DP & AVRCP). After Cupcake, the BT API becomes the number one so I hope it won't take too long...
How about using DISCOVER application from Market till the time BT API comes

Android Bluetooth Stack Development

Hey I know I'm more of a leech than a seed but I want to start an open discussion / brainstorm about the limited bluetooth capabilities within Android. Specifically on the HTC Dream (G1).
I don't have a strong grasp on Linux but I've been playing with different flavors since i was 13 (11 years). I don't have the knowledge or the support to even attempt this.
HOWEVER I do have a job and I do have the money (donation) to support anyone with the ability and the time.
That being said I would like to talk to anybody who would be Seriously interested in developing additional profiles for the bluetooth stack.
Anyone who has wanted to FTP over bluetooth or for me send my phonebook to my Lexus GS350 I would appreciate donations towards a common goal.
The $ would go to the developer or team. Of course after that it would have to be open source and free to the community.
I have not created a paypal or account for pooling donations but whoever is seriously interested contact me. I've got $300 (donation) to get you started (motivated)
Au Revoir,
-Koocat
how do i make it bold lol
koocat said:
Hey I know I'm more of a leech than a seed but I want to start an open discussion / brainstorm about the limited bluetooth capabilities within Android. Specifically on the HTC Dream (G1).
I don't have a strong grasp on Linux but I've been playing with different flavors since i was 13 (11 years). I don't have the knowledge or the support to even attempt this.
HOWEVER I do have a job and I do have the money (donation) to support anyone with the ability and the time.
That being said I would like to talk to anybody who would be Seriously interested in developing additional profiles for the bluetooth stack.
Anyone who has wanted to FTP over bluetooth or for me send my phonebook to my Lexus GS350 I would appreciate donations towards a common goal.
The $ would go to the developer or team. Of course after that it would have to be open source and free to the community.
I have not created a paypal or account for pooling donations but whoever is seriously interested contact me. I've got $300 (donation) to get you started (motivated)
Au Revoir,
-Koocat
Click to expand...
Click to collapse
i'm all about development and hard work, but with the release of blutooth 3.0, wouldn't it be better just to save the $ and put it towards the next android device that is compatible with bt3.0( which utilizes wifi for bt transfer...not to mention the improved battery life). what are your thoughts?
its not about the money. I'm using dudes cupcake rom whatever latest rom .92 and as far as i know there is no way to send my phone book to my Lexus when it prompts me to create a phonebook and because of this I can't use voice dial and nazi lexus basicly won't allow you to input anything while the car is in motion. the specs released on 1.5 only included stereo bluetooth theres still no push allowed or PBA
jaaronmoody said:
i'm all about development and hard work, but with the release of blutooth 3.0, wouldn't it be better just to save the $ and put it towards the next android device that is compatible with bt3.0( which utilizes wifi for bt transfer...not to mention the improved battery life). what are your thoughts?
Click to expand...
Click to collapse
would my car even work if bt is trans over wifi spectrum?
koocat said:
would my car even work if bt is trans over wifi spectrum?
Click to expand...
Click to collapse
no, and sorry for the confusion. My point was that this android incarnation is lacking in bluetooth capabilities, and there has just been a new bluetooth technology released, not only having the wifi capability, but also all current profiles. I am sure that android will support this in the future with hardware in a new device, but for now, they are probably content with what they have, since it is an evolving technology.
jaaronmoody said:
i'm all about development and hard work, but with the release of blutooth 3.0, wouldn't it be better just to save the $ and put it towards the next android device that is compatible with bt3.0( which utilizes wifi for bt transfer...not to mention the improved battery life). what are your thoughts?
Click to expand...
Click to collapse
Umm, Bluetooth 3.0 standard was just released. We're not going to be seeing any Bluetooth 3.0 devices for another few years, one at the minimum. Not to mention that the OP's Lexus would still require a transfer via Bluetooth 2.0 technology.
I would be content if an open phone with an open platform supported bluetooth features I could actually use.
I manually added one contact into the lexus and manually set the voice rec. and then attempted to call using 'dial by name' and it will only work if the dream is unlocked and awake.
BT 3.0 will be great. but I'd have to get a new phone and depending on the backward capabilities a new car too.
but that brings the question "how long do i have to wait for bt 3.0"
"how long do i have to wait for cupcake"
I was hoping with 1.5 they would expand on the BT stack and they did but not for anything I can use. whats funny is 2 years ago when I had Verizon and a Voyager I thought I was cool to have stereo bluetooth headphones to rock out too. and they want to market stereo bt as being a great new feature but its not new
koocat said:
I would be content if an open phone with an open platform supported bluetooth features I could actually use.
I manually added one contact into the lexus and manually set the voice rec. and then attempted to call using 'dial by name' and it will only work if the dream is unlocked and awake.
BT 3.0 will be great. but I'd have to get a new phone and depending on the backward capabilities a new car too.
but that brings the question "how long do i have to wait for bt 3.0"
"how long do i have to wait for cupcake"
I was hoping with 1.5 they would expand on the BT stack and they did but not for anything I can use. whats funny is 2 years ago when I had Verizon and a Voyager I thought I was cool to have stereo bluetooth headphones to rock out too. and they want to market stereo bt as being a great new feature but its not new
Click to expand...
Click to collapse
This is an appropriate place to post issues with supported bt profiles already supported, but there is no guarantee that it will be addressed. i'm not speaking for anybody here, but me... butif it were my build, i probably wouldn't modify it for one make of car. There are other vehicles where this is working...am i right? i think so.
so far i think only broadcom has achieved and are planning to produce the new standard, but how long will it be till we see it??? my guess is 6mo- 1yr. Yes, stereo bluetooth is not a new thing, but i'm sure you can grasp the technology curve. "they" are only gonna release what they have to, in the time that will make sense to them, not the consumers. This
is a business, and will be treated as such. For how many years have we been scratching at the heels of EVERY advancement, just to PURCHASE it as soon as it comes around. edit...but to go along with you i was looking forward to file transfer myself, and it didn't happen.
what can i do on my car to verify the bluetooth version installed?, or bluetooth capabilities if you know what i mean
its a mazda 3 2010 sport
Thank you.
Your exactly right and thats what makes Android such a beautiful thing. Because we are longer governed by whatever corporate timeline 'they' decide. the timeline is to maximize profit. cupcake is marketed as a feature update to show dedication to their product and to their customer base but its not a dedication because they were forced to evolve it to make it compatiable with additonal hardware and minimize the media attention towards custom devleopment and end user modification. Google doesnt want to piss off Apple or HTC or T-mobile or Vodaphone ect because thats business.
Google doesnt care if you transfer over bt they dont care if you mod your phone. but when Apple says no mulitouch and vodaphone says No Bluetooth profiles they don't have much of a choice if they want Android to succeed.
and Thats why they made it open.
same with rooting your phone google had to fix it beacuse if they make it look easy they run into problems. T-mob or voda don't want you to teather your phone and use it as a modem and root allows this. so you must disable and discourage root and tell people its a security risk.
fcuk T-mobile and their G1 bs marketing. My phone is a Dream.
---btw the new radio gives me 3G in my house now wootwoot so i can actually talk on the phone with t-mobiles shi*ty service--- I only left Verizon because phones suck Donkey...Anyways..
its not just one car. go http://en.wikipedia.org/wiki/Bluetooth to see all supported profiles
there are profiles that all cars support. most likely PBA "phone book access"
I know when the Prius 1st came out I was like 16 or 17 lol and none of VZW phones could send phone book data to the Prius only because VZW policy with phone makers demanded they crimple BT profiles even on smart phones. so you couldn't FTP a mp3 and set it as ur ringtone you had to buy the ringtone for 2.99 or what i did back them I used Bitpim but you get the idea.
-Koocat
alfmetal said:
what can i do on my car to verify the bluetooth version installed?, or bluetooth capabilities if you know what i mean
its a mazda 3 2010 sport
Thank you.
Click to expand...
Click to collapse
I would google some keywords and try and find a user forum for Mazda cars.
I know theres clublexus.com where I have learned a lot about my car.
for some Lexus (i know for sure the GS and LS models) you turn the car on, then hold down the INFO button while turning the Lights from OFF to ON four times. and the car enters a Service Diagnostic mode and you can view different settings and run diagnostics, clear error codes and rescan. I know theres a spot to view the bluetooth version and software version. You can adjust the Mic volume, send and recieve volume and adjust voice quality.
You really don't need to adjust your car (thats not what this post is about).
Depending on your car you can get updates from the dealer and you can find software mods online for some cars.
example; lexus had a override in the system menu to allow user input while the car was in motion. IN 07' that option was removed on all models so for my 07 Lexus i found a post from someone that had taken the Nav disc for the same model in 06 and he modded and issued a ISO for users burn to get that override feature back.
-Koocat
Bah! @ Bluetooth 3.0. Totally overhyped standard. Could be completely done with adhoc wifi and would be easier and more than 2x as fast.
[email protected]:
Yeah, it is... It's just a wifi coop mode, which requires both parties to have a wifi-radio free to use...
It's not really an optimization of bluetooth :/
Everyone else in here:
Well, i'm not sure you're gonna catch many devs in here (There doesn't seem to be any
[email protected] said:
Bah! @ Bluetooth 3.0. Totally overhyped standard. Could be completely done with adhoc wifi and would be easier and more than 2x as fast.
Click to expand...
Click to collapse
Power management is much better in Bluetooth. Combining the two gives the best of both worlds. BT 3.0 will be able to connect, go into low power states and only turn on WiFi if a higher speed transfer is required.
BT 3.0 is more than just BT+WiFi anyway. The ability to have an Alternate Mac-Phy (AMP) like WiFi is one feature. There are other new features as well (like better quality of service). Also, an AMP could be a Ultra Wide Band (UWB) radio, with speeds much higher than WiFi with lower power consumption. The potential for 3.0 is really interesting.
But as others have stated in the thread, it will be a while before there are any implementations. We are just starting to see 2.1 devices in the market.
paesano
I know this is only my 2nd post, but I too am looking for better BT Stack. Dont get me wrong I love that I got back my stereo BT on my Pioneer Avic-D3 but unlike my Nokia N95 and my Tilt which lets me transfer my contacts to my Headunit.
Also another thing I miss is sending contact info from one phone to another!
Waiting for the time I can ditch my ipod and be apple-free LOL
I think a total update of the bluetooth would be cool. I think the 3.0 is a bit away but besides just a specific car profile i think it should be and all around compatible bluetooth. with all the devices and allow file transfer as well something that non g1 phones can already do. I think that alone will make it feel much better until until the newer technology is intergrated. That would probably lean me more to donating
I have two old Motorola RAZR's and they transfer data over BT, it is really surprising that the Dream falls short in this area.
I just miss the very basic file transfer (obex) to move images, mp3, contacts, etc. from device to device. I know I can set up an ftp or webserver to allow phone to phone access, but quite frankly we shouldn't have to use a work around for such a standard phone option. ALso, I like to bluetooth pictures from my phone right to the Kodak picture printer in Walmart and other stores. There is no way to install an FTP server or client on that machine (without some hacking).
I would donate if we had some devs on here taking up the task.
Rick
JackD3ath said:
I have two old Motorola RAZR's and they transfer data over BT, it is really surprising that the Dream falls short in this area.
Click to expand...
Click to collapse
Personally, I'm not surprised that the Dream falls short in Bluetooth support. My experience with Bluetooth in Linux has been very unsatisfying. I don't know if that stems from the Blue Z stack, or if no one cares enough to do things properly. The last couple of times I upgraded Ubuntu or Kubuntu, Bluetooth was totally broken, and I had to figure out my own workarounds to get some of the functionality I needed.
What I would currently like to see is DUN support, so that my Tom Tom can access the internet. Very few BT phones don't have DUN, especially on T-Mobile. Makes me wonder why T-Mobile wanted to get the Tethering apps out of the marketplace. You can tether with almost every Bluetooth phone they sell!
paesano

GNSS Internet Radio and Built in GPS

Hello,
I am new to the forum and also the owner of an HTC Fuze. I have been playing around recently with the GPS on the phone and got me thinking. I live in NY and we have a CORS network of gps base stations that are fed by the use of ntrip.
I was wondering if their was any way to use the gps signal on my phone and the connection to this CORS network to give me sub inch accuracy on my phone...then not sure what I would do with it then. But I do live on a farm and I would like to see some type of precision agricultural use.
I guess I need a way to have the GPS on the phone talk with the GNSS internet radio and then give me spot on guidance and such.
Please let me know your thoughts or if I need to explain better.
Thanks,
Clayton
bump
bump. Any ideas? Anyone
Great idea cwrisrey !
That will save the cost of a geodetic device, which is many times the cost of a Fuze. Further, it will lead the accuracy of the buildin GPS into millimum class.
Not dig into this further, would you go further to tell these:
Is that CORS data encrypted?
Is that accessible through public internet or VPN?
Is there copy right or intellectuall property right issue involved? (I don't think so, but better make it clear first)
Once again, great idea. Please do remember to update this thread once you got any progress. Thanks.
More info
Hello wg5566,
This site would probably answer alot of your questions clearer than I could:
http://www6.nysdot.gov/spiderweb/frmIndex.aspx
* Is that CORS data encrypted?
-I don't believe so, I think that it is just a form of compression, to distribute across the internet.
* Is that accessible through public internet or VPN?
Yes, the NYS CORS anyway. It accessible from the public internet (although they require you to register with them) But I believe there are other free streams. I also believe it was modeled after being able to be sent threw GPRS.
* Is there copy right or intellectuall property right issue involved? (I don't think so, but better make it clear first)
-I believe the ntrip is based on a GNU, I think the source code is available. http://igs.bkg.bund.de/index_ntrip_down.htm
Windows CE version:
http://www.ilmb.gov.bc.ca/crgb/gsr/downloads/installGNSS.CAB
Please, let me know your thoughts...
Thanks,
Clayton
My fast thoughts:
First make sure there is no satisfied freeware currently available for WM.
If so please ask a moderator to move this to the development & hackings section. And Add tyis sentence on the title: Call for developers for revolutionary GPS app!
I'm sure somebody here can develop this. You know the geodetic device was invented many years ago with very weak profiles comparing to current WM devices. The hardware on our phone should be capable to deal with these calculations, and the WM Pro platform should be capable to support such an app. Anyway it should not be a biggy for many masters here. But it is a biggy for gps users with high accuracy demand for any reason.
Edit: Did you try install that wince cab on your phone? I think some of WINCE apps can just run on WM. Please backup your data first.
Edit2: I tried to install it on my device, at first it did not show up in start menu, then I found the cab just put files and shortcut in the folder names in French. But there is no registry involved in the cab. Only three files. And then program UI itself is in English. Just run the executable from the folder will go right out of the box. So please try it. I did not try to connect & loggin yet, due to not registered account.
Edit3: Looks like the cab is only access the data from internet, convert the data format and export the data, but we still need a geodetic/gps software to process/use the data.
Disclaimer: I attatched these three files for the only purppose of exchanging software developement infomation. Anybody if download it please do not use it for any purppose other than this. Thanx.
Some thoughts on the subject
Hi All,
The idea of using NTRIP to make a Windows Mobile GPS device sub-meter accurate crossed my mind. After some research I found this thread.
Unfortunately, I haven't been able to find any software capable of doing this. My idea is that it should be possible to accomplish this goal, using a combination of existing tools (which would be really cool!).
As wg5566 notes, there is a (WM) tool called GNSS Internet Radio, which is capable of downloading NTRIP corrections. It turns out this software works, but does have some flaws. Someone wrote another open source tool which is better (?), but unfortunately it isn't built for Windows Mobile (see: http://lefebure.com/software/).
More searching revealed a (dead?) project on codeplex: SharpGPS. It's an unfinished demo. It does however seem to be designed to do exactly what we're suggesting in this thread.
My idea: Completing the WM version of SharpGPS with parts of GNSS Internet radio / lefebure NTRIP client should result in a tool that's capable of upgrading a WM devices' gps signal to sub-meter accuracy through RTK/DGPS corrections over NTRIP.
Any ideas / suggestions about this?
It's already been done for the commercial market
Land surveyors, construction companies, and farmers use RTK GPS and RTK GNSS correction services on a regular basis. Some are free and some are paid subscription. They can be either NTRIP protocol with casters or individual TCP or UDP connections. Examples of software available are Carlson SurvCE and MicroSurvey. Read Carlson's support site for how they deal with the data flow using such networks on SurvCE (Windows Mobile and CE).
I have worked in land surveying using such equipment, and it generally requires dual frequency receivers, RTK corrections, and high quality antennas to achieve 1-2cm 95% CI horizontal precision. The current GPS chips in cell phones are only single frequency and so the best you could expect under ideal conditions is 2'-3' precision using some form of differential correction like WAAS or beacon or DGPS via NTRIP. Under average conditions, the precision will likely be in the 10-20' range. The dual frequency receivers take care of the large errors caused by radio waves traveling through the ionosphere.
Due to the limitations of batteries, antennas, and space for more chips in cellphones, the future of location accuracy will likely include some combination of GPS/GLONASS and cellular radio signal frequency timing calculations from cell towers. True Position, with its U-TDOA technology, is one example of measuring the time differences of cell phone radio waves using cell towers with known coordinates. Rumors (from surveying journals) have it that there are current patents in place that can allow for sub foot precision using such methods when sufficient cell towers are present for multilateration.
Has anyone found success on this topic? WM or Android...
Would be very interested, since there is a free NTRIP feed available in Switzerland... anyone?
*bump* it up
Been there still trying. Problem is no carrier phase off internal gps.
Grimli said:
Hi All,
The idea of using NTRIP to make a Windows Mobile GPS device sub-meter accurate crossed my mind. After some research I found this thread.
As wg5566 notes, there is a (WM) tool called GNSS Internet Radio, which is capable of downloading NTRIP corrections. It turns out this software works, but does have some flaws. Someone wrote another open source tool which is better (?), but unfortunately it isn't built for Windows Mobile (see: /lefebure.com/software/).
Click to expand...
Click to collapse
Lance lefebure is a really cool guy I'm sure he wouldn't have any problem building a wm version but it is going to takea lot more than that to get rtk to a cell phone.
Very good ,thanks.
Ed hardy bikini said:
Very good ,thanks.
Click to expand...
Click to collapse
If you are confused just ask questions and I will do my best to answer them. I am in the ag industry and deal with RTK networks and different ways of connecting them and tons of different gps units on a daily basis.
Look at this:
http://stakemill.wordpress.com/2010/07/19/ashtech-mobile-mapper-100-supports-esri-arcpad-10-0/
and this:
http://www.ashtech.com/-2359.kjsp?RH=1272644205746&RF=1270806507068
Is that still a phone !?
wg5566 said:
Look at this:
Is that still a phone !?
Click to expand...
Click to collapse
Nope PDA with support for external GPS with a builtin reciever that even sees glonass satellites (russian constelation). That was made specifically to do RTK mapping. It does have a GSM radio for data to connect to the cors.
Phone positioning using CORS
To perform a CORS (Network Reference correction we need a GGA stream from the GPS in your device. This allows us to remove the anomalies and provde the correction stream. As phones use a sirf II chip or similar they do not have input capability to output the NMEA stream to achieve this.
This one works great! it will connect to an Rtk receiver and get the nmea string from it or will use the internal GPS to be able to register on the CORS network. It will then stream the corrections over Bluetooth to a receiver or even a repeater radio. It won't however correct the internal GPS. http://antrip.dyndns.biz/Home/DownloadTrial

Complete WiFi UI - Solved

I am starting this thread because i found that after all this long time of waiting an improvement from Android guys from Google regarding a complete UI for connecting to the miscellaneous WiFi configurations nothing comes out.
I consider my thread android development related, but if the mods want to move it please do it.
I am not a developer but I'm a user which wants all the cake not just a bite.
I am referring to special type of WiFi connections which wpa_supplicant is capable like:
"
EAP-TLS
EAP-PEAP/MSCHAPv2 (both PEAPv0 and PEAPv1)
EAP-PEAP/TLS (both PEAPv0 and PEAPv1)
EAP-PEAP/GTC (both PEAPv0 and PEAPv1)
EAP-PEAP/OTP (both PEAPv0 and PEAPv1)
EAP-PEAP/MD5-Challenge (both PEAPv0 and PEAPv1)
EAP-TTLS/EAP-MD5-Challenge
EAP-TTLS/EAP-GTC
EAP-TTLS/EAP-OTP
EAP-TTLS/EAP-MSCHAPv2
EAP-TTLS/EAP-TLS
EAP-TTLS/MSCHAPv2
EAP-TTLS/MSCHAP
EAP-TTLS/PAP
EAP-TTLS/CHAP
EAP-SIM
EAP-AKA
EAP-AKA'
EAP-PSK
EAP-FAST
EAP-PAX
EAP-SAKE
EAP-IKEv2
EAP-GPSK
LEAP (note: requires special support from the driver)"
This is copied from here http://hostap.epitest.fi/wpa_supplicant/
Seems that we have the gun and the bullets but we don't have the trigger.
This idea come to me when i was struggling connecting to my work WiFi and never succeeded, phones like Symbian or Windows based laughed into my phone's face (and i think that is not correct, considering it frustrating).
My proposal to all the devs from XDA is to build a new app and wpa_supplicant with all drivers and stuff which will be able to help us connecting very easy to all kind of WiFi methods.
PS: My work network configuration for windows is like this:
SSID, CKIP LEAP, username, domain, password.
Hidden WiFi: http://code.google.com/p/android/issues/detail?id=1041
LEAP WiFi: http://code.google.com/p/android/issues/detail?id=1871 ; http://code.google.com/p/android/issues/detail?id=1386
Ad-Hoc WiFi: http://code.google.com/p/android/issues/detail?id=82
Devices that are capable to connect on my work WiFi network:
Symbian V3 (Nokia N8)
Windows Mobile 6.5 (HTC Diamond)
Devices that are not capable to connect on my work WiFi network:
Android (HTC Desire HD and Samsung Galaxy S I)
iOS 4 (iPhone 3Gs)
iOS 5 (iPod)
Blackbery (Curve 8900)
============================================================
Update: 29/11/2011
After a 2-3 weeks of Google-ing I think that i found the gap with LEAP:
How you can see above LEAP - requires special support from the driver and i found a Linux driver which says like this:
2086 // CCX 1 spec v1.13, A01.1 CKIP Negotiation (page23):
2087 // "A Cisco access point advertises support for CKIP in beacon and probe response packets,
2088 // by adding an Aironet element and setting one or both of the CKIP negotiation bits."
2089 if( (info_element->data[IE_CISCO_FLAG_POSITION]&SUPPORT_CKIP_MIC) ||
2090 (info_element->data[IE_CISCO_FLAG_POSITION]&SUPPORT_CKIP_PK) )
Source:http://lxr.free-electrons.com/source/drivers/staging/rtl8192e/ieee80211/ieee80211_rx.c
My work WiFi require CKIP Encryption so this is root cause for me to not be able to connect to LEAP.
Currently broadcom support: 802.1x; WEP, WEP2, WPA, WPA2 (Personal) TKIP and AES hardware acceleration 802.11i. When "broadcom" will release compatible drivers, we will be able to connect. Until then, all users that are in my situation will better get an alternative.
http://pdf.eccn.com/pdfs/Datasheets/Broadcom/BCM4329.pdf
http://os1a.cs.columbia.edu/lxr/source/drivers/net/wireless/bcm4329/wl_iw.c
So next remaining thing will be a "Complete UI" release for android which offers all type of connections.
================================================================================================
Update: 07/12/2011
In my craziness to find a solution to my problem regarding connection to work corporate WiFi, I found the missing link (in my opinion) between android and Linux capability to access CKIP encrypted networks: http://o2droid.phj.hu/trac/browser/kern_oII/drivers/staging/rt2860/sta/assoc.c . It is about a special characteristic that allow connections to Aironet access points with CCX (CISCO Compatible Extensions).
================================================================================================
Update: 14/03/2012
I need a port from Dell Streak to HTC DHD
I searched Google again and i found this:
http://forum.xda-developers.com/show...62&postcount=1 here is a file listed "system/etc/wlan/sdio-g-cdc-reclaim-idsup-wme-pktfilter-keepalive-aoe-toe-ccx-wapi.bin" and with a F3 in Total Commander contain this:
"NONE WEP1 TKIP WEP128 AES_CCM AES_OCB_MSDU AES_OCB_MPDU CKIP CKIP_MMH WEP_MMH" and
"ccx_auth_mode"
The file is in the Streaksmi.zip which is miui for dell streak that has bcm4325 chipset.
================================================================================================
Update: 10/07/2013
Working Solution Update: 10/07/2013
Flash [ROM][UNOFFICIAL] CyanogenMod 10.1 Nightlies / M-Series [RC5] and say many thanks to Mustaavalkosta !!! - Tested working build: cm-10.1-20130709-UNOFFICIAL-ace.zip
I too have issues with wifi sometimes, but I found using miui and connecting, inputting the password and then using the individual settings to input a manual IP and all that seems to work.
Sorry if I've misunderstood
Sent from my HTC Desire HD using Tapatalk
Difference between OS's
Joey93 said:
I too have issues with wifi sometimes, but I found using miui and connecting, inputting the password and then using the individual settings to input a manual IP and all that seems to work.
Sorry if I've misunderstood
Sent from my HTC Desire HD using Tapatalk
Click to expand...
Click to collapse
So what is different between MIUI and a usual Android system?
No idea apart from that it keeps the individual settings separately so you don't have to input manually every time you need to change, but it seems to be the only thing that works for all the networks I use.
Sent from my HTC Desire HD using Tapatalk
Compatibility with Ad-Hoc
Joey93 said:
No idea apart from that it keeps the individual settings separately so you don't have to input manually every time you need to change, but it seems to be the only thing that works for all the networks I use.
Sent from my HTC Desire HD using Tapatalk
Click to expand...
Click to collapse
Is it capable to connect with Ad-Hoc type of networks too?
And the answer is "Yes", wpa_supplicant from MIUI is capable to connect to Ad-Hoc networks.
Not sure what your problem connecting might be. At uni, we have EAP-PEAP/MSCHAPv2, and I can connect fine, and connect any android phones that come in fine aswell. We use a program called xpressconnect, but can do it manually too.
whiperhack said:
Is it capable to connect with Ad-Hoc type of networks too?
And the answer is "Yes", wpa_supplicant from MIUI is capable to connect to Ad-Hoc networks.
Click to expand...
Click to collapse
I have an application on my laptop that makes a network from it (like a router) which I've always assumed used ad-hoc and it's always connected fine to that so yeah I assume so =)
Old Leedroid ROMs used to work too if you wanted sense, but they were back in August-ish time
Already tried manual config
rorydaredkign said:
Not sure what your problem connecting might be. At uni, we have EAP-PEAP/MSCHAPv2, and I can connect fine, and connect any android phones that come in fine aswell. We use a program called xpressconnect, but can do it manually too.
Click to expand...
Click to collapse
Before i start this thread i tried several combination of configurations, I buyed even Advanced Leap WiFi from market and nothing. This problem is not from configuration because, like I said windows mobile and symbian is piece of cake to connect.
My connection is hidden ssid. After I put my credentials configured with leap, another network with same name but with WEP security appears, saying connecting...disconnected.
Update
I just tried MIUI and conclusions are:
1) Ad-Hoc is connectible (but stock android with a modified(patched) wpa_supplicant is capable to connect to Ad-Hoc too).
2) LEAP is still doing Connecting....Disconnected.
3) MIUI has a file named "/system/bin/wpa_cli" which stock didn't have it.
whiperhack said:
I just tried MIUI and conclusions are:
1) Ad-Hoc is connectible (but stock android with a modified(patched) wpa_supplicant is capable to connect to Ad-Hoc too).
2) LEAP is still doing Connecting....Disconnected.
3) MIUI has a file named "/system/bin/wpa_cli" which stock didn't have it.
Click to expand...
Click to collapse
For number 2 try manually inputting a static ip, dns, gateway and netmask =)
Must be something which makes the difference
Joey93 said:
For number 2 try manually inputting a static ip, dns, gateway and netmask =)
Click to expand...
Click to collapse
Thanks for the tip, I will try tomorrow. But what is the catch? What makes WM and Symbian better than Android when is about connecting to a LEAP network?
So you'd like other people to build an app for you?
Learn how to code!
All android comunity will thank to the courageous developer who will create the tweak
ivolol said:
So you'd like other people to build an app for you?
Learn how to code!
Click to expand...
Click to collapse
Why do you say "YOU"? Is not just me, is the whole android community that has lack of what i said in the thread. The work that will be done by a skilled developer from here will be used in the future by all androiders.
All the info and opinions that will be wrote in here will help the "courageous developer" to build the Complete WiFi UI.
My experience with the WiFi will help others to connect on similar networks.
In my opinion this is true development: trying to reach the impossible, or not yet possible, or not yet known.
I think is at last 1 developer in here which knows very good the WiFi protocols and can give us a hint.
For us (the ordinary users) is very difficult to start now learn coding in android and network protocols, because will last at least six months of staying in codes to get the idea of coding.
Compiling in android OS
ivolol said:
Learn how to code!
Click to expand...
Click to collapse
I checked your thread and is says nothing about compiling in Android OS. In my opinion this is the root cause of not fully working WiFi connectivity. With a proper .conf file of latest wpa_supplicant i think that the issue will become history.
Logcat and new tests
Hello again,
I've made some new tests and I found ......... nothing.
The thread with steps that i followed is this: http://code.google.com/p/android/issues/detail?id=8804

[GUIDE] Using an Android device as a Mumble (murmur) VOIP server. [No Root] Required!

Tutorial version 1.0 by: Talbot *TBOT* Simons “Monsieurtalbot”
WHY?
I was looking around the internet a while ago for a good tutorial on this. Sadly, after many years no one had released one – and after many hours of testing I have managed install and run a mumble (murmur) server - from an Android device using a Debian compatibility layer app called Debian NoRoot. It took a lot of tinkering over a couple years to discover this working method - and it works really well.
There are many benefits to having your own Mumble server… not to mention one that fits in the palm of your hand and can be transported… Not to mention one that can act independently – INCLUDING a built in WIFI network and battery – but using this method, not only is it possible to take a private VOIP server everywhere you go – it’s possible for it to run really smoothly with any mid-range smartphone made after 2012. Broadcast your own WIFI network and connect with friends in a private offline chat within WIFI range…. Or connect to a WIFI network, forward a port from your router and expand the coverage to all of the internet… All with an old android you probably have lying around somewhere. Use it anywhere a walkie talkie might be needed, but not available. Text chat is also included and working – and it’s all as private as possible really… You are even able to encrypt your connection at that point – or simply host it locally and use it anywhere you have a large local network you can tap off of… Hotels & cruises – speak between rooms via the WIFI… etc etc. I can see this being implemented in places where internet is scarce and communication is needed… It will work on devices many people are discarding – and in a world where privacy is becoming scarce – it’s nice to know that the method of your communication is safe.
DISCLAIMER - MUST READ
I am not responsible for any data loss or device damage. Proceed at your own risk, though none of what we’re doing here should be considered risky. I’m not including pictures as I’m a busy man – but the process is quite simple and the instructions are quite exact. I think you’ll be fine.
This has been tested on several Android devices of various screen sizes and processor architectures going back to 4.0. It should work on most if not all devices. An old Android you have sitting in a drawer is a perfect candidate for this – not a bad thing to just keep installed on your personal device as well if you’re a power user like me. The program we’ll be using is able to run most if not all Linux apps … A lot of possibility here. No root is required for most of the features to work in this tutorial. Root isn’t needed if you are on an unlocked device, or if you have tethering provisioned on your wireless account. Tethering is only needed if you plan on using the device to broadcast a WIFI network to make it truly independent from a WIFI router.
Some features of the server may or may not be broken, I personally don’t require much besides a server with no password. If anyone runs into any issues down the road, please let me know!
Click to expand...
Click to collapse
With that being said – let’s begin.
___________________________________________________________________________________
INSTALLATION -
1. Download the following apps from the Play Store on your Android “server device”.
1. Debian NoRoot – The Debian linux environment (takes about 900MB space on internal SD)
2. Plumble – (mumble client) either free or paid version is fine.
3. Fing – Network tools for scanning IPs and networks.
ALSO EITHER:
Stock WIFI hotspot feature (if you have active wireless service)
OR
WIFI Tether Router – (requires root) allows for WIFI networks to be created without a WAN connection.
OR
If you just want a local server hosted and want to use your home router (with or without port forwarding for WAN access to your server) – you can do that too.
Click to expand...
Click to collapse
2. Open the Debian NoRoot app you just downloaded – let it install and set your DPI and font scale to whatever is best for your device. Typically messing with the stock settings won’t do much good for you.
3. Open the terminal that is found on the desktop of Debian, or open it from the menu if your screen is small. Execute the following commands:
sudo apt-get update
(wait for the process to finish - accept any dependencies with Y)
sudo apt-get upgrade
(wait for the process to finish - accept any dependencies with Y)
sudo apt-get install mumble-server
(accept any dependencies with Y – there will be some errors, ignore them.)
sudo dpkg-reconfigure mumble-server
(Autostart: Yes, High Priority: No, Then set the super user password when prompted.)
sudo nano /etc/mumble-server.ini
(This is where you’ll edit the server info – there is much documentation on setting up a mumble server and configuring this file elsewhere on the web… Things like server name, welcome message, server password – etc etc are located in this setting file. Save the file and go back to the terminal.)
sudo /etc/init.d/mumble-server restart
(That’s it, the server should now be running with your new settings in the background. There is no UI and no icons that pop up.)
Click to expand...
Click to collapse
4. Once this is done – keep in mind even though you set the Autostart it is not going to work in this environment – so you will need to manually start the process via it’s script file – so lets create a shortcut to it on the desktop to make starting the server easier.
The script file is located at:
Code:
/usr/bin/murmur-user-wrapper
“Two finger tap” the file and “send to -> Desktop (create link)”
You will now double click this desktop link to start your server after you open the Debian Environment.
5. You can now press the home button to put the Debian environment in the background. Open the “Plumble” app you downloaded *on the same device* and set up a new server with the following settings:
Label : LOCAL SERVER
Address: 127.0.0.1 - leave the port as 64738 or change it as you like.
Username: Whatever you want – I used ADMIN for the server device.
Password: leave blank unless you set it up in the settings file.
Click to expand...
Click to collapse
Once you save the server if should show as online. Connect to it and change the default audio setting to push-to-talk in Plumble settings… If you don’t see it online, restart the phone, or some devices require to be connected to some form of network before the server will show as online. See the next step.
5. Once the server is running you have a number of options on how you can set it up and connect to it. – if you aren’t seeing the server – attempt the following - either step A, B or C first before ripping your hair out.
A. Connect to a WIFI network – set a static IP for your network in Android WIFI settings… You can then use it locally… or you can forward the port you used in the last step to the static IP you set in your router’s settings.
B. Broadcast a stock android hotspot – if you have active wireless service and tethering provisioned or an unlocked device – if you don’t, some custom Android roms will activate and broadcast a network anyway, some won’t… depends on device – your mileage may vary. This is cool for direct device to device communication but will not allow you to use it over the internet. Wireless carriers block a lot of ports incoming.
C. Open WIFI tether router – set it up based on your device. This app requires root but is the most likely to work in a completely offline scenario with no available external WIFI network or when you don’t have service but want to turn a couple phones into walkie talkies in the grocery store. Option B and C are very similar in function but C works with no service – in a plane, a cruise ship, the middle of nowhere, etc etc.
Click to expand...
Click to collapse
6. At this point – we can start connecting other devices… Either get the mumble client for PC/Mac or download “Plumble” and “Fing” on another android device. iPhone also has free mumble clients and network scanners.
7. Open “Fing” on the server device and run a scan if you are on a WIFI router network. Note your server device’s IP address and confirm that the devices you are trying to have connect have an IP address themselves. You may need to run “Fing” or another network scanning app on the secondary device to determine the server device’s IP address… Especially if you are doing this with option B or C for connection.
8. Open Plumble (Android) or your PC/Mac/iOS mumble client and configure it to the server IP you determined in the last step… As long as they are on the same network you should see the server online… Connect and set the push to talk setting on the second device. You should now be able to chat between the server device and the secondary device… and you should be able to connect multiple others as well.
9. Reboot the device.
10. At this point It’s 100% installed and ready to go. The server boot process to recap is quite simple.
- Connect the server device and secondary devices to the same network, hotspot, whatever.
- Open “Debian NoRoot” from a fresh device boot. Sometimes a fresh boot is needed for the server to run properly.
- Once Debian environment is fully loaded, two finger click the shortcut we created for the murmur server and choose the top option – “execute”
-Open Plumble on the server device and connect to the local server profile you created
- Determine the server’s IP address based on how you connected and set up the client devices.
- PROFIT.
Click to expand...
Click to collapse
I hope you enjoyed this tutorial and find it useful – if anyone takes these steps, please help the community and provide screenshots that I may add to this post. The information was sourced and pieced together from so many places… I’d like to thank… Google search - as well as the developers behind the apps used in this tutorial. I'm amazed that after all this time something just clicked and low and behold - it works!
Cheers and best wishes all!
Just an update - this is surprisingly stable, and I have had a server running on an old android device for over 2 weeks with no downtime.
Awesome work! I've been debating trying to port Murmur to Android for a while now as I have an Android STB sitting around that would make a perfect server.
zyperion said:
Awesome work! I've been debating trying to port Murmur to Android for a while now as I have an Android STB sitting around that would make a perfect server.
Click to expand...
Click to collapse
There's already an armhf distro for murmur on debian... This is actually still working great. It's the only reason this works... Same package for the raspberry pi. =]
Any app for Android that allows you to boot I to a chroot Linux environment this will work on...
Sent from my LG-US996 using Tapatalk
Yeah, it's a very clever solution that seems to be working pretty well. I'll have to give it a try! I've also been looking into trying to get Ubuntu installed on my Minix Neo X5 instead since I don't have any need for it as a media box anymore which makes Android far less desirable than a functional Linux install.

Categories

Resources