Hey lewis here
with the head unit have u just tried checkn the cable to see if its broken/frayed anywhere along the line or jst make sure the connections still tight?
and just to verify.. does the crackling happen when u have a cd or the radio on or is it just when playing through ur phone?