FORUMS
Remove All Ads from XDA

[GUIDE] dsixda's Android Kitchen - Now with SGS2 I9100 support (Windows/Linux/Mac)

9,588 posts
Thanks Meter: 5,338
 
By dsixda, Inactive Recognized Developer on 20th August 2011, 10:55 PM
Post Reply Email Thread
dsixda's Android Kitchen - Now for Samsung Galaxy SII GT-I9100

Compatible with Windows (Cygwin) / Linux / Mac OS X

The following is a guide to assist you with creating your own Samsung Galaxy S2 custom ROMs with the kitchen. This is NOT a guide to help you become Cyanogen or do fancy things with AOSP, but it may be your springboard to bigger things in the future.

For the benefit of other readers and to prevent confusion, please stay on topic and only discuss Samsung Galaxy S2 in this thread!

Some of you already know about the Android Kitchen. It is a project I started on back in February 2010 to help newbies create their own custom ROMs and learn more about Android. The kitchen has been designed almost exclusively for HTC devices, although many people have had success using it with other manufacturers' ROMs. Recently I bought a Samsung Galaxy S2, and of course, I wanted to take control and create my own custom ROMs. However, ROMs for this device are totally different from those that I had worked on before, and so I decided to take on the project of supporting this device in the Android Kitchen. So, as of version 0.175, you can now create your own ROMs with the kitchen.

First, I'd like to thank pulser_g2 of Villain ROM for voluntarily helping me during his vacation to get started on this SGS2 project. Secondly, a big thanks to Noonski for testing and providing feedback.




PROCEDURE


IMPORTANT: For this guide to work, you need one of the original Exynos-based Galaxy S2 variants, including the Galaxy Note GT-N7000. Unfortunately this means there is no support for the I9100G, since it uses a different chipset. For the Qualcomm-based AT&T Skyrocket, T-Mobile SGH-T989, Telus Galaxy S2 X (SGH-T989D) and other variants, please follow this thread instead.
  1. First, you need a rooted Samsung Galaxy S2 with a ClockworkMod custom recovery.
  2. Visit the Android Kitchen thread to download the kitchen. Then, follow the link to the FAQ which will show you how to install it on Windows, Linux or Mac OS X. Ensure you read the FAQ carefully.
    • IMPORTANT: To verify your variant of the Galaxy S2 works in the kitchen, read this post.
  3. Put your base ROM(s) under the original_update folder. For the Samsung Galaxy S2, there is support for the following formats which can be placed in that folder (you can place multiple ROMs there):
    • Stock firmware:
      • factoryfs.img, cache.img, zImage, hidden.img (if it exists), and modem.bin (optional)
      • TAR file containing factoryfs.img, cache.img, zImage (and optional modem.bin)
      • TAR.MD5 file - Same as above but must be renamed *without* the MD5 part in the file name
      • ZIP file containing factoryfs.img, cache.img, zImage (and optional modem.bin)
    • Custom ROM:
      • ZIP file created by the kitchen from the stock firmware (other ROMs such as CyanogenMod may use a different file structure that is incompatible with the kitchen!)
    • Nandroid backup from ClockworkMod recovery
      • system.img and boot.img
      • system.ext4.tar and boot.img
  4. Here are some basic steps to creating your first ROM after you have your base of files under original_update (more options are available in the kitchen):
    1. Start the kitchen with: ./menu
    2. Create a working folder (by choosing your base ROM)
      • If you used a stock factoryfs.img but then didn't include the cache.img, then you have the option to add a cache.img later using the Extract CSC script in the Advanced menu's 'Plugins' section.
    3. Optional: Add a rooted kernel (zImage) to the base of your working folder
      • If your working folder currently has the stock kernel (zImage), you should replace it with the CF-Root kernel (or any other custom rooted kernel) which must match the stock ROM's Android OS version. Just replace the stock zImage with this zImage any time before you build the ROM. Otherwise, if you keep the stock kernel you will lose access to ClockWorkMod recovery!
      • OR, you can create a ROM without a zImage and thus keep the existing kernel on your device, although you must ensure the kernel is compatible with the ROM!
    4. Optional: Add a modem.bin to the base of your working folder, or remove the existing modem.bin if you don't want it. You can flash the ROM with or without a modem.bin.
    5. Root your ROM (Not required if you are using the CF-ROOT zImage)
    6. Add Busybox (Not required if you are using the CF-ROOT zImage)
    7. Disable boot sounds (if you find the Samsung starting sound a bit annoying)
    8. In the Advanced options menu: De-odex your ROM
      • If you have trouble deodexing the leaked 4.0.3 ROMs, read this post for help.
    9. Build ROM
      • The ROM is built into a ZIP file meant for flashing from the custom recovery menu. No Odin.
  5. Some notes:
    • Just select the defaults whenever you are asked about something in the kitchen and are unsure whether to type 'y' or 'n'.
    • There are lots of questions answered in the FAQ in Posts 3 and 4 of the main Android Kitchen thread. So please go through that first if you have any issues.


Direct your questions to this thread, please do not PM me for tech support. Most of all, have patience, take your time and enjoy!!



USEFUL LINKS
The Following 113 Users Say Thank You to dsixda For This Useful Post: [ View ] Gift dsixda Ad-Free
 
 
20th August 2011, 11:39 PM |#2  
dsixda's Avatar
OP Inactive Recognized Developer
Flag Ottawa
Thanks Meter: 5,338
 
More
Reserved...
The Following 8 Users Say Thank You to dsixda For This Useful Post: [ View ] Gift dsixda Ad-Free
20th August 2011, 11:39 PM |#3  
dsixda's Avatar
OP Inactive Recognized Developer
Flag Ottawa
Thanks Meter: 5,338
 
More
Preserved...
The Following 6 Users Say Thank You to dsixda For This Useful Post: [ View ] Gift dsixda Ad-Free
20th August 2011, 11:39 PM |#4  
Noonski's Avatar
Inactive Recognized Developer / Moderator Emeritus
Flag Amsterdam
Thanks Meter: 146
 
Donate to Me
More
Reserved For something Fun.....

All the hiccups I had where because I was to anxious to read.
For Real Newbs setting up Sygwin on Windows is harder then baking the rom, I enjoyed myself thanks for that and thanks for your hours of work on this project since the beginning it already gave me great hours with my desire.
Enough with the ass kissing
Attached Thumbnails
Click image for larger version

Name:	Brow.jpg
Views:	67764
Size:	17.5 KB
ID:	695539  
The Following 4 Users Say Thank You to Noonski For This Useful Post: [ View ] Gift Noonski Ad-Free
20th August 2011, 11:55 PM |#5  
D.O.C's Avatar
Inactive Recognized Developer / Retired Senior Moderator
Thanks Meter: 3,774
 
Donate to Me
More
Thankyou!...many thanks bro...nice job!
The Following User Says Thank You to D.O.C For This Useful Post: [ View ] Gift D.O.C Ad-Free
21st August 2011, 12:04 AM |#6  
carcassudo's Avatar
Senior Member
Thanks Meter: 12
 
More
sure i will try...
The Following User Says Thank You to carcassudo For This Useful Post: [ View ] Gift carcassudo Ad-Free
21st August 2011, 01:09 AM |#7  
raffaele88's Avatar
Senior Member
Flag Salerno
Thanks Meter: 9,299
 
Donate to Me
More
Big thanks man
The Following User Says Thank You to raffaele88 For This Useful Post: [ View ] Gift raffaele88 Ad-Free
21st August 2011, 01:13 AM |#8  
alesscam's Avatar
Senior Member
Flag Ancona
Thanks Meter: 132
 
More
wow....welcome dsixda......finally
thanks for your hard work man!!!
The Following User Says Thank You to alesscam For This Useful Post: [ View ] Gift alesscam Ad-Free
21st August 2011, 01:28 AM |#9  
clavicle's Avatar
Senior Member
Flag Simla
Thanks Meter: 69
 
More
Wonderful news, I always wanted to learn some cooking and you have made my life simpler by showing me the way. thanks a lot man
The Following User Says Thank You to clavicle For This Useful Post: [ View ] Gift clavicle Ad-Free
21st August 2011, 05:55 AM |#10  
stian230's Avatar
Senior Member
Flag Penguin land,way up north.
Thanks Meter: 1,186
 
Donate to Me
More
Cooking time
The Following User Says Thank You to stian230 For This Useful Post: [ View ] Gift stian230 Ad-Free
22nd August 2011, 04:59 AM |#11  
dsixda's Avatar
OP Inactive Recognized Developer
Flag Ottawa
Thanks Meter: 5,338
 
More
Hi guys, I have updated the kitchen to version 0.176, with a few changes related to the SGS2. Please see the release notes in post #2 of the kitchen thread.
The Following 3 Users Say Thank You to dsixda For This Useful Post: [ View ] Gift dsixda Ad-Free
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes