Your knowledge of India-US geopolitics, is tentative at best. As an example from http://en.wikipedia.org/wiki/India%E2%80%93United_States_relations ,
"According to some analysts, India-U.S. relations have strained over Obama administration's approach in handling the Taliban insurgency in Afghanistan and Pakistan.[15][16] India's National Security Adviser, M.K. Narayanan, criticized the Obama administration for linking the Kashmir dispute to the instability in Pakistan and Afghanistan and said that by doing so, President Obama was "barking up the wrong tree".[17] The Foreign Policy too criticized Obama's approach towards South Asia saying that "India can be a part of the solution rather than part of the problem" in South Asia and suggested India to take a more proactive role in rebuilding Afghanistan irrespective of the attitude of the Obama administration.[18] In a clear indication of growing rift between India and the U.S., the former decided not to accept a U.S. invitation to attend a conference on Afghanistan.[19] Bloomberg reported that since 2008 Mumbai attacks, the public mood in India has been to pressure Pakistan more aggressively to take actions against the culprits behind the terrorist attack and this might reflect on the upcoming general elections in May 2009. Consequently, the Obama administration may find itself at odds with India's rigid stance against terrorism.[20]
Robert Blake, assistant secretary of United States' Bureau of South and Central Asian Affairs, dismissed any concerns over a rift with India regarding United States' AfPak policy. Calling India and the United States "natural allies",[6] Blake said that the United States cannot afford to meet the strategic priorities in Pakistan and Afghanistan at "the expense of India".[21]"
So who exactly wants to be friends here? And yes, there is corruption. Yes, there are safety issues. But these exist mainly for lower income groups in India. I am not saying this is an acceptable, but the fact is that the upper-middle and upper classes in India is doing fantastically well, enjoying a standard of living in some ways higher than that in the Western world. And ex-pirate bay admins, in all likelihood , easily fit in the upper middle class (at least) in India.