2023 June 8th Thursday

How to Root Samsung Galaxy A13 using Magisk

Are you looking to gain more control over your Samsung Galaxy A13? Rooting your device using Magisk can give you the ability to customize the software and remove any unwanted system apps. Not only will this increase the performance of your device by using more RAM and overclocking the CPU frequency, but it also opens up a whole new world of possibilities for personalizing your device.

In this guide, we’ll walk you through two methods of rooting your Samsung Galaxy A13 using Magisk, one with TWRP recovery and one without. Let’s get started!

How to Root Samsung Galaxy A13 using Magisk
How to Root Samsung Galaxy A13 using Magisk

Install TWRP on Samsung A13

TWRP, or Team Win Recovery Project, is a powerful tool that allows you to flash custom ROMs, take full backups of your device, and access a wide range of options such as rebooting into the system, bootloader, and download mode. If you’re looking to unlock the full potential of your Samsung A13, installing TWRP is the first step.

Just follow the instructions and you’ll be on your way to unlocking more possibilities. Here is the link to the article:

Read this: How to install TWRP custom recovery on Samsung Galaxy A13

Root Samsung Galaxy A13 with TWRP and Magisk

Installing a custom recovery such as TWRP on your phone is the first step to easily rooting your device with Magisk. By following the steps outlined below, you can install Magisk on your phone with TWRP recovery and gain access to a world of customization options.

To begin, make sure you have TWRP recovery installed on your device. Once you have TWRP recovery installed, you can follow the steps to install Magisk and root your phone.

  • Download Magisk Zip file and keep on internal storage.
  • Reboot your phone to TWRP recovery mode. (Turn off phone and hold the Volume Up and Power buttons simultaneously and connect your phone to your PC using the data cable.)
  • 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 A13 without TWRP

Rooting your Samsung Galaxy A13 without TWRP is possible and in this section, we will show you how. The process can be done by following a few simple steps, but it’s important to be careful and make sure to follow each step correctly. By following this guide, you’ll be able to root your Samsung Galaxy A13 easily and unlock the full potential of your device.

Enable the Developer Options

  • Go to “Settings” on your device.
  • Scroll down to the bottom of the screen and select “About phone”.
  • From there, select “Software information”.
  • Tap on the “Build Number” 7 times.
  • If prompted, enter your phone’s lock screen password.
  • You will now see the “Developer mode has been enabled!” message on the screen.

Enable is the OEM unlocking option on Samsung Galaxy A13

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

Download Stock Firmware for Samsung Galaxy A13

You need a Samsung Galaxy A13 stock firmware, you can download from Sammobile.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 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.
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, Convert .img.lz4 to .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.

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.

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 formats 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)

Unlock Bootloader Samsung Galaxy A13

  • 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.

Boot your Samsung Galaxy A13 into Download Mode

  • Turn off your device.
  • Press and hold the Volume Down and Volume Up buttons simultaneously and connect your phone to your PC using the data cable.
  • When you see the “Warning” screen, press the Volume Up button to enter download mode.
Samsung Download Mode
Samsung Download Mode

Flash Magisk_Patched.tar using Odin flash tool

  • Run Odin Tool.
  • Reboot your phone to download mode.
  • Connect your Samsung Galaxy A13 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.

After turning on your phone, you will notice that the Magisk app has been installed. This app will assist you in managing root permissions on your device.

Conclusion

In conclusion, rooting your Samsung Galaxy A13 can unlock new possibilities and allow you to take full control of your device. Whether you choose to use TWRP and Magisk, or root your device without TWRP, it is important to follow the steps carefully to ensure a successful root process. Remember to always back up your data before making any changes to your device and to only download firmware and tools from trusted sources. By following the steps outlined in this article, you will be able to enjoy a fully customized and optimized Samsung Galaxy A13.

Leave a Reply

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