Well we will now discuss on "How to Port ROM for any Device". The discussion might longer and must take while to learn and understand the procedure. Some tool that certainly needed will be included with topic topic discussion. Let's try to do...!

A question might cooking on your mind that "What is "Porting ROM"? "How to do it?". That's natural to all newbies. So, first of all we should learn about "What is Porting ROM?Read the next passage for further details:

What is Porting ROM:
Do you know what is a ROM? May be or not may be...! If you can't, I am telling this point. ROM is a combination or gathering of some programs that operates your device in a certain way. Hard to understand, isn't it? No problem, everything will be cleared to you. Some example can be mentioned. When you charge your device, some iconic image blips on it's screen that inform us that device is successfully charging. Moreover, when you dial or receive a call, some signals are sent from a part of tool to another such as your voice is going over the mic to antenna by several process of hardware. And all task is controlled by a system or program which is called ROM. I hope you understood this

Your device contains some hardware that does your required things. Example of phone call can be mentioned here. Mic is a hardware component that turns sound into electric signal. Your device must be known that what is a mic? To tell device about mic, you will need to create a driver program. Moreover when you play games in your device it requires Graphics Processing Unit (GPU) which is also a hardware and it also requires driver. And all those drivers are stored in ROM. You know there are different kinds of Android device with different kinds of hardware. So drivers are created for each devices and stored them in it's ROM. Now it is clear that several driver that contains a ROM which is not universal and so can't be used one's ROM to another one. Now, Porting ROM means: "Making available all hardware components to a ROM which is required by your device (Target Device)." We call this "Port ROM". I think it's clear to you that what is porting ROM for any Device.
 
How build(Port) a ROM:

Next question is How to do(port) it?. There are several ways to port ROM for a device. I am including three of them. Android Open Source Project (AOSP), CyanogenMod, AOKP etc. Porting from AOSP is quite difficult. You will have to download and customize the code for target device. And you must compile it to install and use on your device. Porting from CyanogenMOD is pretty easy. But in this procedure, you will need a ROM that already made for your device or any other that matches with target device's hardware component. We will call the source ROM as "Base ROM". I don't have any idea about porting from AOKP. Don't be so upset. Above two procedure will be enough for porting.

Cautious:
If the Port is an AOSP ROM, the base ROM you choose must also be AOSP. You can not choose CyanogenMod as the based if you are porting an AOSP ROM. So make sure you choose the right base ROM which is fully working. If your base ROM has a bug, the ROM that results from this whole process will have the same bug. Don't get panic. I will try to manage this for you.
Requirements:
 
  • Windows or Linux or Mac, any of these can be used.
  • Winrar for Windows and a similar software to extract .zip files in Linux and Mac.
  • Notepad++ for editing build.prop You can use any text eidtor but Notepad++ is what I prefer.
Introduction to ROM porting is complete. Wait for my next post regarding this topic. It may take a while to post.

Post a Comment

  1. Good Job! MC. I am Nayeem. No coment. So, I am commenting myself.

    ReplyDelete

 
Top