[SM-T510/T515] Multidisabler: encryption, Vaultkeeper, proca, auto-restore

Search This thread

Magendanz

Senior Member
Mar 25, 2008
961
1,017
Issaquah, WA
www.Vote4Chad.com
UPDATE: @ianmacd has added support for the Galaxy Tab A 10.1 (2019) to his Multidisabler script, so this version will no longer be maintained. Click here for the latest build.

This is a quick-n-dirty port of @ianmacd's Galaxy S10 Multidisabler for the Galaxy Tab A 10.1 [SM-T510/T515]. For more details on its operation, please refer to the original topic here.

The following features will be disabled by the multi-disabler:
  • FBE (file-based encryption): Without this, TWRP cannot read files on /data (the userdata partition). You will need to format /data after disabling FBE. Back your data up first!
  • Vaultkeeper: Magisk now dynamically disables this during boot, but if you boot outside of Magisk, it will return with a vengeance.
  • Process authentication (a.k.a. proca): This service must be disabled in order to use a custom kernel without problems. If you're using TWRP, you're using a custom kernel, because the same kernel is shared by Magisk.
  • Stock recovery restoration: In certain circumstances, your device will auto-restore its stock recovery partition, overwriting your custom recovery. Magisk now also provides dynamic protection against this, but this will not save you if you boot outside of Magisk.

Notes:
  • I removed the interactive mode, since I didn't have time to rewrite the q_and_a() procedure to remove the Bixby button usage.
  • The multi-disabler is written in Bourne shell, so you can audit the source code yourself to ensure its safe operation.
  • The code is idempotent, which means you can safely flash the disabler multiple times without fear of unintended side-effects.

Download: multidisabler-t51x-1.41.zip

All credit here goes to Ian, who doesn't even seem to have a donation link. Send some good karma his way if you can, though.
 
Last edited:

Magendanz

Senior Member
Mar 25, 2008
961
1,017
Issaquah, WA
www.Vote4Chad.com
Note that this doesn't replace the custom kernel. I'll probably be streamlining the process at some point, but for now you've still got to install NoKnox first to get the custom kernel before running this shell script.
 
  • Like
Reactions: zfk110
This is a quick-n-dirty port of @ianmacd's Galaxy S10 Multidisabler for the Galaxy Tab A 10.1 [SM-T510/T515]. For more details on its operation, please refer to the original topic here.

Further multidisabler forks are starting to sprout for the various new system-as-root Pie devices that Samsung is launching onto the market, so it's probably a good idea to consolidate the minor changes required by all of these in the original. Otherwise, things will quickly spiral out of control, with only some clones for some devices having the latest changes, and no-one except those able to read code really sure exactly what they're flashing onto their device.

To that end, here's a test zip with support for the Tab A 10.1, as well as a few other hitherto unsupported devices. Let me know if this works as expected and I'll issue a new release.
 

Attachments

  • multidisabler-samsung-1.5.zip
    3 KB · Views: 696

lewmur

Senior Member
Apr 30, 2011
2,461
523
I'm running the Nexus ROM with Magisk 20.1. Am I correct in my reading that I'm covered and don't need to install the multi-disabler?:confused:
 

Top Liked Posts

  • There are no posts matching your filters.
  • 3
    UPDATE: @ianmacd has added support for the Galaxy Tab A 10.1 (2019) to his Multidisabler script, so this version will no longer be maintained. Click here for the latest build.

    This is a quick-n-dirty port of @ianmacd's Galaxy S10 Multidisabler for the Galaxy Tab A 10.1 [SM-T510/T515]. For more details on its operation, please refer to the original topic here.

    The following features will be disabled by the multi-disabler:
    • FBE (file-based encryption): Without this, TWRP cannot read files on /data (the userdata partition). You will need to format /data after disabling FBE. Back your data up first!
    • Vaultkeeper: Magisk now dynamically disables this during boot, but if you boot outside of Magisk, it will return with a vengeance.
    • Process authentication (a.k.a. proca): This service must be disabled in order to use a custom kernel without problems. If you're using TWRP, you're using a custom kernel, because the same kernel is shared by Magisk.
    • Stock recovery restoration: In certain circumstances, your device will auto-restore its stock recovery partition, overwriting your custom recovery. Magisk now also provides dynamic protection against this, but this will not save you if you boot outside of Magisk.

    Notes:
    • I removed the interactive mode, since I didn't have time to rewrite the q_and_a() procedure to remove the Bixby button usage.
    • The multi-disabler is written in Bourne shell, so you can audit the source code yourself to ensure its safe operation.
    • The code is idempotent, which means you can safely flash the disabler multiple times without fear of unintended side-effects.

    Download: multidisabler-t51x-1.41.zip

    All credit here goes to Ian, who doesn't even seem to have a donation link. Send some good karma his way if you can, though.
    1
    Note that this doesn't replace the custom kernel. I'll probably be streamlining the process at some point, but for now you've still got to install NoKnox first to get the custom kernel before running this shell script.