I think you might have a bad connection to the gateway somewhere in the loom or connectors, and that is stopping the gateway to communicate properly with the radio, giving the other 2 errors.
That would explain the radio not powering up correctly. The aftermarket radio might not need a good communication with the gateway to power up normally.