[HOW TO] [TEAM XPOSED] Enable MMS Over WiFi

Search This thread

Rydah

Inactive Recognized Contributor
Oct 4, 2008
5,514
2,084
Southern California

Gonna quote most of SteelH's [How To] post opener:

This reference guide is to tell you what to edit to enable MMS over WiFi for the EVO 4G LTE in Message+CRC_2.apk. It is not an all-inclusive how-to on adb, decompiling/recompiling apks, etc. There are already several very good sources right here on XDA for that information.

Decompile Message+CRC_2.apk and look for com\android\mms\MmsApp.smali:


Code:
.method public static isSupportSendViaWifi()Z
    .registers 1

    .prologue
    .line 4119
    invoke-static {}, Lcom/android/mms/MmsApp;->isFollowSprintSpec()Z

    move-result v0

    if-nez v0, :cond_c

    invoke-static {}, Lcom/android/mms/MmsApp;->enableTmoWifiIms()Z

    move-result v0

    if-eqz v0, :cond_e

    .line 4123
    :cond_c
    const/4 v0, 0x1

    .line 4125
    :goto_d
    return v0

    :cond_e
    const/4 v0, 0x[COLOR="Red"]0[/COLOR] <---

    goto :goto_d
.end method

Change const/4 v0, 0x0 To const/4 v0, 0x1

Final Should Look Like:
Code:
.method public static isSupportSendViaWifi()Z
    .registers 1

    .prologue
    .line 4119
    invoke-static {}, Lcom/android/mms/MmsApp;->isFollowSprintSpec()Z

    move-result v0

    if-nez v0, :cond_c

    invoke-static {}, Lcom/android/mms/MmsApp;->enableTmoWifiIms()Z

    move-result v0

    if-eqz v0, :cond_e

    .line 4123
    :cond_c
    const/4 v0, 0x1

    .line 4125
    :goto_d
    return v0

    :cond_e
    const/4 v0, 0x[COLOR="Red"]1[/COLOR]

    goto :goto_d
.end method


For the convenience of the community, I have attached 2 zips (Odex & Deodex - v. 1.13.651.1) with the modifications already in place. Also includes 'Zero Compression MMS' and 'Blocked & Secure Inboxes.' Thanks for making it flashable Freeza!

 

Attachments

  • Message+CRC_2_Odex_Rydah805.zip
    2.9 MB · Views: 423
  • Message+CRC_2_DeOdex_Rydah805.zip
    2.9 MB · Views: 640
Last edited:

Rydah

Inactive Recognized Contributor
Oct 4, 2008
5,514
2,084
Southern California
  • Like
Reactions: Zarboz

Rydah

Inactive Recognized Contributor
Oct 4, 2008
5,514
2,084
Southern California
Same here, sent at 30 KB... ????







I am on a deOdexed stock Rom so I used the deodexed version.. yes the secure and blocked are there ...

uploadfromtaptalk1338792285653.jpg


Sent From My HTC Evo 4G LTE, On The Now Network From Sprint!
 

crucial929

Senior Member
Jul 10, 2008
288
40
Covington , ky
Weird. If those show, It's obviously working... Only thing I can think of is caches. Can also try wiping data for messages app.


Sent From My HTC Evo 4G LTE, On The Now Network From Sprint!

ok i cleared everything twice, reflashed it, cleared everything twice again, rebooted ... sent a 642k pic and it sent at 642k .... but i cant get anything over 1mb
 
Last edited:

sd_N

Senior Member
Oct 14, 2010
725
112
Hollister
Last edited:

Rydah

Inactive Recognized Contributor
Oct 4, 2008
5,514
2,084
Southern California
guess the next thing is how can i up my max mms size??

settings only go up to 1mb

Edit /system/customize/MNS/default.xml

Look for the 3 different mms size limits. Change to whatever you like. Just remember some carriers have receiving limits. Also, this needs to be set before you've booted your Rom, as in on a clean wipe.


Sent From My HTC Evo 4G LTE, On The Now Network From Sprint!
 
Last edited:

crucial929

Senior Member
Jul 10, 2008
288
40
Covington , ky
Edit media_profiles.xml (/system/etc/media_profiles.xml)

Look for the 3 different mms size limits. Change to whatever you like. Just remember some carriers have receiving limits. Also, this needs to be set before you've booted your Rom, as in on a clean wipe.


Sent From My HTC Evo 4G LTE, On The Now Network From Sprint!

actually i didnt find any mms info there but i did find it in

/system/customize/MNS/default.xml
 
  • Like
Reactions: Rydah

Top Liked Posts

  • There are no posts matching your filters.
  • 21

    Gonna quote most of SteelH's [How To] post opener:

    This reference guide is to tell you what to edit to enable MMS over WiFi for the EVO 4G LTE in Message+CRC_2.apk. It is not an all-inclusive how-to on adb, decompiling/recompiling apks, etc. There are already several very good sources right here on XDA for that information.

    Decompile Message+CRC_2.apk and look for com\android\mms\MmsApp.smali:


    Code:
    .method public static isSupportSendViaWifi()Z
        .registers 1
    
        .prologue
        .line 4119
        invoke-static {}, Lcom/android/mms/MmsApp;->isFollowSprintSpec()Z
    
        move-result v0
    
        if-nez v0, :cond_c
    
        invoke-static {}, Lcom/android/mms/MmsApp;->enableTmoWifiIms()Z
    
        move-result v0
    
        if-eqz v0, :cond_e
    
        .line 4123
        :cond_c
        const/4 v0, 0x1
    
        .line 4125
        :goto_d
        return v0
    
        :cond_e
        const/4 v0, 0x[COLOR="Red"]0[/COLOR] <---
    
        goto :goto_d
    .end method

    Change const/4 v0, 0x0 To const/4 v0, 0x1

    Final Should Look Like:
    Code:
    .method public static isSupportSendViaWifi()Z
        .registers 1
    
        .prologue
        .line 4119
        invoke-static {}, Lcom/android/mms/MmsApp;->isFollowSprintSpec()Z
    
        move-result v0
    
        if-nez v0, :cond_c
    
        invoke-static {}, Lcom/android/mms/MmsApp;->enableTmoWifiIms()Z
    
        move-result v0
    
        if-eqz v0, :cond_e
    
        .line 4123
        :cond_c
        const/4 v0, 0x1
    
        .line 4125
        :goto_d
        return v0
    
        :cond_e
        const/4 v0, 0x[COLOR="Red"]1[/COLOR]
    
        goto :goto_d
    .end method


    For the convenience of the community, I have attached 2 zips (Odex & Deodex - v. 1.13.651.1) with the modifications already in place. Also includes 'Zero Compression MMS' and 'Blocked & Secure Inboxes.' Thanks for making it flashable Freeza!

    5
    Great find. :)
    3
    I'm trying to fit in with Team Xposed!


    Sent From My HTC Evo 4G LTE, On The Now Network From Sprint!
    2
    guess the next thing is how can i up my max mms size??

    settings only go up to 1mb

    Edit /system/customize/MNS/default.xml

    Look for the 3 different mms size limits. Change to whatever you like. Just remember some carriers have receiving limits. Also, this needs to be set before you've booted your Rom, as in on a clean wipe.


    Sent From My HTC Evo 4G LTE, On The Now Network From Sprint!
    1
    I am on a deOdexed stock Rom so I used the deodexed version.. yes the secure and blocked are there ...

    Weird. If those show, It's obviously working... Only thing I can think of is caches. Can also try wiping data for messages app.


    Sent From My HTC Evo 4G LTE, On The Now Network From Sprint!