To help you out, here we compare the price, design, specs and software of Samsung Galaxy S6 and Samsung Galaxy S6 Edge vs HTC One M9.

Price

Samsung Galaxy S6: Rs. 41,444.00
Samsung Galaxy S6 Edge: : Rs. 58, 900.00
HTC One M9: Rs. 52,990.00

Design

HTC One (M9) retains that same pattern as its predecessors and there’s hardly any major innovation on the design front. Meanwhile, the new Galaxy phones take some inspiration from the iPhone 6, especially the frame. Shedding the plastic skin, they have metal body with Corning gorilla glass 4 front and back.

Display

HTC One (M9) sports a 5-inch SuperLCD 3 display at 1080p resolution and the Samsung Galaxy S6, S6 Edge feature 5-inch SuperAMOLED displays with 2K (1440x2560p) resolution, making them the smartphones with the highest pixel density in the market at 576ppi.The display panel is extremely sharp and offers rich colours and contrast. The S6 edge has two displays, one at each edge displaying additional content.

Hardware

HTC One (M9) runs on a 2GHz Qualcomm Snapdragon 810 MSM8994 64-bit octa-core processor coupled with 3GB RAM. The phone offers 32GB storage and a microSD card slot that supports cards of up to 128GB storage. It has a 2840mAh battery.
Meanwhile, Samsung Galaxy S6, S6 edge is powered by the new 2.1GHz Octa Core Exynos 7420 processor, with 3 GB of RAM. The internal storage comes in 32, 64 and 128 GB variants without card slot.The phone is powered by a 2,550mAh battery and there’s also a fingerprint sensor and a heart rate monitor.

Camera

HTC One (M9) sports a 20MP rear camera (BSI, sapphire glass lens) and a 4MP Ultrapbixel front camera with super-wide angle lens.
The Galaxy S6 and S6 Edge phones feature a 16MP, f1.9 rear camera with optical image stabilisation, and a 5MP front camera for selfies which lets in 60% more light. The camera app also gets a huge boost, which will takes shots in less than a second.

Software

HTC One (M9) runs Android 5.0 Lollipop with Sense UI 7 running on top. The UI skin is not very different from its current avatar but now offers the ability to customize the theme and has a location-aware menu.

With the Galaxy S6, Samsung’s software has also got a major reboot, with the Android 5.0-based TouchWiz UI becoming a lot more responsive and cleaner.