[General Topics] ZedXYZ:
Rooting the Motorola G84 5G: The Official Unofficial Guide​

An Introduction:​

I searched high and low for guides with instructions on rooting the Motorola G84 5G but there was only one major thread and there were a whole bunch of different methods. At the time of writing this, there also isn't even a dedicated Motorola G84 5G forum.

I've taken a little bit from each of the methods in the original thread to create an easy, straightforward and secure way to root your Motorola G84 5G.

Special thanks to Mario6w891 and G5 Plus Mate's contributions in the original thread which helped me create this guide..

Spoiler content hidden.

Spoiler content hidden.

Prerequisites:​

Bootloader is unlocked (more on this below)

You've downloaded and installed Motorola RSA Tool (Found here)

You have ADB/fastboot tools and are familiar with it.

Developer settings are enabled and USB debugging + Installing apps from unknown sources is enabled. Remember this was disabled again after unlocking your bootloader.

Spoiler content hidden.

Instructions:​

On your Motorola G84 5G, download and install Magisk from the official source.

Connect your phone to the computer via USB. On your computer, run the Motorola RSA Tool

Follow the prompts to setup and configure the tool. Next, visit the Rescue page in RSA tool.

Press the Download button to start downloading the correct firmware for your phone.

Once downloaded, you'll notice a boot.img file inside the newly downloaded folder. Copy this over to your phone, leaving a backup of it on your computer.

Open Magisk on your phone. Press the "Install" button, choose "Select and Patch a File" and choose the boot.img you just copied over.

Once completed, copy the patched image over to your PC. I also like to rename it, removing "magisk" from the filename.

Turn off your phone and boot into Fastboot mode.

We're going to test and confirm the phone will boot with the new image. On your PC, navigate to where the patched image is. Within terminal/command prompt, type the following:

fastboot boot name-of-patched-boot.img

.

The phone will boot with the patched image. Hopefully all is working well! If so, the phone is running with temporary root access. While we have temporary root, let's back up a few more files.

(OPTIONAL) Backup the boot.img on your A and B partitions.

What does this mean? Your phone has two disk partitions; Partition A and Partition B. They each have a boot.img .

Backup these files for peace of mind. I'm still wrapping my head around how these partitions work, but for my own peace of mind I backed them up. BACKING UP PARTITION A:

dd if=/dev/block/by-name/boot_a of=/storage/emulated/0/boot_a.img

BACKING UP PARTITION B:

dd if=/dev/block/by-name/boot_b of=/storage/emulated/0/boot_b.img

Copy these over to your PC

Ready to rock 'n' roll? Time to flash the patched boot.img to your phone. Put your phone back into fastboot mode. Type this to flash your patched boot.img:

fastboot flash boot name-of-patched-boot.img

One last step: Open Magisk and see if it says something like "Additional setup required". If it does, follow the prompts and restart your phone... Then you should be good to go :)

Enjoy having root access!

Let me know if I've missed something.