Grind garlic, coconut, chili powder, salt, and sesame seeds together to a coarse powder.
In a mixer grinder jar, crush coarsely the garlic, curry leaves, ginger, and green chilies. Keep aside. Heat oil in a pan. Add urad dal, fry until golden brown.
Now add mustard seeds, let it crackles. Add asafoetida, turmeric, the crushed mixture of garlic-ginger-chili-curry leaves. Saute for one minute.
Add salt and potatoes. Mix them very well and cook over medium heat. Sprinkle cilantro and switch off the flame. Mix very well and let it cool down completely.
Combine all the ingredients in a big mixing bowl and make a batter, not runny or not too thick.