• About us
  • Contact us
  • Disclaimer
  • Privacy Policy
Techorfy
  • The Best
  • Best Custom ROMs
    Best Custom ROMs for Asus ROG Phone II

    Best Custom ROMs for Asus ROG Phone II (Updated List)

    Best Custom ROMs for Realme 6 Pro

    3+ Best Custom ROMs for Realme 6 Pro (Updated list)

    Best Custom ROMs for Moto G7 Power

    Best Custom ROMs for Moto G7 Power (Android 11)

    Best Custom ROMs for Moto G7

    5+ Best Custom ROMs for Moto G7 (Updated List)

    Best Custom ROMs for Sony Xperia XZ2

    Best Custom ROMs for Sony Xperia XZ2 (Android 11 included)

    Best Custom ROMs for Asus Zenfone 6

    Best Custom ROMs for Asus Zenfone 6 (Android 11)

    Best Custom ROMs for Moto G6

    Best Custom ROMs for Moto G6 (Updated List)

    Poco F2 Pro

    Best Custom ROMs for Poco F2 Pro (Updated List)

    Download LineageOS 17.1 for Poco F2 Pro

    Download and Install LineageOS 17.1 for Poco F2 Pro

  • How to
  • Stock ROMs
    Mi 10 Lite MIUI 12 Update

    Download MIUI V12.0.1.0.QJIMIXM for Mi 10 Lite (Global Stable)

    Mi Note 10 Lite MIUI Update

    Download MIUI V12.0.2.0.QFNMIXM for Mi Note 10 Lite (Global Stable)

    MIUI 11 Update Redmi 9

    Download MIUI V11.0.7.0.QJCEUXM for Redmi 9 (EEA Stable)

    Mi 10 Lite MIUI 12 Update

    Download MIUI V12.0.2.0.QJIEUXM for Mi 10 Lite (EEA Stable)

    Mi 10 MIUI 12 Update

    Download MIUI V12.0.2.0.QJBEUXM for Mi 10 (EEA Stable)

    MIUI 11 Update Redmi 9

    Download MIUI V11.0.7.0.QJCMIXM for Redmi 9 (Global Stable)

    MIUI 12 Update for Mi 9 Lite Europe

    Download MIUI V12.0.3.0.QFCMIXM for Mi 9 Lite (Global Stable)

    MIUI 12 for Mi Note 10

    Download MIUI V12.0.2.0.QFDMIXM for Mi Note 10 (Global Stable)

    Redmi Note 8T MIUI Update

    Download MIUI V11.0.5.0.PCXMIXM for Redmi Note 8T (Global Stable)

  • Privacy Policy
  • About us
No Result
View All Result
  • The Best
  • Best Custom ROMs
    Best Custom ROMs for Asus ROG Phone II

    Best Custom ROMs for Asus ROG Phone II (Updated List)

    Best Custom ROMs for Realme 6 Pro

    3+ Best Custom ROMs for Realme 6 Pro (Updated list)

    Best Custom ROMs for Moto G7 Power

    Best Custom ROMs for Moto G7 Power (Android 11)

    Best Custom ROMs for Moto G7

    5+ Best Custom ROMs for Moto G7 (Updated List)

    Best Custom ROMs for Sony Xperia XZ2

    Best Custom ROMs for Sony Xperia XZ2 (Android 11 included)

    Best Custom ROMs for Asus Zenfone 6

    Best Custom ROMs for Asus Zenfone 6 (Android 11)

    Best Custom ROMs for Moto G6

    Best Custom ROMs for Moto G6 (Updated List)

    Poco F2 Pro

    Best Custom ROMs for Poco F2 Pro (Updated List)

    Download LineageOS 17.1 for Poco F2 Pro

    Download and Install LineageOS 17.1 for Poco F2 Pro

  • How to
  • Stock ROMs
    Mi 10 Lite MIUI 12 Update

    Download MIUI V12.0.1.0.QJIMIXM for Mi 10 Lite (Global Stable)

    Mi Note 10 Lite MIUI Update

    Download MIUI V12.0.2.0.QFNMIXM for Mi Note 10 Lite (Global Stable)

    MIUI 11 Update Redmi 9

    Download MIUI V11.0.7.0.QJCEUXM for Redmi 9 (EEA Stable)

    Mi 10 Lite MIUI 12 Update

    Download MIUI V12.0.2.0.QJIEUXM for Mi 10 Lite (EEA Stable)

    Mi 10 MIUI 12 Update

    Download MIUI V12.0.2.0.QJBEUXM for Mi 10 (EEA Stable)

    MIUI 11 Update Redmi 9

    Download MIUI V11.0.7.0.QJCMIXM for Redmi 9 (Global Stable)

    MIUI 12 Update for Mi 9 Lite Europe

    Download MIUI V12.0.3.0.QFCMIXM for Mi 9 Lite (Global Stable)

    MIUI 12 for Mi Note 10

    Download MIUI V12.0.2.0.QFDMIXM for Mi Note 10 (Global Stable)

    Redmi Note 8T MIUI Update

    Download MIUI V11.0.5.0.PCXMIXM for Redmi Note 8T (Global Stable)

  • Privacy Policy
  • About us
No Result
View All Result
Techorfy
No Result
View All Result
Home Rooting

How to Root Samsung Galaxy A42 5G with Magisk [Easy Way]

by Subhnish
February 1, 2021
0
1
SHARES
Share on FacebookShare on Twitter

Rooting an Android OS gives the user a whole lot more control over the OS. You can customize the UI, kill the Background Apps, overclock or downclock the CPU, and add many features using Magisk and Xposed Modules. Here is the guide to Root Samsung Galaxy A42 5G.

The safest way to root any Android device is to use the Magisk, as you can uninstall it easily and the code is open source. You can either flash the Magisk zip in Custom Recovery or you can patch the boot.img with Magisk Manager and flash it using Odin. Both of the methods need an unlocked bootloader but the latter one needs no Custom recovery.

To Root Samsung Galaxy A42 5G, first, start with downloading the Stock Firmware and extracting it, and then extracting boot.img file from AP file. After that, use lz4tool to compress boot.img.lz4. Finally, Patch it with Magisk and flash the patched image using Odin.

The Complete process is given in the post, download all the files from the Section below and start following the step by step instructions given below.

Root Samsung Galaxy A42 5G

Table of Contents

  • 1 Download Section
  • 2 How to Root Samsung Galaxy A42 with Magisk
    • 2.1 Step 1: Unlock the Bootloader
    • 2.2 Step 2: Extract AP_[device_model_sw_ver].tar.md5 from Firmware and then boot.img.lz4 from it.
    • 2.3 Step 3: Use lz4tool to compress boot.img and Patch the file using the Magisk Manager app
    • 2.4 Step 4: Make a new tar file and Flash the patched boot.tar using Odin
    • 2.5 Step 5: Full Wipe the System and Boot into System with Magisk

Download Section

Stock Firmware: Frija (Free)

lz4

USB Drivers

Odin Flash Tool

Magisk and Manager

Note: Your KNOX status will be tripped once you Unlock the Bootloader and Root the device.

How to Root Samsung Galaxy A42 with Magisk

Step 1: Unlock the Bootloader.

Step 2: Download Firmware for Samsung Galaxy A42 and Extract boot.img.lz4 file.

Step 3: Use lz4tool to compress the file and Patch the Boot.img using Magisk Manager.

Step 4: Make a tar file with 7-zip and flash the Patched Boot.tar using PC (Odin).

Step 5: Factory Reset the Device and Boot into the System with Magisk.

Step 1: Unlock the Bootloader

Unlocking Bootloader in Samsung devices can be done without a PC, just follow these steps:

Unlock Bootloader Samsung Devices

  1. Go to the Settings -> About Phone, and then Tap on “Build Number” 10 times.
  2. Enter your PIN or Password to Enable Developer options.
  3. The Developers Option will appear in Settings, Open it and Enable the “OEM Unlock”.
  4. Boot Into Download mode by Turning OFF your device, connect it to PC via Type-C cable and then hold Volume Down + Power Button. Release all the buttons once you see a change in screen and then press Volume Up to go into Download Mode.
  5. Once the Device boot into Download mode, hold the Volume Up Button, this will Wipe all the data in the phone and will unlock the Bootloader.
  6. The phone will reboot to the System, now Connect to the Wifi and Skip the Setup.
  7. Go to Settings -> About Phone and Tap on “Build Number” 7 times.
  8. Go to the Developers Options again and Check if the OEM Unlock is greyed out, if it is, then Bootloader is Unlocked.

Step 2: Extract AP_[device_model_sw_ver].tar.md5 from Firmware and then boot.img.lz4 from it.

Select AP.tar.md5 file

  1. Download the Stock ROM for your Device given above in the Download Section. The Frija tool is free and works on Windows. If you are on mac it Linux, then use SamFrew.
  2. Transfer the downloaded Stock Firmware to your PC and extract it, Find the file with the name “AP_[device_model_sw_ver].tar.md5”
  3. Use 7zip to extract the AP file

Step 3: Use lz4tool to compress boot.img and Patch the file using the Magisk Manager app

Magisk Select and Patch Boot.img file

  1. Go to the extracted AP file folder and pass the boot.img.lz4 through the lz4tool
  2. Move the new boot.img file that you just compressed with lz4 to the phone
  3. Download the Magisk Manager from Above and Install it
  4. Open the App and Tap on Install
  5. Choose the option “Select and Patch file”
  6. Find the boot.img file you extracted and transferred to your device
  7. Magisk Manager will patch the file and the file will be saved as magisk_patched.img

Step 4: Make a new tar file and Flash the patched boot.tar using Odin

Odin Flash tool select AP

  1. Move the magisk_patched.img to your PC and rename it to boot.img
  2. create a new folder with the name “boot” and move the patched boot.img to it, also move the vbmeta and recovery file you extracted from the AP file in the last step.
  3. Use 7-Zip to compress the folder to a .tar format
  4. Download the Odin 3.14 Flash Tool from Above and Install it.
  5. Boot Into Download mode by Turning OFF your device, connect it to PC via Type-C cable and then hold Volume Down + Power Button. Release all the buttons once you see a change in screen and then press Volume Up to go into Download Mode.
  6. Open Odin flash tool and click on AP, select the magisk_patched.tar file.
  7. Select the other BL, CP, and CSC files from the Firmware you downloaded.
  8. Uncheck Auto Reboot in options and Click on Install.
  9. This will flash the patched AP file on your device and Samsung Galaxy A42 is now Rooted.

Step 5: Full Wipe the System and Boot into System with Magisk

  1. Press Power + Volume Down to exit download mode. As soon as the screen turns off, immediately press the combo key Power + Volume Up to boot to recovery. Continue pressing the volume up button until you see the stock recovery screen.
  2. Use the Volume Buttons to Choose Wipe data/factory reset
  3. Boot to the System and the device is rooted. You can check the root status on the Magisk Manager app.

That’s it. You have successfully Rooted Samsung Galaxy A42.

If you are stuck in any step or have any problem, just leave a comment below and we will help you out.

Tags: RootSamsung Galaxy A42 5G
Subhnish

Subhnish

I am a Blogger, Android Geek, and an MMA Fanatic. I have been writing about Android OS for Last 2 years. If you want to connect with me then Follow me on Twitter.

Related Posts

How to Root Moto G9 Plus
Rooting

How to Root Moto G9 Plus with Magisk [Easy Way]

January 18, 2021
How to Root Samsung Galaxy M21
Rooting

How to Root Samsung Galaxy M21 with Magisk [Easy Way]

December 21, 2020
Rooting

How to Root Samsung Galaxy M51 with Magisk [Easy Way]

October 21, 2020
How to Root Poco M2
Rooting

How to Root Poco M2 with Magisk [Easy Way]

October 20, 2020
How to Root Samsung Galaxy M31s
Rooting

How to Root Samsung Galaxy M31s with Magisk [Easy Way]

August 15, 2020
How to Root Moto One Fusion Plus
Rooting

How to Root Moto One Fusion Plus with Magisk [Step by Step]

July 26, 2020

Leave a Reply Cancel reply

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

I agree to the Terms & Conditions and Privacy Policy.

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

Follow us

GCam

Download Best GCam APK for OnePlus 8T (Google Camera)

Download Best GCam APK for Moto G9 Plus (Google Camera)

Download Best GCam APK for Xiaomi Mi 10T (Google Camera)

Download Best GCam APK for LG Wing (Google Camera)

Download Best GCam APK for Xiaomi Mi 10 Ultra (Google Camera)

Download Best GCam APK for Realme 6i (Google Camera)

Popular

  • Download GCam APK for Realme 7

    Download GCam APK for Realme 7 (Google Camera)

    171 shares
    Share 68 Tweet 43
  • How to Root Samsung Galaxy A21s [Easy Way]

    266 shares
    Share 106 Tweet 67
  • Download Best GCam APK for Xiaomi Mi 10T (Google Camera)

    12 shares
    Share 5 Tweet 3
  • Download GCam APK for Samsung Galaxy M31 (Google Camera)

    59 shares
    Share 24 Tweet 15
  • 7 Best Custom ROMs for Samsung Galaxy J5

    656 shares
    Share 264 Tweet 164

TECHORFY

Techorfy provide the latest News, Guides, and Information about Android OS.

Follow us

Trending

Download GCam APK for Realme 7 (Google Camera)

How to Root Samsung Galaxy A21s [Easy Way]

Download Best GCam APK for Xiaomi Mi 10T (Google Camera)

Download GCam APK for Samsung Galaxy M31 (Google Camera)

DMCA.com Protection Status
  • About us
  • Contact us
  • Disclaimer
  • Privacy Policy

Copyright © 2020.All Rights Reserved by Techorfy

No Result
View All Result
  • The Best
  • Best Custom ROMs
  • How to
  • Stock ROMs
  • Privacy Policy
  • About us

Copyright © 2020.All Rights Reserved by Techorfy

We use cookies to personalize content and ads, to provide social media features and to analyse our traffic. You consent to our cookies if you continue to use our website. Visit our Privacy and Cookie Policy.