projects
/
android-command-line.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
13a2264
)
fix error: insufficient permissions for device
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Sat, 25 Sep 2010 11:59:59 +0000
(13:59 +0200)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Sat, 25 Sep 2010 11:59:59 +0000
(13:59 +0200)
adb-as-root.sh
[new file with mode: 0755]
patch
|
blob
diff --git a/adb-as-root.sh
b/adb-as-root.sh
new file mode 100755
(executable)
index 0000000..
092da67
--- /dev/null
+++ b/
adb-as-root.sh
@@ -0,0
+1,8
@@
+#!/bin/sh -x
+
+# restart adb as root to fix
+# error: insufficient permissions for device
+
+adb=`which adb`
+$adb kill-server
+sudo $adb devices