Root and install latest TWRP v3.1.1-0 recovery on Moto G5 (cedric) smartphone. Motorola’s G series has become the best selling smartphone ever and with the new Moto G5, the manufacturers has definitely kicked things up a notch. Launched in February 2017, Moto G5 comes with more premium, metallic design and an impressive host of extras that you wouldn’t usually expect to find in a device this cheap. It also runs the latest version of Android 7.0 Nougat and is powered by 1.4GHz Octa core Qualcomm Snapdragon 430 processor. More of its specs include 5.0 inches touchscreen display with a 1080 x 1920 pixels of resolution, 3 GB of RAM and 16 GB of internal storage (expandable up to 128GB via a micro SD card), a 13 megapixel primary camera on the rear and a 5 megapixel front shooter for selfies. It also includes some handy gestures and options via the Moto app.
So overall Moto G5 is an absolutely great device with some amazing specs and features. But with rooting you can surely make this device more better. By rooting and flashing a custom recovery like Clockworkmod (CWM) or TWRP, you’ll not only be able to gain system access on the phone but also do a whole lot of customization. In this article we’ll discuss some easy steps on how to root and install latest TWRP v3.1.1-0 recovery on Motorola Moto G5 (cedric) smartphone.
If your Moto G5 doesn’t function after performing steps given this article, whole responsibility will be yours. We should not be held liable for any damage caused to your device. Although the chances of bricking your phone are least. But still this is fair warning to you.
This guide is only for Motorola Moto G5 (cedric). Do not try to implement this process on any other device or variant as it may increase the chances of damaging your phone permanently.
- Rooting will void your phones warranty. But if you want to regain it back then you can do that by un-rooting your Moto G5.
- It is recommended to charge your Moto G5 up to 60% so that there won’t be any interruption.
- Backup your contacts, apps, messages, notes, call logs etc. for safety. You can use any backup app from Play Store for doing so.
- Make sure your computer has Motorola mobile specific USB drivers installed in it. This is essential so as to detect your Moto G5 when connected to computer. You can manually install the drivers from the link given below.
- Your phones bootloader must be unlocked before going further. Refer our simple guide on how to unlock bootloader:
- Enable the USB Debugging mode on your device by following the path: Menu->Settings->Developer options->USB Debugging. If you can’t see Developer option then go to Settings->About Phone and tap 7 times on the Build number. This will make the Developers option appear in the Settings menu.
- Also enable the OEM Unlock mode on your phone by following the path Menu->Settings->Developer options ->OEM Unlock.
After doing everything as mentioned above, let’s get ready to the actual procedure.
Procedure to Install latest TWRP v3.1.1-0 on Moto G5:
Step 1: On your computer, download and install the ADB and Fastboot setup.
Step 2: Also download the TWRP.img file on your computer. Copy this .img file to the location C:\Program Files\Minimal ADB and Fastboot folder (where you’ve installed the adb and fastboot).
Step 3: So you’ll have these files in the Minimal ADB and Fastboot folder:
Step 4: Using the USB cable connect your Moto G5 to computer.
Step 5: Then go to the C:\Program Files\Minimal ADB and Fastboot folder, hold Shift button and right mouse click on an empty space. You’ll see a list of options from which select Open command window here option. This will launch the command prompt window on your computer. Refer screenshot.
Step 6: Now to ensure that your Moto G5 is successfully connected to your computer or not, type the following commands in the command window and press enter:
As soon as you press enter key, you’ll see a message saying ‘List of devices attached’ along with some random numbers. This will confirm that your Moto G5 has properly connected to your PC.
Note: If such thing doesn’t happen, then re-install device drivers (link given in pre-requisites), enable USB debugging mode and try again. If the problem still persists, try changing USB cable or even the USB port.
Step 7: Now you need to boot your Moto G5 into fastboot mode. For that type the following command in the command window and press enter:
adb reboot bootloader
As soon as you press enter key, your Moto G5 will boot into fastboot mode as shown below:
Step 8: You can check whether fastboot is functional or not by typing the following command in the command window and press enter:
Some random number along with ‘List of devices attached’ message will prove that fastboot is functional.
Step 9: Let’s install the TWRP v3.1.1-0 custom recovery now. For that type the following command and press enter key:
fastboot flash recovery twrp.img
As you press enter, the TWRP recovery will be installed on your Moto G5. Refer the screenshot:
Note: In fastboot mode, Volume buttons are used for scrolling and Power button is used for selecting a particular option.
Step 10: After successfully installing the TWRP v3.1.1-0 recovery, on your phone (which is still in fastboot mode) go to the Recovery mode option by pressing volume down button.
Step 11: And then press Power button to select the Recovery mode option.
As soon as you press the Power key, your phone will automatically boot into the installed latest TWRP v3.1.1-0 custom recovery.
Great! The latest TWRP v3.1.1-0 custom recovery has been successfully installed on your Moto G5 smartphone. Now you can easily flash custom ROMs, custom kernels, mods, root your phone, remove bloatwares, take nandroid backup and do much more.
Procedure to Root Moto G5:
Step 1: Download and copy both the Magisk-v11.6 and no-verity-opt-encrypt-5.1 zip files on your phone.
Note: Do not extract these zip files.
Step 2: Then you need to boot your phone into TWRP recovery mode. For that firstly power off your Moto G5 completely until it vibrates.
Step 3: Then press and hold Volume down key + Power button simultaneously until your Moto G5 lands into fastboot mode.
Note: You can also use the alternative way to enter fastboot mode mentioned earlier from Step 5 to Step 7 while flashing TWRP recovery given above.
Step 4: Then using the volume and power keys boot into TWRP recovery (refer steps 10 and 11 from the TWRP flashing process).
Note: If TWRP recovery asks for Password, click on Cancel option present there.
Step 5: As you enter the TWRP recovery you’ll be asked to modify the system partitions or not. So just swipe to the right side to allow modifications.
Step 6: From the main menu of TWRP recovery, select the Wipe option.
Step 7: On the next screen swipe right to begin the factory reset process.
Note: This step will clear the data on your phone memory so backup everything before doing this step.
Step 8: After wiping out everything press back button and again go to the main menu and select Reboot option.
Step 9: On the next screen, select Recovery option to reboot into recovery.
Note: If TWRP asks to install TWRP app, click on Do not Install option present there.
Wait until your Moto G5 reboots into TWRP recovery.
Step 10: Lets flash the Magisk-v11.6 zip file which we’ve copied earlier. So from the main menu of TWRP recovery, select the Install option.
Step 11: As you select the Install option, all the files and folders located on phones internal storage will be shown on the screen. Just select the Magisk-v11.6 zip file to install. On the next screen just swipe right to initiate the flashing process.
Step 12: Be patient and wait until the process completes successfully. As soon as the process completes, you’ll see a successful message on the screen.
Step 13: Now again boot your phone into recovery using Reboot->Recovery option (Refer Step 8 and 9).
Step 14: Now similarly install the no-verity-opt-encrypt-5.1 zip file as you’ve installed the Magisk-v11.6 zip file (Refer Steps 10,11 and 12).
That’s it! All the flashing process completes here. Just click on the Reboot->System option to restart your Moto G5.
After your phone restarts, go the Magisk manager app and confirm that your Moto G5 is successfully rooted or not. You may also confirm it using Root checker app from Google Play Store.
Note: Do not update the Magisk app to version 12 or you will loose the Root access.
Awesome! 👊 You’ve successfully rooted and installed the latest TWRP v3.1.1-0 custom recovery on your Motorola Moto G5 (cedric) XT1676 smartphone. Now you can easily flash custom ROMs, custom kernels, mods, remove bloatwares, take backups or restore, wipe data, do factory reset, increase internal memory and do much more on your Moto G5. Do let us know how it is working for you. If you have any doubt, feel free to ask in the comments mentioned below. Till then Enjoy and Peace out! 😎✌