To raise a Dark/Shadow Chaos Chao (also known as a Devil Chao) in Sonic Adventure DX, it's all about how you care for it. Feed your Chao plenty of dark fruit, which you can buy in the Black Market, until it looks dark enough, then stop and let it evolve. After it evolves, treat it kindly — don't hurt it or take fruit away.
Wait for it to reincarnate, which you'll recognize when it forms a pink cocoon (a grey cocoon means it has died). Once it hatches back from its egg, feed it lots of dark fruit again along with one of every animal in the game before it evolves. If you've done it right, you'll end up with a Dark Chaos Chao, the elusive Devil Chao.