This tutorial will guide you to root Samsung Galaxy J4 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 J4, 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 J4 using Magisk method.
A Brief Intro to Samsung Galaxy J4
The Samsung Galaxy J4 features the specifications Chipset Exynos 7570 Quad (14 nm) CPU/ Processor Quad-core 1.4 GHz Cortex-A53 GPU Mali-T720 MP2 OS Android 8.0 (Oreo) Display 5.5 inches, 83.4 cm2 (~71.2% screen-to-body ratio)/ Super AMOLED/ 720 x 1280 pixels, 16:9 ratio (~267 ppi density) Internal Storage/ RAM 16GB 2GB RAM, 32GB 2GB RAM, 32GB 3GB RAM Main Camera 13 MP, f/1.9, 28mm (wide), AF/ LED flash, panorama, HDR/ [email protected] Selfie Camera 5 MP, f/2.2/ LED flash Battery Li-Ion 3000 mAh, removable Model Number SM-J400G, SM-J400F, SM-J400M
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 J4 , then rooting and flashing custom recovery like TWRP is the main concern.
Advantages of rooting Samsung Galaxy J4?
- 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 J4.
- 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 J4?
- 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 J4
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 J4
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 J4 (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 J4 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 J4 device.
Part 2: Patching the boot image: How to Install the patched Boot.image on Samsung Galaxy J4 using Odin Flash Tool?
Step 1: First of all, put the Samsung Galaxy J4 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 J4 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 J4
Congratulations, now you have rooted Samsung Galaxy J4. 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.