[Moto G5 Guides, News, & Discussion] Johny Cipeli:
YEAHHH, FINALY MOTO G5 AND 5+ ARE ROOTED!!!!

Guys, I've created a post in MOTO G5 + GUIDES, to how to root it, then I post a link for this post on, G5 TWRP page. A lot of pelople are asking for Moto G5 too, then here it go !!! I do not own The G5 variant I can not test it. This is just a possible light (which in my opnion Should work too) for you guys to root your phone too, by the way the link for Stock ROM is bellow.

Your warranty is now void.

I am not responsible for bricked devices, dead SD cards,

thermonuclear war, or you getting fired because the alarm app failed. Please

backup your data before flashing it!

YOU are choosing to make these modifications, and if

you point the finger at me for messing up your device, I will laugh at you.

Do everything at your own risk!

Guys after some attempts without success, a few minutes ago I got a stable way to root it, and the lot of people was getting trouble to make it I decided to create this post. If you want to root yours too, then follow and read (read all step line and understand it before doing) CAREFULLY this:

1. Unlock your bootloader

2. Download all files in the end of this post

3. Backup your data and files, all will be lost

4. I recomend you make a clean install, then flash stock ROM again(you can do this or not), so flash it(let the phone start)

5. Turn off the mobile, then go to bootloader screen and flash TWRP

Now the steps that people was getting trouble

6. In the Decrypt /data screen, press cancel, then "Swipe to Allow Modifications"

7. Go to WIPE, then "Swipe to Factory Reset"

8. Come back to TWRP main menu, go to REBOOT, then RECOVERY, then DO NOT INSTALL

Now TWRP is rebooting :p

9. "Swipe to Allow Modifications"

10. Plug your phone to PC (as TWRP is not reading sdcard yet)

11. Copy "no-verity-opt-encrypt-5.1.zip"(FLASH IT) and "Magisk-v11.6.zip"(NO FLASH IT YET), and flash "no-verity-opt-encrypt-5.1.zip", NO ROOT YET

12. Come back to TWRP main menu, go to REBOOT, then SYSTEM, then DO NOT INSTALL

13. After that, turn off the phone again

14. Go to bootloader screen and open TWRP

15. "Swipe to Allow Modifications"

16. NOW flash "Magisk-v11.6.zip"

17. After the setup, come back to TWRP main menu, go to REBOOT, then SYSTEM, then DO NOT INSTALL

18. When the Phone starts, go to Magisk App( it will ask for an update, then update it)

19. Open Magisk.......

20.BOOOOMMMM YOU NOW HAVE ROOTED PHONE!!!!

SOME EXPLANATIONS

*Is this works?

As I don't own The G5 variant I can't test it, then "Do everything at your own risk!"

*Why not SuperSU or Phh superuser??

SuperSU didn't installed, and Phh broken system!!

*Which Stock Version??

Build NPN25.137-33

DOWNLOADS

no-verity-opt-encrypt-5.1: http://zip.net/bftGRg

Magisk-v11.6: http://zip.net/bdtHnv

Stock ROM: http://zip.net/bwtGqn

TWRP: http://zip.net/bftGRT

SPECIAL THANKS

[MENTION=4470081]topjohnwu[/MENTION] for the root
[MENTION=5480061]Santhosh M[/MENTION] for the TWRP and for the tips for Bootlooping solution
[MENTION=5050666]abdyasar[/MENTION] for the no-verity-opt-encrypt-5.1

[IMG="Screenshot"]https://img.xda-cdn.com/waN_Hv_SiDLnaQvg8W3HMSzYWQ4=/http%3A%2F%2Fap.imagensbrasil.org%2Fimages%2F2017%2F03%2F26%2FScreenshot_20170326-203732.png[/IMG]