First off I want to take time to thank XDA senior members
Cotulla and Bepe and the whole Dark Forces Team for creating HSPL and
MAGLDR. Also I want to thank XDA senior member Cedesmith for his cLK
bootloader for Android and XDA senior member RaiderX303 for creating
Clock Work Mod Recovery . With out these programs for the HD2 it would
never have reached the legendary status it has reached.
This is not a guide on how to install/flash a NAND Android ROM or how to install/flash Windows Phone 7 on the HTC HD2. This guide is meant to help educate people on what these tools are, what their function is, and how to install them on the HTC HD2.
If you are looking for a guide on how to install a NAND Android ROM on the HTC HD2 then go here or here for NAND Android guides. For a guide on how to install Windows Phone 7 on the HTC HD2 go here. Thanks to senior XDA member MSkip, junior member Gunjahman, and member Omarza for the guide. Thanks to senior member Darrengladysz for the dual booting WP7 and Android guide that is linked in descriptiion of option #2 of MAGLDR. Thanks to senior member MysticGenuis for the MTTY guide I linked in option #6 of MAGLDR.
Edit, I added radio info and a warning to TMOUS users at the bottom of post #3. Also be sure to checkout the all in one flashing/installing tool by XDA Recognized Developer ksubedi.
Also check out XDA Senior Member kevin134's Step by step toolkit for NANDroid.
On the HD2 it comes stock with what is called SPL which stands for Secondary Program Loader. SPL is paired with the IPL(Initial Program Loader) to make the bootloader of the HD2 and other smartphones and PDA devices. The bootloader is the first thing to load up on your HD2 when it is turned on. It boots up the device hardware and other things into memory before the ROM starts. The bootloader also allows the flashing of a new ROM, splash screens, and radio versions to the device. The SPL and IPL that make up the bootloader are much like the BIOS of your computer and can be modified.
With that being said HSPL stands for Hard Secondary Program Loader. HSPL is a modified bootloader that disables the CID check that is run at the start of a ROM flash so you can flash official ROMs without having to use a Gold Card. It also disables the NBH signature check that is run when you flash a ROM so you can flash a unsigned /custom ROM image or any other unsigned NBH file like MAGLDR or cLK. HSPL does not get over written like SPL does when flashing a signed NBH that contains a SPL via RUU. This translates to HSPL does not get over written when you flash a official ROM via USB. HSPL makes flashing a little safer too as it reduces the chances of bricking your HD2 by flashing the wrong SPL version. It does not help protect against bricking a HD2 from flashing a wrong radio version.
If you have a TMOUS HTC HD2 you only flash HSPL 2.08 or 3.03 to your HD2. If you have a international HTC HD2 with 448MB of ram and want to flash a 3.14 based Windows Mobile ROM. You need to flash HSPL 3.03 as 3.14 ROMs on a international HTC HD2 require SPL 3.03.0000 or HSPL 3.03 are you will have problems with your HD2 not functioning properly Plus it is one of the two requirements to unlocking the extra RAM for your HD2, the other is a radio version 2.07.50.xx or up.
So that should help you understand what HSPL is and why you need it. My sources for this information is the [HSPL/HSPL2] HowTo flash everythingand the XDA Wiki glossary.
To install any SPL or HSPL there must be any SPL version from this list on your device:
SPL 1.42.0000
SPL 1.62.0000
SPL 1.66.0000
SPL 2.07.0000
SPL 2.08.0000
SPL 2.10.0000
SPL 3.03.0000
Otherwise the installation will fail!
First go to here to download HSPL 4. I suggest HSPL 4 because it supports all SPL versions that are out right now including SPL 3.03.0000 and SPL 3.10.0000. Remember you can also use HSPL 4 to flash back to your original SPL. Once you have HSPL 4 downloaded use a zip program like WinZip, WinRar, or Win7 to extract the .exe file for the DFT installation utility to a location of your choosing on you computer. Take and put your HD2 manually into bootloader by holding the volume down button down while powering on your HD2. When you see the multicolor bootloader screen on your HD2 connect it to your computer via USB cable. If it is the first time you have connected it to your computer while in bootloader you will have to give it a minute or two for the drivers to install. When you see the Serial in the white bar of bootloader change to USB you have a HTC USB Sync connection between your HD2 and your computer. This is very important, make sure you have the latest ActiveSync or Windows Mobile Device Center version (depending on what version of Windows your computer uses) installed on your computer as it has the updated USB drivers for the HTC USB Sync connection. Go to here to download these. When you see the USB in the white bar of bootloader right click on the HSPL 4 utility and select run as administrator. Follow the on screen instructions and select the desired HSPL version when it prompts you for what version you want to install. If you want to flash MAGLDR to install NAND Android or Windows Phone 7 you have to select 2.08 HSPL. When you see “We hacked it” on your HD2 screen you click yes on your computer in the box on the screen to confirm you see “We hacked it” then click close and you have flashed HSPL to your HTC HD2.
Ok so you want to know what MAGLDR is, well MAGLDR is a custom made bootloader that allows you to boot deferent OS’s directly from NAND. This bootloader was developed by the Dark Forces Team and is a closed source software that is still being developed but is free to use. MAGLDR is so much more than a bootloader though. It is disigned to work with both the T-Mobile HD2 and the EU HD2 there for it will unlock the hidden 128 MB of RAM for the EU HD2 when combined with a 2.07.50.xx or above radio. Also you have to have a 2.07.50.xx or higher radio or MAGLDR will not even boot up.
The MAGLDR bootloader boots up after or should I say in succession of the original bootloader on the HD2, so you still have the original bootloader on your HD2 and can still use it to reflash a Windows mobile ROM at anytime. To navigate through the options on the main menu you use the up and down volume buttons, the send button is the select button , and the end button is the back button. To boot into MAGLDR you have to keep the power button pressed down while your HD2 powers on. Also remember you can not charge your HD2 while in MAGLDR you have to boot into your ROM to charge your HD2, and then you can only charge your HD2 while it is powered on as long as MAGLDR is installed on it. The current version of MAGLDR is v1.13 and this is what is in the main menu of MAGLDR.
Ok now I know you are saying what is all those options for. Well let me start at the beginning here.
Option #1
Boot WPH, this is what you select if have a Windows Phone 7(WP7) ROM installed to NAND and you are booted up into MAGLDR but want to boot into your WP7 ROM.
Option #2
Boot AD SD, this allows you to boot into Android from SD card. You also use this to boot Android from SD card if you have WP7 ROM or a Android ROM in NAND.( Go to here for a tutorial on how to do this.) This option also allows you to boot other Android specific software such as Clock Work Mod Recovery(CWM) that you have placed specific files for on your SD card. This option is not really needed for CWM as you no longer have to place files for it on your SD card you can flash it straight to NAND.
Option #3
Boot AD NAND, this option allows you to boot into your NAND Android ROM you have flashed if you have booted into MAGLDR.
Option #4
USB Mass Stg, this option gives you the ability to use your SD card as a Mass Storage/Removable drive when you are booted up into MAGLDR and your HD2 is connected via USB cable to your computer. You use this option to transfer files from your computer to your SD card or from your SD card to your computer.
Option #5
USB Flasher, this option allows you to flash a ROM be it Android or WP7 to NAND , or any other program or software that requires a USB connection to install. You can not flash Windows Mobile, a new radio, or a splash screen to your HD2 using this option of MAGLDR, you have to use the original (SPL/HSPL) bootloader to do this. Connect to your computer via USB cable after you select this option to use it.
Option #6
USB TTY, this option puts MAGLDR into TTY mode which allows you the ability to ability to dump dmesg after crash and etc, but this option will be mainly for developers when it is up and running. Presently it is not functional just yet as it still requires drivers to be found or developed. It will also give you the abilities equivalent to MTTY or Task 29 when it is up and running. ( Maybe in the next versionJ)
Option #7
AD Hard reset, this option allows you to hard reset your Android ROM and erase android partitions with "hr" in the flags. Also allows you to hard reset it you are using a WP7 ROM. (Anyone that used Windows Mobile long enough knows what a hard reset is )
Option #8
AD Recovery, this option allows you to do a systems recovery just like native Android devices and allows you to boot into CWM which is even more like a native Android device.
Option #9
Tetris, oh yes that is right you can play Tetris while booted into MAGLDR. Hey everybody has to have some fun somehow, and everybody likes Tetris right. Get 111111 score to unlock hidden MAGLDR feature, and no I have not done it and I do not know what the hidden feature is. Got to love a dev that thinks of everything lol.
Option #10
Services, this option has 5 sub options with 2 of those having 3 sub options of their own. I will get into them shortly.
Option #11
Reset, this option works just lick the reset button under the battery cover of the HD2. It allows you to reboot your HD2 while you are booted into MAGLDR. If you want to boot back into MAGLDR you have to hold the power button down when your HD2 is powering back on. If you want to just boot up you installed ROM you do nothing but let your HD2 boot up.
Option #12
Power Down, this option is self explanatory. You choose this option to turn your HD2 off while booted into MAGLDR.
Ok so that has the main menu covered, now let me go over the sub option in Option #10 of the main menu. Here is what is in the sub menu of Services.
Ok I will go in order here so lets look at option #1 Boot Settings.
Option #1
Boot Source allows you to choose what source you want MAGLDR to boot your ROM from as default when you power on your HD2. You can choose Android from SD, Android from NAND, or WPH from NAND. This option is set automatically when you flash a ROM to NAND depending on if it is Android or WP7. This is the option that tells MAGLDR what it is to boot at boot up if you do not hold the power button down while powering up your phone to access MAGLDR.
Option #2
Always Menu, this option allows you to let MAGLDR to boot up and then automatically boot your ROM you have installed or to let MAGLDR boot up every time and you manually boot the ROM with either option #1, #2, or #3 from the main menu. Just press the send button if you want MAGLDR to boot up every time or press the end button if you do not want MAGLDR to boot up to the main menu everytime you boot up your HD2.
Option #3
AD SD Dir, this option gives you access to view the directories and most files on your SD card if you have Android installed to NAND on your HD2. It also lets you choose the SD card Android build you want MAGLDR to boot if you are dual booting WP& and Android from SD card.
DMESG is a shell command for the ash shell that ADB provides to run commands on a emulator or device. The DMESG command tells MAGLDR to store debugging messages to the SD card. This is useful for developers. This is also still in development so use at your own risk.
Ok I have done a very good bit of research on this option. I am still not 100% sure what this option is for but this is what I found about it. In the thread for MAGLDR it say.,
Now this does not say much to non-technically knowledgeable
people. What I think this is for is to create a partition on the SD card
for apps to SD for Android, or to create a partition on the SD card to
be able to run Android from SD card. If I am wrong please someone let me
know and I will change this.
This option allows you to use the last 24 MB of NAND memory. Right now if you select this option you will lose it after a soft reset, this option is still experimental also.
This option allows you to clear the MBR from your SD card. What is MBR you ask, MBR stands for Master Boot Record. MBR searches the partition table for the active partition, it then copies the active boot sector of that partition into memory and transfers control over to that program. The MBR runs whenever you boot your HD2.
Here are my sources for this information. [DFT]MAGLDR 1.13 released! [AD RECOV support added], Leo/Magldr-HTC-Linux-Mozilla, Android developers, Dark Forces Team-Places for Android newbies, tech-faq.com , and last but not least Google.
To flash MAGLDR to your HD2 , and this is very important, you must first have HSPL 2.08 flashed to your HD2 and you have to have a radio version 2.07.50.xx to 2.15.50.14. If you do not have HSPL 2.08 the flash will fail, and if you do not have radio version 2.15.50.14 or 2.14.50.02 MAGLDR will not show up on your HD2 even if it was sussefully flashed.. Download MAGLDR v1.13, when you extract the zip file it will create a folder named “MAGLDR113_DAF” so choose where you want to extract t the files to and let it extract the files. Next navigate to where you extracted the MAGLDR113_DAF to and open the file. Put your HD2 into bootloader by pressing and holding down the volume down button while powering on your HD2. Connect your HD2 to your computer via USB cable and wait until Serial in the white bar of the bootloader screen to change to USB then right click “RomUpdateUtility” that is in the MAGLDR113_DAF file and select run as administrator. Follow the instructions of the ROM update utility and when the progress bar on the computer screen and your HD2 reach 100% your computer will show in the ROM update utility it is finished click close on the ROM update utility box on your computer screen and you have MAGLDR on your HD2, your HD2 should automaticly reboot into MAGLDR. Also do not unplug your USB cable until your HD2 has rebooted itself.
You can also flash MAGLDR via SD card just like you can a Windows Mobile ROM. Just open the MAGLDR113_DAF file and copy the magldr.nbh file to the root of your SD card. Once it is copied change the name of the file on your SD card to LEOIMG.nbh. Power off your HD2 and then reboot your HD2 keep the volume down button held down until you see searching on your HD2 screen then release. Follow the on-screen instructions and let it flash.
Note when you flash MAGLDR to your HD2 it wipes your current ROM from the HD2. So you will have a ROM less HD2 until you either flash a Android ROM or WP7 to your HD2. You can also reflash a Windows Mobile stock or custom ROM but this will remove MAGLDR from your HD2.
Well like MAGLDR, cedesmitjh's Little Kernel (cLK) is a custom bootloader for the HTC HD2. But unlike MAGLDR though, cLK just boots NAND Android ROMs for the HD2 not any other OS's or SD card builds. Also cLK is a open sourced project so anyone can help contribute to the on going development of it, unlike MAGLDR which is closed sourced. XDA senior member cedesmith originally created cLK but several great devs, such as arif-ali, have help get cLK to the stable and very usable bootloader it is now. If you would like to see who some of the other devs that or helping develop cLK go the cLK thread and read the short cridets list at the bottom of post #1. You will have to read through the thread though to see just how many devs and exactly what devs have been involved with cLK.
With cLK the HD2 has the ability to be pretty much just like a native Android device. You do not see it boot up while powering on the HD2. You can use Andriod SDK fastboot commands on the HD2 with cLK just like a native Android device. You can also use ROM Manager (can be found in the Android Market) with cLK too. With ROM manager it works hand and hand with CWM so you truly no longer need a computer to download and change ROMs, change Kernels, make and manage Nandroid backups, check for ROM updates, and even flash upated versions of CWM all from within your Android ROM. It also lets you boot straight into recovery. Last but not least cLK supports charging while the HD2 is powered off (MAGLDR ) so you don't have to worry about your battery dieing and you having to buy a external charger, borrow a friends HD2, or take more drastic measures (mutilate a USB cable) to charge your battery enough to boot your HD2.
With cLK it runs in sussesion of the original SPL bootloader so you can easily revert back to Windows Mobile 6.5, flash a new radio, flash a new splash screen, or even flash MAGLDR.
I have found no evidence that cLK can help unlock the extra 128MB of RAM on the EU HD2's. So all you EU HD2 users you will only have 448MB of RAM when using cLK. Also it is not a restiction on the HSPL or radio version you can use with cLK, but I still suggest HSPL 2.08, HSPL3.03, and radio 2.07.50.xx or higher just to be safe.
To access cLK after you have installed a Android ROM, while powering on your HD2 you have to hold down any key except the power key to get the console to come up. You hold down the home key to boot to recovery while powering on. And you hold down the back key to put your HD2 into fastboot mode so you can enter fastboot commands from your computer.
Source of information [15MAR][BOOTLOADER]+[RECOVERY] cLK v1.3.3 Google
Just like all other custom software for the HD2 you need HSPL flashed to your HD2, I suggest HSPL 2.08 or HSPL 3.03. I also suggest you have a radio version 2.07.50.xx or higher, this is not required as far as I know but it could not hurt. Now to install cLk you need to go to the cLK thread and download "cLK_1.3.3_system_150M_cedesmith.zip" from the bottom of post #3 of the thread, or if you want the most up to date version go to post #1395 and download "cLK_1.4.0.1_layouts_arif.zip" Next you will need go to post #844 of the thread and download the "CustomRUU.zip" file. Next creat a folder named cLk or whatever you want to name it and extract the files from both the zip files the folder you created. I have a attached zip file at the bottom of this post if this is too complicated for you, but I hope is not as this is the easy part of cLK. Next put your HD2 into bootloader by holding the volume button down while powering on your HD2. Connect your HD2 to your computer via USB cable and wait for the Serial in the white bar of bootloader to change to USB. Then open the file you created and right click on the Custom RUU and select run as administrator. Follow the on screen instructions and when your HD2 reboots click finished on your computer and you have flashed cLK. Go to post #3 "How to install CWM using cLK" of this thread to learn how to flash CWM to your HD2 now.
Edit. I attached several cLK v1.4.0.1 files with rar files with the custom RUU included with them at the bottom of post #2. I have a 100MB partion, a 150MB partion, a 200MB partion, a 260MB patition, a 300MB partion, a 360MB partition, and a 400MB partition. But you can download the 1.4.0.1 cLK and combine any of the included .nbh files with the custom RUU to flash cLK v1.4.0.1 just chose the partition size you need. It has .nbh files with 80Mb partitions all the way up to 400MB partitions. I just made rar files with the most common ones to make it easier on people. I also left the cLK 1.3.3 with custom RUU.zip for anyone that wants to use it, it is a 150MB partition.
This is not a guide on how to install/flash a NAND Android ROM or how to install/flash Windows Phone 7 on the HTC HD2. This guide is meant to help educate people on what these tools are, what their function is, and how to install them on the HTC HD2.
If you are looking for a guide on how to install a NAND Android ROM on the HTC HD2 then go here or here for NAND Android guides. For a guide on how to install Windows Phone 7 on the HTC HD2 go here. Thanks to senior XDA member MSkip, junior member Gunjahman, and member Omarza for the guide. Thanks to senior member Darrengladysz for the dual booting WP7 and Android guide that is linked in descriptiion of option #2 of MAGLDR. Thanks to senior member MysticGenuis for the MTTY guide I linked in option #6 of MAGLDR.
Edit, I added radio info and a warning to TMOUS users at the bottom of post #3. Also be sure to checkout the all in one flashing/installing tool by XDA Recognized Developer ksubedi.
Also check out XDA Senior Member kevin134's Step by step toolkit for NANDroid.
On the HD2 it comes stock with what is called SPL which stands for Secondary Program Loader. SPL is paired with the IPL(Initial Program Loader) to make the bootloader of the HD2 and other smartphones and PDA devices. The bootloader is the first thing to load up on your HD2 when it is turned on. It boots up the device hardware and other things into memory before the ROM starts. The bootloader also allows the flashing of a new ROM, splash screens, and radio versions to the device. The SPL and IPL that make up the bootloader are much like the BIOS of your computer and can be modified.
With that being said HSPL stands for Hard Secondary Program Loader. HSPL is a modified bootloader that disables the CID check that is run at the start of a ROM flash so you can flash official ROMs without having to use a Gold Card. It also disables the NBH signature check that is run when you flash a ROM so you can flash a unsigned /custom ROM image or any other unsigned NBH file like MAGLDR or cLK. HSPL does not get over written like SPL does when flashing a signed NBH that contains a SPL via RUU. This translates to HSPL does not get over written when you flash a official ROM via USB. HSPL makes flashing a little safer too as it reduces the chances of bricking your HD2 by flashing the wrong SPL version. It does not help protect against bricking a HD2 from flashing a wrong radio version.
Important!
If you have a TMOUS HTC HD2 you only flash HSPL 2.08 or 3.03 to your HD2. If you have a international HTC HD2 with 448MB of ram and want to flash a 3.14 based Windows Mobile ROM. You need to flash HSPL 3.03 as 3.14 ROMs on a international HTC HD2 require SPL 3.03.0000 or HSPL 3.03 are you will have problems with your HD2 not functioning properly Plus it is one of the two requirements to unlocking the extra RAM for your HD2, the other is a radio version 2.07.50.xx or up.
So that should help you understand what HSPL is and why you need it. My sources for this information is the [HSPL/HSPL2] HowTo flash everythingand the XDA Wiki glossary.
How to Flash HSPL to your HTC HD2
To install any SPL or HSPL there must be any SPL version from this list on your device:
SPL 1.42.0000
SPL 1.62.0000
SPL 1.66.0000
SPL 2.07.0000
SPL 2.08.0000
SPL 2.10.0000
SPL 3.03.0000
Otherwise the installation will fail!
First go to here to download HSPL 4. I suggest HSPL 4 because it supports all SPL versions that are out right now including SPL 3.03.0000 and SPL 3.10.0000. Remember you can also use HSPL 4 to flash back to your original SPL. Once you have HSPL 4 downloaded use a zip program like WinZip, WinRar, or Win7 to extract the .exe file for the DFT installation utility to a location of your choosing on you computer. Take and put your HD2 manually into bootloader by holding the volume down button down while powering on your HD2. When you see the multicolor bootloader screen on your HD2 connect it to your computer via USB cable. If it is the first time you have connected it to your computer while in bootloader you will have to give it a minute or two for the drivers to install. When you see the Serial in the white bar of bootloader change to USB you have a HTC USB Sync connection between your HD2 and your computer. This is very important, make sure you have the latest ActiveSync or Windows Mobile Device Center version (depending on what version of Windows your computer uses) installed on your computer as it has the updated USB drivers for the HTC USB Sync connection. Go to here to download these. When you see the USB in the white bar of bootloader right click on the HSPL 4 utility and select run as administrator. Follow the on screen instructions and select the desired HSPL version when it prompts you for what version you want to install. If you want to flash MAGLDR to install NAND Android or Windows Phone 7 you have to select 2.08 HSPL. When you see “We hacked it” on your HD2 screen you click yes on your computer in the box on the screen to confirm you see “We hacked it” then click close and you have flashed HSPL to your HTC HD2.
What is MAGLDR , why do I need it, and what does it do?
Ok so you want to know what MAGLDR is, well MAGLDR is a custom made bootloader that allows you to boot deferent OS’s directly from NAND. This bootloader was developed by the Dark Forces Team and is a closed source software that is still being developed but is free to use. MAGLDR is so much more than a bootloader though. It is disigned to work with both the T-Mobile HD2 and the EU HD2 there for it will unlock the hidden 128 MB of RAM for the EU HD2 when combined with a 2.07.50.xx or above radio. Also you have to have a 2.07.50.xx or higher radio or MAGLDR will not even boot up.
The MAGLDR bootloader boots up after or should I say in succession of the original bootloader on the HD2, so you still have the original bootloader on your HD2 and can still use it to reflash a Windows mobile ROM at anytime. To navigate through the options on the main menu you use the up and down volume buttons, the send button is the select button , and the end button is the back button. To boot into MAGLDR you have to keep the power button pressed down while your HD2 powers on. Also remember you can not charge your HD2 while in MAGLDR you have to boot into your ROM to charge your HD2, and then you can only charge your HD2 while it is powered on as long as MAGLDR is installed on it. The current version of MAGLDR is v1.13 and this is what is in the main menu of MAGLDR.
aMAGLDR V1.13
Build: Feb 1 2011 03:46:07
by Cotulla 2011
Build: Feb 1 2011 03:46:07
by Cotulla 2011
1. Boot WPH
2. Boot AD SD
3. Boot AD NAND
4. USB Mass Stg
5. USB Flasher
6. USB TTY
7. AD Hard reset
8. AD Recovery
9. Tetris
10. Services
11. Reset
12. Power Down
2. Boot AD SD
3. Boot AD NAND
4. USB Mass Stg
5. USB Flasher
6. USB TTY
7. AD Hard reset
8. AD Recovery
9. Tetris
10. Services
11. Reset
12. Power Down
Ok now I know you are saying what is all those options for. Well let me start at the beginning here.
Option #1
Boot WPH, this is what you select if have a Windows Phone 7(WP7) ROM installed to NAND and you are booted up into MAGLDR but want to boot into your WP7 ROM.
Option #2
Boot AD SD, this allows you to boot into Android from SD card. You also use this to boot Android from SD card if you have WP7 ROM or a Android ROM in NAND.( Go to here for a tutorial on how to do this.) This option also allows you to boot other Android specific software such as Clock Work Mod Recovery(CWM) that you have placed specific files for on your SD card. This option is not really needed for CWM as you no longer have to place files for it on your SD card you can flash it straight to NAND.
Option #3
Boot AD NAND, this option allows you to boot into your NAND Android ROM you have flashed if you have booted into MAGLDR.
Option #4
USB Mass Stg, this option gives you the ability to use your SD card as a Mass Storage/Removable drive when you are booted up into MAGLDR and your HD2 is connected via USB cable to your computer. You use this option to transfer files from your computer to your SD card or from your SD card to your computer.
Option #5
USB Flasher, this option allows you to flash a ROM be it Android or WP7 to NAND , or any other program or software that requires a USB connection to install. You can not flash Windows Mobile, a new radio, or a splash screen to your HD2 using this option of MAGLDR, you have to use the original (SPL/HSPL) bootloader to do this. Connect to your computer via USB cable after you select this option to use it.
Option #6
USB TTY, this option puts MAGLDR into TTY mode which allows you the ability to ability to dump dmesg after crash and etc, but this option will be mainly for developers when it is up and running. Presently it is not functional just yet as it still requires drivers to be found or developed. It will also give you the abilities equivalent to MTTY or Task 29 when it is up and running. ( Maybe in the next versionJ)
Option #7
AD Hard reset, this option allows you to hard reset your Android ROM and erase android partitions with "hr" in the flags. Also allows you to hard reset it you are using a WP7 ROM. (Anyone that used Windows Mobile long enough knows what a hard reset is )
Option #8
AD Recovery, this option allows you to do a systems recovery just like native Android devices and allows you to boot into CWM which is even more like a native Android device.
Option #9
Tetris, oh yes that is right you can play Tetris while booted into MAGLDR. Hey everybody has to have some fun somehow, and everybody likes Tetris right. Get 111111 score to unlock hidden MAGLDR feature, and no I have not done it and I do not know what the hidden feature is. Got to love a dev that thinks of everything lol.
Option #10
Services, this option has 5 sub options with 2 of those having 3 sub options of their own. I will get into them shortly.
Option #11
Reset, this option works just lick the reset button under the battery cover of the HD2. It allows you to reboot your HD2 while you are booted into MAGLDR. If you want to boot back into MAGLDR you have to hold the power button down when your HD2 is powering back on. If you want to just boot up you installed ROM you do nothing but let your HD2 boot up.
Option #12
Power Down, this option is self explanatory. You choose this option to turn your HD2 off while booted into MAGLDR.
Ok so that has the main menu covered, now let me go over the sub option in Option #10 of the main menu. Here is what is in the sub menu of Services.
Services
1. Boot Settings
2. DMESG to SD
3. Dump UD to SD
4. Use Last 24 NAND
5. Clear SD MBR
2. DMESG to SD
3. Dump UD to SD
4. Use Last 24 NAND
5. Clear SD MBR
Ok I will go in order here so lets look at option #1 Boot Settings.
Option #1 of Services Boot settings
1. Boot Source
2. Always Menu
3. AD SD Dir
2. Always Menu
3. AD SD Dir
Option #1
Boot Source allows you to choose what source you want MAGLDR to boot your ROM from as default when you power on your HD2. You can choose Android from SD, Android from NAND, or WPH from NAND. This option is set automatically when you flash a ROM to NAND depending on if it is Android or WP7. This is the option that tells MAGLDR what it is to boot at boot up if you do not hold the power button down while powering up your phone to access MAGLDR.
Option #2
Always Menu, this option allows you to let MAGLDR to boot up and then automatically boot your ROM you have installed or to let MAGLDR boot up every time and you manually boot the ROM with either option #1, #2, or #3 from the main menu. Just press the send button if you want MAGLDR to boot up every time or press the end button if you do not want MAGLDR to boot up to the main menu everytime you boot up your HD2.
Option #3
AD SD Dir, this option gives you access to view the directories and most files on your SD card if you have Android installed to NAND on your HD2. It also lets you choose the SD card Android build you want MAGLDR to boot if you are dual booting WP& and Android from SD card.
Option #2 of Services DMESG to SD
DMESG is a shell command for the ash shell that ADB provides to run commands on a emulator or device. The DMESG command tells MAGLDR to store debugging messages to the SD card. This is useful for developers. This is also still in development so use at your own risk.
Option #3 of Services Dump UD to SD
Ok I have done a very good bit of research on this option. I am still not 100% sure what this option is for but this is what I found about it. In the thread for MAGLDR it say.,
Quote:
DumpUDtoSD" - dumps asize partition to SD card. BUGGY, SLOW and not tested. Don't use it. |
Option #4 of Services Use Last 24 NAND
This option allows you to use the last 24 MB of NAND memory. Right now if you select this option you will lose it after a soft reset, this option is still experimental also.
Option #5 of Services Clear SD MBR
This option allows you to clear the MBR from your SD card. What is MBR you ask, MBR stands for Master Boot Record. MBR searches the partition table for the active partition, it then copies the active boot sector of that partition into memory and transfers control over to that program. The MBR runs whenever you boot your HD2.
Here are my sources for this information. [DFT]MAGLDR 1.13 released! [AD RECOV support added], Leo/Magldr-HTC-Linux-Mozilla, Android developers, Dark Forces Team-Places for Android newbies, tech-faq.com , and last but not least Google.
How to flash MAGLDR to a HTC HD2
To flash MAGLDR to your HD2 , and this is very important, you must first have HSPL 2.08 flashed to your HD2 and you have to have a radio version 2.07.50.xx to 2.15.50.14. If you do not have HSPL 2.08 the flash will fail, and if you do not have radio version 2.15.50.14 or 2.14.50.02 MAGLDR will not show up on your HD2 even if it was sussefully flashed.. Download MAGLDR v1.13, when you extract the zip file it will create a folder named “MAGLDR113_DAF” so choose where you want to extract t the files to and let it extract the files. Next navigate to where you extracted the MAGLDR113_DAF to and open the file. Put your HD2 into bootloader by pressing and holding down the volume down button while powering on your HD2. Connect your HD2 to your computer via USB cable and wait until Serial in the white bar of the bootloader screen to change to USB then right click “RomUpdateUtility” that is in the MAGLDR113_DAF file and select run as administrator. Follow the instructions of the ROM update utility and when the progress bar on the computer screen and your HD2 reach 100% your computer will show in the ROM update utility it is finished click close on the ROM update utility box on your computer screen and you have MAGLDR on your HD2, your HD2 should automaticly reboot into MAGLDR. Also do not unplug your USB cable until your HD2 has rebooted itself.
Flash MAGLDR via SD Card
You can also flash MAGLDR via SD card just like you can a Windows Mobile ROM. Just open the MAGLDR113_DAF file and copy the magldr.nbh file to the root of your SD card. Once it is copied change the name of the file on your SD card to LEOIMG.nbh. Power off your HD2 and then reboot your HD2 keep the volume down button held down until you see searching on your HD2 screen then release. Follow the on-screen instructions and let it flash.
Note when you flash MAGLDR to your HD2 it wipes your current ROM from the HD2. So you will have a ROM less HD2 until you either flash a Android ROM or WP7 to your HD2. You can also reflash a Windows Mobile stock or custom ROM but this will remove MAGLDR from your HD2.
What is cLK and what does it do?
Well like MAGLDR, cedesmitjh's Little Kernel (cLK) is a custom bootloader for the HTC HD2. But unlike MAGLDR though, cLK just boots NAND Android ROMs for the HD2 not any other OS's or SD card builds. Also cLK is a open sourced project so anyone can help contribute to the on going development of it, unlike MAGLDR which is closed sourced. XDA senior member cedesmith originally created cLK but several great devs, such as arif-ali, have help get cLK to the stable and very usable bootloader it is now. If you would like to see who some of the other devs that or helping develop cLK go the cLK thread and read the short cridets list at the bottom of post #1. You will have to read through the thread though to see just how many devs and exactly what devs have been involved with cLK.
With cLK the HD2 has the ability to be pretty much just like a native Android device. You do not see it boot up while powering on the HD2. You can use Andriod SDK fastboot commands on the HD2 with cLK just like a native Android device. You can also use ROM Manager (can be found in the Android Market) with cLK too. With ROM manager it works hand and hand with CWM so you truly no longer need a computer to download and change ROMs, change Kernels, make and manage Nandroid backups, check for ROM updates, and even flash upated versions of CWM all from within your Android ROM. It also lets you boot straight into recovery. Last but not least cLK supports charging while the HD2 is powered off (MAGLDR ) so you don't have to worry about your battery dieing and you having to buy a external charger, borrow a friends HD2, or take more drastic measures (mutilate a USB cable) to charge your battery enough to boot your HD2.
With cLK it runs in sussesion of the original SPL bootloader so you can easily revert back to Windows Mobile 6.5, flash a new radio, flash a new splash screen, or even flash MAGLDR.
I have found no evidence that cLK can help unlock the extra 128MB of RAM on the EU HD2's. So all you EU HD2 users you will only have 448MB of RAM when using cLK. Also it is not a restiction on the HSPL or radio version you can use with cLK, but I still suggest HSPL 2.08, HSPL3.03, and radio 2.07.50.xx or higher just to be safe.
To access cLK after you have installed a Android ROM, while powering on your HD2 you have to hold down any key except the power key to get the console to come up. You hold down the home key to boot to recovery while powering on. And you hold down the back key to put your HD2 into fastboot mode so you can enter fastboot commands from your computer.
Source of information [15MAR][BOOTLOADER]+[RECOVERY] cLK v1.3.3 Google
How to install cLK
Just like all other custom software for the HD2 you need HSPL flashed to your HD2, I suggest HSPL 2.08 or HSPL 3.03. I also suggest you have a radio version 2.07.50.xx or higher, this is not required as far as I know but it could not hurt. Now to install cLk you need to go to the cLK thread and download "cLK_1.3.3_system_150M_cedesmith.zip" from the bottom of post #3 of the thread, or if you want the most up to date version go to post #1395 and download "cLK_1.4.0.1_layouts_arif.zip" Next you will need go to post #844 of the thread and download the "CustomRUU.zip" file. Next creat a folder named cLk or whatever you want to name it and extract the files from both the zip files the folder you created. I have a attached zip file at the bottom of this post if this is too complicated for you, but I hope is not as this is the easy part of cLK. Next put your HD2 into bootloader by holding the volume button down while powering on your HD2. Connect your HD2 to your computer via USB cable and wait for the Serial in the white bar of bootloader to change to USB. Then open the file you created and right click on the Custom RUU and select run as administrator. Follow the on screen instructions and when your HD2 reboots click finished on your computer and you have flashed cLK. Go to post #3 "How to install CWM using cLK" of this thread to learn how to flash CWM to your HD2 now.
Video thanks to XDA Senior Member 96edwy
Edit. I attached several cLK v1.4.0.1 files with rar files with the custom RUU included with them at the bottom of post #2. I have a 100MB partion, a 150MB partion, a 200MB partion, a 260MB patition, a 300MB partion, a 360MB partition, and a 400MB partition. But you can download the 1.4.0.1 cLK and combine any of the included .nbh files with the custom RUU to flash cLK v1.4.0.1 just chose the partition size you need. It has .nbh files with 80Mb partitions all the way up to 400MB partitions. I just made rar files with the most common ones to make it easier on people. I also left the cLK 1.3.3 with custom RUU.zip for anyone that wants to use it, it is a 150MB partition.
Flashing cLK via SD card
This works best on 8GB SD cards or lower formated with Fat 32. Go to the cLK thread and download the "cLK_1.3.3_system_150_cedesmith.zip"
file from the bottom of post #3 of the thread. Extract the files from
the zip file to a location you can find. Then copy the RUU_signed.nbh
file to the root of your SD card and then rename it to LEOIMG.nbh. Then
insert your SD card into your HD2, if you used a SD card reader to
transfer the file to your SD card. Power on your HD2 while holding the
volume down button down until you see searching on your HD2's screen and
release the volume button. Follow the on screen instructions to finish
flashing cLK. Go to the post #3 "How to install CWM using cLK" of this thread to learn how to flash CWM to your HD2 now.
0 Comments