From b5ca27b6ad62d21754bf9aa6ad2615d5d551b9e8 Mon Sep 17 00:00:00 2001 From: Dobrica Pavlinusic Date: Sat, 25 Sep 2010 13:59:59 +0200 Subject: [PATCH] fix error: insufficient permissions for device --- adb-as-root.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 adb-as-root.sh diff --git a/adb-as-root.sh b/adb-as-root.sh new file mode 100755 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 -- 2.20.1