Boil the chicken in 2 liters of water until cooked. Remove and set aside. Keep the broth.
Heat oil in a pan, sauté garlic and shallots until fragrant.
Add turmeric, coriander, and cumin powder. Stir well.
Add lemongrass, kaffir lime leaves, bay leaves, and galangal. Cook for another 2 minutes.
Add the sautéed spices to the chicken broth. Bring to a boil.
Add salt and sugar. Adjust seasoning to taste.
Shred the chicken and add it back to the broth. Simmer for 10 minutes.
Serve the soup with bean sprouts, hard-boiled eggs, fried potatoes, fried shallots, and lime wedges.