Phone Contacts and Camera Problem

Hi
I have some problems with my HTC One X
1-My mobile deletes all my imported contacts automatically from time to another
2-The Camera don't capture photos but any other app do that well !!
3-Camera's quality is so poor
4-Overheat with some apps

i guess that i need to download a new android version but actually i don't know how ?
i think the mobile is rooted by one of my friends but how to make sure ?? and has android version : 4.4.2 Kitkat

So. i need a way to know if is it rooted or not ? and how to install new android version on it !


Many Thanks