From 5c220249976e49542152ad69feac6e4861fe6059 Mon Sep 17 00:00:00 2001 From: Giulio Cervera Date: Mon, 1 Jun 2015 14:27:45 +0200 Subject: start taimport once and move it early on post-fs-data Change-Id: Id7411aa4073065d70190b8bfd3f37c9155f72a44 --- rootdir/init.qcom.rc | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/rootdir/init.qcom.rc b/rootdir/init.qcom.rc index 53691cc..d1eb6f9 100644 --- a/rootdir/init.qcom.rc +++ b/rootdir/init.qcom.rc @@ -282,6 +282,10 @@ on post-fs mkdir /dev/socket/suntory 0755 system system on post-fs-data + # Used by taimport for MAC addresses + mkdir /data/etc 0755 root shell + start taimport + mkdir /data/media 0770 media_rw media_rw # Create the directories used by the Wireless subsystem @@ -371,9 +375,6 @@ on post-fs-data chown media camera /sys/devices/sony_camera_1/info chmod 0770 /sys/devices/sony_camera_1/info - # Used by taimport for MAC addresses - mkdir /data/etc - on charger # Enable Power modes and set the CPU Freq Sampling rates write /sys/module/lpm_levels/enable_low_power/l2 2 @@ -420,6 +421,8 @@ service taimport /system/bin/taimport class main user root group system + disabled + oneshot service netmgrd /system/bin/netmgrd class main @@ -651,10 +654,6 @@ on property:service.bootanim.exit=1 chmod 664 /sys/devices/system/cpu/cpu2/online chmod 664 /sys/devices/system/cpu/cpu3/online - # taimport keeps spamming the log unnecessarily, - # stop it as it would've done it's job by now. - stop taimport - on property:init.svc.bootanim=stopped # Switch to ROW and balanced mode after boot for better UX write /sys/class/devfreq/qcom,cpubw.40/governor "cpubw_hwmon" -- cgit v1.2.3