Peel and dice the tapioca. Wash well .Add a little salt and half measure of the turmeric powder to the tapioca with enough water and boil. Drain the water and pour fresh water to remove any bitterness in the tapioca.cook until soft.
Strain the tapioca.Grind together grated coconut,chillies,turmeric,cumin seeds,garlic and shallots coarsely with very little water.
Mash the cooked tapioca and add the ground mix and cook for some time. Stir thoroughly using a wooden spatula for 2 to 3 mins Heat oil in a pan,splutter mustard seeds,add curry leaves, coconut and chopped shallots and fry. Add to the tapioca mixture.
Serve hot with fish/chicken or any chutney.