It seems to start once the phone has gone to "sleep" and been woken up. It happens in Safe Mode too as power management is handled by Android / firmware.
There may also be a hardware issue, dunno...
gaplayer27's solution is working for me
On your phone go to the dialler, the bit where you would put the numbers in like you're going to make a phonecall.
Type the numbers gaplayer27 said, *#0808#
You have to physically type them, not copy and paste.
As soon as you enter the last character the screen he said will appear. It's some kind of low-level USB mode override.
Select the bottom option.
Repeat and make sure the bottom option is still selected then hit the other button at the bottom which is "Reboot".
My guess is there's a problem with the USB drivers when coming out of sleep mode and they hit some sort of infinite loop, and this resets them. But that couldn't possibly be the case could it? Wouldn't it have been picked up in integration testing on the firmware?
Can you maybe explain step by step what you do. Bc i don't understand what u mean with dialler
As soon as you press the last '#' symbol the USBSettings menu should open automatically, good luck!