Adding patched libmtk-ril.so to reduce cpu usage by mtkfusionrild

This commit is contained in:
Adam Boardman 2021-04-09 22:48:00 +01:00
parent 8714f77d90
commit 68538c8adb
2 changed files with 3 additions and 0 deletions

View file

@ -1,5 +1,8 @@
#!/bin/sh #!/bin/sh
#patched to reduce cpu usage of mtkfusionrild
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 #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.secure_element@1.0-service.rc
mount -o ro,bind /dev/null /vendor/etc/init/android.hardware.keymaster@3.0-service.rc mount -o ro,bind /dev/null /vendor/etc/init/android.hardware.keymaster@3.0-service.rc

Binary file not shown.