From 179ec0306723d887ffc80c0a2212fdba7bd557d3 Mon Sep 17 00:00:00 2001 From: SamarV-121 Date: Wed, 7 Jul 2021 12:36:57 +0530 Subject: [PATCH] universal7885: rootdir: Simplify bdaddr_path why even bother bind mouting it also its gonna create conflict with seperate sec_efs partition which A series have Change-Id: I597af331f53942cce5fa9a3e78af35a5f57ae68e Signed-off-by: SamarV-121 --- rootdir/etc/init.exynos7904.rc | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/rootdir/etc/init.exynos7904.rc b/rootdir/etc/init.exynos7904.rc index 297d3ef..2cc9302 100644 --- a/rootdir/etc/init.exynos7904.rc +++ b/rootdir/etc/init.exynos7904.rc @@ -184,16 +184,16 @@ on post-fs-data chown system camera /sys/class/camera/flash/rear_flash # permissions for bluetooth. - setprop ro.bt.bdaddr_path "/efs/bluetooth/bt_addr" + setprop ro.bt.bdaddr_path "/mnt/vendor/efs/bluetooth/bt_addr" chown bluetooth bluetooth ro.bt.bdaddr_path # for BT MAC address - mkdir /efs/bluetooth 0770 system bluetooth + mkdir /mnt/vendor/efs/bluetooth 0770 system bluetooth # if already exist - chown system bluetooth /efs/bluetooth - chown system bluetooth /efs/bluetooth/bt_addr - chmod 0770 /efs/bluetooth - chmod 0660 /efs/bluetooth/bt_addr + chown system bluetooth /mnt/vendor/efs/bluetooth + chown system bluetooth /mnt/vendor/efs/bluetooth/bt_addr + chmod 0770 /mnt/vendor/efs/bluetooth + chmod 0660 /mnt/vendor/efs/bluetooth/bt_addr # Magnetic sensor YAS537 lib mkdir /data/vendor/yas_lib 0770 system system @@ -390,7 +390,6 @@ on boot on fs mount_all /vendor/etc/fstab.${ro.hardware} - mount none /mnt/vendor/efs /efs bind mount none /mnt/vendor/cpefs /cpefs bind restorecon_recursive /mnt/vendor/efs restorecon_recursive /mnt/vendor/cpefs