How to Root Motorola Moto G42 XT2233-2 using Magisk without TWRP
In this guide, we have shared the steps to Root Motorola Moto G42 XT2233-2 (codenamed hawao) using Magisk without TWRP in a very simple way for your ease....
Abd Razaaq
Last updated on June 24, 2025
Abd Razaaq
Author
I'm a Tech Content Writer and Full-Time blogger. Since I love Android and Google's device, I started my career in writing for Android OS and their features. This led me to start "GetDroidTips". I have completed Master of Business Administration at Mangalore University, Karnataka.
In this guide, we have shared the steps to Root Motorola Moto G42 XT2233-2 (codenamed hawao) using Magisk without TWRP in a very simple way for your ease.
Motorola Moto G42 launched in India as their latest budget segment that features a 6.4-inch full-HD+ AMOLED display with a 60Hz refresh rate. The device runs on Android 12 out of the box and is powered by Qualcomm Snapdragon 680 SoC. The device sports a triple rear camera setup headlined by a 50 MP primary sensor, an 8 MP ultra-wide and depth shooter, and a 2 MP macro shooter.
To root your Motorola Moto G42, we will use the Magisk to patch the stock boot image and flash that to your device boot partition. Now, if you ask why Magisk? It’s a system-less root process that doesn’t tamper with the system partitions while enabling root access. Magisk can also hide online security measures to work apps properly like any banking app, SafetyNet, etc.
Motorola Moto G42 Device Overview:
The Motorola Moto G42 features a 6.4 inches AMOLED panel with a 60 Hz refresh rate. It is an FHD+ panel with a resolution of 1080 x 2400 pixels and an aspect ratio of 20:9. Under the hood, we get the Qualcomm Snapdragon 680 4G processor built on a 6nm manufacturing process. It is an octa-core processor withfour Kryo 265 Gold cores clocked at 2.4 GHz and four Kryo 265 Silver cores clocked at 1.9 GHz. For handling the graphics-intensive tasks, we have the Adreno 610. The smartphone comes with Android 12 out of the box with Motorola’s stockUI skin running on top.
In optics, we get a triple camera setup at the rear and a single selfie camera at the front. The triple rear camera setup consists of a 50 MP primary sensor paired with an f/1.8 lens, an 8 MP ultrawide sensor paired with an f/2.2 lens, and a 2 MP macro sensor paired with an f/2.4 lens. The selfie camera at the front is a 16MP primary sensor paired with an f/2.2 lens. The front and rear camera systems are limited to 1080p video recording.
The smartphone comes in two storage options: 64GB internal storage + 4GB RAM and 128GB internal storage + 4GB RAM. We also get a dedicated MicroSD slot for storage expansion. In terms of communications, we get Wi-Fi 802.11 a/b/g/n/ac, Bluetooth 5.0, GPS, NFC, FM radio, and USB Type-C 2.0. And for sensors, we get a side-mounted fingerprint sensor, accelerometer, gyro, proximity, and compass. Powering it all is a 5,000 mAh battery that can be topped up quickly using an 18W power adapter. The smartphone has two color options: Atlantic Green and Metallic Rose.
Steps To Root Motorola Moto G42 XT2233-2 Using Magisk
Follow the full-depth guide along with the requirements and download the links below.
Keep in mind:
Rooting may void the manufacturer’s warranty on your device.
Rooting will block the firmware OTA updates.
Now, let’s head over to some of the necessary steps which you need to abide by:
Pre-Requirements
Your phone should have a battery juice of more than 60%.
Keep a backup of your device data at first. Therefore, you can get back the important data if anything goes wrong.
The image file in this article is supported by the Motorola Moto G42 model only. DO NOT try to flash it on other models.
You will also require a PC/Laptop and a USB cable to connect your device to the computer.
You should download all the necessary files, tools, and drivers below accordingly.
We’re at GetDroidTips won’t be responsible for any kind of error or damage that occurs to your phone during or after following this guide or flashing any file. You should know what you’re doing. Take a full backup at first and proceed at your own risk!
1. How to Extract and Patch Boot.image using Magisk?
First of all, download and extract the ROM to your PC.
Attach your device via USB cable and copy only the boot.img file from the extracted folder to your device storage
Launch Magisk Manager. When a popup appears asking to install Magisk, select INSTALL and choose to install again.
Tap on “Patch Boot Image File”.
Navigate to internal storage and select your phone’s boot image you transferred earlier.
Wait for a couple of seconds. Magisk will start patching the boot image.
Once the boot image has been patched, copy the “patched_boot.img” from the internal storage and replace it in your PC’s same extracted ROM folder.
Now you can follow the second step to flash the patched boot image file.
2. Steps To Install the Patched Boot Image on Motorola Moto G42
Follow the proper guide to install Patched Boot Image on Motorola Moto G42 below link:
Now, extract the ADB & Fastboot tool, then move the patched boot image file to the same folder.
Press and hold down the Shift key + right-mouse-click to open the command window/PowerShell.
Next, enter the following command to flash the “patched_boot.img” to install Magisk and root your Android device:
fastboot flash boot patched_boot.img
For devices with an A/B partition system, you have to use the following commands:
You will see the status screen to verify the systemless root access on your phone. Here all options should be green ticked if properly rooted. If yes, that means you’ve also successfully bypassed the Google SafetyNet measure.
That’s it, guys. We hope you’ve found this guide useful and successfully rooted your Motorola Moto G42 device. For any queries, feel free to ask in the comments below.