Xperia Z2 hands down, from what i observed from comparison videos by phonedog.com ,phonearena.com and androidauthority.com.
The problem i have with the HTC is that no matter how good the pic quality is, its still gonna be 4 mpx. The moment you crop it or zoom it you get more blurs than a picture that comes from a Rs10,000 phone.
It has 2 camera sensors but its such a waste. So far i have seen it benefit in shooting pics at two different focus. A more practical approach would have been to create a faux 3D picture, or let one sensor capture in HDR/High Shutter/Low Shutter etc etc and other in a normal AUTO mode ....now thats a friggin good idea, bloody HTC should hire me XD
Nobody needed Zoe of HTC One M7 and no one will need the second sensor of the HTC One M8
It's a very good phone, with the best mobile camera, with a decent display, with awkwardly huge bezels, and glass built, well nothing to say there, don't know what's the point of using glass! IP67 certification is another advantage IMO.
You can get it for 45k from eBay I think, that is if you have the 3k coupon, which expires tomorrow, *www.ebay.in/itm/BRAND-NEW-SONY-XPE...t=IN_Mobile_Phones&hash=item43c9a7d41f&_uhb=1
If I had to choose one I would go for the hTC M8, as I don't use camera on a cell phone that much. And Sense is the lightest UI I have ever seen.