• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!
  • Fill out your device list and let everyone know which phones you have!    Edit Your Device Inventory
Search This thread

bernardwu

Senior Member
Apr 23, 2015
195
101
KL
Port rom compatiblity

Question here.
Can I port ROM from MOTOROLA MOTO E 2nd GENERATION (XT1072) to SAMSUNG GALAXY A3 (SM-A300F)
I checked the resolution are the same and have the same processor (Qualcomm Snapdragon 410 MSM8916)
I dont know if its okay to port rom because the brand isnt the same can anyone confirm for me if the condition is right for ROM PORTING?
 

wire55

Senior Member
Feb 25, 2013
397
64
Question here.
Can I port ROM from MOTOROLA MOTO E 2nd GENERATION (XT1072) to SAMSUNG GALAXY A3 (SM-A300F)
I checked the resolution are the same and have the same processor (Qualcomm Snapdragon 410 MSM8916)
I dont know if its okay to port rom because the brand isnt the same can anyone confirm for me if the condition is right for ROM PORTING?

I have ported ROMs from the nexus 7 2012 and 2013 to the amazon kindle fire HD, so I would assume it would work for you if it worked for me.
 
  • Like
Reactions: bernardwu

Jaykingis20

Senior Member
Jul 7, 2013
80
6
can i use smt211 base as stock rom and use smt210r as port or can i do it the other way around because i think smt211 has a lollipop but want to ask to make sure because i have an smt210r
 

manuhackzzz

Senior Member
Oct 24, 2012
215
41
Jaipur
guys i need help here ,
I am thinking of porting AOKP (MM based) having BASE CM (MM based) the difficulty is that i cant find the folders in "system" folder the structure of the MM based ROM is totally different , can any one help me to get through this ?
Devie :Redmi 1s (SD-400 MSM8228)
 

Attachments

  • Capturesadasd.PNG
    Capturesadasd.PNG
    29.5 KB · Views: 233
  • Captureasdasd.PNG
    Captureasdasd.PNG
    7.3 KB · Views: 233

David B.

Senior Member
Mar 25, 2016
303
63
I want to port Android Marshmallow to my Nexus 4, and although I am aware that there are numerous downloads available where people have already done just that, I would like to do it on my own. Could I use this method to do so or would that require something greater?
 

Rapha88

Senior Member
Nov 9, 2013
70
20
São Paulo
guys i need help here ,
I am thinking of porting AOKP (MM based) having BASE CM (MM based) the difficulty is that i cant find the folders in "system" folder the structure of the MM based ROM is totally different , can any one help me to get through this ?
Devie :Redmi 1s (SD-400 MSM8228)

From Lollipop forward, system has become very large (~ 2Gb), and thus a new compression method was needed. You still can extract it by following those steps.

1. Install "Python 3.x" on your pc and download "Ext2Explore"

2. Extract the these files from the rom:
"system.transfer.list"
"system.new.dat"

3. Open "cmd" and use the following command:
sdat2img.py system.transfer.list system.new.dat system.img

4. After the file "system.img" is created, run Ext2Explore as adiministrador.

3. Click "Open Image", in the right screen, select the file and then click "Save" and choose where the rom will be extracted.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 107
    How to port roms to your Device

    Sick of seeing roms for other devices ? wanna experience them in your device ?

    Well here's a guide to teach you just that .

    Code:
    KEEP THESE POINTS IN MIND
                   
                    This guide wont make you a full fledged dev.
                    It teaches you the basics of porting ROMS. 
                    If anything happens to your device I AM NOT RESPONSIBLE for IT ! try it on your own risk !


    So to begin before starting right away have a check list of these items -

    Code:
    The rom which you want to port for your device is named here as [B]BASE[/B] 
                The rom which is already working for your device is called here as [B]PORT[/B]
                 Your final ROM is in PORT

    STEP 1

    Grab a rom
    Make sure to grab a rom of same resolution. for ex- 320x480.
    And prefer to use the roms with same android version. for ex - android 4.0.4=android 4.0.4
    also prefer to use roms from same manufacturer for ex - use htc desire S for htc desire HD
    use either aosp or cm 7,9 or 10 working for your device as port
    Download and install notepad++ and a archiver. ( I use winrar)

    STEP 2

    1_zps9cec6393.png



    2_zps305d68f1.png


    3PNGPNG_zps764c6a51.png


    First open both the roms side by side in the zip form
    perform these actions in PORT.zip
    Go to system> then delete the app,media,fonts & framework folders.
    now drag and drop the app,media,fonts & framework folders from base.zip to ported.zip



    STEP 3

    Now go to the etc folder in base.zip and the port.zip now see if the base.zip has any extra files other than those in the port.zip
    if you find any put them in your etc folder of port.zip

    STEP 4


    4_zpsdb409c3b.png




    Now open buid.prop file using Notepad++ and make changes to these of Port.zip
    ro.build.id=
    ro.build.display.id=
    ro.build.date=
    ro.modversion=

    In build.prop file change these to same as Port Rom build.prop values. you can find these in additional build properties

    5_zps67756f9e.png


    6_zpsb8e74cca.png


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

    If you want to port for htc devices try this if you face issues :

    to fix network auto select,
    decompile framework-res.apk
    go to \framework-res\res\values\bools.xml change
    <bool name="skip_restoring_network_selection">true</bool>
    to false.

    to fix graphichal issues,

    decompile framework.jar

    change these files with cm9 base

    smali\smali\android\os
    Environment
    SystemProperties
    smali\smali\android\view
    HardwareCanvas
    HardwareRenderer$Gl20Renderer
    HardwareRenderer$GlRenderer
    HardwareRenderer


    Happy porting ! ;) :good:

    SUPPORT MY WORK BY DONATING ME HERE :D
    7
    try this guide buddy

    Nice guide

    Sent from my HTC Explorer A310e using xda premium

    try this guide buddy and plz tell me how did it go ?
    4
    erm yes

    How about the Fascinate/Mesmerize?


    Sent from my Galaxy S Mesmerize running AOKP Build 5 JellyBean with Devil Kernel 1.6.1

    yes you can
    but be sure to choose the rom you wanna port from a device having same resolution i.e same as your mesmerize
    2
    Nice guide

    Sent from my HTC Explorer A310e using xda premium
    2
    just look for roms in lg p500 or galaxy ace if you like any port them
    but remember to take their developers permissions first

    Two more Galaxy gio and most important HTC Wildfire S.
    :D