HTC is seriously taking interest in having their own OS for their mobiles. At present HTC is using Android & MP7 in their smartphones. Lately it has been learnt that HTC has shown great interest in buying the WebOS from HP.
WebOS is a product which was developed by HP though it has many advantages but unfortunately flopped & now has been grounded by the HP.
The main reason for opting for own OS is because lately HTC has suffered alot cause of law suite (from Apple) for patent infringements, the other company which has suffered the same is SAMSUNG.