Peel the potatoes and cut them into small cubes. Soak them in water to remove excess starch. Drain the water completely before using.
Heat 1 tbsp oil in a kadai, preferably an iron kadai. Add mustard seeds and allow them to crackle.
Add cumin seeds and urad dal. Mix briefly.
Add coarsely crushed garlic and fry briefly.
Add crushed shallots and mix well. Fry briefly for about 30 seconds.
Add the drained potato cubes, asafoetida, salt and turmeric powder. Mix everything well.
Cook on medium heat, preferably medium to low heat, without adding water. Keep mixing occasionally to prevent the potatoes from sticking to the kadai.
Continue cooking until the potatoes are cooked and well roasted on all sides.
Add Kashmiri chilli powder, chilli flakes and curry leaves. Mix well.
Toss on low to medium heat until the raw smell of the chilli powder goes away and the spices blend well with the potatoes.
Add chopped coriander leaves and mix well.
Serve hot with rasam rice, sambar rice or curd rice.