FORUMS
Remove All Ads from XDA

 View Poll Results: Did this guide worked for you?

Yayy..! Thanks, I am rooted.😁
 
50 Vote(s)
64.94%
Naahh..! You are useless.😒
 
27 Vote(s)
35.06%

[ROOT] [MAGISK] (Without Recovery) Root your device with MAGISK Without Recovery

9 posts
Thanks Meter: 26
 
By Aquib132, Junior Member on 18th April 2018, 09:03 PM
Post Reply Email Thread
Hello Everyone,
This is my first tutorial here.
So, any mistakes should be reminded in the thread.


==================================================
Guide for rooting with MAGISK
==================================================


This guide is for those devices for which currently there is no custom recovery available. So, don't be sad instead have MAGISK Root for your device and and sleep well.

Note - USE THIS GUIDE ON YOUR OWN. I AM NOT RESPONSIBLE IF YOU END UP BRICKING YOUR DEVICES.
BETTER KNOW WHAT YOU ARE DOING AND ITS CONSEQUENCES.


==================================================

REQUIREMENTS -
1 - An Android 5.0+ device
2 - PC with working ADB
3 - Stock boot image (boot.img) of your device
4 - Magisk Manager app
5 - A good file browser like Mixplorer, Solid explorer etc..
6 - Active Internet connection
7 - Active mind and patience.

==================================================

Step 1: Patching the stock boot.img

- Install MagiskManager apk on your android device
- Copy the stock boot.img of your device to your phone's internal storage or SD card
- Launch Magisk Manager app
- If prompted to install Magisk, select NO THANKS
- If you are using a samsung device and wish to flash using Odin, then select Options > Settings > Update Settings > Patched Boot Output Format > img.tar )
- Select Install > Install > Patch Boot Image File >
Navigate to the location of the stock boot.img you copied earlier on, then Select it
-Magisk Manager should begin downloading the magisk zip file used for patching
-Once download is complete, MagiskManager will automatically patch the boot file and store it under SDcard/MagiskManager/patched_boot.img[.tar]

Step 2: Flashing the patched boot.img

You have a variety of options to flash the patched boot.img depending on your chipset (e.g Mediatek MTK, Spreadtrum SPD, Qualcomm QLM etc ), the resources you have and your skills. Note that some flashing methods might require you to rename the file to boot.img
- For those using MTK devices and have the specific scatter file for their device, you can flash the patched boot.img using SP flash tool or Miracle Box
-For those using SPD devices and have the PAC file for their device, you can flash the patched boot.img using Research download tool by replacing the stock boot.img with your patched boot.img
- For those using Samsung devices and then use ODIN to flash.
-You could also use Fastboot to flash the patched_boot.img or boot.img (if you've renamed then the command must reflect the file name) as outlined below

How to Flash patched_boot.img using Fastboot

-Setup adb and fastboot on your PC.
-Unlock the phone's Bootloader (if its not unlocked)
-Re-enable USB debugging on the phone
-Connect the phone to the PC via USB cord
-Boot into fastboot mode.
-Flash the patched_boot and reboot by typing in the commands below into adb CMD prompt window and hitting Enter after each line -

Quote:

Code:
fastboot devices
fastboot flash boot patched_boot.img
fastboot reboot

-Verify root using Root Checker

Credits goes to topjohnwu of XDA for Magisk
Also to X3non of Hovatek for original guide.
The Following 23 Users Say Thank You to Aquib132 For This Useful Post: [ View ] Gift Aquib132 Ad-Free
18th April 2018, 11:58 PM |#2  
Member
Thanks Meter: 6
 
More
Does this work with lenovo vibe k4 note?
23rd April 2018, 08:48 AM |#3  
Senior Member
Flag Somanya
Thanks Meter: 19
 
More
I think this thing would be risky to do.
Or what do you think?
23rd April 2018, 03:31 PM |#4  
Junior Member
Flag Omaha
Thanks Meter: 0
 
More
Does the bootloader need to be unlocked still? I have a S6 Active (sm-g890a) that I would love to root with this method but I haven't wanted to try anything in fear of bricking. Sorry for the newb question but I'm a noob.

Sent from my SM-G900V using XDA Labs
30th April 2018, 05:03 AM |#5  
Member
Thanks Meter: 14
 
More
Quote:
Originally Posted by 2FrEsH99

Does the bootloader need to be unlocked still? I have a S6 Active (sm-g890a) that I would love to root with this method but I haven't wanted to try anything in fear of bricking. Sorry for the newb question but I'm a noob.

Sent from my SM-G900V using XDA Labs

if the bootloader checks boot.img, it will fail since Magisk patches the boot.img and it will have an invalid signature.

This process is only useful for locked bootloaders that do not check boot.img or people who want stock or are stuck with stock recovery.
2nd May 2018, 01:25 AM |#6  
OP Junior Member
Flag Gorakhpur
Thanks Meter: 26
 
More
Quote:
Originally Posted by 2FrEsH99

Does the bootloader need to be unlocked still? I have a S6 Active (sm-g890a) that I would love to root with this method but I haven't wanted to try anything in fear of bricking. Sorry for the newb question but I'm a noob.

Sent from my SM-G900V using XDA Labs

Hi, the best way is to flash a custom recovery beforehand. But if you can't find you can go for this method but bootloader must be UNLOCKED. And also if anything goes wrong even if the bootloader is UNLOCKED , the phone will only be soft brick not hard brick. But the best thing will be a custom recovery method.
The Following User Says Thank You to Aquib132 For This Useful Post: [ View ] Gift Aquib132 Ad-Free
2nd May 2018, 01:32 AM |#7  
OP Junior Member
Flag Gorakhpur
Thanks Meter: 26
 
More
Quote:
Originally Posted by Cjoman

Does this work with lenovo vibe k4 note?

If your device bootloader is UNLOCKED, then you are good to go. But you should look for a custom recovery for your device and flash magisk.zip . Try this method only if you can't find one. Although every method is risky, you should play safe.
2nd May 2018, 01:37 AM |#8  
OP Junior Member
Flag Gorakhpur
Thanks Meter: 26
 
More
Quote:
Originally Posted by DE SEXIEST

I think this thing would be risky to do.
Or what do you think?

Of course this method is risky yet safe.
If you have a less secure device with UNLOCKED bootloader, you should try this.
But the best thing will be to find a custom recovery or try to port one.
This method should work on most devices.
2nd May 2018, 02:33 AM |#9  
Member
Thanks Meter: 6
 
More
Quote:
Originally Posted by Aquib132

If your device bootloader is UNLOCKED, then you are good to go. But you should look for a custom recovery for your device and flash magisk.zip . Try this method only if you can't find one. Although every method is risky, you should play safe.

Okay thanks!

---------- Post added at 02:33 AM ---------- Previous post was at 02:03 AM ----------

Will this factory reset my phone?
2nd May 2018, 09:47 AM |#10  
Junior Member
Thanks Meter: 1
 
More
does it work / may work with S9 plus G965U Qualcomm chipset?
as i didn't find any Oem unlock option in the developer menu.
2nd June 2018, 02:57 AM |#11  
Junior Member
Thanks Meter: 1
 
More
A7 2017 (Android 8)
So i have an a7 2017 with android oreo or know as 8.0.0. So i want to flash the patched boot image with odin. How do i do that? Like i understand you need oem unlocked but where do you flash it specifically in odin?
The Following User Says Thank You to SlewedThread444 For This Useful Post: [ View ] Gift SlewedThread444 Ad-Free
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes