Home > Tips and Tricks

How to Uninstall or Remove Magisk Modules [4 Methods]

In this guide, we will show you various methods to uninstall or remove Magisk Modules from your device. One of the biggest perks of gaining administrative access by rooting your device via magisk is the ability to welcome a plethora of mods. From enhancing the performance to adding a plentiful of goodies, these mods bring in a slew of noteworthy additions to the OS.

On the flip side though, there could be a few instances wherein a module might not function along the expected lines, you simply just don’t need that module anymore, or worse among them all, the module has resulted in a bootloop or softbrick. In all these scenarios, there is just one escape route- you will have to uninstall or remove Magisk Module from your device. And in this guide, we will show you how to do just that. Follow along.

How to Uninstall or Remove Magisk Modules

Gien below are four different methods along with their perks and caveats that will help you get this job done. Go through each of them once and then try out the one that is in sync with your requirement. Droidwin and its members wouldn’t be held responsible in case of a thermonuclear war, your alarm doesn’t wake you up, or if anything happens to your device and data by performing the below steps.

Uninstall Magisk Modules

METHOD 1: Boot to Safe Mode

Benefit: This is the easiest method and allows you to uninstall the module of your choice. 
Drawback: It will not work if your device is stuck in a bootloop or has been soft-bricked.

As soon as you boot your device to Safe Mode, it will disable all third-party apps, including Magisk. As a result of this, you could easily access the OS and carry out he desired tweaks. However, since Magisk will be disabled in this mode, you wouldn’t be able to disable any module either. So what could be done?

Uninstall Magisk Modules

Well, you just need to boot your device back to normal mode. Doing so will re-enable all the third-party apps, except for the magisk modules! So you cou;d then easily remove the last installed module which gave you a bootloop or softbrick and then re-enable all the other modules.

METHOD 2: Using the Magisk App

Benefit: This is a pretty straightforward method to to uninstall the module of your choice. 
Drawback: It will not work if your device is stuck in a bootloop or has been soft-bricked.
  1. Launch the Magisk App on your device and go to the Modules section.
  2. Then tap on Remove next to the module that you want to uninstall.
  3. Finally, restart your device and that Magisk Module will be removed.Uninstall Magisk Modules

METHOD 3: Via ADB Commands

Benefit: The recommended method to uninstall or remove Magisk Modules from your device when it is stuck in a bootloop.
Drawback: This method will remove all the modules at once. You do not have the option to uninstall individual modules.
  1. To begin with, long press the Power key to power off your device.
  2. Then download and extract Android SDK Platform Tools on your PC.install adb platform tools windows
  3. After that, open the CMD window inside this platform-tools folder.command-prompt-inside-adb
  4. Then connect your device to the PC via a USB cable and execute the below command
    adb wait-for-device shell magisk --remove-modules
  5. As soon as the above command is executed, power on your device.
    remove Magisk Modules
  6. The command will now come into action and would remove all the installed magisk modules from your Android Device.

METHOD 4: Using TWRP

Benefit: This method gives you granular control and allows you to uninstall the module of your choice. 
Drawback: It requires a custom recovery and is slightly technical to execute.
  1. To begin with, boot your device to TWRP Recovery using the below command:
    adb reboot recovery
  2. Once booted to TWRP, go to the Advanced section and select File Manager.
    remove Magisk Modules
  3. Now navigate to the below location using the File Manager:
    /data/adb/modules

    Uninstall Magisk Modules

  4. You should now see a list of all the installed modules. Head over to the one that you want to remove. If you aren’t sure of the module that caused the bootloop, then more often than not, it is the last installed one. So you could start off by removing the last installed module.
  5. As an example, let’s suppose Viper4Android caused a bootloop and we need to remove it. So go to its folder, tap on the Bluetick mark icon situated at the bottom right, and select Delete.
    Uninstall Magisk Modules
  6. Finally, perform a right swipe to confirm it.
    remove Magisk Modules
  7. That’s it. You may now reboot to the OS via Reboot > System. Your device should now successfully boot to the OS  and the module would have been uninstalled as well. To verify the same, you may head over to the Magisk App and check out the Modules section.

METHOD 5: Via TWRP and Magisk Module

Benefit: This method gives you granular control and allows you to uninstall the module of your choice. 
Drawback: It requires a custom recovery and is the lengthiest of the three methods.
  1. To begin with, boot your device to TWRP Recovery using the below command
    adb reboot recovery
  2. Then download Magisk Manager for Recovery Mode (MM) on your PC. [Credits: XDA Senior Member VR25].
  3. Now connect your device to the PC via USB cable.
  4. Go to the Mount section of TWRP and tap on Enable MTP.
    remove Magisk Modules
  5. Your device will now be recognized by the PC. So transfer the MM mod from the PC to your device [or check out the other Three Methods To Transfer or Install Files via TWRP Recovery].
  6. Once the file is transferred, go to the Install section of TWRP. Then select the mm-201904040.zip file and perform a right swipe to install it.
    Uninstall Magisk Modules
  7. Once the file has been flashed, go to the Advanced section of TWRP and select the Terminal option.
  8. Now type in the below command inside the TWRP’s Terminal:
    sh /sdcard/mm

    Uninstall Magisk Modules

  9. This will bring up a list of options, type in r and hit Enter. You will get a list of all the installed Magisk Modules.
  10. Type in the exact name of the module that you need to remove and hit Enter. As soon as you do so, you should see the module getting selected.
  11. Furthermore, a cross next to that module will appear, verifying the same. [In the below image, I have selected the adb-ndk module, so you will see a cross next to it.]
    Uninstall Magisk Modules
  12. Finally, hit Enter and the module will then be uninstalled.
  13. You may now close the Terminal Command window. For that, type in q and hit Enter.
  14. This will take you to the home screen. Go to Reboot and tap System.
    Uninstall Magisk Modules
  15. Your device will now boot to the OS with the module being removed.

That’s it.These were the four different methods that shall help you uninstall or remove Magisk Modules from your device. If you have any queries concerning the aforementioned steps, do let us know in the comments. We will get back to you with a solution at the earliest.


Share: