yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] Mrinal Roy:
Grt! xD

I hav Included ics settings icon for hdpi devices :)
[Android Apps and Games] Himan Boro:
It wud b wise if u had startd From Stock/Unmodified Settings.apk :(
[Android Apps and Games] Varun002:
You really explained everything clearly. Hoping to see more things like this :D
[Android Apps and Games] noobpremium:
About Tabs

hey balamu... :p

i wanna add tabs in my 4.0 isc settings. I found guides fro gb but they don't work I've triedd already....

If you know something more please send me that thread :)

Thanks(did a hit) :p
[Android Apps and Games] zooperaj:
Thanks for the guide. Want to try. But the images as examples on the first page are not visible. Could you please update the images?
[Android Apps and Games] saldymhmd:
what should i change in styles.xml ?
[Android Apps and Games] balamu96m:
can you compile without any changes??
[Android Apps and Games] saldymhmd:
yeah, i can compile and decompile, without error on apktool. So, what must I do with styles.xml ?
[Android Apps and Games] CoD.<D.J.>:
Thanks

Awesome tutorial..... thanks

Screenshot
[Android Apps and Games] balamu96m:
Then you should not get any error while compiling after modding only Settings.xml...........looks interesting......if you haven't touched styles.xml, then from where is that error comming ??:eek:

try starting from the first n reply dude.........
[Android Apps and Games] balamu96m:
Good work bro ! :D
[Android Apps and Games] saldymhmd:
yeah believe me, yesterday i only edited the strings.xml and settings.xml. Then i build the settings.apk without any error, but it forced close when i opened :D is that styles.xml need to edited too ?

---------- Post added at 06:41 PM ---------- Previous post was at 06:31 PM ----------

damn, i'm envy with other people that successful with the tutorial :(
[Android Apps and Games] varun.chitre15:
@balamu96m

Yep....but those icons are idpi and I need mdpi:D:D

@saldymhmd

Can u upload ur purely stock settings.apk?

Maybe I can give it a hit.

Burned from my laser torch using pencil cells
[Android Apps and Games] alzbac:
I don't understand second part.

Here are my xml's.

I would be gratefull if anyone can help me.
[Android Apps and Games] saldymhmd:
sure, here's. Thanks in advance before :)
[Android Apps and Games] CoD.<D.J.>:
samsung touchwiz users can use my working mod as refrence

here
[Android Apps and Games] SpaceCaker:
I did but i couldnt figure it out :(

unwritten sentance
[Android Apps and Games] Alifdroid:
may i have a strings.xml of settings.apk?
[Android Apps and Games] CoD.<D.J.>:
Yours was same as mine I modified the one u attached at 1st page

here it is .

And this wont work on stock rom. But I suppose you are already on custom rom

just try it.
[Android Apps and Games] SpaceCaker:
Hmm i am at custom rom based on stock

And tried this settings apk

But not worked unfortunantly

I am on mdpi and gb rom

Thats maybe the problem?

Anyway thanks for trying

unwritten sentance
[Android Apps and Games] CoD.<D.J.>:
Did u rebooted after copying this? And u can also try wipe cache
[Android Apps and Games] xploited:
Hey, thanks for an awesome tutorial. Can you post the Settings.apk

before

you applied changes?

I want to use Araxis Merge on the before and after files for a nice visual representation of what exactly you changed.

Thanks!
[Android Apps and Games] varun.chitre15:
@saldymhmd

try the attached settings.apk

i know its little oversized :D:D

try it and tell me :D:D
[Android Apps and Games] MarioXD:
Hi I can not make it work, and try with this but not work brignes and volume controls.

sorry my bad english XD

mi crom is cm7 on galaxy ace

anyone can help me?

thanksss
[Android Apps and Games] Calundle:
So I replaced the lines that you put on the OP, but I'm confused after that. You talk about clicking something and it taking you to a new screen and editing things, but in my XML it looks like all of my stuff was set up for that already. So, I decompiled, added lines, added icons, recompiled, pushed it to /system, and then I get "Go Launcher can't access this application." I'm using Atrix 2 on Stock rooted 2.3.6.

Is it because my phone is HDPI?

I noticed the icons in my ROM are 72x72 and the ones in the link are 48x48.
[Android Apps and Games] saldymhmd:
awesome !!! its working now :D but when i touch the 'call settings' it appear force close, don't what the problem, maybe i'll try to see some xml's change :D

edited now everythings work fine :)

---------- Post added at 07:35 PM ---------- Previous post was at 07:29 PM ----------

what things you had changed so the size of .apk now more bigger ? hehe just want to know :p
[Android Apps and Games] varun.chitre15:
Blown air inside settings.apk lol....:D:D

Nothing just compression level set to 0 :p

Burned from my laser torch using pencil cells
[Android Apps and Games] varun.chitre15:
@spacecaker

Can u post ur settings.apk

Maybe I can try to help u.

Burned from my laser torch using pencil cells
[Android Apps and Games] xploited:
Guys, can anyone post both their "before" and "after" Settings.apk?
[Android Apps and Games] saldymhmd:
are you added some lines on public.xml ?
[Android Apps and Games] varun.chitre15:
No only moded strings.xml, settings.xml and added icons.

Burned from my laser torch using pencil cells
[Android Apps and Games] saldymhmd:
really ? cz when i compared your settings.apk with mine its have different in public.xml
[Android Apps and Games] varun.chitre15:
Lol......that's natural, its addition of ids of images/icons we added and those are added automatically by apktool.

For ur verification do this

1. Take unmoded settings.apk and decompile it.

2. Copy and replace settings.xml, drawable-mdpi folder, strings.xml from the moded settings.apk I provided u and compile back.

3. Decompile it again, u will notice change in public.xml

Hope this helps :rolleyes:

Burned from my laser torch using pencil cells
[Android Apps and Games] SpaceCaker:
Mine is posted in first page

unwritten sentance sent feom phone
[Android Apps and Games] saldymhmd:
ohh like that, sorry i'm noob with .xml :p the settings.apk i had attached before is from cm7 rom. Now i try to edit settings.apk from deodexed gb stock rom, copying from yours but with some modification but the settings force close. Is that any 'tricky' steps to make everything fine ??? :confused::confused:
[Android Apps and Games] Calundle:
Yes I'm a noob on this subject of android development. :P
[Android Apps and Games] ts_firehawk:
Didn't worked. I still get the standard settings view. Do I need to change my theme or something?

Galaxy Ace CM7.2 RC1
[Android Apps and Games] mega g:
Help meee!!! Please!!!

I tried following your guide many times but I always get an error when compiling the apk

this is my system.apk

You can do it for me? so I can see the differences between the original and revised.

I do not understand many steps you've done... sorry

if you modify it to me I would be eternally grateful
[Android Apps and Games] saldymhmd:
Finnaly !!!

Finnaly I can do it my self ! and add mobile data settings on main screen :D thanks for everyone that help me, work on Stock GB rom
[Android Apps and Games] xploited:
Care to share the apk? ;)
[Android Apps and Games] saldymhmd:
sure, you can get it here dude http://www.mediafire.com/?cv6qxr3eecz0e6q , just rename file to 'Settings.apk' and push it to system/app. But its only for GB rom, backup your original Settings.apk first :D
[Android Apps and Games] xploited:
I am actually making my own, but want to look at yours in order to find out how you added Mobile Data to the main Settings screen. :cool:

Anyway, great job and thanks! ;)
[Android Apps and Games] saldymhmd:
you're welcome buddy :) and good luck :D
[Android Apps and Games] Calundle:
Help anyone?
[Android Apps and Games] FlorisNL:
How can you make the bars look like the ICS settings bar?
[Android Apps and Games] rubensollie:
Modify some progress pngs or .9.png in your framework-res or systemui.
[Android Apps and Games] Royal King:
Umm my settings vanished :S I've taken its backup but it doesn't show up anymore
[Android Apps and Games] balamu96m:
To all users:

Thanks for trying and reporting your problems !!

Also thanks to those who answer others problems & queries. :D

If you are posting your error log (or) settings/strings.xml, please use 'code' tag or pastebin (many of you follow)

About icons:

I'll try to upload hdpi & mdpi icons asap !!

Also understand that any compilation error related to files other than settings.xml and strings.xml can't be answered easily because they are not related to this guide in any way !!

One can share a working modded settings.apk (or) settings.xml, either gingerbread or froyo or any other versions here so I can add them in the index to help others.....

Don't mistake me for not answering your questions.....the reason is that i'm away from home and unable to look into it......i'll try to solve your problems when I reach home.......

Till that you have to depend on others :(
[Android Apps and Games] saldymhmd:
You haven't insert the <PreferenceCategory..../> lines to your .xml ???

About error when compiling, what languange you had used on your phone ?

---------- Post added at 02:11 PM ---------- Previous post was at 02:10 PM ----------

yes please add mdpi icon :D
[Android Apps and Games] Leito92:
May I ask you to upload your apktool somewhere because I get errors even when decompileing Settings.apk? I updated my apktool, but I still get errors. :/
[Android Apps and Games] Calundle:
I added that line and few more for Device, Personal, and System and I removed them to see if that was the problem since they are on the main settings page and I wasn't even able to access that. The language is english. With just the error shown I can get the Dist file to appear and do the steps he said, but sometimes when I do advance editing of the XMLs I get something like "exception on Main thread (brut)" and the decompile fails. On one attempt I was able to change the icons to the ones he provided, but then the background went white. On another attempt I just made a new Category for Wifi separate from the Wireless settings category and the background also went white. I'll upload a picture. Is this because I'm on an already custom ROM? I figure if I can get one or two things to work they all should.

@belamu

I'm just trying to learn how to do this and further my android developing skills. I greatly appreciate any and all help you give me. Thanks so much.
[Android Apps and Games] balamu96m:
I'll try to upload by monday bro!
[Android Apps and Games] YudhiezChitilieaz:
successful Bro ,, Thanks For Your Lessons . I Use My Settings.apk to My ROM .
[Android Apps and Games] mingolianbeef:
Awesome.!
[Android Apps and Games] ibanez7:
Hi balamu96m

I've tried several times, each night backward within a few days. but Finally Force Close on Volume Sound Settings and brightness Settings, I think I enough gave up

Please, Can you make it for me? If you have a relaxing time, I hope you can do it, I Very Like This mod, but I can't set volume sound and brightness,

Thanks Master :)
[Android Apps and Games] YudhiezChitilieaz:
Whats Your Device ?
[Android Apps and Games] bittamerexo:
Thank you for the guide, it's great!

Because of this guide, it got me interested in tweaking my phone to make it the way I want it :D
[Android Apps and Games] ibanez7:
My Phone Is Galaxy W I1850, Can you help me? ...
[Android Apps and Games] linkci:
Thanks you man it's really good :)
[Android Apps and Games] -Grift-:
can someone help me ?? :p noob when it comes to apk stuff

settings.apk for gt540 cm7.2 pls and thanks :D
[Android Apps and Games] hell_lock:
I am totally blank after step 6!! pls help
[Android Apps and Games] balamu96m:
I'll try to look into it.......you can try modding the apk which came with your current rom, not only stock ROM....
[Android Apps and Games] ibanez7:
Thanks For Respon, I've tried it on my current ROM, but still problem when volume and brightness Setting.

I really hope you can make it for me in order to use a fine, without Force Close... Thanks.... Master
[Android Apps and Games] saldymhmd:
I think the settings.apk for stock or cm rom was same, only the targetClasess or something else has different code. Basicly the tutorial above its universal (IMHO) (CMIIW)

I found some bug or it just my mistakes ? when I put the Power Control Widget on my homescreen, the background of the widget was crappy. Is it because the icons you attached is for LDPI ? and its not completely stretched for MDPI devices ?
[Android Apps and Games] balamu96m:
Maybe because of icons.....i'm trying to find them for mpdi & hdpi....i'll post when i find them....
[Android Apps and Games] saldymhmd:
yup, its because the icon its for ldpi, and I fixed it, replacing the "appwidget_xxx.png" from your attachment with icon from my original settings.apk.

Btw, you should edit your tutorial, I know what steps missing causing many people getting force close or something else. The icon from drawable-xxxx must replaced before building the apk, and then replace again after the apk has been built.
[Android Apps and Games] buckmarble:
The icons in the op are in a decompiled state and should be be copied in when your settings.apk is in the same state, deconpiled. You can tell by looking at the .9 pngs, you can see the black markings around the outside of them. I just completed this for my rom on the D3. Maverick ROM. Nice tutorial.

http://db.tt/mlzVEQHD
[Android Apps and Games] SpaceCaker:
Just copy some .9 pngs from stock settings apk

And done

I dont have problem on mdpi anymore :)

unwritten sentance
[Android Apps and Games] jaggyjags:
no settings.xml on my apk :confused:

maybe because it is a sense-based rom? (htc explorer)

here it is if you want to take a look at it.

any way around it?
[Android Apps and Games] broodplank1337:
Anyone else getting FC when entering USB Mode settings?
[Android Apps and Games] SpaceCaker:
Nope no fc in usb

unwritten sentance
[Android Apps and Games] mario_fe:
Hi and thanks for this guide, I have two question, first, how do you get black background and the blue line of ics? Second how do i get transparent background and a blue line?

Thanks, you are great!!!!
[Android Apps and Games] balamu96m:
Those things are related with. png/.9.png. based theming of your framework apks.......try. searching for some theming guide....
[Android Apps and Games] mario_fe:
Thanx....

Sent from my P500 using a missile called Tapatalk 2....
[Android Apps and Games] Mr.Mefisto:
great guide!

balamu96m great guide man, thanks a lot!
[Android Apps and Games] fender90:
Hey balamu96m, great guide! Since you are awesome at coding, I have a question for you:

I managed to make the Settings look like yours thanks to your guide, and it was a pretty straight-forward process.

Now though, I'm trying to add button toggles (like ICS) for Wi-Fi and Bluetooth.

With this code:

<PreferenceScreen android:title="@string/settings_label" android:key="parent"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
<PreferenceCategory android:title="@string/settings_ics_radio" />
<CheckBoxPreference android:persistent="false" android:title="@string/wifi_quick_toggle_title" android:key="enable_wifi" android:summary="@string/wifi_quick_toggle_summary" />

the button actually is added, but it does nothing when pressed.

Do you know what I need to add to make it work like in the WiFi Settings tab? This is the code in that tab:

<CheckBoxPreference android:persistent="false" android:title="@string/wifi_quick_toggle_title" android:key="enable_wifi" android:summary="@string/wifi_quick_toggle_summary" />
<CheckBoxPreference android:persistent="false" android:title="@string/wifi_notify_open_networks" android:key="notify_open_networks" android:summary="@string/wifi_notify_open_networks_summary" android:dependency="enable_wifi" />
<com.android.settings.ProgressCategory android:persistent="false" android:title="@string/wifi_access_points" android:key="access_points" android:dependency="enable_wifi" />
<Preference android:persistent="false" android:title="@string/wifi_add_network" android:key="add_network" android:dependency="enable_wifi" />
</PreferenceScreen>
[Android Apps and Games] qaliza:
Thanks for this amazing guide, I applied it on CM7 and worked perfectly.

Im now trying to apply it to sense 3.5 rom, but i cant find the settings.xml in the xml folder. I searched through the list and couldn't find any similar xml to it.

Can you plz help me?

Thank you
[Android Apps and Games] jaggyjags:
yep, same here, HTC has a different way to set the settings layout. Couldn't figure it out after searching around quite a while... :(
[Android Apps and Games] balamu96m:
You people can try searching in settings provider.apk or if htc has anything similar to that.........i dont have a htc, so i dont know anything about that!
[Android Apps and Games] qaliza:
Items list build in Settings\smali\com\android\settings\framework\acti vity\HtcEntryProxy.smali

Thanks to layopta
[Android Apps and Games] balamu96m:
Will add this to 1st post!!
[Android Apps and Games] qaliza:
Thanks... I hope u could also make a small guide on how to edit it coz its a smali file this time and its not easy...:)
[Android Apps and Games] jaggyjags:
yes, here you have it if you want to take a look :)
[Android Apps and Games] Cocolopes:
This is driving me crazy. Can someone do this for me for my motorola DEFY? I'm not lazy, I always do everything, but this is beyond me.

I leave the file here.

Thanks in advance.
[Android Apps and Games] balamu96m:
Bro, what you have tried is awesome !! i haven't tried it !! I will try it !! Maybe, if it works, it'll be awesome!!
[Android Apps and Games] bataya:
Thanks! :-)
[Android Apps and Games] xcxa23:
apktool error

i was getting this error while decompiling setting.apk. why is tat?
[Android Apps and Games] ciscogee:
I successfully compiled my modded settings.apk. when I flash it and reboot. My phone boots perfectly but when I go to settings in my phone it doesn't open.

Any suggs?
[Android Apps and Games] Ticklefish:
Did you flash your apk straight after compiling it? It may be that you need to sign it correctly first. You may even need to change some of the compression settings on some parts of the file.

Sent from my U20i, SK17i, GT-P1010 or something else entirely.
[Android Apps and Games] ciscogee:
You know what. I didn't sign it.

Great troubleshooting! Thanks
[Android Apps and Games] Ticklefish:
:-D Anytime.

Sent from my U20i, SK17i, GT-P1010 or something else entirely.
[Android Apps and Games] italosnt:
Thanks :D
[Android Apps and Games] stuffynet:
I must try this. Hope I get it right. TY
[Android Apps and Games] [V]endetta:
Can anyone post the modded apk here?so I no need modify it..just copy paste..

This is beyond my skills lol
[Android Apps and Games] tathanhlam66:
this is hard for me:p

anyone mod for my settings CM7?
[Android Apps and Games] xpresotw:
Cool lol :D
[Android Apps and Games] Lynx901:
I will try it when I arrive home, but, before, I want to see some screenshots about how looks after modded, it is possible? :3
[Android Apps and Games] balamu96m:
I dunno about your phone, but there are many available!! One is in my signature.

Or Just google - 'mod ics settings' and you'll find many which are made with the help this tutorial!!

Good luck!!
[Android Apps and Games] SpaceCaker:
I build one for ddkq8 firmware for ace ;)
[Android Apps and Games] acejoker68:
LOST

someone please help me i tried following this but i have no string.xml in /values im using both res and settings.apk no help Apk manager for Ubuntu i have add the two files this post maybe someone can help me. i wanted to do two things make its ics and make launcher pro settings in the settings like adw is for CM7 im currently running this rom

http://xdaforums.com/showthread.php?t=1456890

Please help any help would be appreciated
[Android Apps and Games] cowsquad:
Great tutorial
[Android Apps and Games] marvinloess:
help :confused:

noob here.. my device is GT-I9000 Galaxy S running on GB

please help me..

i attached the file..

and here is my twframework-res.apk and framework-res.apk

http://www.mediafire.com/?f55r3ud369z3xrw

thanks in advance
[Android Apps and Games] flshg:
I've managed to follow this excellent guide and created a working ics style settings screen for the zte blade.

I then decided to take it a little further and modded the smali code and resources to make the wifi and bluetooth buttons on the main screen into direct toggles (checkboxpreference widgets). Problem is that the icons disappear:

<CheckBoxPreference android:persistent="false" android:icon="@drawable/ic_settings_wifi" android:title="@string/wifi_quick_toggle_title" android:key="toggle_wifi" android:summary="@string/wifi_quick_toggle_summary" />

Anyone know how to easily make this work? There are iconcheckboxpreference widgets but that'll require a lot more hacking to integrate into this.
[Android Apps and Games] NAZUnlimited:
i didnt try that but i think it can be done with something like this

just by editing the xml

<com.android.settings.IconCheckBoxPreference android:persistent="false" android:title="@string/airplane_mode" android:key="toggle_airplane" android:summary="@string/airplane_mode_summary" android:disableDependentsState="true" settings:image="@drawable/ic_settings_airplane" />

this one is from miui but the basics are the same

btw, tx for the idea
[Android Apps and Games] flshg:
NAZUnlimited, yeah the iconcheckboxpreference is also what I've been looking at, but it wont work as the settings.apk doesn't include the iconcheckboxpreference class. However if the MIUI one has this then it could be useful. Any chance you could upload the iconcheckboxpreference.smali file from your MIUI settings.apk?

edit: actually the whole settings.apk file would be useful, so if anyone can upload that file from a gingerbread miui that would be fantastic.
[Android Apps and Games] NAZUnlimited:
here is a miui gb settings

View attachment Settings.apk

that line i send is at the common-setting.xml

miui settings is divided in 4 panels

edit: i tried doing a 5 seconds alteration to this settings and add the wifi toogle to it (in the common settings panel). it is working but it doesnt really enable or disable wifi, i will take a closer look later in the xml and the smali
[Android Apps and Games] acejoker68:
Bump

bump Bump bump
[Android Apps and Games] NAZUnlimited:
i know that rom, im not using it but i have decompiled it before

probably, u just have a bad decompiled file. to avoid errors of any kind, u should load the rom frameworks-res.apk to the apktool

try to be more detailed

a complete ics look (icons, pngs, xml) to settings / framework or just the menu like in this tutorial?

putting launcher pro settings in the settings like adw, i've tryed that with adw ex and failed, even decompiled adw ex to see what should i put in settings
[Android Apps and Games] flshg:
I've added working wifi and bluetooth toggles to the iconcheckboxpreference. Far too much work involved just to add icons to a checkboxes.

http://www.mediafire.com/?mf94s971f1vg65q

Thanks to NAZUnlimited for providing the miui apk.
[Android Apps and Games] acejoker68:
I just want the look and feel like it shows on here but with a transparent background like someone posted in this thread. I have decompiled it with both apk-tool and apk manger and both show the same and i tried on ubuntu. Ill see if i can get ahold of cyanogenmod guys they have Adw in theirs but since i dont use Adw it never was useful to me Thanks

After running Apk-manger on windows it works i guess you just cant use it on Ubuntu

Can someone make that for me or guide me more. i followed the instructions but it looks the same to me wiped cache and D cache
[Android Apps and Games] NAZUnlimited:
post your settings.apk, i'll see what it got
[Android Apps and Games] /ofAllEvil:
Wonderful tutorial thank you for Your efforts
[Android Apps and Games] acejoker68:
system apk and framework

Thanks for taking a look at it here is the file. Im uploading the framework to in case you need it