[Galaxy Note 3 Android Development] jovy23:
★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:

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:

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

NOW REMOVE:

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

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

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

AND REMOVE:

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

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

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

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

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:

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

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:

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:

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

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:

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:

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:

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

IN THIS SAME EXACT LINE REMOVE:

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

AND CHANGE IT TO:

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

NOW SEARCH FOR:

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

AND CHANGE IT TO:

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

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:

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

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

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

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:

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

NOW REMOVE:

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

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

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:

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

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

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

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

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:

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

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

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:

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

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

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:

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

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

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

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:

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:

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

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

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:

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

[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!!!