Search code examples
androiddebuggingusbbattery

samsung galaxy s 2 debugging without battery


I am currently doing quite a lot of android development and I am usung my galaxy s 2 to debug via usb. I was wondering if there was a way to debug without having to keep the battery in the phone as I dont want to wear it out (the battery life is short enough as it is! lol)

I'm guessing this would require some device that completes the circuit in the same way as the battery does and swapping it for the battery whenever I want to debug. that or just get a second battery?

Just thought that I'd ask on here hoping that one of the other android developers have also had this problem and found a solution :)


Solution

  • If your phone is rooted you can debug over wifi. No idea why this isn't available for non-rooted phones.

    How can I connect to Android with ADB over TCP?

    If you don't want to debug but just run then you could use EStrong File Explorer to install and run the app over your LAN via wifi.