Heat 2 tsp of oil in a pan.
Add brinjals in the pan and cook for 10 minutes or cook till the brinjals become soft and keep it aside.
In a mixer jar, add 1 onion, 1 tomato, tamarind pulp (soaked in water and squeezed), 4 tsp of shredded coconut, 2 tsp chili powder, 1/2 tsp turmeric powder and needed salt.
Grind it as a coarse paste.
Heat 6 tsp of sesame oil in a kadai, add 1 tsp mustard seeds and allow it to pop, add 1 tsp urad dal, and 1/4 tsp fenugreek seeds and few curry leaves.
Add shallots and garlic pods and cook for a few minutes.
Add sauteed brinjals and mix gently.
Add the masala paste and cook covered for 15 minutes or cook till the oil oozes out from the sides.