On Wednesday, February 22, 2012 5:12:21 PM UTC-5, Bret Foreman wrote:
>
> I'm considering running ADB over a WiFi connection rather than via the 
> USB cable. I've read a lot of blog posts about it but I want to verify 
> a few things: 
>
> 1) Is it true that the phone must be rooted? If so, is SuperOneClick 
> the preferred tool to use for rooting? 
>

If it's not a built in option as others have mentioned, then yes, you 
normally need root to switch on adb-over-tcp.  There may be some 
workarounds you could set up per-boot by first connecting on wired adb. 
 Launching an ssh server from wired adb after boot would give you shell 
capabilities as the usual shell userid, but not a jdwp debugger or 
integration with adb-based host-side tools.
 

> 2) Once I can connect with command-line ADB over WiFi, is it a simple 
> process to enable download/debugging over WiFi from within Eclipse? 
>

Yes it basically just works.
 

> 3) Are there any "gotchas" that I should look out for? 
>

ADB over TCP likes to timeout without realizing it, at which point you have 
to manually disconnect and reconnect.  The -s parameter to adb must be in 
the form of ipaddress:port when specifying a tcp target.  

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to