This tutorial will guide you to root Samsung Galaxy A12 without requiring to flash TWRP Recovery. Rooting with Magisk is an easy method, and doesn’t need technical skills much. If you own a Samsung Galaxy A12, and you want to perform numerous things that usually are not possible with Stock Android ecosystem, then you must root your device. Though, to flash the rooting file, you must unlock the bootloader of your device.
For those who do not know – it is certainly possible to install Magisk and root your phone without flashing TWRP at all. If you are an Android Enthusiast, and want to Root, in the due course of the article, we will guiding you through the process to root Samsung Galaxy A12 using Magisk method.
Table of Contents
A Brief Intro to Samsung Galaxy A12
The Samsung Galaxy A12 features the specifications Chipset Mediatek MT6765 Helio P35 (12nm), CPU/ Processor Octa-core (4×2.35 GHz Cortex-A53 & 4×1.8 GHz Cortex-A53), Display 6.5 inches, 102.0 cm2 (~82.1% screen-to-body ratio), PLS LCD, 720 x 1600 pixels, 20:9 ratio (~270 ppi density), Internal Storage/ RAM 32GB 2GB RAM, 32GB 3GB RAM, 64GB 4GB RAM, 128GB 3GB RAM, 128GB 4GB RAM, 128GB 6GB RAM, Main Camera Quad Camera Sensor / 48 MP, f/2.0, 26mm (wide), AF / 5 MP, f/2.2, 123˚ (ultrawide) / 2 MP, f/2.4, (macro) / 2 MP, f/2.4, (depth), Selfie Camera 8 MP, f/2.2, Battery Li-Po 5000 mAh, non-removable, Fast charging 15W, Model Numbers SM-A125F/DSN, SM-A125F/DS, SM-A125F, SM-A125M, SM-A125U, SM-A125U1, SM-A125N, SM-A125W
What is Root? Why Root?
‘Root’ refers to a storage unit, which acts as a topmost folder/ directory in the operating system, which holds data from various sections i.e. apps, systems and users. The primary job of this ‘root’ directory is to transfer data across every sections of the phone’s operating system. If you want to unleash the full potential of the hardware of your Samsung Galaxy A12 , then rooting and flashing custom recovery like TWRP is the main concern.
Advantages of rooting Samsung Galaxy A12?
- The Stock ROMs have often limited and unsupported features in the sense of Customization. When you have a rooted device and also flashed TWRP recovery, then you are free to install any Custom ROMs, Mods, Kernel, and Xposed Framework and Xposed module support etc., as well as many apps which requires root access to work properly.
- Get access of all the files in the ‘root’directory of your phone.
- New phones often comes with bloatware pre-installed by OEM/ manufacturers. After gaining root access, user can uninstall all bloatware on Samsung Galaxy A12.
- Block ads on any installed apps, like YouTube, Chrome etc.
- Increase battery life, and gain better performance by overclocking the CPU.
Disadvantages of rooting Samsung Galaxy A12?
- One of the top most risk of rooting device is that during the process, Android device can ‘brick’. Once an Android phone is ‘bricked’ it usually turns unresponsive, won’t power on, and doesn’t function normally anymore.
- Rooting voids manufacturer warranty permanently
- Rooting or overclocking can cause the problem of ‘overheating’
- No more updates; the device would stop receiving any OTA firmware updates released by manufacturer from time to time with bug fixes, security patches for the Android operating system.
Disclaimer: The AndroidWeblog.com covers although everything in a very neat and a processed manner so that our readers get exactly what they want, still there are meager chances of basic issues that may arise out of the listed steps here. Hence it is in sole interest of the user to follow the steps very cautiously so as to stay away from any mishappenings with your device.
Rooting and flashing the Custom ROM firmware, certainly without any doubt voids your devices warranty and AndroidWeblog.com in no way will be held responsible for warranty void or your bricked device.
Ensure to check your model number, which must be:
- Samsung Galaxy A12
You must have to ensure that prior to rooting your phone , you have read thoroughly the disclaimer and you agree to proceed further on your risk.
- Phone Should be Charged
Your phone must be 70% charged at least, else, it may lead to complications sometimes while experimenting. Why to take risk, try to charge it fully.
- Back Up
If you are either going to root your phone or install a Custom ROM, it is a good habit to make a back up of your phone. Make a back up of all your media like images, videos and all on your PC and your contacts on Cloud.
- Enable USB Debugging
(Applicable only for PC method, Skip if you will use APK method)
You must enable USB debugging option by going in to Settings, Applications and Developer options.
Downloads For Rooting Samsung Galaxy A12
Make sure that you have downloaded the required files (link in the pre-requisite section of this article). Then, proceed to the steps.
Procedure to Root Samsung Galaxy A12 (Without TWRP with Magisk)
Part 1: Preparing the boot image: Extract and Patch Boot.image using Magisk?
Step 1: First of everything, download stock ROM in your PC, and then extract the stock ROM in your PC.
Step 2: Now, connect your Samsung Galaxy A12 with your PC, and transfer boot.img from the extracted folder to the internal storage of your device.
Step 3: Launch Magisk Manager as suggested previously in the pre-requisite section. When a popup arrives at the screen asking you to install Magisk, simply select Install>Install.
Step 4: Then, you will get two options, Download Zip only and Patch Boot Image File, simply tap on the option Patch Boot Image File, and select the boot image file transferred earlier in internal storage of your device.
Step 5: Once the boot image file is selected, in a matter of just couple of seconds, Magisk will start patching the boot.img file. Once the boot image file is patched, simply copy the patched_boot.img from internal storage of your device, and then replace the same in extracted ROM folder on your computer.
Odin flash tool accepts flash file in .tar format. So, just use tools like 7zip, WinRar etc. to archive boot.img file to the .tar format. We will learn how to flash the patched boot.image file on your device using Odin Flash tool in the next part.
Then, move forward to the second part to flash the patched boot.img file on your Samsung Galaxy A12 device.
Part 2: Patching the boot image: How to Install the patched Boot.image on Samsung Galaxy A12 using Odin Flash Tool?
Step 1: First of all, put the Samsung Galaxy A12 into the download/odin mode. Turn off the device, and then press and hold Volume Up + Power buttons simultaneously till the device logo appears on the screen.
Step 2: Once the Samsung logo appears, release Power button but hold the others few more seconds.
Step 3: Release all of the buttons altogether, once the Recovery Mode screen appears. If you see Android logo with No Command text, don’t panic and just wait for a few seconds. You can use the Volume Up and Volume Down buttons to scroll up or down, and the Power button to select an option.
Step 4: Connect the Samsung Galaxy A12 to the PC. Once device gets connected, open the download ODIN.exe file.
Step 5: Once the device is connected, Odin interface will display the blue sign. Now, load the patched boot.tar file in the AP section.
Step 6: Now, on the Odin Interface, switch to the Options tab, then check whether Auto Reboot and F-Reset Time options are ticked/ selected or not. If not selected already, then just select the both options.
Caution: Don’t select re-partition option
Step 7: Next, click on the Start button to start flashing patched boot image file, this will root your device. Once the boot image file has done installing, the device will boot within few seconds.
Verify the Systemless Root on Samsung Galaxy A12
Congratulations, now you have rooted Samsung Galaxy A12. Now, you can install Xposed Framework, and customize your smartphone as per your preference. If you wish to verify, you may launch Magisk Manager app. If everything goes well, all the options on the Magisk interface should be green ticked, confirming that device has bypassed the Google SafetyNet measure, latest version of Magisk installed, and properly rooted with MagiskSU.