curry favor

[curry favor] {v.} To flatter or serve someone to get his help or friendship.

Joe tried to curry favor with the new teacher by doing little services that she didn't really want.

Jim tried to curry favor with the new girl by telling her she was the prettiest girl in the class.

Compare: POLISH THE APPLE.