I think there is even faster way: If you put 4, 1, 2, 6 before unlocking Tails, then you will unlock Tails and Knuckles at the same time after you follow 0:55~5:07.
After opening start game press no save mode after that select sonic (if you don't have tails and knuckles unlocked) then you'll see the sega logo tap on S, E, G, A Then wait until sonic comes out then touch with two fingers and the you'll end up in the level select go to sound test and play 1, 9, 9, 1, 0, 6, 2, 3 then you'll hear a ring chime to get debug mode and to get all chaos emeralds play 4, 1, 2, 6 then you'll hear a chaos emerald chime after that select final zone and then press any corner of the screen (it's OK if you are on the pause menu it's not a bug) then press resume (you might get an ad if you didn't buy remove ads) and then you'll end up as a ring after that press the plus sign (+) and then put the act 3 animal capsule then it will say "SONIC HAS PASSED ACT 3" and then you'll end up in another level select select final zone and then press any corner and then press the plus button until you get a TV with a ring place a ton of them by pressing the jump button and place a TV that says "s" on it (you'll turn into super sonic if you break the s tv) then place a ton of TVs that has sonics face in it (it gives you lives) then step or spindash at them until you break all TVs then go beat the boss then watch the ending after it says "SONIC STAFF CREDITS" Exit the app and enter again after that you'll be in the pause menu press exit and then go make save and look! You have all character congrats! All thanks to me (or the video) also I took along time writing this.
1991023 all Emeralds 4126 to do stage seclet S E G A when Sonic appears on the title screen keep holding your fingers on screen works? Now to get talis & knuckles code: 4126 now leave stage seclet now No save mode now talis & knuckles are unlocked! Works? Anaveser please :)
use "without saving" and then when the title screen appears click on the letters of sega in sequence, type "s,e,g,a" and then Click with 2 fingers on the screen, you will open the debug mode and that's it!