[GUIDE][GT-I9082/GT-I9082L][GRAND DUOS][04/06/2013]Make your own custom rom!!

Search This thread

BEingNiCK

Senior Member
Jun 15, 2013
327
179
Aurangabad
Of course you will not find ext4 files on samsung fw. It has to be converted using linux(AFIK). Ballis roms contain ext4 files. We can ask him how he does it.


its not there in balli's rom
will tell me what folder/files we need to copy & are they from cache.img??? that comes with samsung firmware?
 

Attachments

  • Untitled.jpg
    Untitled.jpg
    29.1 KB · Views: 108

bongski55

Senior Member
Jan 14, 2011
1,325
216
you want to include in the rom? back read to page 16 post # 152

I agree. But you have to inspect CSC folders. If any of the folders are empty it will not work on the final rom. That is also why k2wl does not include csc as he said. It is time consuming to inspect each and every folder of csc/multi csc.
 

romy4321

Senior Member
Aug 26, 2010
56
9
I agree. But you have to inspect CSC folders. If any of the folders are empty it will not work on the final rom. That is also why k2wl does not include csc as he said. It is time consuming to inspect each and every folder of csc/multi csc.
for me no need this file, the base is 4.2.2 leaked rom which everything is there
we cannot flash this modded rom to another version or 4.12
maybe he want to modify something in csc file
 
Last edited:

sujith1994

Senior Member
Feb 5, 2013
133
37
vancouver
just a noob question!

hey man thanks for the detalied instruction i just want to know that wether i suld extract system,boot&cache .img files and then copy them to kitchen or directly copy those .img files to the kitchen folder ????

btw im using ubuntu 13.04

plz help asap
 

bongski55

Senior Member
Jan 14, 2011
1,325
216
Copy system.img, boot.img and cache.img as they are to kitchen after extracting from the rom.
 

Zephyr!

Senior Member
Jan 22, 2013
8,058
12,168
30
^Underground^
hey man thanks for the detalied instruction i just want to know that wether i suld extract system,boot&cache .img files and then copy them to kitchen or directly copy those .img files to the kitchen folder ????

btw im using ubuntu 13.04

plz help asap

Extract system.img 1st

Make.Believe
If you're good at something
Never Do It For Free - JOkER
 

Top Liked Posts

  • There are no posts matching your filters.
  • 31
    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:-

    1.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.THINGS NEEDED

    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)

    Code:
    sudo apt-get install gnome-shell gnome-session-fallback  indicator-applet-appmenu gnome-tweak-tool ia32-libs
    -->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)
    -->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:


    13
    5.how to customise your rom.

    So first thing now for you to customize your own rom.
    You can do this in linux or windows

    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

    A]Remove & add apps
    B]Remove unnecessary files.
    C]Add your own ringtones,alarm,notification sounds

    So lets start....
    First u have to make back up copy of ur rom.(I am a back up freak...:))

    A]Remove & add apps
    REMOVE APPS
    Extract your rom to some directory like "myrom"
    Now you get system,boot.img,meta-inf folder extracted.
    Go to >>system/app
    DELETE THE APPS YOU DON'T NEED.
    I AM GIVING YOU THE NAME OF FILES I REMOVE AS PER MY NEED.
    \system\app


    ACCUWEATHER

    AccuweatherDaemon.apk
    AccuweatherWidget.apk
    AccuweatherWidget_Main.apk
    WeatherWall.apk


    ALLSHARE
    AllshareMediaServer.apk
    AllSharePlay.apk
    AllshareService.apk

    CLOCK
    AnalogClockSimple.apk
    DigitalClock.apk
    DualClockAnalog.apk
    DualClockDigital.apk
    SimpleAlarmClock.apk

    CAMERA FEATURE
    BestGroupPose.apk
    FaceLock.apk
    GroupCast.apk

    SAMSUNG MESSANGER
    ChatON_MARKET.apk

    FONTS
    ChocoEUKor.apk
    CoolEUKor.apk
    HelvNeueLT.apk
    RoseEUKor.apk

    CHROME BROSWER
    ChromeBookmarksSyncAdapter.apk
    ChromeWithBrowser.apk

    CSC
    CSC.apk

    LIVE WALLPAPER
    DeepSea.apk
    LuminousDots.apk
    NoiseField.apk
    PhaseBeam.apk
    SecLiveWallpapersPicker.apk

    DROPBOX
    Dropbox.apk
    DropboxOOBE.apk

    GALLARY
    EasyGalleryWidget.apk

    EMAIL,EXCHANGE,VPN
    EdmSysScopeService.apk
    EdmVpnServices.apk
    EnterprisePermissions.apk
    Gmail.apk
    SecEmail.apk
    SecExchange.apk

    FLASH ANNOTATE SERVICE
    FlashAnnotate.apk
    FlashAnnotateSvc.apk

    SOFTWARE UPDATE CLIENT (MUST REMOVE BECOZ IT WONT WORK)
    FotaClient.apk

    GAME HUB
    GameHub_2.0_ICS.apk

    MAPS
    GMS_Maps.apk
    Street.apk
    Velvet.apk

    GOOGLE SEARCH AND OTHER SERCICES
    GoogleSearchWidget.apk
    GoogleTTS.apk[TEXT TO SPEECH SERVICE]
    Magazines.apk[PLAYSTORE MAGAZINES]
    Music2.apk
    MusicHub_31.apk
    PlusOne.apk[GOOGLE+1]
    VoiceRecorder.apk
    VoiceSearchStub.apk
    YouTube.apk

    HELP
    HelpHub.apk
    PickUpTutorial.apk
    WebManual.apk

    KIES OVER WIFI
    kieswifi.apk

    SAMSUNG SERVICES AND APPS
    MobileTrackerEngineTwo.apk
    S-Voice_Android_phone.apk
    SamsungApps.apk
    SamsungAppsUNA3.apk
    Samsungservice.apk
    SamsungTTS.apk
    SamsungWidget_FavoriteApp.apk
    SamsungWidget_ProgramMonitor.apk
    SimpleFavoritesWidget.apk
    SlideShow.apk
    SMemo2.apk
    SNoteProvider.apk
    SSuggest.apk

    PAGE BUDDY
    PageBuddyNotiSvc.apk

    POLARIS
    PolarisViewer.apk

    CLOUD SERVICES
    sCloudDataRelay.apk
    sCloudDataSync.apk
    sCloudSyncBrowser.apk
    sCloudSyncCalendar.apk
    sCloudSyncContacts.apk
    sCloudSyncSNote.apk

    WIFI DIRECT
    SecFileShareClient.apk
    SecFileShareServer.apk

    SETUP WIZARD
    SecSetupWizard.apk

    SOCIAL
    SNS.apk

    GTALK
    Talk.apk
    talkback.apk

    VIDEO & OTHER VIDEO APPS
    TrimApp_phone.apk
    VideoHub.apk


    YAHOO SERVICES
    YahoonewsDaemon.apk
    YahoonewsWidget.apk
    YahoostockDaemon.apk
    YahoostockWidget.apk
    Now that u deleted the apps u dont need.
    make a zip of "system,boot.img & meta-inf" by selecting all . >>>right click >>add to archive(winrar) or some other zip program u use>>ur zip is ready to flash through cwm. :)

    ADD APPS
    There are 3 ways to add apps to your rom
    1.Including apps in system/app
    2.including apps in data/app
    3.Using cwm zip for adding apps

    1. Including apps in system/app
    This can be done by following method
    >> install apps from play store in ur rooted rom.
    >>go to file manager like es or root browser or root explorer
    >>open data/app folder
    >>you will get your install app apks there.
    >>copy them to your external sd card.
    >>now open ur extarcted rom's system/app folder
    >>copy the apps u wanted to install in this folder.
    >>make a zip of system,boot.img and meta-inf
    >>now flash ur rom .


    2.Including apps in data/app
    This can be done by following method.
    >>enable data/app in ur rom while making rom in dsixda kitchen.
    >>extarct ur rom
    >>copy the applications u want in data/app
    >>make a zip of all the containts in extracted folder & flash.


    3.using cwm flashable zip to add apps
    this is done as follows
    >>extract cwm zip
    >>mostly u will get system & meta-inf folder
    >>open system folder and see what folders u have in that.
    >>copy these folders in ur rom's system folder.
    >>make a zip of ur rom
    >>flash through cwm.
    3
    3
    3
    tomorrow i will updating how to add and remove apps and files from custom rom......:)