[GUIDE] Root the Realme X3 SuperZoom with Magisk

Search This thread

Zacharee1

Recognized Developer / Retired Forum Moderator
Before rooting, you'll need an unlocked bootloader. Check my previous guide here: https://forum.xda-developers.com/x3...ck-bootloader-realme-x3-t4136325/post83109505.

After unlocking, we can get started with rooting.

  1. First, you'll want to install Magisk Manager. You can find the latest APK here: https://github.com/topjohnwu/magisk/releases.
  2. Next, you'll need to download the latest OTA OZIP. There's a link at the end of the post for this.
  3. While that's downloading, you'll also need to grab a copy of an OZIP extractor. Follow the link below, download the repository as a ZIP, and unzip it.
  4. For this program to work, you'll need Python 3 installed. On Linux systems, it should already be installed. On Windows 10, you can install Python from the Store.
  5. Open a terminal or CMD window and cd to where you extracted the OZIP extractor files.
  6. Use pip to install the docopt module: "pip3 install docopt".
  7. Once the OZIP has finished downloading, move it to the same folder as the extractor program.
  8. Run the following command: "python3 ozipdecrypt.py NAME_OF_OZIP_FILE". This will take a while!
  9. Once it's done extracting, there will be a ZIP file with the same name as the OZIP. We only need two files from here: boot.img and vbmeta.img.
  10. Extract those two files to the same folder as the extractor program.
  11. Copy the boot.img file to your device.
  12. Open Magisk Manager and choose the "INSTALL" option next to the Magisk status. Tap "INSTALL" in the dialog that appears and then choose "Select and Patch a File."
  13. Browse to where you copied your boot.img to and select it. Magisk will now patch it and create a file named magisk_patched.img in your Download folder. Copy magisk_patched.img back to your computer.
  14. Reboot your phone into fastboot: "adb reboot bootloader". If you don't have ADB or fastboot installed (which you should, since you needed them for the previous guide), you can find the link in the bootloader unlocking guide.
  15. Before you flash the patched boot image, you need to disable image verification, which is where the vbmeta.img comes in.
  16. Run "fastboot flash vbmeta vbmeta.img --disable-verity --disable-verification" (remember, you'll probably need to unplug and replug the device after hitting Enter). This will disable boot verification and allow the patched image to actually work.
  17. Finally, run "fastboot flash boot magisk_patched.img". This will flash the rooted boot image to your device.
  18. Run "fastboot reboot" and let the phone boot back into the system. Check Magisk Manager and you should now be rooted!

Troubleshooting:
If you get an error that the boot image was "destroyed," don't worry. You'll just need to flash the stock boot.img and try again. Unplug your phone from your computer and wait for it to turn off. Once the screen is black, hold down VOL-DWN and PWR to enter fastboot mode. You can then run "fastboot flash boot boot.img" (where boot.img is the stock image) to restore. Reboot, then try the vbmeta and patched image flashing again.

You can get the OTA OZIPs from Realme EU's site: https://www.realme.com/eu/support/software-update.
You can get an OZIP extractor from here: https://github.com/bkerler/oppo_ozip_decrypt. (NOTE: you'll need to install the "docopt" Python module.)

OZIPs contain a boot.img, which you can extract and patch with Magisk for root. If someone else has an idea for patching Magisk into the boot.img, this is where to start.

Here's my patched boot.img for A.32. I don't recommend using this on other versions: https://www.androidfilehost.com/?w=files&flid=315334
 
Last edited:

dzontra83

Senior Member
Aug 24, 2010
337
63
Could you share your patched boot.img for the latest OS version? And could you check if the aux magisk module from X2 pro works to activate all aux cameras in Gcam? Thanks
 
  • Like
Reactions: cheth20

cheth20

Senior Member
Sep 11, 2006
111
6
Patched boot image

Thanks Zacharee1....Could someone upload the patched boot image for the latest one? Also do we have a generic version of twrp that can be installed on x3 ?? If yes, then we could try installing havoc gsi...
 
Last edited:

Zacharee1

Recognized Developer / Retired Forum Moderator
Thanks a ton Zacharee!!

But it seems like I have A.33 version (https://www.realme.com/in/support/software-update)

I wish we had a video guide or something. Does anyone have a patched A.33 boot.img?

It's pretty simple to patch it yourself. Download the OZIP, use the Python tool to unencrypt it, take the boot.img file out of the created ZIP, copy it to your device, and then patch with with Magisk Manager.
 
  • Like
Reactions: cheth20

Zacharee1

Recognized Developer / Retired Forum Moderator
I have RMX2085 model. So installing RMX2081 would be okay?

Actually I installed GSI ROM after this and now stuck with boot animation loops. Any idea if it would be okay to flash 2081 ROM else where can I get the one for 2085 version?
The firmware is the same for them all.
 
  • Like
Reactions: cheth20

phonedroid

Senior Member
Jul 4, 2011
118
8
Trivandrum
Great thread @Zacharee1. I have been waiting for this!
I have one question - is it mandatory to download the OTA package and do the patching? Is it because of the absence of recovery software like TWRP yet, for the X3 Super Zoom?
 

Zacharee1

Recognized Developer / Retired Forum Moderator
Great thread @Zacharee1. I have been waiting for this!
I have one question - is it mandatory to download the OTA package and do the patching? Is it because of the absence of recovery software like TWRP yet, for the X3 Super Zoom?


Yes, and that's why. It might be possible to pull the boot image directly from your device, but I'm not sure.
 
  • Like
Reactions: phonedroid

lemene

Senior Member
Sep 21, 2010
142
41
Portimao
Thanks Zacharee1!

Finally did it (15/20 year old windows machines... Win7 was dificult and finally use a win8). Worth big as root gives me a new smartphone :)
Had all sorts of problems (installing python... But once installed was pretty quick) mainly adb conneting...

Anyway I will share vbmeta.img attached for a38 rom.
Also link to boot img, again a38.
For A38 rom
http://www.mediafire.com/file/i9jvl1al95k40vv/magisk_patched_a38.img/file
 

Attachments

  • vbmeta.img
    8 KB · Views: 76

mnqazi

New member
Aug 16, 2020
2
0
bro please could u tell me.. help

I have RMX2085 model. So installing RMX2081 would be okay?
Actually I installed GSI ROM after this and now stuck with boot animation loops. Any idea if it would be okay to flash 2081 ROM else where can I get the one for 2085 version?

bro please could u tell me.. after unlocking the bootloader of realme X3 superzoom , does it breaks the fingerprint sensor?
 

mmar

Member
Mar 6, 2007
9
1
ota update after root

Someone have experiencing ota update failed on rooted device with this procedure? I m on RMX2081EU_11.A.40 but ota update to RMX2081EU_11.A.42 fails. how to update now?
 

SanyaOster

New member
Dec 2, 2020
1
0
Good afternoon. I want to get a root for my X3 super zoom, but I literally do not understand all the manipulations so that your description is attached with an image (screenshots). I think it will be useful for everyone who can't.
 

cvallo2

Member
Mar 20, 2008
19
0
Anyone have working patched boot.img for a46?? I'm trying and always boot destroyed. Magisk 21.4


It's really weird on official en site there is a42 soft from September but on pl site there is a46 from December.
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 5
    Before rooting, you'll need an unlocked bootloader. Check my previous guide here: https://forum.xda-developers.com/x3...ck-bootloader-realme-x3-t4136325/post83109505.

    After unlocking, we can get started with rooting.

    1. First, you'll want to install Magisk Manager. You can find the latest APK here: https://github.com/topjohnwu/magisk/releases.
    2. Next, you'll need to download the latest OTA OZIP. There's a link at the end of the post for this.
    3. While that's downloading, you'll also need to grab a copy of an OZIP extractor. Follow the link below, download the repository as a ZIP, and unzip it.
    4. For this program to work, you'll need Python 3 installed. On Linux systems, it should already be installed. On Windows 10, you can install Python from the Store.
    5. Open a terminal or CMD window and cd to where you extracted the OZIP extractor files.
    6. Use pip to install the docopt module: "pip3 install docopt".
    7. Once the OZIP has finished downloading, move it to the same folder as the extractor program.
    8. Run the following command: "python3 ozipdecrypt.py NAME_OF_OZIP_FILE". This will take a while!
    9. Once it's done extracting, there will be a ZIP file with the same name as the OZIP. We only need two files from here: boot.img and vbmeta.img.
    10. Extract those two files to the same folder as the extractor program.
    11. Copy the boot.img file to your device.
    12. Open Magisk Manager and choose the "INSTALL" option next to the Magisk status. Tap "INSTALL" in the dialog that appears and then choose "Select and Patch a File."
    13. Browse to where you copied your boot.img to and select it. Magisk will now patch it and create a file named magisk_patched.img in your Download folder. Copy magisk_patched.img back to your computer.
    14. Reboot your phone into fastboot: "adb reboot bootloader". If you don't have ADB or fastboot installed (which you should, since you needed them for the previous guide), you can find the link in the bootloader unlocking guide.
    15. Before you flash the patched boot image, you need to disable image verification, which is where the vbmeta.img comes in.
    16. Run "fastboot flash vbmeta vbmeta.img --disable-verity --disable-verification" (remember, you'll probably need to unplug and replug the device after hitting Enter). This will disable boot verification and allow the patched image to actually work.
    17. Finally, run "fastboot flash boot magisk_patched.img". This will flash the rooted boot image to your device.
    18. Run "fastboot reboot" and let the phone boot back into the system. Check Magisk Manager and you should now be rooted!

    Troubleshooting:
    If you get an error that the boot image was "destroyed," don't worry. You'll just need to flash the stock boot.img and try again. Unplug your phone from your computer and wait for it to turn off. Once the screen is black, hold down VOL-DWN and PWR to enter fastboot mode. You can then run "fastboot flash boot boot.img" (where boot.img is the stock image) to restore. Reboot, then try the vbmeta and patched image flashing again.

    You can get the OTA OZIPs from Realme EU's site: https://www.realme.com/eu/support/software-update.
    You can get an OZIP extractor from here: https://github.com/bkerler/oppo_ozip_decrypt. (NOTE: you'll need to install the "docopt" Python module.)

    OZIPs contain a boot.img, which you can extract and patch with Magisk for root. If someone else has an idea for patching Magisk into the boot.img, this is where to start.

    Here's my patched boot.img for A.32. I don't recommend using this on other versions: https://www.androidfilehost.com/?w=files&flid=315334
    1
    Could you share your patched boot.img for the latest OS version? And could you check if the aux magisk module from X2 pro works to activate all aux cameras in Gcam? Thanks
    1
    I've added a link to a patched A.32 boot.img.
    1
    Thanks a ton Zacharee!!

    But it seems like I have A.33 version (https://www.realme.com/in/support/software-update)

    I wish we had a video guide or something. Does anyone have a patched A.33 boot.img?

    It's pretty simple to patch it yourself. Download the OZIP, use the Python tool to unencrypt it, take the boot.img file out of the created ZIP, copy it to your device, and then patch with with Magisk Manager.
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone