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: