Android Device not recognized by adb

Generally, I think your USB connection should be set to use MTP (Media Transfer), however, I couldn’t get my computer to recognize my device (Nexus 4). Oddly, setting the USB connection to Camera got it working for me.

How to resolve the “ADB server didn’t ACK” error?

Try the following: Close Eclipse. Restart your phone. End adb.exe process in Task Manager (Windows). In Mac, force close in Activity Monitor. Issue kill and start command in \platform-tools\ C:\sdk\platform-tools>adb kill-server C:\sdk\platform-tools>adb start-server If it says something like ‘started successfully’, you are good.

How to use su command over adb shell?

Well, if your phone is rooted you can run commands with the su -c command. Here is an example of a cat command on the build.prop file to get a phone’s product information. This invokes root permission and runs the command inside the ‘ ‘. Notice the 5 end quotes, that is required that you close ALL your end quotes or you … Read more

Using ADB to capture the screen

I’m trying to get a screenshot of the phone screen as fast as possible. Currently, I am doing: However it is too slow and takes up to 3 seconds. Is there any better way to do this? I intend to use this function with an unrooted phone. Also what are the different arguments I can … Read more

How to record Android device’s screen on Android version below 4.4 (KitKat)

This only work in KitKat and via ADB only. This does not work below Kitkat. To start recording your device’s screen, run the following command: adb shell screenrecord /sdcard/example.mp4, This command will start recording your device’s screen using the default settings and save the resulting video to a file at /sdcard/example.mp4 file on your device. When you’re … Read more