1. Download our Official Android App: Forums for Android!

Root [ZIP] MMS FIX FOR CM/AOSP/AOKP (THANKS wolfu)

Discussion in 'Android Devices' started by davidmargolin, Nov 16, 2012.

  1. zaius42

    zaius42 Member
    Rank:
    None
    Points:
    18
    Posts:
    69
    Joined:
    Mar 29, 2012

    Mar 29, 2012
    69
    13
    18
    I think it would be awesome if we had a how-to on how to fix a native mms apk so we can keep all the settings and theming the native apk has but adding the functionality. Or at the very minimum a single JB Mms.apk with all its native settings working.

    I wouldn't mind going through the work if I knew how to do that. Cause I apparently suck at even decrypting apks.

    So, anyone wanna put that on their to-do list? Dont make me beg.
     

    Advertisement

  2. davidmargolin

    davidmargolin Android Expert
    Thread Starter
    Rank:
    None
    Points:
    93
    Posts:
    957
    Joined:
    Mar 6, 2012

    Mar 6, 2012
    957
    229
    93
    Male
    Brooklyn, NY
    there is currently no way to get mms on any other mms.apk...
    we are stuck with lens_flare's apk until we can figure out what in its mms handling processes makes it different from other apps...
    you can try a third part app like handcent for now...
     
  3. krowley3

    krowley3 Well-Known Member
    Rank:
    None
    Points:
    68
    Posts:
    168
    Joined:
    Feb 25, 2011

    Feb 25, 2011
    168
    176
    68
    Midwest
    You can try this.....
    MmsFix.zip

    Credits goes to Brooksyx at XDA as I just grabbed a fix he had posted awhile back, edited the script and swapped the apns-config.xml. Please let me know if it works. This should only do what I have listed in my instructions. I have flashed this to make sure it does work, but I was working before I flashed. If confirmed working, davidmargolin please put in the OP and include the credits I have given to Brooksyx.
     
    Ostrich Egg and adamhos1234 like this.
  4. davidmargolin

    davidmargolin Android Expert
    Thread Starter
    Rank:
    None
    Points:
    93
    Posts:
    957
    Joined:
    Mar 6, 2012

    Mar 6, 2012
    957
    229
    93
    Male
    Brooklyn, NY
    what does this do exactly?
     
  5. zaius42

    zaius42 Member
    Rank:
    None
    Points:
    18
    Posts:
    69
    Joined:
    Mar 29, 2012

    Mar 29, 2012
    69
    13
    18
    It replaces the apns_conf.xml with one that has a VMU apn, and then this:

    [HIGH]#!/sbin/sh

    case "$1" in
    backup)
    # Stub
    ;;
    restore)
    # Stub
    ;;
    pre-backup)
    # Stub
    ;;
    post-backup)
    # Stub
    ;;
    pre-restore)
    # Stub
    ;;
    post-restore)
    mount /data
    rm -f /data/data/com.android.providers.telephony/databases/telephony.db
    rm -f /data/data/com.android.providers.telephony/databases/telephony.db-journal
    umount /data
    ;;
    esac[/HIGH]
     
  6. krowley3

    krowley3 Well-Known Member
    Rank:
    None
    Points:
    68
    Posts:
    168
    Joined:
    Feb 25, 2011

    Feb 25, 2011
    168
    176
    68
    Midwest
    What he said. You have to remove those databases to let them rebuild on boot for the new apns to take and I can confirm this does work. You will still of course need to swap the .apks with the ones in your OP.
     
    adamhos1234 likes this.
  7. adamhos1234

    adamhos1234 Android Expert
    Rank:
    None
    Points:
    113
    Posts:
    860
    Joined:
    Aug 9, 2012

    Aug 9, 2012
    860
    336
    113
    This phone officially kicks ass now:)
     
  8. davidmargolin

    davidmargolin Android Expert
    Thread Starter
    Rank:
    None
    Points:
    93
    Posts:
    957
    Joined:
    Mar 6, 2012

    Mar 6, 2012
    957
    229
    93
    Male
    Brooklyn, NY
    so replace all steps after 8 with flashing the zip?
     
  9. krowley3

    krowley3 Well-Known Member
    Rank:
    None
    Points:
    68
    Posts:
    168
    Joined:
    Feb 25, 2011

    Feb 25, 2011
    168
    176
    68
    Midwest
    Exactly! Now we can work on updating the updater-script to install remove the MMS.apk included and replace with yours. This is something I have never done, but I am willing to try. I will start with the unthemed apk.
     
    davidmargolin likes this.
  10. davidmargolin

    davidmargolin Android Expert
    Thread Starter
    Rank:
    None
    Points:
    93
    Posts:
    957
    Joined:
    Mar 6, 2012

    Mar 6, 2012
    957
    229
    93
    Male
    Brooklyn, NY
    updated op to reflect new flashable... :)
     
  11. krowley3

    krowley3 Well-Known Member
    Rank:
    None
    Points:
    68
    Posts:
    168
    Joined:
    Feb 25, 2011

    Feb 25, 2011
    168
    176
    68
    Midwest
    Ostrich Egg likes this.
  12. davidmargolin

    davidmargolin Android Expert
    Thread Starter
    Rank:
    None
    Points:
    93
    Posts:
    957
    Joined:
    Mar 6, 2012

    Mar 6, 2012
    957
    229
    93
    Male
    Brooklyn, NY
    couldn't make it any easier... was planning to make a flashable but you beat me to it... will update op in a few...

    also, does your script remove the old mms.apk or do people have to do that manually?
     
  13. ramjet73

    ramjet73 Android Expert
    Rank:
    None
    Points:
    233
    Posts:
    1,418
    Joined:
    Jun 22, 2011

    Jun 22, 2011
    1,418
    821
    233
    Honolulu, Hawaii
    Never mind. You figured it out. ;)

    ramjet73
     
    krowley3 likes this.
  14. krowley3

    krowley3 Well-Known Member
    Rank:
    None
    Points:
    68
    Posts:
    168
    Joined:
    Feb 25, 2011

    Feb 25, 2011
    168
    176
    68
    Midwest
    It deletes it completely. This should do everything in one shot after flashing a ROM or anytime.
     
  15. wigginst

    wigginst Android Expert
    Rank:
    None
    Points:
    78
    Posts:
    917
    Joined:
    Aug 12, 2011

    Aug 12, 2011
    917
    58
    78
    Wow guys! Great work turning this into a flash able. Just a day ago we didn't have working MMS and now there is an flash able zip fix! Assuming this has to be done at rom changes and or updates to a rom as well? I know after dirty flashing an update I had to switch the app again but the apns fix seemed to stick.
     
  16. dg61981

    dg61981 Android Enthusiast
    Rank:
    None
    Points:
    43
    Posts:
    310
    Joined:
    Apr 22, 2011

    Apr 22, 2011
    310
    34
    43
    Jack of all trades...master of all trades! LOL
    Dallas GA

    Cannot get this to work at all. Running agrabens cm10 and have tried everything. Just flashed the zip u made and tried sending a MMS just says sending indefinitely. Also, I still can't receive SMS or MMS. I was running team dirt aokp about a half hour ago and this was happening. Decided to switch to cm10 to see if that would fix it. No such luck.
     
  17. davidmargolin

    davidmargolin Android Expert
    Thread Starter
    Rank:
    None
    Points:
    93
    Posts:
    957
    Joined:
    Mar 6, 2012

    Mar 6, 2012
    957
    229
    93
    Male
    Brooklyn, NY
    ok, congrats guyz, this is amazing and i love how much this is a real community effort with:
    someone coming up with an apk (lens)
    some1 figuring out apns (wolfu)
    some1 creating the zips (krowley3)


    now we need to bring in all the features that the aosp app featured.. this includes things like sms splitting as well as other usefull features...
     
    phw8558 likes this.
  18. crashnova

    crashnova Member
    Rank:
    None
    Points:
    18
    Posts:
    52
    Joined:
    Mar 8, 2012

    Mar 8, 2012
    52
    10
    18
    Male
    Yonkers, NY
    So.
     
  19. davidmargolin

    davidmargolin Android Expert
    Thread Starter
    Rank:
    None
    Points:
    93
    Posts:
    957
    Joined:
    Mar 6, 2012

    Mar 6, 2012
    957
    229
    93
    Male
    Brooklyn, NY
    no, only this one for now
     
  20. FatalIll

    FatalIll Well-Known Member
    Rank:
    None
    Points:
    36
    Posts:
    162
    Joined:
    Jun 23, 2012

    Jun 23, 2012
    162
    9
    36
    Male
    Anyone know the reason for Go SMS not working with these fixes? I quite like Go SMS...
     
  21. zoomzabba

    zoomzabba Member
    Rank:
    None
    Points:
    16
    Posts:
    40
    Joined:
    Nov 14, 2012

    Nov 14, 2012
    40
    4
    16
    West Slope, CO
    I can confirm the Flashable apk for GANGAM. It even pushed the received MMS to GOSMS.
     
  22. droiddekka

    droiddekka Well-Known Member
    Rank:
    None
    Points:
    38
    Posts:
    207
    Joined:
    Sep 8, 2012

    Sep 8, 2012
    207
    12
    38

    i second this. unfortunately i have the attention span of a 3 year old.

    this is a huge component of the functionality of these roms and impacts whether or not people will buy this phone. it needs as much attention as possible.
     
  23. XAL2

    XAL2 Android Enthusiast
    Rank:
    None
    Points:
    43
    Posts:
    454
    Joined:
    Apr 25, 2012

    Apr 25, 2012
    454
    29
    43
    Male
    Stagehand
    Niles, Illinois
    So David, all we have to do is flash whatever ROM we want to run, boot it up, Go into the recovery again and flash one of the zips of our choice?
     
  24. EHokie

    EHokie Android Enthusiast
    Rank:
    None
    Points:
    43
    Posts:
    284
    Joined:
    Feb 20, 2012

    Feb 20, 2012
    284
    47
    43
    Charlotte, NC
    Precisely. You don't need to wipe cache or anything, I assume.
     
    XAL2 likes this.
  25. Branhower

    Branhower Member
    Rank:
    None
    Points:
    16
    Posts:
    44
    Joined:
    Oct 25, 2012

    Oct 25, 2012
    44
    6
    16
    Male
    I would like to nominate this thread for a sticky.
     
Tags:

Share This Page

Loading...