I looked at the history of Corn Flakes on Wikipedia but it doesn't really tell me how I could go from raw ingredients to the final product. Should I use corn flour ? What should I do to make the final product in shape of flakes ? Should I cook it in a oven or in a pan ?
I would suggest that you use corn meal, for the constituency and texture.
Here is a recipe link that I think will answer all of your questions including how to cook.
Back in 2009 the bbc in the uk aired a tv programme called jimmys food factory, which explored ways of making commercially produced food stuffs in a home environment. The very first episode covered the making of corn flakes.
Reference 1 in your Wikipedia link, the patent, describes the process as it was in 1895. Flakes of "corn, and other grains" appear to have been a bit of an afterthought. The basic process is: hot soak, cook, roll, steam cook, roast dry. Looks pretty tedious to do in a home kitchen, but possible with some effort.