Magisk manager doesn't show any modules


Question

Android 11, Pixel 4a


I did something obviously stupid (and worse, don't remember what) and ended up in a situation that Magisk manager wouldn't respond, in the sense it wouldn't show any modules. I tried changing update channels to download another manager but no luck (this was canary manager)


Edit: uninstall option isn't available


My thought at this point of time is to side load the OTA and start afresh with rooting.


Are there any simpler alternatives?


Answer

If it were to happen to me, my preferred approach would be:


Step 1: Clear data of Magisk Manager app


Whatever way your Android supports, open the App info page for your Magisk manager app, force stop the app, and clear its data/storage. Reboot (optional). Now launch the Magisk Manager app. If the problem still persists, follow the steps below.


Step 2: Uninstall Magisk (the boot image modifications) and Magisk Manager (the app)


You can do so from Magisk Manager app by chosing "Uninstall Magisk" at its home page/launching page. While you're at it, also remove the Magisk files and modules saved under /data/adb. I don't know whether they would be automatically removed by Magisk Manager app upon uninstallation, so it doesn't hurt to purge the directory by yourself.


If the uninstall option is not available in Magisk Manager app, than manually restore the stock (unpatched, that is) boot image to your currently active boot slot. You can restore the stock boot image using a custom recovery, or using fastboot, or if su (root access) is still working, than using dd. If you don't have a custom recovery, you may find this Q&A helpful: How do you root a device with Magisk when it doesn't have a custom recovery


Whatever means you choose, do remove the Magisk Manager app beforehand. It would not make a difference if you do it later, by why wait to do it?


Note: if you had installed Magisk using a custom recovery earlier or had upgraded Magisk from Magisk Manager app, you would be having a backup of stock boot image under /data/ with directory name(s) starting as magisk_backup_ followed by some random characters. If you fail to find that backup, than search the internet to get a legitimate full OTA / fastboot image for your currently installed Android build. The boot image there is your stock boot image and can be flashed instead.


Step 3: Patch the boot image with Magisk modifications


Assuming that you have successfully restored the stock boot image and rebooted the device to a running Android, you need to install Magisk again. Magisk is a work in progress, and its preferred method of installation may change in future, so I suggest you follow its FAQ for installation.


If you have followed the installation steps, you should have a working Magisk modified boot image and a companion Magisk Manager app. Try launching the app to see if everything is working as you would want it to be.


At this point you should be able to install/sideload a Magisk module through Magisk Manager app.


Topics


2D Engines   3D Engines   9-Patch   Action Bars   Activities   ADB   Advertisements   Analytics   Animations   ANR   AOP   API   APK   APT   Architecture   Audio   Autocomplete   Background Processing   Backward Compatibility   Badges   Bar Codes   Benchmarking   Bitmaps   Bluetooth   Blur Effects   Bread Crumbs   BRMS   Browser Extensions   Build Systems   Bundles   Buttons   Caching   Camera   Canvas   Cards   Carousels   Changelog   Checkboxes   Cloud Storages   Color Analysis   Color Pickers   Colors   Comet/Push   Compass Sensors   Conferences   Content Providers   Continuous Integration   Crash Reports   Credit Cards   Credits   CSV   Curl/Flip   Data Binding   Data Generators   Data Structures   Database   Database Browsers   Date &   Debugging   Decompilers   Deep Links   Dependency Injections   Design   Design Patterns   Dex   Dialogs   Distributed Computing   Distribution Platforms   Download Managers   Drawables   Emoji   Emulators   EPUB   Equalizers &   Event Buses   Exception Handling   Face Recognition   Feedback &   File System   File/Directory   Fingerprint   Floating Action   Fonts   Forms   Fragments   FRP   FSM   Functional Programming   Gamepads   Games   Geocaching   Gestures   GIF   Glow Pad   Gradle Plugins   Graphics   Grid Views   Highlighting   HTML   HTTP Mocking   Icons   IDE   IDE Plugins   Image Croppers   Image Loaders   Image Pickers   Image Processing   Image Views   Instrumentation   Intents   Job Schedulers   JSON   Keyboard   Kotlin   Layouts   Library Demos   List View   List Views   Localization   Location   Lock Patterns   Logcat   Logging   Mails   Maps   Markdown   Mathematics   Maven Plugins   MBaaS   Media   Menus   Messaging   MIME   Mobile Web   Native Image   Navigation   NDK   Networking   NFC   NoSQL   Number Pickers   OAuth   Object Mocking   OCR Engines   OpenGL   ORM   Other Pickers   Parallax List   Parcelables   Particle Systems   Password Inputs   PDF   Permissions   Physics Engines   Platforms   Plugin Frameworks   Preferences   Progress Indicators   ProGuard   Properties   Protocol Buffer   Pull To   Purchases   Push/Pull   QR Codes   Quick Return   Radio Buttons   Range Bars   Ratings   Recycler Views   Resources   REST   Ripple Effects   RSS   Screenshots   Scripting   Scroll Views   SDK   Search Inputs   Security   Sensors   Services   Showcase Views   Signatures   Sliding Panels   Snackbars   SOAP   Social Networks   Spannable   Spinners   Splash Screens   SSH   Static Analysis   Status Bars   Styling   SVG   System   Tags   Task Managers   TDD &   Template Engines   Testing   Testing Tools   Text Formatting   Text Views   Text Watchers   Text-to   Toasts   Toolkits For   Tools   Tooltips   Trainings   TV   Twitter   Updaters   USB   User Stories   Utils   Validation   Video   View Adapters   View Pagers   Views   Watch Face   Wearable Data   Wearables   Weather   Web Tools   Web Views   WebRTC   WebSockets   Wheel Widgets   Wi-Fi   Widgets   Windows   Wizards   XML   XMPP   YAML   ZIP Codes