From d627502bb074e8982cb86ce86de5fb3e35b310d1 Mon Sep 17 00:00:00 2001 From: Steven Moreland Date: Fri, 24 Mar 2017 16:23:07 +0000 Subject: [PATCH] Revert "Revert "Start hwservicemanager earlier."" This reverts commit 5011270225b7b61cd485cb67f694d15d8570a0e1. Now starting even earlier. Reason for revert: Needed change, reverted b/c broken device. Bug: 36278706 Test: original DOA device boots Test: angler, bullhead, fugu, marlin, ryu Test: all these devices boot with wipe Test: all these devices boot with w/o wipe Test: lshal shows all included services Change-Id: Ic639aedf7834b1bd3a26d23d109727f5559317e9 --- rootdir/init.rc | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/rootdir/init.rc b/rootdir/init.rc index 0045fd609..7091ab95b 100644 --- a/rootdir/init.rc +++ b/rootdir/init.rc @@ -299,6 +299,8 @@ on late-init on post-fs start logd + start hwservicemanager + # once everything is setup, no need to modify / mount rootfs rootfs / ro remount # Mount shared so changes propagate into child namespaces @@ -589,8 +591,9 @@ on boot # Define default initial receive window size in segments. setprop net.tcp.default_init_rwnd 60 - # Start all binderized HAL daemons - start hwservicemanager + # Start standard binderized HAL daemons + class_start hal + class_start core on nonencrypted