Bootloop Caused by a Magisk module, can't use adb commands..

Uraniam9

Senior Member
Aug 18, 2018
107
204
63
Magisk module causing bootloop in 10.0.12/10.3.4 (Indian) oneplus 7T update , can't use adb as it is disabled in recovery, I even flashed back stock boot image to enable USB debugging but it didn't worked out..
Patched boot image of 10.3.4 /10.0.12 with magisk core only enabled will solve the problem..
 
Last edited:

Uraniam9

Senior Member
Aug 18, 2018
107
204
63
I know this is a common case for oneplus 7t users as no full fledged custom recovery is available So mentioning your methods here how you escape from this situation will be helpful to other users....
 
Last edited:

grandpajiver

Senior Member
Sep 3, 2013
197
100
63
Milwaukee
Stock recovery w/ adb enabled, can mount data re (namely /data/adb/modules/) located in this thread:

https://forum.xda-developers.com/oneplus-7t/development/recovery-adb-shell-enabled-t4024661

I just created a recovery for 10.0.12 global. It may work for all devices.

To flash/use from the command line while at the bootloader:

fastboot reboot fastboot
fastboot flash recovery (filename).
fastboot reboot bootloader

Choose reboot to recovery.

Enter your pin to decrypt

Adb should work and you should be able to disable modules in /data/adb/modules/. Reboot and the module should be disabled and you can then delete it from magisk manager.

Hope this helps
 
  • Like
Reactions: Uraniam9

lil_kujo

Senior Member
Oct 29, 2015
525
237
73
I know this is a common case for oneplus 7t users as no full fledged custom recovery is available So mentioning your methods here how you escape from this situation will be helpful to other users....
The way i remove my modules with out installing any custom recovery is just by turning off the phone, connect to pc, go to command prompt, type the path of the folder where fastboot and adb is, type the following command: adb wait-for-device shell magisk --remove-modules,(while phone is off) hit enter turn phone on wait for it to get to the boot screen it will reboot, once it reboots modules will be uninstalled.
Mind you that I have never installed or modified the recovery of my OnePlus , I bought it and just unlocked the bootloader. My model is 1900
 
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone