Wash and peel the skin of banana. Halve it vertically. Slice and add them to a bowl of water.
In a blender, make a fine paste of ginger, garlic and chillis. keep it aside for later use.
To the same jar add onions and coarsely pulse. Set this aside separately.
Add oil to a heavy bottom pan and heat it.
Add mustard, cumin, and dal. Fry till the dal turns golden. Then add chili ginger garlic paste. Fry until the ginger garlic turns slightly golden.
Add drained raw banana slices to the pan and sprinkle turmeric.
On a medium high flame, fry till they are almost cooked. To prevent burning, stir constantly. If needed add little more more
Reduce the flame to medium and sprinkle salt. Fry till soft, cooked and tender.
Add the crushed chilli onions. Fry on high till the onions begin to caramelize or brown. Stir constantly.
Sprinkle gram masala and red chili powder if using. Fry on a low flame till they firm up.
Serve raw banana fry hot with rice and rasam or sambar.