Is there an update on how long it will take to get Internet through USB working on an Android OS?
try tetherbot, not exactly tethering but it works good
acidreflux1 said:
Is there an update on how long it will take to get Internet through USB working on an Android OS?
Click to expand...
Click to collapse
I believe some people are using PDANet, found on the Market. I haven't tried it, though.
I guess this helps a lot of people other than me..
What I was looking for was a way to get internet on my phone, like syncing my phone through active sync, and wallah, internet on my phone, however I dont believe Android is capable of this yet..
Am I right?
Sorry about the phrasing of my question in the first post though...
acidreflux1 said:
I guess this helps a lot of people other than me..
What I was looking for was a way to get internet on my phone, like syncing my phone through active sync, and wallah, internet on my phone, however I dont believe Android is capable of this yet..
Am I right?
Sorry about the phrasing of my question in the first post though...
Click to expand...
Click to collapse
Android is capable of this but our custom kernel is not at this time. I'm in the same boat as you and I did a LOT of reading on this a few months back. I wouldn't hold my breath if I were you. There's probably a better chance of getting reverse tethering through bluetooth than usb networking.
mrkite38 said:
Android is capable of this but our custom kernel is not at this time. I'm in the same boat as you and I did a LOT of reading on this a few months back. I wouldn't hold my breath if I were you. There's probably a better chance of getting reverse tethering through bluetooth than usb networking.
Click to expand...
Click to collapse
So How long would you say I would have to wait.. or is it out already?
acidreflux1 said:
So How long would you say I would have to wait.. or is it out already?
Click to expand...
Click to collapse
I'm saying don't count on it ever happening... I think it's pretty low on the todo list and there just aren't enough kernel devs out there.
mrkite38 said:
I'm saying don't count on it ever happening... I think it's pretty low on the todo list and there just aren't enough kernel devs out there.
Click to expand...
Click to collapse
Oh.. Oh well.. I was wondering, the only reason I need reverse tethering is to get applications off of the market; Do you have a solution for this?
acidreflux1 said:
Oh.. Oh well.. I was wondering, the only reason I need reverse tethering is to get applications off of the market; Do you have a solution for this?
Click to expand...
Click to collapse
Not to kick you while you're down, but AFAIK you can't get to the market over the USB connection anyway, even on a 'real' android phone. There are two valid internet connections and they are cellular data and wifi. Again, I only know cuz I'm in the same boat.
EDIT: sorry, my answer wasn't very clear - no, I don't have a solution yet other than using adb (android debug bridge) and some websites that have .apks available for download.
I made this note about it a long time ago. I had it working including the market. I hope it still works. You use pppd and nc (netcat) to reroute packets using adb. The command looks something like this:
pppd nodetach noauth pty "nc -l -p 12000" defaultroute
Note: you need a special pppd for this to work. Refer to this thread:
http://forum.xda-developers.com/showthread.php?t=522498
Need help
I follow the link above from addisu and could get Internet to my phone. Did I do anything wrong? I need help....
Here are what I did...
In Ubuntu host:
Code:
# forward 12000/tcp
adb forward tcp:12000 tcp:12000
# enable routing
sysctl net.ipv4.ip_forward=1
# enable nat
iptables -t nat -I POSTROUTING -s 192.168.1.254 -j MASQUERADE -o wlan0
In the android device:
Code:
# delete the default route
ip r del default
# execute pppd listening in 12000/tcp
pppd-mod nodetach noauth pty "nc -l -p 12000" defaultroute
In Ubuntu host:
Code:
# execute pppd connected to 12000/tcp
pppd nodetach noauth nodeflate pty "nc localhost 12000" ipparam vpn 192.168.1.1:192.168.1.254
Need help.... plzzzzz
Can anyone help us on this issue???
Related
Hi.
I'm trying to use my G1 with the bluetooth pan network from my computer or from my mogul (which has an unlimited data plan) to go to the internet instead of using wifi to be more energy efficient.
So far, using wifi tether's bluetooth option, I manage to establish a pan network between my G1 and the computer running windows. However, traffic is not routed properly, I get "network unreachable" from the terminal when I try to ping something outside the local pan network.
Any ideas?
you cannot access the interwebs on your G1 from a network on your computer. you cannot reverse tether. it is not possible at this time, please people stop posting about this stuff
if you had searched you would have seen that it can't be done and you would have found a thread where theyare trying to get it working
I know it is not possible at this time, hence my post here.
I need someone with linux networking knowledge to have a look into this, the android platform is a bit peculiar to me, ifconfig is behaving differently on it then it does on a regular linux distro. I need help setting up the right dns entries, figuring out where they are stored in Android (resolv.conf? a property set using setprop?), etc...
The idea is to have Android connect to an existing bluetooth access point. Everything is there to do it, pand is working, a virtual bluetooth network adaptor can be created, I can even give it a proper ip address and I manage to ping it from the access point and I can ping the access point from android...
This is the perfect forum to post such a question.
Anyone else with a more useful comment?
stanelie said:
I know it is not possible at this time, hence my post here.
I need someone with linux networking knowledge to have a look into this, the android platform is a bit peculiar to me, ifconfig is behaving differently on it then it does on a regular linux distro. I need help setting up the right dns entries, figuring out where they are stored in Android (resolv.conf? a property set using setprop?), etc...
The idea is to have Android connect to an existing bluetooth access point. Everything is there to do it, pand is working, a virtual bluetooth network adaptor can be created, I can even give it a proper ip address and I manage to ping it from the access point and I can ping the access point from android...
This is the perfect forum to post such a question.
Anyone else with a more useful comment?
Click to expand...
Click to collapse
[MORE USEFUL COMMENT] post in the threads that are already discussing this topic rather than posting a new thread[/MORE USEFUL COMMENT]
You use the term "linux distro". Now, I know I may be beating a dead horse here, but linux is just the kernel--the rest is GNU software. Many things are going to behave differently on Android.
Exactly, what works in Fedora 10 possibly will not work in android... (and thats giving some ambition there.....)
that's exactly why I am asking here instead of elsewhere.
To tubaking182 : the really usefull answer would have been to give me a link to the right thread instead. The search features of this forum sucks.
Thanks anyway.
Hi stanelie,
I too am very interested in doing this VERY same thing. I've also searched and come up empty handed. If there is anyone out there with more information that could help please feel free to post. Thanks in advance.
I'm sorry some here do not like people asking questions but I too would very much appreciate REVERSE BLUETOOTH TETHER functionality for my Android phone. Despite what tubaking182 so very helpfully writes above (thank you ever so much!) there remains no EASY solution for this.
I will happily pay for an easy to install, reliable Android Market app that does this. I think lots of others will too.
So that there is no misunderstanding I wish to connect my phone as a Bluetooth PAN client to a Bluetooth PAN server. The server functionality is NOT required.
Thanks,
Paul
Hello everyone,
I'm a computing student and Ive got the task to develop a basic version of the WiFi router found here: http://code.google.com/p/android-wifi-tether/
Ive learned to program in Java during my 3 years of college and I consider that Ive got the basics covered but Im really bad at programming.. I am willing to learn a lot more to complete this project and in the process Im also planning to learn some serious programming skills considering the complexity of the application development.
Can someone please bring some light on this and help me with it? I actually dont even know where to start coding for this. All I managed to do in the last 24h is to find the below websites but I dont know how to put everything together and start coding. Ah, and I want to mention that once I finish it I will share it with the open source community, not looking for any profit. Its just a college project for me. Thanks in advance for any help that anyone can give me!
Android Developers
http://developer.android.com/
Wireless Tether for Root Users (Opensource)
http://forum.xda-developers.com/showthread.php?t=486767
Tethering my laptop with android
http://forum.xda-developers.com/showthread.php?t=577590
Tetherbot
http://graha.ms/androidproxy/
Tethering VIA USB - Install and troubleshooting
http://forum.xda-developers.com/showthread.php?t=443025&highlight=tether
tether Wifi
http://www.androidactivity.com/tetherWifi.html
iptables
http://www.netfilter.org/projects/iptables/index.html
Dnsmasq
http://www.thekelleys.org.uk/dnsmasq/doc.html
and of course wikipedia
http://en.wikipedia.org/wiki/Tethering
Well this is a functionality scenario for it. Id appreciate if one of the experienced programmers would give an opinion on it. Thanks!
#1 User starts the program by tapping the app icon.
#2 Code to check for Internet connection over GSM network (check gsm state. if off, go to 3. if on go to 7)
#3 Code to send instructions to the GSM modem to establish an internet conection.
#4 If the connection cant be established due to various technical errors like no signal, wrong APN settings etc then 5
#5 Code to show info message on the screen to inform user
#6 Once the device has a valid internet connection(check) then 7
#7 Code to show settings to user and allow customization of SSID (network name). [and security key(optional for now, we'll do it later if we have time)]
#8 The user presses the start button.
#9 Code to activate the wifi card in adhoc mode and broadcast the adhoc chosen SSID
#10 Code to accept connection from a valid device and communicate with it over wifi
#11 Code to share the established internet connection over GSM network with the device connected over wifi
Hi!
I'm one of the authors of "Wireless Tether for Root Users".
What means "a basic version of the WiFi router"?
You know that most wifi-interface-drivers of android-devices do not support master-mode which would be mandatory to implement a "wifi router/access-point" (that's the reason why we support adhoc-mode only)?
Harry
harry_m said:
Hi!
I'm one of the authors of "Wireless Tether for Root Users".
What means "a basic version of the WiFi router"?
You know that most wifi-interface-drivers of android-devices do not support master-mode which would be mandatory to implement a "wifi router/access-point" (that's the reason why we support adhoc-mode only)?
Harry
Click to expand...
Click to collapse
Hi Harry, I appreciate the reply, thanks a lot!
"a basic version of the WiFi router" means a functional application that will run on an android phone (hopefully not rooted), will accept an ad-hoc connection with another wifi device over wifi and share its built in Inet conneciton with the device that connects to it. If I manage to get this running within 3 weeks I will complete the project in time.
I didnt know about the android wifi-interface-drivers..I was planning to try and develop this (hopefully successful app) into a proper wifi router (the full version) as my last year project, but now that plan is down the drain
Could you please help me start this? Where did u start when u actually started coding for this project? Any advice you can give me will be very welcome!
Cheers m8, have a good weekend!
harry_m said:
Hi!
I'm one of the authors of "Wireless Tether for Root Users".
What means "a basic version of the WiFi router"?
You know that most wifi-interface-drivers of android-devices do not support master-mode which would be mandatory to implement a "wifi router/access-point" (that's the reason why we support adhoc-mode only)?
Harry
Click to expand...
Click to collapse
Hi Harry,
By ad-hoc mode do you mean that the phone has to be rooted?
My understanding is that there is no way to have GPRS/3G running at the same time as a WiFi connection on the normal Android OS on a non rooted phone?
@atl4ntys,
Nice to see another Irish developer on Android
What your trying to do in 3 weeks seems like a big task and the normal Android SDK wont be much help for the reason I have stated above unless you root the phone.
cheers draffodx, I appreciate the interest!
Abt your question, to my knowledge wifi can run at the same time with 3g on a stock non rooted phone but it will not run in adhoc/ap mode. Unless some found a workaround that.. I'd prefer to develop a very basic app that will run on any android but if it proves to be an impossible task (also given the dev time available) then I will be happy with a function one on a rooted android. Dont need security and fancy graphics I just need it to work, so Im sure between me and my project partner we'll get it done (hopefully with a bit of help from the android devs)
Have you got any resources for how to run 3G and Wifi at the same time?
Its something I need to be able to do and from a few days research it seems that the OS only switchs between Wifi and 3G and never runs both at the same time.
From the SDK API's I cant find anything allowing me to turn both 3G and Wifi on.
Can you also define what you mean by adhoc/ap mode?
Thanks
draffodx said:
Have you got any resources for how to run 3G and Wifi at the same time?
Click to expand...
Click to collapse
No, not yet.
draffodx said:
From the SDK API's I cant find anything allowing me to turn both 3G and Wifi on.
Click to expand...
Click to collapse
I havent looked into it properly yet. Maybe Harry will answer or if not, try here: http://forum.xda-developers.com/showthread.php?t=474470
draffodx said:
Can you also define what you mean by adhoc/ap mode?
Thanks
Click to expand...
Click to collapse
Adhoc is computer to computer connection, without an access point. Info here: http://compnetworking.about.com/cs/wirelessfaqs/f/adhocwireless.htm
ap is an access point
The difference is(wiki):
Wireless Access Point vs. Ad-Hoc Network
Some people confuse Wireless Access Points with Wireless Ad-Hoc networks. An Ad-Hoc network uses a connection between two or more devices without using a wireless access point: the devices communicate directly when in range. An Ad-Hoc network is used in situations such as a quick data exchange or a multiplayer LAN game because setup is easy and does not require an access point. Due to its peer-to-peer layout, Ad-Hoc connections are similar to Bluetooth ones and are generally not recommended for a permanent installation.
Internet access via Ad-Hoc networks, using features like Windows' Internet Connection Sharing, may work well with a small number of devices that are close to each other, but Ad-Hoc networks don't scale well. Internet traffic will converge to the nodes with direct internet connection, potentially congesting these nodes. For internet-enabled nodes, Access Points have a clear advantage, being designed to handle this load.
Thanks for that atl4ntys!
If you get wifi & 3G working at the same time let me know it would be very interesting.
Good luck with the project
draffodx said:
Thanks for that atl4ntys!
If you get wifi & 3G working at the same time let me know it would be very interesting.
Good luck with the project
Click to expand...
Click to collapse
hey draffodx, wifi and 3g do work in the same time but the wifi works in client mode not adhoc. the catch is to find out how to get it to work in adhoc mode while an inet connection is established over gsm
*1st post edited. Added possible functionality scenario opinions anyone? Thanks!
Hey atl4ntys,
How are you getting on with this?
draffodx said:
Hey atl4ntys,
How are you getting on with this?
Click to expand...
Click to collapse
hey draffdox,
I managed to get it working in the end but I had to base my code on harry's 9.3 http://code.google.com/p/android-wifi-tether/source/browse/#svn/branches/0.9.3
If u want to see my final report, wait a few days as I will upload it online somewhere.
cheers, have a good weekend!
atl4ntys said:
hey draffdox,
I managed to get it working in the end but I had to base my code on harry's 9.3 http://code.google.com/p/android-wifi-tether/source/browse/#svn/branches/0.9.3
If u want to see my final report, wait a few days as I will upload it online somewhere.
cheers, have a good weekend!
Click to expand...
Click to collapse
Thanks for that atl4ntys, excellent read, its a pity it still cant be done on a non rooted phone
Hey guys,
It's nice to meet some Irish People on this forum,
good luck with the project.
Sorry I can't add anything but I am an Android Developement newbie.(aswell as a java newbie)
I can't wait to see the app.
harry_m said:
I'm one of the authors of "Wireless Tether for Root Users".
Harry
Click to expand...
Click to collapse
Hi Harry, i'm using your software, all work fine except i have to use "proxoid" to re-write the user-agent. When not using it, no web surfing for my computer is impossible.
The problem is Poxoid is written in java, and slow down the internet connection from the phone. I'm downloading at about 100kB without proxoid, and only 20-30KB with.
I'm asking you if you know another program that does same thing (user agent rewriting) , easy to install for rooted android phones, or why not include that fonctionnailty to Wifi Tether?
Thanks for Wifi Tether, nice program !
is this - (the above posts)
a form of uma or gan???
mikob2d said:
Hi Harry, i'm using your software, all work fine except i have to use "proxoid" to re-write the user-agent. When not using it, no web surfing for my computer is impossible....
Click to expand...
Click to collapse
Hey mikob2d, I think its best if u send him a private msg or if u contact him here http://code.google.com/p/android-wifi-tether/
Don't think he's monitoring this thread anymore
Rptynan said:
Hey guys,
It's nice to meet some Irish People on this forum,
good luck with the project.
Sorry I can't add anything but I am an Android Developement newbie.(aswell as a java newbie)
I can't wait to see the app.
Click to expand...
Click to collapse
hey 2u2 and welcome here but I finished this project and will not release an open source or a commercial app. The project was way harder than I expected and I had to base my app on Harry's harry's 9.3 version of the app.
I sent u2 a pm with a link to the final technical specs. Hope you'll find the info useful
This is sweet. Can even connect using Android Commander with this while wireless.
http://www.androidpolice.com/2010/08/20/awesome-app-for-rooted-users-adbwireless/#comment-50934
Awesome find
cool, finally a good use for the wifi.
hey....im actually having trouble with it...i type in what it says and an error comes up saying "windows cannot find 'adb'. make sure you typed the name correctly, and then try again." any ideas...i have hero cyanogen mod...windows 7, i connect on the same wifi...but the only thing i can think of is that my wireless router has two different signals, one for n and another for g...i connect to the g one on my phone and pc but it still wont work...thanks
andrewt328 said:
hey....im actually having trouble with it...i type in what it says and an error comes up saying "windows cannot find 'adb'. make sure you typed the name correctly, and then try again." any ideas...i have hero cyanogen mod...windows 7, i connect on the same wifi...but the only thing i can think of is that my wireless router has two different signals, one for n and another for g...i connect to the g one on my phone and pc but it still wont work...thanks
Click to expand...
Click to collapse
have you changed directories to where your adb is?
Code:
cd C:\AndroidSDK\tools
this has been out for a lil while but there are not very many people that know about it. i have been using it for about a month now.
Good post for people that didnt know about it!
kwheel596 said:
have you changed directories to where your adb is?
Code:
cd C:\AndroidSDK\tools
Click to expand...
Click to collapse
ummm..idk what you are really talking about...i jsut got into the whole phone hacking thing...can you explain a lil bit more. are you talking about on the computer or phone? and is there some software you have to download on the pc first? thanks
This is awesome. I use my laptop the most, and now I can start the bootanimation so people think I'm cool from the other room
are you serious? you have to load the android SDK. ADB is NOT a command built into ANY os! obviously your new to computers too. after installing the sdk be sure to create an environment variable pointing to the tools folder so that you can call adb from any directory.
http://developer.android.com/sdk/index.html
I'm probably being a bit rude here but it very much irks me when people blindly type terminal commands with no knowledge of what it is they are entering.
andrewt328 said:
ummm..idk what you are really talking about...i jsut got into the whole phone hacking thing...can you explain a lil bit more. are you talking about on the computer or phone? and is there some software you have to download on the pc first? thanks
Click to expand...
Click to collapse
Nice find! Works great!
I installed the SDK and connected to my phone via "adb connect 192.168.1.4:5555". But it doesn't show up as a drive / usb drive.
How do I make it work? Is there a command to mount it as a drive??
thx
Just a script I wrote...
Hey guys.
I just wrote a quick batch script that automatically starts the wireless connection to your phone. It's a lot quicker IMO than typing adb connect blah blah blah. All you need to do is change the IP address in the script to whatever IP address your phone uses. I recommend reserving the IP in your router so you won't need to change it.
adb server is out of date ?
I keep getting this error when trying to use adb wireless
***Edit - somehow it just started working*** I can't explain how, but I'm all set now -
What do I do?
When the command screen comes up (the black box), what do I type in? I have the 192.168 etc number, but it appears that I need to type in something before that. I tried variations of adb connect, but it does not work. It looks like I need to either 1) Change the drive; 2) issue a command or both. I'm a newbie at this. Thanks
PSFreedom's recent port to various Android devices using the msm72k chipset got me thinking. Has anyone taken a look at building it for the HD?
I currently use an X10 which unfortunately isn't supported but I have a Blackstone lying around that would be perfect. The hardware *should* be able to handle it but I have no clue how to even begin.
I can cross-compile modules for my X10 and so on but that's about it. I have no experience building a working kernel, the external module and finally making boot images for use with haret.
Anyone working on it?
ddewbofh said:
PSFreedom's recent port to various Android devices using the msm72k chipset got me thinking. Has anyone taken a look at building it for the HD?
I currently use an X10 which unfortunately isn't supported but I have a Blackstone lying around that would be perfect. The hardware *should* be able to handle it but I have no clue how to even begin.
I can cross-compile modules for my X10 and so on but that's about it. I have no experience building a working kernel, the external module and finally making boot images for use with haret.
Anyone working on it?
Click to expand...
Click to collapse
for educational purposes only..
oNNoZeLe said:
for educational purposes only..
Click to expand...
Click to collapse
Naturally.
So after some intense googling I've worked out a plan but I have some questions on compiling and assembling images. The plan goes like this:
Since I don't use the device as an actual phone I'm not bothered about losing things like making phone-calls or things like that. So I'll probably used a stripped down version of Donut or Eclair depending on whichever's the easiest.
Any recommendations on guides for compiling custom kernels, building external modules and preparing the kernel for use with haret?
I've set up toolchains for building Donut modules in the past and earlier I got a Blackstone toolchain set up from a guide over at www.androidonhtc.com but then I got stuck. Any help would be much appreciated, I've been at this way too long now.
Thanks
This would rock..
Sent from my MSM using XDA App
I would also love to see this happen.
I maybe wrong, but currently the Android releases are setup on the Blackstone it doesnt give you access to the card (for files) or USB connection (for transfer) yet as it's still in an unstable state...?
the battery issue is keeping me away from android.
usb connection is not there and access to card is not there from pc .
but access to card is there... using terminal emulator.
to check the usb config , i copied config.gz from /proc folder to /sdcard and copied it back while using windows..
so if the activsync type of connection is not there to put or get the files... that can still be done thru winmo... unless it is also hindering some other functionality that i'm not aware of
edit:
i'm using Android 2.2 (FroYo) On HTC [03 Sep 2010] (V1.6)
sunish said:
the battery issue is keeping me away from android.
usb connection is not there and access to card is not there from pc .
but access to card is there... using terminal emulator.
to check the usb config , i copied config.gz from /proc folder to /sdcard and copied it back while using windows..
so if the activsync type of connection is not there to put or get the files... that can still be done thru winmo... unless it is also hindering some other functionality that i'm not aware of
edit:
i'm using Android 2.2 (FroYo) On HTC [03 Sep 2010] (V1.6)
Click to expand...
Click to collapse
I have atleast ADB working over USB but it requires that I boot with the cable plugged in. So USB works, but I don't know to what extent.
ddewbofh said:
I have atleast ADB working over USB but it requires that I boot with the cable plugged in. So USB works, but I don't know to what extent.
Click to expand...
Click to collapse
did you try droid explorer? several things work with ADB enabled..
I have a lot of time on my hands, but no knowledge of what needs to be done in order to work out how to get this working.
Is there any system already ported that we can look at that has similar devices to the Blackstone - perhaps the HD2?
If not, if someone can advise on what needs to be worked out, I dont mind putting the time in.
DejaVu1977 said:
I have a lot of time on my hands, but no knowledge of what needs to be done in order to work out how to get this working.
Is there any system already ported that we can look at that has similar devices to the Blackstone - perhaps the HD2?
If not, if someone can advise on what needs to be worked out, I dont mind putting the time in.
Click to expand...
Click to collapse
did you check one of the other threads on "getting this to work on XDA?"
I've been on checking XDA-Dev (as well as other sites) since the release of psgroove/psfreedom for updates.
I've been watching all the other devices getting ported too (Nexus One, Bravo, Dream, Desire, Sapphire, TI-84+ (CALCULATOR!), Dingoo), but really dont know where to start for the Blackstone - which has been dishearting as the Teensy++ boards are sold out worldwide!
But surely, if a calculator can do it...!!
Supposedly, the USB Device is the same as the others (MSM72K) that have already been ported. It just needs to be written into the psfreedom code I guess and run a certain way depending on the system the Blackstone would use.
I dont think Windows Mobile has 'root access' so hence the use of Android via Haret. Although it's not stable as such, I think it should be sufficient to run this (if possible through Haret?)
Some of this may seem like complete crap - but I will be the first to admit, I dont know what I'm talking about. It's just the gist I'm getting from surfing the internet over the last few days.
From what I gather, all the (hardest?) work has been accomplished (it's proven it can work with Android!) and I'm sure the Dev's that have completed it will share their findings to help other devices to work?
Also, looking through most the forums on here, Blackstone being THE most popular, I think the port would be appreciated by a lot more people.
The reason that Blackstone is the most popular IMHO is that Windows Mobile running on it is terrible. When I got mine originally from O2, the ROM was sooo slow. The great work the Chef's do on here are appreciated by thousands as they are making the phone usable again. Bring on Adroid for this phone... IT NEEDS IT!!!
If it's pointed out what needs doing. I'll happily do it - I've flashed my phone sooo many times lately, a few more wont hurt!
It'll be Awesome!!!!
I was under the impression that Blackstone has MSM72K (reference to which I found in a very old thread.
following is the text form config.gz which uses MSM_HSUSB
so only a ROM chef can tell us which driver is used in blackstone.
We can only request all the developers on this site to look into this and guide us.
Code:
# USB Function Support
#
CONFIG_USB_FUNCTION=y
CONFIG_USB_FUNCTION_MSM_HSUSB=y
# CONFIG_USB_FUNCTION_NULL is not set
# CONFIG_USB_FUNCTION_ZERO is not set
# CONFIG_USB_FUNCTION_LOOPBACK is not set
CONFIG_USB_FUNCTION_ADB=y
# CONFIG_USB_FUNCTION_UMS is not set
CONFIG_USB_FUNCTION_MASS_STORAGE=y
# CONFIG_USB_FUNCTION_DIAG is not set
CONFIG_USB_FUNCTION_ETHER=y
CONFIG_USB_FUNCTION_RNDIS=y
# CONFIG_USB_FUNCTION_FSYNC is not set
# CONFIG_USB_FUNCTION_SERIAL is not set
# CONFIG_USB_FUNCTION_PROJECTOR is not set
# CONFIG_USB_FUNCTION_MTP_TUNNEL is not set
http://forum.xda-developers.com/showthread.php?t=777120 The HD2 get a haret Port
It doesn't work on a HTC Touch HD T8282, Won't boot. I think, as a WM6.1 phone it can't be rooted.
HD1
sunish said:
I was under the impression that Blackstone has MSM72K (reference to which I found in a very old thread.
following is the text form config.gz which uses MSM_HSUSB
so only a ROM chef can tell us which driver is used in blackstone.
We can only request all the developers on this site to look into this and guide us.
Code:
# USB Function Support
#
CONFIG_USB_FUNCTION=y
CONFIG_USB_FUNCTION_MSM_HSUSB=y
# CONFIG_USB_FUNCTION_NULL is not set
# CONFIG_USB_FUNCTION_ZERO is not set
# CONFIG_USB_FUNCTION_LOOPBACK is not set
CONFIG_USB_FUNCTION_ADB=y
# CONFIG_USB_FUNCTION_UMS is not set
CONFIG_USB_FUNCTION_MASS_STORAGE=y
# CONFIG_USB_FUNCTION_DIAG is not set
CONFIG_USB_FUNCTION_ETHER=y
CONFIG_USB_FUNCTION_RNDIS=y
# CONFIG_USB_FUNCTION_FSYNC is not set
# CONFIG_USB_FUNCTION_SERIAL is not set
# CONFIG_USB_FUNCTION_PROJECTOR is not set
# CONFIG_USB_FUNCTION_MTP_TUNNEL is not set
Click to expand...
Click to collapse
Afaik msm72k and msm_hsusb are different drivers for the same hardware. The kernel in use for the Blackstone port is 2.6.27 and it uses msm_hsusb. Newer kernels are probably different.
psfreedom-for-htc-touch-pro1-2diamond-1-2
Look at this site, you got to copy 3 things and you must have Xandroid 2.2
h**p://howtohackps3.com/psfreedom-for-htc-touch-pro1-2diamond-1-2-is-now-available/
^^ will try it once i get home
It Works !!!!
Yeah Yeah Yeah !!
good temp solution.
as u need to connect the phone to pc when android is booted.
will wait for dongle's price to fall down
Though Iconia has gps inside, but I don't think it can receive the satellites faster than the usb gps. I've got one for my laptop and works fine. But the notebook is too heavy, so can someone to let the pad support the usb gps?
Specifiction:
Model Nr:BU-353
development information:http://www.usglobalsat.com/forum/index.php?PHPSESSID=ja5juv3c1rc9d7npsoi4f9lvq3&topic=3408.0
use BlueGPS4Droid if you dont like the internal gps function.
that has been used for ages on tablets without gps.
Dexter_nlb said:
use BlueGPS4Droid if you dont like the internal gps function.
that has been used for ages on tablets without gps.
Click to expand...
Click to collapse
But I want usb GPS not a bluetooth one.
liu2002 said:
But I want usb GPS not a bluetooth one.
Click to expand...
Click to collapse
i dont think any android software support it, at least something i seen..
earthmate-lt40
I would love to use my earthmate USB GPS as well.its super fast lock with precision accuracy on my notebook.in the thread mentioned by Dexter there is possible solution if you know some programing.but no talk there about the earthmate one.there are alot of people interested in a module for this a Dec could make some moneyi do think hint hint
Giggles
erica_renee said:
I would love to use my earthmate USB GPS as well.its super fast lock with precision accuracy on my notebook.in the thread mentioned by Dexter there is possible solution if you know some programing.but no talk there about the earthmate one.there are alot of people interested in a module for this a Dec could make some moneyi do think hint hint
Giggles
Click to expand...
Click to collapse
important is: can you find regular linux support for it? then we can probably use it here too. otherwise not, so if you search and find references to it..
post it, and i can look at your links for linux support if such exists..
source
http://cateee.net/lkddb/web-lkddb/USB_SERIAL_CYPRESS_M8.html
not sure if this will help bilut I think its what you are asking for
Have you tried the fix in this thread here?
http://forum.xda-developers.com/showthread.php?t=1103585&highlight=gps+fix
yes that works withbthe internal gps.
Yes I have done that and it does help with the internal GPS.but I would like to get my GPS USB reciever to work.it locks quick and can be put on top my van.
Does anybody run the code:
Code:
su root
stty -F /dev/ttyUSB0 ispeed 4800 && cat < /dev/ttyUSB0
I ran it and it works like gps status in windows. GPS can get the data but how to let the system to know these data.
I drive with my tablet and gps all the time and it works great!
I mean how fast do you need it to be?
Dexter_nlb said:
use BlueGPS4Droid if you dont like the internal gps function.
that has been used for ages on tablets without gps.
Click to expand...
Click to collapse
Hem, finally vindication for not having thrown out my Pharos USB GPS receiver with its Bluetooth cradle for my old WinMo phone
liu2002 said:
Does anybody run the code:
Code:
su root
stty -F /dev/ttyUSB0 ispeed 4800 && cat < /dev/ttyUSB0
I ran it and it works like gps status in windows. GPS can get the data but how to let the system to know these data.
Click to expand...
Click to collapse
Can do a
Code:
hexdump -c /dev/ttyUSB0
and show us what kind of data you have
I suppose standard NMEA sentences (GGA / RMC / ...). In that case we can perhaps do something...
If you could also do a
Code:
stty -a -F /dev/ttyUSB0
it would also give us more informations
herbert1 said:
Can do a
Code:
hexdump -c /dev/ttyUSB0
and show us what kind of data you have
I suppose standard NMEA sentences (GGA / RMC / ...). In that case we can perhaps do something...
If you could also do a
Code:
stty -a -F /dev/ttyUSB0
it would also give us more informations
Click to expand...
Click to collapse
I am sorry that I thought my thread had been abandoned. So I didn't see your reply. Now I use galaxy 1.05 and I try to run the code you give to me. However this rom can not recogize my gps, the acer original rom (HB3.0 can). So I can not test the code. Or I should PM M-dj to add the support for the PL2303(usb to serial) and this can let the pad to find my gps.
Here is a quick and dirty adapted version of BlueGPS4droid in order to read NMEA data from a file/device.
Instead of giving the name of a bluetooth device you have to give the path of a file.
Don't know if it will work: since I don't have any usb Gps, I cannot test.
However it's working with plain files, so I hope it will also work with /dev/ttyUSB0.
You should be able to see on the logcat if it recognizes NMEA sentences or not.
If you can post a copy of the logcat it could be useful for me.
If it's working, I will put the code in a new repository (forked from BlueGps4Droid), clean the code, re-inject other languages and advanced functionalities we have inblueGPS4droid, etc.
How to use it :
0) plug the GPS usb device
1) allow GPS use, if possible (don't know if you can)
2) enable mock locations in "Settings/Applications/Development/Allow mock locations" (It's important !)
3) start UsbGps
4) choose a NMEA device (device path: ako /dev/ttyUSB0 - it has to be readable ! )
5) eventually activate "auto-enable location provider" in "location provider options" (useful if you cannot enable "Use GPS satellites" option (in step 1)
6) start the service using the start checkbox
7) look if something happens in the logcat...
Do you have an android phone? ShareGPS from the market will turn your phone into a Bluetooth GPS device, then use the aformentioned BlueGPS4Droid to connect to the phone for its GPS. Also ensure you have enabled Mock Locations on your tablet, and set up a internet share from your phone if the tablet doesn't have it itself.
I used this on a trip recently and it works great. My Inc2 shared its GPS and Internet link with the Iconia. I really like the ability to use the Inc2's superior GPS through the tablet with its 10 inch screen. We all know the Iconia has a lower than Subpar GPS implementation.
I looked around for a way to use the LT40 from Delorme on the Iconia and couldn't find anything good.
herbert1 said:
Here is a quick and dirty adapted version of BlueGPS4droid in order to read NMEA data from a file/device.
Instead of giving the name of a bluetooth device you have to give the path of a file.
Don't know if it will work: since I don't have any usb Gps, I cannot test.
However it's working with plain files, so I hope it will also work with /dev/ttyUSB0.
You should be able to see on the logcat if it recognizes NMEA sentences or not.
If you can post a copy of the logcat it could be useful for me.
If it's working, I will put the code in a new repository (forked from BlueGps4Droid), clean the code, re-inject other languages and advanced functionalities we have inblueGPS4droid, etc.
How to use it :
0) plug the GPS usb device
1) allow GPS use, if possible (don't know if you can)
2) enable mock locations in "Settings/Applications/Development/Allow mock locations" (It's important !)
3) start UsbGps
4) choose a NMEA device (device path: ako /dev/ttyUSB0 - it has to be readable ! )
5) eventually activate "auto-enable location provider" in "location provider options" (useful if you cannot enable "Use GPS satellites" option (in step 1)
6) start the service using the start checkbox
7) look if something happens in the logcat...
Click to expand...
Click to collapse
According your steps, gps running, but it seemed not get the data. No gps searching notification icon flashed and in the log data I don't see any thing. The information in my pm is not correct. I use the wrong device folder. But changed back to \dev\ttyUSB0, I can connect but no data.
Nova5 said:
Do you have an android phone? ShareGPS from the market will turn your phone into a Bluetooth GPS device, then use the aformentioned BlueGPS4Droid to connect to the phone for its GPS. Also ensure you have enabled Mock Locations on your tablet, and set up a internet share from your phone if the tablet doesn't have it itself.
I used this on a trip recently and it works great. My Inc2 shared its GPS and Internet link with the Iconia. I really like the ability to use the Inc2's superior GPS through the tablet with its 10 inch screen. We all know the Iconia has a lower than Subpar GPS implementation.
I looked around for a way to use the LT40 from Delorme on the Iconia and couldn't find anything good.
Click to expand...
Click to collapse
I beg to differ.my Ionia gets GPS connection under 7 seconds.try this it worked for me
http://forum.xda-developers.com/showthread.php?p=17668407
Sent from my A500 using xda premium
I support it!
liu2002 said:
According your steps, gps running, but it seemed not get the data. No gps searching notification icon flashed and in the log data I don't see any thing. The information in my pm is not correct. I use the wrong device folder. But changed back to \dev\ttyUSB0, I can connect but no data.
Click to expand...
Click to collapse
I don't have any usb GPS, so I cannot test anything myself! If you want something I will need a little more informations.
So here are some little things you can do to provide more details.
First you can verify if you receive something from your usb GPS:
Connect your android device to you computer and open a command shell on your android device using
Code:
adb shell
Then you can use
Code:
hexdump -c /dev/ttyUSB0
to display what the gps is sending (replace /dev/ttyUSB0 with your usb gps dev). You should see standard nmea sentences...
If you don't see valid nmea sentences you can use
Code:
stty -a -F /dev/ttyUSB0
to obtain more informations on your dev.
You can also verify read/write access rights of the device
Code:
ls -l /dev/ttyUSB0
We need at least read access. If we don't then you will need to root the android device in order to be able to change the access rights on the dev.
If the hexdump command works well then you can run usbGps and use the
Code:
logcat
command to obtain more informations on what happens in the the usbGps app (it would help me a lot!).
Also if usbGps doesn't work it should display a notification (not very useful but it can help a little).
Herbert
PS: the name of the device should really be something like /dev/ttyUSB0 with "/" not "\", so if you try to use "\dev\ttyUSB0" as your device name il will not work and it's normal.