Moto G 5G / Motorola One 5G Ace Custom ROM, Unlock Bootloader!

Share This Post

Custom ROM has a fanbase of its own. People who once tried this on their device want to flash it on their every device. Fortunately, our Moto G 5G or Motorola One 5G Ace also has the support for custom recovery and Custom ROM. Let’s see How to Unlock the Bootloader and Flash Custom ROM on Moto G 5G or Motorola One 5G Ace.

Moto G 5G / Motorola One 5G Ace Flash Custom ROM and Unlock Bootloader [Kiev]

Downloads

  • Let’s start by downloading all the necessary files that we will need for the process.
  • Visit this website link and download the 15-second ADB installer. This will help us to control our device from ADB and also in fast boot mode.
  • To make sure fast boot commands work well, we’ll download the Motorola device drivers from this link. This will reassure us that our phone will be recognizable in the fast boot mode.
  • Now let us download the ROM file and Gapps. Currently, we have Lineage OS and Havoc OS available for our devices. Both are made by the same developer and are Official Android 11 ROMs.
  • We also need the Android 11 Gapps to use Google Play Store and services.
  • Download the latest Lineage OS from here and Havoc OS from here.
  • Download Lineage OS 19.1 here and Pixel Experience 12 here.
  • Download the latest TWRP recovery image and TWRP Installer Zip from this link.
  • We will also need Partitions ZIP to set-up the slots A and B from here.
  • Lastly, get the Android 11 Nano Gapps from here.
Also Read  Best Custom ROM for Realme 5 Pro RMX1971 in 2023!

Getting Started…

  • After you have installed the ADB, you’ll see an ADB folder in the C Drive.
  • Open the folder and copy the TWRP recovery file here.
  • Now, right-click while pressing the Shift key and you’ll see the open terminal option. Open a terminal here and we’ll run our commands here.
  • Now connect your phone to the system. Go to your about device and find the build number.
  • Now tap on it seven times to enable developer options.
  • Now go to the developer options and enable USB debugging.
  • Also, enable the OEM Unlocking option.

Unlock bootloader on Moto G 5G / Motorola One 5G Ace

  • Type “adb devices” in the terminal and you’ll see a pop-up on your phone asking to authorize ADB debugging; we need to allow it.
  • Now before this next command make sure you have your important data backed up including your messages and photos. As unlocking Bootloader will wipe out everything on the internal storage.
  • Now type “adb reboot bootloader” and your device will boot into the fast boot mode.
  • You’ll see an Android bot icon. In the terminal type “fastboot devices” and it should show your device code. This is necessary to run further commands.
  • Now type “fastboot oem get_unlock_data” and you’ll get some random bootloader numbers.
  • Now we need all the numbers and not anything else. So, copy just the numbers and make sure there are no spaces in between. Even if there’s a hidden space the next process will not succeed.
  • Visit this website from Motorola and sign in with your Google account. This site will give us the Unlock key needed to unlock the bootloader.
Also Read  Havoc OS on Moto G 5G / One 5G Ace (Android 13 UPDATE)

Moto G 5G / Motorola One 5G Ace Flash Custom ROM and Unlock Bootloader [Kiev]

  • On the website read the instructions and click next. You’ll see a space to enter the bootloader numbers that we generated earlier.
  • And click on the “can my device be unlocked” option. If successful you’ll receive an email from Motorola with the Unlock key. The email can take a while to arrive.
  • Now in the terminal, we’ll type “fastboot oem unlock (your unlock key)“. You’ll see a prompt on your phone that will ask for confirmation.
Moto G 5G / Motorola One 5G Ace Flash Custom ROM and Unlock Bootloader
  • You need to use your volume buttons to select unlock the bootloader option and press the power button to confirm. This will unlock the bootloader of our Moto G 5G or Motorola One 5G Ace.

Flash TWRP Recovery on Moto G 5G / Motorola One 5G Ace

  • Now go to the TWRP recovery file and copy its name.
  • In the terminal type “fastboot boot (TWRP name).img” this will boot the device in the TWRP recovery.
  • If you see any pattern unlock just hit cancel and you’ll be on the home screen of TWRP.
  • Now tap on Reboot and make sure you’re in Slot A.
  • Now before flashing anything we’ll first backup our EFS and Persist.
  • We need an external SD card or a USB drive attached to our phone to access the files.
  • Move all the files i.e. ROM, Gapps, and partitions zip to the SD card or USB drive.
  • Now tap on Backup and make a backup of the EFS and Persist partition.
Moto G 5G / Motorola One 5G Ace Flash Custom ROM and Unlock Bootloader

Flash Custom ROM on Moto G 5G / Motorola One 5G Ace

  • Now go to install and find the partitions zip and flash it.
  • Then after it, locate the ROM file of your choice and flash it.
  • After this now flash the TWRP installer zip.
  • Now tap on reboot and select recovery to boot into TWRP again.
  • Now select the Gapps and flash it. If you want to root you can also flash the magisk zip right now as well.
  • Now reboot and select bootloader.
  • In the terminal type “fastboot -w” to erase all the user data and cache. After this type “fastboot reboot” to reboot into the custom ROM.
  • Now you can unplug your device from the system.
  • Now set up your Google account and enjoy your custom ROM on the Moto G 5G or Motorola One 5G Ace.
Also Read  Lineage OS on Moto G 5G / One 5G Ace - Android 13 UPDATE !

Read here. Havoc OS on Moto G 5G / Moto One 5G Ace with Android 11

Moto G 5G / Motorola One 5G Ace Flash Custom ROM and Unlock Bootloader

To update your custom ROM on Moto G 5G or Motorola One 5G Ace, boot into the TWRP from the terminal and flash the ROM file + TWRP installer then reboot to recovery and flash the Gapps+ Magisk and then just reboot to system. No need to flash the partitions zip or check for slots A or B.

Moto G 5G / Motorola One 5G Ace Unlock Bootloader and Flash Custom ROM, Magisk!
Share This Post
Abhishek
Abhishek

Tech Content Creator, Tech Blogger with an interest in Anime and Pop culture.

7 Comments

  1. I flashed Syberhexen’s TWRP 3.62 and booted into recovery. But TWRP backup fails?!

    Many people (like me) don’t have an OTG dongle or an SD card with the phone. Can a backup be done to PC via the USB-C cable?

    I really want to play with some custom roms on my Moto “kiev”, but I can’t do that until TWRP works . Can you do a video / article please for those of us who are starting from the stock ROM?

  2. Hello Abishek, thanks for your reply.

    Can you do a step-by-step “start from stock” type of video? (At least, from the point where we have unlocked the bootloader?) This Moto Ace has never had another rom installed, it’s basically “out of the box” right now, except for the unlocked bootloader.

    As noted above, I booted into TWRP recovery. But that is as far as I can get.

    I tried to follow your article and video, but I can’t get past the point where I’m supposed to do a TWRP backup. It always fails. I saw some other people saying on XDEV site that they have the same problem, but nobody replied to say “here is what is wrong, and here is how to fix it.” So I am stuck.

    I understand tech, but I am not a “phone / handset” kind of guy. I am a n00b with phone rom stuff. (I was able to play around with installing a LOS rom on a Pixel 6 phone, but it seems that Google makes that pretty easy … the Moto phone is not so obvious.)

    If you can do a “so you are a total n00b, here’s how to do it” video, that would be great!

    Thanks,

    -Tim

Leave a Reply

Your email address will not be published. Required fields are marked *