MAGLDR is an alternative custom bootloader for HTC HD2 that unleashes the full potential of your device by giving you several options to install Windows Phone 7, Android and ClockworkMod recovery on it, as well as allowing you to boot into these operating systems or recovery. If you own an HTC HD2 and want to take it beyond Windows Mobile 6.5 but don’t know where to begin, you have come to the right guide that will explain everything you can achieve on this legendary device using MAGLDR.
In case you are wondering whether you should read this guide or not, lets make it easier for you to decide. This guide is for you if you want to:
- Install Android on your HD2’s internal memory,
- Install Windows Phone 7 on your HD2’s internal memory,
Dual-boot your HD2 with Windows Mobile 6.5 and Android,
- Dual-boot your HD2 with Windows Phone 7 and Android,
- Install ClockworkMod Recovery on your HD2’s internal memory,
- Choose what installed operating system to boot into by default, or
- Play a game of Tetris right from your HD2’s bootloader!
Now that you have an idea of what exactly is in store for you, let’s get into a little more detail. In what follows, we will be covering:
- Installing MAGLDR
- Entering MAGLDR
- Feature Tour
- Using MAGLDR for Operating System & Recovery Installation
- Future Developments
Before we begin, I am wondering how exactly do we describe the HTC HD2. To quote a user who left a comment on one of our HD2-related posts, “They just don’t make devices like that anymore.”, and I believe this statement does justice to this legend of the smartphone world. Shipped with the now depreciated Windows Mobile 6.5 (which wasn’t bad at all at its core as an operating system but only lagged behind when it comes to the user interface), the device is capable of running Android, Windows Phone 7, MeeGo, Ubuntu and even Windows 95 and 98! All of this however is not possible without the contributions made to the system software of the device by the development community. One such system software is MAGLDR.
Developed by senior XDA-Developers forum member and DFT (Dark Forces Team) developer Cotulla, MAGLDR is a custom bootloader for HTC HD2. A bootloader is the first piece of code that executes upon boot; it loads the operating system and gives control of the device to it. MAGLDR does not replace the default bootloader installed on your phone but rather runs immediately after it, thus retaining your bootloader and making it safe to uninstall MAGLDR while still being able to boot the phone.
Apart from booting the operating system, MAGLDR also gives you an advanced yet easy-to-use interface to install, uninstall and manage operating systems on your device. Those familiar with Android customization might find it similar to a custom Android recovery, with a difference that it allows you to install and boot into even one of the most popular Android recoveries – ClockworkMod!
Before we proceed any further, let’s jump directly to the installation procedure for MAGLDR so that you can install it to your device if you want, and then later go through the feature tour with us while being able to access these features on your device at the same time as well.
Disclaimer: Please follow this guide at your own risk. AddictiveTips will not be liable if your device gets damaged or bricked during the process.
- HTC HD2. (Both LEO512 (standard) and LEO1024 TMOUS (T-Mobile USA) versions supported)
- PC running Windows XP or later.
- microUSB cable for connecting the HD2 to the PC.
- Battery of your HD2 charged to 50% or more before you proceed.
- Microsoft ActiveSync (Windows XP) or WIndows Mobile Device Center (Windows Vista / 7).
- HardSPL 2.08 installed on the HD2. (See how to install HardSPL 2.08 on HTC HD2)
- A 2.**.50.** radio that supports 576 RAM. 22.214.171.124 radio is recommended. (See how to install 126.96.36.199 Radio to HTC HD2)
- MAGLDR 1.13 (Download and extract the contents of the file to your PC using 7-Zip or WinRAR)
- In case your phone is running Windows Mobile, simply connect it to your computer via USB while ActiveSync is running. In case it doesn’t have Windows Mobile installed or you can’t get ActiveSync to recognize it, put it into bootloader mode:
- Power off your HTC HD2.
- Press the Volume-Down button on your phone, keep it pressed and press the Power button.
- Keep both the buttons pressed until you see the red, green, blue and white bootloader screen and then release both buttons.
- Now connect your phone to your PC via USB. If this is the first time you’re connecting your phone to the PC in bootloader mode, wait for the drivers to be installed automatically. The term ‘Serial’ in the white area of the screen should now change to ‘USB’.
- On your PC, browse to the folder where you extracted MAGLDR 1.13 and run ROMUpdateUtility.
- Confirm that you understand the caution by ticking the checkbox and click Next.
- Confirm that you have completed the required steps by ticking the checkbox and click Next.
- Click ‘Update’ and on each of the next two screens, click ‘Next’. MAGLDR installation will now begin and your phone will show the progress. It should take just a few seconds. Your phone will reboot once the installation has finished. You may now click ‘Finish’ in the ROM Update Utility.
Congratulations! You now have MAGLDR installed on your phone.
Once it has been installed, you can enter MAGLDR at any time by powering your phone off and then turning it on by keeping the Power key pressed until you see the MAGLDR options list.
Now that you have MAGLDR installed and you know how to boot into it, lets take a tour of all the awesome features this bootloader offers.
Navigating and Selecting Options
Navigating the options provided by MAGLDR us done using the Volume-Up and Volume-Down keys. Once an option has been highlighted this way, it can be entered by using the ‘Call’ key (left-most). To exit an option or a sub-menu and get to the previous menu, use the ‘End call’ key (right-most). The ‘Windows Logo’ key (center) can often be used to directly jump back to the main MAGLDR menu from any sub-menu. The ‘Home’ (second from left) key and the ‘Back’ (second from right) key don’t seem to have any use in MAGLDR, except in the game of Tetris where the ‘Call’, ‘Home’, ‘Menu’ and ‘End Call’ keys are used for ‘Left’, ‘Down’, ‘Right’ and ‘Rotate’ respectively.
We will now take a look at all the options provided by MAGLDR and discuss each of them in detail. Do not let this extensive feature list intimidate you, as the only features most users will be needing are pretty self-explanatory and easily accessible. The advanced features are enclosed here in * and can be safely ignored if you just want to use MAGLDR to install or boot Android and/or Windows Phone 7 on your HD2.
- Boot WPH
Lets you boot into Windows Phone 7 if it is installed on the internal memory of your device.
- Boot AD SD
Allows you to boot your phone into Android installed on the SD card of your phone.
- Boot AD NAND
Allows you to boot your phone into Android installed on its internal (NAND) memory.
- USB MassStg
Enables USB Mass Storage mode on your device so that you can connect it directly to your computer without first having to boot into any installed operating system on your phone. This mode should be used with caution however, as it hasn’t been implemented perfectly yet and there might be errors during the file transfer. It is recommended to boot into an installed OS or use an SD card reader to transfer important files such as ROMs to your device from the computer.
- USB Flasher
Puts your phone into USB Flashing mode that allows you to flash Windows Phone 7, Android (NAND builds) or ClockworkMod recoevry to your phone from the computer via USB. This is a key feature of MAGLDR and one of the most useful. For more detailed instructions on how to use the USB Flasher mode for installing WIndows Phone 7, Android (internal NAND memory builds) or ClockworkMod Recovery to your HTC HD2, see Using MAGLDR for Operating System & Recovery Installation below.
- *USB TTY*
Starts a TTY terminal for advanced users via USB. Most users will never require to use this option.
- *AD Hardreset*
Performs a hard reset on Android if it is installed on the internal (NAND) memory of the device. It basically formats the data and cache partitions with the hr (hard reset) flag, restoring the Android installation to the state it was in when first installed. However, any changes made to the system partition will still remain. This option can be considered the counterpart of performing a hard reset on an Android device using its hardware button combination.
- AD Recovery
Allows you to boot into ClockworkMod recovery if it has been installed on your HD2. Once in ClockworkMod recovery, you will be able to flash Android ROMs just the way you can on any native Android device running ClockworkMod recovery. For more details, see ‘Installing ClockworkMod recovery’ in the Using MAGLDR for Operating System & Recovery Installation section below.
Starts a game of Tetris. MAGLDR flaunts itself as the only bootloader with built-in Tetris. Once you enter this option, you will need to press the ‘Volume-Up’ or ‘Volume-Down’ key to start the game or the ‘Home’ key to get back to the main MAGLDR menu. Once the game has been started though, the key mappings are changed and you cannot return to the main menu before the game finishes, though it’s easy to finish the game by just pressing the ‘Home’ key repeatedly until the blocks read the top. As mentioned above, the ‘Call’, ‘Home’, ‘Menu’ and ‘End Call’ keys are used for ‘Left’, ‘Down’, ‘Right’ and ‘Rotate’ respectively during the game.
Provides you with a menu of handy advanced options including:
Allows you to specify how the device boots. The menu options include:
- Boot source
This option allows you to select the source for automatic booting. The optons are:
- Android from SD
If this option is selected, the device will automatically boot into Android from the SD card if it is installed on the SD card. In case there is no Android installation on the SD card, it will give an error and show MAGLDR main menu.
- Android from NAND
Once selected, the phone will automatically boot into Android from the internal (NAND) memory if it has been installed on it, or give an error and show MAGLDR menu if no Android installation is found on the internal (NAND) memory.
- WPH from NAND
Selecting this option will automatically boot the device into Windows Phone if installed on the internal (NAND) memory of the device or give an error and show MAGLDR menu if no Windows Phone installation is found.
- Android from SD
This option allows you to choose whether to always show the MAGLDR menu when the device powers up regardless of what boot source is chosen, or to automatically boot into the boot source selected by the user. It is a simple on/off option.
- AD SD Dir
If multiple installations of Android are present on the SD card, this option allows you to select which one should be used by MAGLDR when booting the phone into Android from the SD card using the ‘Boot AD SD’ option from the main MAGLDR menu. Upon entering this option, you are presented with a list of directories on the SD card and must choose one that includes a valid and properly configured Android SD card installation.
- Boot source
- *DMESG to SD*
This is an advanced, experimental option that dumps the DMESG Android log to the SD card that can be used by developers.
Using this option will dump the asize partition to the SD card for developers or advanced users. It is a buggy, slow and untested feature and isn’t recommended for use at the moment.
This option allows you to use the last 24 megabytes of the internal (NAND) memory rather than letting it go to waste. It is an experimental feature and updating/reinstalling MAGLDR or performing a hard-reset using the hardware key combination will again set that memory to unused and you will lose all data. Use with caution.
- *ClearSD MBR*
This clears the Master Boot Record of your SD card. This will essentially erase all data on the SD card. Use with caution.
Restarts the device.
Powers the device off.
- *Unknown Hidden Features*
Achieving a score of 111111 in Tetris will unlock hidden features of MAGLDR. Until now, we haven’t come across anyone who has successfully achieved this score and unlocked these features so for now, we are clueless on what these features are. If you end up unlocking these, do let us know. Also note that these features will not necessarily be shown as the 13th option in the main menu and might be in one of the sub-menus
Using MAGLDR for Operating System & Recovery Installation
Using MAGLDR for installing one or more operating systems on your HD2 is way easier than it may sound. Once you have MAGLDR installed, the bulk of the process is done already. Let’s take a look at how to proceed from here for both Windows Phone 7 and Android.
Please note that there are multiple methods for installing Android to your HD2, depending on whether you intend on installing it on the internal memory of the device or the SD card. Let us first explain which method to use in what scenario so that you can decide better and after that, we will provide you with links to detailed guides on each method.
- Installing Windows Phone 7:
Installing Windows Phone 7 to your HTC HD2 is a piece of cake once MAGLDR has been installed. All you need to do is connect the phone to your computer while it is in the USB Flasher mode and run the ROM’s installation file i.e. ROMUpdateUtility. We have covered this method in detail in our guide on how to install Windows Phone 7 on HTC HD2 using MAGLDR. For dual-booting Windows Phone 7 with Android, see the section below instead as it has some extra requirements prior to installing Windows Phone 7.
- Dual booting Windows Phone 7 and Android:
In case you want to dual-boot your HTC HD2 to run both Windows Phone 7 and Android, Windows Phone 7 must be installed on the internal (NAND) memory while Android will have to be booted from the SD card. However, the SD card itself must meet certain criteria and require some preparation for this to work. For more information and complete instructions, see our guide on how to dual boot Windows Phone 7 and Android on HTC HD2.
- Installing Android on the SD card:
In case you want to run multiple versions of Android on the phone at the same time, one can be installed on the internal memory while one or more can reside on the SD card. For more details and instructions, see how to boot Android from SD card of HTC HD2 with MAGLDR.
- Installing Android on the internal (NAND) memory directly:
This is a straight-forward, no-frills method for installing Android to the internal memory of your HTC HD2 and is identical to the Windows Phone 7 installation method described above, the only difference being the use of an Android ROM rather than a Windows Phone 7 ROM. Though the ROM used with this method must be in the format directly flashable through MAGLDR rather than in ClockworkMod (CWM) flashable format. Many such ROMs can be found on the internet, though these are losing popularity as more and more developers are now switching to the ClockworkMod recovery flashable format due to the extensive options provided by the recovery. If you still want to use this method, see how to install Android on internal NAND memory of HTC HD2 with MAGLDR.
- Installing ClockworkMod recovery:
Installing ClockworkMod recovery gets your HTC HD2 as close to being a native Android device as presently possible, as it allows you to not only install ROMs available in the recovery-flashable zip format that is standard on all Android devices but it also lets you perform many advanced recovery operations that have proven to be extremely useful for getting the best out of your phone as an Android device. You can learn more about these features at our detailed guide on ClockworkMod recovery. Fortunately with MAGLDR, installing it on the HD2 is even easier than on native Android devices and identical to the Windows Phone 7 installation method mentioned above. See how to install ClockworkMod recovery on HTC HD2 using MAGLDR for a more detailed guide.
- Installing Android on the internal (NAND) memory using ClockworkMod recovery:
Installing Android on your HD2’s internal memory using ClockworkMod recovery is done the exact same way as on any native Android device. We have already written a very detailed guide on the entire process and all you’ll need for this is ClockworkMod recovery installed on your phone using the instructions at the above-mentioned link, along with the ClockworkMod recovery flashable Android ROM in zip format for your HD2. For the installation instructions, see how to install a ROM to an Android device from recovery. Feel free to skip the sections on unlocking the bootloader, rooting the device and installing a custom recovery in that guide, as the MAGLDR bootloader is already unlocked, almost all the HD2 Android ROMs come pre-rooted and ClockworkMod recovery is installed on the HD2 using the method highlighted above which you should have already followed before getting to this step.
- Post-installation configuration:
Once you have installed the operating system(s) of your choice, you can set which one MAGLDR uses to automatically boot into when the device is powered off. This can be done from the ‘Boot Source’ setting found under the ‘Boot Settings’ menu in ‘Services’, as described above in the feature tour section.
While MAGLDR already boasts quite an impressive feature list, the ambitions of the developers don’t stop here. They plan on implementing the following features in their upcoming releases of MAGLDR:
- Haret’s startup.txt support for SD builds of Android.
- Fastboot support.
- Fixed partition layout support with ability to independently reflash each partition.
- Boot any Windows Mobile 6.5 ROM from internal (NAND) memory.
- Boot MAGLDR-specific Windows Mobile 6.5 ROMs from internal (NAND) memory.
We don’t know when will these features get implemented but we are certainly looking forward to them and will be updating this guide once a newer version of MAGLDR is released so keep checking back. To contact the developers or to check out on any future developments yourself, feel free to visit the XDA-Developers forum thread a visit.