How to develop custom ROMs for your Android Phone [DIY]
Create Custom ROM on Android of your choice fully yourself.
If you like staying a step ahead than the rest then the field of Android development and custom ROMs have to offer you a lot. If you wish to have a custom ROM with the features you like or if you want the ROM from some other device on your own then XDA forum has the way out for you. Yes, you don’t need to be a highly tech savvy person. Just following the steps as given below would solve your purpose. Completely do it yourself guide to create custom ROM for your Android phone and design it the way you like with features you want, looks and settings.
Note: It is important to note that the method that is given in this tutorial is specifically meant for HTC Android phones. Once the software gets an update, it might support more manufacturers. But for the time being on HTC is supported.
Step by Step guide to create custom ROM for Android
Setting up Virtual Machine:
The first thing you are required to do is, download the virtual machine and set up the same. You can download the virtual machine from here : Virtual Machine. Once the download is complete, launch it and install it just like any other software installation.
Now, open the VirtualBox and click on New. Provide the name for this virtual machine (new). For example we are giving it name as “Androidust”.
Now you have to choose one operating system for this virtual machine and you can select Linux. Now it will ask for version and you should select Ubuntu and then again click next.
Coming to the memory settings, click next and keep the memory as it is ( ie. default which ever is already there ). Ideally it should be 385mbs and you need not make any sort of modification there.
Now, the option of boot disk will come and you have to click next. While doing that make sure boot hard disk and create new hard disk is selected.
You have to click on the next button till you find slider asking you how much space you need for Linux. Make it 8GB with the slider and again click on Next.
Continue clicking on next till you find the original normal screen again. Along with this you will also find that the there is Linux Machine Powered Off. You can see this on the left side.
Ubuntu installation on Virtual Machine
First of all get Ubuntu ! ( You can get it from here: Ubuntu)
Once the Ubuntu iso file is downloaded, open Virtual Machine and click Start (on the top).
Ignore and close all warnings that you would see.
Now it will ask to load the img file : click on Devices > CD/DVD Devices > More CD/DVD Images… then select the .iso image for Ubuntu you downloaded.
Follow the prompts as it comes to install Ubuntu.
After installation and reboot is over, you go to: goto Applications > Accessories > Terminal
In the terminal window type in this:
sudo apt-get install sun-java6-bin sun-java6-jre
Now for password you must put in the one you created before installation (you were asked for this).
After this you have to make selection of y/n and you must select y. Terms will be displayed and you must press the right arrow (on keyboard) and then press enter. After this, press left arrow(on keyboard) and press enter. This will make selection for Yes.
Now, there is something you must know and that is, now since your keyboard and mouse won’t work on the normal computer. You must use the CTRL button on the keyboard first. This will help in enabling those functions.
Mostly, there should not be any issue with Java file installations. But in case of an error you will have to download the same manually from Linux with the use of Firefox.
If you get any error while installation of Java files then you can download the same manually from here:
To fix this issue, on Ubuntu open the Terminal app and type this:
sudo dpkg -i sun-java6-jre_6.18-4_all.deb sun-java6-bin_6.18-4_i386.deb
(after this press enter)
Setting up Android ROM Kitchen
Open the ubuntu Virtual Machine
Now open Firefox from the Virtual Machine (Not the one on your normal PC)
Now through the Firefox on the Virtual Machine, visit the XDA thread here and download the latest kitchen file from the thread. Note that you should visit this link through the Firefox in Virtual Machine only. This is to ensure that the file is downloaded to the Virtual Machine and not your original machine.
Now on the Ubuntu machine, right-click on the zip file which we downloaded open with Archive Manager and click Extract. Once you done that, it will ask the location to extract. Double click on the folder which has the name we created during the Ubuntu installation. Click on Extract and all the files will be extracted to that folder.
Using Android ROM Kitchen
- Click on Applications through Ubuntu > Accessories > Terminal. In the terminal window type in this:
- Now you are in Android kichen and you can prepare you ROM dishes.
- For a detailed instructions on how to use the kitchen and prepare ROMs visit here.
Disclaimer: While creating the custom ROM or getting new ROM for your android handset, there is some risk involved to the extent of bricking the phone. We are not responsible for this. You should do this at your own risk. However, if you have any doubts in relation to this, you must comment on this article and we will sort out your problem.