Clean the head meat and drain all water.
Grind together 1/2 of coconut, 1 cup of onions, cloves, cardamom, cinnamon, coriander, cumin seeds, garlic, ginger, and a little bit of water.
Heat oil in a pan.
Splutter mustard seeds.
Add 1 cup onion and curry leaves and fry until brown.
Soak tamarind in warm water and extract thick juice.
Add the masala paste to the frying ingredients and fry further.
Cut the coconut in to 2" slices.
To this add the head meat, length wise slit green chillies and cook untill oil gets seperated.
Add tamarind paste and salt. Mix well.
Add enough water and coconut slices and cook on medium flame until it is fully done.