Or Continue to Thread: [TUTORIAL] How To Port Any ROM
Find Your Device:
17th February 2014, 08:43 AM   |  #1  
pranavaryans's Avatar
OP Senior Member
Flag Rajkot
Thanks Meter: 221
400 posts
Join Date:Joined: Dec 2013
Donate to Me

If it Helped then help me through recharging my vodafone(INDIA) Number : +91 9586999937
How To Port Any ROM To TAB2

Things you will need installed on your PC

Q) What device should i port from?

Any Device


Base ROM is what is Developed For Tab2

Port ROM is what ROM you want to port for Tab2

Note: If you are porting a CM(PORT) which is ICS the BASE should Be cm9... same for JB

Now Let's start Porting!
Extract the BASE ROM to a Folder named Base
Extract the PORT ROM to a Folder named Port
Open Base ROM and go to system folder
DELETE "app,fonts,framework,media"
Open Port ROM and go to system folder
COPY "app,fonts,framework,media"
and paste it in System folder of the Base ROM
Open Port ROM and go to etc folder
Open Permissions Folder copy everything EXCEPT handheld_core_hardware.xml and platform
and paste it in the etc folder of the BASE ROM
Open Base ROM and go to system/etc/init.d folder
DELETE all files except 00banner
Open Port ROM and go to system/etc/init.d Folder
COPY everything Except 00banner
and paste it in the init.d folder of the BASE ROM

Now open build.prop And edit

ro.build.display.id=add what you want here
ro.modversion=add what you want here

Now open build.prop of PORT ROM and find


COPY there 3 lines and replace them in the BASE ROM's build.prop

Now Open updater-script

scroll down and find the lines starting with set_perm (there will be lots of them!)

Copy only those lines From PORT ROM's updater-script to BASE ROM's updater-script

If You find any extra file or folder in system folder of PORT rom than copy them to your base rom system folder.

Open updater-script from PORT ROM and copy all the set_perm lines and replace them with the lines in BASE ROM

To prevent bootloop copy


from system/lib in PORT ROM and REPLACE it with the files in system/lib of BASE ROM

Now ZIP the ROM and flash it

Last edited by pranavaryans; 17th February 2014 at 10:04 AM.
The Following 8 Users Say Thank You to pranavaryans For This Useful Post: [ View ]