Mash the bananas with the sugar until sugar melts.
When the bananas are well-mashed, add the flour and coconut. Mix well, then add the vanilla essence (or rose water).
Heat the oil.
When the oil is hot, spoon balls of the banana mixture into the oil in batches.
Drain excess oil on paper towels.