In a heavy-duty pot, heat up the oil and fry the ginger and garlic until fragrant, 30 to 60 seconds. Add all the whole spices and fry another 30 seconds. Remove the spices and ginger and garlic and place them in a cotton spice bag. If you’re unable to find this, omit it. You’ll just need to strain the sauce at the end of the cooking process.