Model Manual Android 15 (Vanilla Ice Cream) Compatibility → Verified Working

Motorola Edge 50/40 Series & Moto G84/G54 Root Guide

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.

Hardware & Partition Specifications

Before flashing, confirm your device matches these exact kernel and partition specifications:

Hardware Parameter Target Specification Engineering Details
SoC / Chipset Snapdragon 8s Gen 3 / Dimensity 7030 / Snapdragon 695 Hardware processing platform and architecture
Target Partition init_boot.img (Edge 50/40) or boot.img (Moto G) The exact partition image that must be patched in Magisk
OS Compatibility Layer Android 15 (Vanilla Ice Cream) Layer → Kernel specifications, SEPolicy patching & 16KB memory page rules
RAM Page Alignment 4KB / 16KB Page Aligned Virtual memory kernel standard (Android 15/16 compatibility)
Firmware Package Official Rescue and Smart Assistant (RSA) Firmware Archive Official OEM stock ROM packaging format
Unlocking Method Motorola Unlock Portal (`fastboot oem get_unlock_data` -> Request Unique Unlock Key) Bootloader unlocking requirement and tool
AVB / dm-verity Standard AVB 2.0 (No vbmeta patch needed) Android Verified Boot verification enforcement

Step-by-Step Rooting Procedure

Phase 1

Unlock the Motorola Edge 50/40 Series & Moto G84/G54 Bootloader

Enable Developer Options by tapping Build Number 7 times in Settings → About Phone. Navigate to Settings → System → Developer Options and toggle on OEM Unlocking and USB Debugging.

Unlocking Method: Motorola
Motorola Unlock Portal (`fastboot oem get_unlock_data` -> Request Unique Unlock Key)
Phase 2

Extract the Stock Partition Image

Obtain the official stock firmware archive matching your exact software build number. Extract the required partition image:

Extraction Command
$Lenovo RSA Tool -> Download Firmware -> Extract init_boot.img
Phase 3

Patch Partition in the Magisk App

1. Download and install the latest official Magisk v30.7 APK onto your Motorola Edge 50/40 Series & Moto G84/G54.
2. Transfer the extracted stock init_boot.img (Edge 50/40) or boot.img (Moto G) to your device's Download folder.
3. Open Magisk, tap Install on the top card, and choose Select and Patch a File.
4. Select your file. Magisk will patch the ramdisk and output magisk_patched_[random].img to your Download directory.
5. Transfer the patched image back to your PC via USB.

Phase 4

Flash Patched Image

Connect your device to your computer in bootloader/download mode and execute the verified flashing command:

Flashing Command
#fastboot flash init_boot magisk_patched.img

Emergency Recovery & Bootloop Prevention

If your device fails to boot after installing an incompatible module, use this model-specific hardware recovery procedure:

Recovery Action: Fastboot Mode -> Flash stock init_boot/boot via Lenovo RSA
OTA Maintenance: Magisk Inactive Slot OTA Installation

Technical Verification Notice: This guide has been verified against Magisk v30.7 and stock Motorola Edge 50/40 Series & Moto G84/G54 firmware partitions on 2023-2024.