yashsingh1/xdaforums huggingface dataset:
[Desire HD Android Development] XAviierG:
what kernel do you have?
[Desire HD Android Development] LorD ClockaN:
he said what kernel he has ...

and that kernel is compatible for miui and for CM
[Desire HD Android Development] XAviierG:
yes but I meant BFS or CFS so we can see if its cause of BFS
[Desire HD Android Development] LorD ClockaN:
I don't think that cfs or bfshas anything to do with wifi.. The main thing is that he has the same kernel for both roms and appropriate wifi module
[Desire HD Android Development] XAviierG:
BFS on MIUI gives error when you try and use wifi in the settings.
[Desire HD Android Development] DJ SNap:
It's CFS just as LorD ClockaN wrote at his Kernel's Thread.
[Desire HD Android Development] GazaIan:
Alright the Desire HD is closely related to the myTouch 4G, so can this be done on that device? This is something I'd kill for.
[Desire HD Android Development] chuandinh:
Flash the kernel will fix the wifi problem. Just to make sure you change the mount partition posted in post#2 in the update-script of the flashable kernel zip.
[Desire HD Android Development] Hondaracer:
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.
[Desire HD Android Development] Rosemberg91:
wait for desire z....
[Desire HD Android Development] :
If i fail doing this, it's possible that i can brick my phone?

Thx 4 the tutorial ;)
[Desire HD Android Development] Hondaracer:
As long you don't remove your recovery there's always a way to restore your device.
[Desire HD Android Development] DJ SNap:
You write this to me?
[Desire HD Android Development] chuandinh:
For anyone with the WiFi problem.

Make sure you modify the updater-script as in #2 post before flash it.

Make sure the kernel you are going to flash doesn't have the boot.img in it.

[KERNEL][16JUL]LorDModUE V6.0.1 works perfectly on MIUI roms.
[Desire HD Android Development] woundtrauma:
How about Virtuous Daemon Sets? Is they supported?
[Desire HD Android Development] DJ SNap:
But frankly, I don't know how to modify updater-script even with instructions (from beginning of this thread). I backuped MIUI, install Cyanogen, copy cyanogen to SD, restore MIUI, copy boot.img via fastboot, flash kernel (twice). This is how I do dual boot on my DHD. I will try tomorow with new manual.

But I need to know how to restore NDT MIUI's boot.img? Unpack boot.img from NDT MIUI's ZIP and flash via fastboot?

Ok. I have done everything step by step from Hondaracer's manual. After everything I have flashed LodModUE 6.0.1 but still there is error after trying to use WiFi (on MIUI and on Cyanogen).
[Desire HD Android Development] Orical:
I did a quick glance threw the posts and didn't see this come up yet but I have a feeling it will soon, I would suggest using at least a 16gb SD Card for this if your the type to have music, videos, files, ect. the card will get real crowded quick considering you need both Roms in place and supporting folders for each on top of your files.

This would matter more if your using Sense Roms.
[Desire HD Android Development] wspeed:
Thanks.

Thanks, I've got my dual boot working(Revolution HD 5.2.2 + MIUI).
[Desire HD Android Development] wspeed:
Well, I've forgot it. The dual boot menu response is a little slow, and the vibration feedback when pushing home,menu,return,search key can not be closed in my Sense ROM.
[Desire HD Android Development] archaeongeryon:
how about wifi?

which ROM in nand?

other day, i had dualboot ARHD nand and MIUI sd, but on MIUI wifi doesn't work, home-screen cant change wallpaper, and on ARHD bootloop..
[Desire HD Android Development] thetiger1401:
Impossible to launch the Rom, it loads indefinitely and remains stuck on the logo MIUI or HTC .... WHY ???
[Desire HD Android Development] chuandinh:
Here the modified [KERNEL][16JUL]LorDModUE V6.0.1 for MIUI on SDCard. Flash this one if you have the wifi problem.

Flash a sense kernel back if your nand rom has a wifi problem.

I'm waiting for someone can make a kernel works for both.
[Desire HD Android Development] DJ SNap:
Thank you so much. But MIUI is on NAND and Cyanogen is on SDCard.
[Desire HD Android Development] suemer:
sorry mate for my question...

i have nand cm 7.1 rc1 and want to have on the sd-card miui 1.75 german

in my updater-script i have the following lines:

ui_print(">>> Formatting partitions");
assert(unmount("/system") || ui_print("(system is unmounted already)"));
format("ext4", "EMMC", "/dev/block/mmcblk1p2");
assert(unmount("/cache") || ui_print("(cache is unmounted already)"));
format("ext4", "EMMC", "/dev/block/mmcblk1p3");
assert(unmount("/data") || ui_print("(data is unmounted already)"));
format("ext4", "EMMC", "/dev/block/mmcblk1p4");
ui_print("");
ui_print("Done!");

how should my updater-script have to be??? i do not have the lines which i have to change! any help is appreciated
[Desire HD Android Development] Hondaracer:
Please give me a link to this ROM so I can look. I looks like this ROM is already edited for SD card install.
[Desire HD Android Development] spookamiester:
Can't download dualboot-1.0.zip

All slots are being used :(

Can anyone send me the file?

Dropbox, upload, anything?
[Desire HD Android Development] suemer:
its the original download-file which is in the 1. post

dualboot-1.0.zip
[Desire HD Android Development] chuandinh:
Modify the updater-script in the rom you want to flash.

The one in the first post is the boot.img you need to put in the modified rom.

The wipe.zip in the #1 post is for wiping all SD partition to ext4.
[Desire HD Android Development] DJ SNap:
Frankly, I just getting tired of this. I have try with MIUI, Cyanogen, LeeDrOiD, LordModUE kernel, LeeDrOiD kernel. Problem is always the same. WiFi - the most important feature of DHD - IS NOT working!! And more: LeeDrOiD can't boot (stuck on locksreen) from SDCard, if I install LeDrOiD kernel, DHD stuck on HTC logo (soft brick), the same on LordModUE.

I used wipe.zip, I have modified "Optional FULL WIPE to EXT4 patch" (important thing for LeeDrOiD functionality) to wipe SDcard partitions and still it isn't working (talking about booting) !! What is going on??

My SDCard is class10, Cyanogen on SD works slow for me (but this isn't important). Let somebody tell me WHAT THE HELL IS GOING ON?? WHY WiFi NOT WORKING?? WHY, WHY, WHY?!?!?!?!

Is there a way to restore backup directly to SDCard??

One more thing: I just feeling ignored. There are guys that really try to help, but I don't see any help from developer of DualBoot.

I really like this new feature, it's awesome but just tell me how to make it working.

michyprima - you have done very cool feature. But (I think) we (or just I) need YOU to solve WiFi problem!
[Desire HD Android Development] killersloth:
You're being ignore because this issue is addressed in the OP and also is pretty common knowledge among the community. You cant mix aosp/sense roms and kernels, and the device can only handle one kernel. So, to my knowledge, you cannot dual-boot sense & aosp without flashing the appropriate kernel before you boot.
[Desire HD Android Development] jkoljo:
If someone really wants to boot into another kernel + system type, use "fastboot boot boot.img".. Just an idea :)
[Desire HD Android Development] fshami:
Hondaracer, thanks for giude Mate.

Want to ask that i want to install CM7 Nightly on SD Card of my DHD for dual boot.

I've opened the updater-script & have edited following two lines as per ur guide:

mount("ext4", "EMMC", "/dev/block/mmcblk0p25", "/system") with

mount("ext4", "EMMC", "/dev/block/mmcblk1p2", "/system");

format("ext4", "EMMC", "/dev/block/mmcblk0p25") with

format("ext4", "EMMC", "/dev/block/mmcblk1p2");

i am unable to find the remaining lines in that file. Do u suggest me to add

mount("ext4", "EMMC", "/dev/block/mmcblk1p4", "/data");

format("ext4", "EMMC", "/dev/block/mmcblk1p4");

mount("ext4", "EMMC", "/dev/block/mmcblk1p3", "/cache");

format("ext4", "EMMC", "/dev/block/mmcblk1p3");

the above lines myself in order to point the script to these partitions or it's ok leave them?
[Desire HD Android Development] Hondaracer:
Like mentioned in the guide, you can ignore missing lines. You don't have to add them.
[Desire HD Android Development] DJ SNap:
But if you can read on my previous post, I tried with CyanogenMod on SDCard and MIUI on NAND. Problem is the same and kernel is LordModUE - which is compatible with both ROMs. So this isn't mix. Can you tell me how to fix is? Is there is way to fix it?
[Desire HD Android Development] fshami:
How do i enter 4extrecovery???
[Desire HD Android Development] DJ SNap:
You must install it. But you can install ROM via normal recovery.
[Desire HD Android Development] fshami:
I've installed 4extrecovery as well as cmwr, but none of'em seems to work. I get that silly triangle.

My device is rooted with s-off. Ehat else i have to do?
[Desire HD Android Development] Sybregunne:
You need radio s-off or eng s-off. If u hav that. Try flashing recovery voa fast boot.

If you see the triangle u have standard recovery. Press volume up and power buttons at the same time. U'll see a menu. I forgot how to but u can rename the rom zip file to update.zip install through stock recovery.
[Desire HD Android Development] fshami:
Worked fine in the 1st go. After reboot no matter for how long i kept the desired button, dualboot wasn't working :(
[Desire HD Android Development] XAviierG:
Can someone make a video guide please!
[Desire HD Android Development] XAviierG:
I still cannot get this to work. Im trying to use Ninja and MIUI. If someone can edit the files for me that would be amazing because im having terrible luck!
[Desire HD Android Development] TylerDurben:
Heya Michyprima

An Switch.apk will be cool to switch from one rom to the other rom
[Desire HD Android Development] Hondaracer:
Please give me a link to the ROM you want installed on SD.
[Desire HD Android Development] killersloth:
Is the dual boot menu a part of the sense / no sense boot img?
[Desire HD Android Development] Hondaracer:
XAviierG, here's your ROM:

HR NINJA-0716.zip
[Desire HD Android Development] XAviierG:
Thanks sir!
[Desire HD Android Development] LorD ClockaN:
Anyone want to test this kernel in sense rom? http://www.multiupload.com/0P9PCM9J0B

I've removed libsqlite.so, so no worries for bricked Sense :)

non-pure Sense 3.0, so no kingdom...

I've comfirmed that wifi works in cyanogen, but I have a feeling that it could work in sense too!

so you can use it for dual booting..

wifi tether doesn't work in CM, tether hasn't been tested with some tether app from market, just with pure CM tether option... so maybe it will work with another app..

If wifi works in sense, than all your problems are solved for dual booting AOSP and sense 2.1 rom

I need reports
[Desire HD Android Development] chuandinh:
I just figure out how to triple boot sense and non-sense roms, but still need to flash boot.img and kernel to switch the rom.
[Desire HD Android Development] LorD ClockaN:
maybe no need to.. ;)

I got report that wifi works with my kernel posted above in CM, MIUI and SENSE 2.1 roms.. don't know how the kernel acts in SENSE 3.0 roms...

and maybe boot.img could be make more compatible ... to suite all roms
[Desire HD Android Development] baltazar.nilsson:
Man you're awesome :) if any one can pull of a universal kernel working for both sense and aosp rom's, it's you mate ;)

Expect a donation later this week. You've earned it.

Getting my salary on Wednesday and it takes a day or two to transfer to PayPal. But as soon as that's fixed I'll donate a little something to ya :)

And a little surprise to ;) wait and see...
[Desire HD Android Development] dena994:
What do you think abuot making an installation video tutorial?

Inviato dal mio Transformer TF101 usando Tapatalk
[Desire HD Android Development] a user:
i just tried it on leedroid 3.3.1 and so far it seems working quite well, except GPS: i can enable gps but it does not find even a single satelite.

i will look further into this and also how the kernel overall performes.

EDIT: i strongly advice to NOT FLASH that kernel on sense roms! after soem time after reboot i observed many scary and strange issues, like any file explorer faling to launch, superuser rights failing and other strange thigs. temporarly they can be fixed by a reboot but after some while all the above apears again.
[Desire HD Android Development] Flashy87:
Hello michyprima,

@OP:

Thank you so very much for this! A while ago I was wondering if there was some sort of dual boot option for the DHD, and now I visit XDA again, and guess what. I see you managed to create it! This makes me so happy!! :D

I will definitely check it out after I make some back ups, and copy the complete content from my SD to my PC so I won't loose anything when I format my SD.

Though I don't have time for it now, so I'll do it later, but still THANK YOU! Best thing ever created for DHD!

I would even want to donate but I can't use any donate/pay services on internet :( that, and I'm also poor :o
[Desire HD Android Development] DJ SNap:
You're talking about this kernel: http://xdaforums.com/showpost.php?p=15946596&postcount=242 ??
[Desire HD Android Development] trh1341:
video

will soeone make an install video because im lost :D i dont really even know where to start...im usually really good at this stuff but these instructions are confusing me haha:p
[Desire HD Android Development] baltazar.nilsson:
Hi mate. Found something confusing in the dualboot guide.

In the pic where you see the partition table you´ve set it like this: 1. Fat32 2. ext4 498 mb ( System right?? ) 3. ext4 397 mb ( Cache right?? ) 4. ext4 4 gb data.

But in the 10 step guide you write this order.

1. fat32 2. system 3. data 4. cache

So witch one is the right one??

Cheers..
[Desire HD Android Development] trock62:
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
[Desire HD Android Development] crupp:
This is looks cool. Is that much diffenerent than just backing up your ROMS via CWM and restoring from there?
[Desire HD Android Development] a user:
wait, you have mixed a aosp rom with sense roms? how? what kernel are you using?
[Desire HD Android Development] trh1341:
Its not like this you can have a different kernel for each rom (up to 5) it is very cool but DO NOT flash flyersense as you will loose root and cannot get back to other roms without restoring
[Desire HD Android Development] TylerDurben:
Hey ppl 5 minutes ago i found another app on marketplace that is working for samsung epic 4g

The dev put that part with pationizing into the apk, also he had patitionizing scripts on his thread.

Maybe intrestig to put some stuf together

maybe some of you can have a look to the thread

http://xdaforums.com/showthread.php?t=1155613

Maybe the in apk part of pationizing could be intresting
[Desire HD Android Development] fshami:
I think ignoring the lines for data & cache messed up my device. No ROM booted in the 2nd boot.

Will try adding the lines & see what happens..
[Desire HD Android Development] xT4Z1N4TRx:
Would this work on Desire Z? Maybe with a couple modified steps/files etc??
[Desire HD Android Development] newyorkerboy:
Hello!

Can anybody help me edit this updater script file to get it working with dualboot? Please, sign the lines that you've edited, I don't understand the second post.

Thank you!
[Desire HD Android Development] DJ SNap:
You must know that this feature isn't work properly. For example WiFi doesn't work.
[Desire HD Android Development] Grumps:
Hi

I bought the other app on market as mentioned in this thread but its awfully slow. Im using honeysense on nand and doubleshot trying on sd. Has there been a way to get wifi to work?

Thanx
[Desire HD Android Development] DJ SNap:
Honestly - no. Because there is no changes. Anything. This is ghost thread, unfortunately.
[Desire HD Android Development] mohammadsp:
thanks :)

how should I use the kernel?

flashed it via recovery and got stuck on HTC green logo?!
[Desire HD Android Development] Bomster:
Will WP7 ever be a reality?
[Desire HD Android Development] yngieaxl:
Sense ROM problem

Hi michyprima,

I've successfully install MIUI ROM to SDCARD and I can boot from SDCARD with your modified kernel.

But the problem is I've installed Virtuous Unity 1.31 ROM on NAND and I can't boot to NAND with your modified kernel, if i replace the kernel with Virtous Kernel i can boot to NAND, then if i want to boot to SDCARD i have to replace the kernel back with your kernel, it doesn't effective i think.

I also check with another sense ROM installed on NAND(Honey3D ROM) but I still can't boot to NAND with your kernel, but i can boot to SDCARD with non Sense Kernel. If I installed sense ROM in SDCARD it didn't boot also with your kernel.

If I installed non Sense ROM on NAND and SDCARD both can boot up.

But if one ROM is Sense and another ROM is non sense i can only boot up on non sense ROM with your kernel.

Can you share how do you packed the kernel, cause I've tried to unpack your kernel and replace the senseNand and senseSD boot with the one from Virtuos kernel and repackage the kernel but it didn't boot up at all.

Thank you
[Desire HD Android Development] trh1341:
I don't think so unless it becomes open source and even if its possible without open source it would be illegal
[Desire HD Android Development] trh1341:
Are you ever.going to find a way to make it a bit easier like bootmanager
[Desire HD Android Development] MBT93:
i want to dual boot miui with virtuous unity 3.31 on my inspire 4g...is that possible?will everything work on both phones n will they run ok or will they lag alot?
[Desire HD Android Development] chuandinh:
MIUI is running ok on SD, no lag at all.
[Desire HD Android Development] boredbutter:
If you're having problems with scripting, try Boot Manager from the android market... It is a very simple app to use and you can use up to 4 different ROMs... Provided you have the space on your SD card
[Desire HD Android Development] zubir2k:
here some idea:

dual boot between android and wm7 :p

is it possible?
[Desire HD Android Development] alary:
I'm very interested in this dual boot tool but it seems the wifi problem is still there. Is there any update regarding the problem? I can't wait to try it if wifi works. Thanks :D
[Desire HD Android Development] scsachira:
I'm using ICS beta and I'd like to have dual boot with it. Will this work with ICS? Is there anyone who tried it?
[Desire HD Android Development] SAPPH1RE:
It will work if you want to dual boot from ICS rom to ICS rom.. But if you try it with other non-ICS roms, i think it won't work because of conflicting kernel issue..
[Desire HD Android Development] scsachira:
Hmm...OK.. then only option I have is to use Boot Manager. But I still can't buy anything from market. :( I'm working on it and hope I will able to get it atleast in January.

Thanks a lot for reply SAPPH1RE :)
[Desire HD Android Development] virtualflyer:
Is anyone able to download this from the mirror?
[Desire HD Android Development] boonkeat8:
cant download too.
[Desire HD Android Development] catalin27:
any mirror to download?that one not work
[Desire HD Android Development] catalin27:
is any one who can help me with this installation, i don get this part, hard to understand

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!
[Desire HD Android Development] XDA_h3n:
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).
[Desire HD Android Development] Rabim:
Nice job man this will help out a lot of people
[Desire HD Android Development] ijball:
Would you know if this would work with LordClockan's ICS build and the JellyBean beta? TIA
[Desire HD Android Development] hacktrix2006:
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.
[Desire HD Android Development] fshami:
Not sure if u r already aware, try Boot Manager from Play Store & enjoy upto 5 ROMs installed at a time
[Desire HD Android Development] hacktrix2006:
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.
[Desire HD Android Development] jizang:
Can you please send me the Link ti the thread where you got coredroid Sense 4 for the Desire hd
[Desire HD Android Development] makmert:
what is the advantages of dual booting ?
[Desire HD Android Development] hacktrix2006:
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.
[Desire HD Android Development] lukesan:
owwwww nice so we can run WM6.5 on our Desire HD. No wait that was the HD2 I had 2 weeks ago :-)
[Desire HD Android Development] LorD ClockaN:
no windows on this phone..

How do we flash th erom on SD? we need to extract or?
[Desire HD Android Development] michyprima:
No windows sorry :D

Yep first you'll need to partition your sd card (the partition sizes are of your choice). Then extract on the sd and finally to setup permissions. I will try to make that process as easy as possible (maybe completely automated?).
[Desire HD Android Development] sigurd_LU:
signed

I really want to try this :)
[Desire HD Android Development] fenrhir:
Are

You

Serious?

Of course we are interested in your guide.

We want it.

We need it.

We already love you.

You'll be an hero.