No coding needed, I sold an amp here before. The guy had the same exact issue (water in the trunk) and new amp started working right away.
Confirm that the new amp is Logic7, take a look at the sticker. How much you paid for it? they go for $700-900.