From 2f2c98869b5391310965c7d154c68f4b28e0ccfb Mon Sep 17 00:00:00 2001 From: Todd Poynor Date: Tue, 4 Jun 2013 13:11:44 -0700 Subject: start healthd in recovery Change-Id: I16e3e0ddb8ca062431deb4be83c5be5eb786d76f --- etc/init.rc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'etc') diff --git a/etc/init.rc b/etc/init.rc index abc7b318b..b26d2ae73 100644 --- a/etc/init.rc +++ b/etc/init.rc @@ -2,6 +2,7 @@ import /init.recovery.${ro.hardware}.rc on early-init start ueventd + start healthd on init export PATH /sbin @@ -40,6 +41,9 @@ on boot service ueventd /sbin/ueventd critical +service healthd /sbin/healthd -n + critical + service recovery /sbin/recovery service adbd /sbin/adbd recovery -- cgit v1.2.3 From 77ea71d6a85a93c9bf423466e87661b1bf67c512 Mon Sep 17 00:00:00 2001 From: Doug Zongker Date: Fri, 30 Aug 2013 12:20:16 -0700 Subject: recovery: fix rebooting Change I84c0513acb549720cb0e8c9fcbda0050f5c396f5 moved reboot functionality into init but did not update the recovery partition; so "adb reboot" and /system/bin/reboot in recovery are both broken. Change-Id: Ie2d14627a686ffb5064256b6c399723636dff116 --- etc/init.rc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'etc') diff --git a/etc/init.rc b/etc/init.rc index b26d2ae73..9d1da1d6a 100644 --- a/etc/init.rc +++ b/etc/init.rc @@ -38,6 +38,9 @@ on boot class_start default +on property:sys.powerctl=* + powerctl ${sys.powerctl} + service ueventd /sbin/ueventd critical -- cgit v1.2.3 From cc2958fd7f32f79d1a034eee005e04afeb310a87 Mon Sep 17 00:00:00 2001 From: Doug Zongker Date: Wed, 11 Sep 2013 13:24:32 -0700 Subject: fix secure adb in recovery Recovery's init.rc was missing a line (added to the main system's init.rc in change Ic97fd464440ff4a29fc9da7ad15949ac5215ade3) is required for secure adb to work. Change-Id: Id79b94d2abb4cbe3cca7cabeb4bc5faf7205e56b --- etc/init.rc | 1 + 1 file changed, 1 insertion(+) (limited to 'etc') diff --git a/etc/init.rc b/etc/init.rc index 9d1da1d6a..175489066 100644 --- a/etc/init.rc +++ b/etc/init.rc @@ -51,6 +51,7 @@ service recovery /sbin/recovery service adbd /sbin/adbd recovery disabled + socket adbd stream 660 system system # Always start adbd on userdebug and eng builds on property:ro.debuggable=1 -- cgit v1.2.3