A little-known startup turned profitable by staying away from India’s Silicon Valley