5,593,587 Members 38,326 Now Online
XDA Developers Android and Mobile Development Forum

[GUIDE] How to Dual Boot using the Siyah Kernel

Tip us?
 
Phistachio
Old
(Last edited by Phistachio; 2nd August 2012 at 01:09 PM.)
#1  
Phistachio's Avatar
Recognised Contributor - OP
Thanks Meter 987
Posts: 1,436
Join Date: Oct 2011
Location: Madeira, PT
Cool [GUIDE] How to Dual Boot using the Siyah Kernel

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.
___________________________________________

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
Samsung Galaxy Note 2 - Stock XXDME6 / CM11 4.4 KitKat | XXDME4 Modem | NEAK 2.2 | TWRP 2.6.3.0

Soft bricked/unflashable phone? Check out my Recovery Guide! N7100 and I9100

The Following 193 Users Say Thank You to Phistachio For This Useful Post: [ Click to Expand ]
 
g00ndu
Old
(Last edited by g00ndu; 30th May 2012 at 03:21 AM.)
#2  
Recognized Developer
Thanks Meter 273
Posts: 2,774
Join Date: Apr 2008

 
DONATE TO ME
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.
Galaxy S II
Primary Rom - DianXin OS
Secondary Rom - MiuiAndroid
Kernel - Dorimax 4.0b
 
jav92
Old
#3  
Senior Member
Thanks Meter 2
Posts: 133
Join Date: Aug 2010
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
Old
#4  
DJBoxer's Avatar
Senior Member
Thanks Meter 426
Posts: 615
Join Date: Aug 2010
Location: Southampton

 
DONATE TO ME
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
IF I HELPED YOU IN ANYWAY, PRESS THANKS
The Following User Says Thank You to DJBoxer For This Useful Post: [ Click to Expand ]
 
OGroteKoning
Old
#5  
OGroteKoning's Avatar
Senior Member
Thanks Meter 152
Posts: 332
Join Date: Dec 2011
Maybe it is time GM gets a section in XDA specifically for Siyah ...
The Following User Says Thank You to OGroteKoning For This Useful Post: [ Click to Expand ]
 
Many40
Old
#6  
Many40's Avatar
Recognized Contributor
Thanks Meter 17156
Posts: 4,894
Join Date: Nov 2009
Location: Ω⌂
Quote:
Originally Posted by g00ndu View Post
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

 
My current setup:
Device: SGS2 (i9100)
Kernel: Siyah6.0 beta 4/SuperSU
CPU: 10 steps (100-1000MHz)/UV, pegasusq/sio
GPU: 5 steps (54, 66, 108, 160, 267 MHz)/UV
ROM: JB 4.1.2 XWMS3 NeatRomLite v5.9
Theme: Blue Theme v5 by MyLifeRocks10
 
CoolsboyDroid
Old
#7  
Junior Member
Thanks Meter 1
Posts: 9
Join Date: Dec 2011
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 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.
 
xptok6
Old
#8  
Junior Member
Thanks Meter 0
Posts: 11
Join Date: Mar 2007
Good tutorial, thanks!
 
g00ndu
Old
#9  
Recognized Developer
Thanks Meter 273
Posts: 2,774
Join Date: Apr 2008

 
DONATE TO ME
Quote:
Originally Posted by Many40 View Post
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.
Galaxy S II
Primary Rom - DianXin OS
Secondary Rom - MiuiAndroid
Kernel - Dorimax 4.0b
The Following User Says Thank You to g00ndu For This Useful Post: [ Click to Expand ]
 
Many40
Old
#10  
Many40's Avatar
Recognized Contributor
Thanks Meter 17156
Posts: 4,894
Join Date: Nov 2009
Location: Ω⌂
Quote:
Originally Posted by g00ndu View Post
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.
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/show...php?p=26742671 Regards. Happy if helped.

Sent from my GT-I9100 using xda premium

 
My current setup:
Device: SGS2 (i9100)
Kernel: Siyah6.0 beta 4/SuperSU
CPU: 10 steps (100-1000MHz)/UV, pegasusq/sio
GPU: 5 steps (54, 66, 108, 160, 267 MHz)/UV
ROM: JB 4.1.2 XWMS3 NeatRomLite v5.9
Theme: Blue Theme v5 by MyLifeRocks10

The Following 3 Users Say Thank You to Many40 For This Useful Post: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes