Adding patched libmtk-ril.so to reduce cpu usage by mtkfusionrild
This commit is contained in:
parent
8714f77d90
commit
68538c8adb
2 changed files with 3 additions and 0 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
BIN
usr/libexec/droid-hybris/vendor/lib64/libmtk-ril.so
vendored
Executable file
BIN
usr/libexec/droid-hybris/vendor/lib64/libmtk-ril.so
vendored
Executable file
Binary file not shown.
Loading…
Add table
Reference in a new issue