When attaching Android devices on Ubuntu system, they mayn't be recognized by adb directly. Therefore, extra steps are needed to make them ready for usage.
1. figure out the device id by lsusb, refer to https://askubuntu.com/questions/166420/how-to-detect-an-usb-device
How to detect an USB device?I got a