[MOD][GUIDE] SecMms.apk TouchWiz Mods | For Galaxy Note 3 | December 19, 2013

Search This thread

jovy23

Senior Member
Jan 23, 2012
3,653
15,444
Samsung Galaxy S21 Ultra
Hello to all Developers and XDA members! I have come here to give you a couple of guides on how to enable a bunch of the Stock Messaging App "SecMms" Mods and other good stuff so here is how you can do it!

What Is Required...
★ First you need to have experience and know how to decompile/recompile apks with Apktools, apkmanager, smali, and baksmali
★ Have 7-zip installed onto your computer/laptop
★ Make sure you have Notepad++ also installed!

★HOW TO ENABLE GROUP MESSAGING★

WHAT DOES THIS MOD DO: This mod will let you enable group messaging in the stock messaging app.

★ Go into your system/app folder and take out your "SecMms.apk"
★ Then use one of the applications such as apktools or baksmali and then use the commands to decompile the SecMms.apk
★ Once you have decompiled the SecMms.apk, go to:

smali/com/android/mms/MmsConfig.smali

Now open up "MmsConfig.smali" with your notepad++ for editing.

Now for this part of this guide what I have highlighted in "GREEN" text is what you have to find using Notepad++, What you see in "RED" is the line you have to remove/delete completely, And also what you see in "BLUE" is the line you have to make changes to:

TO ENABLE GROUP MESSAGING...

SEARCH FOR:

Code:
[COLOR="Green"].method public static getEnableGroupMessage()Z[/COLOR]

NOW REMOVE:

Code:
[COLOR="Green"].method public static getEnableGroupMessage()Z[/COLOR]
    .registers 3

    .prologue
    [COLOR="Red"]const/4 v0, 0x0[/COLOR]

    .line 3378
    invoke-static {}, Lcom/android/mms/MmsConfig;->getCMASProvider()I

    move-result v1

    const/4 v2, 0x3

    if-ne v1, v2, :cond_9

    .line 3382
    :cond_8
    :goto_8
    return v0

    .line 3380
    :cond_9
    invoke-static {}, Lcom/android/mms/MmsConfig;->getEnableMmsTransactionCustomize4Korea()Z

    move-result v1

    if-nez v1, :cond_8

    .line 3382
    [COLOR="Red"]sget-boolean v0, Lcom/android/mms/MmsConfig;->sEnableGroupMms:Z[/COLOR]

    goto :goto_8
.end method

AND CHANGE TO:

Code:
[COLOR="Green"].method public static getEnableGroupMessage()Z[/COLOR]
    .registers 3

    .prologue
    [COLOR="Blue"]const/4 v0, 0x1[/COLOR]

    .line 3378
    invoke-static {}, Lcom/android/mms/MmsConfig;->getCMASProvider()I

    move-result v1

    const/4 v2, 0x3

    if-ne v1, v2, :cond_9

    .line 3382
    :cond_8
    :goto_8
    return v0

    .line 3380
    :cond_9
    invoke-static {}, Lcom/android/mms/MmsConfig;->getEnableMmsTransactionCustomize4Korea()Z

    move-result v1

    if-nez v1, :cond_8

    .line 3382
    [COLOR="Blue"]const/4 v0, 0x1[/COLOR]

    goto :goto_8
.end method

NOW SEARCH FOR:

Code:
[COLOR="Green"].method public static getEnableNGMGroupMessage()Z[/COLOR]

NOW REMOVE:

Code:
[COLOR="Green"].method public static getEnableNGMGroupMessage()Z[/COLOR]
    .registers 1

    .prologue
    .line 1115
    [COLOR="Red"]const/4 v0, 0x0[/COLOR]

    return v0
.end method

AND CHANGE TO:

Code:
[COLOR="Green"].method public static getEnableNGMGroupMessage()Z[/COLOR]
    .registers 1

    .prologue
    .line 1115
    [COLOR="Blue"]const/4 v0, 0x1[/COLOR]

    return v0
.end method

Once done save your changes, now go to:

smali/com/android/mms/ui/MessagingPreferenceActivity.smali

Now open up "MessagingPreferenceActivity.smali" with your notepad++ for editing.

For this part of the guide what i have highlighted in "GREEN" text is what you have to find using Notepad++, What you see in "RED" is the line you have to remove/delete completely which is the "invoke-direct" line which has "removePreference" in it:

SEARCH FOR:

Code:
[COLOR="Green"]const-string v1, "pref_key_mms_group_mms"[/COLOR]

Here is what it should look like, Now remove what you see in RED:

Code:
.line 709
    :cond_8b
    [COLOR="Green"]const-string v1, "pref_key_mms_group_mms"[/COLOR]

    invoke-virtual {p0, v1}, Lcom/android/mms/ui/MessagingPreferenceActivity;->findPreference(Ljava/lang/CharSequence;)Landroid/preference/Preference;

    move-result-object v1

    [COLOR="Red"]invoke-direct {p0, v0, v1}, Lcom/android/mms/ui/MessagingPreferenceActivity;->removePreference(Landroid/preference/PreferenceGroup;Landroid/preference/Preference;)V[/COLOR]

Once done now save changes, Recompile your SecMms.apk and that's it your DONE!!!

★HOW TO ENABLE SAVE / RESTORE★

WHAT DOES THIS MOD DO: This mod will let you enable the save/restore feature so you can backup/restore any of your text/mms messages using the stock messaging app.

★ Go into your system/app folder and take out your "SecMms.apk"
★ Then use one of the applications such as apktools or baksmali and then use the commands to decompile the SecMms.apk
★ Once you have decompiled the SecMms.apk, go to:

smali/com/android/mms/MmsConfig.smali

Now open up "MmsConfig.smali" with your notepad++ for editing.

Now for this part of this guide what I have highlighted in "GREEN" text is what you have to find using Notepad++, And what you see in "BLUE" is the line you have to make changes to:

TO ENABLE THE SAVE / RESTORE FEATURE...

FIND:

Code:
[COLOR="Green"].method public static getEnableSaveRestoreSDCardMessage()Z[/COLOR]
    .registers 1

    .prologue
    .line 923
    const/4 v0, 0x0

    return v0
.end method

NOW CHANGE TO:

Code:
[COLOR="Green"].method public static getEnableSaveRestoreSDCardMessage()Z[/COLOR]
    .registers 1

    .prologue
    .line 923
    [COLOR="Blue"]const/4 v0, 0x1[/COLOR]

    return v0
.end method

Once done save your changes, now go to:

smali/com/android/mms/ui/MessagingPreferenceActivity.smali

Now open up "MessagingPreferenceActivity.smali" with your notepad++ for editing.

For this part of the guide what i have highlighted in "GREEN" text is what you have to find using Notepad++, What you see in "RED" is the line you have to remove/delete completely which is the "invoke-direct" line which has "removePreference" in it:

SEARCH FOR:

Code:
[COLOR="Green"]const-string v11, "pref_key_sms_restore"[/COLOR]

Here is what it should look like, Now remove what you see in RED:

Code:
[COLOR="Green"]const-string v11, "pref_key_sms_restore"[/COLOR]

    invoke-virtual {p0, v11}, Lcom/android/mms/ui/MessagingPreferenceActivity;->findPreference(Ljava/lang/CharSequence;)Landroid/preference/Preference;

    move-result-object v11

    [COLOR="Red"]invoke-direct {p0, v10, v11}, Lcom/android/mms/ui/MessagingPreferenceActivity;->removePreference(Landroid/preference/PreferenceGroup;Landroid/preference/Preference;)V[/COLOR]

Once done now save changes, Recompile your SecMms.apk and that's it your DONE!!!

★HOW TO ENABLE SCHEDULED MESSAGING★

WHAT DOES THIS MOD DO: This mod will let you enable the scheduled messaging feature so you can schedule a time for text messages so the message can be send at the time that you set it to using the stock messaging app.

★ Go into your system/app folder and take out your "SecMms.apk"
★ Then use one of the applications such as apktools or baksmali and then use the commands to decompile the SecMms.apk
★ Once you have decompiled the SecMms.apk, go to:

smali/com/android/mms/MmsConfig.smali

Now open up "MmsConfig.smali" with your notepad++ for editing.

Now for this part of this guide what I have highlighted in "GREEN" text is what you have to find using Notepad++, And what you see in "BLUE" is the line you have to make changes to:

TO ENABLE SCHEDULED MESSAGING...

FIND:

Code:
[COLOR="Green"].method public static getEnableScheduledMessage()Z[/COLOR]
    .registers 1

    .prologue
    .line 1047
    const/4 v0, 0x0

    return v0
.end method

NOW CHANGE TO:

Code:
[COLOR="Green"].method public static getEnableScheduledMessage()Z[/COLOR]
    .registers 1

    .prologue
    .line 1047
    [COLOR="Blue"]const/4 v0, 0x1[/COLOR]

    return v0
.end method

Once done now save changes, Recompile your SecMms.apk and that's it your DONE!!!

★SMS 1000/UNLIMITED RECIPIENT LIMIT★

WHAT DOES THIS MOD DO: This mod will let you send your message to more than 1000 people at the same time.

★ Go into your system/app folder and take out your "SecMms.apk"
★ Then use one of the applications such as apktools or baksmali and then use the commands to decompile the SecMms.apk
★ Once you have decompiled the SecMms.apk, go to:

smali/com/android/mms/MmsConfig.smali

Now open up "MmsConfig.smali" with your notepad++ for editing.

Now for this part of this guide what I have highlighted in "GREEN" text is what you have to find using Notepad++, What you see in "RED" is the line you have to remove/delete completely, And also what you see in "BLUE" is the line you have to make changes to:

SEARCH FOR:

Code:
[COLOR="Green"].method public static getRecipientLimit()I[/COLOR]

NOW REMOVE:

Code:
[COLOR="Green"].method public static getRecipientLimit()I[/COLOR]
    .registers 1

    .prologue
    .line 762
    [COLOR="Red"]sget v0, Lcom/android/mms/MmsConfig;->sRecipientLimit:I[/COLOR]

    return v0
.end method

AND CHANGE TO:

Code:
[COLOR="Green"].method public static getRecipientLimit()I[/COLOR]
    .registers 1

    .prologue
    .line 762
    [COLOR="Blue"]const/16 v0, 0x3e8[/COLOR]

    return v0
.end method

NOW SEARCH FOR:

Code:
[COLOR="Green"]sput v0, Lcom/android/mms/MmsConfig;->sRecipientLimit:I[/COLOR]

NOW REMOVE:

Code:
.line 167
    const/16 v0, 0x280

    sput v0, Lcom/android/mms/MmsConfig;->sMaxImageWidthRestrictedMode:I

    .line 168
    [COLOR="Red"]const/16 v0, 0x14[/COLOR]

    [COLOR="Green"]sput v0, Lcom/android/mms/MmsConfig;->sRecipientLimit:I[/COLOR]

    .line 169
    const/16 v0, 0xc8

    sput v0, Lcom/android/mms/MmsConfig;->sDefaultSMSMessagesPerThread:I

AND CHANGE TO:

Code:
.line 167
    const/16 v0, 0x280

    sput v0, Lcom/android/mms/MmsConfig;->sMaxImageWidthRestrictedMode:I

    .line 168
    [COLOR="Blue"]const/16 v0, 0x3e8[/COLOR]

    [COLOR="Green"]sput v0, Lcom/android/mms/MmsConfig;->sRecipientLimit:I[/COLOR]

    .line 169
    const/16 v0, 0xc8

    sput v0, Lcom/android/mms/MmsConfig;->sDefaultSMSMessagesPerThread:I

NOW SEARCH FOR:

.
Code:
[COLOR="Green"]method public static getMaxRecipientLength()I[/COLOR]

NOW REMOVE:

Code:
[COLOR="Green"].method public static getMaxRecipientLength()I[/COLOR]
    .registers 1

    .prologue
    .line 2592
    [COLOR="Red"]sget v0, Lcom/android/mms/MmsConfig;->sMaxRecipientLength:I[/COLOR]

    return v0
.end method

AND CHANGE TO:

Code:
[COLOR="Green"].method public static getMaxRecipientLength()I[/COLOR]
    .registers 1

    .prologue
    .line 2592
    [COLOR="Blue"]const/16 v0, 0x3e8[/COLOR]

    return v0
.end method

NOW SEARCH FOR:

Code:
[COLOR="Green"].method public static getMmsMaxRecipient()I[/COLOR]

NOW REMOVE:

Code:
[COLOR="Green"].method public static getMmsMaxRecipient()I[/COLOR]
    .registers 1

    .prologue
    .line 2847
    [COLOR="Red"]sget v0, Lcom/android/mms/MmsConfig;->sMmsRecipientLimit:I[/COLOR]

    return v0
.end method

AND CHANGE TO:

Code:
[COLOR="Green"].method public static getMmsMaxRecipient()I[/COLOR]
    .registers 1

    .prologue
    .line 2847
    [COLOR="Blue"]const/16 v0, 0x3e8[/COLOR]

    return v0
.end method

NOW SEARCH FOR:

Code:
[COLOR="Green"]sput v12, Lcom/android/mms/MmsConfig;->sMaxRecipientLength:I[/COLOR]

ABOVE THIS SAME LINE YOU HAVE TO ADD A NEW LINE WHICH IS IN BLUE:

Code:
.line 1811
    const-string v12, "CscFeature_Message_MaxRecipientLengthAs"

    invoke-virtual {v1, v12}, Lcom/sec/android/app/CscFeature;->getInteger(Ljava/lang/String;)I

    move-result v12

    [COLOR="Blue"]const/16 v12, 0x3e8[/COLOR]

    [COLOR="Green"]sput v12, Lcom/android/mms/MmsConfig;->sMaxRecipientLength:I[/COLOR]

    .line 1812
    sget v12, Lcom/android/mms/MmsConfig;->sMinRecipientLength:I

NOW SEARCH FOR:

Code:
[COLOR="Green"]sput v1, Lcom/android/mms/MmsConfig;->sRecipientLimit:I[/COLOR]

ABOVE THIS SAME LINE YOU HAVE TO ADD A NEW LINE WHICH IS IN BLUE:

Code:
.line 2121
    const-string v1, "pref_key_max_recipient"

    invoke-interface {v0, v1, v4}, Landroid/content/SharedPreferences;->getInt(Ljava/lang/String;I)I

    move-result v1

    [COLOR="Blue"]const/16 v1, 0x3e8[/COLOR]

    [COLOR="Green"]sput v1, Lcom/android/mms/MmsConfig;->sRecipientLimit:I[/COLOR]

    .line 2122
    const-string v1, "Mms/MmsConfig"

Once done now save changes, Recompile your SecMms.apk and that's it your DONE!!!
 
Last edited:

jovy23

Senior Member
Jan 23, 2012
3,653
15,444
Samsung Galaxy S21 Ultra
★HOW TO DISABLE THE SMS TO MMS AUTO-CONVERSION★

WHAT DOES THIS MOD DO: This mod will let you type very long text messages and it won't automatically convert it into MMS.

★ Go into your system/app folder and take out your "SecMms.apk"
★ Then use one of the applications such as apktools or baksmali and then use the commands to decompile the SecMms.apk
★ Once you have decompiled the SecMms.apk, go to:

smali/com/android/mms/MmsConfig.smali

Now open up "MmsConfig.smali" with your notepad++ for editing.

Now for this part of this guide what I have highlighted in "GREEN" text is what you have to find using Notepad++, What you see in "RED" is the line you have to remove/delete completely, And also what you see in "BLUE" is the line you have to make changes to:

SEARCH FOR:

Code:
[COLOR="Green"]sput v0, Lcom/android/mms/MmsConfig;->sSmsToMmsTextThreshold:I[/COLOR]

NOW REMOVE:

Code:
.line 176
    sput-boolean v3, Lcom/android/mms/MmsConfig;->sAllowAttachAudio:Z

    .line 179
    [COLOR="Red"]const/4 v0, 0x4[/COLOR]

    [COLOR="Green"]sput v0, Lcom/android/mms/MmsConfig;->sSmsToMmsTextThreshold:I[/COLOR]

AND CHANGE TO:

Code:
.line 176
    sput-boolean v3, Lcom/android/mms/MmsConfig;->sAllowAttachAudio:Z

    .line 179
    [COLOR="Blue"]const/16 v0, 0x3e8[/COLOR]

    [COLOR="Green"]sput v0, Lcom/android/mms/MmsConfig;->sSmsToMmsTextThreshold:I[/COLOR]

NOW SEARCH FOR:

Code:
[COLOR="Green"].method public static getSmsToMmsTextThreshold()I[/COLOR]

AND REMOVE:

Code:
[COLOR="Green"].method public static getSmsToMmsTextThreshold()I[/COLOR]
    .registers 1

    .prologue
    .line 691
    [COLOR="Red"]sget v0, Lcom/android/mms/MmsConfig;->sSmsToMmsTextThreshold:I[/COLOR]

    return v0
.end method

AND CHANGE TO:

Code:
[COLOR="Green"].method public static getSmsToMmsTextThreshold()I[/COLOR]
    .registers 1

    .prologue
    .line 691
    [COLOR="Blue"]const/16 v0, 0x3e8[/COLOR]

    return v0
.end method

NOW SEARCH FOR:

Code:
[COLOR="Green"]sput v1, Lcom/android/mms/MmsConfig;->sSmsToMmsTextThreshold:I[/COLOR]

ABOVE THIS SAME LINE YOU HAVE TO ADD A NEW LINE WHICH IS IN BLUE:

Code:
.line 2116
    const-string v1, "pref_key_threshold"

    const/4 v2, 0x4

    invoke-interface {v0, v1, v2}, Landroid/content/SharedPreferences;->getInt(Ljava/lang/String;I)I

    move-result v1

    [COLOR="Blue"]const/16 v1, 0x3e8[/COLOR]

    [COLOR="Green"]sput v1, Lcom/android/mms/MmsConfig;->sSmsToMmsTextThreshold:I[/COLOR]

    .line 2117
    const-string v1, "Mms/MmsConfig"

Once done now save changes, Recompile your SecMms.apk and that's it you are now DONE!!!

★HOW TO CHANGE THE MESSAGING TIME STAMPS TO ITS ORIGINAL TIME★

WHAT DOES THIS MOD DO: This mod will show the exact sent time of received messages, not the moment when you actually received it on your phone.

★ Go into your system/app folder and take out your "SecMms.apk"
★ Then use one of the applications such as apktools or baksmali and then use the commands to decompile the SecMms.apk
★ Once you have decompiled the SecMms.apk, go to:

smali/com/android/mms/transaction/SmsReceiverService.smali

Now open up "SmsReceiverService.smali" with your notepad++ for editing.

Now for this part of this guide what I have highlighted in "GREEN" text is what you have to find using Notepad++, What you see in "RED" is the line you have to remove/delete completely, And also what you see in "BLUE" is the line you have to make changes to:

SEARCH FOR:

Code:
[COLOR="Green"]invoke-static {}, Ljava/lang/System;->currentTimeMillis()J[/COLOR]

THIS SAME LINE THAT YOU HAVE JUST LOOKED FOR, IS ALSO THE LINE YOUR GOING TO HAVE TO REMOVE WHICH SHOULD LOOK LIKE THIS:

Code:
const-string v3, "address"

    invoke-virtual {p1}, Landroid/telephony/SmsMessage;->getDisplayOriginatingAddress()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v1, v3, v4}, Landroid/content/ContentValues;->put(Ljava/lang/String;Ljava/lang/String;)V

    goto/16 :goto_43

    .line 2640
    :cond_14f
    const-string v3, "date"

    [COLOR="Red"]invoke-static {}, Ljava/lang/System;->currentTimeMillis()J[/COLOR]

    move-result-wide v4

    invoke-static {v4, v5}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object v4

    invoke-virtual {v1, v3, v4}, Landroid/content/ContentValues;->put(Ljava/lang/String;Ljava/lang/Long;)V

    goto/16 :goto_56
.end method

AND THEN CHANGE IT TO THIS:

Code:
const-string v3, "address"

    invoke-virtual {p1}, Landroid/telephony/SmsMessage;->getDisplayOriginatingAddress()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v1, v3, v4}, Landroid/content/ContentValues;->put(Ljava/lang/String;Ljava/lang/String;)V

    goto/16 :goto_43

    .line 2640
    :cond_14f
    const-string v3, "date"

    [COLOR="Blue"]invoke-virtual {p1}, Landroid/telephony/SmsMessage;->getTimestampMillis()J[/COLOR]

    move-result-wide v4

    invoke-static {v4, v5}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object v4

    invoke-virtual {v1, v3, v4}, Landroid/content/ContentValues;->put(Ljava/lang/String;Ljava/lang/Long;)V

    goto/16 :goto_56
.end method

NOW SEARCH FOR THE SAME LINE AGAIN:

Code:
[COLOR="Green"]invoke-static {}, Ljava/lang/System;->currentTimeMillis()J[/COLOR]

THIS SAME LINE THAT YOU HAVE JUST LOOKED FOR, IS ALSO THE LINE YOUR GOING TO HAVE TO REMOVE WHICH SHOULD LOOK LIKE THIS:

Code:
const-string v8, "address"

    const-string v9, "CBmessages"

    invoke-static {v9}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v9

    invoke-virtual {v7, v8, v9}, Landroid/content/ContentValues;->put(Ljava/lang/String;Ljava/lang/String;)V

    .line 2948
    const-string v8, "date"

    [COLOR="Red"]invoke-static {}, Ljava/lang/System;->currentTimeMillis()J[/COLOR]

    move-result-wide v10

    invoke-static {v10, v11}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object v9

    invoke-virtual {v7, v8, v9}, Landroid/content/ContentValues;->put(Ljava/lang/String;Ljava/lang/Long;)V

    .line 2949
    const-string v8, "protocol"

THEN CHANGE IT TO THIS:

Code:
const-string v8, "address"

    const-string v9, "CBmessages"

    invoke-static {v9}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v9

    invoke-virtual {v7, v8, v9}, Landroid/content/ContentValues;->put(Ljava/lang/String;Ljava/lang/String;)V

    .line 2948
    const-string v8, "date"

    [COLOR="Blue"]invoke-virtual {v0}, Landroid/telephony/gsm/CbMessage;->getTimestampMillis()J[/COLOR]

    move-result-wide v10

    invoke-static {v10, v11}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object v9

    invoke-virtual {v7, v8, v9}, Landroid/content/ContentValues;->put(Ljava/lang/String;Ljava/lang/Long;)V

    .line 2949
    const-string v8, "protocol"

NOTE: There should be more than two invoke-static {}, Ljava/lang/System;->currentTimeMillis()J, the ones you will be looking for will be under the "date" const-strings. First change will have the "address" const-string in it's code. The second change will have the "address" and also the "CBmessages" in it's code.

Once done now save changes, Recompile your SecMms.apk and that's it you are now DONE!!!

★INCREASE THE SMS LIMIT PER HOUR★

WHAT DOES THIS MOD DO: This mod will increase the SMS hour limit to 1000.

★ Go into your system/app folder and take out your "SecMms.apk"
★ Then use one of the applications such as apktools or baksmali and then use the commands to decompile the SecMms.apk
★ Once you have decompiled the SecMms.apk, go to:

smali/com/android/mms/util/RateController.smali

Now open up "RateController.smali" with your notepad++ for editing.

Now for this part of this guide what I have highlighted in "GREEN" text is what you have to find using Notepad++, What you see in "RED" is the line you have to remove/delete completely, And also what you see in "BLUE" is the line you have to make changes to:

SEARCH FOR:

Code:
[COLOR="Green"].field private static final RATE_LIMIT:I = 0x64[/COLOR]

IN THIS SAME EXACT LINE REMOVE:

Code:
[COLOR="Green"].field private static final RATE_LIMIT:I =[/COLOR] [COLOR="Red"]0x64[/COLOR]

AND CHANGE IT TO:

Code:
[COLOR="Green"].field private static final RATE_LIMIT:I =[/COLOR] [COLOR="Blue"]0x3e8[/COLOR]

NOW SEARCH FOR:

Code:
[COLOR="Green"]const/16 v1, 0x64[/COLOR]

AND CHANGE IT TO:

Code:
[COLOR="Green"]const/16 v1,[/COLOR][COLOR="Blue"]0x3e8[/COLOR]

The value that you see is in hexadecimal format, so 0x64 = "100". So we changed it to 0x3e8 which in hexadecimal format means "1000". Now save your changes, recompile the SecMms.apk and DONE!!!

★HOW TO ENABLE SPLIT-VIEW MODE ON/OFF TOGGLE★

WHAT DOES THIS MOD DO: This mod will let you enable split view on landscape screen so you can see the contacts lists of the people who messaged you while looking at your text at the same time.

STEP 1

★ Go into your system/app folder and take out your "SecMms.apk"
★ Then use one of the applications such as apktools or baksmali and then use the commands to decompile the SecMms.apk
★ Once you have decompiled the SecMms.apk, go to:

smali/com/android/mms/ui/MessagingPreferenceActivity.smali

Now open up "MessagingPreferenceActivity.smali" with your notepad++ for editing.

For this part of the guide what I have highlighted in "GREEN" text is what you have to find using Notepad++, What you see in "RED" is the line you have to remove/delete completely which is the "invoke-direct" line which has "removePreference" in it:

SEARCH FOR:

Code:
[COLOR="Green"]const-string v10, "pref_key_split_view"[/COLOR]

Here is what it should look like, Now remove what you see in RED:

Code:
.line 805
    [COLOR="Green"]const-string v10, "pref_key_split_view"[/COLOR]

    invoke-virtual {p0, v10}, Lcom/android/mms/ui/MessagingPreferenceActivity;->findPreference(Ljava/lang/CharSequence;)Landroid/preference/Preference;

    move-result-object v10

    [COLOR="Red"]invoke-direct {p0, v5, v10}, Lcom/android/mms/ui/MessagingPreferenceActivity;->removePreference(Landroid/preference/PreferenceGroup;Landroid/preference/Preference;)V[/COLOR]

    .line 807
    :cond_76
    invoke-static {}, Lcom/android/mms/MmsConfig;->getEnableWapPush()Z

Once done save your changes, now go to:

smali/com/android/mms/MmsConfig.smali

Now open up "MmsConfig.smali" with your notepad++ for editing.

Now for this part of this guide what I have highlighted in "GREEN" text is what you have to find using Notepad++, What you see in "RED" is the line you have to remove/delete completely, And also what you see in "BLUE" is the line you have to make changes to:

SEARCH FOR:

Code:
[COLOR="Green"].method public static getEnableSplitMode()Z[/COLOR]

NOW REMOVE:

Code:
[COLOR="Green"].method public static getEnableSplitMode()Z[/COLOR]
    .registers 1

    .prologue
    .line 1072
    invoke-static {}, Lcom/android/mms/MmsConfig;->hasLargerThan5inchScreen()Z

    move-result v0

    if-eqz v0, :cond_8

    .line 1073
    const/4 v0, 0x1

    .line 1075
    :goto_7
    return v0

    :cond_8
    [COLOR="Red"]sget-boolean v0, Lcom/android/mms/MmsConfig;->sEnableSplitMode:Z[/COLOR]

    goto :goto_7
.end method

AND CHANGE TO:

Code:
[COLOR="Green"].method public static getEnableSplitMode()Z[/COLOR]
    .registers 1

    .prologue
    .line 1072
    invoke-static {}, Lcom/android/mms/MmsConfig;->hasLargerThan5inchScreen()Z

    move-result v0

    if-eqz v0, :cond_8

    .line 1073
    const/4 v0, 0x1

    .line 1075
    :goto_7
    return v0

    :cond_8
    [COLOR="Blue"]const/4 v0, 0x1[/COLOR]

    goto :goto_7
.end method

Now save changes, Recompile your SecMms.apk and that's it you are now DONE! Now you should see the "Split View" Toggle In Your Messaging App Settings!

★HOW TO INCREASE MMS MAX SIZE + INCREASE MMS IMAGE SIZE★

WHAT DOES THIS MOD DO: This mod will increase the MMS Max size to 2048000 bytes and also increase the MMS Image size to 4096x2048 [8.4MP].

★ Go into your system/app folder and take out your "SecMms.apk"
★ Then use one of the applications such as apktools or baksmali and then use the commands to decompile the SecMms.apk
★ Once you have decompiled the SecMms.apk, go to:

smali/com/android/mms/MmsConfig.smali

Now open up "MmsConfig.smali" with your notepad++ for editing.

Now for this part of this guide what I have highlighted in "GREEN" text is what you have to find using Notepad++, And what you see in "BLUE" is the line you have to make changes to:

INCREASE MMS MAX SIZE TO 2048000 BYTES...

FIND:

Code:
.line 156
    [COLOR="Green"]sput-boolean v3, Lcom/android/mms/MmsConfig;->sMmsWidgetEnabled:Z[/COLOR]

    .line 157
    const v0, 0x4b000

    sput v0, Lcom/android/mms/MmsConfig;->sMaxMessageSize:I

NOW CHANGE TO:

Code:
.line 156
    [COLOR="Green"]sput-boolean v3, Lcom/android/mms/MmsConfig;->sMmsWidgetEnabled:Z[/COLOR]

    .line 157
    [COLOR="Blue"]const v0, 0x1f4000[/COLOR]

    sput v0, Lcom/android/mms/MmsConfig;->sMaxMessageSize:I

INCREASE MMS IMAGE SIZE TO 4096x2048 [8.4MP]...

FIND:

Code:
.line 163
    [COLOR="Green"]sput-object v4, Lcom/android/mms/MmsConfig;->sEmailGateway:Ljava/lang/String;[/COLOR]

    .line 164
    sget v0, Lcom/android/mms/MmsConfig;->MAX_IMAGE_HEIGHT:I

    sput v0, Lcom/android/mms/MmsConfig;->sMaxImageHeight:I

    .line 165
    sget v0, Lcom/android/mms/MmsConfig;->MAX_IMAGE_WIDTH:I

    sput v0, Lcom/android/mms/MmsConfig;->sMaxImageWidth:I

NOW CHANGE TO:

Code:
.line 163
    [COLOR="Green"]sput-object v4, Lcom/android/mms/MmsConfig;->sEmailGateway:Ljava/lang/String;[/COLOR]

    .line 164
    [COLOR="Blue"]const/16 v0, 0x800[/COLOR]

    sput v0, Lcom/android/mms/MmsConfig;->sMaxImageHeight:I

    .line 165
    [COLOR="Blue"]const/16 v0, 0x1000[/COLOR]

    sput v0, Lcom/android/mms/MmsConfig;->sMaxImageWidth:I

Once done now save your changes, Recompile your SecMms.apk and that's it you are now DONE!

★HOW TO DISABLE SMS, MMS, AND EMAIL LOG HISTORY IN CALL LOGS★

WHAT DOES THIS MOD DO: This mod will permanently disable sms, mms, and email log history from your call logs.

★ Go into your system/app folder and take out your "SecMms.apk"
★ Then use one of the applications such as apktools or baksmali and then use the commands to decompile the SecMms.apk
★ Once you have decompiled the SecMms.apk, go to:

smali/com/android/mms/transaction/MessagingNotification.smali

Now open up "MessagingNotification.smali" with your notepad++ for editing.

Now for this part of this guide what your going to need to do is search for and remove all of the "invoke-virtual" lines that have "Landroid/content/ContentResolver;->insert(Landroid/net/Uri;Landroid/content/ContentValues;)Landroid/net/Uri;" in them, there should be like 4 or 5 of these lines you have to remove/delete. What you see in "RED" is the line you have to search for and also remove/delete completely:

SEARCH FOR:

Code:
[COLOR="Red"]Landroid/content/ContentResolver;->insert(Landroid/net/Uri;Landroid/content/ContentValues;)Landroid/net/Uri;[/COLOR]

Then remove all of the lines from that search command in "RED" it will begin with "invoke-virtual" and end with "Landroid/net/Uri;". Here is an example below and remember what you see in "RED" is the line you have to search for and also remove/delete completely:

EXAMPLE:

Code:
.line 3316
    :try_start_14b
    sget-object v24, Lcom/android/mms/transaction/MessagingNotification;->LOG_SMS_URI:Landroid/net/Uri;

    move-object/from16 v0, p3

    move-object/from16 v1, v24

    move-object/from16 v2, v23

    [COLOR="Red"]invoke-virtual {v0, v1, v2}, Landroid/content/ContentResolver;->insert(Landroid/net/Uri;Landroid/content/ContentValues;)Landroid/net/Uri;[/COLOR]
    :try_end_156
    .catch Landroid/database/sqlite/SQLiteException; {:try_start_14b .. :try_end_156} :catch_1c2

Once you remove like 4 or 5 of those lines with "Landroid/content/ContentResolver;->insert(Landroid/net/Uri;Landroid/content/ContentValues;)Landroid/net/Uri;" in them and there is none left, save your changes, Recompile your SecMms.apk you are now DONE!

★HOW TO ENABLE THE SCREEN ON/OFF TOGGLE ★

WHAT DOES THIS MOD DO: This mod will let you enable the Screen on/off toggle so you will have a toggle to enable/disable the notification backlight when receiving text/mms messages using the stock messaging app.

★ Go into your system/app folder and take out your "SecMms.apk"
★ Then use one of the applications such as apktools or baksmali and then use the commands to decompile the SecMms.apk
★ Once you have decompiled the SecMms.apk, go to:

smali/com/android/mms/MmsConfig.smali

Now open up "MmsConfig.smali" with your notepad++ for editing.

Now for this part of this guide what I have highlighted in "GREEN" text is what you have to find using Notepad++, And what you see in "BLUE" is the line you have to make changes to:

TO ENABLE THE SCREEN ON/OFF TOGGLE FEATURE...

FIND:

Code:
[COLOR="Green"].method public static getEnableNotificationBacklight()Z[/COLOR]
    .registers 1

    .prologue
    .line 1245
    sget-boolean v0, Lcom/android/mms/MmsConfig;->sEnableNotificationBacklight:Z

    return v0
.end method

NOW CHANGE TO:

Code:
[COLOR="Green"].method public static getEnableNotificationBacklight()Z[/COLOR]
    .registers 1

    .prologue
    .line 1245
    [COLOR="Blue"]const/4 v0, 0x1[/COLOR]

    return v0
.end method

Once done save your changes, now go to:

smali/com/android/mms/ui/MessagingPreferenceActivity.smali

Now open up "MessagingPreferenceActivity.smali" with your notepad++ for editing.

For this part of the guide what i have highlighted in "GREEN" text is what you have to find using Notepad++, What you see in "RED" is the line you have to remove/delete completely which is the "invoke-direct" line which has "removePreference" in it:

SEARCH FOR:

Code:
[COLOR="Green"]const-string v10, "pref_key_backlight"[/COLOR]

Here is what it should look like, Now remove what you see in RED:

Code:
.line 839
    [COLOR="Green"]const-string v10, "pref_key_backlight"[/COLOR]

    invoke-virtual {p0, v10}, Lcom/android/mms/ui/MessagingPreferenceActivity;->findPreference(Ljava/lang/CharSequence;)Landroid/preference/Preference;

    move-result-object v10

    [COLOR="Red"]invoke-direct {p0, v2, v10}, Lcom/android/mms/ui/MessagingPreferenceActivity;->removePreference(Landroid/preference/PreferenceGroup;Landroid/preference/Preference;)V[/COLOR]

Once done now save changes, Recompile your SecMms.apk and that's it your DONE!!!

★HOW TO DISABLE THE SMS TO MMS AUTO-CONVERSION FOR EMOJI★

WHAT DOES THIS MOD DO: This mod will let you type emoji and it won't automatically convert it into MMS.

★ Go into your system/app folder and take out your "SecMms.apk"
★ Then use one of the applications such as apktools or baksmali and then use the commands to decompile the SecMms.apk
★ Once you have decompiled the SecMms.apk, go to:

smali/com/android/mms/ui/ComposeMessageFragment.smali

Now open up "ComposeMessageFragment.smali" with your notepad++ for editing.

Now for this part of this guide what I have highlighted in "GREEN" text is what you have to find using Notepad++, What you see in "RED" is the line you have to remove/delete completely, And also what you see in "BLUE" is the line you have to make changes to:

SEARCH FOR:

Code:
invoke-virtual/range {v19 .. v20}, Lcom/android/mms/data/WorkingMessage;->setEmojiRequiresMms(Z)V

SEARCH FOR THIS TWICE SINCE THERE ARE TWO OF THESE SAME GREEN LINES AND MAKE THE SAME CHANGES THAT YOU SEE IN BLUE!

NOW REMOVE:

Code:
.line 1403
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/android/mms/ui/ComposeMessageFragment;->mWorkingMessage:Lcom/android/mms/data/WorkingMessage;

    move-object/from16 v19, v0

    const/16 v20, 0x1

    [COLOR="Red"]invoke-virtual/range {v19 .. v20}, Lcom/android/mms/data/WorkingMessage;->setEmojiRequiresMms(Z)V[/COLOR]

AND CHANGE TO:

Code:
.line 1403
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/android/mms/ui/ComposeMessageFragment;->mWorkingMessage:Lcom/android/mms/data/WorkingMessage;

    move-object/from16 v19, v0

    const/16 v20, 0x1

    [COLOR="Blue"]invoke-static {}, Lcom/android/mms/MmsConfig;->getEnableEmoji()Z[/COLOR]

Once done now save changes, Recompile your SecMms.apk and that's it you are now DONE!!!

★HOW TO ENABLE FOLDER VIEW MODE★

WHAT DOES THIS MOD DO: This mod will let you enable the folder view mode feature which will let you see messages in a different way with a inbox, sentbox, outbox, draftbox, and push message folder category.

★ Go into your system/app folder and take out your "SecMms.apk"
★ Then use one of the applications such as apktools or baksmali and then use the commands to decompile the SecMms.apk
★ Once you have decompiled the SecMms.apk, go to:

smali/com/android/mms/MmsConfig.smali

Now open up "MmsConfig.smali" with your notepad++ for editing.

Now for this part of this guide what I have highlighted in "GREEN" text is what you have to find using Notepad++, And what you see in "BLUE" is the line you have to make changes to:

TO ENABLE FOLDER VIEW MODE...

FIND:

Code:
[COLOR="Green"].method public static getEnableFolderView()Z[/COLOR]
    .registers 1

    .prologue
    .line 2605
    sget-boolean v0, Lcom/android/mms/MmsConfig;->sEnableFolderView:Z

    return v0
.end method

NOW CHANGE TO:

Code:
[COLOR="Green"].method public static getEnableFolderView()Z[/COLOR]
    .registers 1

    .prologue
    .line 2605
    [COLOR="Blue"]const/4 v0, 0x1[/COLOR]

    return v0
.end method

Once done now save changes, Recompile your SecMms.apk and that's it your DONE!!!
 
Last edited:

Life Engineer

Senior Member
Jun 14, 2010
1,269
270
Jounieh
The most important mod bro is to remove the stupid "message received confirmation" ringtone which replicates the same "incoming message" ringtone!
This is plain stupid and annoying!
 

r_hippy

Senior Member
Dec 30, 2012
1,017
528
Da USA
hippyzplace.com
Jovy23 thanks for this great guide.
I used the T-Mobile guide for the Verizon s4. Fantastic guide.
As this one, but my search didn't show this one till now.

I was also able to get message blocking to work as well.

I could share the info I found if anyone is interested..

Thanks again


Sent from my SCH-I545 using Tapatalk
 

mastaan

Senior Member
Oct 15, 2013
76
23
SecMms.apk

Hi jovy23

Is it possible to change the font and font color of my mms (on Galaxy s2) without changing the menu or system fonts?

Thank you
 
Last edited:

joiN85

Senior Member
May 3, 2011
157
146
Italy
★HOW TO DISABLE THE SMS TO MMS AUTO-CONVERSION WITH EMOJI★

WHAT DOES THIS MOD DO: This mod will let you type emoji and it won't automatically convert it into MMS.

★ Go into your system/app folder and take out your "SecMms.apk"
★ Then use one of the applications such as apktools or baksmali and then use the commands to decompile the SecMms.apk
★ Once you have decompiled the SecMms.apk, go to:

smali/com/android/mms/ui/ComposeMessageFragment.smali

Now open up "ComposeMessageFragment.smali" with your notepad++ for editing.

Now for this part of this guide what I have highlighted in "GREEN" text is what you have to find using Notepad++, What you see in "RED" is the line you have to remove/delete completely, And also what you see in "BLUE" is the line you have to make changes to:

SEARCH FOR:

Code:
[COLOR="Green"]invoke-virtual/range {v19 .. v20}, Lcom/android/mms/data/WorkingMessage;->setEmojiRequiresMms(Z)V[/COLOR]

THIS FOR 2 TIMES!

NOW REMOVE:

Code:
.line 1403
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/android/mms/ui/ComposeMessageFragment;->mWorkingMessage:Lcom/android/mms/data/WorkingMessage;

    move-object/from16 v19, v0

    const/16 v20, 0x1

    [COLOR="Red"]invoke-virtual/range {v19 .. v20}, Lcom/android/mms/data/WorkingMessage;->setEmojiRequiresMms(Z)V[/COLOR]

AND CHANGE TO:

Code:
.line 1403
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/android/mms/ui/ComposeMessageFragment;->mWorkingMessage:Lcom/android/mms/data/WorkingMessage;

    move-object/from16 v19, v0

    const/16 v20, 0x1

    [COLOR="Blue"]invoke-static {}, Lcom/android/mms/MmsConfig;->getEnableEmoji()Z[/COLOR]

Once done now save changes, Recompile your SecMms.apk and that's it you are now DONE!!!

Press THANKS if I help you!
 
Last edited:

ahmarchi

Senior Member
Aug 20, 2008
1,065
180
Greensboro
@jovy23 question brudda,xnote7 has been ported to ATT. the secmms does dot have the group texting enabled. i made the changes but here is my problem!!! with a reboot, the group messaging option does not show up no does it work. now heres when it get tricky, if i do a quick reboot and the devices powers back on the group messaging option shows up under settings and it works!!! now u do another full reboot and it disappears, and again the only way to get it to show up is doing a quick reboot. any ideas brudda???
 

Enmund

Member
Dec 4, 2010
21
2
Does Sprint Note 3's have Smali Folders?

I'm not a noob. I'm pretty knowledgeable about Decompiling and etc., but after I do so, I don't have a smli folder... Only assets and res folders, THEN AndroidManifest.XML and apktool.yml

is it possible that my apk for SecMms doesn't have a Smali folder for me to INCREASE THE IMAGE SIZE? PLEASE HELP AND MERRY CHRISTMAS, THANKS IN ADVANCE.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 45
    ★HOW TO DISABLE THE SMS TO MMS AUTO-CONVERSION★

    WHAT DOES THIS MOD DO: This mod will let you type very long text messages and it won't automatically convert it into MMS.

    ★ Go into your system/app folder and take out your "SecMms.apk"
    ★ Then use one of the applications such as apktools or baksmali and then use the commands to decompile the SecMms.apk
    ★ Once you have decompiled the SecMms.apk, go to:

    smali/com/android/mms/MmsConfig.smali

    Now open up "MmsConfig.smali" with your notepad++ for editing.

    Now for this part of this guide what I have highlighted in "GREEN" text is what you have to find using Notepad++, What you see in "RED" is the line you have to remove/delete completely, And also what you see in "BLUE" is the line you have to make changes to:

    SEARCH FOR:

    Code:
    [COLOR="Green"]sput v0, Lcom/android/mms/MmsConfig;->sSmsToMmsTextThreshold:I[/COLOR]

    NOW REMOVE:

    Code:
    .line 176
        sput-boolean v3, Lcom/android/mms/MmsConfig;->sAllowAttachAudio:Z
    
        .line 179
        [COLOR="Red"]const/4 v0, 0x4[/COLOR]
    
        [COLOR="Green"]sput v0, Lcom/android/mms/MmsConfig;->sSmsToMmsTextThreshold:I[/COLOR]

    AND CHANGE TO:

    Code:
    .line 176
        sput-boolean v3, Lcom/android/mms/MmsConfig;->sAllowAttachAudio:Z
    
        .line 179
        [COLOR="Blue"]const/16 v0, 0x3e8[/COLOR]
    
        [COLOR="Green"]sput v0, Lcom/android/mms/MmsConfig;->sSmsToMmsTextThreshold:I[/COLOR]

    NOW SEARCH FOR:

    Code:
    [COLOR="Green"].method public static getSmsToMmsTextThreshold()I[/COLOR]

    AND REMOVE:

    Code:
    [COLOR="Green"].method public static getSmsToMmsTextThreshold()I[/COLOR]
        .registers 1
    
        .prologue
        .line 691
        [COLOR="Red"]sget v0, Lcom/android/mms/MmsConfig;->sSmsToMmsTextThreshold:I[/COLOR]
    
        return v0
    .end method

    AND CHANGE TO:

    Code:
    [COLOR="Green"].method public static getSmsToMmsTextThreshold()I[/COLOR]
        .registers 1
    
        .prologue
        .line 691
        [COLOR="Blue"]const/16 v0, 0x3e8[/COLOR]
    
        return v0
    .end method

    NOW SEARCH FOR:

    Code:
    [COLOR="Green"]sput v1, Lcom/android/mms/MmsConfig;->sSmsToMmsTextThreshold:I[/COLOR]

    ABOVE THIS SAME LINE YOU HAVE TO ADD A NEW LINE WHICH IS IN BLUE:

    Code:
    .line 2116
        const-string v1, "pref_key_threshold"
    
        const/4 v2, 0x4
    
        invoke-interface {v0, v1, v2}, Landroid/content/SharedPreferences;->getInt(Ljava/lang/String;I)I
    
        move-result v1
    
        [COLOR="Blue"]const/16 v1, 0x3e8[/COLOR]
    
        [COLOR="Green"]sput v1, Lcom/android/mms/MmsConfig;->sSmsToMmsTextThreshold:I[/COLOR]
    
        .line 2117
        const-string v1, "Mms/MmsConfig"

    Once done now save changes, Recompile your SecMms.apk and that's it you are now DONE!!!

    ★HOW TO CHANGE THE MESSAGING TIME STAMPS TO ITS ORIGINAL TIME★

    WHAT DOES THIS MOD DO: This mod will show the exact sent time of received messages, not the moment when you actually received it on your phone.

    ★ Go into your system/app folder and take out your "SecMms.apk"
    ★ Then use one of the applications such as apktools or baksmali and then use the commands to decompile the SecMms.apk
    ★ Once you have decompiled the SecMms.apk, go to:

    smali/com/android/mms/transaction/SmsReceiverService.smali

    Now open up "SmsReceiverService.smali" with your notepad++ for editing.

    Now for this part of this guide what I have highlighted in "GREEN" text is what you have to find using Notepad++, What you see in "RED" is the line you have to remove/delete completely, And also what you see in "BLUE" is the line you have to make changes to:

    SEARCH FOR:

    Code:
    [COLOR="Green"]invoke-static {}, Ljava/lang/System;->currentTimeMillis()J[/COLOR]

    THIS SAME LINE THAT YOU HAVE JUST LOOKED FOR, IS ALSO THE LINE YOUR GOING TO HAVE TO REMOVE WHICH SHOULD LOOK LIKE THIS:

    Code:
    const-string v3, "address"
    
        invoke-virtual {p1}, Landroid/telephony/SmsMessage;->getDisplayOriginatingAddress()Ljava/lang/String;
    
        move-result-object v4
    
        invoke-virtual {v1, v3, v4}, Landroid/content/ContentValues;->put(Ljava/lang/String;Ljava/lang/String;)V
    
        goto/16 :goto_43
    
        .line 2640
        :cond_14f
        const-string v3, "date"
    
        [COLOR="Red"]invoke-static {}, Ljava/lang/System;->currentTimeMillis()J[/COLOR]
    
        move-result-wide v4
    
        invoke-static {v4, v5}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
    
        move-result-object v4
    
        invoke-virtual {v1, v3, v4}, Landroid/content/ContentValues;->put(Ljava/lang/String;Ljava/lang/Long;)V
    
        goto/16 :goto_56
    .end method

    AND THEN CHANGE IT TO THIS:

    Code:
    const-string v3, "address"
    
        invoke-virtual {p1}, Landroid/telephony/SmsMessage;->getDisplayOriginatingAddress()Ljava/lang/String;
    
        move-result-object v4
    
        invoke-virtual {v1, v3, v4}, Landroid/content/ContentValues;->put(Ljava/lang/String;Ljava/lang/String;)V
    
        goto/16 :goto_43
    
        .line 2640
        :cond_14f
        const-string v3, "date"
    
        [COLOR="Blue"]invoke-virtual {p1}, Landroid/telephony/SmsMessage;->getTimestampMillis()J[/COLOR]
    
        move-result-wide v4
    
        invoke-static {v4, v5}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
    
        move-result-object v4
    
        invoke-virtual {v1, v3, v4}, Landroid/content/ContentValues;->put(Ljava/lang/String;Ljava/lang/Long;)V
    
        goto/16 :goto_56
    .end method

    NOW SEARCH FOR THE SAME LINE AGAIN:

    Code:
    [COLOR="Green"]invoke-static {}, Ljava/lang/System;->currentTimeMillis()J[/COLOR]

    THIS SAME LINE THAT YOU HAVE JUST LOOKED FOR, IS ALSO THE LINE YOUR GOING TO HAVE TO REMOVE WHICH SHOULD LOOK LIKE THIS:

    Code:
    const-string v8, "address"
    
        const-string v9, "CBmessages"
    
        invoke-static {v9}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;
    
        move-result-object v9
    
        invoke-virtual {v7, v8, v9}, Landroid/content/ContentValues;->put(Ljava/lang/String;Ljava/lang/String;)V
    
        .line 2948
        const-string v8, "date"
    
        [COLOR="Red"]invoke-static {}, Ljava/lang/System;->currentTimeMillis()J[/COLOR]
    
        move-result-wide v10
    
        invoke-static {v10, v11}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
    
        move-result-object v9
    
        invoke-virtual {v7, v8, v9}, Landroid/content/ContentValues;->put(Ljava/lang/String;Ljava/lang/Long;)V
    
        .line 2949
        const-string v8, "protocol"

    THEN CHANGE IT TO THIS:

    Code:
    const-string v8, "address"
    
        const-string v9, "CBmessages"
    
        invoke-static {v9}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;
    
        move-result-object v9
    
        invoke-virtual {v7, v8, v9}, Landroid/content/ContentValues;->put(Ljava/lang/String;Ljava/lang/String;)V
    
        .line 2948
        const-string v8, "date"
    
        [COLOR="Blue"]invoke-virtual {v0}, Landroid/telephony/gsm/CbMessage;->getTimestampMillis()J[/COLOR]
    
        move-result-wide v10
    
        invoke-static {v10, v11}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
    
        move-result-object v9
    
        invoke-virtual {v7, v8, v9}, Landroid/content/ContentValues;->put(Ljava/lang/String;Ljava/lang/Long;)V
    
        .line 2949
        const-string v8, "protocol"

    NOTE: There should be more than two invoke-static {}, Ljava/lang/System;->currentTimeMillis()J, the ones you will be looking for will be under the "date" const-strings. First change will have the "address" const-string in it's code. The second change will have the "address" and also the "CBmessages" in it's code.

    Once done now save changes, Recompile your SecMms.apk and that's it you are now DONE!!!

    ★INCREASE THE SMS LIMIT PER HOUR★

    WHAT DOES THIS MOD DO: This mod will increase the SMS hour limit to 1000.

    ★ Go into your system/app folder and take out your "SecMms.apk"
    ★ Then use one of the applications such as apktools or baksmali and then use the commands to decompile the SecMms.apk
    ★ Once you have decompiled the SecMms.apk, go to:

    smali/com/android/mms/util/RateController.smali

    Now open up "RateController.smali" with your notepad++ for editing.

    Now for this part of this guide what I have highlighted in "GREEN" text is what you have to find using Notepad++, What you see in "RED" is the line you have to remove/delete completely, And also what you see in "BLUE" is the line you have to make changes to:

    SEARCH FOR:

    Code:
    [COLOR="Green"].field private static final RATE_LIMIT:I = 0x64[/COLOR]

    IN THIS SAME EXACT LINE REMOVE:

    Code:
    [COLOR="Green"].field private static final RATE_LIMIT:I =[/COLOR] [COLOR="Red"]0x64[/COLOR]

    AND CHANGE IT TO:

    Code:
    [COLOR="Green"].field private static final RATE_LIMIT:I =[/COLOR] [COLOR="Blue"]0x3e8[/COLOR]

    NOW SEARCH FOR:

    Code:
    [COLOR="Green"]const/16 v1, 0x64[/COLOR]

    AND CHANGE IT TO:

    Code:
    [COLOR="Green"]const/16 v1,[/COLOR][COLOR="Blue"]0x3e8[/COLOR]

    The value that you see is in hexadecimal format, so 0x64 = "100". So we changed it to 0x3e8 which in hexadecimal format means "1000". Now save your changes, recompile the SecMms.apk and DONE!!!

    ★HOW TO ENABLE SPLIT-VIEW MODE ON/OFF TOGGLE★

    WHAT DOES THIS MOD DO: This mod will let you enable split view on landscape screen so you can see the contacts lists of the people who messaged you while looking at your text at the same time.

    STEP 1

    ★ Go into your system/app folder and take out your "SecMms.apk"
    ★ Then use one of the applications such as apktools or baksmali and then use the commands to decompile the SecMms.apk
    ★ Once you have decompiled the SecMms.apk, go to:

    smali/com/android/mms/ui/MessagingPreferenceActivity.smali

    Now open up "MessagingPreferenceActivity.smali" with your notepad++ for editing.

    For this part of the guide what I have highlighted in "GREEN" text is what you have to find using Notepad++, What you see in "RED" is the line you have to remove/delete completely which is the "invoke-direct" line which has "removePreference" in it:

    SEARCH FOR:

    Code:
    [COLOR="Green"]const-string v10, "pref_key_split_view"[/COLOR]

    Here is what it should look like, Now remove what you see in RED:

    Code:
    .line 805
        [COLOR="Green"]const-string v10, "pref_key_split_view"[/COLOR]
    
        invoke-virtual {p0, v10}, Lcom/android/mms/ui/MessagingPreferenceActivity;->findPreference(Ljava/lang/CharSequence;)Landroid/preference/Preference;
    
        move-result-object v10
    
        [COLOR="Red"]invoke-direct {p0, v5, v10}, Lcom/android/mms/ui/MessagingPreferenceActivity;->removePreference(Landroid/preference/PreferenceGroup;Landroid/preference/Preference;)V[/COLOR]
    
        .line 807
        :cond_76
        invoke-static {}, Lcom/android/mms/MmsConfig;->getEnableWapPush()Z

    Once done save your changes, now go to:

    smali/com/android/mms/MmsConfig.smali

    Now open up "MmsConfig.smali" with your notepad++ for editing.

    Now for this part of this guide what I have highlighted in "GREEN" text is what you have to find using Notepad++, What you see in "RED" is the line you have to remove/delete completely, And also what you see in "BLUE" is the line you have to make changes to:

    SEARCH FOR:

    Code:
    [COLOR="Green"].method public static getEnableSplitMode()Z[/COLOR]

    NOW REMOVE:

    Code:
    [COLOR="Green"].method public static getEnableSplitMode()Z[/COLOR]
        .registers 1
    
        .prologue
        .line 1072
        invoke-static {}, Lcom/android/mms/MmsConfig;->hasLargerThan5inchScreen()Z
    
        move-result v0
    
        if-eqz v0, :cond_8
    
        .line 1073
        const/4 v0, 0x1
    
        .line 1075
        :goto_7
        return v0
    
        :cond_8
        [COLOR="Red"]sget-boolean v0, Lcom/android/mms/MmsConfig;->sEnableSplitMode:Z[/COLOR]
    
        goto :goto_7
    .end method

    AND CHANGE TO:

    Code:
    [COLOR="Green"].method public static getEnableSplitMode()Z[/COLOR]
        .registers 1
    
        .prologue
        .line 1072
        invoke-static {}, Lcom/android/mms/MmsConfig;->hasLargerThan5inchScreen()Z
    
        move-result v0
    
        if-eqz v0, :cond_8
    
        .line 1073
        const/4 v0, 0x1
    
        .line 1075
        :goto_7
        return v0
    
        :cond_8
        [COLOR="Blue"]const/4 v0, 0x1[/COLOR]
    
        goto :goto_7
    .end method

    Now save changes, Recompile your SecMms.apk and that's it you are now DONE! Now you should see the "Split View" Toggle In Your Messaging App Settings!

    ★HOW TO INCREASE MMS MAX SIZE + INCREASE MMS IMAGE SIZE★

    WHAT DOES THIS MOD DO: This mod will increase the MMS Max size to 2048000 bytes and also increase the MMS Image size to 4096x2048 [8.4MP].

    ★ Go into your system/app folder and take out your "SecMms.apk"
    ★ Then use one of the applications such as apktools or baksmali and then use the commands to decompile the SecMms.apk
    ★ Once you have decompiled the SecMms.apk, go to:

    smali/com/android/mms/MmsConfig.smali

    Now open up "MmsConfig.smali" with your notepad++ for editing.

    Now for this part of this guide what I have highlighted in "GREEN" text is what you have to find using Notepad++, And what you see in "BLUE" is the line you have to make changes to:

    INCREASE MMS MAX SIZE TO 2048000 BYTES...

    FIND:

    Code:
    .line 156
        [COLOR="Green"]sput-boolean v3, Lcom/android/mms/MmsConfig;->sMmsWidgetEnabled:Z[/COLOR]
    
        .line 157
        const v0, 0x4b000
    
        sput v0, Lcom/android/mms/MmsConfig;->sMaxMessageSize:I

    NOW CHANGE TO:

    Code:
    .line 156
        [COLOR="Green"]sput-boolean v3, Lcom/android/mms/MmsConfig;->sMmsWidgetEnabled:Z[/COLOR]
    
        .line 157
        [COLOR="Blue"]const v0, 0x1f4000[/COLOR]
    
        sput v0, Lcom/android/mms/MmsConfig;->sMaxMessageSize:I

    INCREASE MMS IMAGE SIZE TO 4096x2048 [8.4MP]...

    FIND:

    Code:
    .line 163
        [COLOR="Green"]sput-object v4, Lcom/android/mms/MmsConfig;->sEmailGateway:Ljava/lang/String;[/COLOR]
    
        .line 164
        sget v0, Lcom/android/mms/MmsConfig;->MAX_IMAGE_HEIGHT:I
    
        sput v0, Lcom/android/mms/MmsConfig;->sMaxImageHeight:I
    
        .line 165
        sget v0, Lcom/android/mms/MmsConfig;->MAX_IMAGE_WIDTH:I
    
        sput v0, Lcom/android/mms/MmsConfig;->sMaxImageWidth:I

    NOW CHANGE TO:

    Code:
    .line 163
        [COLOR="Green"]sput-object v4, Lcom/android/mms/MmsConfig;->sEmailGateway:Ljava/lang/String;[/COLOR]
    
        .line 164
        [COLOR="Blue"]const/16 v0, 0x800[/COLOR]
    
        sput v0, Lcom/android/mms/MmsConfig;->sMaxImageHeight:I
    
        .line 165
        [COLOR="Blue"]const/16 v0, 0x1000[/COLOR]
    
        sput v0, Lcom/android/mms/MmsConfig;->sMaxImageWidth:I

    Once done now save your changes, Recompile your SecMms.apk and that's it you are now DONE!

    ★HOW TO DISABLE SMS, MMS, AND EMAIL LOG HISTORY IN CALL LOGS★

    WHAT DOES THIS MOD DO: This mod will permanently disable sms, mms, and email log history from your call logs.

    ★ Go into your system/app folder and take out your "SecMms.apk"
    ★ Then use one of the applications such as apktools or baksmali and then use the commands to decompile the SecMms.apk
    ★ Once you have decompiled the SecMms.apk, go to:

    smali/com/android/mms/transaction/MessagingNotification.smali

    Now open up "MessagingNotification.smali" with your notepad++ for editing.

    Now for this part of this guide what your going to need to do is search for and remove all of the "invoke-virtual" lines that have "Landroid/content/ContentResolver;->insert(Landroid/net/Uri;Landroid/content/ContentValues;)Landroid/net/Uri;" in them, there should be like 4 or 5 of these lines you have to remove/delete. What you see in "RED" is the line you have to search for and also remove/delete completely:

    SEARCH FOR:

    Code:
    [COLOR="Red"]Landroid/content/ContentResolver;->insert(Landroid/net/Uri;Landroid/content/ContentValues;)Landroid/net/Uri;[/COLOR]

    Then remove all of the lines from that search command in "RED" it will begin with "invoke-virtual" and end with "Landroid/net/Uri;". Here is an example below and remember what you see in "RED" is the line you have to search for and also remove/delete completely:

    EXAMPLE:

    Code:
    .line 3316
        :try_start_14b
        sget-object v24, Lcom/android/mms/transaction/MessagingNotification;->LOG_SMS_URI:Landroid/net/Uri;
    
        move-object/from16 v0, p3
    
        move-object/from16 v1, v24
    
        move-object/from16 v2, v23
    
        [COLOR="Red"]invoke-virtual {v0, v1, v2}, Landroid/content/ContentResolver;->insert(Landroid/net/Uri;Landroid/content/ContentValues;)Landroid/net/Uri;[/COLOR]
        :try_end_156
        .catch Landroid/database/sqlite/SQLiteException; {:try_start_14b .. :try_end_156} :catch_1c2

    Once you remove like 4 or 5 of those lines with "Landroid/content/ContentResolver;->insert(Landroid/net/Uri;Landroid/content/ContentValues;)Landroid/net/Uri;" in them and there is none left, save your changes, Recompile your SecMms.apk you are now DONE!

    ★HOW TO ENABLE THE SCREEN ON/OFF TOGGLE ★

    WHAT DOES THIS MOD DO: This mod will let you enable the Screen on/off toggle so you will have a toggle to enable/disable the notification backlight when receiving text/mms messages using the stock messaging app.

    ★ Go into your system/app folder and take out your "SecMms.apk"
    ★ Then use one of the applications such as apktools or baksmali and then use the commands to decompile the SecMms.apk
    ★ Once you have decompiled the SecMms.apk, go to:

    smali/com/android/mms/MmsConfig.smali

    Now open up "MmsConfig.smali" with your notepad++ for editing.

    Now for this part of this guide what I have highlighted in "GREEN" text is what you have to find using Notepad++, And what you see in "BLUE" is the line you have to make changes to:

    TO ENABLE THE SCREEN ON/OFF TOGGLE FEATURE...

    FIND:

    Code:
    [COLOR="Green"].method public static getEnableNotificationBacklight()Z[/COLOR]
        .registers 1
    
        .prologue
        .line 1245
        sget-boolean v0, Lcom/android/mms/MmsConfig;->sEnableNotificationBacklight:Z
    
        return v0
    .end method

    NOW CHANGE TO:

    Code:
    [COLOR="Green"].method public static getEnableNotificationBacklight()Z[/COLOR]
        .registers 1
    
        .prologue
        .line 1245
        [COLOR="Blue"]const/4 v0, 0x1[/COLOR]
    
        return v0
    .end method

    Once done save your changes, now go to:

    smali/com/android/mms/ui/MessagingPreferenceActivity.smali

    Now open up "MessagingPreferenceActivity.smali" with your notepad++ for editing.

    For this part of the guide what i have highlighted in "GREEN" text is what you have to find using Notepad++, What you see in "RED" is the line you have to remove/delete completely which is the "invoke-direct" line which has "removePreference" in it:

    SEARCH FOR:

    Code:
    [COLOR="Green"]const-string v10, "pref_key_backlight"[/COLOR]

    Here is what it should look like, Now remove what you see in RED:

    Code:
    .line 839
        [COLOR="Green"]const-string v10, "pref_key_backlight"[/COLOR]
    
        invoke-virtual {p0, v10}, Lcom/android/mms/ui/MessagingPreferenceActivity;->findPreference(Ljava/lang/CharSequence;)Landroid/preference/Preference;
    
        move-result-object v10
    
        [COLOR="Red"]invoke-direct {p0, v2, v10}, Lcom/android/mms/ui/MessagingPreferenceActivity;->removePreference(Landroid/preference/PreferenceGroup;Landroid/preference/Preference;)V[/COLOR]

    Once done now save changes, Recompile your SecMms.apk and that's it your DONE!!!

    ★HOW TO DISABLE THE SMS TO MMS AUTO-CONVERSION FOR EMOJI★

    WHAT DOES THIS MOD DO: This mod will let you type emoji and it won't automatically convert it into MMS.

    ★ Go into your system/app folder and take out your "SecMms.apk"
    ★ Then use one of the applications such as apktools or baksmali and then use the commands to decompile the SecMms.apk
    ★ Once you have decompiled the SecMms.apk, go to:

    smali/com/android/mms/ui/ComposeMessageFragment.smali

    Now open up "ComposeMessageFragment.smali" with your notepad++ for editing.

    Now for this part of this guide what I have highlighted in "GREEN" text is what you have to find using Notepad++, What you see in "RED" is the line you have to remove/delete completely, And also what you see in "BLUE" is the line you have to make changes to:

    SEARCH FOR:

    Code:
    invoke-virtual/range {v19 .. v20}, Lcom/android/mms/data/WorkingMessage;->setEmojiRequiresMms(Z)V

    SEARCH FOR THIS TWICE SINCE THERE ARE TWO OF THESE SAME GREEN LINES AND MAKE THE SAME CHANGES THAT YOU SEE IN BLUE!

    NOW REMOVE:

    Code:
    .line 1403
        move-object/from16 v0, p0
    
        iget-object v0, v0, Lcom/android/mms/ui/ComposeMessageFragment;->mWorkingMessage:Lcom/android/mms/data/WorkingMessage;
    
        move-object/from16 v19, v0
    
        const/16 v20, 0x1
    
        [COLOR="Red"]invoke-virtual/range {v19 .. v20}, Lcom/android/mms/data/WorkingMessage;->setEmojiRequiresMms(Z)V[/COLOR]

    AND CHANGE TO:

    Code:
    .line 1403
        move-object/from16 v0, p0
    
        iget-object v0, v0, Lcom/android/mms/ui/ComposeMessageFragment;->mWorkingMessage:Lcom/android/mms/data/WorkingMessage;
    
        move-object/from16 v19, v0
    
        const/16 v20, 0x1
    
        [COLOR="Blue"]invoke-static {}, Lcom/android/mms/MmsConfig;->getEnableEmoji()Z[/COLOR]

    Once done now save changes, Recompile your SecMms.apk and that's it you are now DONE!!!

    ★HOW TO ENABLE FOLDER VIEW MODE★

    WHAT DOES THIS MOD DO: This mod will let you enable the folder view mode feature which will let you see messages in a different way with a inbox, sentbox, outbox, draftbox, and push message folder category.

    ★ Go into your system/app folder and take out your "SecMms.apk"
    ★ Then use one of the applications such as apktools or baksmali and then use the commands to decompile the SecMms.apk
    ★ Once you have decompiled the SecMms.apk, go to:

    smali/com/android/mms/MmsConfig.smali

    Now open up "MmsConfig.smali" with your notepad++ for editing.

    Now for this part of this guide what I have highlighted in "GREEN" text is what you have to find using Notepad++, And what you see in "BLUE" is the line you have to make changes to:

    TO ENABLE FOLDER VIEW MODE...

    FIND:

    Code:
    [COLOR="Green"].method public static getEnableFolderView()Z[/COLOR]
        .registers 1
    
        .prologue
        .line 2605
        sget-boolean v0, Lcom/android/mms/MmsConfig;->sEnableFolderView:Z
    
        return v0
    .end method

    NOW CHANGE TO:

    Code:
    [COLOR="Green"].method public static getEnableFolderView()Z[/COLOR]
        .registers 1
    
        .prologue
        .line 2605
        [COLOR="Blue"]const/4 v0, 0x1[/COLOR]
    
        return v0
    .end method

    Once done now save changes, Recompile your SecMms.apk and that's it your DONE!!!
    35
    Hello to all Developers and XDA members! I have come here to give you a couple of guides on how to enable a bunch of the Stock Messaging App "SecMms" Mods and other good stuff so here is how you can do it!

    What Is Required...
    ★ First you need to have experience and know how to decompile/recompile apks with Apktools, apkmanager, smali, and baksmali
    ★ Have 7-zip installed onto your computer/laptop
    ★ Make sure you have Notepad++ also installed!

    ★HOW TO ENABLE GROUP MESSAGING★

    WHAT DOES THIS MOD DO: This mod will let you enable group messaging in the stock messaging app.

    ★ Go into your system/app folder and take out your "SecMms.apk"
    ★ Then use one of the applications such as apktools or baksmali and then use the commands to decompile the SecMms.apk
    ★ Once you have decompiled the SecMms.apk, go to:

    smali/com/android/mms/MmsConfig.smali

    Now open up "MmsConfig.smali" with your notepad++ for editing.

    Now for this part of this guide what I have highlighted in "GREEN" text is what you have to find using Notepad++, What you see in "RED" is the line you have to remove/delete completely, And also what you see in "BLUE" is the line you have to make changes to:

    TO ENABLE GROUP MESSAGING...

    SEARCH FOR:

    Code:
    [COLOR="Green"].method public static getEnableGroupMessage()Z[/COLOR]

    NOW REMOVE:

    Code:
    [COLOR="Green"].method public static getEnableGroupMessage()Z[/COLOR]
        .registers 3
    
        .prologue
        [COLOR="Red"]const/4 v0, 0x0[/COLOR]
    
        .line 3378
        invoke-static {}, Lcom/android/mms/MmsConfig;->getCMASProvider()I
    
        move-result v1
    
        const/4 v2, 0x3
    
        if-ne v1, v2, :cond_9
    
        .line 3382
        :cond_8
        :goto_8
        return v0
    
        .line 3380
        :cond_9
        invoke-static {}, Lcom/android/mms/MmsConfig;->getEnableMmsTransactionCustomize4Korea()Z
    
        move-result v1
    
        if-nez v1, :cond_8
    
        .line 3382
        [COLOR="Red"]sget-boolean v0, Lcom/android/mms/MmsConfig;->sEnableGroupMms:Z[/COLOR]
    
        goto :goto_8
    .end method

    AND CHANGE TO:

    Code:
    [COLOR="Green"].method public static getEnableGroupMessage()Z[/COLOR]
        .registers 3
    
        .prologue
        [COLOR="Blue"]const/4 v0, 0x1[/COLOR]
    
        .line 3378
        invoke-static {}, Lcom/android/mms/MmsConfig;->getCMASProvider()I
    
        move-result v1
    
        const/4 v2, 0x3
    
        if-ne v1, v2, :cond_9
    
        .line 3382
        :cond_8
        :goto_8
        return v0
    
        .line 3380
        :cond_9
        invoke-static {}, Lcom/android/mms/MmsConfig;->getEnableMmsTransactionCustomize4Korea()Z
    
        move-result v1
    
        if-nez v1, :cond_8
    
        .line 3382
        [COLOR="Blue"]const/4 v0, 0x1[/COLOR]
    
        goto :goto_8
    .end method

    NOW SEARCH FOR:

    Code:
    [COLOR="Green"].method public static getEnableNGMGroupMessage()Z[/COLOR]

    NOW REMOVE:

    Code:
    [COLOR="Green"].method public static getEnableNGMGroupMessage()Z[/COLOR]
        .registers 1
    
        .prologue
        .line 1115
        [COLOR="Red"]const/4 v0, 0x0[/COLOR]
    
        return v0
    .end method

    AND CHANGE TO:

    Code:
    [COLOR="Green"].method public static getEnableNGMGroupMessage()Z[/COLOR]
        .registers 1
    
        .prologue
        .line 1115
        [COLOR="Blue"]const/4 v0, 0x1[/COLOR]
    
        return v0
    .end method

    Once done save your changes, now go to:

    smali/com/android/mms/ui/MessagingPreferenceActivity.smali

    Now open up "MessagingPreferenceActivity.smali" with your notepad++ for editing.

    For this part of the guide what i have highlighted in "GREEN" text is what you have to find using Notepad++, What you see in "RED" is the line you have to remove/delete completely which is the "invoke-direct" line which has "removePreference" in it:

    SEARCH FOR:

    Code:
    [COLOR="Green"]const-string v1, "pref_key_mms_group_mms"[/COLOR]

    Here is what it should look like, Now remove what you see in RED:

    Code:
    .line 709
        :cond_8b
        [COLOR="Green"]const-string v1, "pref_key_mms_group_mms"[/COLOR]
    
        invoke-virtual {p0, v1}, Lcom/android/mms/ui/MessagingPreferenceActivity;->findPreference(Ljava/lang/CharSequence;)Landroid/preference/Preference;
    
        move-result-object v1
    
        [COLOR="Red"]invoke-direct {p0, v0, v1}, Lcom/android/mms/ui/MessagingPreferenceActivity;->removePreference(Landroid/preference/PreferenceGroup;Landroid/preference/Preference;)V[/COLOR]

    Once done now save changes, Recompile your SecMms.apk and that's it your DONE!!!

    ★HOW TO ENABLE SAVE / RESTORE★

    WHAT DOES THIS MOD DO: This mod will let you enable the save/restore feature so you can backup/restore any of your text/mms messages using the stock messaging app.

    ★ Go into your system/app folder and take out your "SecMms.apk"
    ★ Then use one of the applications such as apktools or baksmali and then use the commands to decompile the SecMms.apk
    ★ Once you have decompiled the SecMms.apk, go to:

    smali/com/android/mms/MmsConfig.smali

    Now open up "MmsConfig.smali" with your notepad++ for editing.

    Now for this part of this guide what I have highlighted in "GREEN" text is what you have to find using Notepad++, And what you see in "BLUE" is the line you have to make changes to:

    TO ENABLE THE SAVE / RESTORE FEATURE...

    FIND:

    Code:
    [COLOR="Green"].method public static getEnableSaveRestoreSDCardMessage()Z[/COLOR]
        .registers 1
    
        .prologue
        .line 923
        const/4 v0, 0x0
    
        return v0
    .end method

    NOW CHANGE TO:

    Code:
    [COLOR="Green"].method public static getEnableSaveRestoreSDCardMessage()Z[/COLOR]
        .registers 1
    
        .prologue
        .line 923
        [COLOR="Blue"]const/4 v0, 0x1[/COLOR]
    
        return v0
    .end method

    Once done save your changes, now go to:

    smali/com/android/mms/ui/MessagingPreferenceActivity.smali

    Now open up "MessagingPreferenceActivity.smali" with your notepad++ for editing.

    For this part of the guide what i have highlighted in "GREEN" text is what you have to find using Notepad++, What you see in "RED" is the line you have to remove/delete completely which is the "invoke-direct" line which has "removePreference" in it:

    SEARCH FOR:

    Code:
    [COLOR="Green"]const-string v11, "pref_key_sms_restore"[/COLOR]

    Here is what it should look like, Now remove what you see in RED:

    Code:
    [COLOR="Green"]const-string v11, "pref_key_sms_restore"[/COLOR]
    
        invoke-virtual {p0, v11}, Lcom/android/mms/ui/MessagingPreferenceActivity;->findPreference(Ljava/lang/CharSequence;)Landroid/preference/Preference;
    
        move-result-object v11
    
        [COLOR="Red"]invoke-direct {p0, v10, v11}, Lcom/android/mms/ui/MessagingPreferenceActivity;->removePreference(Landroid/preference/PreferenceGroup;Landroid/preference/Preference;)V[/COLOR]

    Once done now save changes, Recompile your SecMms.apk and that's it your DONE!!!

    ★HOW TO ENABLE SCHEDULED MESSAGING★

    WHAT DOES THIS MOD DO: This mod will let you enable the scheduled messaging feature so you can schedule a time for text messages so the message can be send at the time that you set it to using the stock messaging app.

    ★ Go into your system/app folder and take out your "SecMms.apk"
    ★ Then use one of the applications such as apktools or baksmali and then use the commands to decompile the SecMms.apk
    ★ Once you have decompiled the SecMms.apk, go to:

    smali/com/android/mms/MmsConfig.smali

    Now open up "MmsConfig.smali" with your notepad++ for editing.

    Now for this part of this guide what I have highlighted in "GREEN" text is what you have to find using Notepad++, And what you see in "BLUE" is the line you have to make changes to:

    TO ENABLE SCHEDULED MESSAGING...

    FIND:

    Code:
    [COLOR="Green"].method public static getEnableScheduledMessage()Z[/COLOR]
        .registers 1
    
        .prologue
        .line 1047
        const/4 v0, 0x0
    
        return v0
    .end method

    NOW CHANGE TO:

    Code:
    [COLOR="Green"].method public static getEnableScheduledMessage()Z[/COLOR]
        .registers 1
    
        .prologue
        .line 1047
        [COLOR="Blue"]const/4 v0, 0x1[/COLOR]
    
        return v0
    .end method

    Once done now save changes, Recompile your SecMms.apk and that's it your DONE!!!

    ★SMS 1000/UNLIMITED RECIPIENT LIMIT★

    WHAT DOES THIS MOD DO: This mod will let you send your message to more than 1000 people at the same time.

    ★ Go into your system/app folder and take out your "SecMms.apk"
    ★ Then use one of the applications such as apktools or baksmali and then use the commands to decompile the SecMms.apk
    ★ Once you have decompiled the SecMms.apk, go to:

    smali/com/android/mms/MmsConfig.smali

    Now open up "MmsConfig.smali" with your notepad++ for editing.

    Now for this part of this guide what I have highlighted in "GREEN" text is what you have to find using Notepad++, What you see in "RED" is the line you have to remove/delete completely, And also what you see in "BLUE" is the line you have to make changes to:

    SEARCH FOR:

    Code:
    [COLOR="Green"].method public static getRecipientLimit()I[/COLOR]

    NOW REMOVE:

    Code:
    [COLOR="Green"].method public static getRecipientLimit()I[/COLOR]
        .registers 1
    
        .prologue
        .line 762
        [COLOR="Red"]sget v0, Lcom/android/mms/MmsConfig;->sRecipientLimit:I[/COLOR]
    
        return v0
    .end method

    AND CHANGE TO:

    Code:
    [COLOR="Green"].method public static getRecipientLimit()I[/COLOR]
        .registers 1
    
        .prologue
        .line 762
        [COLOR="Blue"]const/16 v0, 0x3e8[/COLOR]
    
        return v0
    .end method

    NOW SEARCH FOR:

    Code:
    [COLOR="Green"]sput v0, Lcom/android/mms/MmsConfig;->sRecipientLimit:I[/COLOR]

    NOW REMOVE:

    Code:
    .line 167
        const/16 v0, 0x280
    
        sput v0, Lcom/android/mms/MmsConfig;->sMaxImageWidthRestrictedMode:I
    
        .line 168
        [COLOR="Red"]const/16 v0, 0x14[/COLOR]
    
        [COLOR="Green"]sput v0, Lcom/android/mms/MmsConfig;->sRecipientLimit:I[/COLOR]
    
        .line 169
        const/16 v0, 0xc8
    
        sput v0, Lcom/android/mms/MmsConfig;->sDefaultSMSMessagesPerThread:I

    AND CHANGE TO:

    Code:
    .line 167
        const/16 v0, 0x280
    
        sput v0, Lcom/android/mms/MmsConfig;->sMaxImageWidthRestrictedMode:I
    
        .line 168
        [COLOR="Blue"]const/16 v0, 0x3e8[/COLOR]
    
        [COLOR="Green"]sput v0, Lcom/android/mms/MmsConfig;->sRecipientLimit:I[/COLOR]
    
        .line 169
        const/16 v0, 0xc8
    
        sput v0, Lcom/android/mms/MmsConfig;->sDefaultSMSMessagesPerThread:I

    NOW SEARCH FOR:

    .
    Code:
    [COLOR="Green"]method public static getMaxRecipientLength()I[/COLOR]

    NOW REMOVE:

    Code:
    [COLOR="Green"].method public static getMaxRecipientLength()I[/COLOR]
        .registers 1
    
        .prologue
        .line 2592
        [COLOR="Red"]sget v0, Lcom/android/mms/MmsConfig;->sMaxRecipientLength:I[/COLOR]
    
        return v0
    .end method

    AND CHANGE TO:

    Code:
    [COLOR="Green"].method public static getMaxRecipientLength()I[/COLOR]
        .registers 1
    
        .prologue
        .line 2592
        [COLOR="Blue"]const/16 v0, 0x3e8[/COLOR]
    
        return v0
    .end method

    NOW SEARCH FOR:

    Code:
    [COLOR="Green"].method public static getMmsMaxRecipient()I[/COLOR]

    NOW REMOVE:

    Code:
    [COLOR="Green"].method public static getMmsMaxRecipient()I[/COLOR]
        .registers 1
    
        .prologue
        .line 2847
        [COLOR="Red"]sget v0, Lcom/android/mms/MmsConfig;->sMmsRecipientLimit:I[/COLOR]
    
        return v0
    .end method

    AND CHANGE TO:

    Code:
    [COLOR="Green"].method public static getMmsMaxRecipient()I[/COLOR]
        .registers 1
    
        .prologue
        .line 2847
        [COLOR="Blue"]const/16 v0, 0x3e8[/COLOR]
    
        return v0
    .end method

    NOW SEARCH FOR:

    Code:
    [COLOR="Green"]sput v12, Lcom/android/mms/MmsConfig;->sMaxRecipientLength:I[/COLOR]

    ABOVE THIS SAME LINE YOU HAVE TO ADD A NEW LINE WHICH IS IN BLUE:

    Code:
    .line 1811
        const-string v12, "CscFeature_Message_MaxRecipientLengthAs"
    
        invoke-virtual {v1, v12}, Lcom/sec/android/app/CscFeature;->getInteger(Ljava/lang/String;)I
    
        move-result v12
    
        [COLOR="Blue"]const/16 v12, 0x3e8[/COLOR]
    
        [COLOR="Green"]sput v12, Lcom/android/mms/MmsConfig;->sMaxRecipientLength:I[/COLOR]
    
        .line 1812
        sget v12, Lcom/android/mms/MmsConfig;->sMinRecipientLength:I

    NOW SEARCH FOR:

    Code:
    [COLOR="Green"]sput v1, Lcom/android/mms/MmsConfig;->sRecipientLimit:I[/COLOR]

    ABOVE THIS SAME LINE YOU HAVE TO ADD A NEW LINE WHICH IS IN BLUE:

    Code:
    .line 2121
        const-string v1, "pref_key_max_recipient"
    
        invoke-interface {v0, v1, v4}, Landroid/content/SharedPreferences;->getInt(Ljava/lang/String;I)I
    
        move-result v1
    
        [COLOR="Blue"]const/16 v1, 0x3e8[/COLOR]
    
        [COLOR="Green"]sput v1, Lcom/android/mms/MmsConfig;->sRecipientLimit:I[/COLOR]
    
        .line 2122
        const-string v1, "Mms/MmsConfig"

    Once done now save changes, Recompile your SecMms.apk and that's it your DONE!!!
    4
    reserved again...
    4
    another one just in case...
    3
    ★HOW TO DISABLE THE SMS TO MMS AUTO-CONVERSION WITH EMOJI★

    WHAT DOES THIS MOD DO: This mod will let you type emoji and it won't automatically convert it into MMS.

    ★ Go into your system/app folder and take out your "SecMms.apk"
    ★ Then use one of the applications such as apktools or baksmali and then use the commands to decompile the SecMms.apk
    ★ Once you have decompiled the SecMms.apk, go to:

    smali/com/android/mms/ui/ComposeMessageFragment.smali

    Now open up "ComposeMessageFragment.smali" with your notepad++ for editing.

    Now for this part of this guide what I have highlighted in "GREEN" text is what you have to find using Notepad++, What you see in "RED" is the line you have to remove/delete completely, And also what you see in "BLUE" is the line you have to make changes to:

    SEARCH FOR:

    Code:
    [COLOR="Green"]invoke-virtual/range {v19 .. v20}, Lcom/android/mms/data/WorkingMessage;->setEmojiRequiresMms(Z)V[/COLOR]

    THIS FOR 2 TIMES!

    NOW REMOVE:

    Code:
    .line 1403
        move-object/from16 v0, p0
    
        iget-object v0, v0, Lcom/android/mms/ui/ComposeMessageFragment;->mWorkingMessage:Lcom/android/mms/data/WorkingMessage;
    
        move-object/from16 v19, v0
    
        const/16 v20, 0x1
    
        [COLOR="Red"]invoke-virtual/range {v19 .. v20}, Lcom/android/mms/data/WorkingMessage;->setEmojiRequiresMms(Z)V[/COLOR]

    AND CHANGE TO:

    Code:
    .line 1403
        move-object/from16 v0, p0
    
        iget-object v0, v0, Lcom/android/mms/ui/ComposeMessageFragment;->mWorkingMessage:Lcom/android/mms/data/WorkingMessage;
    
        move-object/from16 v19, v0
    
        const/16 v20, 0x1
    
        [COLOR="Blue"]invoke-static {}, Lcom/android/mms/MmsConfig;->getEnableEmoji()Z[/COLOR]

    Once done now save changes, Recompile your SecMms.apk and that's it you are now DONE!!!

    Press THANKS if I help you!
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone