How to configure Android adb without using the mini-usb

android serial lines debugAs presented in an earlier blog post, the Android adb daemon (in the host device) can be set to listen for requests coming from wifi or ethernet instead of the default usb. This process is common for the majority of Android smartphone/tablets and in order to achieve it, the host device must receive at least a set of initialisation commands sent throughout the mini-usb connector.

The mini-usb is a very good connector but when you have to disconnect and reconnect it many times, it may fail or broke. As a consequence, having a mini-usb connector that does not work, means that you can not upload your apks, debug and in general manage your Android device. Continue reading

Mounting Additional USB Storage Devices on Android

On all the Ltouch products, once a USB Storage is connected to one of the four USB connectors available, the Android system will automatically mount it on /mnt/usb and you will be able to see it from the System Preferences/Storage.

However, this happens only for the first USB storage device that you plug. If you need to mount additional Flash memories, you need to manually tell Android how (and where) to set it up. Continue reading

How to set Android Brightness through Adb

brightness icon (www.picol.org)In this post I’d like to show you how to adjust the Android Brightness using Adb. This could be particularly useful when for instance you accidentally set the brightness to small values, therefore you are not able to get back to a value that let you see what is going on.

I’ve tested the following procedure for the Ltouch Android panels and Android development boards, however this procedure is quite general that you can easily use on any Android devices.

The first step is to connect the Android devices to your PC using the mini-usb cable. On Windows, you have to install first the Android usb driver provided by Google (OEM) or by the device’s manufacturer. More info on that on this wiki. On Linux/Mac, no driver is needed.

Continue reading

How to set the Android Adb over Wifi

android wifi connection panelIn this post I’d like to describe you how to set adb over Wifi or Ethernet. As you probably already know, the adb (a.k.a. Android Debug Bridge) is a powerful tool that allows you to shell directly to the emulator or to a connected real device. Indeed, many other actions are available, such as:

  • copying files from/to the device
  • installing and removing and apps
  • managing port forwarding
  • making backup and restoring older archives
  • partitions synchronization
  • seeing the log from the device
  • checking for bug report

Continue reading