To ensure uniform browning of coconut, you can just pulse the grated coconut and follow the recipe. I skipped that step, that's why you can see some white specs in between.Make sure you keep the flame at the lowest throughout the roasting process.Make sure you stir it frequently, otherwise it may get burnt. If you feel that it's browning too fast, just take it off the heat for a few seconds. I usually store a small qty outside and store the rest of it in the fridge in an airtight container.