Samsung’s phones are almost as profitable as its chips now, with flagships shining brightest of all