I installed Leodroids rom with s-on, but saw the kernel was not installed. So I saw that I had to have s-off to install a kernel, so I decided to do the revolutionary method but I needed 1.49.0007 for that and I have 1.49.0018.
I followed this link;
http://forum.xda-developers.com/showthread.php?t=1316578
But when I write
"fastboot oem lock"
Click to expand...
Click to collapse
It says
C:\Android>fastboot oem lock
... INFOLock successfully...
OKAY [ 0.021s]
finished. total time: 0.021s
Click to expand...
Click to collapse
and when I reboot the bootloader or boot back into android I still have an unlocked bootloader and can't relock.
I tried running a nandroid backup I did with CWM when I was running stock rom and tried relocking with that, didn't work with this too.
What am I supposed to do to relock my phone and do the rev. method?
UPDATE, Apparently the tutorial tells me to do
"fastboot oem writecid HTC__001"
Click to expand...
Click to collapse
This ended up with a "fatal error" but still changed to HTC__001.
Now when I try to revert back to my original cid (I got it before writing cid via readcid) I do
fastboot oem writecid HTC__M27
Click to expand...
Click to collapse
and then do readcid, it reads HTC__M27, but when I reboot the bootloader it is still HTC__001.
So apparently the HBOOT can't save any settings.
This is my main problem.
UPDATE#2...
PG86IMG.ZIP was corrupted.. I got a newer one and it was good this time.
The phone read it, said "Parsing.." and kicked me out back to the normal menu.
Any tips?
UPDATE#3 and probably last..
I found out about the tool called Flash Image GUI(.99cents at android market) which will install kernels on S-ON EVO 3D devices.
I was trying to install the leedroid kernel in the first place so after hours of trying to solve my HBOOT problem(and I still couldn't, it is stuck on unlocked and HTC__001, doesn't affect me though) I still couldn't, found about this, installed the kernel and now I am happy with my device.
But still, if you guys have any idea why my HBOOT is read-only now, hit me up so I can solve my issue.
unlock bootloader
your trying to take short cuts first you need to unlock via htc dev now when that is done you need to flash a custom recovery via fastboot using fastboot commands like fastboot flash recovery cwm-4.0.1.4-shooteru.img you can find this in dev section and once that is done dowload lee droid rom and before you flash the rom you will need to wipe ceche wipe delvik ceche wipe battery stats and now press the back button until you see your download folder scroll down to it press power and the zip file you downloaded should be there now scroll down to it press power to flash your new rom and when thats done dont go through the set up go boot back in to boatloader and conect usb press power to get in to fastboot use it should be a red box that says it now on your pc or laptop open command prompt now typ what ever commands you use to get your adb commands and fastboot commands and once thats done typ fastboot getvar cid it will display your cid number now that you see your cid number you can change it to HTC__001 and the way you do this easy typ fastboot oem writecid HTC__001 press enter now it will write your new cid number next you will typ fastboot reboot-bootloader press enter once it rebooted into bootloader you will want to go back into fastboot now tryp fastboot getvar cid your new cid number should be HTC__001 now thats is done go here [Tool][Vodafone+Unbranded!]One & Only easy + working downgrade for revolutionary after this you will have hboot 1.49.0007 once this is done now your ready to s off head over to alpharevolutionary.io
jslim38 said:
your trying to take short cuts first you need to unlock via htc dev now when that is done you need to flash a custom recovery via fastboot using fastboot commands like fastboot flash recovery cwm-4.0.1.4-shooteru.img you can find this in dev section and once that is done dowload lee droid rom and before you flash the rom you will need to wipe ceche wipe delvik ceche wipe battery stats and now press the back button until you see your download folder scroll down to it press power and the zip file you downloaded should be there now scroll down to it press power to flash your new rom and when thats done dont go through the set up go boot back in to boatloader and conect usb press power to get in to fastboot use it should be a red box that says it now on your pc or laptop open command prompt now typ what ever commands you use to get your adb commands and fastboot commands and once thats done typ fastboot getvar cid it will display your cid number now that you see your cid number you can change it to HTC__001 and the way you do this easy typ fastboot oem writecid HTC__001 press enter now it will write your new cid number next you will typ fastboot reboot-bootloader press enter once it rebooted into bootloader you will want to go back into fastboot now tryp fastboot getvar cid your new cid number should be HTC__001 now thats is done go here [Tool][Vodafone+Unbranded!]One & Only easy + working downgrade for revolutionary after this you will have hboot 1.49.0007 once this is done now your ready to s off head over to alpharevolutionary.io
Click to expand...
Click to collapse
+1, worked.. trying for 10+ hours, thanks a lot
G u i flash
and if you follow these steps you can bypass the gui flash tool dont get me wrong it works but it also will cause problems with dual roms that means it has two kernals and it doesnt allow the user the abilty to choose the correct kernal to flash i know becuase i went through it
I did all that, but...
As I said, I did all that, but when I got to the part when I use Revolutionary tool, I got my beta key and type it in, then it reboots my phone to bootloader and so 4 times and then it says to me that it filed and that I can make lemonade!!
I do not wan't lemonade, I wan't S-OFF...
Where do I get wrong?
What to do to avoid this error?
btw. I can't RELOCK my device. I was able to HTCdev unlock, I have unlock_code.bin, I have flashed recovery cwm-4.0.1.4-shooteru.img, and then later even 4ext...
But I still get this:
C:\Documents and Settings\Ante1\Desktop\HTC EVO 3D\htcsupertoolv3\root>fastboot
oem lock
< waiting for device >
... INFOLock successfully...
OKAY [ 0.031s]
finished. total time: 0.031s
C:\Documents and Settings\Ante1\Desktop\HTC EVO 3D\htcsupertoolv3\root>fastboot
oem writecid HTC__001
... INFO shooter_u_init_sd, SD card power on ok
INFOsdcc_init_memory_device done
INFO[FAT_ERROR] fat_open_file: can not find SMART_IO.CRD
INFO[JAVACARD_ERR] SMART_IO.CRD cann't find
INFOStart Verify: 3
INFOerase sector 65504 ~ 65535 (32)
OKAY [ 1.234s]
finished. total time: 1.234s
C:\Documents and Settings\Ante1\Desktop\HTC EVO 3D\htcsupertoolv3\root>fastboot
getvar cid
cid: HTC__001
finished. total time: 0.000s
So, can't relock... I guess that revolutionary tool would work if I can relock?
What should I do?
Flash RUU again, and start the process all over again??
---------- Post added at 02:06 PM ---------- Previous post was at 01:49 PM ----------
Here's what I got when using revolutionary tool:
Brought to you by AlphaRev & unrEVOked.
Waiting for device...
Found your device: HTC EVO 3D X515m (shooteru-1.49.0007, Android: 2.3.4, ROM ver
sion: 1.20.401.2)
This is a beta release and requires a beta release key.
Please visit: http://revolutionary.io for more information.
Enter beta key [ serial: SH21GV200560 ]: 94K60drHazQ8arTG
Beta key accepted - thank you for participating!
Zerging Root... this might take a minute or so.. Root acquired!
Sending in Caroline...
Cleaning up...
Rebooting to fastboot...
When life gives you lemons, don't make lemonade. Make life take the lemons back!
Waiting for fastboot...
Rebooting to fastboot (again)...
Rebooting to fastboot (yet again)...
Rebooting to fastboot (Once moar...)
FAILED - Go have some lemonade!
Press (almost) any key to exit.
I solved it...
Got S-off..
But I had to apply RUU from gingerbread and then follow all instructions (with some shortcuts) but I ended up with S-off and with revolutionary cem and I cannot change it to 4ext and I had purchased paid version...
Whatever, I'm pretty new in HTC developing world and still learning terms and gathering experience...
Sent from my HTC EVO 3D X515m using xda premium
Sent from my HTC EVO 3D X515m using xda premium
Hi... I tried to update my firmware last night but ended up with a relocked hboot 1.57 s-off. I could have swore I downloaded Freeza's firmware with hboot removed. After hours of searching here I am. If anyone can help me get back to 1.40 I would greatly appreciate it, really need my phone for work. Thanks
Have you tried this?
http://forum.xda-developers.com/showthread.php?t=1192306
Download the 1.40 Hboot link
then boot into fastboot
then run:
fastboot oem rebootRUU
an HTC screen will appear then run:
fastboot flash zip PG86IMG_1.40-hboot.zip
After it finishes flashing, the console will say it is done but the image on the screen may not complete. I usually wait a bit then run:
fastboot reboot-bootloader
It should reboot and you should see 1.40 again
Hi. I downgraded my hboot to 1.49.007 with URT.
Now I can't flash RUU. I have error 131. When I type fastboot oem readcid i have HTC_032, but when I type fastboot getvar cid I get 0202. I'm trying to flash RUU_Shooter_U_HTC_Europe_1.20.401.2_Radio_10.53.9020.00_10.13.9020.08_2M_release_203403_signed and /RUU_Shooter_U_HTC_Europe_1.20.401.8_Radio_10.59.9020.00_10.15.9020.06_M_release_219793_signed. What I have to do?
You have to extract the PG86IMG.zip from the RUU and flash it trough the bootloader.
ONLY FOLLOW THIS GUIDE FOR WARRANTY REPLACEMENTS OR IF YOU NEED TO BE STOCK FOR A SALE. THERE IS NO OTHER REASON TO FOLLOW THIS GUIDE.
ALSO MAKE SURE YOU FOLLOW THE GUIDE PROPERLY. FAR TOO MANY ERRORS ARE BEING MADE BY NOT READING OR FOLLOWING STEPS IN ORDER.
This guide will help you get your phone back to stock after using any of the 5 S-Off methods that either have been or are currently available to us.
Credit to Scotty1223. I edited his One S guide for the DNA.
First post is for Facepalm and JTAG S-off only. RevOne instructions are in the second post. Moonshine and Rumrunner is in post 3.
***IF YOU HAVE A CUSTOM SPLASH SCREEN INSTALLED, THE STOCK SPLASH SCREEN MUST BE FLASHED BEFORE DOING ANYTHING! SEE FOURTH POST FOR LINKS AND INSTRUCTIONS FOR FLASHING THE STOCK SPLASH SCREEN***
***DO NOT ISSUE ANY OF THE WRITESECUREFLAG COMMANDS ON AN ENG HBOOT AS IT WILL BRICK THE DEVICE. JUST FOLLOW THE GUIDE.***
For those who want to return to stock and have used the JTAG method for achieving S-Off, this guide will also work for you. It all depends on what you did AFTER you got your JTAG phone back. If you wrote a new CID using fastboot and HTCDev unlocked, follow the guide as it is written out.
If you didn't write a new CID and use HTCDev unlock and just merely flashed a modified/ENG HBOOT, then the process would be: Fastboot flash stock hboot, RUU to stock, fastboot oem writesecureflag 3, then allow phone to update using the OTA process. You can find the commands/files/steps for these 3 simple steps below as well.
Files needed:
Lock bootloader zip: lock bootloader MD5: f335f78f9f46469c823da0c671026de5
3.06 RUU: 3.06 RUU
Steps:
1.Copy the "lock bootloader zip" onto root of internal storage and flash in recovery of your choice. Once it is flashed Reboot your phone.
2.Reboot into bootloader either using 4 in 1 power menu (if your ROM supports it). Or plug your phone into a USB port, turn on USB debugging and open a command prompt and type:
Code:
adb devices (Your device ID should be listed)
adb reboot bootloader
Verify you are **LOCKED** If not, re-flash the zip. If still not locked, try downloading the file again and re-flashing.
IF YOU ARE RUNNING ANY HBOOT THAT IS NOT THE 3.06 HBOOT (1.54 in bootloader), YOU MUST FLASH 3.06 HBOOT BEFORE CONTINUING - SEE POST 4
3. run the RUU as admin (right click, run as administrator)
4. After RUU completes and phone reboots, make sure usb debugging is on and in charge only mode and open cmd prompt
5. Run the following:
Code:
adb devices (your device should be listed)
adb reboot bootloader
fastboot devices (your device should be listed)
fastboot oem writecid VZW__001 (2 underscores)
fastboot reboot-bootloader
fastboot getvar cid (verify your stock CID)
fastboot oem writesecureflag 3
fastboot reboot-bootloader
*verify you are locked s-on
fastboot reboot
Should now be 100% stock, S-ON, with CID 100% stock as well.
Returning to stock from RevOne
It is pretty much the same process, but with a slight deviation.
AGAIN, IF YOU HAVE A MODIFIED/ENG HBOOT, DO NOT ISSUE ANY WRITESECURE FLAG COMMANDS. JUST FOLLOW THE GUIDE.
First, download these two files:
Files needed:
Lock bootloader zip: lock bootloader MD5: f335f78f9f46469c823da0c671026de5
3.06 RUU: 3.06 RUU
Steps:
1.Copy the "lock bootloader zip" onto root of internal storage and flash in recovery of your choice. Once it is flashed Reboot your phone.
2.Reboot into bootloader either using 4 in 1 power menu (if your ROM supports it). Or plug your phone into a USB port, turn on USB debugging and open a command prompt and type:
Code:
adb devices (Your device ID should be listed)
adb reboot bootloader
Verify you are **LOCKED** If not, re-flash the zip. If still not locked, try downloading the file again and re-flashing.
IF YOU ARE RUNNING ANY HBOOT THAT IS NOT THE 3.06 HBOOT (1.54 in bootloader), YOU MUST FLASH 3.06 HBOOT BEFORE CONTINUING - SEE POST 4
3. run the RUU as admin (right click, run as administrator)
4. After RUU completes and phone reboots, make sure usb debugging is on and in charge only mode and open cmd prompt
5. Run the following:
Code:
adb devices (your device should be listed)
adb reboot bootloader
fastboot devices (your device should be listed)
fastboot oem writesecureflag 3
fastboot reboot-bootloader
*verify you are locked s-on
fastboot reboot
You are now out of box stock.
Return to stock on Moonshine, Rumrunner and Firewater S-Off
Files needed:
Lock bootloader zip: lock bootloader MD5: f335f78f9f46469c823da0c671026de5
3.06 RUU: 3.06 RUU
Steps:
1.Copy the "lock bootloader zip" onto root of internal storage and flash in recovery of your choice. Once it is flashed Reboot your phone.
2.Reboot into bootloader either using 4 in 1 power menu (if your ROM supports it). Or plug your phone into a USB port, turn on USB debugging and open a command prompt and type:
Code:
adb devices (Your device ID should be listed)
adb reboot bootloader
You are locked. The s-off process removes the flag from displaying, but it is now locked.
IF YOU ARE RUNNING ANY HBOOT THAT IS NOT THE 3.06 HBOOT (1.54 in bootloader), YOU MUST FLASH 3.06 HBOOT BEFORE CONTINUING - SEE POST 4
3. run the RUU as admin (right click, run as administrator)
4. After RUU completes and phone reboots, make sure usb debugging is on and in charge only mode and open cmd prompt
5. Run the following:
Code:
adb devices (your device should be listed)
adb reboot bootloader
fastboot devices (your device should be listed)
fastboot oem writesecureflag 3
fastboot reboot-bootloader
*verify you are locked s-on
fastboot reboot
You are now out of box stock.
FLASHING THE STOCK HBOOT:
*Credit to .torrented*
1. download 3.06 HBOOT: 3.06 HBOOT
2. Rename stock hboot file to : PL83IMG.zip and place in the folder that contains your fastboot.exe file (On your computer)
3. Flash hboot
Code:
Step 1) adb reboot bootloader
Step 2) fastboot oem rebootRUU
Step 3) CD to directory containing hboot zip (i.e. cd C:\sdk\)
Step 4) fastboot flash zip PL83IMG.zip
*** When it says it is done in the terminal/cmdprompt execute the following ***
[The green bar only fills up about 75% of the way]
Step 5) fastboot reboot-bootloader
Flashing the Stock Splash Image
*All credit goes to E.T.Heil
1. Download the stock splash image here.
2. Rename file to splash1.img
3. Place the file in the same folder you have adb.exe and fastboot.exe located.
4. Plug in your phone to a USB port, turn on USB debugging and open a command prompt. cd to the directory your adb/fastboot is located
5. Run the following:
Code:
adb devices (your device ID should be displayed)
adb reboot bootloader
Once in the bootloader, run:
Code:
fastboot flash splash1 splash1.img
Once complete, reboot the phone using the menu or
Code:
fastboot reboot
updated with RevOne and Moonshine...
If anyone sees anything I missed let me know. Otherwise guide is complete.
Thank you so much for making this post. This is exactly what I needed. I am not quite sure which method I uses but it was the first one that required changing the CID, unlocking via htc dev and all that stuff. Would that be facepalm? Sorry if this is a dumb question, it was so long ago that I don't quite remember.
Imacellist said:
Thank you so much for making this post. This is exactly what I needed. I am not quite sure which method I uses but it was the first one that required changing the CID, unlocking via htc dev and all that stuff. Would that be facepalm? Sorry if this is a dumb question, it was so long ago that I don't quite remember.
Click to expand...
Click to collapse
Yes that was the Facepalm method. So follow the OP guide for that.
I love you! (no homo).
when i run RUU i get error 155 so i tried to flash the 1.15 hboot and i get this error in cmd
D:\Documents and Settings\Jonathan\My Documents\HTC\adt-bundle-windows-x86-20130
219\sdk\platform-tools>fastboot flash zip PL83IMG.zip
sending 'zip' (2047 KB)...
OKAY [ 0.375s]
writing 'zip'...
(bootloader) zip header checking...
(bootloader) shift signature_size for header checking...
FAILED (remote: 32 header error)
finished. total time: 0.562s
am i doing something wrong? i want to get my phone back to complete stock because i flashed a rom after moonshining without making a backup first. so i really want to get to stock so i can do the whole process over again (moonshine again if needed)
Prodiigy said:
when i run RUU i get error 155 so i tried to flash the 1.15 hboot and i get this error in cmd
D:\Documents and Settings\Jonathan\My Documents\HTC\adt-bundle-windows-x86-20130
219\sdk\platform-tools>fastboot flash zip PL83IMG.zip
sending 'zip' (2047 KB)...
OKAY [ 0.375s]
writing 'zip'...
(bootloader) zip header checking...
(bootloader) shift signature_size for header checking...
FAILED (remote: 32 header error)
finished. total time: 0.562s
am i doing something wrong? i want to get my phone back to complete stock because i flashed a rom after moonshining without making a backup first. so i really want to get to stock so i can do the whole process over again (moonshine again if needed)
Click to expand...
Click to collapse
Possibly a bad download, Download the HBOOT again and give it another go.
Also, with that error you are getting during the RUU process, did you lock the bootloader back up before running the RUU? That error sometimes shows up from not doing that.
I don't know if this will help anyone or not, or if this was known and I was just being stupid, but I was getting the ERROR [155] as well when running the RUU and I knew my hboot was correct as well as locked so that wasn't the problem, so I attempted to run the RUU again and saw that it was saying my current version was 1.28.xxxxxx which made me realize that that was the Sense 5 roms version number and not the actual version number of my phone causing it to fail. What I then did was i downloaded an AOSP based rom (but I would surmise that a sense 4 DNA rom would work as well) and flashed that then tried again. After doing that it showed the correct version number in the RUU and processed correctly!!
For a little more in site I was on the following setup:
Moonshine S-OFF
Joelz Stock Sense 5 <-- What caused the Error 155
Carbon ROM (Built by Pio) <--- What fixed the error (Would work with any AOSP or Sense 4 Rom ***Needs tested***)
**Edit**
Also incase anyone was wondering I was doing this to fix my phones radio, for some reason when flashing certain roms it gets stuck in Roaming no matter what you do. To fix it I just take my phone completely back to stock S-ON etc, then go into the bootloader and hit factory reset with the stock recovery and it seems to fix it, then S-Off and unlock again and go about my business. I couldn't actually find an answer besides "RMA the thing" to fix the radio roaming issue, so i figured i'd add that incase anyone else was/is in the same boat.
Hmm... I'll do a bit of testing on that with random Sense 5 vs AOSP/Sense 4 ROMs. If that is the case, I'll edit the guide.
I successfully restored my droid dna to untouched stock with this method. I had to exchange my DNA for a new one due to problems I was having and I am trying to do everything I can to make sure that there is no evidence of my tampering. One thing someone mentioned was to take the OTA's to get the device up to current 2.06 since I have been rooted and such since the first day it was available and am on 1.15. I have tried manually checking for software updates and it doesn't seem to find anything. It hasn't prompted me yet and I am wondering if because I am so far behind if they update system isn't checking or something else it wrong. Any thoughts? Any ways to manually update to 2.06 like flashing a new RUU (if that exists)? Thanks.
Just leave the phone on... I did it a few weeks back. It will eventually update.
Phaded said:
Just leave the phone on... I did it a few weeks back. It will eventually update.
Click to expand...
Click to collapse
Thanks. Verizon is only giving me 5 days to ship it back haha. So I just wanted to figure it out as quickly as possible.
Confirmed that on Sense 5 ROMs it randomly errors out. Editing guide.
I flashed the hboot zip and the hboot version is1.33 The phone is s-off and locked on viper rom. The RUU will reboot the phone into the black screen with the silver HTC logo, then the RUU stops working and asks to close the program. I downloaded three times and checked the md5 each time and its good. I am stuck. Any suggestions?
gris1016 said:
I flashed the hboot zip and the hboot version is1.33 The phone is s-off and locked on viper rom. The RUU will reboot the phone into the black screen with the silver HTC logo, then the RUU stops working and asks to close the program. I downloaded three times and checked the md5 each time and its good. I am stuck. Any suggestions?
Click to expand...
Click to collapse
The RUU itself crashes on the computer or the phone crashes and reboots?
Also the hboot I have linked should give you version 1.31 I do believe.
Thanks for this, worked perfectly!
Phaded said:
Return to stock on Moonshine S-Off
First, download the stock RUU
Stock RUU: 1.15 RUU: Mirror #1 or Mirror #2
Plug your phone into a USB port, turn on USB debugging and open a command prompt. cd to the directory that has adb/fastboot.
**NOTE** I noticed on the XDA mobile app that it breaks the echo command line up and makes it look like 2 separate commands. Do not separate it. The command starts at echo and ends at 33796.
Run:
Code:
adb devices (verify device ID is listed)
adb shell
su
echo -ne '\x00\x00\x00\x00' | dd of=/dev/block/mmcblk0p3 bs=1 seek=33796
exit
Your bootloader is now locked. Lets verify...
Reboot into bootloader either using 4 in 1 power menu (if your ROM supports it). Or plug your phone into a USB port, turn on USB debugging and open a command prompt and type:
Code:
adb devices (Your device ID should be listed)
adb reboot bootloader
Verify you are **LOCKED**
Click to expand...
Click to collapse
I am having issues not getting the phone to return to "Locked" status. I have and am running the stock ROM. Just reset back to factory. I am following the commands to the T. Below is what my CMD prompt shows that I typed in, or copied and pasted for the echo command. I was trying to follow the note about the echo command but I could see nothing wrong with it... also in the end I had to type exit command twice for it exit and go back to the prompt for the next folder.
C:\android-adb>adb devices
List of devices attached
FA2C2S510423 device
C:\android-adb>adb shell
[email protected]:/ # su
su
[email protected]:/ # echo -ne '\x00\x00\x00\x00' | dd of=/dev/block/mmcblk0p3 bs=1 s
eek=33796
d of=/dev/block/mmcblk0p3 bs=1 seek=33796 <
4+0 records in
4+0 records out
4 bytes transferred in 0.007 secs (571 bytes/sec)
[email protected]:/ # exit
exit
[email protected]:/ # exit
exit
C:\android-adb>
Click to expand...
Click to collapse
I spent a day fixing a soft brick to my DNA. I haven't tracked down exactly what happened to it but it would continually soft brick trying to flash a custom ROM.
I found this method worked for me, it's easy, should work on any computer that has the proper drivers and fastboot working including Linux and MacOSX.
I've done this with the eng HBOOT and a custom splash screen. It seems to do no checks as the RUU utility does making it super simple.
Try it out report back if it did or didn't work so we can refine the steps if necessary.
This isn't to return to stock, it's to fix a phone that needs to be RUU'd. Let's start.:
If you're already unlocked and S-Off and haven't done it yet, SuperCID now so you can get back to it.
Boot into fastboot, open a terminal type fastboot oem writecid 22222222 then sign up at htcdev.com and go through the steps to submit and get an unlock token.
Download this file and check the MD5: rom.zip: http://www.adrive.com/public/8kYyds/rom.zip MD5: f5a0745a3dee9ac02e261dd42ac67291
Copy the rom.zip to wherever you have your adb/fastboot files. (use this link if needs to be installed: http://forum.xda-developers.com/showthread.php?p=42407269).
The phone should still be in fastboot type into a terminal fastboot oem rebootRUU, then fastboot flash zip rom.zip
When done your DNA should be back to factory.
At this point you might want to flash the 2.06 OTA firmware, (a link can be found in the Monnshine OP), to re-update the radios and Hboot. Same proceedure as flashing "rom.zip"
Unlock with the HTCDEV code from earlier:
Put the phone into fastboot again,
place the Unlock_code.bin from the HTC email with the adb/fastboot files,
type in terminal fastboot flash unlocktoken Unlock_code.bin, accept the warnings, it will wipe the internal storage!,
boot into fastboot one more time and flash whichever recovery you like.
DONE. If everything goes at it should have the phone has been RUU'd and unlocked again Plus you now have a permanent unlock method.