FORUMS
Remove All Ads from XDA

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

3,637 posts
Thanks Meter: 15,526
 
By jovy23, Senior Member on 6th October 2013, 10:18 AM
Post Reply Email Thread
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:

Quote:

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:
.method public static getEnableGroupMessage()Z
NOW REMOVE:

Code:
.method public static getEnableGroupMessage()Z
    .registers 3

    .prologue
    const/4 v0, 0x0

    .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
    sget-boolean v0, Lcom/android/mms/MmsConfig;->sEnableGroupMms:Z

    goto :goto_8
.end method
AND CHANGE TO:

Code:
.method public static getEnableGroupMessage()Z
    .registers 3

    .prologue
    const/4 v0, 0x1

    .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
    const/4 v0, 0x1

    goto :goto_8
.end method
NOW SEARCH FOR:

Code:
.method public static getEnableNGMGroupMessage()Z
NOW REMOVE:

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

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

    return v0
.end method
AND CHANGE TO:

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

    .prologue
    .line 1115
    const/4 v0, 0x1

    return v0
.end method
Once done save your changes, now go to:

Quote:

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:
const-string v1, "pref_key_mms_group_mms"
Here is what it should look like, Now remove what you see in RED:

Code:
.line 709
    :cond_8b
    const-string v1, "pref_key_mms_group_mms"

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

    move-result-object v1

    invoke-direct {p0, v0, v1}, Lcom/android/mms/ui/MessagingPreferenceActivity;->removePreference(Landroid/preference/PreferenceGroup;Landroid/preference/Preference;)V
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:

Quote:

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:
.method public static getEnableSaveRestoreSDCardMessage()Z
    .registers 1

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

    return v0
.end method
NOW CHANGE TO:

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

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

    return v0
.end method
Once done save your changes, now go to:

Quote:

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:
const-string v11, "pref_key_sms_restore"
Here is what it should look like, Now remove what you see in RED:

Code:
const-string v11, "pref_key_sms_restore"

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

    move-result-object v11

    invoke-direct {p0, v10, v11}, Lcom/android/mms/ui/MessagingPreferenceActivity;->removePreference(Landroid/preference/PreferenceGroup;Landroid/preference/Preference;)V
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:

Quote:

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:
.method public static getEnableScheduledMessage()Z
    .registers 1

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

    return v0
.end method
NOW CHANGE TO:

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

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

    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:

Quote:

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:
.method public static getRecipientLimit()I
NOW REMOVE:

Code:
.method public static getRecipientLimit()I
    .registers 1

    .prologue
    .line 762
    sget v0, Lcom/android/mms/MmsConfig;->sRecipientLimit:I

    return v0
.end method
AND CHANGE TO:

Code:
.method public static getRecipientLimit()I
    .registers 1

    .prologue
    .line 762
    const/16 v0, 0x3e8

    return v0
.end method
NOW SEARCH FOR:

Code:
sput v0, Lcom/android/mms/MmsConfig;->sRecipientLimit:I
NOW REMOVE:

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

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

    .line 168
    const/16 v0, 0x14

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

    .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
    const/16 v0, 0x3e8

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

    .line 169
    const/16 v0, 0xc8

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

.
Code:
method public static getMaxRecipientLength()I
NOW REMOVE:

Code:
.method public static getMaxRecipientLength()I
    .registers 1

    .prologue
    .line 2592
    sget v0, Lcom/android/mms/MmsConfig;->sMaxRecipientLength:I

    return v0
.end method
AND CHANGE TO:

Code:
.method public static getMaxRecipientLength()I
    .registers 1

    .prologue
    .line 2592
    const/16 v0, 0x3e8

    return v0
.end method
NOW SEARCH FOR:

Code:
.method public static getMmsMaxRecipient()I
NOW REMOVE:

Code:
.method public static getMmsMaxRecipient()I
    .registers 1

    .prologue
    .line 2847
    sget v0, Lcom/android/mms/MmsConfig;->sMmsRecipientLimit:I

    return v0
.end method
AND CHANGE TO:

Code:
.method public static getMmsMaxRecipient()I
    .registers 1

    .prologue
    .line 2847
    const/16 v0, 0x3e8

    return v0
.end method
NOW SEARCH FOR:

Code:
sput v12, Lcom/android/mms/MmsConfig;->sMaxRecipientLength:I
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

    const/16 v12, 0x3e8

    sput v12, Lcom/android/mms/MmsConfig;->sMaxRecipientLength:I

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

Code:
sput v1, Lcom/android/mms/MmsConfig;->sRecipientLimit:I
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

    const/16 v1, 0x3e8

    sput v1, Lcom/android/mms/MmsConfig;->sRecipientLimit:I

    .line 2122
    const-string v1, "Mms/MmsConfig"
Once done now save changes, Recompile your SecMms.apk and that's it your DONE!!!
The Following 35 Users Say Thank You to jovy23 For This Useful Post: [ View ] Gift jovy23 Ad-Free
 
 
6th October 2013, 10:18 AM |#2  
jovy23's Avatar
OP Senior Member
Thanks Meter: 15,526
 
Donate to Me
More
★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:

Quote:

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:
sput v0, Lcom/android/mms/MmsConfig;->sSmsToMmsTextThreshold:I
NOW REMOVE:

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

    .line 179
    const/4 v0, 0x4

    sput v0, Lcom/android/mms/MmsConfig;->sSmsToMmsTextThreshold:I
AND CHANGE TO:

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

    .line 179
    const/16 v0, 0x3e8

    sput v0, Lcom/android/mms/MmsConfig;->sSmsToMmsTextThreshold:I
NOW SEARCH FOR:

Code:
.method public static getSmsToMmsTextThreshold()I
AND REMOVE:

Code:
.method public static getSmsToMmsTextThreshold()I
    .registers 1

    .prologue
    .line 691
    sget v0, Lcom/android/mms/MmsConfig;->sSmsToMmsTextThreshold:I

    return v0
.end method
AND CHANGE TO:

Code:
.method public static getSmsToMmsTextThreshold()I
    .registers 1

    .prologue
    .line 691
    const/16 v0, 0x3e8

    return v0
.end method
NOW SEARCH FOR:

Code:
sput v1, Lcom/android/mms/MmsConfig;->sSmsToMmsTextThreshold:I
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

    const/16 v1, 0x3e8

    sput v1, Lcom/android/mms/MmsConfig;->sSmsToMmsTextThreshold:I

    .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:

Quote:

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:
invoke-static {}, Ljava/lang/System;->currentTimeMillis()J
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"

    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    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"

    invoke-virtual {p1}, Landroid/telephony/SmsMessage;->getTimestampMillis()J

    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:
invoke-static {}, Ljava/lang/System;->currentTimeMillis()J
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"

    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    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"

    invoke-virtual {v0}, Landroid/telephony/gsm/CbMessage;->getTimestampMillis()J

    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:

Quote:

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:
.field private static final RATE_LIMIT:I = 0x64
IN THIS SAME EXACT LINE REMOVE:

Code:
.field private static final RATE_LIMIT:I = 0x64
AND CHANGE IT TO:

Code:
.field private static final RATE_LIMIT:I = 0x3e8
NOW SEARCH FOR:

Code:
const/16 v1, 0x64
AND CHANGE IT TO:

Code:
const/16 v1,0x3e8
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:

Quote:

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:
const-string v10, "pref_key_split_view"
Here is what it should look like, Now remove what you see in RED:

Code:
.line 805
    const-string v10, "pref_key_split_view"

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

    move-result-object v10

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

    .line 807
    :cond_76
    invoke-static {}, Lcom/android/mms/MmsConfig;->getEnableWapPush()Z
Once done save your changes, now go to:

Quote:

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:
.method public static getEnableSplitMode()Z
NOW REMOVE:

Code:
.method public static getEnableSplitMode()Z
    .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
    sget-boolean v0, Lcom/android/mms/MmsConfig;->sEnableSplitMode:Z

    goto :goto_7
.end method
AND CHANGE TO:

Code:
.method public static getEnableSplitMode()Z
    .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
    const/4 v0, 0x1

    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:

Quote:

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
    sput-boolean v3, Lcom/android/mms/MmsConfig;->sMmsWidgetEnabled:Z

    .line 157
    const v0, 0x4b000

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

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

    .line 157
    const v0, 0x1f4000

    sput v0, Lcom/android/mms/MmsConfig;->sMaxMessageSize:I
INCREASE MMS IMAGE SIZE TO 4096x2048 [8.4MP]...

FIND:

Code:
.line 163
    sput-object v4, Lcom/android/mms/MmsConfig;->sEmailGateway:Ljava/lang/String;

    .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
    sput-object v4, Lcom/android/mms/MmsConfig;->sEmailGateway:Ljava/lang/String;

    .line 164
    const/16 v0, 0x800

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

    .line 165
    const/16 v0, 0x1000

    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:

Quote:

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/ContentValuesLandroid/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:
Landroid/content/ContentResolver;->insert(Landroid/net/Uri;Landroid/content/ContentValues;)Landroid/net/Uri;
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

    invoke-virtual {v0, v1, v2}, Landroid/content/ContentResolver;->insert(Landroid/net/Uri;Landroid/content/ContentValues;)Landroid/net/Uri;
    :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/ContentValuesLandroid/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:

Quote:

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:
.method public static getEnableNotificationBacklight()Z
    .registers 1

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

    return v0
.end method
NOW CHANGE TO:

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

    .prologue
    .line 1245
    const/4 v0, 0x1

    return v0
.end method
Once done save your changes, now go to:

Quote:

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:
const-string v10, "pref_key_backlight"
Here is what it should look like, Now remove what you see in RED:

Code:
.line 839
    const-string v10, "pref_key_backlight"

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

    move-result-object v10

    invoke-direct {p0, v2, v10}, Lcom/android/mms/ui/MessagingPreferenceActivity;->removePreference(Landroid/preference/PreferenceGroup;Landroid/preference/Preference;)V
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:

Quote:

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

    invoke-virtual/range {v19 .. v20}, Lcom/android/mms/data/WorkingMessage;->setEmojiRequiresMms(Z)V
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

    invoke-static {}, Lcom/android/mms/MmsConfig;->getEnableEmoji()Z
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:

Quote:

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:
.method public static getEnableFolderView()Z
    .registers 1

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

    return v0
.end method
NOW CHANGE TO:

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

    .prologue
    .line 2605
    const/4 v0, 0x1

    return v0
.end method
Once done now save changes, Recompile your SecMms.apk and that's it your DONE!!!
The Following 45 Users Say Thank You to jovy23 For This Useful Post: [ View ] Gift jovy23 Ad-Free
6th October 2013, 10:19 AM |#3  
jovy23's Avatar
OP Senior Member
Thanks Meter: 15,526
 
Donate to Me
More
reserved again...
The Following 4 Users Say Thank You to jovy23 For This Useful Post: [ View ] Gift jovy23 Ad-Free
6th October 2013, 10:19 AM |#4  
jovy23's Avatar
OP Senior Member
Thanks Meter: 15,526
 
Donate to Me
More
another one just in case...
The Following 4 Users Say Thank You to jovy23 For This Useful Post: [ View ] Gift jovy23 Ad-Free
6th October 2013, 10:22 AM |#5  
jovy23's Avatar
OP Senior Member
Thanks Meter: 15,526
 
Donate to Me
More
This was originally posted in the N900T T-Mobile Galaxy Note 3 Thread By Me Over Here --> Click Here. It will also work for all Samsung Galaxy Note 3 variants so ENJOY!
The Following 2 Users Say Thank You to jovy23 For This Useful Post: [ View ] Gift jovy23 Ad-Free
6th October 2013, 08:53 PM |#6  
Mr.Muscles's Avatar
Senior Member
Flag Orlando
Thanks Meter: 59
 
More
Can't wait to see these mods on the sprint version. Thanks for the hard work.

My Beast Note 3
The Following User Says Thank You to Mr.Muscles For This Useful Post: [ View ] Gift Mr.Muscles Ad-Free
9th October 2013, 07:37 AM |#7  
Life Engineer's Avatar
Senior Member
Flag Jounieh
Thanks Meter: 272
 
More
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!
11th October 2013, 01:01 AM |#8  
jovy23's Avatar
OP Senior Member
Thanks Meter: 15,526
 
Donate to Me
More
OP updated! New mod "HOW TO ENABLE THE SCREEN ON/OFF TOGGLE".
The Following User Says Thank You to jovy23 For This Useful Post: [ View ] Gift jovy23 Ad-Free
12th October 2013, 07:58 PM |#9  
tarekkkkk's Avatar
Senior Member
Thanks Meter: 56
 
More
Is it possible to add a mod for a quick reply popup + a preview of the message, that would be brilliant.
18th October 2013, 09:16 PM |#10  
thedid63's Avatar
Senior Member
Thanks Meter: 112
 
More
Hi and thanks for this work you are 💪

Envoyé de mon SM-N9005 en utilisant Tapatalk
22nd October 2013, 04:39 AM |#11  
jamesst20's Avatar
Senior Member
Thanks Meter: 2,197
 
Donate to Me
More
Quote:
Originally Posted by tarekkkkk

Is it possible to add a mod for a quick reply popup + a preview of the message, that would be brilliant.

This this this this this!!!!




Wondering how you found all of these patches?
The Following User Says Thank You to jamesst20 For This Useful Post: [ View ] Gift jamesst20 Ad-Free
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes