Skip to content

Install Custom ROM

This method is mainly aimed at Motorola Moto G32/G42/G52/G200 devices

Step 1: Download Motorola USB Drivers

  1. Open your web browser and download Motorola USB Drivers from official download page:

  2. Click on “Download” for your operating system.

  3. Open the downloaded file and then install it.

Step 2: Download Recovery/Kernel

Custom recoveries are installed in the boot.img partition of the device, but for this to load correctly it must be compatible with the vendor_boot.img and dtbo.img partitions, so we need to install all three partitions to have a functional recovery.

  • Directoryfiles
    • boot.img (This is where the kernel and recovery are stored)
    • vendor_boot.img (This is where the kernel modules are stored.)
    • dtbo.img (Here is the configuration of the modules)

Recovery G32

Recovery G42

Recovery G52

Recovery G200

Step 3: Install Recovery/Kernel

To perform the installation you must have ADB/Fastboot installed on your pc. You can refer to the following guide to perform the installation. Install ADB and Fastboot.

  1. Enable the “Developer options” on your system and activate “USB debugging”.

  2. Connect your device via USB, if you get a message saying “Allow USB debugging?” click “Allow”.

  3. Reboot your device to bootloader

    Terminal window
    adb reboot bootloader
  4. Install the recovery with the following commands.

    Terminal window
    fastboot flash boot boot.img
    fastboot flash vendor_boot vendor_boot.img
    fastboot flash dtbo dtbo.img
  5. Reboot your device to recovery

    Terminal window
    fastboot reboot recovery

Setp 4: Install Custom ROM

  1. Click on “Apply update” and then “Apply from ADB”:

    Terminal window
    adb sideload rom.zip
  2. Select “Advanced” and then “Reboot to recovery”.

  3. (Optional) If your rom is vanilla and you want to install gapps, you can install it the same way as the custom rom.

    Terminal window
    adb sideload gapps.zip

    Then reboot to recovery.

  4. Finally select “Factory reset” and then “Format data/factory reset” and reboot the system with “Reboot system now”.

Extra: Mistakes you may face:

Downgrade SPL error

It happens when you try to install a rom with a date prior to that indicated by the recovery.
How can I know what is the date of my recovery?
Example 1: Recovery1-date The date of this recovery is (20241019) Year: 2024 , Month: 10, Day: 19.
Example 2: Recovery1-date The date of this recovery is 2412031921 Year: 2024 , Month: 12, Day: 03, Hour: 19, Minutes: 21.\

Solution

You should look for a recovery with an earlier date than the Custom ROM you are trying to install or use an alternative recovery such as TWRP or OrangeFox.