• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

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

sammyz

LG Whiz Kid
  • Jun 3, 2011
    8,842
    2,504
    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
     
    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!
     
    • Like
    Reactions: Skitzoe and sammyz
    Upvote 0
    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!

    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 :)
     
    Upvote 0
    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. ;)


    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.
     
    Upvote 0
    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.
    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.
     
    • Like
    Reactions: sammyz
    Upvote 0
    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.


    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...
     
    Upvote 0
    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...

    Now messing with recoveries from other phones is asking for a brick. ;)
     
    Upvote 0
    correct and 'pose' to be able to disable the check in CWM too, tho I rarely have luck with it actually working lol.

    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?
     
    Upvote 0

    BEST TECH IN 2023

    We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

    Smartphones