How to Root Samsung Galaxy A9 2018 (a920f) using Magisk

This guide aims to demonstrate the steps for rooting the Samsung Galaxy A9 2018 using Magisk. It will cover two methods, one with TWRP recovery and one without TWRP recovery, to root the Samsung Galaxy A9 2018.

Rooting your phone opens up opportunities for further customization of its software, including the ability to uninstall system apps. Additionally, it can enhance device performance by freeing up RAM and enabling overclocking of the CPU frequency, among other things.

Install TWRP on Samsung Galaxy A9 2018

TWRP is a custom recovery tool that offers a range of benefits. It helps to flash custom ROMs, perform full phone backups, and provides additional options for rebooting into the system, bootloader, download mode, and more.

For detailed instructions on how to install TWRP custom recovery on the Samsung Galaxy A9 2018, refer to the article “How to install TWRP custom recovery on Samsung Galaxy A9 2018“. Simply follow the guide for a successful installation.

How to Root Samsung Galaxy A9 2018 (a920f) using Magisk
How to Root Samsung Galaxy A9 2018 (a920f) using Magisk

Root Samsung Galaxy A9 2018 with TWRP and Magisk

If you have installed a custom recovery (such as TWRP, OrangeFox, or SHRP) on your phone, you can easily root it using Magisk. Here are the steps to install Magisk on your phone using TWRP recovery:

  • Download Magisk Zip file and keep on internal storage.
  • Reboot your phone to TWRP recovery mode. (Press Bixby, Volume Up and Power Button)
  • Press install button on TWRP recovery.
TWRP Recovery
TWRP Recovery
  • Select your downloaded Magisk Zip file.
Install Magisk using TWRP
Install Magisk using TWRP
  • After select the file swipe to flash.
Swipe to conform Install
Swipe to conform Install
  • After successfully flash reboot phone to system.
Reboot System using TWRP
Reboot System using TWRP
Magisk App
Magisk App

Root Samsung Galaxy A9 2018 without TWRP

As an alternative to the TWRP method, you can also root your Samsung Galaxy A9 2018 without TWRP recovery. However, it is important to follow the steps carefully to ensure a successful rooting process. Here is a step-by-step guide for rooting the Samsung Galaxy A9 2018 without TWRP:

Step 1: Unlock Bootloader on Samsung Galaxy A9 2018

  • Go to Phone Settings on your Samsung Galaxy A9 2018.
  • 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.

Step 2: Enable is the OEM unlocking option on Samsung Galaxy A9 2018

  • Go to Phone Settings on your Samsung Galaxy A9 2018.
  • Scroll down and select Developer options.
  • Toggle ON the OEM unlocking option.
Enable the OEM Unlocking
Enable the OEM Unlocking

After enabling OEM unlocking, your phone will undergo a factory reset and restart. It may take a few minutes to fully restart and boot up, after which you can proceed to set up your device and its settings.

Step 3: Download Stock Firmware for Samsung Galaxy A9 2018

To download the stock firmware for the Samsung Galaxy A9 2018, you will need to know your phone’s model number and its CSC (country or carrier specific code). You can obtain your phone’s model number by navigating to Settings -> About phone.

The stock firmware for the Samsung Galaxy A9 2018 can be downloaded from a reputable source such as Sammobile.com. To ensure that you are downloading the correct firmware for your device, it is important to have both the model number and the CSC code at hand.

Step 4: Download LZ4

  • Extract Downloaded LZ4 File

Step 5: Preparing Patched Boot Image file

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

Next, we have 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.
Converting boot.img.lz4 to boot.img file
Converting boot.img.lz4 to boot.img file
  • This step converts the file to .img format.

Step 6: 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.
Install button on Magisk App
Install button on Magisk App
  • Then Select and Patch a File.
  • Choose the boot.img File
Patching the boot.img with Magisk
Patching the boot.img with Magisk
  • 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.

Step 7: 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 to archive on 7zip
Add to archive on 7zip
  • Archive format select tar and click OK.
Add to archive file using 7zip
Add to archive file using 7zip
  • Finally, we are building the magisk-patched.tar file for ODIN (AP)

Step 8: Boot your Samsung Galaxy A9 2018 into Download Mode

  • First, power off your phone.
  • Connect your phone to your PC while holding the Bixby, Volume Down and Power keys together.
  • You will now see the Bootloader screen.
Samsung Download Mode
Samsung Download Mode
  • Press Volume Up key to enter Download Mode.

Step 9: Flash Magisk Patched and Root

  • Run Odin Tool.
  • 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 Connection
Odin Tool Port Connection
  • 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 CSC.
Flashing Firmware using Odin Tool
Flashing Firmware using Odin Tool
  • Once done, click Start to begin the flashing process.
  • The first boot will take some time.

Once your phone is rooted, you will notice the Magisk app installed on your device. This app serves as a management tool for your root permissions, allowing you to control and monitor which apps have access to root privileges.

Conclusion

In conclusion, rooting your Samsung Galaxy A9 2018 can provide a number of benefits and opportunities for customization, including the ability to uninstall system apps and enhance device performance. The process can be accomplished using either TWRP recovery and Magisk or without TWRP, but it is important to follow the steps carefully to ensure a successful outcome. With the help of the Magisk app, you can manage your root permissions and keep your device secure while enjoying the benefits of a rooted device.

Bishal Pokhrel

Bishal Pokhrel is a seasoned developer with extensive experience in Android app and website development. He specializes in Magisk, Magisk Modules, Custom ROMs, Android root, and Android tricks, and regularly shares his insights on these topics.

2 thoughts on “How to Root Samsung Galaxy A9 2018 (a920f) using Magisk”

Leave a Comment