I've had a lot of trouble with aftermarket head units doing that with the Bose system. Never did work it out unfortunately. I tried a ground loop isolator which did nothing. Tried various earthing schemes, also nothing. In the end I threw the Bose amp away and put an aftermarket amp in so I'm interested to see if you can figure it out