From a685c189e6079629e33f2e4d283b7ce371fa43f9 Mon Sep 17 00:00:00 2001 From: SamarV-121 Date: Wed, 11 Mar 2020 13:49:44 +0530 Subject: [PATCH] sdm710-common: usb: Override stock usb hal service definition * also bind mount to vendor Signed-off-by: SamarV-121 --- rootdir/etc/init.qcom.rc | 1 + usb/android.hardware.usb@1.0-service.basic.rc | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc index 844be2d..711e7ac 100644 --- a/rootdir/etc/init.qcom.rc +++ b/rootdir/etc/init.qcom.rc @@ -4,6 +4,7 @@ on post-fs mount none /system/etc/WCNSS_qcom_cfg.ini /vendor/etc/wifi/WCNSS_qcom_cfg.ini bind mount none /system/lib64/soundfx/libvolumelistener.so /vendor/lib64/soundfx/libvolumelistener.so bind mount none /system/lib/soundfx/libvolumelistener.so /vendor/lib/soundfx/libvolumelistener.so bind + mount none /system/bin/hw/android.hardware.usb@1.0-service.basic /vendor/bin/hw/android.hardware.usb@1.0-service bind on boot # Touchscreen diff --git a/usb/android.hardware.usb@1.0-service.basic.rc b/usb/android.hardware.usb@1.0-service.basic.rc index cbe8f81..7d40898 100644 --- a/usb/android.hardware.usb@1.0-service.basic.rc +++ b/usb/android.hardware.usb@1.0-service.basic.rc @@ -1,4 +1,5 @@ -service vendor.usb-hal-1-0 /vendor/bin/hw/android.hardware.usb@1.0-service.basic +service vendor.usb-hal-1-0 /vendor/bin/hw/android.hardware.usb@1.0-service + override class hal user system group system