Closed wiredroid closed 2 years ago
@huskydg sent me this. Some terminal command but maybe you could update the library to include them.
"If magisk modules mount too late, you can use early-init mount"
mkdir -p "$(magisk --path)/.magisk/mirror/early-mount/system/vendor/vintf" for i in
grep -lr 'security.wsm' /vendor/etc/vintf; do rm -rf "$(magisk --path)/.magisk/mirror/early-mount/system/vendor/vintf/$i" if [ ! -z $i ]; then cp -af "$i" "$(magisk --path)/.magisk/mirror/early-mount/system/vendor/vintf/$i" sed -i "$((
awk '/security.wsm/ {print FNR}' $i-1)),/<\/hal>/d" "$(magisk --path)/.magisk/mirror/early-mount/system/vendor/vintf/$i"; fi done
Early mount is Magisk Delta specific feature.
mkdir -p "$(magisk --path)/.magisk/mirror/early-mount/system/vendor/vintf"
for i in `grep -lr 'security.wsm' /vendor/etc/vintf`; do
rm -rf "$(magisk --path)/.magisk/mirror/early-mount/system/vendor/vintf/$i"
if [ ! -z $i ]; then
cp -af "$i" "$(magisk --path)/.magisk/mirror/early-mount/system/vendor/vintf/$i"
sed -i "$((`awk '/security.wsm/ {print FNR}' $i`-1)),/<\/hal>/d" "$(magisk --path)/.magisk/mirror/early-mount/system/vendor/vintf/$i";
fi
done
Hi! Sadly this isn't relevant with official release. Any plan for a pull request of this feature? Is MAGISK_VER variable always ended with "delta"? I need a way to detect your magisk fork.
Detect the existence of $(magisk --path)/.magisk/mirror/early-mount
Hi! Sadly this isn't relevant with official release. Any plan for a pull request of this feature? Is MAGISK_VER variable always ended with "delta"? I need a way to detect your magisk fork.
It seems 99,9% the author of Magisk will not want to add this feature.
I pushed a commit to handle this. Thanks for the suggestion.
Hey, Thanks for this module. I connect to my Bluetooth devices ok but my watch 4 keeps resetting and saying to pair with your new device you have to reset watch. My issue is I'm running Magisk only device is still encrypted with stock recovery and stock kernel as I don't want to run a passive kernel. My vendor partition is also read only Is there anything I can do?