Heat cooking oil or ghee in a deep, heavy-bottomed pan over medium flame.
Add the whole garam masala and 1 tsp of shahi jeera; let them sizzle for a few seconds.
Add the 1 medium sliced onion.
Fry on a medium flame for about 5 to 7 minutes until the onions turn a light golden-brown color.
Add 1 tsp of ginger and garlic paste and the 1 or 2 slit green chilies.
Fry on a slow flame for about 3 minutes until the raw smell of the ginger and garlic goes away.
Pour in 2 cups of water and add salt; stir to combine and bring to a rolling boil.
Add the drained, soaked rice to the boiling water and stir gently once.
Add chopped coriander leaves, chopped mint leaves, turmeric powder, and garam masala powder.
Stir very gently to mix the spices and herbs into the rice and water.
Cover the pot with a tight-fitting lid.
Cook on a slow flame for 10 minutes or until all the water has dried up.
Remove the lid and gently fluff the rice with a spatula.
Sprinkle a layer of fried onion over the rice.
Cover the pot again.
Slow dum cook for another 5 minutes.
Gently fluff the rice one last time before serving.
Serve the Hyderabadi Baghara Khana hot.