[Hero, G2 Touch Android Development] kendong2:
major update here, the dualizer has become a feature rich toolkit for dualbooting. this includes a modified version of amon ra's recovery image. you need it to use the dualizer toolkit, it is included and can be flashed with one command.

it is a beta version for now. i have tested each option, but i cannot foresee all conditions you might have on your phone... have a backup at all time! and don't forget to backup the stuff from your sdcard before installing dualboot, during the creation of this toolkit i accidently deleted everything on mine...

there is no logging at the moment,

if you get any error messages please paste them here in full.

i haven't tried a nandroid backup at all yet, and wouldn't advice you to do it either. please use apps like titanium backup to backup your stuff. i will be looking into getting some kind of nandroid capability, but that is not a trivial topic. i can however imagine to have full pc-based backup capabilites, sometime in the future... :)

before you use any of the romX options make sure you have installed the dualboot environment, i have no idea what happens otherwise...

i have tried to include a full description, please let me know if something is unclear (i hope it is obvious that romX needs to be replaced with either rom1 or rom2):

kendon's dualboot toolkit for the HTC Hero

usage: ./dualizer <option>

place the two roms you want to use for dualbooting in the
rom1 and rom2 subdirectories. make sure directories do
contain other files. you can use the temp/ subdir of the
two rom folders to store your roms while you want to flash
another update.zip

you need a modified version of Amon_Ra's custom recovery image.
it can be installed with this tool, see the options.

options are:

help show this information

vmsetup prepare ubuntu vm for usage

check-dev check if your device is properly attached and connected via adb

boot-rec reboot hero to currently flashed recovery

check-rec check if RA-hero-v1.6.2-DBmod is currently flashed

boot-dbmod put hero in fastboot mode (back+power) first!
fastboot hero with RA-hero-v1.6.2-DBmod
no permanent changes are done, works with unlocked spl only
NOTE: the trackball doesn't select, use green key instead

unlocked-spl copies update.zip for unlocked spl to sdcard, so you can flash it.
if this goes wrong it can brick your phone, make sure you do it right!

flash-dbmod flash RA-hero-v1.6.2-DBmod to recovery partition (permanently)
NOTE: the trackball doesn't select, use green key instead

install-db ALL your data will be lost, so you better have a backup!
install dualboot environment on htc hero
this includes partitioning of the sdcard
place roms in folders rom1 and rom2 first!

romX wipedata wipe data/factory reset romX

romX wipedalvik wipe dalvik-cache for romX

for the following options place update.zip file in folder romX first!

romX flash flashes update.zip from folder romX

romX makeboot create boot.img-update.zip files for romX
romX makeboot push create boot.img-update.zip files for romX and push it to /sdcard

i don't see any potential to brick your phone, even if it fails, as the critical parts (spl, radio) are not touched at all. worst that could happen is that you have to do a full wipe and flash a rom... be careful while flashing recovery and/or bootloader though!

as always: use at own risk!

note: first (and maybe second) boot maybe painfully slow. after that it gets better, see for yourself if it is too slow for you. i have been using villainrom and slidevillain in a dualboot for a few days now, i haven't noticed too much slowdown. then again i don't care too much about this.

credits: huge thx to the ppl in this thread: http://xdaforums.com/showthread.php?t=594077 the information in there helped a lot.

changelog:

v0.2: major update, toolkit for flashing, wiping etc.

v0.1: initial release