summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPawit Pornkitprasan <p.pawit@gmail.com>2012-04-01 09:29:21 +0700
committerPawit Pornkitprasan <p.pawit@gmail.com>2012-04-01 09:29:26 +0700
commitea797e99ce4299c26678eae8ac7cd74e541c04e1 (patch)
tree0d3b3ec6508e39d941273322f7126d39ad2d6ec0
parent70e8b5b4879034b05c7e92b242f51218dc570fcb (diff)
downloaddevice_samsung_aries-common-ea797e99ce4299c26678eae8ac7cd74e541c04e1.zip
device_samsung_aries-common-ea797e99ce4299c26678eae8ac7cd74e541c04e1.tar.gz
device_samsung_aries-common-ea797e99ce4299c26678eae8ac7cd74e541c04e1.tar.bz2
aries-common: adb root in recovery
The new root-prevention system setting doesn't work in recovery, so we always start it as root.
-rw-r--r--recovery.rc2
1 files changed, 2 insertions, 0 deletions
diff --git a/recovery.rc b/recovery.rc
index 547437e..881eeb7 100644
--- a/recovery.rc
+++ b/recovery.rc
@@ -273,8 +273,10 @@ service adbd /sbin/adbd
disabled
# Always start adbd on userdebug and eng builds
+# In recovery, always run adbd as root.
on property:ro.debuggable=1
setprop sys.usb.config mass_storage,adb
+ setprop service.adb.root 1
# Restart adbd so it can run as root
on property:service.adb.root=1