Solution for Android Device not detecting in ADB (Ubuntu)

If your Android device is not detected in ADB in Ubuntu and showing error like List of devices attached ????????? (no permissions) follow these instructions or something like below, List of devices attached then below steps may help to solve the issue. Change the first ‘ATTR{idProduct}’ to ‘ATTR{idVendor}’ in the 51-android.rules file. It can be found in /etc/udev/rules.d/51-android.rules. Kill the adb server and start it again using the below commands with sudo permission. [Read More]

Read-Only and Read-Write in Android File System

If you try to create any folder or push any file using ADB to android file systems like /system and if it is mounted as Read-Only then it may shows error code like “failed to copy files to ‘/system/lib//cfg80211.ko’: Read-only file system. In this case you nee,d to remount it as Read-Write(RW). Below are the commands for this. For re-mounting as read-write, $ mount -o rw,remount /system For remounting root, //will be used for pushing init. [Read More]