It's a grind: you have to complete every mission in the game with a gold rank. Not silver, not bronze — gold, on all of them.
That's genuinely difficult, and it's the reason Super Sonic is treated as a completionist reward rather than something you stumble into. Expect to replay stages repeatedly while you work out the fastest lines and the best item timings.