Here's our breakdown of how the Samsung Galaxy S5 stacks up against the HTC One M8.

Pros and Cons of the Samsung Galaxy S5:
The Samsung Galaxy S5 has a slightly larger display than the HTC One M8. It has a more 
powerful primary camera with a 16-megapixel lens, and iis also slimmer and lighter.
One of the only cons for the Galaxy S5 against the M8 is that it has a 2-megapixel secondary 
camera against the latter's 5-megapixel lens.

Pros and Cons of the HTC One M8:
The HTC One M8 has dual primary cameras, and it can be upgraded to Android Lollipop v5.0. 
It may be .1 inches smaller but the difference is inconspicuous, and the phone more than 
compensates by adding more pixel density. 

The M8 is thicker than the Galaxy S5 at 9.4mm versus the latter's thickness of 8.1mm. Besides, 
it weighs more at 160g compared to the S5's weight of 145g.

Specs:
The Galaxy S5 is the current flagship smart phone from Samsung. It features a 5.1-inch Super AMOLED, 432-ppi display with 1080x1920-pixel resolution. The smart phone is available in 16GB and 32GB storage capacities with a microSD 
slot for expansion up to 128GB. It has 2GB RAM and runs on a 2.5-GHz, quad-core Krait 400 processor. The Galaxy S5 comes with Android KitKat 4.4.2 in the package. 

The phone has a 16-megapixel rear-facing (primary) camera and a 2-megapixel front facing 
camera that supports dual video call. The phone is 8.1-mm thick and weighs 145g. Other main 
highlights of the phone include a fingerprint sensor, 21-hour talktime, wireless charging and 
50GB Dropbox cloud space.

The HTC One M8 is a powerful and feature-rich smart phone from the Taiwanese phone maker. 
It measures 9.4mm in thickness and weighs 160g. The smart phone has a 5.0-inch Super LCD3, 
441-ppi display with 1080x1920-pixel resolution. The phone comes in 16GB and 32GB options 
with microSD slot for expansion up to 128GB. It has 2GB of RAM and a 2.26-GHz, quad-core 
Krait 400 CPU at its heart. The phone comes loaded with Android KitKat 4.4.2, which could be 
upgraded to 4.4.3, and a proposed future upgrade to Lollipop.

One of the most unique features of the M8 is its dual-4-megapixel primary camera pair, while the 
secondary camera has a 5-megapixel lens. The M8 also has a 2,600 mAh Li-Po battery with 
up to 20 hours of talktime. The HTC Sense UI v6 sits on top of the Android OS, and the phone 
comes with 50GB of cloud space on Google Drive. It has Quicker Charge 2.0 feature that 
charges the phone 60% within 30 minutes. 

Talking Points:
The Samsung Galaxy S5 was introduced in February 2014 at the MWC in Barcelona, and was 
released in April. The flagship smart phone received positive reviews for its improved design, 
software, camera and display. In June, the company released the dual-SIM version of the S5, 
called the Galaxy S Duos 2.

The HTC One M8 or the 2nd-gen HTC One was introduced and released during simultaneous 
press conferences in New York City and London in March 2014. The phone was offered by 
Verizon Wireless through its retail outlets and other leading North American carriers for online 
purchase. The M8 has in fact turned into a game changer for the Taiwanese major, helping it 
record profits. The company may not be eager to reveal the number of units sold, but it has made 
it clear that the sales have beaten last year's figures. HTC made an update in July 2014 when it 
released a version of HTC One M8 that runs on Windows Phone 8.1.

Prices: 
The Samsung Galaxy S5 costs $599.99 on Amazon while the HTC One M8 is available at a price 
tag of $699.99. 

Conclusion:
The Samsung Galaxy S5 and the HTC One M8 are pitted almost equally against each other. In 
fact, it is difficult to find another competitor pair that matches so perfectly. But the Galaxy S5 
has a few points that give it the edge - a slightly longer-lasting battery, a slimmer and lighter 
build, a 16-MP primary camera, and wireless charging.