Motog5 has gone into bootloop and oem is locked how to start the device without losing data ?
device is showing connected to usb in bootloader mode but unable to see in pc
You have two options really
Leave it bootlooping in the hope it will start normally eventually
Or try booting into safe mode from the bootloader menu
You didn't say what you were doing to cause the bootloop or if you feel it has happened for no reason
Really the best thing to do is format data/factory reset in recovery mode
It's not possible to save your app data any other way if your device does not start normally although you might be able to adb pull personal files with the phone in recovery mode but I'm not sure if stock recovery requires you to have already enabled adb debugging first. If it's not enabled there's no way to enable it without the phone being able to boot normally as your bootloader is locked