Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,771,799 Members 37,979 Now Online
XDA Developers Android and Mobile Development Forum

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

Tip us?
 
Rydah805
Old
(Last edited by Rydah805; 8th June 2012 at 07:39 PM.)
#1  
Rydah805's Avatar
Recognized Contributor - OP
Thanks Meter 1150
Posts: 3,797
Join Date: Oct 2008
Location: Ventura County, CA

 
DONATE TO ME
Default [HOW TO] [TEAM XPOSED] Enable MMS Over WiFi


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, 0x0 <---

    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, 0x1

    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!




ThisIzRydah.com
Check Me Out On The Google Play Store!!!
Check Me Out On iTunes!!!
Check Me Out On Amazon MP3!!!
Check Me Out On Zune!!!
HTC One (M8) - Amber Gold
HTC One (M7) - Half Stealth Black/Half Glacier Silver
Samsung Galaxy S4

The Following 21 Users Say Thank You to Rydah805 For This Useful Post: [ Click to Expand ]
 
freeza
Old
#2  
freeza's Avatar
Recognized Developer
Thanks Meter 9507
Posts: 4,248
Join Date: May 2006
Location: Pasadena, CA

 
DONATE TO ME
Great find.
The Following 5 Users Say Thank You to freeza For This Useful Post: [ Click to Expand ]
 
Rydah805
Old
#3  
Rydah805's Avatar
Recognized Contributor - OP
Thanks Meter 1150
Posts: 3,797
Join Date: Oct 2008
Location: Ventura County, CA

 
DONATE TO ME
I'm trying to fit in with Team Xposed!


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



ThisIzRydah.com
Check Me Out On The Google Play Store!!!
Check Me Out On iTunes!!!
Check Me Out On Amazon MP3!!!
Check Me Out On Zune!!!
HTC One (M8) - Amber Gold
HTC One (M7) - Half Stealth Black/Half Glacier Silver
Samsung Galaxy S4

The Following 3 Users Say Thank You to Rydah805 For This Useful Post: [ Click to Expand ]
 
crucial929
Old
#4  
Senior Member
Thanks Meter 38
Posts: 279
Join Date: Jul 2008
Location: Covington , ky
Recommended installation method?
 
Rydah805
Old
#5  
Rydah805's Avatar
Recognized Contributor - OP
Thanks Meter 1150
Posts: 3,797
Join Date: Oct 2008
Location: Ventura County, CA

 
DONATE TO ME
Quote:
Originally Posted by crucial929 View Post
Recommended installation method?
Flash, wipe caches.


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



ThisIzRydah.com
Check Me Out On The Google Play Store!!!
Check Me Out On iTunes!!!
Check Me Out On Amazon MP3!!!
Check Me Out On Zune!!!
HTC One (M8) - Amber Gold
HTC One (M7) - Half Stealth Black/Half Glacier Silver
Samsung Galaxy S4

 
crucial929
Old
#6  
Senior Member
Thanks Meter 38
Posts: 279
Join Date: Jul 2008
Location: Covington , ky
Still getting compression, sending at 24kb
 
Rydah805
Old
(Last edited by Rydah805; 4th June 2012 at 07:30 AM.)
#7  
Rydah805's Avatar
Recognized Contributor - OP
Thanks Meter 1150
Posts: 3,797
Join Date: Oct 2008
Location: Ventura County, CA

 
DONATE TO ME
Quote:
Originally Posted by crucial929 View Post
Still getting compression, sending at 24kb
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!



ThisIzRydah.com
Check Me Out On The Google Play Store!!!
Check Me Out On iTunes!!!
Check Me Out On Amazon MP3!!!
Check Me Out On Zune!!!
HTC One (M8) - Amber Gold
HTC One (M7) - Half Stealth Black/Half Glacier Silver
Samsung Galaxy S4

 
crucial929
Old
#8  
Senior Member
Thanks Meter 38
Posts: 279
Join Date: Jul 2008
Location: Covington , ky
Quote:
Originally Posted by Rydah805 View Post
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!
I am on a deOdexed stock Rom so I used the deodexed version.. yes the secure and blocked are there ...
 
sd_N
Old
#9  
sd_N's Avatar
Senior Member
Thanks Meter 42
Posts: 291
Join Date: Oct 2010
Location: Ash Grove
Default SAME

Quote:
Originally Posted by crucial929 View Post
Still getting compression, sending at 24kb
Same here, sent at 30 KB... ????
LG G3...
sd N




Thank u Devs!!!
 
Rydah805
Old
#10  
Rydah805's Avatar
Recognized Contributor - OP
Thanks Meter 1150
Posts: 3,797
Join Date: Oct 2008
Location: Ventura County, CA

 
DONATE TO ME
Quote:
Originally Posted by crucial929 View Post
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!



ThisIzRydah.com
Check Me Out On The Google Play Store!!!
Check Me Out On iTunes!!!
Check Me Out On Amazon MP3!!!
Check Me Out On Zune!!!
HTC One (M8) - Amber Gold
HTC One (M7) - Half Stealth Black/Half Glacier Silver
Samsung Galaxy S4


The Following User Says Thank You to Rydah805 For This Useful Post: [ Click to Expand ]
Tags
how to, htc evo 4g lte, mms over wifi
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes