Man happened again, what the hell is wrong? Battery tested at autozone to be good, wirings are all correct on headunit, tested both amps and nothing wrong with them, all wires are connected and grounded right.
No more engine noise, everything works fine when car actually starts.
Anymore suggestion guys? I took it to local car audio and they didn't know what the problem was either.