One by one roast half the garlic cloves and the rest of the ingredients except the tamarind and salt, allowing everything to turn lightly golden brown and putting each into a plate before moving on to the next ingredient. Be very careful roasting the coconut because it will brown very fast.
Place all theĀ ingredients including the unroasted garlic cloves, the tamarind, salt and 1 tbsp oil in a food processor.
Process until everything breaks down into a coarse powder.