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.

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


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

2. Type this into the url box: (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).


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:


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

225 responses to “How To: Create Your Own Custom ROM for Android, Part 1 – Setting Up The Android Kitchen”

  1. Mr. O says:


  2. Mr. O says:

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

    • TheUnlockr says:

      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!

      • Supercopter says:

        Actually Windows users can also use WUBI (Windows UBuntu 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 😉

  3. cbowley says:

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

    • TheUnlockr says:


      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. 🙂

  4. Justin says:

    Will this work on Fedora?

  5. wilskywalker says:

    @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/

    Hope this helps!

  6. GUNZ says:

    Will this work with 62bit windows?

  7. magana1268 says:

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

  8. BlazE says:

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

  9. RyanBigDog(XBOX) says:

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

  10. dsixda says:

    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!!!!

  11. BlazE says:

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

  12. Mano says:

    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?

  13. dsixda says:

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

  14. Breakthecycle2 says:

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

  15. Justin says:


    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.

  16. BlazE says:

    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 says:

      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)
      IMedium {1d578f43-5ef1-4415-b556-7592d3ccdc8f}
      IVirtualBox {3f36e024-7fed-4f20-a02c-9158a82b44e6}

      Help a guy out?

      Thanks, great vid’s.

  17. Breakthecycle2 says:


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

  18. victor says:

    i can do a rom for mytouch 1.2 with this procedure

  19. Magic32b says:

    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?

  20. james v says:

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

  21. Breakthecycle2 says:

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

  22. dsixda says:

    @Magic32b Read the FAQ for the kitchen at – It gives you an alternate method for downloading Java if the apt-get method doesn’t work.

    • TheUnlockr says:

      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?

  23. dsixda says:


    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.

  24. magana1268 says:

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

  25. GUNZ says:

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

  26. seanj says:

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

  27. dsixda says:

    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:

  28. Aziz says:

    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 :

    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 🙁

  29. Aziz says:

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

  30. GR says:

    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.

  31. jerry says:

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

  32. dsixda says:

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

  33. james v says:

    where is part two???

    • TheUnlockr says:

      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.

  34. dsixda says:

    @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..

  35. sprint johnathan says:

    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

  36. dsixda says:

    @Sprint Jonathan

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

  37. EJ says:

    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)
    IMedium {aa8167ba-df72-4738-b740-9b84377ba9f1}
    IVirtualBox {2158464a-f706-414b-a8c4-fb589dfc6b62}

  38. dsixda says:

    @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.

  39. Mobbyd says:

    when will part 2 be posted?

  40. droidfreak says:

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

  41. dsixda says:

    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.

  42. jay says:

    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”

  43. jay says:

    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.

  44. dsixda says:

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

  45. SMURFST3R says:

    so you have to have 2 computers to do this?

  46. Cheecho06 says:

    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

    • TheUnlockr says:


      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.

  47. cheecho06 says:

    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.

    • TheUnlockr says:


      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?

  48. magana1268 says:

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

  49. sixn i says:

    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.

  50. lior says:

    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?

  51. manny says:

    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!

  52. Leland Cooley says:

    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

  53. manny says:

    @ 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!

  54. Leland Cooley says:

    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.

  55. jibbz says:

    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?


  56. Leland Cooley says:

    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

  57. jibbz says:

    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

  58. manny says:

    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. : )

  59. Leland Cooley says:

    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.

  60. Leland Cooley says:

    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.

  61. Leland Cooley says:

    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 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.

  62. Jon says:

    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.

  63. edo says:

    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.

  64. Jammallnyte73 says:

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

  65. RsoeHelk says:

    “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)
    IMedium {aa8167ba-df72-4738-b740-9b84377ba9f1}
    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.

  66. RsoeHelk says:

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

  67. Mitch says:


    Step II. Install Linux Ubuntu on the Virtual Machine

    Tells me:

    FATAL: No Bootable medium found! System halted.

  68. Erick says:

    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?


  69. Mitch says:

    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

  70. Dion says:

    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

  71. GrandMstrBud says:

    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 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 was finally able to be signed. I’m very new at Ubuntu so I hope this makes sense, LOL.

  72. Mitch says:

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

  73. Amanda says:

    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.
    Any advice anyone??

  74. jibbz says:

    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., ;]

  75. jibbz says:

    david can u help me plz

  76. jibbz says:


    i did tht but it dont work

  77. kevin says:

    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

  78. dummy says:

    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?

  79. Bladeeye says:

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

  80. stuart says:

    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…


  81. stuart says:

    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?

  82. hokedoncronics says:

    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??

  83. Svrider says:

    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?



  84. dcolest44 says:

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

  85. sudl says:

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

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

  86. kendall says:

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

  87. mercury700ir says:

    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…

    • TheUnlockr says:


    • Sam says:

      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

  88. Hojen says:

    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??…

  89. John says:

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

  90. Ninh says:

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

  91. mel says:

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

  92. Ace says:

    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?

  93. Ace says:

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

  94. ken says:

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

  95. Ark says:

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

  96. Tiner says:

    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

  97. Buddy says:

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

  98. ScribbleDroid says:

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

  99. jbrew78 says:

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

  100. Dynamo says:

    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 and tried using and still got the same message. What am I doing wrong?

  101. Dynamo says:

    I figured it out!

  102. Abu Noah says:

    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.

  103. N1kM4n says:

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

  104. kozmo says:

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

  105. DJ says:

    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 says:

      go to 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 to get utorrent istall then the pirate 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

  106. Kozmo189 says:

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

  107. You can download the newest version of ubuntu from their site ( just make sure you download the desktop version

  108. RootinAround says:

    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.)

  109. Trdtacoma says:

    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 says:

      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.

  110. Seeto2009 says:

    can you write the commands again Please,

  111. Gabez814 says:

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

  112. Gabez814 says:

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

  113. Ckirby192 says:

    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?

  114. Ryanstcyr30 says:

    TO ALL HAVING TROUBLES WITH JAVA INSTALLATION OR ANYTHING AT ALL WITH UMBUTU DO THIS!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! IT WILL WORK 100%!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    2ND: GO TO; IF U CANT TRY SEARCHING FOR XTREMEDIARY.COM AND THEN IN SITE NAVIGATE TO : to-do-after-installing-ubuntu-1004.html

  115. Alan_jeddiel_17 says:

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

  116. Leith51 says:

    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

  117. Toptechvarun says:

    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

  118. Samuelmahone says:

    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

  119. Jason says:

    Guess this doesn’t work with anything above 9.10?

    Does anyone have this working with newer os’s?

  120. Felix Lecky says:

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

  121. Felix Lecky says:

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

    • Jcs718 says:

       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 says:

         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 says:

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

        • gezzy19 says:

          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 says:

            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 says:

            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 says:

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

      • Oneplusoneiswindow says:

         it doesnt work for me

    • KingJames says:

      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

  122. Coyle says:

    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???

  123. Huskywonderboff says:

    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

  124. tekn010933 says:

    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! 🙂

  125. Salahudean says:

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

  126. Damon says:

    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? 

  127. Calenoxny18 says:

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

  128. nirmalshah2000 says:

    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

  129. Wendall Dobson says:

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

  130. Jerry_mccallum says:

    need help installing java

  131. Jerry_mccallum says:

    need help installing java

  132. Tim Johnson says:

    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 says:

      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 !

  133. Tim Johnson says:

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

  134. Koutouyo says:

    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

  135. Saeed says:

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

  136. Joseph Choo says:

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

    E_FAIL (0x80004005)
    IMedium {aa8167ba-df72-4738-b740-9b84377ba9f1}
    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?

  137. Michael Ortega says:

    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

    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?

  138. Williamburkhardt says:

    the java files are not there

  139. Guest says:

    the java files died?

  140. Mdallasyoung says:

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

  141. Arun Kumar says:

    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

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.