Fixes from UBPorts Astro customisation
This commit is contained in:
parent
8022537911
commit
ed3e8e342d
4 changed files with 12 additions and 3 deletions
|
|
@ -1,10 +1,19 @@
|
|||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
|
||||
model=$(</proc/device-tree/model)
|
||||
if [[ "$model" =~ ^(.*)MT6771(.*)$ ]];
|
||||
then
|
||||
#patched to reduce cpu usage of mtkfusionrild - Cosmo
|
||||
mount -o ro,bind /usr/libexec/droid-hybris/vendor/lib64/libmtk-ril.so /vendor/lib64/libmtk-ril.so
|
||||
mount -o ro,bind /usr/libexec/cosmocom-overlay/vendor/lib64/libmtk-ril.so /vendor/lib64/libmtk-ril.so
|
||||
fi
|
||||
|
||||
if [[ "$model" =~ ^(.*)MT6873(.*)$ ]];
|
||||
then
|
||||
# overlay /vendor/bin/vndservicemanager - Astro
|
||||
mount -o bind /usr/share/astroslide-overlay/vendor/bin/vndservicemanager /vendor/bin/vndservicemanager
|
||||
|
||||
# prevent gralloc.default.so from being loaded by libhybris
|
||||
mount -o bind /dev/null /vendor/lib64/hw/gralloc.default.so
|
||||
fi
|
||||
|
||||
#disable secure_element and keymaster as they always fail
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
mkdir -p /dev/cpuset
|
||||
mount none /dev/cpuset -t cpuset -o nodev,noexec,nosuid
|
||||
|
||||
|
|
|
|||
BIN
usr/share/astroslide-overlay/vendor/bin/vndservicemanager
vendored
Executable file
BIN
usr/share/astroslide-overlay/vendor/bin/vndservicemanager
vendored
Executable file
Binary file not shown.
Loading…
Add table
Reference in a new issue