reset files to origin msm repository and add little improvements for non htc phone platform