[HD2 Android NAND Development] Sneakyghost:
Full wipe guide SD and NAND

Ok Mate, i wrote up a Guide on how to Wipe the phone completely and how to wipe the SD-Card completely to have a clean base for installing. I began this guide some time ago and it is raw text only and not finished at the moment so treat it with suspicion and be careful. It uses the Program MTTY to clean the Chip and MiniTool Partition Wizard to clean and partition the SD Card. MTTY needs specific drivers, for x86 machines the standard WMDC/ActiveSync drivers automatically installed when connecting your HD2 first will suffice. However, x64 bit machines will need modified drivers and will need to be put into testmode (Win7 x64) for the drivers to load. This is tricky. A definite and working Driver-Install procedure is with my files in my signature. Its the MTTY x64 drivers package (including short instructions on how to enable test mode and install the drivers). There is a MTTY thread here that discusses another method to get it working on x64 but i found that unreliable. It showed unstable results for me.

IMPORTANT: all you want to do to your HD2 you can only do AFTER flashing HSPL to it. That is an unlocker. It frees your phone for installation of custom ROM's basically. It is here on XDA, use HSPL2 and flash version 2.08, follow the instructions there.

So watcha need for me guide?

A. HSPL installed

B. MTTY and drivers installed

C. A HD2

Some files you get from my Sig, the Opening Post (#1) here and from MiniTools website

Please proceed as follows:

1: Switch OFF device. Remove SD Card and insert it into the Reader of your PC.

2: Switch ON device, keep VOL - pressed until you are in the TriColor Screen.

3: Connect to USB.

4: Once the device shows "USB" on the White Stripe, launch the program "MTTY" from my Signature, choose USB as connection in the now open selection Window, leave all other settings as default, confirm.

Now a new window opens with a white background. Hit Enter once, then you will see a blinking Cursor and a Command Prompt saying either "CMD" or "USB".

5: Type "set 14 0" at this command prompt and hit enter.

6: Type "Task 28" at this command prompt and hit enter.

7: Type "Task 29" at this command prompt and hit enter.

8: Type "Task 8" at this command prompt and hit enter. All Commands without the Quotes! Now hold down VOL - again while hitting Task 8 (this is a reboot command) to get back to the TriColor Screen. If you miss the right moment and the device tries to boot it will only boot into a white blank screen as there is nothing left on the Chip. Radio, OS and Splashscreen all gone. Only HSPL left. If that happens, press the reset button on the back side and hold VOL - again.

Note on MTTY: the package contains x64 Win7 drivers. Only install them if you run Win7 x64. Follow instructions from the Package please. If you run x86 (32bit) the normal ActiveSync USB drivers will suffice. you do not need to install any drivers!

Now you may proceed to the next step, preparing (clearing and cleaning) the SD Card. Please download MiniTool Partition Wizard Home Edition (free software) and install it first. Then proceed like this:

9: Please format your SD-card as: FAT32, Primary, Cluster Size 32. FULL DISK! Press Apply (in MiniTool of course) Note: this erases all Data on Disk. Do a backup of Fotos, Music ect. first.

10: Reduce Partitionsize by 1024 megabyte (use calculator). Apply.

11: Format the now available free space as EXT3/4, Primary! Apply.

Note: the new 4EXT Recovery can format the SD Card as EXT4 too, so you can also use the new Recovery to do this step. It is safer, yet it has the disadvantage that you have to switch the card from pc to phone and vice versa once more for copying all the files after formatting it on the phone. I experience that as a hassle while just formatting it the right way and then copying files is a lot quicker and more convenient.

IMPORTANT: do not twist this formatting order as it would cause the SD Card not to work. It can only be recognized by Windows as a drive if the FAT Partition is the first one and the Phone will only recognize the EXT if it is the second one setup. For this Order, the graphical display in the Partition tool is not important but the order of setup! the partition setup first is the first readable partition on the Card!

12: Now you can flash a splash screen from my signature (in the TeamBlueDroid Stuff folder)

13: Now you can flash the Radio from my Signature (In the General Folder)

14: Now you can flash the Magloader from my Signature (In the General Folder)

15: Now you can flash the CWM Layout for TeamBlueDroid, use the latest 4EXT Recovery 2.2.7 from the OP!

16: Now put the 2.6 ROM Zip onto your SD Card.

17: Now Switch OFF device and insert the SD Card, boot into the Recovery, choose: "flash zip from SD", "choose Zip", pick the ROM.zip and hit Enter and Done!

Wait for it to flash, then boot, then setup. All Done.

Note: with the latest releases you will have to pick EU or TmoUS and later CLK or MGLDR install while the flash is running. Dansta has implemented that only since 2.4 i think. Pick the right option otherwise you will end up with the device not booting...

Note: many people prefer to go about using LEOAdvancedRUU instead of MTTY as it is easier to handle but i have no experience with it and can't guide you trough that one.

Maybe some kind person here can.