The first question people are going to ask is: why would we want to use the DesireZ HBOOT on our G2s? The partitioning of your phone is controlled by HBOOT. The G2 HBOOT has only 400MB allocated to /system and 1.3GB allocated to /data, whereas the DesireZ HBOOT allows for 535MB of /system and 1GB of data.
This is a problem for the newer, larger ROMs such as Virtuous Unity, which has the system apps directory placed on the data partition as a workaround. As a side effect, Unity needs to be re-flashed every single time data is wiped. Ultimately we want to eliminate this hack and the first step is to get G2 users over to the DZ HBOOT, since the other supported devices all have sufficiently sized system partitions.
Before You Start
DesireZ users, none of this applies to you unless you flashed the G2 HBOOT at some point, such as when you rooted. While the process has been tested on my own device and several testers, there remains a small amount of risk of bricking your phone. I think it is unlikely but I will not be responsible if it happens; consider yourself warned.
If you are confused by the process, then just I advise against following through with any of this. Using the DesireZ HBOOT will not impact your ability to use any ROMs such as Cyanogen, MIUI or otherwise. Everything will work the same way, only you will have less space in /data and more in /system.
Migration Process
Carefully read and follow the steps below. It looks a lot more complicated than it is because I am going to be excruciatingly specific.
- Flashing a new HBOOT will wipe the radio, recovery, system, cache, data partitions, etc. This is expected and we will be creating a backup to deal with it.
- Make sure you have adb setup and working. If you are not sure how to do this, then you should stop now.
- Download this PC10IMG.zip file, which contains the DesireZ Engineering HBOOT, Clockwork Recovery, the latest T-Mobile radio.
- Execute: adb push PC10IMG.zip /sdcard/
- Execute: adb shell md5sum /sdcard/PC10IMG.zip, which should return d5ebb7c9aa8e3cab714634a1a7d6f762.
- Execute: adb reboot recovery and create a Nandroid backup. Make sure the process completes successfully.
- Execute: adb reboot bootloader and select “bootloader” from the menu.
- You will see a progress bar on the right side of your screen as the image is validated, then you will be prompted to confirm via the volume up button. Go ahead and confirm.
- Flashing will begin. You will notice a reboot in the middle of the process, then another once it is complete. Leave the phone alone for a few minutes.
- After the second reboot, the device will be sitting on the “HTC” screen doing nothing. This is normal, do not panic. It is because you have no ROM installed anymore.
- Execute: adb reboot recovery. You may have to run this command more than once. If you cannot get into recovery, hop over to the #virtuousrom channel on Freenode.
- You should now be in Clockwork Recovery. A few errors about failing to mount /cache will scroll by, this is normal. Select “factory reset” to clear data/cache, as you would during a full wipe.
- Restore the Nandroid backup you created in step #6.
That is all, you are done.