[GUIDE] Porting LG Vortex and Optimus T/V/S ROMS to the M!


Last Updated:

  1. sammyz

    sammyz LG Whiz Kid Guide

    This is a guide to port ROMS from the Optimus T/V/S

    Edit:
    Optimus T will sometimes have CDMA radio issues due to the fact it is a GSM phone
    Optimus One will also flash after this guide BUT it is also a GSM phone so radio will not work (sometimes 0.o)
    I will update this when I (or someone else) fixes the problem.
    Thanks to Primed for finding the files that fix the CDMA radio, creating a zip with only the files that have to be replaced, and for the list below :D

    What works:
    Everything, except we're unsure about data and MMS

    Try Flashing MMS after flashing ported ROM:
    http://androidforums.com/optimus-m-...7-guide-how-fix-mms-gingerbread-cm7-roms.html

    EDIT: Thanks alfickfor confirming data (yea it works :D)

    Steps:

    1. Download a ROM for the T, V, or S

    2. Replace the files as shown below (you must NOT unzip and rezip, you can copy and replace by using WinZip or 7Zip, both programs can be found on google.com) (Copy the files from this zip, do not flash it)

    3. Copy the ROM to microSD card

    In Recovery:

    4. Make nandroid backup of your current ROM

    5. Wipe Data/Factory Reset

    6. Wipe Cache

    7. Wipe Dalvik-Cache

    8. Wipe Battery Stats

    9. Now flash that ROM and post your results

    10. Don't forget to say "Thanks"

    Here's a list of files that must be replaced in any gingerbread/(maybe froyo) ROM from an Optimus T/V/S and LG Vortex

    What to replace:
    In the root directory of the zip file replace:
    File:
    boot.img

    In /system/bin replace:
    Files:
    am
    ami304d
    bmgr
    brcm_patchram_plus
    hci_attach
    fix_permissions
    ime
    input
    monkey
    pm
    port-bridge
    rild
    servicemanager
    vold

    In /system/etc replace:
    Folders:
    bluetooth
    dhcpd
    firmware
    permissions
    ppp
    wifi
    wl
    Files:
    apns-conf.xml
    dbus.conf
    gps.conf
    hosts
    media-profiles.xml
    resolv.conf
    vold.fstab

    In /system/lib replace:
    Folders:
    modules
    hw
    egl
    Files:
    libauth.so
    libcm.so
    libbluedroid.so
    libbluetooth.so
    libbluetoothd.so
    libcamera.so
    libcameraservice.so
    libdiag.so
    libdbus.so
    libdss.so
    libdsm.so
    libdll.so
    libgsl.so
    libgstk_exp.so
    libmiscta.so
    libmmgsdilib.so
    libmmipl.so
    libmmjpeg.so
    liblog.so
    libnv.so
    liboem_rapi.so
    liboemcamera.so
    libhardware_legacy.so
    liboncrpc.so
    libpbmlib.so
    libqmi.so
    libqueue.so
    libril.so
    libril-qc-1.so
    libsensorservice.so
    libwebcore.so
    libwms.so
    libwmsts.so

    In /system/usr I replaced:
    Folders:
    keychars
    keylayout

    In /system/xbin I replaced:
    Files:
    hcitool
    hcidump
    hciconfig

    And finally, in /system replace:
    File:
    build.prop

    This should work for all Roms (Except ICS-based ROM's) from the Lg Optimus T, V, S, and the LG Vortex. Test this out, and give your feedback!
    Note: the Optimus C does not have to be ported, it is a twin of the Optimus M :D

    Update!
    If you get a status 7 error, in the zipped ROM that you are porting, go to:

    /META-INF/com/google/android/

    Open updater-script with a script editor, notepad, or gedit if you use linux
    Delete the first line of code (all the way up to the first semicolon you see) and delete the first semi-colon as well

    Advertisement
  2. sammyz

    sammyz LG Whiz Kid Guide

    If the ROM you port says to download Gapps, download the gapss that it says to download and flash it the same way you do with other gapps
  3. macjay420

    macjay420 Well-Known Member

    great guide:)
    sammyz likes this.
  4. KrazeeCracker

    KrazeeCracker Well-Known Member

  5. Primed

    Primed Well-Known Member

    Nah, It doesn't work for ICS. I'm trying to figure out why it doesn't work right now.
  6. BobZhome

    BobZhome Well-Known Member

    WARNING: These phones are not all the same. Look at my BoardConf file here: https://github.com/BobZhome/android_device_lge_thunderc/blob/gingerbread/BoardConfig.mk
    Starting with line 63, you will see that the phones have different partition sizes! The only two that have the same partition sizes are the M & C. Yet, the M & C are not a like...If you look at my DeviceConfig file here: https://github.com/BobZhome/android_device_lge_thunderc/blob/gingerbread/device_thunderc.mk
    Starting with lines 284, you will be that these two phones use two different Bluetooth's!
    Skitzoe and sammyz like this.
  7. sammyz

    sammyz LG Whiz Kid Guide

    so the C would still have to be ported or what exactly are you trying to say, because just about everything works with porting a themed ICS gingerbread ROM from the OV....
    We ported an MIUI ROM from the OV too and ringtones is just about the only thing that doesn't work.
    And thanks for the info :)
  8. B4tnam

    B4tnam Well-Known Member

    I run Ubuntu, can I use WinRAR?
  9. Primed

    Primed Well-Known Member

    No, but ubuntu has a pretty good built in archive editor and extractor. And if that doesn't work there's a lot of other ones for linux too.
  10. B4tnam

    B4tnam Well-Known Member

    I replaced all the files for this ROM. But I'm getting and error when i try to flash it. How do i get my custom recovery back? i wanna get rid of CWM... haha
  11. Primed

    Primed Well-Known Member

    Thats because the updater-script isn't compatible with CWM (Which is weird because it should be) Just install a different recovery with the app "Flash Image GUI"
  12. sammyz

    sammyz LG Whiz Kid Guide

    is it status 7 error?
  13. B4tnam

    B4tnam Well-Known Member

  14. sammyz

    sammyz LG Whiz Kid Guide

    can I google chat u on gmail to fix this?
    it also doesn't matter what recovery you use...
  15. B4tnam

    B4tnam Well-Known Member

  16. Primed

    Primed Well-Known Member

    Sorry. I was thinking of a status 0. xD
  17. sammyz

    sammyz LG Whiz Kid Guide

    Status 0 is more serious xD, that's usually a corrupt zip or not signed correctly zip
  18. PlayfulGod

    PlayfulGod Well-Known Member Developer

    status 7 or 6 is bad assert check aka the build.prop isnt matching for the model etc etc. And what BobZhome said is correct, meaning you are playing with fire. ;)
    sammyz likes this.
  19. sammyz

    sammyz LG Whiz Kid Guide


    That check is written in the updater script and all you have to do is remove the first line of that script, I'm using the optimus v new gingerbread MIUI right now :) its working great, no FCs, everything that it says works, works, everything that it says doesn't work doesn't work.....and no not the LeWa port that Primed has right now.
  20. PlayfulGod

    PlayfulGod Well-Known Member Developer

    correct and 'pose' to be able to disable the check in CWM too, tho I rarely have luck with it actually working lol.

    If it works, it works, ;)

    I think the partition props in the boardconfig are mainly for recovery as it gets compiled along with CM7/9 too.
    sammyz likes this.
  21. sammyz

    sammyz LG Whiz Kid Guide


    Well if its mainly for recovery then fire would be messing with other recoveries and I tried flashing optimus V's new touch recovery, it put it in fastboot and I was able to fix it with no problems nor losing any data at all....my phone is working great, except the reboot issue...
  22. PlayfulGod

    PlayfulGod Well-Known Member Developer

    Now messing with recoveries from other phones is asking for a brick. ;)
  23. sammyz

    sammyz LG Whiz Kid Guide

    Lol ik, I've unbricked before xD and also did the whole MEID thing because unbricking always causes you to zero out MEID.
  24. sammyz

    sammyz LG Whiz Kid Guide

    Disabling assert check doesn't work......someone has tried that before and no luck, I removed the first line in the script and it flashed with no problems for him, I flashed the one that did have problems for him and it flashed for me just fine and I didn't disable assert check, sometimes it will accept it and some other ROMS it won't and it may also have something to do with basebands.....does the optimus m have different basebands?
  25. sammyz

    sammyz LG Whiz Kid Guide

    guide updated

Share This Page