Looking for days upon days through websites and XDA forums I finally found a fix for myself
1. Follow everything in this guide (https://forum.xda-developers.com/g5/...85-16-t3849244)
2.After you finish Locking your boot loader you have to re unlock it with this guide (https://www.stechguide.com/unlock-bo...-moto-g5-plus/)
3.Reboot and enjoy you will have IMEI restored and fingerprint working again(if it wasn't)
This probably the easiest fix so far!!!
The reason it works is because of an IMEI restorer put in the stock 8.1 ROM which recovers it
also the reason you have to lock and re unlock your boot loader fresh is because and custom ROMS interfering with the installation will be removed!!!
Thanks so much for the suppot