[TUTORIAL] How To Port Any ROM

This Tutorial Worked For You?


  • Total voters
    7
  • Poll closed .
Search This thread

pranavaryans

Senior Member
Dec 1, 2013
1,315
2,864
37
Rajkot
pranavaryans.blogspot.in

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
Notepad++
Winzip/Winrar

Q) What device should i port from?

Any Device

Base ROM and PORT ROM

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

ro.config.ringtone=
ro.config.notification_sound=
ro.config.alarm_alert=

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

libandroid_runtime.so
libandroid_servers.so
libmedia_jni.so

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

THIS WILL WORK....
 
Last edited:

evilvoice

Senior Member
May 4, 2008
923
569
Conyers GA
So you can't use stock rom as the BASE and port a rom from a different device but same family? I'm wondering because there is almost no development on the Sprint tab 2 10.1" (P500) and I would LOVE to put SlimKat on this device. I loved SlimBean on my Nexus S 4g. How would I go about porting the custom rom to my device without using a stock rom as BASE? Thanks

Sent from my SM-N900P using xda app-developers app
 

njstein

Senior Member
Jan 25, 2013
1,546
512
Boise
So you can't use stock rom as the BASE and port a rom from a different device but same family? I'm wondering because there is almost no development on the Sprint tab 2 10.1" (P500) and I would LOVE to put SlimKat on this device. I loved SlimBean on my Nexus S 4g. How would I go about porting the custom rom to my device without using a stock rom as BASE? Thanks

Sent from my SM-N900P using xda app-developers app

I believe all custom ROM's use CM as a base, not stock. But could be wrong

Sent from my SAMSUNG-SGH-T769 using XDA Premium 4 mobile app
 

evilvoice

Senior Member
May 4, 2008
923
569
Conyers GA
Damn. I'll have to look and see if there is anything for this tab. How would I build CM11 for my particular tab if it hasn't been done already?

Sent from my SPH-P500 using xda app-developers app
 

Sammy854

Senior Member
Nov 1, 2013
950
1,123
OnePlus Nord
Mmm... Is the touchwiz porting from note 10.1 2014 to cyano 10.2 possible? Sorry for my english

Inviato dal mio GT-P5110 utilizzando Tapatalk
 

lungayu

New member
Apr 16, 2012
4
0
thanks for the knowledge pranavaryans ?

Sent from my GT-P3100 using XDA Premium 4 mobile app
 

Top Liked Posts

  • There are no posts matching your filters.
  • 8

    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
    Notepad++
    Winzip/Winrar

    Q) What device should i port from?

    Any Device

    Base ROM and PORT ROM

    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

    ro.config.ringtone=
    ro.config.notification_sound=
    ro.config.alarm_alert=

    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

    libandroid_runtime.so
    libandroid_servers.so
    libmedia_jni.so

    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

    THIS WILL WORK....
    2
    How To Port Any ROM To TAB2.....................................
    ...............................................................

    THIS WILL WORK....
    Well not to discourage you but there are already a lot of threads like this out there so why one more?:confused::p
    1
    Well not to discourage you but there are already a lot of threads like this out there so why one more?:confused::p

    Helped me because it was on the first page when I loaded the app and now I learned something else thats useful thank you

    Sent from my SAMSUNG-SGH-I747 using xda app-developers app
    1
    Great tutorial for newbies!

    Welome

    Sent from my GT-N7000 using XDA Premium 4 mobile app