Heat 2 tbsp oil .
Add chopped onions and sauté till pink .
Add ginger garlic paste and sauté for another minute.
Add the crushed vadi and roast them with onions .
After they are roasted which should take about 3-4 minutes , add red chilly powder , pinch salt.
Add 3/4 cup water and pressure cook the vadis for 5-6 whistles.
While the vadis are being cooked heat ghee in another pan .
Add all whole spices and the washed and soaked rice .
Roast the rice and keep aside.
By now the vadis would have cooked , open the pressure cooker and check the vadis .
If not done add some water and pressure cook again .
If done then make sure all the water has been absorbed , if not then place the cooker on full flame and let the water dry up .
Add tomato purée and rest of the spices .
Let cook till the moisture from the tomato is gone .
Add 2 cups water and the roasted rice to the vadi mixture.
Cook the rice on full flame till 80% cooked.
Simmer the gas and cover the pan to finish cooking .