summaryrefslogtreecommitdiff
path: root/android-tools/adbroot.sh
blob: 4910788a3e35b8f2baf2e4dd63a00b4dabb348bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/system/bin/sh
#
# Author: Linaro Validation Team <linaro-dev@lists.linaro.org>
#
# These files are Copyright (C) 2012 Linaro Limited and they
# are licensed under the Apache License, Version 2.0.
# You may obtain a copy of this license at
# http://www.apache.org/licenses/LICENSE-2.0

# same as "adb root" on host side
stop adbd
setprop service.adb.root 1
start adbd