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

Rydah

Inactive Recognized Contributor
Oct 4, 2008
5,512
2,084
0
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

Last edited:

Rydah

Inactive Recognized Contributor
Oct 4, 2008
5,512
2,084
0
Southern California
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!
 
  • Like
Reactions: Zarboz

crucial929

Senior Member
Jul 10, 2008
286
39
0
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
0
Hollister
Which version? Mine works fine. (Odex)

Did you wipe caches? Do the Secure and Blocked Inboxes show up?


Sent From My HTC Evo 4G LTE, On The Now Network From Sprint!
Im on stock odexd. Flashed odexd version w/TWRP. The secure and block folders show up. will try wiping Messaging data.

edit: tried wiping Message data. Sent pic at 24KB...
 
Last edited:

Rydah

Inactive Recognized Contributor
Oct 4, 2008
5,512
2,084
0
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
286
39
0
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