How to Root Samsung Phone Via Magisk and Odin

If you’re looking to root your Samsung phone, there are a few different methods you can try. Here’s a step-by-step guide on how to root Samsung phones.

Before you begin, it’s important to note that rooting your phone will void your warranty. Additionally, there’s always a chance that you could brick your device, so be sure to back up your data before proceeding.

Root Samsung Phone via Magisk and Odin

In this article I’m share with you full method of how to root Samsung phone with Magisk and Odin using. We are not use any custom recovery in these methods and also these methods work all Samsung phone so if your Samsung phone android version 5+ then you can easily root following these methods.

Samsung_device_root_via_magisk_and_odin_2022
Samsung Device Root Via Magisk and Odin 2022

Before processing you should complete all things.

  1. Make 80% over battery charge
  2. You should backup your important files
  3. Remove all screen locks and google account from phone
  4. Installed Samsung USB driver in your pc
  5. Download latest Odin tool
  6. Enable USB debugging and OEM unlocking

Unlock Bootloader on Samsung Phone’s

  • Go to Phone Settings on your Samsung phone’s.
  • Scroll down and select About phone.
  • Next, select Software information.
  • Tap on the Build number multiple times.
  • Enter your phone’s lock screen Password.
  • You will now see the “Developer mode has been enabled!” toast message on the phone screen.

Enable is the OEM unlocking option on Samsung Phone’s

  • Go to Settings on your Samsung Phone’s.
  • Scroll down and select Developer options.
  • Toggle ON the OEM unlocking option.
Enable_the_OEM_unlocking_option_on_Samsung_Galaxy_A9_2018

Download Stock Firmware for your Samsung Phone’s

You need a your Samsung phone’s stock firmware, you can download from SamFW.com,

You need first your phone’s model number and second, and CSC/regional code.

  • You can get your phone model number by going to Settings → About phone.

Download LZ4

Preparing Patched Boot Image file

  • Extract the firmware package.
  • Open the extracted folder and again Extract AP firmware file.
Samsung Firmware Extract
  • Now you will find boot.img.lz4 file.
Samsung Firmware AP File Extract
  • Copy boot.img.lz4 to LZ4 Installed folder.
LZ4 File

Next, we have to convert .img.lz4 to .img file.

  • Open the lz4 extracted folder
  • Drag the boot.img.lz4 file to the lz4.exe program
LZ4 File Extract
  • This step convert the file to .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.
Patch File on Magisk App
  • Then Select and Patch a File.
  • Choose the Boot.IMG File
Patch Boot.img on Magisk App
  • 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
Add archive file 7zip
Add archive file 7zip
  • Archive formats select tar and click OK.
Convert to .tar Extension
Convert to .tar Extension
  • Finally we are build 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.
Samsung_Android_Phone_Download_Mode

Flash Magisk_Patched.tar using Odin flash tool

  • Run Odin3.exe file.
  • Connect your Samsung Galaxy A9 2018 device to a PC/Laptop.
  • You will see ID:COM section light up blue. It means the port is working.
Odin Tool Port
  • 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.
Odin Tool
Odin Tool
  • 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. You can comment here if any issue on this following step I’ll help.

Frequently Asked Questions

Can I root my Samsung Phone without Custom Recovery?

Yes, you can root you Samsung phone without custom recovery, just follow this article methods.

Leave a Reply

Your email address will not be published. Required fields are marked *