In a wok, add 2 tablespoon oil and heat it.
Add chopped onion into it, add 4-5 curry leaves, slit green chillies, add salt as per taste and saute until onions turn slight golden color.
Add ginger garlic paste and saute until raw smell disappears.
Add chicken pieces, roast the chicken for few minutes by stirring until the color of chicken changes.
Add turmeric powder, red chilli powder, salt if required, mix, allow the chicken and masala to be cooked well.
Add 2 chopped tomatoes, mix and cook them until soft.
Add the roasted coconut and onion paste into the chicken, mix and cook the masala until oil starts leaving the sides.
Add dry spices such as dhaniya powder, pepper powder, garam masala powder, jeera powder, mix well.
Cook the chicken and masala on low flame by covering the lid and cook until the chicken gets soft and tender.
lastly, add freshly chopped coriander leaves, mix and cook well.
Switch off the flame and serve hot with steamed rice and chapathi.