Rom Switcher
This is a Mod which allows you to switching between Timescape and any AOSP based rom.
It's only for advanced users and I am not responsible if your device get bricked or transform into a monster and eat up your cat.
Before you install this, please read the whole post!
Your first rom is Stock Timescape and second rom is any AOSP rom.
The second rom is installed on the /cache partition.
/data and /cache folders for second ROM is in /data/dual/
This Mod switches between two kernels.
For Timescape you have to use my CWM kernel for Sony Rom, for AOSP you have to use my modified CM kernel which will be automatically downloaded by the app.
What is this project about?
Its about a dual boot implementation that is somewhat universal and supports a lot of device. We are the Rom Switchers.
Default kernel for Timescape is Stock Sony Kernel with CWM,
if you want to use another kernel, replace fiirst.img in /sdcard/romwitcher/ with your favorite kernel(must support the rom you are installing).
Sources:
Kernel Source
Dual Boot ramdisk
Currently only supports pollux_windy (might port to pollux if there is enough support)
How to install?
You can use any AOSP rom for second rom!
Needs Unlocked bootloader
First Install stock ROM .ftf
Install CWM kernel and root from HERE
Install BusyBox from HERE
Lazy Version
Open Your AOSP rom zip and copy this zip over it- LINK
Open Your Gapps zip and copy this zip over it- LINK
Long Version
Download any AOSP rom. Extract it and open META-INF/com/google/android/updater-script
replace this line
with this wherever u see it
then delete these lines
and
and
You will need Gapps
Get it here http://goo.im/gapps/
Extract it and open updater-script
and replace
with
Zip your rom and gapps.
replace this line
Code:
mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/system", "/system");
Code:
mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/cache", "/system");
Code:
format("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/system", "0", "/system");
Code:
package_extract_file("boot.img", "/dev/block/platform/msm_sdcc.1/by-name/boot");
Code:
assert(getprop("ro.product.device") == "SGP311" || getprop("ro.build.product") == "SGP311" ||
getprop("ro.product.device") == "SGP312" || getprop("ro.build.product") == "SGP312" ||
getprop("ro.product.device") == "pollux_windy" || getprop("ro.build.product") == "pollux_windy");
Get it here http://goo.im/gapps/
Extract it and open updater-script
and replace
Code:
run_program("/sbin/busybox", "mount", "/system");
Code:
mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/cache", "/system");
Flash both in recovery. (first rom then gapps)
DO NOT WIPE ANYTHING
Reboot your phone and if you did all correct. You should boot into your Timescape Stock rom.
Now download and install the app
Download app here
Open ROMSwitcher and follow the instructions. It will fetch required files automatically
NOTE: Currently First Rom needs to be Sony and Second rom any aosp rom, you can manually replace the first.img with a stock cm kernel to dual boot 2 aosp roms (the folder is /sdcard/romswitcher/, this method should work but i have not tested it due to lack of time)
That's all have fun
XDA:DevDB Information
[MOD] [KERNEL] [pollux_windy] ROMSwitcher [DUALBOOT], a Kernel for the Sony Xperia Tablet Z
Contributors
bluefa1con, mithun46
Kernel Special Features:
Version Information
Status: Testing
Created 2013-09-05
Last Updated 2013-09-06