How to dualboot:
What you will need:
An SD Card
ADB
Fastboot
7zip or alternative(Archive manager on linux is good)
Notepad++(gedit is good)

First, flash the dualboot.img

Code:

fastboot flash boot dualboot.img

How to partition SD Card for dual boot:

Code:

adb shell
sdparted -es 1024M -ss 0

When prompted to accept, make sure you use a capital Y
This operation will wipe your sd card :eek: lol
when it is done, type:

Code:

exit

in the command prompt/terminal

Now, put the data.ext2 image in the same folder as adb is

Second of all, you want to mount your second SD Card partition, using your computer with USB debugging enabled do this:

Code:

adb shell
busybox mount /dev/block/mmcblk0p2 /sd-ext
exit

then push the data partition image:

Code:

adb push data.ext2 /sd-ext/data.ext2

Now you have your system partition and data image set up for dualboot, you are also running a dualboot kernel

next thing to do is modify a ROM for boot from SD
We shall use CM7 in this example
Unzip the ROM, and go to /META-INF/com/google/android/ then open updater-script in notepad++, it will not work otherwise
Look for the lines:
Remove these lines:

then save, then zip, then push to phone
Then, flash the update.zip (after doing a NANDROID) then boot phone into NAND.
To boot into SD ROM, do this:
Open terminal emulator and do the commands:

Code:

su
cd cache
cd recovery
touch dualboot
reboot

And you will reboot into SD ROM
You will not be able to use darktremor a2sd or any other a2sd script with any of the ROM's, but, you will be able to use standard stock rom app2sd, in CyanogenMod go into CM settings, then application then set install location to internal to avoid conflicts with .android_secure on both ROM's

Next on my list of development is a linux tool, ftf2rom, what it will so is unpack an ftf and convert it into a flashable zip with the kernel there also, and then there will be ramdisk editor and such...

With the Xperia Play, comes an awesome gamepad, and it works as it should... on the stock rom.
So, people wanted to use CM, but they wanted touchpads, so they just kept stock. Not any more

What I have basically done (basic is not the word to use):
Made a script that is executed on boot that does the following if a certain file is present:
Unmounts NAND system and data partitions.
Mounts NAND partitions to /mnt/system and /mnt/data
Mounts sd-ext mmcblk0p2 to /system
Loops the /system/data.ext2 to loop3 - remember system is now mmcblk0p2
Mounts loop3 as /data
Then removes the temp file used for telling the phone to boot into recovery
So, you need an ext partition on sd that will hold /system files and /data IMG containing files.
I will show you how to adapt a Rom to dualboot when I upload the kernel.

Credits go to Jerpelea for zImage and DooMLoRD for base ramdisk.

Will upload 21st, Tuesday, currently polishing and studying lol.

CDMA to follow tomorrow too

Oh, it works

Keiran

Sent from my R800i using DFR3.0.5 NAND + CM7 SELFKANG SD

Alright, I got to give it up to you on this one. This was a crazy idea and you pulled it off. Much respect for this Kerian.

XDA Developers was founded by developers, for developers. It is now a valuable resource for people who want to make the most of their mobile devices, from customizing the look and feel to adding new functionality.Are you a developer?