19 lines
1.1 KiB
Bash
19 lines
1.1 KiB
Bash
#!/bin/sh
|
|
|
|
#droid-hal-cosmopda-bin had these, uncertain if they are needed with the new LineageOS based generic android rootfs
|
|
#mount -o ro,bind /usr/libexec/droid-hybris/vendor/lib64/hw/audio.primary.mt6771.so /vendor/lib64/hw/audio.primary.mt6771.so
|
|
#mount -o ro,bind /usr/libexec/droid-hybris/vendor/lib64/libmtk-ril.so /vendor/lib64/libmtk-ril.so
|
|
|
|
#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
|
|
|