[GUIDE] How to Dual Boot using the Siyah Kernel

Search This thread

Phistachio

Senior Member
Oct 22, 2011
1,475
1,026
24
Belgium, BE
Hello fellas :)

This guide is just a quick how-to on dual booting. Many people have doubts on how to dual boot on Siyah, because it's something new and perhaps "scary" because they may think it can brick their phone.
___________________________________________

Requirements

  • A Galaxy S II I9100
  • 3.x Siyah Kernel (3.2.x preferred). For latest version, visit the Siyah Kernel thread
  • 90% charged battery
  • 2.5GB of free space in your internal SD card
  • Patience
  • Time

So, do you complete all those requirements? Time to go to action. BUT BEFORE, a brief FAQ in a simplified way, based from this post made by the amazing droidphile :)
___________________________________________

FAQ

Can I dual boot Ice Cream Sandwich and Jelly Bean?
Yes you can, using Siyah v3.5.2.

1) What is dual booting?
Dual booting is the ability to boot into two different Ice Cream Sandwich-based ROMs (like CM9 and AOKP).

2) How is this done?
This is achieved by sharing the kernel and using a hidden partition in dev/block to store the 2nd ROM's /system and the /sdcard (Internal storage) to store /data and /cache inside a hidden folder (/sdcard/.secondrom)

3) How much does it take to clone a ROM?
It should take around 7 minutes

4) I want to dual boot fasturr. wat do?
When you get the splash screen to choose between ROMs, touch the screen or press volume UP to enter the PRIMARY ROM, and press the Home button or volume down for the SECONDARY ROM.

5) How can I remove the Dual boot and its partitions?
Just use the "Remove 2nd ROM" option in the Dual Boot options menu.

6) If I format my /sdcard, will my second ROM go kaput?
Yep, because you're wiping the folder that contains /data and /cache.

7) Can I dual boot a gingerbread ROM in a ICS ROM?
Niet. No. :p
___________________________________________

Now, the PROCEDURE

  1. You must flash the Siyah kernel, either with CWM or ODIN
  2. After you have flashed the kernel, reboot and let Android upgrade itself.
  3. All done? Alright, move up to next step!
  4. Download the desired ROM that you want to make it secondary, and place it in a safe place in your internal SD card
  5. After that, reboot to CWM Recovery, and navigate to "Dual Boot options"
  6. You'll see a list of options, namely :
    • View current status
    • Clone 1st ROM to 2nd ROM
    • Clone 2nd ROM to 1st ROM
    • Swap 1st ROM with 2nd ROM
    • Swap 2nd ROM with 1st ROM
    • Remove 2nd ROM
    • Install 2nd ROM from Internal SD card
    • Install 2nd ROM from External SD card
    • Wipe 2nd ROM data/cache
    • Wipe 2nd ROM dalvik-cache
    • Fix 2nd ROM permissions

      What does each one mean, you ask?
      • View current status - This option will show you the stats of the dual booted ROM.
      • Clone 1st ROM to 2nd ROM - This option will copy (clone) the current ROM that you use (for example, CM9) and paste it to the 2nd ROM directory. Takes around 7-20 mins.
      • Clone 2nd ROM to 1st ROM - This options copies the 2nd ROM (after installed of course) and pastes it to the place where the 1st ROM was, replacing it.
      • Swap 1st ROM with 2nd ROM - This will swap the 1st ROM with the 2nd ROM, making the Primary ROM -> Secondary ROM and the Secondary ROM -> Primary
      • Swap 2nd ROM with 1st ROM - This will do the exact opposite of the above option
      • Remove 2nd ROM - This will completely wipe and remove any 2nd ROM files and folders
      • Install 2nd ROM from Internal SD card - This option is to flash the ROM to the 2nd ROM directory from the Internal SD card
      • Install 2nd ROM from External SD card - This option is to flash the ROM to the 2nd ROm directory from the External SD card
      • Wipe 2nd ROM data/cache - This will wipe the 2nd ROM data and cache. When it's done for the first time, it'll create data.img and cache.img and create the folders inside /sdcard/.secondrom, preparing your phone for the 2nd ROM.
      • Wipe 2nd ROM dalvik-cache - This will wipe the dalvik cache of the 2nd ROM
      • Fix 2nd ROM permissions - This will fix the permissions of the 2nd ROM
  7. Select the option Wipe 2nd ROM data/cache. This will prepare your phone to flash the 2nd ROM. It takes around 5-7 minutes.
  8. After having that done, select the option to wipe the dalvik cache.
  9. After all that is done, select either "Install 2nd ROM from Internal SD card" or "Install 2nd ROM from External SD card" depending on the location of your ROM
  10. Wait a few minutes for the flash
  11. Reboot
  12. Press the Home button or volume down to enter the Secondary ROM
___________________________________________

After you have done all that, you're set and you're in the Dual Booting world! :) I hope that this guide helped you, and if it did, press the thanks button!
___________________________________________

Credits

GokhanMoral - For his amazing kernel
Droidphile - For his great FAQ
 
Last edited:

g00ndu

Retired Recognized Developer
Apr 22, 2008
2,781
273
Nice. Great for people who are not sure how they going to set up their dual boot option.

Edit: What about mounts and options, where you need to format the /secondrom_cache, /secondrom_system and /secondrom_data when you try to setup the very first time? If this step is not taken, you won't be able to have the option to choose either 1st or 2nd rom. Only subsequent reflashing of 2nd rom, then you just need to wipe 2ndrom cache and data.

Unless Gokhanmoral had changed his kernel, I think this is the most important part.

Please correct me if I am wrong.
 
Last edited:

jav92

Senior Member
Aug 5, 2010
141
4
Nice tutorial, very clear...

One question: I want to dual boot to a stock ICS rom for use a MHL adapter (resurrection remix dont support it as most of the AOSP/AOKP roms)... appart of that, what uses can you give to dual boot?? I cant imagine more!
 

DJBoxer

Senior Member
Aug 9, 2010
789
391
Lomita
whats wrong with this guide which is in the first post of siyah thread if people fail to read the faq prior to doing this instructions are pretty easy anyways even tho your guide is more clearer and pretty lol and you have taken the time to do this you will still get the some old questions beening asked lol.

anyways best wishes to you ;)
 
  • Like
Reactions: Thenextgendeveloper

Many40

Senior Member
Nov 25, 2009
5,598
17,881
Nice. Great for people who are not sure how they going to set up their dual boot option.

Edit: What about mounts and options, where you need to format the /secondrom_cache, /secondrom_system and /secondrom_data when you try to setup the very first time? If this step is not taken, you won't be able to have the option to choose either 1st or 2nd rom. Only subsequent reflashing of 2nd rom, then you just need to wipe 2ndrom cache and data.

Unless Gokhanmoral had changed his kernel, I think this is the most important part.

Please correct me if I am wrong.

It seems that kernel was changed recently. What I did for my current dual-booting (used Siyah 3.2.3 that time): Wiped data/cache and dalvik of 2nd rom and just flashed new rom from recovery. I didn't format any partitions and had no problems at all with possibility to choose a rom at boot. Regards
 

CoolsboyDroid

Member
Dec 21, 2011
9
1
Perhaps you can put in the GUIDE FAQ that step 9 doesn't flash the kernel image if present in the zip. (Assuming that it doesn't flash anything other than the /system and /data partitions :p correct me if I'm wrong)

The first time I used it I feared that I would mess up because I knew that the zip had the kernel img inside.
 

g00ndu

Retired Recognized Developer
Apr 22, 2008
2,781
273
It seems that kernel was changed recently. What I did for my current dual-booting (used Siyah 3.2.3 that time): Wiped data/cache and dalvik of 2nd rom and just flashed new rom from recovery. I didn't format any partitions and had no problems at all with possibility to choose a rom at boot. Regards

What about the 1st time when you set up your dual rom? I remember that there were a few people who had written in saying they do not have the option of booting into the 2nd rom after following the method describe by the OP. :confused:
 
  • Like
Reactions: xavier1004

Many40

Senior Member
Nov 25, 2009
5,598
17,881
What about the 1st time when you set up your dual rom? I remember that there were a few people who had written in saying they do not have the option of booting into the 2nd rom after following the method describe by the OP. :confused:

Belive me I did only what I wrote to you. I did not format any partitions and had no problems at boot at all. (Boot option to choose 2nd rom has been available). To be sure I have asked this afternoon also droidphile (author of very helpful guide and experienced on this topic). This is his answer: http://forum.xda-developers.com/showthread.php?p=26742671 Regards. Happy if helped.

Sent from my GT-I9100 using xda premium
 

Phistachio

Senior Member
Oct 22, 2011
1,475
1,026
24
Belgium, BE
whats wrong with this guide which is in the first post of siyah thread if people fail to read the faq prior to doing this instructions are pretty easy anyways even tho your guide is more clearer and pretty lol and you have taken the time to do this you will still get the some old questions beening asked lol.

anyways best wishes to you ;)

My intent was to make it even easier and more accessible/straightforward. My guide is meant for first timers, while that guide is more for people who have basic knowledge, which isn't always the case.

Nice. Great for people who are not sure how they going to set up their dual boot option.

Edit: What about mounts and options, where you need to format the /secondrom_cache, /secondrom_system and /secondrom_data when you try to setup the very first time? If this step is not taken, you won't be able to have the option to choose either 1st or 2nd rom. Only subsequent reflashing of 2nd rom, then you just need to wipe 2ndrom cache and data.

Unless Gokhanmoral had changed his kernel, I think this is the most important part.

Please correct me if I am wrong.

What about the 1st time when you set up your dual rom? I remember that there were a few people who had written in saying they do not have the option of booting into the 2nd rom after following the method describe by the OP. :confused:

Replying to both of those quotes, wiping data/cache creates data.img and cache.img. GM did a great job on dual booting, now it requires fewer steps.
 
  • Like
Reactions: g00ndu

Catley

Senior Member
Mar 13, 2012
87
19
Kent
Not booting second rom!

Hey there its a good tutorial but the problem is that its not booting the second rom! My primary rom is Resurrection Remix v2.0 and I want to dual boot Cyanogenmod 7.2.0 RC3 but I do everything and when I go to boot it and press the home button to boot into the second rom it just displays a blank screen with no boot animation. Any help would be appreciated!


Thank you!

Catley!:D
 

Phistachio

Senior Member
Oct 22, 2011
1,475
1,026
24
Belgium, BE
Hey there its a good tutorial but the problem is that its not booting the second rom! My primary rom is Resurrection Remix v2.0 and I want to dual boot Cyanogenmod 7.2.0 RC3 but I do everything and when I go to boot it and press the home button to boot into the second rom it just displays a blank screen with no boot animation. Any help would be appreciated!


Thank you!

Catley!:D

7) Can I dual boot a gingerbread ROM in a ICS ROM?
Niet. No. :p

It's all in the FAQ/OP...
 
  • Like
Reactions: Catley

Many40

Senior Member
Nov 25, 2009
5,598
17,881
I currently have VK 4.8 and I was wondering if it's possible to install a stock rom as secondary, XXLPW for istance.
Thanks

Currently ICS Sammy and AOSP roms can be dual-booted so it's possible.
If you have .zip CWM flashable rom file:
1. Flash Siyah kernel
2. Flash your rom as 2nd from dual boot CWM menu
If you have .tar Sammy rom file:
1. Flash Siyah kernel
2. Clone 1st rom to 2nd
3. Flash Sammy rom as 1st rom from for example mobile odin - remember not to loose root so when you open rom .tar file then when all partitions are recognized change in odin stock kernel to Siyah.
4. Swap 1st and 2nd roms.

Sent from my GT-I9100 using xda premium
 
Last edited:
  • Like
Reactions: Shahrokh.KING

quijote1

Senior Member
Mar 24, 2012
1,043
919
Rota
Hi,
I have Resurrection Remix 2.0 as my 1st ROM with Siyah 3.2.7.2. I'd like to add Slim ROM as a 2nd, but Slim comes with the Fluxi kernal as part of the zip. Will that screw things up?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 195
    Hello fellas :)

    This guide is just a quick how-to on dual booting. Many people have doubts on how to dual boot on Siyah, because it's something new and perhaps "scary" because they may think it can brick their phone.
    ___________________________________________

    Requirements

    • A Galaxy S II I9100
    • 3.x Siyah Kernel (3.2.x preferred). For latest version, visit the Siyah Kernel thread
    • 90% charged battery
    • 2.5GB of free space in your internal SD card
    • Patience
    • Time

    So, do you complete all those requirements? Time to go to action. BUT BEFORE, a brief FAQ in a simplified way, based from this post made by the amazing droidphile :)
    ___________________________________________

    FAQ

    Can I dual boot Ice Cream Sandwich and Jelly Bean?
    Yes you can, using Siyah v3.5.2.

    1) What is dual booting?
    Dual booting is the ability to boot into two different Ice Cream Sandwich-based ROMs (like CM9 and AOKP).

    2) How is this done?
    This is achieved by sharing the kernel and using a hidden partition in dev/block to store the 2nd ROM's /system and the /sdcard (Internal storage) to store /data and /cache inside a hidden folder (/sdcard/.secondrom)

    3) How much does it take to clone a ROM?
    It should take around 7 minutes

    4) I want to dual boot fasturr. wat do?
    When you get the splash screen to choose between ROMs, touch the screen or press volume UP to enter the PRIMARY ROM, and press the Home button or volume down for the SECONDARY ROM.

    5) How can I remove the Dual boot and its partitions?
    Just use the "Remove 2nd ROM" option in the Dual Boot options menu.

    6) If I format my /sdcard, will my second ROM go kaput?
    Yep, because you're wiping the folder that contains /data and /cache.

    7) Can I dual boot a gingerbread ROM in a ICS ROM?
    Niet. No. :p
    ___________________________________________

    Now, the PROCEDURE

    1. You must flash the Siyah kernel, either with CWM or ODIN
    2. After you have flashed the kernel, reboot and let Android upgrade itself.
    3. All done? Alright, move up to next step!
    4. Download the desired ROM that you want to make it secondary, and place it in a safe place in your internal SD card
    5. After that, reboot to CWM Recovery, and navigate to "Dual Boot options"
    6. You'll see a list of options, namely :
      • View current status
      • Clone 1st ROM to 2nd ROM
      • Clone 2nd ROM to 1st ROM
      • Swap 1st ROM with 2nd ROM
      • Swap 2nd ROM with 1st ROM
      • Remove 2nd ROM
      • Install 2nd ROM from Internal SD card
      • Install 2nd ROM from External SD card
      • Wipe 2nd ROM data/cache
      • Wipe 2nd ROM dalvik-cache
      • Fix 2nd ROM permissions

        What does each one mean, you ask?
        • View current status - This option will show you the stats of the dual booted ROM.
        • Clone 1st ROM to 2nd ROM - This option will copy (clone) the current ROM that you use (for example, CM9) and paste it to the 2nd ROM directory. Takes around 7-20 mins.
        • Clone 2nd ROM to 1st ROM - This options copies the 2nd ROM (after installed of course) and pastes it to the place where the 1st ROM was, replacing it.
        • Swap 1st ROM with 2nd ROM - This will swap the 1st ROM with the 2nd ROM, making the Primary ROM -> Secondary ROM and the Secondary ROM -> Primary
        • Swap 2nd ROM with 1st ROM - This will do the exact opposite of the above option
        • Remove 2nd ROM - This will completely wipe and remove any 2nd ROM files and folders
        • Install 2nd ROM from Internal SD card - This option is to flash the ROM to the 2nd ROM directory from the Internal SD card
        • Install 2nd ROM from External SD card - This option is to flash the ROM to the 2nd ROm directory from the External SD card
        • Wipe 2nd ROM data/cache - This will wipe the 2nd ROM data and cache. When it's done for the first time, it'll create data.img and cache.img and create the folders inside /sdcard/.secondrom, preparing your phone for the 2nd ROM.
        • Wipe 2nd ROM dalvik-cache - This will wipe the dalvik cache of the 2nd ROM
        • Fix 2nd ROM permissions - This will fix the permissions of the 2nd ROM
    7. Select the option Wipe 2nd ROM data/cache. This will prepare your phone to flash the 2nd ROM. It takes around 5-7 minutes.
    8. After having that done, select the option to wipe the dalvik cache.
    9. After all that is done, select either "Install 2nd ROM from Internal SD card" or "Install 2nd ROM from External SD card" depending on the location of your ROM
    10. Wait a few minutes for the flash
    11. Reboot
    12. Press the Home button or volume down to enter the Secondary ROM
    ___________________________________________

    After you have done all that, you're set and you're in the Dual Booting world! :) I hope that this guide helped you, and if it did, press the thanks button!
    ___________________________________________

    Credits

    GokhanMoral - For his amazing kernel
    Droidphile - For his great FAQ
    3
    Thanks again for your answers,Im currently trying this out but I have another doubt,when I flash Stock ROM will that flash a new kernel and overwrite siyah kernel? or it will just install the rom?
    Because Siyah is a kernel only for AOKP right?
    Just asking.

    Thanks.

    If you flash stock Sammy rom or other type (doesn't matter) it will replace Siyah kernel with a kernel provided by the rom. But you are wrong saying that it is only for AOKP - Siyah kernel works with many types of ics rom (Samsung, CM9, AOKP). So if you flash Sammy rom as 1st one you have to reflash Siyah kernel afterwards. But if you flas a rom as 2nd one current kernel will stay because a kernel from this rom will not be flashed.
    BTW if you would like to thank someone who tries to help you the best way is to press "THANK" button. Regards.

    Sent from my GT-I9100 using xda premium
    3
    Anyone out there have advice on a dual boot issue? I'm running resurrection remix 2.6 as my stable/daily OS and would like to install resurrection remix 3.0.9 as secondary ROM and dual boot. I'm running Siyah v4.1.4. I followed the exact steps listed in other XDA forums but i can't get past the Samsung start-up screen.

    Was about to give up, but figured I would ask.

    Thanks...:confused:

    first update siyah v4.1.4 of urs to v4.1.5, and then dwnld the RR3.0.9 rom properly from the Mirror link in Post#2 of the RR main thread, also verify the MD5 and then do the installation and see:)

    And if it still doesn't work, even you claim you followed all the steps from OP, better describe us step by step what you did to get quicker support. Regards
    3
    What about the 1st time when you set up your dual rom? I remember that there were a few people who had written in saying they do not have the option of booting into the 2nd rom after following the method describe by the OP. :confused:

    Belive me I did only what I wrote to you. I did not format any partitions and had no problems at boot at all. (Boot option to choose 2nd rom has been available). To be sure I have asked this afternoon also droidphile (author of very helpful guide and experienced on this topic). This is his answer: http://forum.xda-developers.com/showthread.php?p=26742671 Regards. Happy if helped.

    Sent from my GT-I9100 using xda premium
    3
    Got it... although can't i use Titanium backup to restore some of the apps from the primary to secondary???


    Yes, you can (but you have to be sure that all apps are compatible with both roms). As default settings Titanium Backup uses /sdcard/TitaniumBackup directory to backup apps. But later on when you use apps on both roms and from time to time backup them - the last backup will be valid (doesn't matter from which rom they were made) - apps database will be overwritten by each backup. I personnally prefer to maintain separated backups for each rom to keep uniqueness of apps settings of each rom. You can set different folder in TB of 2nd rom in TB settings / Backup folder location.
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone