[Galaxy S6 General] kep2008:
Disable all the system applications in the standard application manager.

Go to SecSettings2\smali\com\android\settings\applications\InstalledAppDetails.smali.

In .method private handleDisableable(Landroid/widget/Button;)Z remove red isolation and add blue.

.method private handleDisableable(Landroid/widget/Button;)Z
.locals 4
.param p1, "button" # Landroid/widget/Button;

.prologue
const v3, 0x7f0e15d7

.line 214
const/4 v0, [color=red]0x0[/color] # change on [color=blue]0x1[/color]

.line 218
.local v0, "disableable":Z
iget-object v1, p0, Lcom/android/settings/applications/InstalledAppDetails;->mHomePackages:Ljava/util/HashSet;

iget-object v2, p0, Lcom/android/settings/applications/InstalledAppDetails;->mAppEntry:Lcom/android/settingslib/applications/ApplicationsState$AppEntry;

iget-object v2, v2, Lcom/android/settingslib/applications/ApplicationsState$AppEntry;->info:Landroid/content/pm/ApplicationInfo;

iget-object v2, v2, Landroid/content/pm/ApplicationInfo;->packageName:Ljava/lang/String;

invoke-virtual {v1, v2}, Ljava/util/HashSet;->contains(Ljava/lang/Object;)Z

move-result v1

if-nez v1, :cond_0

[color=red]iget-object v1, p0, Lcom/android/settings/applications/InstalledAppDetails;->mPm:Landroid/content/pm/PackageManager;

iget-object v2, p0, Lcom/android/settings/applications/InstalledAppDetails;->mPackageInfo:Landroid/content/pm/PackageInfo;

invoke-static {v1, v2}, Lcom/android/settings/Utils;->isSystemPackage(Landroid/content/pm/PackageManager;Landroid/content/pm/PackageInfo;)Z

move-result v1

if-eqz v1, :cond_1

invoke-direct {p0}, Lcom/android/settings/applications/InstalledAppDetails;->isDisablingBtnUnblocked()Z

move-result v1

if-nez v1, :cond_1

.line 221
:cond_0
invoke-virtual {p1, v3}, Landroid/widget/Button;->setText(I)V

.line 239
:goto_0
return v0

.line 222
:cond_1[/color] # [color=blue]:cond_1[/color] we will use more
iget-object v1, p0, Lcom/android/settings/applications/InstalledAppDetails;->mAppEntry:Lcom/android/settingslib/applications/ApplicationsState$AppEntry;

iget-object v1, v1, Lcom/android/settingslib/applications/ApplicationsState$AppEntry;->info:Landroid/content/pm/ApplicationInfo;

iget-boolean v1, v1, Landroid/content/pm/ApplicationInfo;->enabled:Z

if-eqz v1, [color=red]:cond_3[/color] # change on [color=blue]:cond_1[/color]

invoke-direct {p0}, Lcom/android/settings/applications/InstalledAppDetails;->isDisabledUntilUsed()Z

move-result v1

if-nez v1, [color=red]:cond_3[/color] # change on [color=blue]:cond_1[/color]

.line 223
[color=blue]:cond_0[/color]
invoke-virtual {p1, v3}, Landroid/widget/Button;->setText(I)V

[color=red].line 227
const/4 v0, 0x1

.line 229
invoke-direct {p0}, Lcom/android/settings/applications/InstalledAppDetails;->isDisablingBtnBlocked()Z

move-result v1

if-eqz v1, :cond_2

.line 230
const/4 v0, 0x0

goto :goto_0

.line 232
:cond_2
const/4 v0, 0x1[/color]

goto :goto_0

.line 235
[color=red]:cond_3[/color] # change on [color=blue]:cond_1[/color]
const v1, 0x7f0e15d8

invoke-virtual {p1, v1}, Landroid/widget/Button;->setText(I)V

[color=red].line 236
const/4 v0, 0x1

goto[/color] :goto_0
[color=blue]return v0[/color]
.end method

Happened

.method private handleDisableable(Landroid/widget/Button;)Z
.locals 4
.param p1, "button" # Landroid/widget/Button;

.prologue
const v3, 0x7f0e15d7

.line 214
const/4 v0, 0x1

.line 218
.local v0, "disableable":Z
iget-object v1, p0, Lcom/android/settings/applications/InstalledAppDetails;->mHomePackages:Ljava/util/HashSet;

iget-object v2, p0, Lcom/android/settings/applications/InstalledAppDetails;->mAppEntry:Lcom/android/settingslib/applications/ApplicationsState$AppEntry;

iget-object v2, v2, Lcom/android/settingslib/applications/ApplicationsState$AppEntry;->info:Landroid/content/pm/ApplicationInfo;

iget-object v2, v2, Landroid/content/pm/ApplicationInfo;->packageName:Ljava/lang/String;

invoke-virtual {v1, v2}, Ljava/util/HashSet;->contains(Ljava/lang/Object;)Z

move-result v1

if-nez v1, :cond_0

iget-object v1, p0, Lcom/android/settings/applications/InstalledAppDetails;->mAppEntry:Lcom/android/settingslib/applications/ApplicationsState$AppEntry;

iget-object v1, v1, Lcom/android/settingslib/applications/ApplicationsState$AppEntry;->info:Landroid/content/pm/ApplicationInfo;

iget-boolean v1, v1, Landroid/content/pm/ApplicationInfo;->enabled:Z

if-eqz v1, :cond_1

invoke-direct {p0}, Lcom/android/settings/applications/InstalledAppDetails;->isDisabledUntilUsed()Z

move-result v1

if-nez v1, :cond_1

.line 223
:cond_0
invoke-virtual {p1, v3}, Landroid/widget/Button;->setText(I)V

goto :goto_0

.line 235
:cond_1
const v1, 0x7f0e15d8

invoke-virtual {p1, v1}, Landroid/widget/Button;->setText(I)V

:goto_0
return v0
.end method

Thank Heitezy

View attachment 3718909 View attachment 3718910