[One (M7) Q&A, Help & Troubleshooting] Reggi747:
After an attempt to upgrade to Lollipop, the phone froze after software installation when it rebooted.

I was able to restore the phone from a cwm backup file to 4.4.3 and at the moment everything is working great except I cannot update to Lollipop now.

I get this error message:

Package expects build fingerprint of htc/brightstarus_wwe/m:4.4.3/KTU84L/356475.2:usr/release-keys; or

htc/brightstarus_wwe/m7:5.0.2/LRX22G/468180.7:usr/release-keys

this device has htc/brightstarus_wwe/m7:5.0.2/LRX22G/468180.21:usr/release-keys

Here is the phone history of the update attempts:

Device is HTC One M7 WWE Developer Edition 2Gb / 64GB

Device is unlocked and rooted

Device had Android 4.4.3

I flashed the stock recovery to the phone then attempted to install the Lollipop update.

Half way through the installation the operation crashed and phone was in-operatable.

I was able to restore the phone to 4.4.3 from clockworkmod recovery backup.

At this point the phone was working, but slowly.

Everything in the About / Software indicated that the software was 4.4.3 / 6.07.1540.2

However the OS from Hboot screen indicated 7.17.1540.2

Left the phone as is for a long time as it was usable, then had a problem with my SMS application, ultimately I did a factory reset and everything fixed, phone working good.

So now I reflashed the stock recovery again (7.17.1540.7) and tried to install the lollipop update again. It worked this time. 7.17.1540.2 working.

I then got the notice that there was another update (7.17.1520.21) so I tried to install this update.

After the install the phone re-booted and it froze at the HTC / Android screen; I left it for one hour and it did not come to life.

After a reboot the phone would come to this screen then go blank and nothing.

I attempted to re install from clockworkmod recovery restore but it would not work this time.

Had several Lollipop backup files - none worked - thought it was dead.

After some time I did get one to restore but none of the lollipop versions restored worked; I had an older file with 4.4.3 which worked. Phone is now back to 4.4.3

OK now with stock recovery flashed again (7.17.1540.7) I tried the update again to lollipop, but a short ways into the install the operation aborts creating error message as above.

So everything in the About / Software indicates it is 4.4.3 /6.07.1540.2

However the Hboot screen is showing OS 7.17.1540.21 now. Obviously from the last upgrade attempt.

It was a similar situation the first time I was successful installing the lollipop upgrade; the phone indicated that it had version 4.4.3 /6.07.1540.2 but the Hboot OS indicated it had OS 7.17.1540.2 (from the crashed update attempt I guess)

So could someone advise on best coarse of action to try and update this software now to Lollipop?

Could I re-flash something like the kitkat version of boot image? Would this correct the OS version reported by HBoot?

Other options I have found would be to install the RUU factory file:

RUU_M7_UL_L50_SENSE60_MR_BrightstarUS_WWE_7.17.1540.51.exe

But I'm concerned that if this fails due to operating system modifactions the phone may brick, as warned at the site.

Also I have found a TRWP backup file from lollipop upgrade which I could install TRWP recovery and attempt a restore from this file?

Any suggestions?