I always start off with whole spices to get the best flavor. I grind them individually in a coffee grinder and then mix them to make the masala.
When I made this batch of masala, I did not have any dried ginger on hand. So I just cut up a ginger root into slices and stuck it in the oven at 200 degrees for about 2.5 hours. Perfectly dried ginger! Then I just ground that up in the coffee grinder.
You can grind most of your spices in a coffee grinder. I have one just for spices that I don’t use for coffee. Grind some white rice in the grinder a few times to clean it out between spices you don’t want to mix.
Feel free to experiment with the proportions depending on the flavors you like most.