Whine typically is coming from the head unit. Try disconnecting the rcas to the amp and see if the whine is still there. If not, then it is definitely at the headunit. Try moving the head unit ground wire from the harness to the body. We ahve also had to ground the RCAs at the deck to the body in some cased. I had this problem in the ML with both the D1 and the new AVIC-Z1 (which by the way is increadible - I look forward to showing it in Moab).