Samsung sells 51.8M phones in Q3