The wired connection is a PITA. ANY lint , from your pocket, etc gets in there and causes disconnection. Try cleaning it out with come canned air and a toothpick. Don’t use anything metallic. And be fairly gentle, there are 8 or 10 tiny connectors in there. I’ve had this issue for years, and thought it was all cleaned out, tried many new cables, and it might work for a bit and then quit again. Finally figured out it was 100% pocket lint causing all my problems. This may solve the majority of your issues. Get a light in there as well, to make sure it’s completely clear of anything.