• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
Android Infotech

Android Infotech

Android Tips, News, Guide, Tutorials

  • News
  • Root
  • Firmware
  • Applications
  • Knowledge
  • Tutorial
  • I’m Bored
  • Deals
  • Donate
  • 🔎Search
Home » Root » Root Samsung Galaxy A42 5G SM-A4260/B Android 10 using Magisk

Root Samsung Galaxy A42 5G SM-A4260/B Android 10 using Magisk

by Selva Kumar A Leave a Comment

After the Magisk release gaining Root, access becomes easy for all users. Before that, we have to wait for the developer to release recovery, and we have to flash it on our mobile to gain root access. But with Magisk, We can modify some firmware files and can gain root access. Samsung Galaxy A42 5G comes with a mid-range 5G processor and other satisfied specs. When you are a developer or regular root apps user, you can root your Samsung Galaxy A42 5G Android 10 using the below method. Since We are using Magisk, We can’t install custom ROMs. But we can use any root required apps without any restriction.
Samsung Galaxy A42 5G Home Screen Unlocked

After root, you will lose official updates. You have to update your mobile manually. So, Before proceeding with the process, you should know why you need to do it. If you are a regular user, you can try some alternatives for your purpose that don’t require root. When you are a regular root apps user and developer, you can follow the below guide to achieve root on your mobile.

Table of Contents

  • Should you need to Root your Samsung Galaxy A42 5G Android 10 version?
  • How to Root Samsung Galaxy A42 5G Android 10 One UI 2.5 (SM-A4260, SM-A426B)
    • Things to check out for;
    • 1. Unlock Bootloader
    • 2. Preparing Patched Boot Image file
    • 3. Flash Patched Boot.tar using ODIN
      • Boot into Rooted OS
  • What More?

Should you need to Root your Samsung Galaxy A42 5G Android 10 version?

It would be best if you had a strong reason for rooting. Samsung Galaxy A42 5G already comes with One UI 2.5 based on Android 10 and is already optimized. You have More than Enough 4-8 GB RAM to use daily apps without lag for years. Yes, I Know, RAM maybe looks like not enough because of the Samsung Heavily customized OS. But, Trust me, One UI is far better than other Custom Skin OS. You can use this device without lag for years until Samsung mess with some Bloatware. Beyond that not go reasons, you are addicted to some root apps, or you are a frequent user of some Custom OS, you can proceed further. But if you want to root because everybody is doing, I advise you, don’t root If you didn’t have any experience. For regular users, It can become a Nightmare.

Buy Samsung Galaxy S22 Ultra from $6.46/mo for 24 Months with Eligible Trade-In.
Samsung Galaxy S23 available for $0.00/mo with T-Mobile Credit and Trade-in Deal

How to Root Samsung Galaxy A42 5G Android 10 One UI 2.5 (SM-A4260, SM-A426B)

First of all, thanks to the developer Rootadvisor for the Root method. topjohnwu – this genius is the one who discovered and maintaining Magisk. Samsung Galaxy A42 5G International variants come with a flexible bootloader. It means that the smartphone can be easily rooted. The device can also accept installing TWRP recovery or any other custom recovery file/app. Don’t try with Snapdragon US Variants like Verizon devices. They come with a locked Bootloader.

Also Read-  Root Xiaomi Redmi 6/6A Oreo 8.1 using TWRP and Install Magisk

But In the below method, we are going to Root this device by using Magisk. You can install Official TWRP using the official app when it is released. TWRP recovery is a custom recovery file that must be installed on your devices because you can root them successfully. This article explained the easiest method to follow and install Magisk on Samsung Galaxy A42 5G. However, the tool required for rooting this device is the Magisk App.

You can flash TWRP once it is available. With the help of TWRP Recovery, you can quickly flash the Custom ROMs into your Samsung Galaxy A42 5G. Before sharing the tutorial, you may want to know that you can easily install any root apps with the Magisk present on your device. Does it seem complicated? Relax; everything will be explained succinctly in bullets.

Things to check out for;

  • Check your device model number.

  • You should Backup your current files and data- Full Data Loss Process (save them on external storage).
  • Install Latest Magisk Manager.
  • Make sure your device battery is above 50%

  • You cannot use Samsung Pay, Secured folder, and some official apps from Samsung.
  • You can’t update your firmware; to get new firmware, you must follow the below steps with the latest firmware.
  • Read the full tutorial before the process.

1. Unlock Bootloader

Enabling developer option

  • Enable USB Debugging Mode and OEM Unlock on your mobile. To do this, go to settings >>> about >>> Tap on the “Build Number” 7-10 times consistently to enable “Developer Options,” then go to the “Developer Options” and enable USB Debugging Mode and OEM Unlock. There is no complicated process in the Samsung Galaxy A42 5G.

Samsung Galaxy A42 5G Download Mode

  • Switch off your device. Enter into Download Mode-> Volume Down+ Power Button and Connect your mobile with PC using USB Cable. When the Download mode warning screen Appears, Press the Volume Up button to unlock the Bootloader.

Samsung Galaxy Bootloader Warning Screen

  • The above process will wipe your user data. After setup your device, Please recheck the OEM Unlock in the settings. Sometimes It Will Lock Again.

2. Preparing Patched Boot Image file

  • Download and install the Samsung USB driver to your computer system.

  • Also, download the ODIN software. Select the above Oreo version in the ODIN list. Install ODIN on your PC.

  • Download Samsung Galaxy A42 5G Android 10 Firmware and save it on your PC. Your Current OS version and Downloaded Version AP and CSC should be the Same.
  • You can use Phone Info to know your firmware version.
Also Read-  Download Samsung Galaxy S20 Plus SM-G985F Android 10 One UI 2.0 Stock Firmware

Samsung AP Extracted files

  • Download 7Zip-ZS, LZ4, and Install both on your PC. Extract the files in downloaded firmware using 7Zip-ZS. You will get four files. Click on the AP File and Extract again. You will get some data along with the boot.img.lz4, recovery.img.lz4 and Vbmeta.img.lz4.

Convert lz4 file to img

  • Copy the boot.img.lz4 and Vbmeta.img.lz4 to LZ4 Installed folder. Convert lz4 file to .img file by dragging the .img file to the lz4 application file. You have to drag the file to that application. The script will automatically convert the file to .img format. After the conversion, Copy the boot—img file to your mobile.
  • Download Magisk Manager (Download Latest version) or Magisk canary and Install it on your mobile. Open Installed Magisk and Select Install in Magisk; it will ask For zip file and Patch Boot Image File. Select the Boot Image file.

Magisk Boot Image File

  • Navigate to your copied Boot Image File and patch the file.

Magisk Firmware Patch Process

  • Wait for the process to complete; in the end, you will get a magisk patched .tar file. The .tar file will be in the same folder where you have the Stock firmware file. If you didn’t get the .tar and you got the .img file. No problem. Copy this file to your PC. We can convert the data there.

Convert magisk patched tar file

  • When you get the .img file, Open the installed 7zip app. Navigate the magisk patched img file and select Add, Choose .tar format and choose ok. Convert only boot—img file. After you got boot.tar, Drag the recovery.img, and Vbmeta. img into boot.tar. Now we got ODIN flashable boot.tar file. In the .tar, there are three files-boot.img, recovery.img.lz4 and Vbmeta.img.

Samsung Magisk Patched TWRP Files

3. Flash Patched Boot.tar using ODIN

  • Due to Samsung’s new security restrictions, we can’t flash TWRP with Stock Boot on your mobile. So, we have to flash a patched boot using ODIN.
  • Unlock your screen lock. There should be no fingerprint, PIN Lock, Wipe. Set No lock in the settings.
  • Switch off your Mobile. Enter into Download mode->Volume Down+ Volume Up Buttons and Connect Your Mobile To PC via USB Cable; after Samsung Logo Appear, Release all keys.

Samsung J4 Plus Warning screen

  • After entering into Download Mode, it will say Warning; press the Volume Up button to continue.
  • Launch Odin Application.

ODIN Added Message

  • It Will Show the message added.
  • If you did not get this message, Repeat the above steps.

ODIN software screenshot

  • After Getting Added Message Select, AP/PDA Button, Browse for the patched Magisk .tar file selects it. Along with this file, you should select and flash the other three non-patched firmware files. We have to flash only the magisk patched boot image file. Un-Tick the Auto-Reboot.

Odin Auto Reboot

  • Press Start wait for the tasks to complete. After the process complete, Press the Volume Down+ Power button to exit Download mode. When the screen goes off, Immediately Press Volume Up+ Volume Down + Power buttons to boot into Recovery mode.
Also Read-  Download Samsung Galaxy XCover 4s SM-G398FN Android 10 One UI 2.0 Stock Firmware

Samsung Galaxy A42 Recovery Mode

  • After entering into Stock recovery mode, Go to Wipe Data/Factory Reset and Select Yes to wipe data. It will erase your saved data on your device. Don’t Boot into OS; read below Boot stages before booting.

Samsung Galaxy M10 Recovery Mode Warning Screen

Boot into Rooted OS

  • Press and Hold Volume Up + Power buttons, release all the keys once the Bootloader warning appears. You have to set up your device like a new device. You can select the root status using the Root Checker.
  • Stock Recovery Boot – Press and Hold Volume Up + Power buttons, release keys while you hold the Volume Up key.
  • You will see Magisk Manager in your App drawer. If you can’t find the app, you can install Magisk Manager on your mobile.

What More?

In my opinion, you don’t need to root your Samsung Galaxy A42 Android 10. If you thought you could Improve Performance By root; With the Qualcomm SM7225 Snapdragon 750 5G Octa-Core processor and 4-8 GB RAM, your device can perform well. If you don’t know how much RAM you need, You will never use this much RAM. It would help if you did not Boot into Normal OS Booting by pressing the power button after firmware flash. It will boot you to a Non-Rooted environment.

When you accidentally urged and boot frequently, Don’t panic; after setup everything, switch off your device and boot into Rooted OS using above mentioned keys. If you root your device because of the battery drain issues, you can optimize your battery without root. Beyond this, if your purpose is to Disable Bloatware apps, you can do that without using this method. When you have any suggestions or doubts, comment below.

Source, (2)

Selva Kumar A

Selva Kumar is an Android Devices Enthusiast, Who Can Talk and Write About Anything If You Give a Hint About the respective devices. He is a Computer Science Graduate and Certified Android Developer, Making His Career towards this Technology. He is always eager to try new Android devices — not only Software level but Hardware-level Also. Beyond this, He is a Good Swimmer, Guitarist.

Related Posts:

  • Fix Samsung Galaxy A42 5G SM-A4260/B/N/U/U1 Stuck on Boot Start screen…
  • Troubleshoot Samsung Galaxy A42 5G SM-A4260/B/N/U/U1 Freeze Not…
  • Fix Samsung Galaxy A42 5G SM-A4260/B/N/U/U1 Bluetooth Pairing and Not…
  • Troubleshoot Samsung Galaxy A42 5G SM-A4260/B/N/U/U1 Wi-Fi Not Working
  • Root Samsung Galaxy A42 5G SM-A4260/B/N/U/U1 Android 11 using Magisk
  • Fix Battery Drain Issues in Samsung Galaxy A42 5G SM-A4260/B/N/U/U1…
Share This Post:

Filed Under: Root Tagged With: Magisk, Samsung, TWRP

Reader Interactions

Leave a Reply Cancel reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Primary Sidebar

Join With Us

Deal of the Day

Samsung Galaxy S22 Ultra For $6.95/mo at Samsung Online Store.

Recent Posts

YouTube TV Black Screen Issue

YouTube TV update on Apple TV fixes Black Screen Issue

Oppo Find X6 Pro 1 Inch Sony Camera Sensor

Oppo Find X6 Pro Released with Sony’s 1-inch 50MP sensor

Google Pixel 8 Video Editing

Video Unblur coming to Google Pixel 8

YouTube Shorts Thumbnail Edit Video

How to Change YouTube Shorts Thumbnails?

T-Mobile and Mint Mobile Merger Ryan Reynolds and CEO

No Change in the $15/mo Mint Mobile Plan after T-Mobile Acquire

Advertisement

Footer

Copyright © 2023 AndroidInfotech.com, All Rights Reserved, Android is a trademark of Google Inc. All contents on this blog are copyright protected and should not be reproduced without permission.

  • Subscribe
  • Sitemap
  • About Us
  • Contact Us
  • Privacy Policy
  • Disclaimer
  • Our Image License
  • Hosted on Google Cloud
  • Ad Partner Ezoic
  • Corporate Office