I am developing on Android and I am running Ubuntu. I have a really hard time getting the device 'Online'. I already tried:
- All the udev rules that can be found on the internet.
- Add the .ini file in the .android folder.
- The usual reboot computer, deivce, unplug device, uncheck developer and recheck it ...
At the moment I just spent about 30minutes to one houre just changing USB ports, rebooting the computer, device. And after a while it always works. But this is getting really frustrating spending so much time just to get the device recognized.
Something I noticed. When I spam adb devices while booting the tablet:
student@terminal32:~$ ./adb devices
List of devices attached
46411960A012FCCE device
student@terminal32:~$ ./adb devices
List of devices attached
46411960A012FCCE device
student@terminal32:~$ ./adb devices
List of devices attached
student@terminal32:~$ ./adb devices
List of devices attached
student@terminal32:~$ ./adb devices
List of devices attached
???????????? offline
student@terminal32:~$ ./adb devices
List of devices attached
???????????? offline
At first it recognized my devices, but then when it is fully booted, it apears to be offline anyway.
Can any one give me some tips on what I can do to fix this frustrating problem. And maybe someone can give me some inside on what the problem actually is, why does it still work after 30 minutes to one hour ?
It happend to me recently, change your phone usb connection to PTP camera.