» » Root Samsung Galaxy A22 4G LTE SM-A225F/M Android 11 using Magisk
- Should you need to Root your Samsung Galaxy A22 4G LTE Android 11 version?
- How to Root Samsung Galaxy A22 4G LTE Android 11 One UI 3.1 (SM-A225F, SM-A225M)
- Things to check out for;
- 1. Unlock Bootloader
- 2. Preparing Patched Boot Image file
- 3. Flash Patched Boot and Vbmeta Image.tar using ODIN
- Boot into Rooted OS
- Table of Contents
- Installing TWRP on Samsung Galaxy A22 5G
- Rooting Samsung Galaxy A22 5G using TWRP and Magisk
- Rooting Samsung Galaxy A22 5G without TWRP
- Unlock Developer Options on Samsung Galaxy A22 5G
- Enable is the OEM unlocking option on Samsung Galaxy A22 5G
- Unlocking the Bootloader
- Confirming Bootloader Unlock
- Downloading Stock Firmware for Samsung Galaxy A22 5G
- Download 7zip and LZ4 Tools
- Preparing Patched Boot Image file
- Converting boot.img.lz4 to boot.img File
- Patching the boot.img Firmware File with Magisk
- Converting .IMG File to .TAR for ODIN Flash Tool
- Boot your Samsung Galaxy A22 5G into Download Mode
- Flashing Magisk_Patched.tar with Odin Flash Tool
- Conclusion
- A Brief Intro to Samsung Galaxy A22 4G
- What is Root? Why Root?
- Advantages of rooting Samsung Galaxy A22 4G?
- Disadvantages of rooting Samsung Galaxy A22 4G?
- Prerequiste
- Downloads For Rooting Samsung Galaxy A22 4G
- Procedure to Root Samsung Galaxy A22 4G (Without TWRP with Magisk)
- Part 1: Preparing the boot image: Extract and Patch Boot.image using Magisk?
- Part 2: Patching the boot image: How to Install the patched Boot.image on Samsung Galaxy A22 4G using Odin Flash Tool?
- Verify the Systemless Root on Samsung Galaxy A22 4G
Should you need to Root your Samsung Galaxy A22 4G LTE Android 11 version?
How to Root Samsung Galaxy A22 4G LTE Android 11 One UI 3.1 (SM-A225F, SM-A225M)
First of all, thanks to the developer- Demoimoet, for the Root method. topjohnwu – this genius is the one who discovered and maintaining Magisk. Samsung Galaxy A22 4G LTE International variants come with a flexible bootloader. It means that We can easily root the smartphone. 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.
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 A22 4G LTE. 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; We will explain everything succinctly in bullets.
Things to check out for;
Check your device model number.
- You should back up 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.
- Read the full tutorial before the process.
1. Unlock Bootloader
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 A22 4G LTE.
- 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.
2. Preparing Patched Boot Image file
- Copy the boot.img.lz4 and Vbmeta.img.lz4 to LZ4 Installed folder. Convert the lz4 file to the .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 boot and Vbmeta — img file to your mobile.
Navigate to your copied Boot Image File and patch the file.
- Wait for the process to complete; you will get a magisk patched .tar file in the end. 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.
- 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 Vbmeta. img into boot.tar. Now we got ODIN flashable boot.tar file. In the .tar, there are two file-boot.img and Vbmeta.img.
3. Flash Patched Boot and Vbmeta Image.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 Button and Connect Your Mobile To PC via USB Cable; after Samsung Logo Appear, Release all keys.
- After entering into Download Mode, it will say Warning; press the Volume Up button to continue.
- Launch Odin Application.
- It Will Show the message added.
- If you did not get this message, Repeat the above steps.
- 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.
- Press Start wait for the tasks to complete. After the process is 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.
- 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.
Boot into Rooted OS
If your Magisk Ramdisk says “No” value, you can use the below methods to boot into various environments.
- Stock Recovery Boot – Press and Hold Volume Up + Power buttons, release keys while you hold the Volume Up key.
In my opinion, you don’t need to root your Samsung Galaxy A22 4G LTE Android 11. If you thought you could Improve Performance By root; With the Qualcomm SM7225 Snapdragon 750 5G Octa-Core processor and 4-8 GB RAM. 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 urge and boot frequently, Don’t panic; after setup everything, switch off your device and boot into Rooted OS using the 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.
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.
I’ll be showing you two methods to root your Samsung Galaxy A22 5G – one with TWRP recovery and one without TWRP recovery. TWRP is one of the most popular custom recoveries available for Android devices and is a great starting point if you’re new to rooting. With a custom recovery installed, you’ll be able to install custom ROMs, kernels, and mods that can enhance the performance, battery life, and overall functionality of your phone.
Whether you’re a seasoned rooting veteran or a newcomer, this guide will provide you with all the information you need to get started. So, let’s dive in and unlock the full potential of your Samsung Galaxy A22 5G.
Table of Contents
Installing TWRP on Samsung Galaxy A22 5G
Read this: Install TWRP custom recovery on Samsung Galaxy A22 5G
Rooting Samsung Galaxy A22 5G using TWRP and Magisk
If you’ve already installed TWRP recovery on your Samsung Galaxy A22 5G, then you’re ready to start rooting your device using Magisk. This section will guide you through the process, step by step, so that you can have your phone rooted and ready to go in no time. So, let’s get started and see what rooting your Samsung Galaxy A22 5G with Magisk and TWRP can do for you!
- Download Magisk Zip file and keep on internal storage.
- Reboot your phone to TWRP recovery mode. (Keep pressing the “Volume Up” buttons and connect phone to pc using data cable).
- Press install button on TWRP recovery.
- Select your downloaded Magisk Zip file.
- After select the file swipe to flash.
- After successfully flash reboot phone to system.
Now that you have successfully installed Magisk using TWRP recovery on your Samsung Galaxy A22 5G, you can enjoy the benefits of rooting your device. You can now install custom ROMs, custom mods, and take full advantage of your device’s capabilities.
Rooting Samsung Galaxy A22 5G without TWRP
In this guide, I’m providing a second option for rooting your Samsung Galaxy A22 5G in case TWRP recovery is not available for your device. This process can be a bit more complicated, but with careful attention to the steps outlined below, you should be able to root your phone without any issues. So, let’s get started and explore how you can root your Samsung Galaxy A22 5G without TWRP recovery.
Unlock Developer Options on Samsung Galaxy A22 5G
- Go to Phone Settings on your Samsung Galaxy A22 5G.
- Scroll down and select About phone.
- Next, select Software information.
- Tap on the Build number multiple times.
- Enter your phone’s lock screen Password.
- You will now see the “Developer mode has been enabled!” toast message on the phone screen.
Enable is the OEM unlocking option on Samsung Galaxy A22 5G
- Go to Phone Settings on your Samsung Galaxy A22 5G.
- Scroll down and select Developer options.
- Toggle ON the OEM unlocking option.
Unlocking the Bootloader
- Power off your phone.
- Press and hold the Volume Up and Volume Down buttons.
- Connect your phone to your PC using the data cable.
- Once you see the bootloader warning screen, press and hold the Volume Up button to unlock the bootloader on your device.
Confirming Bootloader Unlock
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.
Downloading Stock Firmware for Samsung Galaxy A22 5G
Before we proceed with rooting your Samsung Galaxy A22 5G, it’s important to have the correct stock firmware for your device. You can download the stock firmware from a reputable website like Samfw.com.
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.
- Now you will find boot.img.lz4 file.
- Copy boot.img.lz4 to LZ4 Installed folder.
Converting boot.img.lz4 to boot.img File
- Open the lz4 extracted folder.
- Drag the boot.img.lz4 file to the lz4.exe program.
- This step converts the file to .img format.
Patching the boot.img Firmware File with Magisk
- Download and install the Magisk App on your phone.
- Open the Magisk App.
- Tap on the INSTALL button.
- Select “Patch a file”.
- Choose the boot.img file from your device.
- Tap “LET’S GO” after the file is selected.
- The patched file will be located in the Downloads folder.
- Connect your phone to the PC and copy the magisk_patched.img file to your PC.
Converting .IMG File to .TAR for ODIN Flash Tool
- Download and install the 7zip software on your PC.
- Select the magisk_patched.img file.
- Right-click the mouse and go to “7zip” > “Add to archive”.
- In the “Archive format” option, select “TAR”.
- Click “OK” to complete the conversion of the .IMG file to a .TAR file for ODIN flash tool.
Boot your Samsung Galaxy A22 5G into Download Mode
- First, power off your phone.
- Press Button Volume Up, Volume Down and connect your phone to your PC using data cable.
- You will now see the Bootloader warning screen.
- Long press Volume Up button to unlock bootloader.
- If your device bootloader already unlock just press one time volume up button.
- Following this method you enter to download mode.
Flashing Magisk_Patched.tar with Odin Flash Tool
- Run Odin Tool.
- Reboot your phone to download mode.
- Connect your Samsung Galaxy A22 5G device to a PC/Laptop.
- You will see ID:COM section light up blue. It means the port is working.
- 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.
- Once done, click Start to begin the flashing process.
- The first boot will take some time.
- After on phone you will see in app drawer Magisk APK installed.
Conclusion
This tutorial will guide you to root Samsung Galaxy A22 4G 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 A22 4G, 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 A22 4G using Magisk method.
A Brief Intro to Samsung Galaxy A22 4G
What is Root? Why Root?
Advantages of rooting Samsung Galaxy A22 4G?
- 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 A22 4G.
- 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 A22 4G?
- 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.
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.
Prerequiste
Ensure to check your model number, which must be:
- Samsung Galaxy A22 4G
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 A22 4G
Download Samsung USB Drivers here (If your PC have already drivers installed then skip this)
Download the latest Samsung Galaxy A22 4G Stock ROM Firmware flash file, and move it to the PC.
Download Magisk Manager from here.
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 A22 4G (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 A22 4G 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 A22 4G device.
Part 2: Patching the boot image: How to Install the patched Boot.image on Samsung Galaxy A22 4G using Odin Flash Tool?
Step 1: First of all, put the Samsung Galaxy A22 4G 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 A22 4G 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 A22 4G
Congratulations, now you have rooted Samsung Galaxy A22 4G. 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.