You are on page 1of 3

Here is the guide to get Real Dual boot on O2X for both BLs.

Please read carefully because this may mess up your phone if you don't know
what you are doing.
Installation Instructions
1. Copy ROM1, ROM2 and the DualBoot-Control.zip, from CWM folder, to
external SD (if available) otherwise in the internal one later after it is fixed.
2. Run AIO-Toolkits Option 4 and follow its instructions to repartition device.
Select the Double-Sized System layout OR your own custom layout, with
your preferred system and data sizes, created with option 9. Attention!! For
custom-sized layouts, minimum acceptable system partition size for
enabling Dual-Boot is 1024 MB for all Bootloaders & Layouts (to be split in
two 512).
If you let Option 4 to enable automatically dual-boot capability, continue
from step 5.
3. Install DualBoot-Control.zip and select Enable Dual Boot option. The phone
will reboot (if supported by recovery) and enter in recovery again (if not select
reboot recovery from recovery).
4. Make a full wipe just in case to avoid boot-loops and format /system
because it may not be formatted by ROMs updater-script (mounts and storage
format /system)
5. Now flash ROM1 (or restore a nandroid backup of ROM1) and without rebooting
install DualBoot-Control.zip, select ROM1 update and reboot when it finishes.
6. When the phone completely boots, you will find an app called SystemChanger,
launch it and click Switch ROM, it will ask you for root rights, click yes, the
phone will reboot quickly, press and hold Pwr button + vol down when the
screen goes black to enter recovery, if the phone doesn't go to recovery,
remove the battery, plug it again and enter recovery.
7. Format /system (the 2nd system now), because it may not be formatted by
ROMs updater-script. (If dual-boot is enabled by Option 4, /system is already
formatted you can skip this step).
8. Now flash ROM2 and without rebooting install DualBoot-Control.zip, select
ROM2 update and reboot when it finishes. (Attention: do not restore a
backup of ROM2 because it will wipe data files of ROM1)
9. And that is all, if you want to switch to ROM1, as before, run SystemChanger
and click Switch ROM.

How to change/update a ROM or Kernel


1. You have to be on the ROM you want to change/update.
2. Enter Recovery
3. If you are changing the ROM or kernel and/or a wipe is needed, install the
DualBoot-Control.zip and select Wipe current ROM data.
4. Flash the ROM or kernel and before reboot install the DualBoot-Control.zip and
select ROM1 update if you flashed ROM1 or ROM2 update if you flashed ROM2.
Info: There is also the wipe-rom-x-data.sh in /data/dual-boot/ which can be used to
delete the non-running Roms data. You can also run this from terminal or adb shell to
clean the data of the non-running Rom quickly. For example if you are on ROM1 and
you want to change the ROM2 run the script to wipe ROM2 data, switch to ROM2 but
when screen goes black press pwr & vol- to enter recovery and flash your new ROM2.

How to disable Dual Boot


1. You have to be on the ROM you want to keep.
2. Enter recovery
3. Install the DualBoot-Control.zip and select Remove Dual Boot. This will wipe
the data of the other ROM and will also remove the SystemChanger app and
scripts. Useful if you want to make a clean nandroid backup, to restore after a
repartitioning to normal layout with AIO-Toolkit.

F.A.Q Section
What is this useful for?
Devs: you can have one ROM configured and ready for use in one partition and
a second partition to test your ROMs without touching your daily ROM, so you
wont need to wipe or backup anything.
Users: you can have a stable ROM, lets say a stock ROM with everything
working and configured and you can have a second partition to test ROMs (for
example a custom stock based one or a CM10 beta) so you won't need to do
backups and wipes.
How Dual Boot works?
This method needs a large (at least double-sized 1024MB) system partition which is
split into two parts for each ROM. The data partition is common for both ROMs. After
repartitioning your device for dual-booting, Dual Boot is enabled and maintained by
the DualBoot-Control.zip. It is an aroma-style zip, included in CWM folder, with
these options.
If Dual-Boot is not yet enabled (the 1st time after repartitioning)

Enable Dual Boot: this option enables Dual boot by splitting the system
partition into two parts. It is needed only once after repartitioning.
Exit: It does nothing, just exits the aroma installer.

After Dual-Boot is enabled, DualBoot-Control.zip will automatically detect on which


ROM you are currently on and the following options will be displayed.

ROMx update: This option has to be run after flashing a ROM or changing its
kernel. After running it and booting the phone, you will find an app called
SystemChanger, by launching this app and selecting [Switch ROM], the phone
will reboot into the other ROM.
Wipe current ROMs data: Use this to wipe current ROMs data if a full wipe is
required or wanted. Dont use recoverys full wipe option because it will wipe
data of both ROMs.
Remove Dual Boot: This option cleans up the current ROM. It removes the
SystemChanger app and scripts from system and wipes the data of the other
ROM.
Switch to ROMy: This option gives you the ability to switch ROMs within
recovery (not only by launching SystemChanger App).
Re-join the split system partition: This option makes system partition whole
again with its total size. Attention !! The /system partition will be unusable
after it is rejoined and ONLY current ROMs data will be kept. The device will
automatically reboot for changes to take effect. Format /system after reboot
and install the current ROM again.
Exit: It does nothing, just exits the aroma installer.
(Where x is current ROMs number, y is the other ROMs number)

What ROMs can I use?


You can use theoretically, any combination of ROMs for dual booting, working on the
same Bootloader of course. The only ROMs you should not use are Auto-wipe ROMs
because they will delete your data partition and with it ROM1 and ROM2 save files. Of
course if you are an advanced user, you can open the wipe rom and modify the
updater-script to remove the auto wipe lines.

You might also like