This may sound disengenous and/or off topic, but the fact is that until the 1930s and 1940s when the British began using religion as a wedge issue to divide Indians and M.A. Jinnah and the Muslim League began to drift away from Congress (basically, greater religious polarization and division), religion wasn't a massive issue. It's true. I believe that Muslims, Hindus, Sikhs, Buddhists and others lived in relative harmony without religion being a particularly divisive issue. As I said, this began to change in the 1930s and 1940s as religion became a bigger issue, and the polarization, unfortunately, culminated in the Great Partition and all the bloodshed that resulted from it. Having said that there were, as others have said, regional differences - what is now Pakistan and Bangladesh did have more Muslims, what is now Punjab was more Sikh, and the rest of the land was mostly Hindu.
While there's little doubt that the Raj engaged in a very dangerous game of playing with fire without realising that fire is hot, this isn't a fact, it is a comforting pseudo-history. The direct ancestor of the Pakistan Movement - the Aligarh Movement - emerged in the 1870s in opposition to the collapse of Muslim cultural prestige and political power. Specifically the big trigger was growing demands for the recognition of Hindi, which was seen as the thin end of the wedge. Meanwhile the RSS was founded in 1925 and Savarkar's
Hindutva was published in 1922: Savarkar led his first anti-Muslim pogrom at the tender age of twelve (!) in the 1880s.