Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Retention Script Incompatibilities #179

Open
B00daW opened this issue Nov 1, 2024 · 0 comments
Open

Retention Script Incompatibilities #179

B00daW opened this issue Nov 1, 2024 · 0 comments

Comments

@B00daW
Copy link

B00daW commented Nov 1, 2024

i was having issues with ota scripts doubling magisk scripts making recovery install two instances of magisk into /boot at once when newer versions of magisk were installed and kitsune was uninstalled. this ended up with the magisk binaries in /boot being corrupt

turns out the issue kitsune mask (magisk-delta) installed its own preservation script in /system/ as 99-magisk.sh with a recursive directory "addon.d"

the script looks at /system/addon.d/ for the kitsune binaries, but as a backup looks into /data/adb/magisk for the binaries to preserve into /boot

the conflict is resolved after uninstalling kitsune mask and renaming the file extension of 99-magisk.sh or removing it and the recursive and respective "addon.d" directory that follows.

newer versions of magisk will then work as designed for ota updates to retain magisk

please include a kitsune flashzip uninstaller that cleans remnants of kitsune

it could be as simple as:
rm -f /system/99-magisk.sh
rm -fr /system/addon.d/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant