View Single Post
  #394 (permalink)  
Old 02-06-2013, 11:40 AM
yashvikas's Avatar
yashvikas
Lurker
Offline
 
Join Date: Dec 2012
Posts: 3
Reputation: 0
yashvikas is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: How To's: Unlocking, Relocking, Flashing, Dumping and Troubleshooting

Quote:
Originally Posted by tobeychris View Post
Before you do anything in this tutorial, I advise you backup, by syncing to your computer and/or using a program like PIMBackup or Microsoft MyPhone to save your contacts, calendars, call logs and texts. If you lose them, any other information, or your phone doesn't work because of something you read here, it's your own responsibility, you can choose to not do anything right now!
Also, there is no good way to backup any programs you have downloaded and installed on the phone, it's best to download and install them again, so don't ask where to find the programs you lost!

THIS IS FOR CDMA DIAMONDS ONLY!
IF YOU DO NOT HAVE A TELUS, SPRINT, ALLTEL, MTS, CELLULAR SOUTH OR BELL DIAMOND, DON'T DO THIS!
This DOES NOT work on Verizon Diamonds as they are a completely different phone.

Common Terms:

Kitchen: A complilation of programs that deconstruct, allow customization, and reconstruct a ROM.
ROM: Technically Read Only Memory, this is essentially the software on your phone that can be customized through a Kitchen and then Flashed onto your phone.
Cooking: The process of using a Kitchen to customize a ROM.
Flashing: The process of loading a ROM onto your phone via the RUU.
RUU: ROM Upgrade Utility, used to Flash a ROM onto your phone.
NBH: A file type (.nbh). This is a ROM.
Unlocking: The process of making your phone Flashable by custom ROMs.
Relocking: The process of going from an Unlocked state a Locked state.
OS: Operating System, this is the main part of your phone, Windows Mobile, including the kernel, drivers, programs and interface.
SPL: The bootloader of your phone. This loads the OS.
SSPL: Soft-SPL, a modified SPL that is loaded for a short time in order to write an HSPL.
HSPL: Hard-SPL, a modified SPL that is written over the original SPL in order to Unlock your phone.
Security Unlocked: THIS HAS NOTHING TO DO UNLOCKING YOUR PHONE. This has to do with the radio of your phone, and will always be there (refer to pictures in tutorial).
Radio: This is usually refered to as the software on your phone, (that is not normally touched when flashing a custom ROM unless specifically stated, but is included in shipped ROMs) that controls the communication between your phone and the cell phone towers. Different Radios will usually provide different levels of signal, battery life, and, due to a combination of both, overheating of your phone.

Unlocking Your Phone:

This is a guide on how to unlock your phone, the first thing some of you will do when you open the box!

If you did not just get this phone, BACKUP ANYTHING YOU DON'T WANT TO LOSE. This will reset your phone to the way it was fresh out of the box... but unlocked.

1. Open the box to your nice new HTC Touch Diamond.
If you've already used your diamond, you should do a Hard Reset before continuing (see below).
2. Download and install Activesync (XP) or MWMDC (Vista).
3. Ensure that you have .NET Framework 3.5 (Will be in add/remove software).
4. Connect your Diamond to your PC via the USBmini cable.
5. After a few seconds Activesync will pop up and start the Setup Wizard, IGNORE THIS.
6. Download Diamond Unlocker.zip (also attached to this thread)
7. Open the Diamond Unlocker.zip and drag the Diamond Unlocker FOLDER to your desktop.
8. Run Diamond Unlocker.exe located in the folder.
9. Your phone may or may not ask you if you want to run "EnterBootloader.exe",if it does, click Yes.
10. You have to click Next a bunch of times on your PC in the Rom Update Utility.
11. Your phone will goto a tri-colour screen and should say SSPL0.43.CMONEX at the top. SSPL
12. The phone will restart again and is now Unlocked!
13. You can check that it is Unlocked by entering the Bootloader (Power+VolumeDown and hold down Reset)(Locked and Unlocked)
14. Please Donate to Cmonex.

no2chem, ghettofreeryder and myself worked for a very long time with her to get this right, and she deserves to be thanked.

Also, thank you to CNeufeld and Loginatnine for the original dumps of this phone.

Also, you can enter the BootLoader at any time by pressing Power+VolumeDown and holding down Reset until it appears.

Relocking Your Phone:

This is only here for informational purposes. By no means do you need to relock your phone unless you're taking it back to the store.

1. Follow the Unlocking procedure to install the necessary programs (.Net 3.5 and syncing program).
2. Download the Diamond Relocker (also attached at the bottom of this post).
3. Open the .rar and drag the Diamond Relocker folder to a convenient place.
4. Run the RomUpdateUtility.exe
5. Enjoy your relocked phone. (Locked)

Hard Resetting Your Phone:

Hard Resetting your phone will delete all information on the main storage of the phone, reverting your phone to the initial settings of whatever ROM you are running.

There are two main methods:
1. Power + VolumeDown + Enter (circle button) and hold down Reset until the white screen appears, then press VolumeUp to Hard Reset.
2. Goto Start > Settings > System > Clear Storage. You can then choose to Clear Storage, Format internal storage only (the 4GB memory), or Clear storage and format internal storage. Once you've made your choice, type in 1234 to the box at the bottom, and then click Yes.

ROM Guides:

For BASIC Users:

Flash A ROM From A Computer (ROMUpdateUtility):

1. BACKUP ANYTHING YOU DON'T WANT TO LOSE
2. Download the Diamond RUU.
3. Download your choice of ROM (see the list below).
4. If it is in a .rar compressed folder, extract it. The end result should be a .nbh file (usually called RUU_Signed.nbh).
5. Drag the RUU_Signed.nbh file into the RUU folder.
6. Run the Rom Upgrade Utility.exe.
7. Follow the prompts on screen.
8. Restore any backed up information.
9. Enjoy your new ROM!

Flash A ROM From Internal Storage:

This is accomplished by placing a ROM named DIAMIMG.nbh on the internal storage and then entering Triggered Bootloader. Here are more detailed instructions:
1. BACKUP ANYTHING YOU DON'T WANT TO LOSE
2. Download your choice of ROM (see the list below).
3. If it is in a .rar compressed folder, extract it. The end result should be a .nbh file (usually called RUU_Signed.nbh).
4. Rename RUU_Signed.nbh as DIAMIMG.nbh.
5. Transfer DIAMIMG.nbh to the root of your internal storage.
6. Ensure that the file DIAMIMG.nbh is located on the internal storage of your device.
(May need to disconnect from computer if you are in Disk Mode and/or select Menu > Show All Files in File Explorer)
7. Enter Triggered Bootloader. (Power + VolumeDown + Back and hold down Reset)
8. You should see a grey screen with blue text listing all of the aspects of the ROM.
(At least one of: Bootloader, Splash1, Splash2, Radio, OS. Usually only OS.)
9. You are now given the option to press the Power button to start the update, or the Action button (circle) to cancel. (Press the power button)
10. If all goes well, the progress bar will reach 100% and the ROM Update will be complete, you then must reset the device. (Press the reset button or pull the battery)
11. Restore any backed up information.
12. Enjoy your new ROM!


Available ROM List:

Shipped ROMs (direct download):
These ROMs are Official HTC ROMs that have been made publically available or leaked.
Note: These will change your Radio, OS and Splash Screens.Stock ROMs (direct download):Custom ROMs (link to thread):
  • This section needs to be updated!
Read through the threads and see if a specific ROM has the features you want.
Some have tons of applications, barely any applications, only certain applications.
Also read the CE OS 5.2.XXXXX version as well as the Build XXXXX version.
These are the main components of the operating system and will have a great impact on performance (in most cases).

For ADVANCED Users:

Try building your own ROM!

Use the How To: Kitchens tutorial!

Upgrade Your Splash:

For those of you who are tired of that old HTC Diamond splash screen (when you first turn on the phone), try THIS new one! - (Picture)
The picture is designed so that the bottom text is only visible from certain angles and/or certain brightnesses. It's pretty sweet.
Simply follow the BASIC Users instructions, using the link as your RUU_Signed.nbh.

I finally decided to make a Stock Splash. It can be found HERE. (Picture)

Dump My ROM:

1. Download Dump My ROM.
2. Connect your phone to your computer!
3. Transfer EnableRapi.cab to your phone and click on it to install it.
This step may or may not be needed, so you can skip it, but if this doesn't work, you'll have to come back and do it.
4. With your phone still connected, run Partition Addresses.bat.
5. A File named Partition.Addresses.txt should be created containing some very important information.
Here is what this file should look like:
Code:
Copying \itsutils.dll to WCE:\windows\itsutils.dll
216.00M (0xd800000) FLASHDR
|           3.12M (Address1) Part00
|           4.13M (Address2) Part01
|         119.63M (Address3) Part02
|          89.13M (Address4) Part03
  3.75G (0xf0000000) DSK8:
|           3.75G (0xf0000000) PART00
STRG handles: 
handle#0 ce810c7a   3.75G (0xf0000000)
handle#1 afee0026  89.13M (0x5920000)
handle#2 6ff807fa 119.63M (0x77a0000)
handle#3 aff807d6   4.13M (0x420000)
handle#4 cff806ae   3.12M (0x31f000)
disk ce810c7a
0 partitions, 0 binary partitions
customerid=00000000 uniqueid= 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
disk afee0026
0 partitions, 0 binary partitions
customerid=00000000 uniqueid= 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
disk 6ff807fa
0 partitions, 0 binary partitions
customerid=00000000 uniqueid= 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
disk aff807d6
0 partitions, 0 binary partitions
customerid=00000000 uniqueid= 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
disk cff806ae
0 partitions, 0 binary partitions
customerid=00000000 uniqueid= 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Notice the highlighted four addresses. These are what you need to continue.
Once you have these, you need to have some basic text editing skills.
6. Right click on Dump My Phone.bat and click edit.
You should now see a file that looks like this:
Code:
@echo off
Title Dump My Phone
REM pdocread -w -d FLASHDR -b 0x800 -p Part00 0 Address1 Part00.raw
    pdocread -w -d FLASHDR -b 0x800 -p Part01 0 Address2 Part01.raw
    pdocread -w -d FLASHDR -b 0x800 -p Part02 0 Address3 Part02.raw
REM pdocread -w -d FLASHDR -b 0x800 -p Part03 0 Address4 Part03.raw
pause
echo on
Again notice the four highlighted addresses.
7. Replace the addresses in Dump My Phone.bat with those from Partition.Addresses.txt.
8. Save this newly edited file.
9. Run Dump My Phone.bat.
This step will take quite a while (as it has to transfer the data from your phone).
Once it is done, you should have two files: Part01.raw and Part02.raw.
10. RAR these files, and upload them somewhere (megaupload is nice, or the ftp here).
11. Let us know!

Let me know if I made any mistakes or think something should be added (obviously excluding the kitchen tutorial). Also, I DO know how to embed images, I chose not because they would crowd the text, if you want to see the picture, click on the link, it's easy.

Problems?
RECOVER A DIAMOND THATS STUCK ON THE BOOT SCREEN





If you found this tutorial helpful, please donate (after donating to Cmonex).

dear tobeychris
i have verizon htc touch diamond, working with reliance network in india,when i use unloker.zip my phone discontinued calling or working. when i am make a call, a message flash "initial programming required"
cell phone dosn't hard reset by vol down+power+enter+back reset
dosn't bootloder by vol down+power+back reset
and every thing else working quit similer like befor

PLEASE help me to use phone in working condition OR
how do i get condition like before ?
Reply With Quote