Soak whole masoor overnight in water. Boil the whole masoor in the pressure cooker and keep aside.
Heat 1 tbsp oil in a pan, once oil is hot, add cumin seeds, curry leaves, chopped onions, salt and cook the onions till they are slightly coloured.
Add green chillies and crushed garlic. Let the garlic brown so that it releases it flavour in the oil.
Add chopped tomatoes, hing, turmeric, red chilli powder, coriander powder and garam masala and sauté for a minute. Add little water, cover and cook the tomatoes and spices for about 3 minutes.
Add boiled masoor, freshly ground coconut paste, mix, cover and cook till it comes to a boil.
Add browned grated coconut and mix. Switch off the flame, sprinkle coriander on the top and serve.