No description
Find a file
David Pursell d2acbd1931 adb: add help text for USB permission errors.
The current permission messages can be confusing for users who don't
know about udev and USB access permissions. This CL adds some checks to
try to identify common udev problems, and adds a link to online
documentation.

Example messages:

1) adb server is in plugdev group but access is still denied:
$ adb devices
List of devices attached
082f59270073e1e3  no permissions (verify udev rules); see [developer.android.com/tools/device.html]

2) plugdev group exists but adb server is not in it:
$ adb shell
error: USB permission failure: udev requires plugdev group membership.
See [developer.android.com/tools/device.html] for more information.

3) plugdev group does not exist:
$ adb shell
error: USB permission failure.
See [developer.android.com/tools/device.html] for more information.

Bug: http://b/25777880
Change-Id: I536565adc12ab657c75151309795674181205db0
2015-12-03 11:00:47 -08:00
adb adb: add help text for USB permission errors. 2015-12-03 11:00:47 -08:00
adf Adf: Remove unused variable 2015-07-27 22:08:16 -07:00
base Introduce unique_fd 2015-11-18 12:01:24 -08:00
cpio fs_config: replace getenv('OUT') by new fs_config parameter 2015-07-09 21:47:07 -07:00
crash_reporter crash_reporter: Use cacerts_google 2015-11-23 17:55:11 -08:00
debuggerd debuggerd: remove some levels of indentation. 2015-11-17 14:44:50 -08:00
fastboot fastboot: create Transport object (take 2). 2015-11-16 09:31:07 -08:00
fingerprintd Fingerprint: Add HAL close() code 2015-07-10 16:26:32 -07:00
fs_mgr fs_mgr: set partition.*.verified property even without state 2015-10-30 13:14:38 +00:00
gatekeeperd [gatekeeperd] copy uid to local before passing to u_map 2015-11-05 11:09:21 -08:00
healthd healthd: Support new PD and USB Type C types 2015-11-12 18:12:43 -08:00
include Merge "libutils: fix cache removal when callback invalidates the key" 2015-11-20 17:09:10 +00:00
init init: Don't ignore setsockcreatecon errors 2015-11-23 17:09:49 -08:00
libbacktrace Change the way some maps are printed. 2015-11-30 14:39:52 -08:00
libbinderwrapper libbinderwrapper: Add GetCallingUid() and GetCallingPid(). 2015-10-16 09:04:33 -06:00
libcutils fs_config.c: Remove obsolete reference to /system/bin/pppd-ril 2015-11-30 09:17:18 -08:00
libdiskconfig am eb075e28: am c8179498: am 2f62edf7: Merge "libdiskconfig: Turn on -Werror" 2014-05-21 21:19:27 +00:00
libion am 8d2cd035: am 2ddb9cb1: am ed43be39: Merge "Remove LOCAL_ADDITIONAL_DEPENDENCIES in cases where it\'s not needed." 2015-04-02 22:07:16 +00:00
liblog liblog: enable windows builds in soong 2015-11-30 15:57:41 -08:00
libmemtrack Remove a hack for getting libpagerank's headers. 2015-09-22 22:35:30 -07:00
libmincrypt Enable clang compilation. 2015-05-15 16:13:19 -07:00
libnativebridge Use __ANDROID__ instead of HAVE_ANDROID_OS. 2015-07-30 09:33:43 -07:00
libnetutils am fb1ecbc5: am e6e71608: Merge "Use __ANDROID__ instead of HAVE_ANDROID_OS." 2015-07-30 16:50:15 +00:00
libpackagelistparser packagelistparser: rename to libpackagelistparser 2015-11-05 12:12:38 -08:00
libpixelflinger Add explicit cast to shut off clang warnings. 2015-11-23 09:07:16 -08:00
libprocessgroup processgroup: change the polling interval for killProcessGroup() 2015-06-16 13:59:32 -07:00
libsparse Fix parameter to lseek 2015-10-20 14:15:31 -07:00
libsuspend Adds a parameter to the wakeup_callback to report sucessful wakeup or suspend aborts. 2015-06-25 13:15:22 -07:00
libsync Fix isValid() condition for libsync tests 2015-11-05 10:07:53 -08:00
libsysutils Fix incorrectly sized buffer. 2015-07-28 17:56:06 +09:00
libusbhost libusbhost: Fix problem reading USB string descriptors on some quirky devices 2015-06-18 13:38:31 -07:00
libutils libutils: fix cache removal when callback invalidates the key 2015-11-20 14:54:51 +00:00
libziparchive Fix bug in writing zips. 2015-11-05 10:48:05 -08:00
lmkd Enable hidepid=2 on /proc 2015-11-09 09:08:46 -08:00
logcat liblog: logd: support logd.timestamp = monotonic 2015-11-03 15:15:51 -08:00
logd Merge "Revert "liblog: resolve deadlocks"" 2015-11-16 19:07:47 +00:00
logwrapper am eaf04aa0: am 3b94cef1: Merge "Add FORK_EXECVP_OPTION_CAPTURE_OUTPUT to logwrap.h" 2015-08-22 02:40:51 +00:00
metricsd metricsd: Add clang format config. 2015-12-02 16:42:11 +00:00
mkbootimg mkbootimg: misc typo fixes 2015-06-04 09:59:01 -07:00
reboot reboot: Turn on -Werror 2014-05-21 12:58:38 -07:00
rootdir Fix non-vendor.img configuration. 2015-11-17 11:20:21 +09:00
run-as Fix the run-as environment to better match su. 2015-11-03 14:31:46 -08:00
sdcard sdcard: use libpackageparser 2015-10-22 22:52:35 +00:00
toolbox Improve top(1) compatibility and interactive usefulness. 2015-11-13 08:30:12 -08:00
trusty/libtrusty Merge "Revert "[core][trusty] add gatekeeper module"" 2015-09-16 22:54:14 +00:00
tzdatacheck Executable to run on boot that removes old tzdata if needed 2015-04-13 11:38:32 +01:00
.gitignore Ignore adb/*.pyc files 2015-08-11 12:59:58 -07:00
Android.mk Remove the simulator target from all makefiles. 2011-07-11 22:12:32 -07:00
CleanSpec.mk Add a CleanSpec for grep/toolbox. 2015-03-22 18:04:54 -07:00
MODULE_LICENSE_APACHE2 auto import from //depot/cupcake/@135843 2013-07-30 13:56:49 -07:00
NOTICE Fix omission in NOTICE file. 2013-07-30 13:56:55 -07:00