MARINATE THE CHICKEN. In a large bowl, mix together the yogurt, garlic, ginger, chilies, garam masala, paprika, turmeric, cinnamon, cayenne, and salt until well combined.
Add the chicken and mix well. Cover and marinate in the refrigerator at least 2 hours, or overnight for more flavor penetration.
PAR COOK THE RICE. Bring 4 cups water to a boil in a large pot. Add cinnamon stick, cardamom pods, star anise, salt and basmati rice. Stir and cook for 5 minutes to par cook the rice. It should be a bit soft, but not cooked all the way through.
Drain and set aside. (NOTE: You can pick out the cinnamon stick and pods, or just leave them in.)
Heat the oil in a large pot to medium heat. Add the sliced onions and cook for 10-12 minutes or until lightly browned and starting to crisp up. Do not burn.
Remove the onions and set aside. Keep pot over medium heat.