Start by making the masala. Heat 1 tsp oil, add in the ingredients given for roasting except coconut. Give a toss for a min. Now add in coconut and fry till it is golden. Remove to a blender and make it into a fine puree. Set aside.
Heat 1 tblspn oil in a pan till smoking. Now add in chicken, season with salt and turmeric powder. Saute till the chicken is golden. Remove it to a bowl.
In the remaining oil, add in onions, green chilli and curry leaves. Add in salt and saute till the onions turn golden.
Add in ginger garlic paste and saute for a min,.
Add in tomatoes and cook till it turns mushy.
Add in chilli powder and garam masala powder. Mix well.
Add in the seared chicken, ground coconut masala, water and mix well.
You can cover and cook till the chicken is cooked, but i added it to pressure cooker, covered it and cooked it for 2 whistle, simmer for 10 mins. Turn off the heat and let the steam escape all by itself.