I tried that last night , haved unloked boatloader + twrp recovery and I try from twrp recovery to flash zip file OTA_VILLEC2_U_JB_45_S_HTC_Europe_3.17.401.102_16.22.20.03U_16.11.20.24_M_release_305849f16hjx6h6neosbyn
but it gives me a erorr ... (E: failed to verify whole-file signature ...)
So today I relock boatloader and flash phone with exe: RUU_VILLEC2_U_ICS_40_S_HTC_Europe_2.15.401.100_Radio_16.21.20.02U_16.09.20.11_M2_release_286571_signed
Now when I go to recovery it gives me just a black screen and a circle with a green arrow.
So you think that I must again unlock boatloader / instal twrp recovery and tried flash/update with OTA Jb zip file ??? do I need to root phone before?
it is easy my friend you just need UNLOCKED BOOTLOADER , TWRP CUSTOM RECOVERY
if you have now the ota.zip open it with 7zip on windows 7 then find file "updater-script" in the directory META-INF/com/google/android.
when you find it copy it to desktop and edit it with notepad++ find these words or line
ifelse( is_ship_bootloader(getprop("ro.bootloader")) == "t" ,
assert(check_cid(getprop("ro.cid"), "00000000" , "11111111" ,
"22222222" , "33333333" , "44444444" , "55555555" , "66666666" ,
"77777777" , "88888888" , "99999999" , "HTC__044") == "t");
);
and delete that line and save it, after saving it exit the notepad++, hold on to your new saved "updater-script" file in a safe place.
after that go back to the open ota.zip and go back to META-INF/com/google/android. and delete the "updater-script".
after deleting it locate your recently edited "updater script" (it is the one i asked you to edit on notepad++)
after locating it,drag it to META-INF/com/google/android located inside the OTA.zip
remember! before closing the OTA.zip go back to the root where there is "META-INF,System,Firmware,FotaBoot and etc" copy or drag the FIRMWARE to the adb and fast boot folder
then....save or close the OTA.zip and put it on the phones storage.
then follow this steps now
plig in your phone,make sure adb debugging is enable...
then
6th step:this time to OEM update mode: adb reboot oem-78
7th step: Flash the firmware update: fastboot flash zip firmware.zip. If this complains without getting you a green progressbar on the screen, try it again – the second time it usually sticks.(even if it fails the the 4th time around just try and try it)
Once this process completes, reboot the phone again in the new bootloader: fastboot reboot-bootloader.
Now you can unlock your bootloader again, using the Unlock_Code.bin file you got from htcdev.com: fastboot flash unlocktoken Unlock_Code.bin.
At this point, you’d sure as hell wish you’d made a backup, if you didn’t. Because now your phone is wiped, reset to factory default. Don’t say I didn’t warn you upfront.
8th step: After the reboot finishes, you can once again boot in booloader/fastboot mode, and flash your recovery anew. For Clockworkdmod Recovery, the command is fastboot flash recovery <filename.img> Now you can boot the phone in the recovery (select the option from the bootloader menu).
9th step: Once in the recovery, it’s time to restore your nandroid backup. You did make one, did you?
If you finished restoring the backup, or you can now flash the OTA zip on the phone, updating the ROM to the new version or stock version.
After this, you just need to reboot one more time, this time to the ROM itself. Let it finish upgrading all applications, and tadaa, your freshly upgraded phone.
hope this helps my friend,
feel free to thank me
-xander