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:
Now ADD
Once done save your changes. now go to:
Now CHANGE THIS LINES TO:
and
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.
@XxeAgLeAnGeLxX @oracle01642 @karkasss @citymen34 @Chaos ^_^
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!
• I am not going to teach you how to use these programs because I am assuming that you already know how to use them!
• You must deodex your app before proceeding.
• A lot of works are done by various xda members, some are from other sites, some are mine. If you found the guide of your mod here and you haven't been credited, please PM.
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:
Code:
[COLOR="Green"].method public onCreateOptionsMenu(Landroid/view/Menu;)Z[/COLOR]
Now ADD
Code:
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:
Code:
<bool name="settings_list">[COLOR="Red"]true[/COLOR]</bool>
Code:
<bool name="settings_list">[COLOR="Blue"]false[/COLOR]</bool>
and
Code:
<bool name="settings_grid">[COLOR="Red"]false[/COLOR]</bool>
Code:
<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.
@XxeAgLeAnGeLxX @oracle01642 @karkasss @citymen34 @Chaos ^_^
Last edited: