Camera
The highlight of the HTC One (M8) is the dual camera setup that puts a 4-UltraPixel camera alongside a depth sensing camera that lets you refocus images after they've been clicked. It also has a 5-megapixel front camera.
The LG G2 (4G variant), on the other hand, offers a 13-megapixel primary camera with pixel resolution of 4160 x 3120. The device has 2.1-megapixel secondary camera at the front.