Monday, January 24, 2011

[Guide] How to Dual Boot Android and Windows Phone on HTC HD2



The HTC HD2 comes with Windows 6.5. But thanks to the hard work from the folks at XDA developers, you can now install Android and Windows Phone 7 on the device.

But what would you think about Dual-Booting Android and Windows Phone 7 on this device? The XDA Developers just made that possible.

The following guide will take you through how to dual boot Windows Phone 7 and Android on the HTC HD 2

NOTE - This process involves installing a custom ROM on hardware that may not have been originally intended for the software. The guide is recommended for advanced users only who understand the implications of installing custom ROMS. This process may result in your device getting bricked and this site or the creators of the port should not be held responsible for it.

Things you will need:
Instructions:
  1. Install Partition Manager.
    -
  2. Insert your small sd card into your phone. Flash WP7 Rom using Magldr 1.1.2. Let the phone reset and start wp7. This will allow WP7 to format your smaller sd card with its partition.
    -
  3. Turn off your phone and remove the smaller sd card.
    -
  4. Plug in both sd cards in your pc. The larger and the smaller one.
    -
  5. Run Partition Manager. You should see both the smaller and larger sd cards. On your smaller sd card, there should be 2 partitions. A fat 16 partition of 200 mb and another partition called unformatted which takes up the rest of the smaller sd. This “unformatted partition” is actually your wp7 partition.
    -
    -
  6. Delete the partition of your larger sd card. To do this, select the partition and right click delete (menu also works). Don’t forget to click “apply”.
    -
  7. Copy and resize the fat16 partition of your smaller sd card to your larger sd card. To do this, select the partition on your smaller sd card, right click (or use the menu) and select copy and follow the onscreen wizard to copy. You can change it to fat32 as well. When resizing, you need to do some math. Take the size of your larger sd card and subtract the size of the “unformatted” partition of on your smaller sd card and set this value as the resize value for the fat16 partition that you are copying. In other words, if the unformatted partition is 8gh and you are setting things up on a 16gb sd card then set the resize value to approx. 8gb. Click “apply”.
    -
  8. Using same procedure as outlined in 7, copy the “unformatted” partition from your smaller sd card to the larger sd card. Click “apply”.
    -
  9. Before copying your android build and while still in windows format the fat 32 partition using 32 or 64 kb sectors USE WINDOWS EXPLORER OR MY COMPUTER TO FORMAT. This should help with speed. I used 64 kb sectors. I am using the desire_Z build in this post and set up everything in the desire_z folder.
    -
  10. Copy your android sd build onto the fat32 partition.
    IMPORTANT - Do not use usb mass storage as there is some data corruption problems. Remove your sd card to copy (see below and thread for list of working builds -
    IMPORTANT you need to have a modified rootfs.img file where nand_init was added to init.rc and you need to copy and replace the existing rootfs.img file of the sd build else it won't work)
    -
  11. Remove the larger sd card and insert it into your phone.
    -
  12. Reboot the phone and hold the “red end key” to enter the magldr boot menu.
    -
  13. In Magldr 1.1.2 use volume down to go to “9. Services” and click “green phone button” to select.
    -
  14. Use volume buttons to select “1. Bootsettings” and click “green phone button” to select.
    -
  15. Use volume buttons to select “2. Always Menu” and click “green phone button” to select. This will give you the Madldr menu on phone startup to allow you to choose wp7 or sd android as your boot choice.
    -
  16. Click the “green phone button” to confirm.
    -
  17. Once you’ve done steps 13 to 16 you will be brought back to the initial magldr 1.1.2 menu.
    -
  18. Again, use volume down to go to “9. Services” and click “green phone button” to select.
    -
  19. Use volume buttons to select “1. Bootsettings” and click “green phone button” to select.
    -
  20. Use volume buttons to select “3. AD SD Dir” and click “green phone button” to select.
    -
  21. Select the folder where your SD android build is located.
    -
  22. Reset your phone and enter Magldr 1.1.2.
    -
  23. To boot into wp7 select boot “1. Boot WPH” or to boot sd android select “2. Boot SD AD”
    -
  24. Booting into android SD is long. Guess having android nand has spoiled us.

Gencaslan from XDA has provided an alternate method. Go here to check it.


HYellow from XDA has provided yet another alternate method
  1. Put your sd card inside the hd2 and power on.
    -
  2. Go to about screen, in settings, and reset your device. Let it reset and boot to WP7 again. While booting to WP7, it'll create the partitions it needs, so this is important. After you have gone through the setup wizard, go to about screen and reset your device again.
    -
  3. When it has booted into magldr screen, remove the sd card and insert into pc. (make sure that magldr is shown and stays there at bootup, otherwise it'll boot straight into wp7 without sd card and that is not what we want.
    -
  4. You'll see two partitions. A whopping 200mb of fat16 partition and the other is unformatted. Now right click on the unformatted partition and click delete. After that, click apply. Now you have unallocated space. Right click on the unallocated space and select create. Set parameters to logical and unformatted and size size the partition. This will be your WP7 partition, so decide how much you want to allocate to it, this is permanent, no changes afterwards can be made. Also, make sure you move it to the end of the sd card in the same 'create' window. Hit apply.
    -
  5. After some time, you now have a green fat16 partition to the left, some unallocated grey portion in the middle and your WP7 partition in modern turqoise colour on the far right. Agreed? Now remove the sd card from PC and insert in HD2.
    -
  6. After you have inserted the sd card, let it boot into WP7. Remember what your last action was when you were still in WP7? Yes, you pressed reset, so the device actually thinks he is still resetting the device. He might do it too, but just go through the setup wizard again.
    -
  7. Go to about screen and verify your storage. Don't look strange if when the storage has a different of about 1Gb, this is swallowed by WP7 for system stuff etc. Are you happy with the progress so far? Then power down your device and remove the sd card. Allow the HD2 to fully powered down as sometimes the screen is pitch black, but the device is still turning off.
    -
  8. Insert the sd card in pc and right click on the green fat 16 partition and select resize/move. Now fill up the rest of the unallocated space and hit apply. This is your android partition. Put an android build onto it and test.
    -
  9. If you want to convert your WP7 partition from logical to primary, please search in this thread for the the program: minitool partition wizard. Right click on your WP7 partition and, select modify and then click on set as primary and hit apply.



NOTES:
  • Make sure you backup your sd cards as wp7 will erase all that is on them.
  • This method works for me but i take no responsibility for whatever may happen to your phone.
  • You should be able to reactivate your phone with windows market but I cannot guarantee this. I have re-activated market 4 times so far.


TESTED SD BUILDS:

Most builds should work but you will need an edited rootfs.img file for it to work. Have a look in the thread of the build you want if someone posted an edited rootfs.img file.


You can get a list of edited rootfs.img files here


Guide and links courtesy of XDA-Developers. Support these guys as they bring the best content for your devices
Anonymous Web Developer

Morbi aliquam fringilla nisl. Pellentesque eleifend condimentum tellus, vel vulputate tortor malesuada sit amet. Aliquam vel vestibulum metus. Aenean ut mi aucto.

No comments:

Post a Comment