There is a (disputed) story that curry was used as a dismissive way to refer to Indian food ("just cooking"), which then became used to refer to Indian food.
Could this be where "to curry favor" comes from? Where curry, in it's "to cook" form basically means "to make"? So like "to cook up some favor" as "to generate favor"