[Galaxy S 4 Themes and Apps] IganKuhz:
Hello to all Developers and XDA members!!

I have come here to give you a couple of guides on how to enable some S5 Features and other good stuff so here is how you can do it! This guide is only for I9505, I do not know if it can be apply in other variants.

Some mods are based on other dev mods. It took me a lot of time to understand how they did it because they did not share any guide.

What Is Required:

★ Willing of learning and some patience and cold nerves!

★ Yoy 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 S5 GRID/LIST VIEW

WHAT DOES THIS MOD DO: This mod will let you enable grid/list view in the SecSettings.

★ Go into your system/priv-app folder and take out your "SecSettings.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 SecSettings.apk, go to:

Now open up "GridSettings.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 onCreateOptionsMenu(Landroid/view/Menu;)Z[/COLOR]

Now ADD

const v3, 0x7f020013

invoke-interface {v2, v3}, Landroid/view/MenuItem;->setIcon(I)Landroid/view/MenuItem;

const/4 v3, 0x5

invoke-interface {v2, v3}, Landroid/view/MenuItem;->setShowAsActionFlags(I)Landroid/view/MenuItem;

:cond_0
[COLOR="Blue"] const/16 v0, 0xc9

const v1, 0x7f090027

invoke-interface {p1, v3, v0, v3, v1}, Landroid/view/Menu;->add(IIII)Landroid/view/MenuItem;

move-result-object v0

new-instance v1, Landroid/content/Intent;

const-class v2, Lcom/android/settings/GridSettings;

invoke-direct {v1, p0, v2}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

invoke-interface {v0, v1}, Landroid/view/MenuItem;->setIntent(Landroid/content/Intent;)Landroid/view/MenuItem;[/COLOR]

const/16 v3, 0xca

const v4, 0x7f09002b

invoke-interface {p1, v5, v3, v5, v4}, Landroid/view/Menu;->add(IIII)Landroid/view/MenuItem;

move-result-object v1

invoke-direct {p0}, Lcom/android/settings/GridSettings;->makeFavoriteIntent()Landroid/content/Intent;

move-result-object v0

invoke-interface {v1, v0}, Landroid/view/MenuItem;->setIntent(Landroid/content/Intent;)Landroid/view/MenuItem;

:cond_1
invoke-super {p0, p1}, Landroid/app/Activity;->onCreateOptionsMenu(Landroid/view/Menu;)Z

move-result v3

return v3
.end method

Once done save your changes. now go to:

Now CHANGE THIS LINES TO:

<bool name="settings_list">[COLOR="Red"]true[/COLOR]</bool>

<bool name="settings_list">[COLOR="Blue"]false[/COLOR]</bool>

and

<bool name="settings_grid">[COLOR="Red"]false[/COLOR]</bool>

<bool name="settings_grid">[COLOR="Blue"]true[/COLOR]</bool>

This will remove second SecSetting icon in draw menu.

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

If this help you give me credits, I have spend many hours doing this.

OK. This is for you my friends, As you ask me. Many more HOW TO are coming.

[MENTION=5032351]XxeAgLeAnGeLxX[/MENTION] [MENTION=4945621]oracle01642[/MENTION] [MENTION=5150446]karkasss[/MENTION] [MENTION=5114639]citymen34[/MENTION] [MENTION=5083747]Chaos ^_^[/MENTION]