I may not have the original sources for all files because I deleted some original .zip files and only have the extracted files.
First off, I wouldn't do any of this if you have important files on your device, I wiped everything from my phone a dozen of times in the process and it didn't care because I didn't had any important files on their.
Alright, so what we want to achieve is to get to the latest version of HTC's RUU version "2.22.401.7". The RUU I could find was "2.22.401.1" so we're gonna have to d/l some OTA's later on via our device if everything is set up.
So obviously everyone who is trying to revert back has somewhere unlocked their bootloader by doing
fastboot oem get_identifier_token
fastboot flash unlocktoken Unlock_code.bin
Please remember this: ANY RUU will fail every single time if your device is LOCKED. It will ONLY work if it's unlocked or relocked.
So first off what we gonna have to do is relock/unlock our device. You can relock your device by going into fastboot mode and running the following command:
fastboot oem lock
Myself have expierenced an error that told me it "FAILED". Please reboot your bootload:
And check the locked status at the top. If it says "RELOCKED", succes! If it didn't, retry the command above.
Next, we're relocked so we can run the RUU. Please look at the text file at the RUU source  for the download links. In this .zip file are the files inside the RUU wizard. You can run the wizard by executing "ARUWizard.exe" and you can view the contents of the actual ROM in "rom.zip extracted" and you can find the original ROM in "rom.zip". Since these are the files the wizard will be using (except rom.zip extracted folder) please do not touch them.
Alright, so we've got the extracted files of the RUU and we're ready to update. Please boot your phone in fastboot mode and connect it to your computer via USB. Now run the "ARUWizard.exe" file and let it update. I couldn't think of a situation where this could go wrong, so please ask below if you face any problems.
The wizard will flash stock radio, recovery andsystem.img (the actual ROM you all know) so by doing this you lose your custom revovery.
When your phone boots up you've gotta go through 3-4 updates till it's on "2.22.401.7".
I recommend not flashing a custom recovery right away because when you install/download OTA updates it isn't able to flash it right. In the meantime if you want root use this command:
adb install -s supersu.apk
When you're on the latest version you have to unlock your bootloader, otherwise you cannot flash a custom recovery or kernel or whatever. You can do this via HTC. I think there are enough guides on how to do this, but in short:
- create an account with an legitimate email address
- Select "all other supported devices" from the list
- follow on screen instructions.
Seriously everything is on there, HTC made it really easy.
If you want to install a custom recovery I recommend using TWRP. Please flash TWRP by booting into fastboot and running the following command:
fastboot flash recovery twrp_recovery.img
There isn't really a lot that can go wrong if you do this. But when you're stuck on a screen or you think your device is "bricked" or stuck in a bootloop do these things:
- First off, hold the power and volume down button till the device goes down. If it's down, release the buttons and then hold the same buttons again till you're in bootloader
If that doesn't work do either of these commands (make sure your device is connected via USB, hehe)
Make sure fastboot and/or adb is working first:
If fastboot is working:
If ADB is working:
adb reboot bootloader
adb reboot recovery
If you have any questions, please ask me. I did a dozen of things these two days, I may forgotten something because I did a crapload of things all at once.
Please request other providers below.
unlock bootloader -> run RUU -> done