Moto G5 Root & Install Android 8.1.0 OREO
ALL CREDITS TO Fedray FOR BRINGING US THIS AMZING ROM VISIT HIS XDA THREAD HERE AND SHOW HIM SOME LOVE
https://forum.xda-developers.com/g5/development/rom-pixelexperience-t3756673
1.unlock g5 bootloader tutorial https://www.youtube.com/watch?v=VJ7KOae4gJk
download minimal adb https://forum.xda-developers.com/showthread.php?t=2317790
download no-verity-opt-encrypt https://androidfilehost.com/?fid=673368273298927206
download Magisk Manager 4.3.3 https://www.apkmirror.com/apk/topjohnwu/magisk-manager/magisk-manager-4-3-3-release/magisk-manager-4-3-3-android-apk-download/
download Magisk-v11.6.zip click on the arrow in top right corner to begin download https://drive.google.com/file/d/0BzS3UbVEklJCMV90c2tGY001U2s/view
Download the new android 8.1.0 rom here https://drive.google.com/file/d/1wT5sKV0NuQsUtFzDe1Uhfg3oTlTIV5VK/view
DOWNLOAD THE 64 BIT TWRP RECOVERY https://androidfilehost.com/?fid=889964283620773269
COPY & PASTE THIS COMMAND IN THE BLACK WINDOW TO FLASH TWRP RECOVERY
fastboot flash recovery twrp-3.1.1-0-cedric.img
IF U WANT TO ROOT THIS 8.0 ROM AFTER DOWNLOAD MAGISK 15
FROM HERE https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445