So I will be receiving my HTC One Black tomorrow from my network provider Three UK tomorrow, im sure it'll come with the networks edition of Android. If I reflash to original google or htc android would I lose my 1 year htc warranty and three warranty?

thanks