From ea797e99ce4299c26678eae8ac7cd74e541c04e1 Mon Sep 17 00:00:00 2001 From: Pawit Pornkitprasan Date: Sun, 1 Apr 2012 09:29:21 +0700 Subject: aries-common: adb root in recovery The new root-prevention system setting doesn't work in recovery, so we always start it as root. --- recovery.rc | 2 ++ 1 file changed, 2 insertions(+) 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 -- cgit v1.1