thread It's probably going to be either Samsuing Galaxy S4
or the HTC One (as opposed to the One X, which is older but also good)

The One goes the route of low megapixelage, but larger sensor pixels, so better low light performance. The Galaxies always have good cameras, but may trade low light performance for higher megapixel counts.
Avoid anything over 8mp on a smartphone for this reason - there simply isn't enough room for decent enough optics to make this worthwhile, and it usually makes matters worse.
permalink excellent that's exactly the kind of detail we needed