• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[MOD] [KERNEL] [C6503] ROMSwitcher | Mithun's Rom Switcher | Alpha [DUALBOOT]

Search This thread

mithun46

Senior Member
Oct 28, 2012
1,275
1,979
▒▅|▆|█|▆|▅▒

f6duPgp.png


Mithun's 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 XZL get bricked or transform into a monster and eat up your cat
It is still in alpha state, but is working for daily use

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 folder are in /data/dual/

This Mod switches between two kernels.
For Timescape you can use any kernel, for AOSP you have to use my modified CM kernel.

Why I created this Mod?
XZL had very little development and fusion3 devices haven't got a multiboot option like this

Default kernel for Timescape is DooMKernel,
if you want to use another kernel, replace xperia.img in /sdcard/romwitcher/ with your favorite kernel.

Sources:
https://github.com/RomSwitchers

How to install?
You can use any AOSP rom!
First Install stock ROM .ftf and root it and install recovery
Then Flash DooMKernel
Download any AOSP rom. Extract it and open META-INF/com/google/android/updater-script
replace this line

Code:
mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/system", "/system");

with this wherever u see it

Code:
mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/cache", "/system");

then delete these lines

Code:
format("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/system", "0", "/system");

and

Code:
package_extract_file("boot.img", "/dev/block/platform/msm_sdcc.1/by-name/boot");

You will need Gapps
Get it here http://goo.im/gapps/

Extract it and open updater-script
and replace

Code:
run_program("/sbin/busybox", "mount", "/system");

with

Code:
mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/cache", "/system");

Zip your rom and gapps.

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 my app
here

Open ROMSwitcher and follow the instructions. It will fetch required files automatically

NOTE: Currently Recovery works on Stock ROM only

That's all have fun :)

2013-08-26

 
Last edited:

mithun46

Senior Member
Oct 28, 2012
1,275
1,979
▒▅|▆|█|▆|▅▒

Wipe data/cache on AOSP rom
Wipe data:
Delete /data/dual/2nddata
Wipe cache:
Delete /data/dual/cache

Install new AOSP rom
Wipe cache in recovery and delete /data/dual
then flash your new rom

Remove AOSP rom
Wipe cache in recovery and delete /data/dual

Do you want support me?
Donate to Grarak - here
You can buy me a pepsi via Google Wallet - Details in Signature
Press Thanks
Press "Tip us?" above the OP
Rate this Thread with 5 Stars
Report bugs

Devices ROMSwitcher Supports
Google Nexus 10 [manta]
Samsung Galaxy S4 [i9500]
Sony Xperia Z [C6603]
 
Last edited:

mithun46

Senior Member
Oct 28, 2012
1,275
1,979
▒▅|▆|█|▆|▅▒

Credits
@Grarak - For all, Awesome Base and all. Simply talking - "Thanks to Grarak for a loooot!!!!"
@Jijonhyuni - using the same dualboot method as he does on Galaxy Nexus
@gokhanmoral - using some scripts of his Siyah Kernel
Paul O'Brian - for concept
@DooMLoRD and @dbolivar - for xperia.img [DooMKernel]

Changelog

28-08-2013
First Release

 
Last edited:

sturmtruppler

Senior Member
Sep 10, 2012
445
143
...really, really awesome!!! It's a pity I don't have the time to test it this weekend, but I certainly will test it!

One question though: both roms are completely independant, right? If I install one app on stock, it's not automatically installed in AOSP, right?

Thank you very much for your great work!!!

Sony Xperia ZL C6503, rooted, 4.2.2 Stock
 
  • Like
Reactions: mithun46

motoridersd

Senior Member
Jul 21, 2008
1,150
341
San Diego
...really, really awesome!!! It's a pity I don't have the time to test it this weekend, but I certainly will test it!

One question though: both roms are completely independant, right? If I install one app on stock, it's not automatically installed in AOSP, right?

Thank you very much for your great work!!!

Sony Xperia ZL C6503, rooted, 4.2.2 Stock

Correct, they each have their own /data partition, hence the second post on how to clear /data for the AOSP ROM.
 
  • Like
Reactions: sturmtruppler

Top Liked Posts

  • There are no posts matching your filters.
  • 31

    f6duPgp.png


    Mithun's 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 XZL get bricked or transform into a monster and eat up your cat
    It is still in alpha state, but is working for daily use

    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 folder are in /data/dual/

    This Mod switches between two kernels.
    For Timescape you can use any kernel, for AOSP you have to use my modified CM kernel.

    Why I created this Mod?
    XZL had very little development and fusion3 devices haven't got a multiboot option like this

    Default kernel for Timescape is DooMKernel,
    if you want to use another kernel, replace xperia.img in /sdcard/romwitcher/ with your favorite kernel.

    Sources:
    https://github.com/RomSwitchers

    How to install?
    You can use any AOSP rom!
    First Install stock ROM .ftf and root it and install recovery
    Then Flash DooMKernel
    Download any AOSP rom. Extract it and open META-INF/com/google/android/updater-script
    replace this line

    Code:
    mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/system", "/system");

    with this wherever u see it

    Code:
    mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/cache", "/system");

    then delete these lines

    Code:
    format("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/system", "0", "/system");

    and

    Code:
    package_extract_file("boot.img", "/dev/block/platform/msm_sdcc.1/by-name/boot");

    You will need Gapps
    Get it here http://goo.im/gapps/

    Extract it and open updater-script
    and replace

    Code:
    run_program("/sbin/busybox", "mount", "/system");

    with

    Code:
    mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/cache", "/system");

    Zip your rom and gapps.

    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 my app
    here

    Open ROMSwitcher and follow the instructions. It will fetch required files automatically

    NOTE: Currently Recovery works on Stock ROM only

    That's all have fun :)

    2013-08-26

    13

    Wipe data/cache on AOSP rom
    Wipe data:
    Delete /data/dual/2nddata
    Wipe cache:
    Delete /data/dual/cache

    Install new AOSP rom
    Wipe cache in recovery and delete /data/dual
    then flash your new rom

    Remove AOSP rom
    Wipe cache in recovery and delete /data/dual

    Do you want support me?
    Donate to Grarak - here
    You can buy me a pepsi via Google Wallet - Details in Signature
    Press Thanks
    Press "Tip us?" above the OP
    Rate this Thread with 5 Stars
    Report bugs

    Devices ROMSwitcher Supports
    Google Nexus 10 [manta]
    Samsung Galaxy S4 [i9500]
    Sony Xperia Z [C6603]
    8

    Credits
    @Grarak - For all, Awesome Base and all. Simply talking - "Thanks to Grarak for a loooot!!!!"
    @Jijonhyuni - using the same dualboot method as he does on Galaxy Nexus
    @gokhanmoral - using some scripts of his Siyah Kernel
    Paul O'Brian - for concept
    @DooMLoRD and @dbolivar - for xperia.img [DooMKernel]

    Changelog

    28-08-2013
    First Release

    3
    @mithun46
    We have made a similar dual-boot system over at the LG Optimus 3D forum. In my signature you will find the link to my thread. I have made a RecoveryTools script that allows our users to backup, restore and wipe their secondary ROMs. Feel free to modify it and make it work for your users.

    Sent from the 3rd dimension!
    2
    any love for xperia z :p ?

    Mithun is working on the Z be patient

    I'm using stock, i need to do a full wipe?

    Sent from my XZQ using The Force

    No