The process is long but simple. Reincarnate your Chao two or three times — each life lasts roughly twelve hours, depending on how well you treat it — and on its third life, give it one of every animal in the game. Use no Chaos Drives at all during that final life. When it would normally die a fourth time, it instead transforms: a Hero Chao if raised by Sonic's side, a Neutral Light Chao, or a Dark Devil Chao depending on its alignment.
Peacock, vulture, parrot, otter, penguin, seal, cheetah, warthog, rabbit, ape, tiger, bear, skeledog, bat, half-fish, raccoon, skunk, sheep, phoenix, unicorn and dragon. Missing one is the most common reason the transformation fails, so keep a checklist.
The payoff is that a Chaos Chao never dies again, which makes the twelve-hour investment permanent. Chao Island has detailed guides if you want to confirm the mechanics for your version.