Rooting a Samsung phone can give you access to a whole new world of customization options, allowing you to remove limitations and take full control over your device. This process is often performed using two tools, Magisk and Odin, which are widely used for rooting Samsung phones. In this article, we will guide you through the steps to root your Samsung phone using both Magisk and Odin.
Before we dive into the steps to root your phone, it’s important to note that rooting your device will void its warranty and may also potentially cause software instability. However, with the proper precautions and a little bit of technical know-how, the process of rooting can be carried out with relative ease.
Root Samsung Phone via Magisk and Odin
In this section of the article, we will be covering the steps to root your Samsung phone using Magisk and Odin. Magisk is a popular open-source rooting solution that provides a systemless root, meaning it does not modify the system files of your phone. Odin, on the other hand, is a software used for flashing firmware, custom ROMs, and other system-level modifications. By combining the two tools, you can achieve a successful root of your Samsung phone while preserving its stability and security. We will be providing clear, step-by-step instructions to ensure that even those with limited technical experience can follow along and root their phone with ease.
Before proceeding, make sure to complete the following tasks:
- Ensure that your phone has at least 80% battery charge.
- Backup all important files on your phone.
- Remove any screen locks and Google account from your phone.
- Install the latest Samsung USB driver on your computer.
- Download the latest version of the Odin tool.
Enabling Developer Mode on a Samsung Phone
In order to access certain advanced features on your Samsung phone, you may need to enable Developer mode. This mode gives you access to a range of options and settings that are not available in the standard user interface. Enabling Developer mode is a simple process that can be done in just a few steps. In this section of the article, we’ll provide a step-by-step guide for enabling Developer mode on your Samsung phone.
- On your Samsung phone, go to the Phone Settings.
- Scroll down and select the “About phone” option.
- Find and select the “Software information” option.
- Tap on the “Build number” several times until you see a message that says “Developer mode has been enabled.”
- If your phone is locked, you may be prompted to enter your lock screen password.
- You will see a message on your phone screen indicating that “Developer mode has been enabled!”
Enabling OEM Unlocking on a Samsung Phone
- Go to the Settings on your Samsung phone.
- Scroll down and select the “Developer options” option.
- Toggle the “OEM unlocking” option to the ON position.
Unlocking the Bootloader on Samsung Phones
Note: This process may vary depending on the age and model of your Samsung phone.
For older Samsung phones:
- After enabling OEM unlocking, the bootloader may be unlocked automatically upon restart.
For newer Samsung phones:
In order to unlock the bootloader, you will need to follow additional steps which are not covered in this guide.
- Power off your phone and, keep pressing the “Volume Down”, “Volume Up” buttons simultaneously and connect phone to pc using data cable, you see the “Warning” screen.
- Keep press more than 7 second to “Volume Up” button to unlock bootloader option.
- You will be prompted to confirm whether you want to unlock the bootloader, use the volume buttons to navigate to ‘Yes’ and press the power button to confirm.
Finding and Downloading the Correct Stock Firmware for your Samsung Phone
- To download the stock firmware for your Samsung phone, you can visit SamFW.com.
- In order to download the correct firmware, you will need two pieces of information: your phone’s model number and its CSC (Country/Region Code).
- To find your phone’s model number, go to Settings → About phone.
Note: It is important to download the correct firmware for your specific phone model and region in order to avoid any potential issues or compatibility problems.
Download 7zip and LZ4 Tools
After downloading the firmware, we need to extract it. To extract the firmware, we need to use a lz4 extract tool, which can be downloaded from the link provided below.
Download: 7zip Tool
Download: LZ4 Tool
To make sure you can extract the firmware file properly, you need to download and install the 7zip software on your PC. Once installed, use it to extract the LZ4 tool downloaded. This will make it easier for you to extract the firmware file and access the files inside it.
Preparing Patched Boot Image file
- Extract the “AP” firmware package using 7zip.
- Open the extracted folder and again Extract AP firmware file.
- Now you will find boot.img.lz4 file.
- Copy boot.img.lz4 to LZ4 Installed folder.
Next, we need to convert boot.img.lz4 to boot.img file.
- Open the lz4 extracted folder.
- Drag the boot.img.lz4 file to the lz4.exe program.
- This step converts the boot.img.lz4 file to boot.img format.
Patch the boot.img Firmware File with Magisk App
- Download and install Magisk App on your phone.
- Open the Magisk App.
- Tap on the INSTALL button.
- Then Select and Patch a File.
- Choose the boot.img File.
- Once the file is selected, tap on LET’S GO.
- The patched file can be found in the Downloads folder.
- Connect your phone to the PC and copy the magisk_patched.img file on your PC.
Convert .IMG File to .TAR (For ODIN)
- Download and Install 1st 7zip software in your PC.
- Select magisk_patched.img and right click mouse and point to 7zip > Add to archive.
- Archive formats select tar and click OK.
- Finally, we are building the magisk-patched.tar file for ODIN (AP)
Boot your Samsung Phone’s into Download Mode
- First, power off your phone.
- Press Button Volume Up, Volume Down and connect your phone to your PC using data cable.
"If you have Bixby button in your phone press "Volume Down", "Bixby" and "Power Button" simultaneously."
- You will now see the Bootloader warning screen.
- Long press Volume Up button to unlock bootloader.
- If your device bootloader already unlocks just press one time volume up button.
- Following this method, you enter to download mode.
Flash Magisk_Patched.tar using Odin flash tool
- Run Odin Tool.
- Connect your Samsung Galaxy device to a PC/Laptop.
- You will see ID:COM section light up blue. It means the port is working.
- BL: Select the firmware file starting BL.
- AP: Select the Magisk Patched AP firmware file (magisk_patched.tar)
- CP: Select the firmware file starting CP.
- CSC: Select the firmware file starting HOME_CSC.
- Once done, click Start to begin the flashing process.
- The first boot will take some time.
If you done all following step, you will successfully root your Samsung phone’s. After power on you see Magisk App install on your phone.
Frequently Asked Questions
Rooting a Samsung phone is a process that allows you to gain access to the system files and settings on your device. This can be a useful step for customizing your phone or unlocking its full potential. However, rooting a Samsung phone also carries some risks and can void your warranty. Below are answers to some common questions about rooting Samsung phones.
Can I root my Samsung Phone without Custom Recovery?
Yes, you can root your Samsung phone without custom recovery. There are alternative methods to rooting your device that do not require a custom recovery. Refer to the “Root Samsung Phone via Magisk and Odin” guide for more information.
In conclusion, rooting your Samsung phone can open up a world of possibilities for customization and optimization. However, it’s important to weigh the potential benefits against the risks before proceeding. Make sure to research and follow a reliable guide, backup your important data, and understand the risks involved before attempting to root your Samsung phone. With the right preparation and knowledge, rooting can be a rewarding experience for advanced users looking to unlock the full potential of their device.
2 thoughts on “How to Root Samsung Phone Via Magisk and Odin”
Excellent instructions, I followed them step-by-step and successfully rooted my phone.
Glad to hear that the instructions worked well for you and that you were able to successfully root your phone! Thank you for taking the time to leave a comment and let us know. If you have any further questions or need any assistance, feel free to reach out.