The original question had to be edited down. Independence and Partition can be linked to the growth of nationalist ideas encouraged by the agitation of faction groups among both Muslims and Hindus and a general outcry for separation from England. The nationalist feelings which stressed that the British "Quit India" was also stressed the dividsion of India, though Britain may have misinterpreted the outcry of factions for the representative will of the people of India (BBC). To a great extent, these factors were seized upon by British political leaders who advocated Partition as the only way in which continued bloodshed could be avoided. The perceived British "honor" that compelled it to help with a post-Raj India contributed to the demands of both Hindu and Muslim faction leaders and to advocating a divided nation along hastily drawn lines that ended up displacing millions.
In this exists another shared factor that contributed to Independence and Partition. Political leaders' rhetoric that advanced freedom from England as well as advancing their own agendas influenced both experiences. Millions of Indians followed the words of their political leaders in demanding Independence. Jinnah and the Muslim League along with Nehru and the Congress both spoke for freedom and were immediately calling for an end to British rule. They played the same role in advocating for the creation of respective Pakistan and Indian nations. Allegiance to the leaders was evident in the call for embracing Partition and, sadly enough, the violence that followed. Thus a shared factor between Independence and Partition is evident in the fierce loyalty to political leaders.