Direct democracy is not a solution either. That will lead us straight to the tyranny of the majority. The religious and intellectual minorities will suffer straight-away. I won't elaborate on that. Next, it will be the wealthy. What would stop the illiterate majority from voting to take away all the wealth of the 1%?
The only way out I see is with the Supreme Court taking drastic measures to clean up the constitution. I don't see that happening in our lifetimes.
Totally agree that direct democracy won't help. I'm saying it is the only way that you have a chance of getting rid of the kind of identity politics present in India by changing the system itself. I made that point just to highlight how the undemocratic nature of identity politics was not a feature of the system. I mean, with a direct democracy propaganda can and will still entice people to vote against their own interests, and minorities will be in a bad situation as you said. It introduces new problems; but it is the one way you have a chance of getting rid of this problem (identity politics) by changing the system. The actual fix for this lies in social change.
In India politicians often do not represent the views of their voters because they are often elected based on identity, not policies. The key thing to note here is that this is not due to the structure of the system (which is democratic); rather; it is due to how the game is played -- no amount of improvements to the system (short of a direct democracy?) or laws can change this since this is a matter of how the people are voting.