Fastbootis the recommended method by magisk developers, but fastboot does not work with samsung devices.
On a standard e/os/ installation interact with the bootloader on samsung phones is only possible using odin or heimdall.
Get the boot.img file from the zip file containing the e/os/ build for your phone.
You can grab the zip file containing the right e/os/ build for your phone from
substituting yourphonename with (obviously) the name for your phone you can find on supported devices page. For example my S8+'s name is dream2lte so the builds page is
There are a few different ways to install Magisk. If you're already rooted and you just want access to Magisk modules, you can use Magisk Manager to install the Magisk framework. Or, if you want to pass SafetyNet on a rooted device, you can switch from SuperSU to Magisk SU. But the best way to do it is to start fresh by installing Magisk on a non-rooted phone using TWRP.
The main reason we prefer this method is because it's the cleanest. No need to remove old root binaries, just flash the Magisk ZIP and you'll be good to go. In doing so, you'll actually root your phone and install Magisk in one shot, plus you're far more likely to pass SafetyNet's CTS Profile check this way.
This method works by flashing the Magisk ZIP in TWRP, so you'll need to install the custom recovery before you begin. Much like Magisk itself, there are multiple ways to install TWRP. If you're rooted, you can use this method, but note that you'll have to do a full unroot in SuperSU after you're done.
If your phone does not have a Fastboot interface, the instructions for installing TWRP will vary. We've covered many of these methods in separate tutorials that are linked out in the following guide, so this is a perfect place to start:
Once you've got TWRP installed successfully, boot into Android and install the Magisk Manager app. This isn't the Magisk framework, which provides root access and the ability to install Magisk modules. It's simply an app for downloading and updating the Magisk framework and managing modules.
The Magisk Manager app is no longer available on the Play Store, so you'll need to have "Unknown Sources" enabled to install it. Other than that, just head to the following link, which will show you all available versions of the Magisk Manager app. Download the newest version, then when that's finished, tap the Download complete notification to launch the APK. Finally, press "Install" when prompted.
Next, open the Magisk Manager app. You'll get a popup asking if you'd like to install the Magisk framework. Tap "Install" here, then hit "Download Zip Only" on the subsequent popup. Wait until you see a message at the bottom of the app's main menu stating that the file has been downloaded.
Next, boot your phone into recovery mode, then tap the "Install" button in TWRP's main menu. From there, navigate to your device's Download folder, then select the Magisk ZIP. After that, just swipe the slider at the bottom of the screen to install Magisk, then tap "Reboot System."
Next, go ahead and open the Magisk Manager app. If everything went off without a hitch, you'll see a message towards the top of the screen that says "MAGISKSU (topjohnwu)" with a green check mark next to it. This means your phone is now officially rooted, and since it was done with Magisk, it's a systemless root.
Aside from that, the main advantage of Magisk is that you can have root without tripping SafetyNet. To verify that your phone still passes Google's SafetyNet check, press the corresponding button towards the top of the screen. If you see two extra green check marks after this test is run, you're all set to go!
When I unroot with supersu, I am unable to then boot into twrp (just get the andoid bot with red triangle). Probably because it needs root to boot. I'm stuck......Was able to flash Supersu and twrp from adb and get root back. If you unroot though now, how to you get to twrp recovery?
I'm guessing after I flash TWRP with adb I need to boot to TWRP right away (and flash Magisk) where in this instruction it said to reboot phone. It did not work when I went to boot to TWRP to flash magisk, it did not boot to recovery (darn bot with red triangle). We'll see.
This sounds like you're having problems with permanently installing TWRP. Some new devices require you to temporarily boot off of a TWRP image file (IMG), then use the booted TWRP to permanently flash a separate TWRP ZIP file. You can see if that's required by looking at the install instructions for your device on its TWRP download page (at
twrp.me). After doing that, make sure to swipe the slider to allow modifications (make TWRP your permanent recovery... otherwise the stock recovery with the red triangle will take back over after a reboot).
How can this method be used to root the Honor View 10. There was no mention above of having to unlock the Bootloader first?? (surely a prerequisite of any root) And mine is locked, with Huawei not providing codes anymore.. Any ideas please? Tnx
It doesn't look like there's a TWRP release for that model. So you'd have to get a copy of your stock boot image, then patch it in the Magisk Manager app. Then you could flash it in Download Mode with Odin. But definitely look into it some more, that's just the super short version.
The Samsung Galaxy S24 Ultra is undoubtedly an exceptional phone that offers customizable OEM, impressive camera attributes, and powerful hardware configuration. All of those factors make a tempting deal if you are interested in unlocking the root access.
Generally, if you are choosing the method to root your Samsung Galaxy S24 Ultra through a custom recovery, the TWRP recovery would be the best option. TWRP recovery (Team Win Recovery Project) usually helps in flashing custom ROMs, Magisk Zip, and other mods.
The process of TWRP installation is a tedious procedure in itself. Hopefully, we covered the entire guide on how to install TWRP recovery on your Samsung Galaxy S24 ultra. So, browse through the following article to know more details.
Note: If you press the Volume Up button after the bootloader warning, the software data will be erased, trip Knox Security, and disable software updates. Thus, we suggest you take complete backup.
You will require a magisk app for patching the AP firmware file. Magisk is a third-party solution for rooting the majority of Android phones and is one of the safest methods available. Worry not! Download and install the latest version from below!
I got Samsung J2 mobile which I was using for around 1 year. I was trying to install magisk and root it. but though i tried to install it several times error message comes and disappear in seconds. any one can help me?
from this step normally TRWP will guide you the installation of magisk to your system , once the whole installation is completed a notification will appear to reboot your system at the bottom of the screen.
IMPORTANT: modifying boot images is done differently on different phones. What follows is for a Pixel 4A and other Google phones using the same partition scheme. Specific steps for phones from other vendors are described in detail here: -
developers.com/how-to-install-magisk/
On earlier versions of Android, we could simply write the cert to the phone at this point and be finished. More recent versions of Android use a different partitioning scheme, making it more difficult to mount the /system partition as writable on a rooted phone. Commands like mount -o remount,rw /system no longer work, even as the root user.
For this reason, we will use Magisk Module Template Extended (MMT-Ex) to write the Burp cert to the phone. MMT automates the installation of Magisk modules, and we can use it to help install our cert.
The file customize.sh is essentially a setup script for our module. For example, any filesystem permissions configured here will be matched on the device when the module installs. This way we can make sure our new certificate has the same file permissions as the rest of the certs on the phone.
Hopefully collecting all this information in one place saves someone time in the future. Inevitably these steps will become obsolete as Google continues to change the Android OS. As of October 2022, this process worked for me. Hopefully it works for you.
*Jeff has been in various infosec roles for over a decade, including 7 years as a penetration tester and a recent transition to cloud security engineer. Thank you for sharing your knowledge with us, Jeff!
Note: Before proceeding further, you may want to create a Nandroid backup of your current ROM, just in case things go wrong.3. Here, just tap on the Install button and browse for the Magisk ZIP file that you just transferred.4. After that, swipe right to flash the ZIP file and continue installing Magisk.
You can use Magisk to gain root access, modify various elements, install handy modules and gain complete control over your device, without ever tampering the /system partition. So, have you ever used Magisk? Let us know about your experiences and your use cases. Also, if you know about some other features that we have missed out on or if you have any doubts regarding Magisk, do mention them in the comments below.#Tags#magiskVarun MirchandaniThis isn't an interview! Why am I being asked to tell you about myself? :P Well, if you really wanna know, I'm currently trending worldwide on #BeingMirchi. Buy me a beer if you like my work. Cheers!
Shutdown mobile. Hold volume+ and volume- and plug usb to the mobile. You`re now in download mode. Hold volume+ more than 7 seconds to unlock the bootloader. Then hold volume+ and power button and the mobile reboots.
Open ODIN as administrator. Select BL, AP, CP and CSC (no CSCHOME) files from the downloaded firmware. Select options Auto Reboot and F. Reset Time. Press start, and wait. ODIN will install the firmware, and then the mobile will reboot.
3a8082e126