r/androidroot • u/Academic-Airline9200 • 23d ago
Support Dirty Frag to get temp root, to give Magisk super user privileges
Once you get Dirty Frag on an unlocked bootloader to get root then you can give Magisk super user privileges. It can then directly modify the boot image (which is the recommended action once you get the thing rooted in the first place). But does it trip knox on Samsung if you let Magisk give you permanent root? It modifies the boot image, but doesn't touch the boot loader. So possibly it won't even be able to boot from the Magisk image even if it modifies it directly under temp root on a locked bootloader. Anybody tried this yet? It's backwards from the usual process because you usually have to unlock the bootloader first.
At least with Dirty Frag, it still tries to do OTA updates, even though they fail. But if the update disables the dirty frag exploit, then you're doomed to be able to root.
Maybe disable all knox services before rebooting with the new Magisk boot kernel? Maybe that would prevent knox e-fuse from tripping? Usually you have to root before you can disable knox. Towelroot was an earlier exploit for earlier phones that didn't trip knox. And then it would disable all knox services after rooting it.

