Sony Xperia Z3 Lollipop Framework Ported to CM12

Android 5.0 for Xperia has a unique look and feel. You don’t have to get a Sony … more

Do You Use Recents as a Task Switcher?

Google introduced a revamped Recents interface with Lollipop in the hopes of making it easier for … more

YU Yureka All-in-One ToolBox (CM12S Only)

This packed toolbox by XDA Senior Member gohel.vishal makes many useful tweaks … more

Sony Xperia Z4 Forum Now Available

Sony’s Xperia line has seen plenty of development on XDA, and now that the Xperia Z4 has been … more
Post Reply Subscribe to Thread Email Thread

[DEV][HOW TO]Enable S5 Grid/List View in S4 SecSettings

23rd June 2014, 03:57 PM |#21  
karkasss's Avatar
Senior Member
Thanks Meter: 277
203 posts
Join Date:Joined: Mar 2013
Originally Posted by dajumper

The grid style is not working good an example battery icon gives language etc... when i change to list everything works good

Sent from my GT-I9505 using XDA Premium 4 mobile app

The Following User Says Thank You to karkasss For This Useful Post: [ View ]
25th June 2014, 10:02 PM |#22  
oracle01642's Avatar
Senior Member
Flag North East
Thanks Meter: 253
1,184 posts
Join Date:Joined: Nov 2012
Originally Posted by 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!

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:


.method public onCreateOptionsMenu(Landroid/view/Menu;)Z

    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;

    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;

    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;

    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:


<bool name="settings_list">true</bool>
<bool name="settings_list">false</bool>

<bool name="settings_grid">false</bool>
<bool name="settings_grid">true</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 ^_^

When decompiling SecSettings, do you install the S5 framework-res.apk and twframework-res.apk, or the S4 framework apk's?
18th July 2014, 06:26 PM |#23  
XxeAgLeAnGeLxX's Avatar
Flag Mexico
Thanks Meter: 17
37 posts
Join Date:Joined: Dec 2012
Donate to Me
siempre lo dire eres un master bro, es un placer poder probar tu desarrollo y mas aun que lo compartas estoy realmente agradecido muchas gracias!!!
18th July 2014, 07:10 PM |#24  
Geoxx's Avatar
Senior Member
Thanks Meter: 205
622 posts
Join Date:Joined: Nov 2012
Stock Framework
Originally Posted by oracle01642

When decompiling SecSettings, do you install the S5 framework-res.apk and twframework-res.apk, or the S4 framework apk's?

Install the stock framework-res.apk and twframework-res.apk not a custom or modded one
22nd July 2014, 12:02 AM |#25  
Senior Member
Flag Washington, DC
Thanks Meter: 52
170 posts
Join Date:Joined: Oct 2008
Dear OP, I've searched high and low to get the M919 secSettings.apk working with S5 mod, mainly to keep wifi-calling. while your mod and other s5 mods works on the tmobile variant system, the secSettings from the international s4 does not include wifi-calling, hence no way to use it. Could you please help me get this working for the M919?

what i am asking, is to get secSettings.apk from m919 NB4 modded to look like the s5 while keeping wifi-calling....simply put, is it possible?
I've followed various how-to tutorials such as this one, and this one,, but after installing the new compiled apk, it is simply not recognized by the system. But I am still trying...
anyways, could you looking into this if time permits? if so, thanks, if not, thanks any way.

heres a link to twframework-res.apk, framework-res.apk, secSettings.apk and even SystemUi.apk. These files are from T-mobile M919 NB4 4.4.2 KK
23rd July 2014, 12:06 AM |#26  
bombaybadboy's Avatar
Recognized Contributor
Flag Wolverhampton
Thanks Meter: 17,858
7,771 posts
Join Date:Joined: Apr 2012
Sorry to ask guys but seen a number of comments saying it doesnt work on i9500. I just built for my i9500 from this guide and seems to work fine, what part doesnt work exactly? Also any tips to remove the extra network connections header or am i the only one who gets that?

Sent from my GT-I9500 using Tapatalk 2
Attached Thumbnails
Click image for larger version

Name:	uploadfromtaptalk1406070393339.jpg
Views:	423
Size:	51.3 KB
ID:	2865822   Click image for larger version

Name:	Screenshot_2014-07-23-02-32-36.png
Views:	407
Size:	194.7 KB
ID:	2866044  
Last edited by bombaybadboy; 23rd July 2014 at 02:35 AM.
The Following User Says Thank You to bombaybadboy For This Useful Post: [ View ]
30th July 2014, 07:26 AM |#27  
egel1's Avatar
Senior Member
Thanks Meter: 61
617 posts
Join Date:Joined: Jul 2012
Who has the s5 settings Works well with XXUFNC1 i9500
Please if you can share it with me?
19th September 2014, 05:21 AM |#28  
D2Y aka E's Avatar
Senior Member
Flag muara wahau (borneo)
Thanks Meter: 74
297 posts
Join Date:Joined: Feb 2014
I will try sir
22nd October 2014, 02:13 PM |#29  
oracle01642's Avatar
Senior Member
Flag North East
Thanks Meter: 253
1,184 posts
Join Date:Joined: Nov 2012
@IganKuhz I have a great modded version of the S5 SecSettings, the only problem is, airplane mode and increase touch sensitivity don't work in list view. Do you know how to get those options working properly in list view? Thanks.
Last edited by oracle01642; 22nd October 2014 at 02:36 PM.
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes