Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Install Custom ROM on HTC HD2 (Android Guide)

· 7 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Installing a custom ROM on your HTC HD2 replaces the original Windows Mobile or Android software with a newer, often faster version, giving you access to modern Android features, better performance, and more customization. This guide walks you through the process using the HD2's unique dual-boot setup, where you'll install MAGLDR (a custom bootloader) and then flash a custom Android ROM. Before starting, back up all personal data (contacts, photos, files) because the process will wipe the phone. You'll also need a Windows PC (or a Mac with a virtual machine), a USB cable, and a microSD card (at least 2GB, but 8GB+ recommended). This is a technical procedure—follow each step carefully, and do not skip any. If you're new to flashing, read the entire guide first.

What You'll Need

  • HTC HD2 (any variant—T-Mobile, EU, or Asian—but confirm your model; steps are the same for all).
  • Windows PC (or Mac with a Windows virtual machine).
  • USB cable (data-capable, not just charging).
  • microSD card (at least 2GB, but 8GB+ recommended for larger ROMs).
  • Custom ROM file (choose a stable one from XDA Developers forum, e.g., a NexusHD2 or a LineageOS-based build).
  • MAGLDR (custom bootloader) installer—download from the XDA thread.
  • HTC Sync or the official HTC USB drivers (to ensure proper PC recognition).
  • WinRAR or 7-Zip to extract files.
  • Notepad (to edit text files if needed).

Step-by-Step

  1. Back up your data. Sync contacts via Google or export them to the SIM, copy photos and files to your PC. The flash will erase everything on the phone's internal storage.
  2. Charge your HD2. Ensure the battery is at least 70% to avoid a power loss during flashing, which could brick the device.
  3. Install HTC USB drivers on your PC. Download and install HTC Sync (or the standalone drivers) so your PC recognizes the HD2 in bootloader mode. After installation, restart your PC.
  4. Download the ROM and MAGLDR. Go to the XDA Developers forum (forum.xda-developers.com) and find the HD2 Android development section. Download a ROM that is compatible with MAGLDR (most are). Also download the MAGLDR installer package (usually a .zip file). Extract both to separate folders on your PC.
  5. Enable USB debugging on the HD2 (if it still runs Android). If your HD2 is currently running Android, go to Settings > Developer options and enable USB debugging. If it's on Windows Mobile, skip this step.
  6. Put the HD2 into bootloader mode. Power off the phone. Then press and hold the Volume Down button while connecting the USB cable to the PC. The screen will show a tri-color bar (red, green, blue) and say "Serial" or "USB". This is bootloader mode.
  7. Flash MAGLDR. In the MAGLDR folder, run the file named ROMUpdateUtility.exe (or similar). Follow the on-screen prompts. This will replace the stock bootloader with MAGLDR. The phone will reboot into MAGLDR's menu (a blue/white text menu).
  8. Partition the SD card (optional but recommended). In MAGLDR menu, use the Volume keys to navigate and the call/send button to select. Go to Services > Boot Settings > AD SD Dir (this is for later). To partition, select Services > Format SD and follow prompts. This is optional if your ROM doesn't require an ext partition; many ROMs work with a single FAT32 partition. If you need ext, use a PC tool like MiniTool Partition Wizard.
  9. Copy the ROM to the SD card. Remove the SD card from the phone, insert it into your PC using a card reader, and copy the ROM .zip file (do not extract) to the root of the SD card. Also copy the MAGLDR folder's initrd.gz and zImage files if your ROM requires them (most don't; check the ROM's instructions).
  10. Boot into MAGLDR. Reinsert the SD card, power on the phone. The MAGLDR menu should appear. If not, hold the Power button until it does.
  11. Select AD Recovery. In MAGLDR, navigate to AD Recovery and press the call button. This boots into ClockworkMod (CWM) recovery, which is used to flash the ROM.
  12. Wipe data/factory reset. In CWM, use the volume keys to navigate and the power button to select. Choose wipe data/factory reset and confirm. Then go to wipe cache partition and confirm. Also go to advanced > Wipe Dalvik Cache.
  13. Install the ROM. In CWM, select install zip from sdcard > choose zip from sdcard, then navigate to the ROM .zip file and confirm. Wait for the installation to complete (it may take a few minutes).
  14. Reboot. After installation, go back to the main CWM menu and select reboot system now. The phone will reboot. The first boot may take 5–10 minutes—be patient.
  15. Set up Android. Once booted, you'll see the Android setup wizard. Follow the on-screen instructions to sign into Google and restore your data.

Common Mistakes

  • Using the wrong ROM version. Ensure the ROM is for the HD2 specifically, not another HTC device. Check the XDA thread's compatibility notes.
  • Skipping the driver installation. Without proper USB drivers, the PC won't recognize the phone in bootloader mode, and flashing will fail.
  • Not wiping data before flashing. Forgetting to wipe can cause boot loops or force closes. Always wipe data, cache, and Dalvik cache.
  • Interrupting the flash. Unplugging the USB cable or letting the battery die mid-flash can brick the phone. Keep it charged and connected.
  • Using a corrupted ROM download. Always check the MD5 checksum provided by the ROM developer. A mismatch means a bad download—re-download.

Tips

  • Read the ROM's specific instructions. Each ROM may have unique requirements (e.g., specific partition sizes, additional files). Follow them exactly.
  • Use a reliable SD card. A high-quality card (Class 10) reduces read/write errors during flashing and daily use.
  • Keep a backup of your current ROM. If you have a working Android or Windows Mobile setup, make a NAND backup via CWM before flashing a new ROM. This lets you restore if something goes wrong.
  • Learn to use MAGLDR's USB flasher. If you ever need to flash a new MAGLDR or radio, use the USB Flasher option in MAGLDR, which puts the phone into a mode recognized by the PC's flashing utility.
  • Join the XDA community. The HD2 forums are active. Search for your specific issue before asking—chances are someone has solved it.

Troubleshooting

If the phone does not boot after flashing, or you get a boot loop, try these in order:

  1. Reboot into recovery. Pull the battery, reinsert, then hold the Power button to enter MAGLDR. Select AD Recovery and re-wipe data/cache, then re-flash the ROM. Sometimes a second flash works.
  2. Check the SD card. Remove the SD card and try booting without it. Some ROMs require a specific partition layout; if the card is corrupt, format it on a PC (FAT32) and re-copy the ROM.
  3. Re-download the ROM. A corrupted download is a common cause of boot loops. Re-download and check the checksum.
  4. Re-flash MAGLDR. If the phone is stuck on the MAGLDR splash screen, re-run the MAGLDR installer from bootloader mode (step 7). This restores the bootloader.
  5. Try a different ROM. Some ROMs are unstable on certain HD2 variants. Try a well-tested, older build (e.g., a NexusHD2 4.4 or 5.1) to see if it boots.
  6. If all else fails, restore a backup. If you made a NAND backup, go to CWM > backup and restore > restore and select your backup. If you don't have one, you may need to flash a stock ROM via the original bootloader (using the RUU file from HTC). This is a last resort.

Frequently Asked Questions

Will this void my warranty?

Yes, flashing a custom ROM voids the manufacturer's warranty. The HD2 is an old device, so this is rarely a concern, but be aware.

Can I go back to Windows Mobile?

Yes, you can flash a stock Windows Mobile ROM using the official HTC RUU utility, but you'll lose Android. You can also dual-boot, but that's complex.

Which Android version is best for the HD2?

Most stable builds are Android 4.4 (KitKat) or 5.1 (Lollipop). Newer versions (6.0+) exist but may have bugs. Check XDA for the latest stable release.

Why does my phone get very hot during flashing?

This is normal during intensive operations. Ensure the battery is not swollen and the phone is on a flat surface. If it overheats, stop and let it cool.

Do I need to root after flashing?

Most custom ROMs come pre-rooted. If not, you can flash a SuperSU or Magisk zip via recovery. Check the ROM's description.

What is the difference between NAND and SD builds?

NAND builds run Android from the phone's internal memory (faster, but less storage). SD builds run from the SD card (slower, but you can keep Windows Mobile). This guide uses NAND builds, which are more common.