[Android] arnabJ:
Cooking A Custom Rom Method 1.

Welcome To The Guide For Cooking Custom Roms Method-1.

THIS GUIDE WILL WORK FOR ANY ANDROID DEVICE, NO MATTER GINGERBREAD, ICS OR JELLY BEAN.

​

WHOM WILL THIS TUTORIAL HELP?

ABSOLUTE BEGINNERS;

PEOPLE WITH LITTLE OR NO DEVELOPING SKILLS;

PEOPLE WHO WANT TO COOK THEIR OWN ROM N WANT TO TRY FEW BASIC MODS;

THUS, THIS TUTORIAL IS FOR ANYONE & EVERYONE.

PLZ NOTE EACH ONE OF YOU READING THIS POST I ASSUME YOU HAVE ALREADY READ ALL THE PREVIOUS POSTS/GUIDES TO SETUP YOUR COMPUTER/LAPTOP N HAVE DONE SAME ALREADY N THAT YOU ARE NOW READY TO COOK YOUR ROM.
​

BASIC GO-THROUGH WITH THE TOOLS YOU WILL NEED.

WINDOWS USERS:

JAVA;

CYGWIN;

ANDROID KITCHEN;

NOTEPAD++;

PAINT.NET/GIMP IMAGE MANIPULATION PROGRAM/ADOBE PHOTOSHOP;

7-ZIP.

LINUX DISTRO/UBUNTU USERS:

JAVA;

ANDROID KITCHEN;

ANY TEXT EDITOR;

GIMP IMAGE MANIPULATION PROGRAM;

ANY ARCHIVE MANAGER[RECOMMENDED : p7zip]

THE ACTUAL GUIDE STARTS HERE.

WINDOWS USERS FOLLOW THESE STEPS:

STEP 1. START THE ANDROID KITCHEN

PLZ NOTE:

First our folder structure should look like this:

cygwin folder/home/your user name/kitchen

Inside the kitchen it should look like this:

OPEN THE CYGWIN TERMINAL FROM THE DESKTOP/START MENU SHORTCUT;

TYPE:

cd kitchen[PRESS ENTER]
./menu[PRESS ENTER]

TRICK-O-TREAT!!:D

PICTURE TUTORIAL:

LINUX / UBUNTU USERS FOLLOW THESE STEPS:

STEP 1. START THE ANDROID KITCHEN

PLZ NOTE:

First our folder structure should look like this:

\home\username\android\kitchen;

Inside the kitchen folder it should look like this:

OPEN TERMINAL PROGRAM;

NAVIGATE TO THE FOLDER WHERE YOU HAVE EXTRACTED THE KITCHEN by TYPING:

NOW TYPE THE FOLLOWING CODE TO GET INTO KITCHEN:

NOW TYPE THE FOLLOWING CODE TO BOOT INTO KITCHEN:

NOTE: GUYS IF U GET ERROR LIKE PERMISSION DENIED THEN FIRST TYPE THE FOLLOWING CODE:

THEN AGAIN TYPE:

TRICK-O-TREAT!!;)

PICTURE TUTORIAL

PLZ NOTE FROM THIS POINT EVERY STEP IN THIS POST IS COMMON OR ALMOST SAME FOR BOTH WINDOWS & LINUX / UBUNTU USERS. IF YOU DO NOT UNDERSTAND ANY PART FELL FREE TO POST A COMMENT WITH YOUR PROBLEM. BUT BEFORE THAT DO TRY TO UNDERSTAND WHAT IS BENN ASKED TO DO.
​

STEP 2. Collecting Required Files And Folders :

Main Files/Folders Required :

META-INF

system

/app

/bin

/etc

/fonts

/framework

/lib

/media

/semc[ONLY FOR XPERIA USERS]

/usr

/xbin

build.prop

boot.img[ITS NOT NECESSARY]

HOW TO GET THESE FILES/FOLDERS?

ANSWER: GUYS YOU WILL NEED A FRESHLY FLASHED/FACTORY RESTED MOBILE PHONE TO GET BEST RESULTS.

A USED MOBILE WILL HAVE A LOT OF JUNK FILES WHICH WE DON'T NEED AT ALL.

NOW IF YOU HAVE ROOTED YOUR MOB THEN SKIP THIS STEP OR ELSE FOLLOW THIS TO ROOT YOUR MOBILE :

GUYS GO TO THIS POST BY ME TO ROOT YOUR SAMSUNG GINGERBREAD MOBILE : ROOTING GUIDE BY MEE =)

OTHER GB/ICS/JB USERS PLZ SEARCH XDA FOR ROOTING YOUR MOBILE PHONE.

NOW USERS YOU NEED CLOCKWORK MOD CUSTOM RECOVERY OF YOUR MOBILE. DOWNLOAD IT FROM XDA N MOVE TO THE ROOT OF UR SD CARD.

WHY DO I NEED THIS? ANSWER : IT WILL HELP YOU TO BACKUP UR CURRENT ROM & AS WELL AS GET THE SYSTEM FOLDER REQUIRED FOR COOKING YOUR CUSTOM ROM. =)

BOOT INTO STOCK RECOVERY WITH THE KEY COMBINATIONS OF YOU MOBILE N THEN SELECT INSTALL ZIP FROM SD CARD N SELECT CWM.ZIP[WATEVER THE NAME U HAVE] TO BOOT INTO CWM RECOVERY. CHOOSE THE OPTION TO BACKUP N RESTORE N DO A BACKUP OF YOUR CURRENT ROM.

CONNECT YOUR MOBILE TO PC WITH USB N COPY PASTE[DO NOT DO CUT PASTE] THE BACKUP FOLDER FROM YOUR MOBILE TO YOUR PC WHEREVER YOU LIKE. OPEN IT N EXTRACT THE SYSTEM.TAR/SYSTEM.ZIP ARCHIVE THERE ITSELF. THIS WILL GIVE YOU ALL THE FILE & FOLDERS THAT ARE REQUIRED TO COOK YOUR ROM.

NOW MINIMIZE THIS WINDOW N OPEN A NEW WINDOW.

THEN GOTO :

cygwin folder/home/your user name/kitchen

IF YOU USE WINDOWS; Or Else

\home\username\android\kitchen

IF YOU USE LINUX / UBUNTU.

MAKE A NEW FOLDER HERE AND NAME IT AS : "WORKING_YOURROMNAME"[PLZ NOTE,THE WORD "WORKING" SHUD BE ALL IN CAPITAL LETTERS.] [THIS IS CALLED YOUR WORKING FOLDER.]

MAKE A NEW FOLDER IN YOUR WORKING FOLDER & NAME IT "system"[PLZ NOTE, THE WORD "system" SHUD B ALL IN SMALL LETTERS.

NOW AGAIN MAXIMIZE THE WINDOWS WHERE YOU HAD EXTRACTED THE SYSTEM BACKUP IN PREVIOUS STEPS. OPEN THE EXTRACTED SYSTEM FOLDER & COPY PASTE THESE FILES & FOLDERS FROM THERE TO THE system FOLDER IN WORKING FOLDER:

/app

/bin

/etc

/fonts

/framework

/lib

/media

/semc[ONLY FOR XPERIA USERS]

/usr

/xbin

build.prop

IF YOU HAVE A boot.img OF YOUR MOBILE THEN COPY PASTE IT TO YOUR WORKING FOLDER.[WORKING_YOURROMNAME/boot.img]

STEP 3. COOKING YOUR ROM WITH FEW BASIC FEATURES :

START KITCHEN AS STATED BEFORE AS PER YOUR OPERATING SYSTEM N ENTER OPTION 8. THIS WILL SHOW WHAT FEATURES YOU HAVE IN YOUR ROM & WHAT YOU MAY ADD. IT WILL ALSO SHOW THE NAME OF YOUR ROM. THIS ALSO MAKES THE META-INF FOLDER APPEAR IN YOUR WORKING FOLDER.

THIS COMPLETES ALL YOUR REQUIREMENTS FOR COOKING THE ROM.

PRESS ENTER TO GO BACK TO KITCHEN MENU.

ENTER OPTION 0[ZERO]

ENTER DIFFERENT OPTIONS THERE TO ADD THOSE FEATURES IN YOUR ROM.

ENTER OPTION0[ZERO] AGAIN TO GO BACK TO THE STARTING SCREEN OF KITCHEN.

OPTION 2 & 3 ARE ALMOST COMPULSORY AS A CUSTOM ROM WITHOUT ROOT N BUSY-BOX IS NOT LIKELY TO BE LIKED BY USERS.

ONCE YOU FINISH ADDING FEATURES AGAIN PRESS 8 TO SEE THE STATS OF YOUR ROM. PRESS ENTER TO RETURN BACK N PRESS OPTION 99 TO COOK THE ROM.

HERE ENTER OPTION 1.

GO THROUGH THE ONSCREEN INSTRUCTION N THEN COLLECT YOUR ROM FROM:

C:\cygwin\home\YOUR USER NAME\kitchen\OUTPUT_ZIP

IF YOU ARE WINDOWS USER; Or Else,

\home\username\android\kitchen\OUTPUT_ZIP

IF YOU ARE LINUX / UBUNTU USER.

CONGRATS YOU HAVE SUCCESSFULLY COOKED YOUR CUSTOM ROM.=)

​