How to Create & Boot from a Magisk Core-Only Image to Fix a Bootloop Without Custom Recovery « Android :: Gadget Hacks

Bootloops are a possibility inherent to rooted devices — with terrific electric power will come good destroyability, soon after all. While personalized recovery from time to time presents a swift take care of when you flash the incorrect Magisk module, with TWRP getting to be more tough to put into action many thanks to Android 10, the resolution is a bit more complex presently.

If you uncover oneself in a bootloop induced by a Magisk module and are without a custom restoration, you need to have a specific boot graphic to put Magisk into “Main-Only Method.” It really is like a safe mode for Magisk, making it possible for you to boot into Android with all modules disabled, wherever you could then eliminate any problematic modules. Afterward, you need only to toggle a environment to disable this manner.

Prerequisites

  • Android telephone rooted applying Magisk
  • bootloop or softbrick brought about by defective Magisk module
  • Windows, Mac, or Linux personal computer
  • USB details cable

Action 1: Get Your ‘magisk_patched’ Graphic All set

This information is assuming two items: you rooted your phone with Magisk, but you you should not have a tailor made recovery mounted. If you have a tailor made recovery installed, you can just run Magisk Manager for Recovery Method.

But due to the fact you rooted with no a tailor made recovery, that implies you obtained your phone’s stock boot picture, ran it through Magisk, then flashed the magisk__patched impression file it designed to realize root. The issue is, you need to have that magisk_patched.img file for this to get the job done.

So if you nevertheless have the magisk_patched.img file from when you rooted your cell phone, transfer it to a place on your laptop that you can entry conveniently.

If you deleted it, you may well be out of luck right here. But if you look for the XDA community forums for your telephone model, somebody might have uploaded the file for your phone. Just notice that it needs to have been manufactured with your actual mobile phone model, and it must be created with the similar Android model you happen to be working. If you might be desperate, a premade magisk_patched file from an more mature Android edition might operate.

Step 2: Download Android Graphic Kitchen

To boot into main-only method, you will need to unpack the magisk_patched picture file, modify it, then repack it to boot off of it briefly. To do this, you will will need Android Picture Kitchen area, which you can obtain beneath.

Whilst this system does perform with most Android phones, there are a couple confirmed circumstances exactly where it will not. You can examine about all those in the developer’s launch thread.

Move 3: Extract Android Graphic Kitchen area

After the file is downloaded, extract the ZIP working with possibly your functioning system’s designed-in resources or a 3rd-social gathering archive extractor these kinds of as 7-Zip.

Move 4: Unpack the ‘magisk_patched’ Graphic

Identify the magisk_patched picture file on your computer system and open the extracted Android Graphic Kitchen folder. Drag the magisk_patched file and drop it proper on major of the “unpackimg” shortcut positioned in the Android Image Kitchen folder.

If you are not able to drag and drop, you can also open up Command Prompt or Terminal, input the next command and strike place:

cd

Drag the Android Impression Kitchen area folder to Command Prompt or Terminal to automobile-populate its location, then hit enter. Afterward, enter the adhering to and press the place bar :

unpackimg

Then drag the magiskpatched picture file to the Command Prompt or Terminal and strike enter.

Possibly way, a collection of commands will surface in Command Prompt or Terminal, with the past line requesting you “Push any key to continue.” Follow this way to shut the window.

Stage 5: Modify the Image File

You must now see two new folders, “ramdisk” and “split_img.” Down load the ZIP file linked underneath and extract it on to your pc in a useful locale.

As soon as extracted, open the folder and duplicate the “overlay.d” folder into the ramdisk folder located inside the Android Picture Kitchen area folder.

Phase 6: Repack the Impression File

Now that you included the folder, double click on the “repackimg” file. You can also use Command Prompt or Terminal (if you didn’t shut it) by inputting the pursuing:

repackimg

Phase 7: Enter Fastboot Mode

Now you are going to require to boot into Fastboot manner. For most telephones, that can be accomplished by keeping the volume down and electricity buttons from a powered-off condition. If not, quantity up and electric power really should do the trick. But if you happen to be in a bootloop, you may have to time it to exactly where you get started holding the buttons as before long as you discover your cellular phone rebooting.

Fastboot method on the Pixel 4. Graphic by Stephen Perkins/Gadget Hacks

Stage 8: Boot from the Graphic File

Hook up your mobile phone to your pc and open up a new Command Prompt or Terminal window. Input the pursuing command and hit enter:

cd

Drag the system-applications folder to the window and strike enter. Then type in the next command and strike the space bar:

fastboot boot

Drag the “image-new” file from Android Image Kitchen to Command Prompt or Terminal and hit enter to boot from the modified magisk_patched impression quickly.

Stage 9: Disable the Problematic Module

Your telephone need to now productively boot, retaining root, but with all Magisk modules deactivated. Open up Magisk Supervisor, find the hamburger menu, then “Modules.” Disable or uninstall the problematic module that brought about your bootloop in the first location.

Action 10: Disable Main-Only Manner (Optional)

Just after deleting the problematic modules, open up Magisk Manager’s Configurations and disable the toggle following to “Magisk Main Only Mode.” Your cellular phone will restart, but this time with all modules enabled and no bootloop!

Keep Your Connection Secure With out a Month to month Bill. Get a lifetime membership to VPN Endless for all your devices with a one particular-time acquire from the new Gadget Hacks Store, and view Hulu or Netflix with out regional limits.

Buy Now (80% off) >

&#13

Similar Posts