aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcodeworkx <daniel.hillenbrand@codeworkx.de>2018-01-28 20:54:13 +0100
committerDavide Garberi <dade.garberi@gmail.com>2018-02-03 19:30:33 +0100
commit77bd29f901857782e36ad42bfcc5770b98bc4704 (patch)
treee35800004bd8ecd094f95d140b9c204244aa2c9d
parent859991afc3f88320aa5644cbf8d48562daad937c (diff)
msm8996: init: restart audio-hal-2-0 during decryption
qcoms fantastic libaudiodevarb.so holds an open file handle on /data/misc/audio/aud_devi_arbi which prevents vold from unmounting tmpfs data and mounting real data after decrypting. Change-Id: I7d676b38fea9dbca3c2218085802bd20be267c57 Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
-rwxr-xr-xrootdir/etc/init.qcom.rc7
1 files changed, 7 insertions, 0 deletions
diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc
index 9de24d1..72a46ed 100755
--- a/rootdir/etc/init.qcom.rc
+++ b/rootdir/etc/init.qcom.rc
@@ -694,6 +694,13 @@ on property:bluetooth.dun.status=stopped
on property:ro.bluetooth.ftm_enabled=true
start ftmd
+on property:vold.decrypt=trigger_reset_main
+ stop audio-hal-2-0
+
+on property:vold.decrypt=trigger_restart_framework
+ start audio-hal-2-0
+ start config_bt_addr
+
on property:persist.env.fastdorm.enabled=true
setprop persist.radio.data_no_toggle 1