Compare Samsung Galaxy J5 Prime vs HTC One M8

Specifications
Key Specifications
Display Size 5.0 inches 5.0 inches
Operating System Android 6.0.1 (Marshmallow), upgradable to 7.0 (Nougat), planned upgrade to Android 8.0 (Oreo) Android 4.4.2 (KitKat), upgradable to 6.0 (Marshmallow)
RAM 2 GB RAM 2 GB RAM
Rear Camera 13 MP 4 MP
Battery Capacity Non-removable Li-Ion 2400 mAh battery Non-removable Li-Po 2600 mAh battery
General Features
Release Date 2016, September 2014, March
SIM Support Dual SIM (Nano-SIM, dual stand-by) Nano-SIM
Phone Dimensions 5.62 x 2.74 x 0.32 in 5.76 x 2.78 x 0.37 in
Phone Weight 143 g 160 g
Operating System Android 6.0.1 (Marshmallow), upgradable to 7.0 (Nougat), planned upgrade to Android 8.0 (Oreo) Android 4.4.2 (KitKat), upgradable to 6.0 (Marshmallow)
Display
Screen Size 5.0 inches 5.0 inches
Screen Resolution 720 x 1280 pixels 1080 x 1920 pixels
Screen Type PLS TFT capacitive touchscreen, 16M colors Super LCD3 capacitive touchscreen, 16M colors
Screen Protection Corning Gorilla Glass (market dependent) Corning Gorilla Glass 3
Memory
Internal Memory 16/32 GB 16/32 GB
RAM 2 GB RAM 2 GB RAM
Card Slot microSD, up to 256 GB (dedicated slot) microSD, up to 256 GB (dedicated slot)
Performance
Processor Quad-core 1.4 GHz Cortex-A53 Quad-core 2.3 GHz (US/EMEA)/ 2.5 GHz (Asia, China) Krait 400
GPU Mali-T720 MP2 Adreno 330
Battery
Type Non-removable Li-Ion 2400 mAh battery Non-removable Li-Po 2600 mAh battery
Camera
Front Camera 5 MP 5 MP
Front Flash Light No
Front Video Recording No 1080p@30fps
Back Flash Light Yes Yes
Back Camera 13 MP 4 MP
Back Video Recording 1080p@30fps 1080p@60fps, 720p@120fps, HDR, stereo sound rec.
Connectivity
Bluetooth Yes Yes
3G Yes Yes
4G/LTE Yes Yes
Radio FM radio; recording Stereo FM radio, RDS
WiFi Yes Yes
NFC Yes (market/operator dependent)