[GUIDE]How To Port a Custom Rom (Noob Friendly)

Well lots of people asked me here and on facebook to expain how i port custom roms for my device so i decided to make a Noob friendly thread for those who want to learn how to port custom rom for their device i use this method for porting samsung roms for my device but it may also work on any other device as well

I will make myself as clear and as simple as possible so anyone can understand what actually is happening in each part of the guide

The method i use for porting roms is as following :
Things which you need are : Notepad++ , 7Zip a laptop and a brain

First of all you need to understand what really matters when porting a custom rom for you device and that is the compatibility of both the devices one which is yours and one from which you are trying to port the rom from in order to port a custom rom the specifications of both the devices should be similar i.e. they should be sharing the same Chipset ,same Internal memory , same Ram and Camera resolution

Terms used in the guide:
-Base rom(this is the rom which was made for your device which you would use as a base for porting the roms)
-Port rom(this is the rom which your are trying to port for your device)

Step 1
Make a folder at your desktop and name it port now take any custom rom you want to port for your device and put it into that folder now just like this make another folder on the desktop and name it base and put a rom made for your device into it but be careful if youre trying to port a cyanogenmod based rom or a AOSP based rom then your base rom should be a ASOP or a cyanogenmod rom and if youre trying to port a samsung rom then the base rom should be a samsung rom and same as for htc , xperia or any other device

Step 2
Now go to base folder and right click on the base rom and choose extract here using either winrar or 7zip ( i recommend 7zip) now go to port folder and right click on it and choose open archive option from 7zip( there will be two options for open archive one and two just chose the upper one because the lower one will extract the rom and we don't want that for this one )

Step 3
The port rom elements will be shown like meta inf and system and boot img ( absent in some cases) now go to port roms system folder then proceed as following system>etc>firmware and delete the firmware folder now go to base rom and copy the firmware folder from the same path by going from system>etc>firmware and paste it into the etc folder of the port rom

Step 4
Now go to the port rom proceed as following system>lib>modules and delete the module folder and just like how we did before copy the module folder from the base rom into the port roms lib folder

Step 5
Now go to port rom and proceed as following system>usr>keylayout>generic.kl and delete it and copy the generic.kl from the base rom into the port rom

Step 6
now copy and replace the boot.img from the base rom into the port rom

Step 7
No go to port folder and and proceed as following system>meta-imf>com>google>android>updater binary and updater script and delete these two and replace from the ones in the base folder

Step 8
Now put the port rom into your external-sd card and flash via recovery with a full data and cache wipe

Show Accepted Answer

Guest Quick Reply (No URL, BBcode or HTML)

Last post by pfarrell
43 minutes ago
XOOM Taskbar
Started by xhegmann
Last post by aubree82
20 minutes ago
Last post by tberge
4 hours ago
Last post by bosco.justine
3 hours ago
Last post by tyreek.koelpin
2 hours ago
Last post by bradley.streich
1 hour ago
Last post by rschoen
3 hours ago
Last post by edd.schowalter
3 hours ago
Last post by edward.torp
4 hours ago
Last post by onie87
2 hours ago
Last post by curt.wiegand
3 hours ago
Last post by constantin.leuschke
2 hours ago
Last post by fadams
3 hours ago
Last post by erik.nolan
3 hours ago
[Q] Play music
Started by fcronin
Last post by bobbie23
4 hours ago
Last post by letha.blanda
5 hours ago
[Q] Arc s
Started by kitty37
Last post by marcel17
35 minutes ago