We always just threw in a bunch of good shit, or even would make a cake batter, and wrap it real good in two layers of aluminum foil, and put it in some hot coals for a little while. When you pulled it out, it was always good. Probably because you were starving from the hike, but it always worked for us.
One of the past hobo cakes I ever made was that way.