Mash the ginger into a paste (or chop finely) and mince the garlic.
Heat oil in a large frying pan.
Use medium-high heat.
Break apart the star anise to release the seeds inside the arms.
To the frypan, add onions, cinnamon stick, cardamom pods, star aniseed, peppercorns, cloves, garlic and ginger.
Be careful not to burn the garlic.
Saute until the onions are cooked but not browned.
Add the chicken, turmeric and chili powder and cook on a medium heat, stirring often.
When the oil starts to separate (the gravy will have oil floating on its surface), add the yogurt and cook until the chicken is done and the gravy is thick.