Originally, it came with Android 4.0. After Jelly Bean, HTC stopped providing official support for this device. However CyanogenMod team have continued the development for this device. CM 12.1 ROM running on Android 5.1.1 can be installed on HTC One XL. Follow the guide below.