1. LeslieAnn's Avatar
    Because every other week I get someone asking how to do this... Here you guys go.

    Note:
    I did not create this, Jerryscript and Brooksyx (XDA) are the ones who figured it out.
    The pre-patched files are their work, not mine.

    VERY Important! / WARNING!!!
    This NEVER has worked with Sense, don't even ask, I won't respond.
    This usually only works with CM7 and CM9.
    It will occasionally work on AOKP, but rarely with AOSP. When it does with either, expect the rom to become unstable after 24-36 hours. By unstable, I mean you cannot open anything without it locking up or rebooting. No I cannot fix it.

    I spent $300 on a phone so I didn't have to deal with this mess, I don't want to keep doing this for people, so no, I won't do it for you. This method works on very few roms so don't expect miracles. I went from a ported Evo 4g to an Evo V so I didn't have to deal with constant patching and unstable roms. The first time I needed a phone in an emergency, the rom became unstable on me because of this very patch. BEWARE.


    If none of this works, you are on your own.
    Also, don't expect a walk through on decompressing framework.jar, if you can't find out how, you probably won't be able to make this work anyhow. As simple as this seems, very few people seem to get it right and even after explaining it, many still ask me to do it for them, it took me 3 times to get it right.





    I'll start with the hard part, the part that usually ends your chances at pulling this off.
    First off you need a compatible file, the cdmasmsdispatcher file can be pulled from a working CM7 or CM9 rom, CM7 and CM9 have changed some lately, so this method may or may no longer work. At the end, you will find working CM7 and CM9 files, however, these are older and may or may not be helpful.

    In the new rom, if you can't find this file, you are out of luck and will need to find an alternate method, because even if you find cdmasmsdispatcher, replacing it will only lead to a force close since it won't be compatible.

    You can find the cdmasmsdispatcher in inside system/framework/framework.jar. You will need to decompress framework.jar and then locate the cdmasmsdispatcher file. Usually it is located at "\classout\com\android\internal\telephony\cdma" or something similar. Replace this with your donor file and recompile it.

    Don't even try with Sense, all attempts have failed. Yes we used files from the Wildfire, including apns, cdmadispatcher, and mms apk's. Forget it, you WILL have to modify code to make it work, there is no simple way of just swapping files. Do not ask. We went down this road on XDA several times, it WILL NOT WORK. I won't even respond to it. Been there, done that, not doing it again. Unless you can code, you will NOT get it to work.


    Next is the APNS file (system/etc/apns-conf.xml)
    Change the main config line (and nothing else) to:
    <apn name="SPG" numeric="31000" mcc="310" mnc="00" apn="1" user="null" server="null" password="null" proxy="null" port="null" mmsproxy="null" mmsport="null" mmsprotocol="null" mmsc="http://mmsc.vmobl.com:8088/mms?" type="mms" />

    Note: If you lack this file, you may be able to use a app to change it.
    Getting it into a rom however, is on you.


    Last and easiest, you need to change the build.prop
    CDMA_CARRIER_ALPHA := Sprint
    CDMA_CARRIER_NUMERIC := 310120
    To:
    CDMA_CARRIER_ALPHA := Virgin_Mobile
    CDMA_CARRIER_NUMERIC := 311490
    08-10-2012 06:08 PM
  2. andrewnelson23's Avatar
    Doesn't work for cm10 either. Least it didn't when I tried.

    Edit: that's not entirely true. It did work, it just broke outgoing sms.
    08-10-2012 06:12 PM
  3. ThatGuyLurkin's Avatar
    Doesn't work for cm10 either. Least it didn't when I tried.

    Edit: that's not entirely true. It did work, it just broke outgoing sms.
    So can you send SMS?(EDIT: I MEANT MMS!)


    And you should add the part Gannon said. Replace the whole CDMA folder if you get a Phone FC.

    It wouldn't work on any AOSP from because the CDMAdispatcher isn't inside the CDMA folder. Its outside it in the Telephony folder.

    Sent from my LG-VM670 using Tapatalk 2
    08-10-2012 07:57 PM
  4. andrewnelson23's Avatar
    CAN'T send sms. Can receive sms. Can send and receive mms.

    I tried replacing the whole telephony folder gave toooons of phone force closes.
    08-10-2012 08:06 PM
  5. rukin5197's Avatar
    I think I was one of the people that brought this thread on

    Sent from my PC36100 using Tapatalk 2
    sellers86 likes this.
    08-10-2012 08:21 PM
  6. thewraith420's Avatar
    I think I was one of the people that brought this thread on

    Sent from my PC36100 using Tapatalk 2
    Thanks Leslie! And sorry I bugged you about this :rolleyes:

    Sent from my LG-VM670 using Tapatalk 2
    sellers86 likes this.
    08-10-2012 09:20 PM
  7. LeslieAnn's Avatar
    I think I was one of the people that brought this thread on

    Sent from my PC36100 using Tapatalk 2
    Thanks Leslie! And sorry I bugged you about this :rolleyes:
    Like I said, every other week I get asked either how or to do it for someone, so it was far from just you both.

    I just got tired of people asking about (and re-typing it over and over) and decided to just put it out where people can find it.
    08-10-2012 10:50 PM
  8. sammyz's Avatar
    I just got tired of people asking about (and re-typing it over and over) and decided to just put it out where people can find it.
    I need to do that with, well a lot of things.....

    Sent from my LG-LW690 using Tapatalk 2
    08-11-2012 10:14 AM
  9. Zakman's Avatar
    Replaced cdma folder, testing now... Errors :/
    08-13-2012 12:35 AM
  10. thewraith420's Avatar
    In my kool- Blue_2.3.3 thread asadullah posted a possible way to decompile the framework.jar into source code... I'm not good with source anyway but it could be a lead that could help someone figure it out.

    Tapatalk'n it from my VM670 running Kool-Blue_2.3.3 on LS670ZVJ Baseband
    08-13-2012 05:06 AM
  11. sammyz's Avatar
    In my kool- Blue_2.3.3 thread asadullah posted a possible way to decompile the framework.jar into source code... I'm not good with source anyway but it could be a lead that could help someone figure it out.

    Tapatalk'n it from my VM670 running Kool-Blue_2.3.3 on LS670ZVJ Baseband
    That's based on rukin's "how I port" guide.

    Sent from my LG-LW690 using Tapatalk 2
    08-13-2012 09:00 AM
  12. ThatGuyLurkin's Avatar
    Apktool d Framework.jar Frame

    Mess with the output....

    Apktool b Frame Framework1.jar

    Sent from my LG-VM670 using Tapatalk 2
    glarepate likes this.
    08-13-2012 03:22 PM
  13. thewraith420's Avatar
    hey guys. i've been playing with trying to get mms working in my kool-blue rom and had some limited success using Mobster Rom from the optimus slider to pull files from. i chose it because it's a virgin mobile non-cm based gingerbread rom. the cdmaSMSdispacher is in the right place in /com/android/internal/telephony/ i've been able to get sms receiveing sending and mms sending to work with it by pulling files from the mobster framework.jar. i'm not asking for help but if anyone were interested in messing around with this with me i thought i'd post what i've been trying.
    Badboytoast and ThatGuyLurkin like this.
    09-04-2012 04:58 PM
  14. Badboytoast's Avatar
    hey guys. i've been playing with trying to get mms working in my kool-blue rom and had some limited success using Mobster Rom from the optimus slider to pull files from. i chose it because it's a virgin mobile non-cm based gingerbread rom. the cdmaSMSdispacher is in the right place in /com/android/internal/telephony/ i've been able to get sms receiveing sending and mms sending to work with it by pulling files from the mobster framework.jar. i'm not asking for help but if anyone were interested in messing around with this with me i thought i'd post what i've been trying.
    I hope thatguylurking reads this! Ian positive he might be of some big help! that I know of! Best of luck!



    Sent from my LG-VM670 using Tapatalk 2
    thewraith420 likes this.
    09-04-2012 05:19 PM
  15. thewraith420's Avatar
    hmm i wonder if i'd see anything different if i used apktool to work with... i've been extracting the classes.dex from framework.jar and using avaboxv2 to decompile it to smali. its the method i found to replace the cdmaSMSdispacher.smali
    Badboytoast likes this.
    09-04-2012 05:37 PM
  16. ThatGuyLurkin's Avatar
    Id love to test, but again, I've yet to pay my bill. How did you break SMS?

    Sent from my LG-VM670 using Android Central Forums
    09-04-2012 07:18 PM
  17. thewraith420's Avatar
    Using the cdmaSMSdispacher from mobster broke it initially. Until I pulled over a few more files

    Edit: ok i'm trying to remember what ones i moved.. lol i still havent quit messing with it. if you or anyone else is interested i'll upload my new framework.jar

    Tapatalk'n it from my VM670 running Kool-Blue_2.3.3_V2.3 on LS670ZVJ Baseband
    09-04-2012 08:29 PM
  18. slickestsauce's Avatar
    Hi leslie;

    I'm using APN manager pro to alter my APN settings according to this:
    Generic Virgin settings:
    <apn type="mms" apn="0" mnc="490" mcc="311" carrier="Virgin Mobile US" mmsport="81" mmsproxy="205.239.233.136" mmsc="http://mmsc.vmobl.com:8088/mms?" port=""/>
    Which is something I'd found you wrote over at phandroid, but it doesn't look like that's all the fields - is port (and all the ones not mentioned) supposed to be left blank? My MNC was/is at 00. Also, I don't have a "carrier" field.

    For reference I've just upgraded to mirage's CM7.2 IHO. My previous CM was 18 months outdated and MMS didn't work on it anyway. I full-wiped and reinstalled the new rom a half dozen times before I was sure MMS wasn't working.

    Optimus V
    11-12-2012 06:10 PM
  19. LeslieAnn's Avatar
    Hi leslie;
    I'm using APN manager pro to alter my APN settings according to this:

    Which is something I'd found you wrote over at phandroid, but it doesn't look like that's all the fields - is port (and all the ones not mentioned) supposed to be left blank? My MNC was/is at 00. Also, I don't have a "carrier" field.

    For reference I've just upgraded to mirage's CM7.2 IHO. My previous CM was 18 months outdated and MMS didn't work on it anyway. I full-wiped and reinstalled the new rom a half dozen times before I was sure MMS wasn't working.
    This fix doesn't work on everything, even when you do everything right.
    As for the settings, I have used those settings on various phones and it works. Virgin inconsistent as to what they put in the APNS.
    11-14-2012 04:09 AM
  20. droiddekka's Avatar
    will this method fix teamdirt's JB AOKP port?

    i can send mms, but not receive...

    is outgoing mms broken on jb roms in general?

    how much of this is straight up virgin mobile's fault?
    12-31-2012 12:50 PM
  21. ThatGuyLurkin's Avatar
    will this method fix teamdirt's JB AOKP port?

    i can send mms, but not receive...

    is outgoing mms broken on jb roms in general?

    how much of this is straight up virgin mobile's fault?
    Correct me if I'm wrong, but that all depends.


    First you need a JB Rom with working receiving MMS, unless your missing APNS.



    Are you on VM? Do you have VM stuff in build.prop?

    Sent from my HTC One V using Tapatalk 2
    12-31-2012 03:56 PM
LINK TO POST COPIED TO CLIPBOARD