Heat oil in a cheenachatti/kadai and add mustard seeds. Once they crackle, add the sliced shallots and fry till they are red.
Add the koorka, turmeric powder and salt. Stir well and cover and cook till koorka becomes soft.
Once the koorka is 3/4 cooked, add red chilli flakes and little more oil and fry them in low flame, stirring them occasionally till they are slightly brown.