[Android General] Varun002:
Hi this is Varun Salian

This post contains easy method of creating a first custom rom for your device/s.and it is completely for noobs :D

CREDITS

-dsixda- for android kitchen

-xda developers and google

-All the devs whose threads are used in my post (in the form of link)

NOTE - This is a simple guide so i dont cover extreme things :D

THINGS I COVER HERE

-Setting up android kitchen on your PC

-Setting up your stock rom in android kitchen

-Deodexing the stock rom

-Theming your rom

-Adding some tweaks

-Adding/replacing apps,fonts,bootanimation etc

-Zipaligning all apks for better ram usage

-Making a flashable zip of your rom

-Flashing through custom recovery

SETTING UP ANDROID KITCHEN ON YOUR PC

Link to official thread - http://xdaforums.com/showthread.php?t=633246

Link for screenshot guide - http://forums.droidbeans.com/develo...ts-tutorial)/?action=thankyoupostlist;msg=637

For offline users follow the link - https://sites.google.com/site/svtgalaxymini/create-your-own-custom-rom

Direct links for required tools

Link for java - http://www.mediafire.com/download/54y9lay41t8o997/jdk-6u20-windows-i586.zip

Link for cygwin with packages - http://www.mediafire.com/download/5xux4adbam20tfh/cygwin_packages.zip

Link for android kitchen - https://github.com/dsixda/Android-Kitchen/archive/0.224.zip

Yes, everyone wont succeed in installing android kitchen for the first time but its not a hard thing :D ,

If you have installed Android kitchen head over to the next step

STEPS TO CREATE WORKING FOLDER

This is the way that i usually use while making a custom rom

Things needed

-System folder of your stock rom :- Copy and paste to your sd card through root explorer

-boot.img :- Get it from your nandroid backup

Now just zip both system folder and boot.img(as a single zip file) and move it to C/Cygwin/home/username(varies according to your system)/kitchen/original_update/here

After that click on cygwin desktop shortcut and type "cd kitchen" and hit enter now type "./menu" and hit enter

You will see the kitchen's main menu here

Type "1" and hit enter to setup your working folder Select the zip you placed in the above step and hit enter now kitchen will automatically make a update script and extracts the rom from the zip file you can find it in C/cygwin/home/username/kitchen/WORKING_xxxx

You are now ready to modify your stock rom :D

DEODEXING STOCK ROM

Know more about deodexing and odexing - http://www.redmondpie.com/odexed-vs-deodexed-the-difference-between-the-two-android-roms-explained/

Steps for Deodexing stock rom

After setting up working folder open cygwin desktop shortcut and type "cd kitchen" hit enter then type "./menu" hit enter Kitchen main menu will appear type "0"(zero) and hit enter to goto advanced options, now type "11" hit enter to enter the deodexing menu. now type "v" and hit enter Select the correct API level (10 for gingerbread) and for other versions see the kitchen menu that appears after selecting for changing API level type the suitable API level hit enter now type "b" hit enter to deodex both system/app and system/framework

Wait for some time and your rom will be deodexed :D

THEMING YOUR ROM

There are two ways of theming your rom

1. Use 7-zip or winrar to change the pngs (images) of any apk

2. Use Apktool and decompile/recompile the apks to change xmls and pngs of an apk

Using apktool for theming

You wont find a better guide for using apktool-

http://xdaforums.com/showthread.php?t=2195680

Direct download links

DOWNLOAD JRE- www.oracle.com/technetwork/java/javase/downloads/index.html

DOWNLOAD APKTOOL - http://d-h.st/cze

So now you are ready to decompile and recompile

NOW SEARCH ON XDA TO THEME Systemui.apk, framework-res.apk etc

HERE ARE SOME OF THE LINKS

http://xdaforums.com/showthread.php?t=1908063

http://xdaforums.com/showthread.php...gb xda&__utmv=-&__utmk=194276142#post24317850

ADDING TWEAKS

Tweaks are used to increase the performance,battery life,gaming performance etc of your android phones. There are tons of tweaks/scripts the best way is to searcch on google or xda-developers :D

Here is the link of some tweaks-

http://xdaforums.com/showthread.php?t=1735128

http://xdaforums.com/showthread.php?t=2533831

etc search on google :P

ADDING/REPLACING APPS

This is one of the main thing to be done in your custom rom you can find the apps in C/cygwin/home/username/kitchen/WORKING_xxxx/system/app/here now delete the unwanted apps,add your favorate apps, etc in this path

Some of the stock app alternatives

Gallery - Quickpic or Gallery ICS or photobowl

Music - Walkman (ported) or Poweramp or Player pro or apollo

Launcher - s4 launcher (ported) or Google home launcher (ported) or Xperia home (ported) or holo launcher

File manager - ES File explorer or Root explorer

and find other good apps yourselves by googling :D

CHANGING FONTS

Download any font through Rom toolbox app or ifont app and place those fonts in C/cygwin/home/username/kitchen/WORKING_xxxx/system/font here

LINK FOR IFONT APP - https://play.google.com/store/apps/...utm_medium=organic&utm_term=ifont+android+app

CHANGING BOOTANIMATION

Download bootanimation.zip from xda-developers or through romtoolbox app and place the zip in C/cygwin/home/username/kitchen/WORKING_xxxx/system/media/here

LINK FOR ROMTOOLBOX - https://play.google.com/store/apps/...=organic&utm_term=rom+toolbox+free+play+store

ZIPALIGNING AND MAKING A FLASHABLE ZIP OF YOUR ROM

After modifying your rom the final step is to make a flashable zip of your rom

Open the cygwin desktop shortcut and type "cd kitchen" then press "99" to make a flashable zip of your custom rom now press "2" which will automatically make a updater-script,zipaligns all apks,signs your rom . After this process finishes you are all ready to flash your custom rom through Custom recovery

You can find your custom rom in C/cygwin/home/username/kitchen/Output_zip

Now copy this to your sdcard and boot into recovery wipe data,cache and dalvik cache and flash your rom :D

DONE EnJoY

HIT THANKS IF I HELPED YOU :D

JOIN OUR NEWLY MADE FACEBOOK GROUP FOR ANY PROBLEMS RELATED TO ANDROID - https://www.facebook.com/groups/787233144643808?refid=48