Clean and wash curry leaves in lot of water few times and dry them on a clean cotton cloth. You can even leave it for few hours to overnight, until they are moisture-free. (I have shared an alternate method to clean the leaves in the stepwise instructions in the post)
Dry roast chana dal and urad dal until golden. When they are half roasted, add red chilies and fry until golden.
Reduce the heat to low and add cumin, coconut and sesame seeds. Fry them until the seeds begin to sizzle. Remove and cool completely.
On Stovetop: To the same pan, add oil and heat. Fry curry leaves until they turn crisp. Add the garlic to the hot pan and stir for a minute. Turn off and cool them.
In Oven: Spread the curry leaves on 2 trays and place them in the oven in the middle and lower levels of your oven. Turn on the oven at 60 C (140 F) for 10 to 12 mins. The leaves turn crisp. This method doesn't need oil. Adjust the time as needed and remove them in time as they burn faster. The lower tray takes a little longer. So move it to the middle rack after 10 mins. You can add the garlic during the last 1 to 2 minutes to remove any moisture on the surface.
Powder them together along with salt in a grinder/blender. Store curry leaves powder in an air tight glass jar and use as needed for idli, dosa, upma, oats or rice.
To make curry leaves rice, cook 1 ½ cups rice and cool it completely. Add some roasted crushed peanuts, 2 to 2.5 tbsp curry leaves powder, little more salt and extra virgin olive oil, coconut oil or hot ghee.
Mix the rice. Adjust the quantity of podi and oil as needed.