Heat oil in a heavy bottom pan over medium flame. Add onions finely chopped. Saute the onions until it softens and does not turn brown.
Add the chicken to the pan. Turn the heat to high and saute until the color of the chicken changes from pink to white.
Add ginger-garlic paste, turmeric powder, and salt to taste. Continue to saute until the raw aroma of ginger garlic paste goes away.
Turn the flame to low, cover the pan and simmer for 5 minutes.
Open the lid and you will see water released during the simmering process. Stir the chicken and continue to simmer on low flame for 10 minutes.
Add the homemade masala, red chili powder, and garam masala.
Saute the chicken pieces well with the masalas for 2 mins. Cover and cook until the meat is completely cooked.
Once the chicken is almost cooked, saute without covering the pan till the chicken is dry.
Add curry leaves and green chilies. Continue to saute and scrape up the juices at the bottom.
When the extra moisture is evaporated and chicken pieces are coated with a thick spice mixture, add coriander leaves. Mix well.
Turn off the flame. Dry Chicken Fry is ready to serve.