Stopped some vendor init's from loading invalid or builtin kernel modules
This commit is contained in:
parent
dddca3d22a
commit
063dfac9d6
1 changed files with 10 additions and 0 deletions
|
|
@ -7,3 +7,13 @@
|
|||
#disable secure_element and keymaster as they always fail
|
||||
mount -o ro,bind /dev/null /vendor/etc/init/android.hardware.secure_element@1.0-service.rc
|
||||
mount -o ro,bind /dev/null /vendor/etc/init/android.hardware.keymaster@3.0-service.rc
|
||||
|
||||
#disable loading of the vendor wlan and bt kernel modules as we include it in our kernel anyway
|
||||
mount -o ro,bind /dev/null /vendor/etc/init/init.wlan_drv.rc
|
||||
mount -o ro,bind /dev/null /vendor/etc/init/init.bt_drv.rc
|
||||
mount -o ro,bind /dev/null /vendor/etc/init/init.wmt_drv.rc
|
||||
|
||||
#disable loading of the vendor fmradio and gps drivers as we build and launch our own within gemian
|
||||
mount -o ro,bind /dev/null /vendor/etc/init/init.fmradio_drv.rc
|
||||
mount -o ro,bind /dev/null /vendor/etc/init/init.gps_drv.rc
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue