How to install TWRP and Android Pie on Motorola G5 plus

Motorola G5 plus

Moto G and E series has brought Motorola to the Indian Market. However E series lost its place to redmi, still G series has good number of consumers. G5 and G5 plus are one of the best android mid range devices. Motorola sticks full stock android for its devices. Still Moto G5 plus hasn’t found its way in Motorola’s Android eligible devices. Here, let us see how to install Android Pie on Moto G5 plus.

Thanks to XDA Dev team for providing us Android Pie based Arrow OS for Motorola G5 plus.


  1. Make sure your battery is more than 65%
  2. Remove any lock screen security set up like finger print authorization or pass code.
  3. A PC and a standard USB cable.
  4. Install ADB and fastboot in your PC ( Here is the simple guide to install ADB and fastboot)


We need to have custom TWRP recovery to flash the Arrow OS custom ROM. Let us see how to install TWRP Recovery

We have to enable “USB debugging” and “Unlock OEM” first to install twrp recovery. You may need to re-enable them after unlocking bootloader.

How to enable USB Debugging:

  • In your device, go to About phone and tap on Build number for few time. This will enable Developer options.
  • Go to settings–> developer option in your device and enable OEM unlocking and USB debugging. Below are the sample images where you can find both options. Below are the screenshots for reference.
USb Debugging
OEM Unlock sample. Click to enlarge

Unlocking bootloader

Once you are done with the above steps, let us proceed to unlock bootloader and install TWRP recovery.

  • Connect your smartphone to the pc with a standard USB cable and wait till your phone is detected.
  • Move the downloaded TWRP recovery image in the same folder where you’ve installed ADB and fastboot.
  • Rename the recover image file to twrp.img for easier access
  • Now press SHIFT key and right-click on an empty space inside the folder and Select ‘Open PowerShell window here’ from the right-click menu that appears. If your PC running on windows 10 the option will “Open command window here”
  • A command prompt window shall open on your PC now.
  • Now type the below command in your command prompt. This will display the list if devices connected.
fastboot devices
  • Now type the below command in the command prompt to boot your device into fastboot mode
adb reboot bootloader
  • Now type the below command in the prompt to unlock your devices’ bootloader.
fastboot oem unlock
  • You can use below command to confirm whether you have unlocked your bootloader successfully.
fastboot oem device-info

If you see true for “device unlocked” row in the command prompt , then congratulations you’ve successfully unlocked your bootloader :)

How to install TWRP Recovery

  • When your device is in fastboot mode, type the below command to install the TWRP recovery
fastboot flash recovery twrp.img
  • Once the installation completes, reboot your device into TWRP using below command.
fastboot boot twrp.img

How to install Android Pie

  • The previous command will boot your device into recovery, if you already switched on your device, boot into recovery using below steps
    • Power off  device.
    • Press and hold power and volume up buttons together for a 5-10 secs till you see the Motorola logo on the screen. You will see the TWRP soon.
  • Now on TWRP home page, tap on Wipe button, then tap on Advanced Wipe, and then select the System, Data, Dalvik, Cache partitions. Swipe at the bottom of the screen to confirm resetting the device.

  • Once wiping process competed, move the downloaded ROM file, Gapps and VoLTE fix file to your smartphone.
  • Now go back to home screen of TWRP and Tap on the Install button.
  • Browse and select the ROM file.
  • Finally,  Swipe at the bottom to confirm the installation.

  • Once the installation is completed, you need to install Gapps and VOLTE fix  in the same way too.
    • Go back to TWRP home, Tap on the Install button, browse and select the GApps package and wipe at the bottom to confirm the installation.
    • Now go back to TWRP home, Tap on the Install button, browse and select the VoLTE file and wipe at the bottom to confirm the installation.
  • Finally reboot the device.  Go back to TWRP home, Tap on the “Reboot” -> “System”.

That is it. Your device will boot with Android Pie based Arrow ROM. Forst boot will take some time which is expected. Stuck? Let us know in comments.


Screenshots of arrow os on Moto G5 Plus