For those who cannot boot successfully after flashing a patched OOS 11 boot image correctly i. IT IS A MAGISK MODULE for sure. the problem is that you Can't uninstall it via a command line such as
adb wait-for-device shell magisk --remove-modules
or from TWRP terminal using
sh /sdcard/mm
the only way to remove them is:
1- Boot into TWRP from
this thread using the fastboot boot twrp.img it supports oos 11 encryption
2 - Once in TWRP, select
Advanced >
File Manager.
3 - Navigate to
/data/adb/modules.
4 - You can see folders for all the modules you have installed.
5 - Tap on the folder for the module that you last installed, which is probably the cause of the bootloop. You can select any other module as well if you want to delete that one.
6 - Once inside the folder, tap on the check button in the bottom-right corner.
7 - From the available options, select
Delete.
8 - On the next page, swipe at the bottom to confirm the delete.
Now that you are done with the suspected modules you can flash the patched boot image or simply flash the latest magisk.apk yes .apk no need for .zip from the install option in TWRP and your device should boot correctly after which just install magisk "Direct Install" from Magisk App
DONE