Install Custom ROM
This method is mainly aimed at Motorola Moto G32/G42/G52/G200 devices
Step 1: Download Motorola USB Drivers
-
Open your web browser and download Motorola USB Drivers from official download page:
-
Click on “Download” for your operating system.
-
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.
-
Enable the “Developer options” on your system and activate “USB debugging”.
-
Connect your device via USB, if you get a message saying “Allow USB debugging?” click “Allow”.
-
Reboot your device to bootloader
Terminal window adb reboot bootloader -
Install the recovery with the following commands.
Terminal window fastboot flash boot boot.imgfastboot flash vendor_boot vendor_boot.imgfastboot flash dtbo dtbo.img -
Reboot your device to recovery
Terminal window fastboot reboot recovery
Setp 4: Install Custom ROM
-
Click on “Apply update” and then “Apply from ADB”:
Terminal window adb sideload rom.zip -
Select “Advanced” and then “Reboot to recovery”.
-
(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.zipThen reboot to recovery.
-
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:The date of this recovery is (20241019) Year: 2024 , Month: 10, Day: 19.
Example 2: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.