This question already has an answer here:
I installed Android 5.0 on a second-hand HTC One (M7) device which comes from United Kingdom. The ROM 7.17.1540.7 comes from the official American HTC website, and the UK website doesn't list any ROMs.
Since then, system update to 7.17.1540.21, performed automatically by the device, fails with the following error:
We have determined that your phone may be running a modified version of its system software. For your protection, we cannot update your phone. Please revert your phone to the official HTC system softwarte to update your phone. If you did not modify your system software or would like help reverting your system, please contact us via the support section at www.htc.com.
Day after day, it downloads the huge update, and shows the same message, again and again.
I contacted the support from United Kingdom. After a long, unpleasant discussion, the person suggested to send the device to the UK repair center in order to reset it, which means lots of trouble of backing up the device and wiping all personal information, and then waiting at least three weeks for it to be “repaired” (given that I live outside UK.)
Is there any way I can either download a UK version of the ROM or trick Android to think either that it's from UK or that the phone is from USA?