Motorola Android 13 / 14 init_boot.img (GKI 2.0)

How to root the Motorola Edge 50/40 Series & Moto G84/G54 with Magisk

Step-by-step rooting guide for Motorola smartphones: Edge 50 Ultra, Edge 40 Pro, Moto G84, and Moto G54. Details Motorola bootloader unlock code retrieval, RSA tool, and Fastboot flashing.

At a glance

Device familyMotorola Edge 50/40 Series & Moto G84/G54
Launch softwareAndroid 13 / 14 (Hello UI / My UX)
ChipsetSnapdragon 8s Gen 3 / Dimensity 7030 / Snapdragon 695
Root partitioninit_boot.img (Edge 50/40) or boot.img (Moto G)
Firmware formatOfficial Rescue and Smart Assistant (RSA) Firmware Archive
Bootloader unlockMotorola Unlock Portal (`fastboot oem get_unlock_data` -> Request Unique Unlock Key)
Warranty / security impactUnlocking the bootloader wipes user data and may disable some hardware-backed features. It can usually be re-locked and re-flashed to stock.

Rooting method

  1. Step 1. Download the stock firmware or factory image that matches your exact build (Official Rescue and Smart Assistant (RSA) Firmware Archive).
  2. Step 2. Extract init_boot.img from the package.
  3. Step 3. Copy init_boot.img to the phone, open the Magisk app, tap Install → Select and Patch a File and choose it. Magisk writes magisk_patched.img to your Download folder.
  4. Step 4. Copy the patched image back to your computer.
  5. Step 5. Reboot to the bootloader and flash it, then reboot the device.
Flash command
fastboot flash init_boot magisk_patched.img fastboot reboot

For the full workflow and prerequisites, see the installation guide and boot image patching guide.

If the device bootloops

Recovery

Fastboot Mode -> Flash stock init_boot/boot via Lenovo RSA

More options: fix a Magisk bootloop.

Keeping root across updates

Magisk Inactive Slot OTA Installation

See the OTA survival guide for the full procedure.

Independently written from public upstream documentation. Verify every command against the official Magisk documentation and your exact device firmware before flashing. Not affiliated with the Magisk project.