[GUIDE] How to Uninstall a Magisk Module (bootloop fix)

Search This thread

Bradl79

Senior Member
May 25, 2008
3,356
4,589
J'Ville
For those who encounter a bootloop because of a Magisk Module or got a bootloop during an update because of a module
This will allow you to go and delete that bad module and allowing you to boot back into the OS

What you need:
Recommended TWRP from TWRP 3.3.1-xx Unified Unofficial by mauronofrio
**Official TWRP may not allow you to boot twrp.img**
OOSNativeCallRecording Module seems to be one culprit. Make sure to Uninstall before updating.

If you already have twrp then go to Instructions
If you do not have TWRP and do not want to Install, use this method
Boot to TWRP (for those of us who do not install TWRP)
Does not work with OxygenOS 9.5.3 and below

Make sure to have adb and fastboot files here
1. Download the TWRP image (not Installer) from post above
2. Boot to fastboot
3. Rename TWRP image to twrp.img and move to folder with adb and fastboot files (after you had extracted)
4. Type
Code:
fastboot boot twrp.img


Instructions
1. Boot to TWRP
2. Go to Advanced > File Manager > data > adb > modules
3. click on the folder of the module you want to delete

xYgyRpg3WmyEYWITzFpwQ8oDgl32gUxHFOzJXYNzzt9r4zloR5UFYi3pOvI6Ad_cnrClkZPK9SD_VJtiMeYbNEum2-2t6VPbcRh8zrd0vFHpNAqixEGlqdfDCro_kWIgFpGGswmDzeWDwLQMx8WPvsfB1mbC3WmKAm2_xfO7-dj2b_NBvnV626EIMZoeQoBYwS0rA-rGt15uzcV_MhP1tW0gQLsTZlrfU0nrMIunlHM8hH4H2cgNMh3P7X9WzR_n2bJwm781EZKTZmef9zLRCbJClgLTvQCKDLKZK8_Y2Y7QrqRnpypp6BBhBGrsEeMJz6ng8MzAdJo-_DJ1xDInxGxI55ZQguKeltyR-E2NqXJBGQFFyg7BpI017cudqWLdXVETnhxqtY6GuHK5cfQXuAej3uSz369astNMU6SUHaX_48fggNiHhLHvscn8IG1-GxFzw1qOa6BgH3A7LcJmR_0OumX61M5HUaUYs67ZBMdM7R1JFeYCGP8kRFG1AWomyX9yS7pyXrfddXzcDcDX2SUWYYXp0WKgHoQFa2jH-t6or-gJFOLFfks6Ze-2JNNaaNNBvVCyEtcU1EkBW8ty_qE7-rRxtIgE38aaWm1CM_R6tE14E14z01CLz1J9mt2yXnHYw2HLQShFxXf8KVhaQbICGpq-j5Nx=w494-h1041-no

4. while inside that folder click on the little folder on the bottom right with the check mark on it
Fue9QP1-0-2uT08igYz0kfZ8eAa2bp8p_-HsYKUvNhgFa8qCgvSZE14k2DLf51DkR9Tv6G1kmJtb7RKD3HQeBdbK1TuO7bD9YzeaxLbn_QNJ9_2vBeyWGdGJfh2I14U3WUkP1Kg8r_t4JymY7d0R53-gn9SYHAYOqIpiv198WvuGyCvWVgM7rsJbT-flyQZ9NScVh17beFAfZKigIOgdOZBpcV6PrJCIb3h68zNKCQv4wGJstB7TClIrPO2EBMk1ms7_FCzfejgqYGWw_5MFodypaTYeZHcbWKt8sdqBrbc9Xl1MIx3xUDwc2EEqeYOyq2lFJ1BVpgTGC_fKipCdLLKYvpPLABwW02UMFpjzi9eWDmgaLKIUa-0XBQkA8Tzun0TvL3sdJlyxkl5HwcuQw0UOcbGnBnUzRfg8r2A-H55KJq3SAlDE9dSOQauFuUoZCHAPqroL0daYs9RDP5AUN9Ewkmq_NbifKt1EmUBpVmkjEYDyfnP8aI3D6TAvSDNrx1xChQQyBJpUaH0ND-ym1DK1fQEQMPv47gKBv6KwFZ_5VEay7KXdl0qxKk9vhZNjOh8fFqmpm7wJQt2dLd-EM7A4TZbkn_vO9AMKi4oUei02t5UqqiK5gfioMbhXVH6Swcz8gwnh9NJoXD63vmqFkF00hF5S36xW=w494-h1041-no


5. click Delete
wKlO2fUFwCPAT823nokxB5jCFSoHiw-tSbtPa3edEuTNNyHVdGBwMl-U8thTYsvpL91rMi4LIm2wZ8oXbWHoVlGm5FlfR7rZfK9_aXie13mzxzHwgDORLw3Ux1SyZA-hBYJ9S6FKiVp0KOslu3hHzO6PLTq4Qo9mL051qNayKDlkTjm51qvAyM1Xtar2qjBrjvH8s3geBw2h2-cbNpcPgUdR2A1SyB5SgQp7AbT9g1umA128tLhQ5mPSJWu_IuMXBddBgmd16J71OoISIRmfGZF424nQPqOuU6sI6MlaHBrO1yZFKDO-dacaAwgtDbuFi6qwsHi3yeY_d1YZJ_3xd_TrmUvQo3-hw5gK2ZQwE_fqC84a_pIS8h5c_dIps8gpf80FTGS45RH7dObHspD68FknFrEjqlZuCTFkSWdeQ1LWqm_kY6OrobTvd4lYKS6WrWB1PnCqd0wH3HVaYsbjnQq6UK0Drl2zEZ3ssvtmxz0YRdvJdvu3pq6xZTKkt3JPVPwNh35AtyfqqJBSEkqrfJuyI-yUMwctklIUh2OHpSMzCRHuYEQ8xMgS9XfNY4bMyXF1xh0qPc_XKZrhnVd5fGTNcKPfCqt9wTrt7eiAzpVXqAiltah-U2DhrMMJ7UaJLPorMHRxDFFvVPeGos6i7ecFo8D75mPQ=w494-h1041-no


Done... Reboot back to OS without a bootloop
 
Last edited:

mac796

Senior Member
Aug 20, 2014
1,358
472
Long Beach
you should add what to do if you can't boot twrp. Happened to me after I removed Google dialer framework. Only thing I could get it to is bootloader. would not let me fastboot TWRp. I got an error every time. I had the flash boot image
 
  • Like
Reactions: refedit and Bradl79

diaztradeinc

Senior Member
Jan 11, 2009
522
34
Plainsboro
you should add what to do if you can't boot twrp. Happened to me after I removed Google dialer framework. Only thing I could get it to is bootloader. would not let me fastboot TWRp. I got an error every time. I had the flash boot image

This happened to me the other day. Took me an hour to figure out that all I had to do was fastboot boot.img.
 
  • Like
Reactions: umbian and mac796

matze19999

Senior Member
For those who encounter a bootloop because of a Magisk Module or got a bootloop during an update because of a module
This will allow you to go and delete that bad module and allowing you to boot back into the OS

What you need:
TWRP from here
If you already have twrp then go to Instructions

If you do not have TWRP and do not want to Install, use this method
Boot to TWRP (for those of us who do not install TWRP)
Does not work with OxygenOS 9.5.3 and below

Make sure to have adb and fastboot files here
1. Download the TWRP image (not Installer) from post above
2. Boot to fastboot
3. Rename TWRP image to twrp.img and move to folder with adb and fastboot files (after you had extracted)
4. Type
Code:
fastboot boot twrp.img


Instructions
1. Boot to TWRP
2. Go to Advanced > File Manager > data > adb > modules
3. click on the folder of the module you want to delete

xYgyRpg3WmyEYWITzFpwQ8oDgl32gUxHFOzJXYNzzt9r4zloR5UFYi3pOvI6Ad_cnrClkZPK9SD_VJtiMeYbNEum2-2t6VPbcRh8zrd0vFHpNAqixEGlqdfDCro_kWIgFpGGswmDzeWDwLQMx8WPvsfB1mbC3WmKAm2_xfO7-dj2b_NBvnV626EIMZoeQoBYwS0rA-rGt15uzcV_MhP1tW0gQLsTZlrfU0nrMIunlHM8hH4H2cgNMh3P7X9WzR_n2bJwm781EZKTZmef9zLRCbJClgLTvQCKDLKZK8_Y2Y7QrqRnpypp6BBhBGrsEeMJz6ng8MzAdJo-_DJ1xDInxGxI55ZQguKeltyR-E2NqXJBGQFFyg7BpI017cudqWLdXVETnhxqtY6GuHK5cfQXuAej3uSz369astNMU6SUHaX_48fggNiHhLHvscn8IG1-GxFzw1qOa6BgH3A7LcJmR_0OumX61M5HUaUYs67ZBMdM7R1JFeYCGP8kRFG1AWomyX9yS7pyXrfddXzcDcDX2SUWYYXp0WKgHoQFa2jH-t6or-gJFOLFfks6Ze-2JNNaaNNBvVCyEtcU1EkBW8ty_qE7-rRxtIgE38aaWm1CM_R6tE14E14z01CLz1J9mt2yXnHYw2HLQShFxXf8KVhaQbICGpq-j5Nx=w494-h1041-no

4. while inside that folder click on the little folder on the bottom right with the check mark on it
Fue9QP1-0-2uT08igYz0kfZ8eAa2bp8p_-HsYKUvNhgFa8qCgvSZE14k2DLf51DkR9Tv6G1kmJtb7RKD3HQeBdbK1TuO7bD9YzeaxLbn_QNJ9_2vBeyWGdGJfh2I14U3WUkP1Kg8r_t4JymY7d0R53-gn9SYHAYOqIpiv198WvuGyCvWVgM7rsJbT-flyQZ9NScVh17beFAfZKigIOgdOZBpcV6PrJCIb3h68zNKCQv4wGJstB7TClIrPO2EBMk1ms7_FCzfejgqYGWw_5MFodypaTYeZHcbWKt8sdqBrbc9Xl1MIx3xUDwc2EEqeYOyq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Just install the magisk module "Magisk Manger for Recovery".... Done. No need for such long instructions...
 

Bradl79

Senior Member
May 25, 2008
3,356
4,589
J'Ville
Just install the magisk module "Magisk Manger for Recovery".... Done. No need for such long instructions...

It's actually pretty simple, u just have to provide more instructions for people who haven't used twrp. There is no need to flash anything, ik that the uninmod does not work and I thought I tired mm and could not get it working either.
 

se7ensde

Senior Member
Mar 19, 2016
541
206
He's right uninmod and stuff like that doesn't work at all now. It's unable to mount magisk.img it seems to be an issue with our twrp.

As for the statement about the issue being dual partitions that's wrong it's has nothing to do with that. I know he mentioned that uninmod and others did not work on op6 as well.. But it did cause I used uninmod on my 6 and 6T. This is an issue with this device only and possibly the twrp we have currently.
 
  • Like
Reactions: Bradl79

equlizer

Senior Member
Sep 20, 2007
1,563
270
You saved my ass today! :) I updated to 9.5.9 and had bootloops. I forgot to disable my magisk modules :silly:
 
  • Like
Reactions: Bradl79

mlock420

Senior Member
Aug 6, 2013
2,145
724
Saved my ass!

---------- Post added at 06:24 AM ---------- Previous post was at 06:22 AM ----------

So do we need to disable modules before updating? The re enable after?
Duh what you think? Lol naw for real tho...I've learned that after updating never reinstall mods that aren't up to date with the current os....I can't speak for all mods but magisk roms like renovate ice needs to be updated to the current os or problems will occur....I'm a noobish noob but I learned my lesson
 
  • Like
Reactions: null0seven

spart0n

Senior Member
Duh what you think? Lol naw for real tho...I've learned that after updating never reinstall mods that aren't up to date with the current os....I can't speak for all mods but magisk roms like renovate ice needs to be updated to the current os or problems will occur....I'm a noobish noob but I learned my lesson


Well what I'm getting at is that I deleted all 4 of my magisk mods and fixed the bootloop and then reinstalled all 4 of them and rebooted and everything is fine now. I was asking about should we disable all mods, reboot, update, install magisk, reboot, check root with magisk then reinstall all mods and reboot again?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 21
    For those who encounter a bootloop because of a Magisk Module or got a bootloop during an update because of a module
    This will allow you to go and delete that bad module and allowing you to boot back into the OS

    What you need:
    Recommended TWRP from TWRP 3.3.1-xx Unified Unofficial by mauronofrio
    **Official TWRP may not allow you to boot twrp.img**
    OOSNativeCallRecording Module seems to be one culprit. Make sure to Uninstall before updating.

    If you already have twrp then go to Instructions
    If you do not have TWRP and do not want to Install, use this method
    Boot to TWRP (for those of us who do not install TWRP)
    Does not work with OxygenOS 9.5.3 and below

    Make sure to have adb and fastboot files here
    1. Download the TWRP image (not Installer) from post above
    2. Boot to fastboot
    3. Rename TWRP image to twrp.img and move to folder with adb and fastboot files (after you had extracted)
    4. Type
    Code:
    fastboot boot twrp.img


    Instructions
    1. Boot to TWRP
    2. Go to Advanced > File Manager > data > adb > modules
    3. click on the folder of the module you want to delete

    xYgyRpg3WmyEYWITzFpwQ8oDgl32gUxHFOzJXYNzzt9r4zloR5UFYi3pOvI6Ad_cnrClkZPK9SD_VJtiMeYbNEum2-2t6VPbcRh8zrd0vFHpNAqixEGlqdfDCro_kWIgFpGGswmDzeWDwLQMx8WPvsfB1mbC3WmKAm2_xfO7-dj2b_NBvnV626EIMZoeQoBYwS0rA-rGt15uzcV_MhP1tW0gQLsTZlrfU0nrMIunlHM8hH4H2cgNMh3P7X9WzR_n2bJwm781EZKTZmef9zLRCbJClgLTvQCKDLKZK8_Y2Y7QrqRnpypp6BBhBGrsEeMJz6ng8MzAdJo-_DJ1xDInxGxI55ZQguKeltyR-E2NqXJBGQFFyg7BpI017cudqWLdXVETnhxqtY6GuHK5cfQXuAej3uSz369astNMU6SUHaX_48fggNiHhLHvscn8IG1-GxFzw1qOa6BgH3A7LcJmR_0OumX61M5HUaUYs67ZBMdM7R1JFeYCGP8kRFG1AWomyX9yS7pyXrfddXzcDcDX2SUWYYXp0WKgHoQFa2jH-t6or-gJFOLFfks6Ze-2JNNaaNNBvVCyEtcU1EkBW8ty_qE7-rRxtIgE38aaWm1CM_R6tE14E14z01CLz1J9mt2yXnHYw2HLQShFxXf8KVhaQbICGpq-j5Nx=w494-h1041-no

    4. while inside that folder click on the little folder on the bottom right with the check mark on it
    Fue9QP1-0-2uT08igYz0kfZ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rEjqlZuCTFkSWdeQ1LWqm_kY6OrobTvd4lYKS6WrWB1PnCqd0wH3HVaYsbjnQq6UK0Drl2zEZ3ssvtmxz0YRdvJdvu3pq6xZTKkt3JPVPwNh35AtyfqqJBSEkqrfJuyI-yUMwctklIUh2OHpSMzCRHuYEQ8xMgS9XfNY4bMyXF1xh0qPc_XKZrhnVd5fGTNcKPfCqt9wTrt7eiAzpVXqAiltah-U2DhrMMJ7UaJLPorMHRxDFFvVPeGos6i7ecFo8D75mPQ=w494-h1041-no


    Done... Reboot back to OS without a bootloop
    2
    you should add what to do if you can't boot twrp. Happened to me after I removed Google dialer framework. Only thing I could get it to is bootloader. would not let me fastboot TWRp. I got an error every time. I had the flash boot image
    2
    you should add what to do if you can't boot twrp. Happened to me after I removed Google dialer framework. Only thing I could get it to is bootloader. would not let me fastboot TWRp. I got an error every time. I had the flash boot image

    This happened to me the other day. Took me an hour to figure out that all I had to do was fastboot boot.img.
    1
    He's right uninmod and stuff like that doesn't work at all now. It's unable to mount magisk.img it seems to be an issue with our twrp.

    As for the statement about the issue being dual partitions that's wrong it's has nothing to do with that. I know he mentioned that uninmod and others did not work on op6 as well.. But it did cause I used uninmod on my 6 and 6T. This is an issue with this device only and possibly the twrp we have currently.
    1
    You saved my ass today! :) I updated to 9.5.9 and had bootloops. I forgot to disable my magisk modules :silly: