I had the Same problem. the problem was on the usb port of the phone’s board. broken pins and port. check the usb port of the phone.
open