DualBoot Manual
DualBoot Manual
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.
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 uses a) a double-sized system partition which is split into two parts and b) an enlarged data/partition common to 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 selected after flashing ROM 1 or changing its kernel. After flashing it and booting the phone, you will find an app called SystemChanger, by launching this app and selecting [Switch ROM], the phone will reboot and start the other ROM. Wipe current ROMs data: Use this to wipe current ROMs data if required. 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 SystemChangerx App). 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.