[One (M8) General] fma965:
Here is a guide on updating your branded/unbranded non developer edition HTC ONE M8 to the developer edition android 5.0 (lollipop) update and also converting your device to a developer edition device by modifying the MID and CID of your device.

(this will also get you new updates as soon as HTC releases them as your phone is now a developer edition phone)

REQUIRES S-OFF AND POSSIBLY UNLOCKED BOOTLOADER

GPE CONVERTED DEVICES NEED TO GO BACK TO SENSE FIRST

HTC Drivers - https://mega.co.nz/#!9cpz0Soa!rZH0H5djENbFN2xkS9S7yUlXzX_vcC5yOHhmUR55kUM

ADB + Fastboot - https://drive.google.com/file/d/0B1S0LCuXCnnmOWhnUk1ZWVdQakE/view

First thing you want to do is boot the device and enable adb then type the below lines

adb shell
su

DO NOT MESS UP THE BELOW COMMAND - COPY AND PASTE IT - ENTERING IT WRONG COUlD BRICK YOUR DEVICE

echo -ne '\x30\x00\x50\x00\x36\x00\x42\x00\x31\x00\x32\x00\x30\x00\x30\x00\x30' | dd of=/dev/block/mmcblk0p5 bs=1 seek=16384

adb reboot bootloader
fastboot oem writecid BS_US002
fastboot reboot-bootloader

Download this file RUU_M8_UL_L50_SENSE60_MR_BrightstarUS_WWE_4.16.1540.8_Radio_1.24.21331147A1.09G_20.68.4196.01_F_release_411207_signed_2.exe

(STOCK LOLLIPOP 5.0 RUU FOR UNLOCKED + DEVELOPER EDITION HTC ONE M8 [this is what you have now since you changed CID and MID])

CRC32: 665CF81E

MD5: FDB3C48A40F1D42165783D75CFF4B846

SHA-1: 0B3C785F7735133ED11852E2FFAD29949A514DB1

Once it is downloaded, type the following commands

fastboot oem rebootRUU

FLASHING RUU'S WILL WIPE YOUR INTERNAL SD (/DATA/MEDIA)

Run RUU_M8_UL_L50_SENSE60_MR_BrightstarUS_WWE_4.16.1540.8_Radio_1.24.21331147A1.09G_20.68.4196.01_F_release_411207_signed_2.exe and just press next/confirm etc. ignore the usb connection instructions, once that is done, the device will reboot and you will be on lollipop

CLICK FOR OLD METHOD

Download this file - http://dl3.htc.com/application/RUU_..._2G_20.63.4196.01_release_394319_signed_2.exe (Mirror)

(STOCK RUU FOR UNLOCKED + DEVELOPER EDITION HTC ONE M8 [this is what you have now since you changed CID and MID])

CRC32: 79E8DE54

MD5: 5040B8D54D0ADA150531C66D899ABBE9

SHA-1: A1E39A089A23417DDF5A682BB6A23C9BDE77025B

Once it is downloaded, type the following commands

fastboot oem rebootRUU

flashing the RUU will most defintely wipe your internal sd (/data/media)

Run RUU_M8_UL_K444_SENSE60_MR_BrightstarUS_WWE_3.28.1540.5_Radio_1.21.21331147A1.19_2G_20.63.4196.01_release_394319_signed_2.exe and just press next/confirm etc. ignore the usb connection instructions

once that is done, the device will reboot and you will be able to check for updates and find the lollipop update.

OPTIONAL Zip file for the OTA https://docs.google.com/uc?id=0B0lhP19GCj8fVDNCeE9WZUI5ZTQ&export=download - Boot to stock recovery, press vol+ and vol- and power when at the triangle thingy, then select the zip

This method isn't the quickest if you are already on a compatible version but if your not then this will get you sorted, i spent multiple hours getting this sorted.

Credit for the mid/cid stuff goes to this thread http://xdaforums.com/htc-one-m8/general/change-wwe-m8-to-dev-edition-ota-t2826567

ROOT: Either flash TWRP and let it do it's thing when u go to exit without root or flash a SuperSU Flashable ZIP!