THIS GUIDE WILL NOT MAKE YOU DEVELOPER OVERNIGHT. THIS GUIDE ONLY GIVEN TO GIVE YOU HEAD START IN ROM DEVELOPMENT.
I am glad that i am posting this in our new forum...(thanks xda)
IT IS HIGHLY RECOMMENDED THAT YOU SHOULD KNOW SOME BASICS OF LINUX COMMANDS FOR ANDROID DEVELOPMENT.
DISCLAIMER- I AM NOT RECOMMENDING TO ADD PAID APPS OR SOME OTHER DEVELOPER'S WORKS IN UR ROM. PLEASE DON'T PUBLISH ROM WITH PAID CONTAINS OR OTHER DEVELOPER WORKS.
AND
"DON'T SPAM DEVELOPMENT FORUM WITH UR ROMS IF IT DOESN'T CONTAINS ANYTHING NEW."
STEPS:-
2.SETTING UP CYGWIN IN WINDOWS
(I am not using cygwin for my development ,although it is setup in my pc.I personally prefer linux)
NOW CYGWIN IS READY TO GET KITCHEN
3.SETTING UP LINUX
i personally recommend linux for kitchen and other android development use.
i use linux lite(based on ubuntu LTS release) http://www.linuxliteos.com/ I also use ubuntu 13.04
if u want to use ubuntu then i recommend version 10.4 or 13.04 or use kubuntu latest release.
Installing linux along with windows on other partition as dual boot can be done but need experience.
Following are 2 methods are easiest and currently recommended by me.
FIRST METHOD
Most easy and recommended
INSTALLING UBUNTU ALONG WITH WINDOWS WITHOUT FORMATING HARD DRIVE OR PARTITION
NOW SETUP KITCHEN
SECOND METHOD
Those who want to set up linux in virtual machine need fast pc with lots of ram.
NOW YOUR VIRTUAL MACHINE IS READY TO SETUP KITCHEN
4.SETING UP DISXDA KITCHEN
A] cygwin instructions
B] Linux instructions
NOW YOU HAVE YOUR KITCHEN SETUP FOR USE.
MAKING I9082/I9082L ROM DEVELOPMENT COMPATIBLE WITH KITCHEN
4.USING KITCHEN TO MAKE A ROM
HERE IT IS... YOUR FIRST CUSTOM ROM.:good:
I am glad that i am posting this in our new forum...(thanks xda)
IT IS HIGHLY RECOMMENDED THAT YOU SHOULD KNOW SOME BASICS OF LINUX COMMANDS FOR ANDROID DEVELOPMENT.
DISCLAIMER- I AM NOT RECOMMENDING TO ADD PAID APPS OR SOME OTHER DEVELOPER'S WORKS IN UR ROM. PLEASE DON'T PUBLISH ROM WITH PAID CONTAINS OR OTHER DEVELOPER WORKS.
AND
"DON'T SPAM DEVELOPMENT FORUM WITH UR ROMS IF IT DOESN'T CONTAINS ANYTHING NEW."
STEPS:-
1.THINGS NEEDED1.Things needed
2.Setting up Cygwin in windows
3.Setting up linux (if you are going to use windows then skip this)
3.Setting up a dsixda kitchen
4.Using a kitchen to make a rom
5.Customise the rom
1.DSIXDA Kitchen
http://github.com/dsixda/Android-Kitchen/tags
(for any kitchen related issues please report to original kitchen THREAD
2. GT-I9082 /I9082L kitchen compatibility file http://d-h.st/qr5
3. Latest Firmware from sammobile.com/firmwares or samsung-updates.com
4. 7-zip (to extract tar.md5 file) in windows.
5. Notepad++
6.cygwin or linux (ubuntu or its variant preferred)i recommend using Linux for your development (sometimes cygwin causes symlink errors in updater script)
i use linuxlite or ubuntu 10.04 or ubuntu 13.04 64bit.
In windows android development is difficult and for porting and debugging ,tar,untar and many other functions linux is the only way.
7.JDK www.java.com
2.SETTING UP CYGWIN IN WINDOWS
(I am not using cygwin for my development ,although it is setup in my pc.I personally prefer linux)
Download Latest JDK from http://www.java.com/en/download/manual.jsp choose windows offline version
Download cygwin package from http://content.wuala.com/contents/neroyoung/XDA%20ROM%20Dev%20Tools/Cygwin.zip
-->Install JDK first .
-->extract cygwin.zip C:\
-->We need to install cygwin, open the setup.exe, just keep hitting next until you are on the select packages screen, go to "Devel" menu and select to install gcc, gdb and make, in "Interpreters" check perl, in "Archive" check zip and unzip, in "Web" check wget, in "Editors" check nano and vim and in "Utils" select cpio, util-linux and ncurses. Make some tea and wait for the cygwin install to finish and we are ready to go to the next step.
NOW CYGWIN IS READY TO GET KITCHEN
3.SETTING UP LINUX
i personally recommend linux for kitchen and other android development use.
i use linux lite(based on ubuntu LTS release) http://www.linuxliteos.com/ I also use ubuntu 13.04
if u want to use ubuntu then i recommend version 10.4 or 13.04 or use kubuntu latest release.
Installing linux along with windows on other partition as dual boot can be done but need experience.
Following are 2 methods are easiest and currently recommended by me.
FIRST METHOD
Most easy and recommended
INSTALLING UBUNTU ALONG WITH WINDOWS WITHOUT FORMATING HARD DRIVE OR PARTITION
-->Download Ubuntu 13.04 64bit
-->Download WUBI 13.04
-->make sure ur one of the partitions on ur pc have atleast 25 to 30 gb space.
-->After downloading put wubi and ubuntu iso in same folder
(note don't use wubi on windows 8 pc)
-->Double click on wubi.exe
-->Select Drive with maximum space. select 22gb in installation size.
-->set ur administrator password & re-enter it in confirm password box.
-->click install & wait for finish screen.
-->select reboot.
-->on rebooting it will start installation automatically.
-->wait till installation finishes & reboot to default ubuntu log screen.
-->login with ur username/password
-->make sure ur internet is connected.
-->Press Ctrl+Alt+T to open terminal & type following
(if it ask for password then type it and press enter)
-->after that logout (it is round setting like icon in top corner) and select the session as "genom fallback with no effects" from login screen (round icon beside ur_username on login screen)Code:sudo apt-get install gnome-shell gnome-session-fallback indicator-applet-appmenu gnome-tweak-tool ia32-libs
-->now relogin
-->go to applications>>ubuntu software center
-->search java>>select openjdk7 java runtime environment>>click install. Wait till installation.
NOW SETUP KITCHEN
SECOND METHOD
Those who want to set up linux in virtual machine need fast pc with lots of ram.
--> install virtual box http://www.virtualbox.org/
-->after installation open virtual box
--> click new-->in name box type ubuntu or kubuntu , it will automatically select linux and ubuntu or kubuntu in below boxes.-->click next-->select ram size u want to devote to virtual machine i recommend atleast 1024mb.
-->click next you will see menu to creat a virtual hard disk.Select create new hard disk-->select hard disk type as vdi in next screen.-->in next screen select dynamically allocated.-->in next screen click yellow icon beside ubuntu or kubuntu and select where you want to put your hard disk. You need atleast 15 to 20 gb space for hard disk. then click create.
-->now click start in virtual box on selecting kubuntu. it will ask for you bootable disk. browse and select ubuntu or kubuntu or linuxlite bootable disk. It will boot into boot menu. select install to hard drive.(google for installation instructions for ubuntu or kubuntu or linuxlite)
-->now boot up your virtual machine
-->login with user you created.
then follow the instruction s in this post http://xdaforums.com/showpost.php?p=5626300&postcount=3 under linux/ubuntu section.
NOW YOUR VIRTUAL MACHINE IS READY TO SETUP KITCHEN
4.SETING UP DISXDA KITCHEN
A] cygwin instructions
-->Download kitchen from above link.
-->extract it to C:\cygwin\home\
-->rename the extracted folder to "kitchen" from "Android-Kitchen-xxx" (easier to navigate)
-->Now fireup cygwin from desktop icon.
-->In command window type "cd ../kitchen" press enter
-->then type ./menu
--> and you ready to go...!!!
B] Linux instructions
-->Download the kitchen
-->extract it to home/your_username directory
-->rename the extracted folder to "kitchen" from "Android-Kitchen-xxx" (easier to navigate)
-->Open the terminal & type "cd kitchen" press enter
-->then type ./menu press enter.
--> and you ready to go...!!!
NOW YOU HAVE YOUR KITCHEN SETUP FOR USE.
MAKING I9082/I9082L ROM DEVELOPMENT COMPATIBLE WITH KITCHEN
-->Now go to \kitchen\tools\edify_defs in linux or cygwin folder
-->copy the compatibility file I provided above to this folder.
-->VOILA NOW OUR GRAND IS COMPATIBLE WITH KITCHEN.!!!!
4.USING KITCHEN TO MAKE A ROM
-->Download the firmware of choice from www.sammobile.com/firmwares or www.samsung-updates.com
-->Unzip it.
-->You will get tar.md5 file.
-->If you are using windows then open the tar.md5 with 7-zip. or in linux open it with archiever
-->7-zip will show an error just click ok.
-->Now your tar.md5 is open.
-->extract system.img,boot.img,cache.img to"original update" folder in kichen folder.
-->Fireup the kitchen as stated above.
-->select option 1 - Set up working folder from ROM
-->press enter to continue.
-->press enter again to copy imgs to working folder
-->now in linux it will automatically copy them ,extract them to working folder
-->but in cygwin it will show prompt to extract system.img. (read the instructions when it prompt) extract it to working folder.-->it will show prompt to extract cache.img to system folder.-->Now you have your working folder setup for use. do it.
-->now select option 2 , 3 one by one to get root and busybox respectively.
-->now select 0 advanced options
--> in that select 14 to add init.d support
-->select 11 Deodex files in your rom . here press "v" to change the API level. Set it to 16 or 17 .(JB4.1.2 is level 16 and JB4.2.2 is level 17 )Now select "b" to deodex both app and framework folder.
--> now go back to main menu. and select 99 build the rom from working folder. here select 2 lazy mode.
--> Wait for some time. you will get prompt that baffin_signed_xxxx.zip is created in output_zip folder.(this lies in kitchen's folder)
HERE IT IS... YOUR FIRST CUSTOM ROM.:good:
Last edited: