How To: Create Your Own Custom ROM for Android, Part 1 – Setting Up The Android Kitchen

So you love loading custom ROMs, but you just wish you could choose what features you wanted in the ROM or even grab a ROM from another device and port it to your phone? Well, thanks to DsiXDA over at XDA Developers, there is a neat little program that can help you do just that. And best of all? No programming skills required. So here’s how to setup the program and get started on your first custom ROM!

I. Before You Begin

1. This ONLY works for HTC Android devices at the moment, later versions might support others (check here for an update when it does).

II. Download a Virtual Machine and Set It Up.

1. Download VirtualBox for free from here (the one for Windows Hosts at the top). Then click next on the setup process until it installs.

2. Open VirtualBox and click on New.

3. Name the New Virtual Machine whatever you want (we named it Linux for simplicity’s sake).

4. For Operating System choose Linux, then choose Ubuntu for Version and click next.

5. Click Next again leaving the Memory Setting at what it is preselected at (should be 384mbs).

6. Click Next on the Boot Disk screen as well leaving boot hard disk and create new hard disk both selected.

7. Keep clicking Next until you get to the slider that asks how much space to set for the Linux. Move the slider to 8Gbs and click next.

8. Click next until it is done and shows you the original screen you started on but now with the Linux Machine Powered Off on the left.

III. Install Linux Ubuntu on the Virtual Machine

1. Download Ubuntu from here.

2. Once it is downloaded, in the VirtualBox program, click the Start button at the top.

3. Close out all the warnings that come up.

4. Then click on Devices > CD/DVD Devices > More CD/DVD Images… then select the .iso image for Ubuntu you downloaded.

6. Follow the prompts on the screen to install Ubuntu on your Virtual Machine.

7. Once it is installed and reboots, goto Applications > Accessories > Terminal and type this line with hitting enter at the end:

sudo apt-get install sun-java6-bin sun-java6-jre

It will ask you for a password, type in the password you created when you went through the Ubuntu installation process (it asked you for it before finishing the install).

Then it will ask you y/n. Hit y then enter. Then when it shows you the terms and conditions, hit right arrow on your keyboard and click enter to select ok. Then hit left arrow on your keyboard and enter to select Yes.

*NOTE – Your keyboard and mouse will not function on your regular computer once you use them in the Ubuntu virtual machine. To re-enable them, click the Ctrl button on the right side of your keyboard.

**IF YOU GET AN ERROR INSTALLING THE JAVA FILES,
Download the java files manually FROM INSIDE THE EMULATOR/LINUX using Firefox here:

Java6 Bin
Java6 Jre

Then open the Terminal App in Ubuntu and type this with hitting enter at the end of the line:

sudo dpkg -i sun-java6-jre_6.18-4_all.deb sun-java6-bin_6.18-4_i386.deb

And that should fix it.

IV. Download and Setup The Android ROM Kitchen

!THIS NEXT SECTION NEEDS TO BE DONE WITHIN THE UBUNTU VIRTUAL MACHINE!

1. Click on the Firefox logo at the top of your Ubuntu installation (in the Virtual Machine).

2. Type this into the url box:

theunlockr.com/2010/03/26/how-to-create-your-own-custom-rom-for-android-part-1-setting-up-the-kitchen (to navigate to this page from within the virtual machine).

3. Now download the latest version of the kitchen file  in the first post from the link below(again from inside the Ubuntu installation on the virtual machine. We are doing this because we want to save this file in our Ubuntu Virtual machine, NOT our regular computer).

Kitchen

4. Again on the Ubuntu machine, Find the .zip file you just downloaded, right click it and click open with Archive Manager and then click Extract at the top.

5. Once you click Extract, it will ask you where. Double click the folder that has the name you created when you installed Ubuntu (my username was theunlockr so my folder is called theunlockr. It is the first folder under recently used in the list on the left). Then click Extract at the bottom right.

V. Run the Android ROM Kitchen

1. To run the Android ROM kitchen, click on Applications at the top of Ubuntu > Accessories > Terminal then type the following and hit enter:

./menu

2. You will now be greeted by the simple text menu of the application. Enjoy!

VI. Create Your First Custom ROM

Head over to our How To: Create Your Own Custom ROM for Android, Part 2 – Creating Your First ROM

  • Mr. O

    sweet

  • Mr. O

    Do I have to use virtual box, or can I do this on a computer already running Ubuntu??

    • Mr. O,

      No, not at all. The virtual box is just for Windows users. Go ahead and and use your regular Ubuntu computer and start in the procedure at that point. Good luck!

      • Actually Windows users can also use WUBI (Windows UBuntu Installer) : http://www.ubuntu.com/desktop/get-ubuntu/windows-installer.

        That’s a Windows .exe file that will create a Ubuntu boot option on Windows startup.

        IMHO it’s easier than to set up a VirtualBox virtual machine and Ubuntu, when booted will run much better (full hardaware capacity), full-screen and without the annoying Mouse cursor being trapped in VirtualBox…

        That’s a “virtual” dual-boot option so it can be un-installed like any Windows program, so no big deal if you don’t like it… All Windows users needing sometimes to run Ubuntu should try it 😉

  • You can run it in ubuntu. I hate that everyone assumes everyone else uses Windows.

    • Cbowley,

      Here’s the thing. According to Google analytics, 80% of our readers are using Windows. Not too mention it happens to be the MOST popular OS in the world, by ALOT. And there was even a study that showed that the majority of people who own the next popular OS (Mac), actually ALSO own a Windows PC as well lol. It’s like saying, “Why are all the street signs in the US in English?! Assholes!” lol For those of you already using Ubuntu, you are not your average joe, and are probably a developer or at least someone with enough computer knowledge who can figure out that you can just start from after the virtual machine in this procedure. 🙂

  • Justin

    Will this work on Fedora?

    • Justin,

      That is a good question, I’m not actually familiar with Fedora so not sure. Maybe someone else can chime in?

  • wilskywalker

    @Mr. O
    I am running Ubuntu9.10 already, if this is the case, then just follow the tutorial from part 3, wherever it says ‘Virtual Machine’ that is just your Ubuntu ‘as is’!

    To make things a bit tidier in your ‘Home’ folder, create a simply named folder inside your ‘home’ folder (I called mine ‘rom’), and extract the contents of the Kitchen download into this.

    Then you can use the following command to access that folder:

    cd /home/username/rom/
    ./menu

    Hope this helps!

  • Pingback: Tweets that mention How To: Create Your Own Custom ROM for Android, Part 1 – Setting Up The Android Kitchen | The Unlockr -- Topsy.com()

  • GUNZ

    Will this work with 62bit windows?

  • magana1268

    TheUnlockr Kitchen is ready can’t wait for step 2, thanks

  • BlazE

    for some reason when i try to type in my password in the terminal it wont type nothing.

    • BlazE,

      Just type it in and hit enter (it’s typing, just not showing characters as you type I promise).

  • RyanBigDog(XBOX)

    Sweet, I’m ready to build a ROM and get something custom tailored the way I want.

  • dsixda

    Thanks for mentioning my kitchen and for the video!

    The alternative method for setting up in Windows is with Cygwin, which is a much faster setup, but there is a problem with the kernel repacking scripts. Follow the post #3 in the kitchen thread for instructions. If someone can figure out why it doesn’t work for Cygwin, please let us know! Thanks!!!!

    • DsiXDA,

      Thanks for making such a great app!
      Feel free to link to this How To in your posts if you think it will help others get setup easier!

  • BlazE

    DO i Have to re-run the whole ubuntu install process again each time i want to use the virtual box?

    • BlazE,

      No, just open the virtual box and click start then goto terminal and type ./menu and hit enter. Done.

  • Mano

    when im done typing in my password (after i type in that sudo command) it tells me E: Broken package…am i doing something wrong?

  • dsixda

    Hi David, yes it has been linked to the FAQ. 🙂

  • Breakthecycle2

    You can use this on either a VB or Linux itself. I am running it on Ubuntu 10.04 and love it.

  • Pingback: Tweets that mention http://theunlockr.com/2010/03/26/how-to-create-your-own-custom-rom-for-android-part-1-setting-up-the-kitchen -- Topsy.com()

  • Justin

    Unlockr,

    It works on Fedora 12 (which I’m running). The menu file is just a bash script, so it should work on any platform where you can run a full bash implementation.

  • BlazE

    I’ve tried that but then it opens up Ubuntu n it takes me to the main setup process again where i have to select the language and then click either install, or install without changes to the computer

    • DJ

      When i try to add Ubuntu to visual box, it gives me ….

      Error failed to open C:/ blah blah could not open the media

      and i click details i get this

      Result Code:
      E_FAIL (0x80004005)
      Component:
      Medium
      Interface:
      IMedium {1d578f43-5ef1-4415-b556-7592d3ccdc8f}
      Callee:
      IVirtualBox {3f36e024-7fed-4f20-a02c-9158a82b44e6}

      Help a guy out?

      Thanks, great vid’s.

  • Breakthecycle2

    Blaze,

    You have to set it up in VB first, so yes you must do the language selection and all that.

  • Pingback: Links 28/3/2010: Sabayon 5.2 and GIMP Fun | Boycott Novell()

  • victor

    i can do a rom for mytouch 1.2 with this procedure

  • Magic32b

    Hello Unlockr,
    I never had a problem from using one of your tutorial until now, when I arrived to part 3 step 7 and when I typed in “sudo apt-get install sun-java6-bin sun-java6-jre”, I get…

    Reading package lists… Done
    Building dependency tree
    Reading state information… Done
    E: Couldn’t find package sun-java6-bin

    What did I do wrong?

  • james v

    video one success….looking forward for part 2 n more….!!! thanks!!!

  • Breakthecycle2

    If your running Ubuntu 10.04 it is still buggy. Install Ubuntu 9.10 and you will be fine.

  • dsixda

    @Magic32b Read the FAQ for the kitchen at http://forum.xda-developers.com/showpost.php?p=5626300&postcount=3 – It gives you an alternate method for downloading Java if the apt-get method doesn’t work.

    • Thanks DsiXDA!

      I’ll put it here as well for people. Can they just put the files in their Home folder and then be able to use the sudo -i command just as you have it written?

  • dsixda

    @TheUnlockr

    Yes you can put those downloaded files anywhere, and “sudo dpkg -i ” to install them. As shown in the command here, you have to have both *.deb files built together in a *single* command, because they depend on each other.

  • magana1268

    The unlockr I have this problem, each time start the virtual machine have to download the kitchen because is not in the virtual machine.

  • GUNZ

    once i download Ubuntu and open the virtualbox then click start nothing comes up telling me to install.

    • Gunz,

      Follow the written procedure. It tells you to click on Devices at the top and continue from there.

  • seanj

    the internet is really slow on the virtual machine, and i cant get to this website.
    any ideas?

  • Pingback: Basic Kitchen 0.32 « AndroidBoss()

  • dsixda

    For those having trouble installing Ubuntu on your virtual machine in Windows, try installing Cygwin on your Windows PC instead. Cygwin is a type of Unix environment for Windows.

    I have only tested this for the Nexus One so far, and I am able to create and flash a custom ROM without issue:

    http://forum.xda-developers.com/showpost.php?p=5646155&postcount=76

  • Aziz

    I have been able to install ubuntu and its running perfectly fine on my laptop but I am stuck at Part III step 7…i had to download the two seperate files in the ubuntu enviornment I even got the accepting the licence part but then I get this HUGE list of issues some of which include not enough space etc etc…I took a print screen of the error report and I uploaded the .jpg file to mega upload here : http://www.megaupload.com/?d=S7LQMHUT

    So please can some one tell me whats the problem…what Im doing wrong…I`ve been following the instructions verbatim and this is the only problem Im getting 🙁

  • Aziz

    Oh and I promise thats not a virus I just couldnt find any other way to show anyone interested what the error report is…

  • GR

    This tool is a great contribution. I was able to cook a ROM from SuperEclair for the 32a Magic, 6.35 new radio. It took me an hour or so to get my first working ROM and maybe 2 hours to cook up what I think is as good a ROM as any Eclair ROM for the 32a Magic 6.35 new radio.

    http://forum.xda-developers.com/showthread.php?t=654284

  • jerry

    on the part were you have to type in ./menu..wen i do it it says no such file or directory …i need help

  • dsixda

    @jerry .. you must type it in the folder that has the kitchen.. “menu” is the name of a script file from the kitchen…

  • james v

    where is part two???

    • James V,

      Coming… had some phones come in that I had to do videos for before I had to send them back… soon as those are all done, will be doing the part 2 ASAP.

  • dsixda

    @Aziz. Follow the link to the kitchen FAQ that I had posted earlier. Download the other Java installer (*.deb) if this one gives you problems. If all else fails read the other part about installing Cygwin..

  • sprint johnathan

    Yo cant find the 2nd video on how to run the android kitchen i have all that is told me to im not shore past that some one help

    • S[print Johnathan,

      There isn’t one yet lol Doing it this week, read the other comments.

  • Pingback: Newbie-Friendly Kitchen for HTC Android Devices()

  • dsixda

    @Sprint Jonathan

    Go to the page of the kitchen download link. That same post tells you how to run and use the kitchen.

  • EJ

    So whenever I go to virtual box, find the Ubuntu iso file and try to add it, it tells me I can’t open it because it is in the wrong medium.

    Result Code:
    E_FAIL (0x80004005)
    Component:
    Medium
    Interface:
    IMedium {aa8167ba-df72-4738-b740-9b84377ba9f1}
    Callee:
    IVirtualBox {2158464a-f706-414b-a8c4-fb589dfc6b62}

  • dsixda

    @EJ. Did you manage to figure it out? Remember to add it under the CD drive settings of the new virtual image you created for Ubuntu. If you are still stuck, I can go and check my PC to see what I did for my virtualbox setup.

    There is the easier and faster Cygwin alternative setup as well.

    Also check the xda-developers thread for the Kitchen for more questions and answers.

  • Mobbyd

    when will part 2 be posted?

  • droidfreak

    This is awesome! I already tweaked my first rom changing out the bootanimation as a small test… when will part 2 be coming out?

  • dsixda

    What do you guys need to see in Part 2? The kitchen is straightforward enough. Also the FAQ page in post #3 of the xda-developers kitchen thread has plenty of info and answers to questions.

  • jay

    What do we need to see? Well, what exactly do we do from here? Does this kitchen allow for adding or removing applications to or from the ROM? How? If no one is prepared to answer these questions, then this tutorial should be labeled, “For Experienced Developers Only” or “Not For Beginners or the General Public”

  • jay

    holy crap, I’m sorry. What a d-bag thing to say. I didn’t look into the Working folder, I was still looking at the terminal. I sincerely apologize for my previous comment.

    • Jay,

      Lol no worries. FYI, Part 2 is going up tomorrow 🙂

      • Bhargav199115

        i am not able to install java files i downloaded it in ubuntu and the one which are mentioned in this post are 6.18-4 whereas when we download we get 6.24-1

  • dsixda

    @jay …there are instructions in the FAQ, as I have already mentioned. Anyways, enjoy Part 2.

  • Pingback: How To – Create Your Own Custom ROM for Android, Part 2 – Creating Your First ROM | The Unlockr()

  • SMURFST3R

    so you have to have 2 computers to do this?

  • Cheecho06

    Hey I see in the directions it says the keyboard and mouse will not work, and click the ctrl on the right side of the keyboard to ungrab it, but when I click ctrl nothing happens, any suggestions? VirtualBox is running, and the keyboard and mouse is not working. Thanks

    • Cheecho06,

      You click on the virtual box and then your keyboard and mouse in Ubuntu should work (but not in windows). Then when you click the right Crtl button on your keyboard that pops you out so you cna use Windows again.

  • cheecho06

    ok so I connected an external keyboard and clicked the right control and now I can use my mouse, and I can use the external keyboard, but I still can’t use my laptop keyboard. Thanks for the quick response.

    • Cheecho06,

      Unplug the external keyboard and you can use the laptop keyboard… why do you need to use the laptop keyboard if you have an external one?

  • magana1268

    TheUnlockr I need to uninstall my virtual machine can you help me on how to please thank.

  • Pingback: Cucinare ROM : aggiungere suonerie e file per sd... - Forum Android Italiano()

  • sixn i

    when i goto install the java jre file it gives me this message: Error: Dependency is not satisfiable: sun-java6-bin (>= 6.20-dlj-1)|ia32-sun-java6-bin (>= 6.20-dlj-1)

    and i dnt know what else todo. i tried jus opening the file and letting it install. AND YES IM USING IT THROUGH UBUNTU / virtual box. but its not working for me any suggestions.

  • lior

    when i am getting to the window that i need to press the:
    “install ubuntu”
    it just dont do anything and get stuck.
    what to do?

  • manny

    I am on section III, step 7 and I got an erroe. So I downloaded the two zips from within ubuntu as instructed. However when installing with command, i get :
    sun-java6-bin depends on unixodbc; however:
    package unixodbc is not installed
    dpkg: error processing sun-java6-bin (–install):
    depednency problems – leaving unconfigured

    and a few other lines.. Any Ideas what I am doing wrong. So far I have followed the istructions step by step. I even searched unixodbc but didn’t find a good source.

    Please help!

  • Pingback: iAndroid – HTC Hero & nexus » מדריך לבישול רום()

  • Leland Cooley

    FWIW I’m a noob @ this, but like a few of you out there I couldn’t get the java zips to install on ubuntu 10.4 like manny says, so I installed ubuntu 9.10 like someone suggested (which appears to be the one in the unlockr video) and everything went as stated in the video.I then upgraded to ubuntu 10.4 and everything still works fine even though the upgrade took an hour. I hope this helps another noob and many thanks to whomever suggested to use ubuntu 9.10 as 10.4 appears to be buggy. Thanks

  • manny

    @ Leland

    Where did you find Ubuntu 9.10? I can’t seem to find it. All I am able to find is 10.4. I will not give up!

  • Leland Cooley

    Manny, just google ubuntu 9.10 and it will appear. However yesterday I went out with VituralBox running for awhile and when I came back I was greeted with the dreaded “blue screen ” I restarted windows and everything was OK. Left windows up all night and all is well. This am I started up VirtualBox . I will let you know if it happens again.

  • jibbz

    how do i go back to my Ubuntu tht i was using before., like i installed everything n then i went to the first section of the procedure n then i had to go somewhere n i left my computer running n my bro in law turned the computer off…when i came back n tryed to start the vbox n the ubuntu it said to reinstall ., is there any way i can go back to my old one?
    and also lets say i do reinstall it., how do i save so i can jus go back?

    thankss

  • Leland Cooley

    I don’t know how to retrieve your old setting.I was having similar problems and I found out when you close out and the triple radio button dialog box comes up and asks you what you want to do, I now chose the first one which says something like ” save machine state” and so far that has worked for me.Hope this helps

  • jibbz

    thankz cooley it worked., now i have one small question., what happens if i update the ubuntu to 10.04? cuz i jus got the prompt for an update

  • manny

    Ok so after alot of hair pulling, I got the kitchen working with 10.04. If you are still having problems installing the Java files try this:

    In terminal type the following and of course hit enter

    gksudo synaptic

    After that a window came up and stated that there were two damaged files (the java files). dont laugh but I am unsure as to what exactly I did after that, so to not miss-guide anyone i’m not giving any exact instructiond. however, I deselected the two java files and clicked the update icon above. So it updated. That took about 6 minutes. Once it was done, I entered the following while in the terminal:

    sudo apt-get install -f

    It went thru it’s process and after that the kitchen was able to sign a rom I trimmed some unwanted apps out of. If anyone trys this let me know if it works the same for you. Maybe you will pay better attention to detail and can add to this. : )

  • Leland Cooley

    manny kudos to you . jibbz the first time I upgraded I got the dreaded blue screen after awhile running ViturlBox which I haven’t had for 15yrs.I have windows 7 OS @ this time.This am I’m trying it again and will update you this afternoon.

  • Leland Cooley

    Everything OK after upgrading to ubuntu 10.4 . Got warning box when upgrading about something like “network manager apt unable to get resources,so won’t install” but I just clicked it off and that was that . Good luck.

  • Leland Cooley

    Anyone with problems installing Sun Java 6 on Ubuntu 10.4 this was posted by
    gabe neil. Of course you’ll have to add sudo before these commands. Thanks to gabe for this , worked great for me.

    Installing Sun Java 6 on Ubuntu 10.4 Lucid Lynx
    It looked like Canonical was going to totally abandon Sun’s JDK with the release of Lucid Lynx. After heated discussions, however, instead it was merely tucked away even deeper into the recesses of alternative repositories. Now it lives in a partner respository, so as root you’ll need to run

    add-apt-repository “deb http://archive.canonical.com/ lucid partner”
    apt-get update

    to add the appropriate repository. Now you can use apt-get install as before to install the sun-java6-jdk or sun-java6-jre packages. For those curious, this is the “official” way to do this according to the release notes.

  • Jon

    I just have to say that if you’re using ubuntu 10.04 in a VM or normal install you’re going to need to Chang the softwared sources to enable backports. Of you don’t you can’t the Java packages you need. If type running another distribution then either use synaptic or the default software manager. Also if you do the VM route make sure you Change the USB settings to 1.0 or you’ll have issues with windows crashing.

  • edo

    I ran the app with Gentoo and it works; however I nneed to test if it builds the ROMs so I will get back to you guys.

  • Jammallnyte73

    The link to Ubuntu needs updating. Take you to a bad link. Just an FYI

  • RsoeHelk

    “So whenever I go to virtual box, find the Ubuntu iso file and try to add it, it tells me I can’t open it because it is in the wrong medium.

    Result Code:
    E_FAIL (0×80004005)
    Component:
    Medium
    Interface:
    IMedium {aa8167ba-df72-4738-b740-9b84377ba9f1}
    Callee:
    IVirtualBox {2158464a-f706-414b-a8c4-fb589dfc6b62}”

    I get this error too. I donloaded the .iso and this is what i get after i navigate to it, to add it.

  • RsoeHelk

    Fised it the .iso didnt download all the way.
    How do i change from 16 to 32bit?

  • Mitch

    PROBLEM:

    Step II. Install Linux Ubuntu on the Virtual Machine

    Tells me:

    FATAL: No Bootable medium found! System halted.

  • Erick

    Hello Fellows,
    I just wondering if is possible to port Windows Mobile drivers from a Brand like Eten or another to create a Android OS for them?
    Any idea about how to do that?

    REgards,
    Erick

  • Mitch

    Got past that but had to d/l both java links… they are different. Need the code updated cause i can’t get it to work

  • Dion

    man i have been at those two dam java files alll day
    Mr. Unlockr please please you are the expert can you please update the tutorial for UBUNTU 10.4 and the NEWER JAVA files PLEASE

    Thankyou sooooo much

  • GrandMstrBud

    This guide needs to be updated. I was going crazy for hours over the 2 java files. Here is what I did to get it to work. I added the “deb http://archive.canonical.com/ lucid partner” as a repository under software sources and also placed a check in the other 2 sources so all 3 were checked. After that finally I was able to run the sudo apt-get install sun-java6-bin sun-java6-jre commmand and my update.zip was finally able to be signed. I’m very new at Ubuntu so I hope this makes sense, LOL.

    • GrandMstrBud,

      Thanks! Will update the procedure ASAP!

    • thef3z

      This worked perfectly!

      Thanks!!

    • Richard

      Thanks GrandMstrBud!!!! I’ve been messing with those two files for way too long. This should be updated for 10.04 users in the instructions!

      Thanks

  • Mitch

    Still no update?? Ugh. I just can’t get this to work.

  • Amanda

    So,
    I’ve gotten to installing java – for some reason I can’t get it to work. It continues to give me errors. I tried installing it the way it lists on this page and also the sudo add from the lucid partner isn’t working… check out my screen shots for my attempts at both… PLEASE if anyone can help me out, that would be AWESOME.
    http://img.photobucket.com/albums/v119/imweird4life/01error.jpg
    http://img.photobucket.com/albums/v119/imweird4life/02error.jpg
    Any advice anyone??

  • jibbz

    ok i kno this might have nothing to do with this topic but its related to ubuntu and i thought this was going to be the best place to ask you david or anyone else tht can help me out., ok i wanted to know how can i use androidsdk on ubuntu using it as a fully window not on a virtual machine?
    thankx from advance who ever helps me out., ;]

  • jibbz

    david can u help me plz

  • jibbz

    david,

    i did tht but it dont work

  • kevin

    i need help plz…i install linux did all the steps but i cant enter my password when trying to install the jar file thx

  • dummy

    Is it necessary to have Ubuntu installed or I can install “The Android ROM Kitchen” in openSuSE 11.2 because I already have installed openSuSE on other partition beside WinXP?

  • Bladeeye

    Hi i did this howto with my rootet HTC Desire and it works perfect thx

  • stuart

    ok so hey guys im having a bit of trouble here….ive done steps 1-4 but when i get to step 5, im on ubuntu 10 and when i go to termanal it says i must type in “./menu” i did that, i extracted the files to my desktop but i dont think im putting in the right command……HELP please…

    stu

  • stuart

    im stuck on step 5….everytime i put in ./menu it says permission denied, the location of the file is /home/stuart/Desktop. could somebody help me?

    • Stuart,

      Click on the linkwhere you download the kitchen from in our procedure. He has an answer to that issue in the 2nd or 3rd post.

  • Pingback: Custom roms maken()

  • hokedoncronics

    ok so david or theunlockr….

    i noticed someone else posted this up and didn’t get an answer back either… whenever i put the line of code into the terminal it proceeds to ask me to enter my password like normal… although it won’t actually let me enter it at all… i can type for days and nothing shows up… but if i hit enter and start typing really fast it will start typing before saying that i entered the wrong password… any idea how to fix this issue??

  • Svrider

    Hey – I followed everything stated here – great tutorial by the way – very simple and easy to follow.

    The issue I have though is this – I got to stage V. Run the Android ROM Kitchen – I typed in ./menu in the terminal and I was told

    bash: ./menu: Permission denied

    why is this and what can I do to rectify it?

    cheers

    Steve

    • Svrider,

      Follow the link where you downloaded the kitchen from and he has how to fix that in one of the first posts.

  • dcolest44

    everything is working but i cant get the archive manager to work in fox fire is there anyone who can help with this

  • sudl

    sudl@sudl:~$ ./menu
    bash: ./menu: Permission denied

    my said permission denied… what to do ????

    • Sudl,

      Read the article where the kitchen is downloaded from and he has all the answers.

  • kendall

    when i tried to run the kitchen it said permission denied! what do i do?

    • Kendall,

      Click on the link where you download the kitchen from, he has a list of questions and answers for common issues.

  • mercury700ir

    Hi all….
    Can anyone help me..???
    After I downloaded with firefox, the Java.bin and Java-jre in the Virtual box ubunto when I click on them it gives me this error:
    ERROR:Dependency is not satisfiable:sun-java6-jre(>=6.21-1)
    ERROR:Dependency is not satisfiable:sun-java6-bin(>=6.21-1)|ia32-sun-java6-bin(>=6.21-1)
    And when I used the commands in the guide to install them with terminal again give the errors:
    Cannot access archive: No such file or directory
    —–
    I changed the names in the commands also, and make them as :
    sudo dpkg -i sun-java6-jre_6.21-1_all.deb sun-java6-bin_6.21.-1_i386.deb
    in the guid the versions are different, I used both, and both of them gave me same errors…
    what should I do..??
    please answer me…

    • IN AN EFFORT TO UNCROWD THE COMMENTS SECTIONS, AND MAKE IT EASIER FOR YOU TO GET HELP, PLEASE POST YOUR TECHNICAl SUPPORT ISSUES IN THE FORUMS

    • Sam

      A lot of the problems I had with this were from simply not restarting the ubuntu system, each time I would restart it different things would happen. Right after the initial installation i never restarted it, i was never asked for any passwords when trying to install stuff, and my disk space was way to low…pretty stupid but just make sure you restart the ubuntu system multiple times so changes can take affect…i guess, i’m pretty new to this so thats about all i can add

  • Hojen

    i followed every steps in the tutorial…but every time i tried to do ./menu it gives me bash: ./menu: Permission denied…tried it in ubuntu 10.04 and 9.10..both gave me the same thing…please help me out??…

  • John

    if your using ubuntu and getting permission denied just type sh ./menu

    • Hojen

      It works!!! Thanks a lot for the tip…..
      from a linux noob

    • Ninh

      thanks it works

  • Pingback: Customizing my InREDible()

  • Ninh

    i had a message says….permission denied when i type ./menu……please help me to fix the problem

  • mel

    my computer cant find the ubuntu file…what can i do

  • Ace

    Hey I installed everything accordingly and even the latest kitchen today and when I open the Terminal to type in
    ./menu it says Permmision Denied Any Idea?

    • Ace,

      Read his FAQ where you downloaded the kitchen from and he tells you how to fix that.

  • Ace

    Never mind I just read the last Post on that thanks again!

  • ken

    use ubuntu 9.10 the latest version will not download the java packages or allow you to run the kitchen

  • Pingback: Building custom ROMs()

  • Ark

    im getting this error when i try to run the menu file
    bash ./menu: Permission denied

  • Tiner

    So i am at the last step and when i enter “./menu” into the terminal it says “bash: ./menu: Permission denied” How do i fix this problem? Do i have to start all over? Please help

    • Timer,

      Go to where you downloaded the Kitchen and he explains how to fix that in the FAQ.

  • Buddy

    does this work for the Motorola droid2 now? or still only HTC?

  • ScribbleDroid

    If you have an issue with installing sun-java6-bin, try adding “partner” to software sources. Works like a charm.

  • Pingback: Custom Rom & Sense - Page 7 - Sprint Android Forum()

  • Pingback: Off-Topic Thursday night/ Friday is now open()

  • jbrew78

    Hey, trying to do step one and the download link is not working…

    • jbrew78

      Working now… I think the VirtualBox Site was just having problems.

  • Dynamo

    I decided to install Ubuntu 10.x on my pc because it ran much faster. Everything went fine except for when I type in ./menu I get Permission denied. Changed my admin rights to full. I even tried creating a folder titled “rom” and put that path in and I still get Permission denied. I used the latest dsixda_Android_Kitchen_0.100.zip and tried using dsixda_Android_Kitchen_0.99.zip and still got the same message. What am I doing wrong?

  • Dynamo

    I figured it out!

  • Pingback: How to ROOT a rom? - Android Forums()

    • JCO

      I need help setting up my android kitchen i get permission denied also. I have the latest Ubuntu and the latest android kitchen. Need help please.

  • Abu Noah

    tried to install the java files both ways and keep getting an error. command not found and package not found. need help.

    • I had to update the ubuntu i downloaded with the update manager. after you install and reboot your “machine” the os will prompt for some updates. that seemed to assist in the proper install of the java files so you don’t need to process the manual install.

  • Pingback: [KITCHEN][OCT. 13 '10] HTC Android Kitchen, v0.101 [Linux / Mac / Windows]()

  • N1kM4n

    Hey … just wondering will this work for OpenSUSE, its also a type of linux?

  • kozmo

    when i downloaded the virtualbox it wont open, it finished the installation but wont show up. what wrong

  • DJ

    When i attempt to download linux from the link you posted, it always hangs and quits at about 6M.

    Do you have a different mirror or anything?

    • XXR3@p3RXX

      go to http://www.ubuntu.com i believe it is havent used sence 2010 sometime should be able to download older versions as well or go to rapidshare mediafire or try the pirate bay and utorrent utorrent.com to get utorrent istall then the pirate bay.org all one word search under software ubuntu x.x.x for the one you want make sure its an iso file and that its got seeds …….KILL ANTI-VIRUS so it doesnt block utorrent or grant utorrent access/permitions

  • Kozmo189

    i downloaded the virtualbox program, but cant get it to open, what should i do?

    • Felix

      you should get vmware player instead

    • Felix

      you should get vmware player instead

  • You can download the newest version of ubuntu from their site (http://www.ubuntu.com). just make sure you download the desktop version

  • Pingback: آموزش کوک کردن رام برای گوشی های اندرویدی به کمک dsixda kitchen()

  • RootinAround

    I downloaded everything and set out to start set-up, but when I go to put the ubuntu program into the CD/DVD folder it won’t allow me to. Suggestions? Back doors?
    (P.S. – I’m working on a MacBook. If that’s important.)

  • Pingback: Guida per chi vuole iniziare? - Forum Android Italiano()

  • Trdtacoma

    So I DL VB then ubuntu. After it DL I went to start, got the message about using ctrl blah blah blah…. and then i get this message: FATAL: No bootable medium found! System halted.

    So what happened?

    • Yeyeyyeey

      You didn’t specified or deleted the created hard drive, or you didn’t put Ubuntu .iso to boot, that’s why it ended up in the nothing, redo the process, it used to happen to me, and only redoing the process correctly helped.

  • Seeto2009

    can you write the commands again Please,

  • Gabez814

    how would you do the settings for creating the ROM on windows 7 (64 bit)

  • Gabez814

    how would you do the settings for creating the ROM on windows 7 (64 bit)

  • Pingback: Suche komplettes OTA-ROM als ZIP oder wie selber machen? - Android-Hilfe.de()

  • Ckirby192

    Im running 10.04 LTS and none of theses steps are working out for me. Any lists of instructions for the kitchen on 10.04?

  • Ryanstcyr30

    TO ALL HAVING TROUBLES WITH JAVA INSTALLATION OR ANYTHING AT ALL WITH UMBUTU DO THIS!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! IT WILL WORK 100%!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    3 STEPS; YOUR ALL WELCOME; TOOK ME THREE DAYS TO FIND THIS SITE
    1ST: UPGRADE/DOWNLOAD UMBUTU LTS 10.04
    2ND: GO TO http://xtremediary.blogspot.com/2010/04/to-do-after-installing-ubuntu-1004.html; IF U CANT TRY SEARCHING FOR XTREMEDIARY.COM AND THEN IN SITE NAVIGATE TO : to-do-after-installing-ubuntu-1004.html
    3: BASICLY COPY/PASTE EVERYTHING HE SAYS TO
    4:DONE

  • Alan_jeddiel_17

    i got ubunto as mi deafult operation system… this is only for virtual machine?

    • Anonymous

      me too, I use Ubuntu Linux as my main OS but this’ll work

      • Wendall Dobson

        Java 6 is old, which java should I DL?

  • Pingback: Cook your own custom ROM for HTC Android Smartphones in DSIXDA’s ROM Kitchen()

  • Pingback: Cook your own custom ROM for HTC Android Smartphones in DSIXDA’s ROM Kitchen | Free Download Center()

  • Pingback: Anonymous()

  • Leith51

    followed this every step and get bash: file or directory does not exist so not working plus the video tut aint the same as the thread it directs to on the thread for the kitchen

    can this guide been improved on as it not working

  • Toptechvarun

    hI David …………
    I have the less popular android device Named as Micromax A60……..
    can u please make some effort to tell ,how to create a custom rom for it……….
    I have a dumped zip of this phone whose link is http://www.multiupload.com/VZPRKLQH3T

  • Samuelmahone

    I am having problems with the Terminal, it always says somethings wrong with the java and ive also tried the alternatives , but nothing mre…. help please

  • Pingback: Eigene Rom erstellen()

  • Guess this doesn’t work with anything above 9.10?

    Does anyone have this working with newer os’s?

  • Felix Lecky

    I am still stuck at step 5, telling me the menu can not be located, i tried following the thread andstill no success 

  • Felix Lecky

    felix@felix-desktop:~$ ./menu
    bash: ./menu: No such file or directory
     this is what i see when i type it in

    • Jcs718

       open terminal leave open then go to your home folder find android kitchen right click and choose open, find menu file then click and drag to terminal then press enter. Worked for me, good luck

      • Felix Lecky

         thanks it worked, but now i have another problem, my thing updated and now it cannot locate the java file to run the kitchen

        • Smyanks95

          the files have to be out of the kitchen folder when you extract it

        • gezzy19

          I had the same problem and i tried what he did however, the was a message afterwards saying that Ensure you run this file from the same folder as where it was installed. otherwise the kitchen will have problems running the scripts. Start the kitchen with the ./menu command  idk what to to after draging it into the terminal the file menu 

          • gezzy19

            i figure out all i didnt do is to extract all the files on the name that i had put on the ubuntu os

          • KingJames713

            I don’t remember ever naming ubuntu. I named the VM but that still does not work. I am stuck at this step because ./menu is not working for me. Getting the same error as you all. Any advice?

          • Calenoxny18

            you mean , the folder…where is the ubuntu os ?

      • Oneplusoneiswindow

         it doesnt work for me

    • KingJames

      Hey guys. Once you get Java installed and the .zip folder extracted to your Home folder just double click the Menu txt file and then “run in terminal”. The menu opened up just like it says here on this page. Good luck

  • Pingback: How To: Create Your Own Custom ROM for Android, Part 1 – Setting Up The Android Kitchen | undergroundmod()

  • Coyle

    I got as far as extracting the kitchen, but when I try to extract, and error comes up and says “failed to extract”. Please help???

  • Huskywonderboff

    i tried… running sun java in the terminal but still getting errors. asks for my password and after i type it in it gives  an error saying not found. so i tried downloading the file from inside the emulator and it still says file not found fml. plz help

    • Damon

      I get the same thing, does anybody know how to work around this? 

  • Pingback: Cocinando en la tablet « Mundo 3W()

  • Pingback: Cocinando en la tablet | Tu Ordenador Virtual()

  • Thank you for the tutorial and the step by step on setting up from the beginning to the end, as always will gladly donate to the Developer from XDA for sharing tools and “how to” in creating custom’s made Rom’s! 🙂

  • Salahudean

    Does it have to be Ubuntu 9.1? cuz I already have Ubuntu 11.6 loaded up on my PC

  • Damon

    I type in the JAVA fix, but it comes up, saying, [sudo] password for …: 

    I try and type it in, and it won’t let me, what do I do? 

    • Wendall Dobson

      Since it is a password you can’t see it but you are typing, finish and hit enter.

  • Calenoxny18

    hey at then end . when i type the command, I get nothing . help pz

  • Pingback: Question for the Rom devs. - Android Forums()

  • nirmalshah2000

    Does the procedure shown above for creating custom roms support Android Honeycomb (3.0 and above)? I want to create a custom rom for tablets such as Acer Iconia A500 or Samsung Galaxy Tab 10.1

  • Wendall Dobson

    Trying this now, have VB and Ubuntu 11.6 installed, having a hard time with Java…any help would be appreciated.

  • Jerry_mccallum

    need help installing java

  • Jerry_mccallum

    need help installing java

  • Tim Johnson

    i’m getting no such file or directory, when typing in terminal .:/menu.  i followed all the steps thru extraction point.  what did i do wrong?

    • Butcher666_gokstad

      Hi man !
      I got the same problem on the first attempt.
      You mustn’t extract the archive on your desktop on Ubuntu.
      Extract it in your home folder and it will go on !

  • Tim Johnson

    nvm i got it working had to double click menu in the kitchen folder and opened it….automatically opened on terminal

  • Koutouyo

    To install java you must move file to home by right click file you want to move and choose move to home. Then type terminal code like above, this should work

    The file download by firefox in download folder just in case you guys don’t known where it is

  • Saeed

    Hey, Can I grab a rom from wildfire or any htc devices and port it to my htc tattoo?? plz help me! 

  • I tried mounting the image (part III. step 4.) and got this error:

    E_FAIL (0x80004005)
    Component:
    Medium
    Interface:
    IMedium {aa8167ba-df72-4738-b740-9b84377ba9f1}
    Callee:
    IVirtualBox {2158464a-f706-414b-a8c4-fb589dfc6b62}

    I wouldn’t mind installing ubuntu/linux (whatever its called, I’m really new with all these modding stuff)
    on my physical hard disk drive.
    I’m running Win 7 x64, is that a problem?

  • Pingback: Got Ubuntu 11.04 - Android Forums()

  • Pingback: [Custom Rom] SmartLucky - Seite 15 - Android-Hilfe.de()

  • Michael Ortega

    When I try step III, Part 7 (trying to install Java):

    To run a command as administrator (user “root”), use “sudo “.
    See “man sudo_root” for details.

    michael@michael-laptop:~$ sudo apt-get install sun-java6-bin sun-java6-jre
    [sudo] password for michael:
    Reading package lists… Done
    Building dependency tree
    Reading state information… Done
    E: Couldn’t find package sun-java6-bin
    michael@michael-laptop:~$

    what do I do? Anything I can do? I have tried to use the direct download links provided but one doesn’t have anything to download with it and the other that actual says it has a file, none of the links go to a page that actually works. Is this just too old now?

  • Williamburkhardt

    the java files are not there

  • Guest

    the java files died?

  • Mdallasyoung

    does this work on windows 7 becuse everything you guys talk about is linux

  • Pingback: Where is the kitchen?()

  • Arun Kumar

    just change the directory that is containing the menu file using
    $ cd
    then type
    $./menu and hit enter !!

    arunkumar@arunkumar-VirtualBox:~$ cd dsixda-Android-Kitchen-68eb908
    arunkumar@arunkumar-VirtualBox:~/dsixda-Android-Kitchen-68eb908$ ./menu