Comment 6 for bug 1051938

Revision history for this message
Rohan "HEXcube" Villoth (hexcube) wrote :

This bug is related to https://bugs.launchpad.net/ubuntu/+source/android-tools/+bug/1132523 filed under the same project. Both bugs are the result of a single problem and a solution would solve both of them. The problem is that the udev rule created by android-tools in /lib/udev/rules.d/51-android-rules.rules assigns GROUP="adbusers".This is a nonexistant group. I solved the bug by changing the GROUP="adbusers" entries to GROUP="plugdev". I'm attaching the fixed /lib/udev/rules.d/51-android-rules.rules file.

According to https://bugs.launchpad.net/ubuntu/+source/android-tools/+bug/1132523, an alternative would be to create a 'postinst' script in 'android-rules' package to run the command
groupadd -r adbusers
This is the ideal method,but i haven't tested it.

The latest rules 70-android-rules-adb.rules in Ubuntu 14.04 Trusty Tahr's development version of android-tools-adb contain entirely different rules. They seem to contain fixes for mtp,mass-storage mode when used with usb-debugging.