Documente Academic
Documente Profesional
Documente Cultură
3. Notepad++
4. A Class 6 or better Micro SD Card+a good card reader (lower than class 6 will give you
lags/phone freeze, but, it'll work)
8. Mobile uncle tool (google play, apk) installed in phone (or sp flash tool in pc, if you want it this
way )
Steps:-
Plug your memory card using card reader and copy everything from it to PC as we are going to
partition it.
Select your card in mini tool and delete the partition. Partition it as follows-
This is the space you will see as your memory card (external sd) in both of your roms.
Get the updater-script of the rom you want to dual boot and open it up in notepad++
Find what-mmcblk0p3 (may differ for different devices, look for "mount("ext4", "EMMC",
"/dev/block/mmcblk0p3");" in updater script to know)
Replace with-mmcblk1p2
Note: if there is data folder in rom's zip then you also have to replace data partition block with
mmcblk1p3, like: mmcblk0p5--->mmcblk1p3
Unpack boot.img of the rom you want to dual boot using mt65xx tool and cygwin.
Open notepad++ and drag and drop all files of ram-disk to notepad++
Once again, find and replace:
Find what-emmc@android
Replace with-mmcblk1p2
Find what-emmc@usrdata
Replace with-mmcblk1p3
Find what-emmc@cache
Replace with-mmcblk1p4
4. PREPARING SECONDARY ROM'S RECOVERY (OPTIONAL IF YOU DON'T WANT TO CHANGE THE
SECONDARY ROM EVER):[/COLOR]
Unpack recovery.img like your unpacked boot.img and open 'etc\recovery.fstab' with notepad++
Code:
to this
Code:
Rename the Copy of Boot.zip to DualBoot.zip and place Secondary Rom's boot.img (the one you
edited in step 3) in it with meta-inf folder.
"1Primary Rom"
"1Secondary Rom"
a. Boot.zip
a. DualBoot.zip
b. Secondary Rom.zip
7. FLASHING/SWITCHING ROMS:
Just reboot to recovery and flash the Secondary rom from "1Secondary Rom' folder and after
that flash "DualBoot.zip"
To Switch Roms, Reboot to recovery and flash Boot.zip for primary and DualBoot.zip for
secondary rom.
Like in my case, if you want to test/use both rom at the same time or want to use features of
both roms at the same time, consider making a filter in primary rom's titanium backup, of user
apps which are common in both the roms, and export the list to clipboard.
Create a widget of ti backup up to 'backup all modified data' and use the filter you just created.
Open any file explorer (i use es file explorer) and create a new text file and past the list of apps
(you exported to clipboard in ti backup), save it.
Reboot to secondary rom, open that text file, copy everything, open ti backup, create filter,
import from clipboard, save and create a widget same way.
Whenever you want to switch rom, tap the widget, reboot to secondary/primary rom, restore
filter.
For contacts, calender, browser bookmarks, etc, use google account to sync in both roms.
Notes:
1. By this folder preparation in memory card, you will get these two folders at the top in cwm
recovery, this is for ease only.
2. If you want to use data on sd kind of thing, use mmcblk1p5 instead of mmcblk1p2 (not tested
if data on sd will work or not with secondary rom)
3. If you want to apply any update to secondary rom, check the updater-script of the update if
there is a need to edit mount path (mmcblk0p3-->mmcblk1p2)
4. Recovery for secondary rom should be flashed using mobile uncle tools/sp flash tool before
flashing secondary rom, second time. As this time we will need to wipe data, cache, dalvik-cache
and system if required.