Samsung Galaxy S5: 16MP rear-facing camera with autofocus, LED flash and 4K video recording, 2.2MP front-facing camera
Sony Xperia Z2: 20.7MP rear-facing camera with autofocus, LED flash and 4K video recording, 2.2MP front-facing camera
The Samsung Galaxy S5 and Xperia Z2 both claim to offer huge improvements in their cameras, and despite Sony's higher resolution sensor, the two handsets likely will be fairly evenly matched.
The Samsung Galaxy S5 features a 16MP rear-facing camera, an improvement on the Galaxy S4's 13MP sensor, which arrives with onboard features such as an LED flash, autofocus, HDR, smile detection and the capability to record video and take images at the same time. It's also capable of shooting video at 4K resolution.
The Sony Xperia Z2 features the same 20.7MP sensor as its predecessor, but it also has a number of improvements, such as the ability to shoot 4K video. Much like the Galaxy S5, there are several camera features too, such as HDR, image stablisation and panorama mode.
Both the Galaxy S5 and the Xperia Z2 feature 2.2MP cameras on the front, both of which are capable of shooting HD 1080p video.
Samsung Galaxy S5: 2,800mAh battery with 21 hours of quoted talk time
Sony Xperia Z2: 3,200mAh battery with 19 hours of quoted talk time
The Samsung Galaxy S5 and Sony Xperia Z2 both have upgraded batteries, but although the Xperia Z2 has the larger cell, it looks like the Galaxy S5 might edge it. The Galaxy S5's 2,800mAh battery will, according to Samsung, offer around 21 hours of constant talk time, while Sony claims that the Xperia Z2's larger 3,200mAh battery is good for 19 hours.
Samsung Galaxy S5: 16GB/32GB built-in, microSD up to 128GB
Sony Xperia Z2: 16GB built-in, microSD up to 64GB
The Samsung Galaxy S5 is the clear winner for storage. Samsung will make the phone available in both 16GB and 32GB storage versions, and thanks to the onboard microSD card slot this can be expanded by up to 128GB.
The Xperia Z2, on the other hand, will be available only in a 16GB model that can be expanded by up to 64GB via microSD card. µ