Trying to figure this all out (aftermarket stereo system)

I would pull all that out, get model numbers off everything and Google the manuals.
Then put back what I wanted to keep with cleaner wiring.