From 12a888a0fe56914c1ed57ea5275695f9c50258c0 Mon Sep 17 00:00:00 2001 From: Matchbox Bazz Date: Wed, 30 Sep 2015 09:14:04 +0800 Subject: [PATCH 1/2] init mofd remove system in group mediaserver init mofd remove system in group media server as the commit here https://github.com/quanganh2627/android_device_intel_common/commit/5265638144e4d3dd97a80a4f787587c3da34e562 this system in system group in mediaserver is use for WIDI and Sync framework since we don't use WIDI may be we can try to remove this on group and test more if other will affect or give problem --- rootdir/etc/init.mofd_v1.rc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rootdir/etc/init.mofd_v1.rc b/rootdir/etc/init.mofd_v1.rc index 999ee92..f02c87a 100644 --- a/rootdir/etc/init.mofd_v1.rc +++ b/rootdir/etc/init.mofd_v1.rc @@ -438,7 +438,7 @@ service cdrom /system/bin/sh /system/etc/init.cdrom.sh service_redefine media /system/bin/mediaserver class main user media - group audio camera inet net_bt net_bt_admin net_bw_acct drmrpc mediadrm radio system + group audio camera inet net_bt net_bt_admin net_bw_acct drmrpc mediadrm radio ioprio rt 4 service_redefine keystore /system/bin/keystore /data/misc/keystore From f23b54e212592340284864f28eef4aaf955ccce6 Mon Sep 17 00:00:00 2001 From: Matchbox Bazz Date: Wed, 30 Sep 2015 12:15:25 +0800 Subject: [PATCH 2/2] clean up setprop startsurfaceflinger the default is 0 so its useless to add here repeatedly If property system_init.startsurfaceflinger is not defined, or if it is defined as "1", then system_server will start its internal surfaceflinger thread. Otherwise, not. https://github.com/quanganh2627/android_device_intel_common/commit/4d5302b222ae8d0f62a9b8911530b0e05426696a --- rootdir/etc/init.mofd_v1.rc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rootdir/etc/init.mofd_v1.rc b/rootdir/etc/init.mofd_v1.rc index f02c87a..676f5b1 100644 --- a/rootdir/etc/init.mofd_v1.rc +++ b/rootdir/etc/init.mofd_v1.rc @@ -114,7 +114,7 @@ on boot setprop persist.service.cwsmgr.nortcoex 0 # Set this property so surfaceflinger is not started by system_init - setprop system_init.startsurfaceflinger 0 +# setprop system_init.startsurfaceflinger 0 # Reboot in COS on shutdown request when charger is plugged setprop ro.rebootchargermode true