[AT&T Samsung Galaxy S 4 Android Development] shoman94:
Replace code = BLUE

Remove code = RED

Add code = GREEN

Based on I337UCUAMDL

Here we go:

Add toggle to disable Screen ON when receiving a message:

Go here: \SecMms\smali\com\android\mms\ui\MessagingPreferenceActivity.smali

Change this:

.line 876
.local v2, NotiCategory:Landroid/preference/PreferenceCategory;
invoke-static {}, Lcom/android/mms/MmsConfig;->getEnableNotificationBacklight()Z

move-result v10

if-nez v10, :cond_7

.line 877
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

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

.line 879
:cond_7
invoke-static {}, Lcom/android/mms/MmsConfig;->getEnableCmas()Z

move-result v10

if-eqz v10, :cond_8

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

move-result v10

To this:

.line 876
.local v2, NotiCategory:Landroid/preference/PreferenceCategory;
invoke-static {}, Lcom/android/mms/MmsConfig;->getEnableNotificationBacklight()Z

move-result v10

if-nez v10, :cond_7

.line 877
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

.line 879
:cond_7
invoke-static {}, Lcom/android/mms/MmsConfig;->getEnableCmas()Z

move-result v10

if-eqz v10, :cond_8

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

move-result v10

Increase Limits, Image sending resolution, Message Save/Restore Function

Go here: \SecMms\smali\com\android\mms\MmsConfig.smali

MMS Max size to 1024000 bytes:

Change this:

.line 151
sput-boolean v2, Lcom/android/mms/MmsConfig;->mMmsWidgetEnabled:Z

.line 152
const v0, 0x4b000

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

To this:

.line 151
sput-boolean v2, Lcom/android/mms/MmsConfig;->mMmsWidgetEnabled:Z

.line 152
const v0, [COLOR=blue]0xfa000[/COLOR]

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

Increase MMS Image size (2048x1536 or 3.2MP):

Change this:

.line 158
sput-object v4, Lcom/android/mms/MmsConfig;->mEmailGateway:Ljava/lang/String;

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

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

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

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

.line 161
const/16 v0, 0x1e0

To this:

.line 158
sput-object v4, Lcom/android/mms/MmsConfig;->mEmailGateway:Ljava/lang/String;

.line 159
[COLOR=blue]const/16 v0, 0x600[/COLOR]

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

.line 160
[COLOR=blue]const/16 v0, 0x800[/COLOR]

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

.line 161
const/16 v0, 0x1e0

Enable message Save/Restore function:

Change this:

.method public static getEnableSaveRestoreSDCardMessage()Z
.locals 1

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

return v0
.end method

To this:

.method public static getEnableSaveRestoreSDCardMessage()Z
.locals 1

.prologue
.line 907
[COLOR=blue]const/4 v0, 0x1[/COLOR]

return v0
.end method

Text message limit (1000):

Change this:

.method public static getMaxRecipientLength()I
.locals 1

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

return v0
.end method

To this:

.method public static getMaxRecipientLength()I
.locals 1

.prologue
.line 2510
[COLOR=blue]const/16 v0, 0x3e8[/COLOR]

return v0
.end method

Max recipients (1000):

Change this:

.method public static getMmsMaxRecipient()I
.locals 1

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

return v0
.end method

To this:

.method public static getMmsMaxRecipient()I
.locals 1

.prologue
.line 2751
[COLOR=blue]const/16 v0, 0x3e8[/COLOR]

return v0
.end method

Change this:

.method public static getRecipientLimit()I
.locals 1

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

return v0
.end method

To this:

.method public static getRecipientLimit()I
.locals 1

.prologue
.line 759
[COLOR=blue]const/16 v0, 0x3e8[/COLOR]

return v0
.end method

Change this:

.line 1767
const-string v11, "CscFeature_Message_MaxRecipientLengthAs"

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

move-result v11

sput v11, Lcom/android/mms/MmsConfig;->mMaxRecipientLength:I

.line 1768
sget v11, Lcom/android/mms/MmsConfig;->mMinRecipientLength:I

To this:

.line 1767
const-string v11, "CscFeature_Message_MaxRecipientLengthAs"

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

move-result v11

[COLOR=green]const/16 v11, 0x3e8[/COLOR]

sput v11, Lcom/android/mms/MmsConfig;->mMaxRecipientLength:I

.line 1768
sget v11, Lcom/android/mms/MmsConfig;->mMinRecipientLength:I

Change this:

.line 2049
const-string v1, "pref_key_max_recipient"

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

move-result v1

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

To this:

.line 2049
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=green]const/16 v1, 0x3e8[/COLOR]

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

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

SMS to MMS Conversion (1000):

Change this:

.method public static getSmsToMmsTextThreshold()I
.locals 1

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

return v0
.end method

To this:

.method public static getSmsToMmsTextThreshold()I
.locals 1

.prologue
.line 688
[COLOR=blue]const/16 v0, 0x3e8[/COLOR]

return v0
.end method

Change this:

.line 2044
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

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

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

To this:

.line 2044
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=green]const/16 v1, 0x3e8[/COLOR]

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

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

Thanks:

Wanam for 1000 Recipients and SMS/MMS conversion

FEEL FREE TO USE THIS BUT PLEASE GIVE THANKS TO MYSELF AND WANAM