[DEV] Dual booting on Desire HD

Search This thread

XDA_h3n

Senior Member
Sep 20, 2011
562
208
On Earth!
Used the boot manager trial (from play store, going to buy full soon.) , running coredroid on sd card and sense 4. Coredroid lags, but camera works (depends on your sd write/read speed).

Sent from my Desire HD using XDA Premium App
 

ijball

Senior Member
Dec 3, 2011
79
19
Would you know if this would work with LordClockan's ICS build and the JellyBean beta? TIA
 

hacktrix2006

Senior Member
Jan 15, 2011
1,681
567
Nice work but is there a Kernel that would do Sense and Jellybean in one like the one for Rezound [KERNEL]BAMF Vigor Kernel[3.0.51][Sense/AOSP]??

If so i will even try this methord as BootManager doesn't even work with Sense 4.0 just tried 5 times using Nandroid backups and same issue of not booting and hitting the recovery partition.
 

fshami

Senior Member
Oct 14, 2010
1,815
987
Dubai
Nice work but is there a Kernel that would do Sense and Jellybean in one like the one for Rezound [KERNEL]BAMF Vigor Kernel[3.0.51][Sense/AOSP]??

If so i will even try this methord as BootManager doesn't even work with Sense 4.0 just tried 5 times using Nandroid backups and same issue of not booting and hitting the recovery partition.

Not sure if u r already aware, try Boot Manager from Play Store & enjoy upto 5 ROMs installed at a time

Sent from my HTC Sensation XL with Beats Audio X315e using xda premium
 

hacktrix2006

Senior Member
Jan 15, 2011
1,681
567
I have Boot Manager Pro already, have tried several times to boot multi roms but all fail doesn't matter if i am using Sense 4.1 then trying to boot jellybean or visa versa it will still boot to recovery even after i tell boot manager to boot from rom1.

Hence why i am trying this method out.
 

jizang

Senior Member
May 13, 2011
924
80
Essen,Germany
Used the boot manager trial (from play store, going to buy full soon.) , running coredroid on sd card and sense 4. Coredroid lags, but camera works (depends on your sd write/read speed).

Sent from my Desire HD using XDA Premium App

Can you please send me the Link ti the thread where you got coredroid Sense 4 for the Desire hd

Sent from my HTC Desire HD using xda premium
 

hacktrix2006

Senior Member
Jan 15, 2011
1,681
567
what is the advantages of dual booting ?

Dual booting is handy if one wants to test a new rom without wiping the old rom.

Currently there is Bootmanager which uses .img files to multi boot more then one rom with which can be slow the other method is to partition the SDCard with 1 Fat32 partition and 3 EXT4 partitions /System /Cache /Data i.e copying the partition layout of the NAND flash but then this requires a Kernel that supports dual boot and Sense/ASOP/AKOP in hit which can be do able i think.

Hope this helps. Myself i will only be using two roms my daily driver and a testing rom so to that effect i would perfer using the SDcard trick.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 64
    Welcome to the first dual boot menu for Desire HD

    What it is, and what it does.
    It is nothing more than a C-written executable which will start at your phone boot waiting for you to make a choice. When you choose, it will init the android you want. That lets you to have 2 android install, one on nand, one on sdcard, without booting through fastboot or switching boot.img

    Wonderful. What I need to make it working?
    Basically you need nothing more than a SD card and your desire HD.

    You said I need an sd card. I need to prepare it somehow?
    Yes, you do. You will need a tool which supports creating fat32 and ext4 partitions. There are a couple for windows (EASEUS). If you have linux, it is included in your distro for sure. Your partition table should look like this:

    In order: archiving (photo, videos etc), system, cache, data.
    Sizes are of your choice. Remember to not make them too small anyway.

    Are you booting two different kernels for sense and nosense roms? I know theres a difference.
    Well...no. Since you can not swap kernels at runtime, you will have to use one kernel for both. I will post 2 version though. One for sense and one for nosense. If you intend to boot sense roms, then you must choose a sense kernel. No-sense roms will be able to boot with the sense kernel though, but will need a fix for the bluetooth. I will post some way to make this as easier as possible.

    So if I want to run at the same time a sense rom and an aosp based rom I will have to keep the sense kernel?
    Absolutely, or the sense rom will not boot at all (unless you fix it somehow).

    DEMO:
    View full screen to see the sentences on my phone's screen.

    Download:
    f7e92db13730066329f5e78609e03b32 dualboot-1.0.zip
    No mirroring so I can keep track of some statistics :)
    17
    HOW TO 1: Partitioning with Minitool Partition Wizard 6 Home Edition​
    1. Locate your sdcard in the list
    2. Right click, delete all partitions
    3. Right click, create
    4. Select the size you wish
    5. Pick fat32 as filesystem, create as primary, this will hold your photos, music etc
    6. Click ok
    7. Right click, create
    8. Select the size you wish
    9. Pick ext4 as filesystem, create as primary
    10. Click ok
    11. Go back to 7 (you need 3 partitions)
    12. You will now have 4 partitions, 1 fat32 and 3 ext4, system, cache, data. Click apply
    HOW TO 2: Adapting a zip file to extract to sd card instead of nand​
    • First extract it in a folder
    • Then navigate into META-INF/com/google/android and open updater-script (use notepad++ on windows, any editor for linux will be ok)
    • modify:
      • for system
        • mount("MTD", "system", "/system"); and mount("ext4", "EMMC", "/dev/block/mmcblk0p25", "/system"); in mount("ext4", "EMMC", "/dev/block/mmcblk1p2", "/system");
        • format("MTD", "system"); and format("ext4", "EMMC", "/dev/block/mmcblk0p25"); in format("ext4", "EMMC", "/dev/block/mmcblk1p2");
      • for data
        • mount("MTD","userdata","/data"); and mount("ext4", "EMMC", "/dev/block/mmcblk0p26", "/data"); in mount("ext4", "EMMC", "/dev/block/mmcblk1p4", "/data");
        • format("MTD", "userdata"); and format("ext4", "EMMC", "/dev/block/mmcblk0p26"); in format("ext4", "EMMC", "/dev/block/mmcblk1p4");
      • for cache
        • mount("MTD","cache","/cache"); and mount("ext4", "EMMC", "/dev/block/mmcblk0p27", "/cache"); in mount("ext4", "EMMC", "/dev/block/mmcblk1p3", "/cache");
        • format("MTD", "cache"); and format("ext4", "EMMC", "/dev/block/mmcblk0p27"); in format("ext4", "EMMC", "/dev/block/mmcblk1p3");
      • remove anything that contains boot.img to avoid replacing the boot menu eg
        • package_extract_file("boot.img", "/tmp/boot.img");
        • write_raw_image("/tmp/boot.img", "boot");
        • delete("/tmp/boot.img");
    • save, compress, install through recovery (unmount all partitions through the recovery menu, mounts and storage -> click on everything that starts with unmount)
    • Done!
    HOW TO 3: Transferring a rom from nand to sd​
    • Boot into recovery
    • Mount all partitions through the recovery menu
    • mount -o remount,rw /
    • mkdir system2 data2 cache2
    • mount /dev/block/mmcblk1p2 system2
    • mount /dev/block/mmcblk1p3 cache2
    • mount /dev/block/mmcblk1p4 data2
    • cp -af system/* system2/
    • cp -af cache/* cache2/
    • cp -af data/* data2/
    • umount /system2
    • umount /data2
    • umount /cache2
    • Done!
    8
    Dual-Boot HTC Desire HD: The Guide

    I've created a complete guide with pictures. It has six chapters:
    1. Before we start
    2. Partitioning
    3. Preparing ROM for SD install
    4. Flashing your ZIP to SD
    5. Update the NAND ROM
    6. Flash a boot.img separately

    I had to put the guide in an archive because the maximum file size for PDF is only 488.3KB.
    3
    For those having difficulties with dual booting, take a look at this Multiboot APK beta testing. Am trying this and I must say its easy and has a very good interface for installing and changing ROMS!!!!!!!!!!!!!:D


    I have this installed and working.

    1. First ROM Virtuous 1.29.0
    2. Second ROM Coredriod 7.0 RV
    3. Third ROM CM Nightly
    4. Fourth ROM Android Revolution 5.2.3

    http://xdaforums.com/showthread.php?t=1184173&highlight=Beta+test+multiboot