1. ThatGuyLurkin's Avatar
    How I Port Roms



    PREREQUISITES :
    * Base rom(CM7/CM9)
    *Rom you want to port(Must be MDPI I believe)
    *7-zip or Winrar

    OPTIONAL: APKtool if you want to fix MMS


    STEP 1:

    Open Base Rom,

    If CM7: Delete Apps, Framework, and Media
    if CM9: Delete Apps, Framework, and go INTO the media folder, delete everything but the EMD files.


    STEP 2:
    IF CM7:Copy Apps, Framework, and Media from Port, to Base

    IF CM9:Copy Apps, Framework, And audio folder.

    MIUI: Copy Everything in the media folder except EMD files
    STEP 3:
    Go into bin of both roms, Copy EVERYTHING from Base, to Port. Next, copy everything in Port to Base. This will fill in missing files.
    STEP 4:
    Go into etc/Init.d/ in both roms. Copy EVERYTHING from Base, to Port. Next, Copy everything in Port to Base.

    STEP 5:
    Go into etc/Permissions in both roms. Copy EVERYTHING from Base to Port, then Port to Base
    STEP 6:
    Go into etc of both roms. Copy other files(NOT FOLDERS) from Base to Port, then Port to base.

    STEP 7:
    Go to Lib of both roms. Copy all Lib files from Base to Port, then Port to Base.


    IF it's a special rom, you need some other files. (Search XDA if you get problems)
    STEP 8:
    Go into Xbin of both roms. Copy all from Base, to port. Then Port to Base.



    After those are done, you should be able to flash the BASE rom with no problem, and enjoy the ported rom.



    Post #2 will be Hotfixes(MMS, How to include Tweaks properly, etc)


    I'll add screenshots when I get a chance.
    10-29-2012 11:07 AM
  2. ThatGuyLurkin's Avatar
    Reserved
    bunanson, Badboytoast and johnh02 like this.
    10-29-2012 11:07 AM
  3. longie39's Avatar
    Awesome thank you!!

    Sent from my LG-VM670 using Tapatalk 2
    10-29-2012 12:28 PM
  4. cpackar's Avatar
    Could I make my own fixes for like MMS, personal customizations with favorite roms, stuff like that?
    10-29-2012 12:43 PM
  5. ThatGuyLurkin's Avatar
    What do you mean by that? :P

    Second post will also have something I call " The Lazy Porter " xD
    10-29-2012 01:31 PM
  6. cpackar's Avatar
    What do you mean by that? :P

    Second post will also have something I call " The Lazy Porter " xD
    I like to test like EVERY rom that comes out, and MMS doesn't work on some ports, and I want to learn to fix a bug if I see it.
    10-29-2012 01:36 PM
  7. johnh02's Avatar
    Good guide thanks

    Sent from my LG-VM670 using Tapatalk 2
    10-29-2012 03:38 PM
  8. adamhos's Avatar
    What do I use as a base?
    Any v rom I choose?


    Sent from my LG-VM670 using Android Central Forums
    10-29-2012 03:43 PM
  9. A-android-B's Avatar
    Thank you for your wisdom. You are far too kind.

    Sent from my LG-VM670 using Android Central Forums
    10-29-2012 04:16 PM
  10. johnh02's Avatar
    What do I use as a base?
    Any v rom I choose?


    Sent from my LG-VM670 using Android Central Forums
    Yea any v rom that has at least mostly everything working

    Sent from my LG-VM670 using Tapatalk 2
    adamhos likes this.
    10-29-2012 04:37 PM
  11. ThatGuyLurkin's Avatar
    I like to test like EVERY rom that comes out, and MMS doesn't work on some ports, and I want to learn to fix a bug if I see it.
    You'll need APKtool to do so.

    android-apktool - A tool for reverse engineering Android apk files - Google Project Hosting

    If you use Windows, Extract files from

    apktool-install-windows-r04-brut1.tar.bz2
    apktool1.4.3.tar.bz2

    And put them in C:\Windows\
    upconvert likes this.
    10-29-2012 05:18 PM
  12. EarthnFire78's Avatar
    You'll need APKtool to do so.

    android-apktool - A tool for reverse engineering Android apk files - Google Project Hosting

    If you use Windows, Extract files from

    apktool-install-windows-r04-brut1.tar.bz2
    apktool1.4.3.tar.bz2

    And put them in C:\Windows\
    Here is a new version of Apktool, the project was taken over by iBotPeaches because Brut.all stopped development.
    10-29-2012 08:08 PM
  13. Sneaky_1's Avatar
    What devices can you port from? Could I port to the Optimus Slider? Or port in from something like the Nexus to the OV? Are there limitations.
    10-29-2012 08:42 PM
  14. ThatGuyLurkin's Avatar
    Here is a new version of Apktool, the project was taken over by iBotPeaches because Brut.all stopped development.
    This explains sooooooo much! Now I can decompile systemui the right way for ICS!
    What devices can you port from? Could I port to the Optimus Slider? Or port in from something like the Nexus to the OV? Are there limitations.
    You can attempt. Won't hurt. Stock based roms won't boot though.

    CM7, 9 or 10

    Sent from my HTC One V using Tapatalk 2
    Sneaky_1 likes this.
    10-29-2012 09:16 PM
  15. tvall's Avatar
    What devices can you port from? Could I port to the Optimus Slider? Or port in from something like the Nexus to the OV? Are there limitations.
    The nexus is an hdpi armv7 device. You can port, but you'll have to resize every single image to mdpi and recompile every single binary for armv6. And there will likely be some more issues too.

    Typically. When porting you stick with the same screen size and CPU instruction set. If you have an hdpi armv7 device, port from hdpi armv7 devices. If you have a tegra tablet, porting from other tegra tablets is easiest. If you have a crappy mdpi phone with an obsolete armv6 CPU, you know what to do.
    10-29-2012 09:21 PM
  16. Sneaky_1's Avatar
    Thanks guys. I was thinking of porting a nice cm7 ROM to the wife's Slider, but with no cm7 base ROMs, looks like its a no go.
    10-29-2012 10:36 PM
  17. bunanson's Avatar
    I have op V and op slider. And I have been waiting for some fun with slider. And... just waiting ; kind of interesting to see the huge difference between op V and op slider, where the slider is supposed to be the big brother, but not much custom ROMs.

    bun
    10-30-2012 09:23 AM
  18. A-android-B's Avatar
    Port from the v to the slider


    whatwasthat?
    10-31-2012 06:44 PM
  19. Sneaky_1's Avatar
    [Q] When you are copying from base to port, are you overwriting almost all of the files in the port folder with the base files? Or are you skipping?
    11-02-2012 10:30 AM
  20. ThatGuyLurkin's Avatar
    Writing Over. By doing so, it will fill in missing files if for apps. Like if your missing a lib for quickpic. It'll fill it in, and the app will work now

    Sent from my HTC One V using Tapatalk 2
    Sneaky_1 and Badboytoast like this.
    11-02-2012 03:26 PM
  21. Sneaky_1's Avatar
    Do you need permission to port someone's rom?
    11-03-2012 10:20 AM
  22. johnh02's Avatar
    Do you need permission to port someone's rom?
    U only need permission if you want to release it

    Sent from my LG-VM670 using Tapatalk 2
    Sneaky_1 and bokoxthexchocobo like this.
    11-03-2012 10:26 AM

Similar Threads

  1. [Sticky?] Newb guide -- How to root, recovery, and ROMs [Windows]
    By t0ast3d in forum HTC EVO 4G Rooting, ROMs, and Hacks
    Replies: 2
    Last Post: 03-10-2014, 01:33 PM
  2. [GUIDE] How to root, un-root and rom your Droid Incredible.
    By Brett in forum Incredible Rooting, ROMs, and Hacks
    Replies: 248
    Last Post: 12-22-2013, 06:37 PM
  3. [GUIDE] How to Port
    By thaunknownartist in forum Optimus V Rooting, ROMs, and Hacks
    Replies: 12
    Last Post: 08-19-2013, 10:55 AM
  4. [GUIDE] How I port
    By rukin5197 in forum Optimus V Rooting, ROMs, and Hacks
    Replies: 44
    Last Post: 07-18-2012, 08:16 PM
  5. Replies: 3
    Last Post: 05-19-2010, 05:37 PM
LINK TO POST COPIED TO CLIPBOARD