[Q] Simulating USB over Wifi or ADB over Wifi (unrooted) - Android Q&A, Help & Troubleshooting

Hello there,
I am trying to root an HTC Desire HD but the common problem of the USB not working kicked in. I figured as you can run Wifi / 3G connections via USB, why not the other way round? Is there any possibility to do this? Just to make sure nobody misses that point: No root requiring apps! Or ADB over Wifi without requiring root would work too but for what I know that's impossible.
Thanks,
Cyrus

It's no longer impossible!
As of about Android 11 and up, adb works over wi-fi (without USB) on non-rooted Android phones via Developer options Wireless debugging switches.

Related

Can't tether via Bluetooth...any ideas?

Hey all. So i've had my A70 for about a week now, and for the life of me I can't figure out how to get this tethered to my phone. I have a Moto Cliq rooted with j_rodd's custom firmware that supports netfilter. I have Wireless Tether app installed and it works fine (I have connected it to my PC and tethered over WiFi).
But for some reason my A70 pairs with the Cliq, but no connection is established. It doesn't see it in the list of paired and tethering capable devices, and there is no way to make the A70 see my Cliq.
I wonder if ther is some way to manually enter the APN info. So far, it only allows me to enter that info if I select USB tethering, but not Bluetooth.
Does anyone have any suggestions? I bought this device because I knew I would be able to tether it. Without that functionality, it really isn't worthwhile for me to keep.
Thx in advance.

[Q] USB Tethering dies off in several minutes

So judging by the quick search, many people have this problem on many different phones, and no solution was found.
I know I've had this problem with my old SGS 1, and even Nexus One.
Same problem on my SGS II, tethering to many different desktops and laptops.
So it seems to be android-specific, or Windows specific problem, really.
Basically, when you tether with USB, first several minutes all is well and speed is good, but in about 5-10 minutes, traffic from the phone just stops.
Phone still shows tethering ON, PC still thinks it's connected, but nothing loads, it doesn't disconnect, it just drops to speed or 0 kbps.
The only way to restore it is to disable tether and reconnect.
Anybody has any idea why would this occur and how to prevent it?
Does it say no internet connection on the network indicator on the bottom right of the notification center? My guess is your carrier has an issue with tethering. I see your on AT&T. Do they have a plan that is specifically for tethering?
Braidonh said:
Does it say no internet connection on the network indicator on the bottom right of the notification center? My guess is your carrier has an issue with tethering. I see your on AT&T. Do they have a plan that is specifically for tethering?
Click to expand...
Click to collapse
No internet connectivity loss is indicated in windows, it still thinks it has a good internet connection. I'm assuming that after a while, it will detect that although there's a connection, there's no actual traffic flowing through it, and will say that there's an issue... but for a long time, it's simply as if I'm connected, but actual speed is at 0kbps.
Browser tries to load pages and times out in 10-30 seconds.
Unfortunately (or fortunately) this definitely doesn't have anything to do with AT&T. I have unlimited grandfathered plan with AT&T and a custom rom, AT&T has no idea that I'm tethering. Internet on the phone is still working fine.
I kinda feels as if the usb tether drivers in windows (RDIS or whatever it's called) simply gives up after a while. Or maybe it's the android tether process that "forgets" what it's supposed to be doing.
you are running a stock ROM right?
RorixRebel said:
you are running a stock ROM right?
Click to expand...
Click to collapse
Nope, latest CheckROM.
But as I've said, I had same problem with Captivate and other ROMs on SGS2 =(
i haven't found a custom rom where tethering fully works....thats why i went back to stock
Have the same problem on BOTH my Huawei ideos U8150 and my HTC sensation.
My wirelessly tethered devices still work flawlessly but my USB tethered desktop disconnects after a few minutes. Screen time out set to Max in case something in the phone went to sleep but no difference. Definitely not a network problem as my operator confirmed but an android (or windows problem) .
I even set USB Port power settings to always stay awake.
Hope we can find a solution to this.
Sent from my HTC Sensation Z710e
i got the same problem under ICS. tried on stock ZSLPE and custom XXLPQ firmwares. both do not work!
my stock gingerbread was able to work flawlessly without disconnection problem on the same pc. wtf is happening?!
I have Samsung Galaxy S Plus.
I am facing exactly the same problem.
Have tried different ROM's around 5, 3 were custom ROM's.
Looks like Android OS issue.
abhijit_net said:
I have Samsung Galaxy S Plus.
I am facing exactly the same problem.
Have tried different ROM's around 5, 3 were custom ROM's.
Looks like Android OS issue.
Click to expand...
Click to collapse
I had this problem on both my Samsung Charge(Stock app 2.3.6), and my Motorola Razr(Stock app 4.0.4). I believe it is a driver issue inside windows. It seems less of a problem on the Motorola phone as I get a few hours of USB tether before it exhibits the same problem whereas the charge started after a couple of minutes. ie. Phone has data and can access web, computer thinks its connected to the web and okay, but any attempts to connect to the internet from the pc fails.
The wireless tether works fine and does not exhibit the same issues so I would suggest you use wifi tether. I don't know if wifi tether uses more or less power than usb tether (assuming your phone is connected to computer and charging). If I get some more free time in the next few weeks I might try and do an analysis.
listlessloki said:
I had this problem on both my Samsung Charge(Stock app 2.3.6), and my Motorola Razr(Stock app 4.0.4). I believe it is a driver issue inside windows. It seems less of a problem on the Motorola phone as I get a few hours of USB tether before it exhibits the same problem whereas the charge started after a couple of minutes. ie. Phone has data and can access web, computer thinks its connected to the web and okay, but any attempts to connect to the internet from the pc fails.
The wireless tether works fine and does not exhibit the same issues so I would suggest you use wifi tether. I don't know if wifi tether uses more or less power than usb tether (assuming your phone is connected to computer and charging). If I get some more free time in the next few weeks I might try and do an analysis.
Click to expand...
Click to collapse
I've had this problems with pretty much every Samsung phone I had.
I have HTC One X now, and it doesn't have this problem. So something with Samsung drivers, I think.
Cool fact - HTC even has a one-click reverse tethering. So cool.
I have the same problem, but can't find out, where (windows or android) is it.
What I have:
Motorola Atrix (rooted with SuperOneClick, stock ROM)
PC with Windows XP x64 without WIFI
The only RNDIS drivers I could find was HTC RNDIS (for XPx64)
Situation:
I'm living in hostel for one month, and there is only WIFI internet here, so I tried to get my phone WIFI to tether into USB
What have I done:
Connected to WIFI over phone.
Turned USB tethering ON.
By default WIFI is not tethered to USB, so I found that turning USB tethering ON creates usb1 network and WIFI is eth0. Then I configured NAT by iptables on my phone to accept and forward connection from PC (usb1) to WIFI (eth0). [usb0 on Atrix is for Motorola Portal, didn't try yet to connect to internet throught portal connection, not USB tethering]
The problem in short:
At the begining everything works fine. But when many connection threads are opened (didn't look for that many count) connection stops. As it was already mensioned, PC thinks it is connected, on phone USB tethering is still ON, even more - ifconfig still shows the connection. The only diffrenece is that "ping 192.168.42.129 -t" on PC (192.168.42.129 is usb1 IP on phone) starts showing "Request timed out" messages. On the other side - from my phone, I cannot ping my PC either. So connection is like broken, no traffic can be passed, but both sides sees they are ON.
After turning off USB tethering, PC sees connection is off immediately and the Local Area Connection #23 is gone. After turning on USB tethering everything comes back to the beginning.
Current workaround (for me):
I am using VPS service, so I open dynamic SSH tunnel over putty, and use it as my SOCKS5 proxy. The worst thing is that not all programs can use proxies, and when I use such program it tries to crash my connection.
Sorry for my english, it is foreign language for me, if anything is not understandable or you need more test from me, please ask, I will try to do my best.
Power Tether Off
DarkDvr said:
So judging by the quick search, many people have this problem on many different phones, and no solution was found.
I know I've had this problem with my old SGS 1, and even Nexus One.
Same problem on my SGS II, tethering to many different desktops and laptops.
So it seems to be android-specific, or Windows specific problem, really.
Basically, when you tether with USB, first several minutes all is well and speed is good, but in about 5-10 minutes, traffic from the phone just stops.
Phone still shows tethering ON, PC still thinks it's connected, but nothing loads, it doesn't disconnect, it just drops to speed or 0 kbps.
The only way to restore it is to disable tether and reconnect.
Anybody has any idea why would this occur and how to prevent it?
Click to expand...
Click to collapse
Hi,
I had the same problem with my Android Phone - P999 running Cyanogenmod 7.2
I had to go into usb debugging screen to adjust the Display power Settings to - Always ON when Charging - Option.
There is probably some power setting in your device that allows you to do that as well.
Basically Power Saving (Screen Off) Powers OFF the Tether.
Ensuring the Screen is ON while Charging (it charges while plugged into a usb port) ensures the Tether stays ON ALL the TIME!
Hope this helps you.
Took me quite awhile of messing around to find the right option.
I do have a similar problem but it's not time-dependant.
Phone:
Nexus 4 mako
AOKP JB-MR1 Build 6
franco kernel 3.4.0 build #121
Situation:
I use FolderSync to backup my sdcard to my Windows 7 FTP server. The reason for doing this over USB Tether is that I get speeds at around 14MB/s instead of 1,2MB/s over WiFi.
I noticed that it doesn't really matter how long tether is connected and nothing really happens as long as FolderSync is scanning the folders on the ftp server at low bandwidth. However once a larger file is transferred the connection is almost sure to break and show the symptoms described by the other posters (interface still up, just no packets being received at either end).
So I assume that some driver (either on Android or Windows) chokes on certain packets and then just dies. Anyone got an Idea how to tell which device causes the problem to investigate further?
I also noticed that if I had ADB enabled before starting USB Tether that the tether connection on the android will be disabled once the failure occurs.
I have problem with my realme c2 when i connect it to pc via usb tethering, it connects it running ok. if i make screen on by playing youtube or any video on it run but as soon as screen sleep it disconnect after some time
I'm a bit late to this, but for anyone else still having this problem:
in Developer options of my phone(Redmi note 11) under Networking, there is an option called "Always keep mobile data on". Turning this on should fix the issue
@Denav
This doesn't work for me. I have a Moto G Power 2021 and that option is already checked.
flyingpreacher said:
@Denav
This doesn't work for me. I have a Moto G Power 2021 and that option is already checked.
Click to expand...
Click to collapse
Were you able to figure out the issue? I'm having trouble as well. Mine disconnects after a certain time period and the times seems to be random. I've played around with the dev options and other cables and still having same issue. It seems to happen with mac and windows laptops.

[Q] A tethering question

Ok, I have a new Acer Iconia A200 tablet. It's WiFi only. My DX2 is running CM7 with the tethering patch applied.
The question is this: how can I USB tether my tablet with my phone? I have seen plenty of articles about phone to laptop/PC running XP/W7/Mac OS/Linux but nothing about Android to Android, particularly with USB. I know how to turn on the tethering on the phone. The tablet has both host and slave USB ports.
As a computer tech, I got the tablet so that I could put manuals on it instead of lugging my laptop around but sometimes you need an internet connection and a lot of places don't allow outside folks to tap their wireless network.
Thanks in advance. And just an FYI - the tablet is rooted and running ICS.
Search for an app called FoxFi in the Market. I installed it on my Droid X (stock, unrooted) and it works great for tethering my Transformer Prime. Maybe it will work for your device/rom as well.
I had problems getting it to work initially. I had to reboot my phone and turn off wi-fi first before it worked.
This app can tether via wi-fi or bluetooth. I have only tested wi-fi.
As far as USB tethering between two Android devices, I've never tried it. PdaNet 3.02 may be capable of doing this, but I don't really know.
Hope this helps.

[Q] Remote Access to Android without USB Debugging?

I have a Samsung Galaxy S3. I recently dropped it, and the internal touch-screen is broken. I can tell that the phone is working fine. However, the screen will not work. I'd like to find a way to remotely access my phone, since I can't access the screen. However, any and all methods I can find require at least a USB connection, and enabling USB Debugging. I can't enable USB Debugging, because I can't access my phone through the screen. Chicken before the egg. Is there any way to remotely access my phone, either through USB or wireless, without enabling USB debugging?

[Q] Native USB tethering on a WiFi only tablet

I am running Lollipop 5.1 on my 2012 Nexus 7. I have recently found myself in a bit of a sticky situation wherein I must use my tablet as a WiFi card for my computer. I have done this with my phone in the past, simply by connecting to WiFi, then connecting my phone to the computer and enabling USB tethering. I now need to do the same thing on my tablet, but since my device is WiFi only, the tethering options are hidden from the menus. I have tried many other things such as third party apps, but none of those have worked. I really need a way to get native Android USB tethering on my tablet, which is rooted. My computer is running Arch Linux with kernel 4.0, so that pretty much leaves PdaNet out of the question. Anyone have any idea how I can do this?

Categories

Resources