yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] hell_lock:
Where hav u reached.. We are workin on same project.. I made d checkboxes visible but after making changes in smali it gav fc
[Android Apps and Games] psychopac:
I dont have settings.xml.......what should i do???? or maybe I cant find it. can anyone tell me where it is supposed to be?
[Android Apps and Games] bobgeneric:
Hi devs!

I need help too.

I did try edit my settings.xml, and now, i can't recompile. :confused:

I would like just change the category order.

This way:

My actual Settings:

Can some dev help me?

Attachments:

- Log errors

- settings.xml (edited by me)

- Settings.apk (i'm using now)
[Android Apps and Games] psychopac:
can u explain in detail what and where to copy exactly in this part----

"I copied the android:targetClass="xxxxxxxxxxxx"(something

given there) to Settings.xml file.

If you want to do it for Bluetooth, then copy any of the

preference screen completely [from <com.android.settings......

to </com.android.settings.IconPreferenceScreen>

Then make changes in the title , icon, and target classs."

coz im stuck at this part. I can't figure out what exactly I should do
[Android Apps and Games] balamu96m:
first try recompiling without making any changes.....

You have to wait for a while for that.....currently running out of time......
[Android Apps and Games] psychopac:
k but do explain that part in detail
[Android Apps and Games] psychopac:
please someone help me
[Android Apps and Games] hell_lock:
See my sign.. I made a thread which has detailed info on this mod. It maybe a lil advance but u can undrstnd from it
[Android Apps and Games] psychopac:
can someone tell me what exactly I have to copy and where I have to paste it

---------- Post added at 01:57 PM ---------- Previous post was at 01:53 PM ----------

can someone tell me what exactly I have to copy and where I have to paste it
[Android Apps and Games] bobgeneric:
I did it.

The problem persist. :confused:
[Android Apps and Games] psychopac:
can someone make an ics style settings.apk for me coz im getting errors
[Android Apps and Games] bobgeneric:
I can recompile whatever apk file.

I got issue only with my Settings.apk
[Android Apps and Games] Odale876:
help sorta

never mind i found it
[Android Apps and Games] afeilulu:
It's a cool tool. But when I saw the thread title, I suppose it is a shell script that could install apks in batch. And that is what I want.
[Android Apps and Games] ciscogee:
In decompile folder in apktool.yml

Under -1

Put. -2

Make sure your frameworks are installed :)
[Android Apps and Games] alzbac:
Figured it out...
[Android Apps and Games] kentel29:
help me please..

im trying to do this on my micromaxa45.. but i seem to get lost on step7.. it seems dat ur settings.xml are different from ours.. i uploaded my settings.apk.. please help me with dis.. im just starting to learn modding so i'm not yet familiar to dis..
[Android Apps and Games] ciscogee:
Anything u can share with the class?
[Android Apps and Games] :
I can't find strings.xml in settings .apk
[Android Apps and Games] ciscogee:
Because

A) you DIDN'T decompile apk

B) you DID decompile apk but are lazy and don't want to look around and become accustomed to what the apks are made of

Or

C) look in /res/values
[Android Apps and Games] alkhafaf:
Anyone can decomile Settings.apk after applying this mod? I have it working, but want to decompile after editing, but I can not.
[Android Apps and Games] akshay14635%%+:
can it install on galaxy y
[Android Apps and Games] Deadly:
Its a guide.. that means you have to make it.. its not "download and install it" please read title once..

If you know how to do it.. then try.. or ask some dev kindly to do it.. they may do it..

Sent from the MUST have app!
[Android Apps and Games] ciscogee:
did u install framework-res and twframework-res or any other dependency apk?

decompile settings, in decompiled folder in your apktool.yml make sure it has

-1

and

-2 under it.

-3 if it needs another dependency.

also the log looks like it doesnt like any of the new pngs

decompiled pngs are different from unzipped pngs.

make sure your using the right ones, i can also help you slim down the volume bars in your framework-res. pm me for info
[Android Apps and Games] Kevin_Monter:
Nice guide.....

:) Nice guide dev... but i'm facing a strange problem... i modified the "Setting.apk' using apktool. when i installed it on my android running 2.2.2 Froyo...., through CWM recovery.... it shows a FORCE CLOSE ERROR... please Help me to Make a Working Setting.apk....
[Android Apps and Games] Deadly:
can you please remove your quoted post from your post? dont quote the whole post when its this big please.. you can say @op.. instead of quoting whole post..

anyway.. froyo i am not sure it works for that.. only gingerbread i believe.. but may be i am wrong about this.. as jdk 6 and up is sued from GB.. and froyo needs jdk 5..
[Android Apps and Games] balamu96m:
Yup, please don't quote the whole post.

BTW, this mod can be applied from Android 2.2 (froyo)...i've tried it......

Make sure you've included all the icons properly. That can be a reason.
[Android Apps and Games] Max128:
DELETED..

thanks anyway
[Android Apps and Games] psychopac:
help required

can someone make it for me.......i've tried so many times but i couldn't make it
[Android Apps and Games] BohArie:
ICS LOOK!!

Bro, balamu96m..

how about wifi and bluetooth check box on first page of setting??

u can do it??
[Android Apps and Games] Deadly:
One request bro.. how does your question connect to whole post you quoted?

Can you please kindly remove that? Or trim the quote to relevant part

-------------------------------------------------------------------------

nitubhaskar-->Deadly.™

★Nothing is True.. Everything is Permitted★®

Muffins..? Yummy!©
[Android Apps and Games] BohArie:
Really sorry..

Sorry bro..

did u make it??

the check box on the first page of setting for wifi and bluetooth??
[Android Apps and Games] varundvkk:
Spice mi-350n silverlight 4 settings.apk

Bro can u make this for Spice mi 350n i am using silverlight 4 developed by you .. Please modifiy the settings.apk in the rom if u want i can give u the settings.apk ......
[Android Apps and Games] balamu96m:
I'll make :)
[Android Apps and Games] varundvkk:
Do it please. thanx

please modify it and send me the files to varundvkk@gmail.com . and please tell me the procedure how to replace the old settings.apk for i am uploading mine settings.apk it is developed by you (Silverlight 4.0 for spice mi 350n ) But in case if u want it . thanks for such a great rom for my spice mi 350n
[Android Apps and Games] BlackShake:
it's work on lg optimus l series?
[Android Apps and Games] balamu96m:
Should work on any android...
[Android Apps and Games] projectmax:
need help on modifying stock settings.apk to ics settings.apk

good day, can anyone here help me on modify to ics look on my settings.apk..it seems my settings.xml is different from the one posted here that gives me a hard time to follow the guide..i got this from my alcatel ot-918n 2.3.6 stock rom's settings.apk..please help me on this one..here's my code from settings.xml that i just saved in txt format..thanks..
[Android Apps and Games] projectmax:
custom gingerbread to ics look

sir, can you help me on modifying my custom/ stock settings to ics settings..here/s my settings file sir..i converted it to txt file for attachment purposes only..i can't follow your guide co'z mine seems different from your image post sir..please help me sir..my phone is an alcatel ot-918n phone sir..gingerbread 2.3.6 os sir..thanks..here's my settings attachment sir..
[Android Apps and Games] phth411:
Please fix images.......
[Android Apps and Games] balamu96m:
Okay...
[Android Apps and Games] AvijitGhosh82:
Op...

A clean guide on how to put links to 3rd party apps is welcome..
[Android Apps and Games] projectmax:
ics look settings

already found the way on how to change my stock rom to ics look but its different from the real ics look..don't know if its because of the gingerbread os that alcatel ot-918N used that i'm still ok with it..nice guide sir..thanks alot..^_^..:good:
[Android Apps and Games] balamu96m:
Yup...i'll post it when i fully complete doing it......
[Android Apps and Games] roxtreeme:
images are not visible pls reupload them thanxzz in advance.........

pls upload them ASAP:eek::eek::eek:
[Android Apps and Games] arnabJ:
The pics arent showin up.

Wat to do??

How to make it for my galaxy y duos lite.
[Android Apps and Games] balamu96m:
I'm fixing them....
[Android Apps and Games] SaintZ93:
I hope you can get them done soon, I'm building a rom and would like to do this to the settings, thank you for the guide!
[Android Apps and Games] n3n00:
Hey man, one question.

I did this mod on my settings while ago, and tried to move "Unknown sources" from Application settings to Development options or Privacy settings, and direct app settings directly to Manage Applications so it would be like ICS.

But Unknown sources just won't work except in App settings, I can't tick it.

What else should I change if it's possible?
[Android Apps and Games] samsoul16:
Balambu were u able to.implement ics like direct switches for wifi,Bluetooth and data??

Sent from my GT-S6102 using Xparent ICS Tapatalk 2
[Android Apps and Games] balamu96m:
pics are back !! :good:
[Android Apps and Games] GuneetAtwal:
I did everything correctly but i am always getting FC
[Android Apps and Games] GuneetAtwal:
Here is my stock settings.apk plzz can someone help me out there plzzz
[Android Apps and Games] :
HELP

How do you change the background image of the settings?
[Android Apps and Games] Marek989:
I think they are only in ICS framework
[Android Apps and Games] Ukolino:
same.
[Android Apps and Games] GuneetAtwal:
Here is tutorial for chnaging the setings background for all android versions

Dont forget to hit Tip us and Thanks!!!
[Android Apps and Games] arnabJ:
Suggestion

sir your guide is awesome but it has got some problems.

Like you said to first recompile n then add the icons.

Apktool or any such decompiler/recompiler wilL show error while recompilin.

N yet if i move the icons before hand to drawable ldpi/mdpi, the problem exists.

After goin through the codes I found that your code says that the icons are in drawable folder. Thus when i move the icons there, it recompiled easily n works great.

Hope you understand what i mean to say.

I found this to be a problem for noobs so stated here. :d​
[Android Apps and Games] BohArie:
did u found the way??

Bro balamu96.. did u succeed on adding on/off wifi,bluetooth and data??
[Android Apps and Games] balamu96m:
Still trying....
[Android Apps and Games] Chrizzly92:
thx, will help me out with my custom rom!

@ everyone with FC's:

try it step for step, add only one string at first and one PreferenceCategory.

got FC's too, just edited step after step, compiled it and checked, if it worked or not.
[Android Apps and Games] BohArie:
hope u get it soon.. i cant wait... will give credit to u if i use this tuto for my rom..
[Android Apps and Games] SpaceCaker:
I have got the toggles

But they eont work yet
[Android Apps and Games] vaibhavcoolm:
I am not able to do it..i have tried multi apk tool as well nut when i try to install the settings.apk it says application not installed....please help...
[Android Apps and Games] arnabJ:
It wnt install. Its a system app..

Move it to system/apps folder through a root file browser n then change permissions to rw-r-r

Workin on a newer update For Lunux Os.

Would be available Only through ota update on lunux os v1.7i
[Android Apps and Games] vaibhavcoolm:
Can I put live wallpaper or something like that in my settings background..(I dont want still wallpaper.)can I do it..

---------- Post added at 02:17 PM ---------- Previous post was at 02:13 PM ----------

how can I add Settings icon to the top like the original ICS one

Like This

At the top..

can we do it..
[Android Apps and Games] arnabJ:
U cant put a live wallpaper as the background of settings.apk.

Wat u may do is make its background transparent n then have a live wallpaper active. Then u will see live wallpaper as background.:D

----------------------------------------------------

DO NOT FORGET TO PRESS THANXXX IF I HELPED U.

Workin on a newer update For Lunux Os.

Would be available Only through ota update on lunux os v1.7i
[Android Apps and Games] balamu96m:
Currently looking through the decompiled java source for clues.....
[Android Apps and Games] vaibhavcoolm:
how can we add seperate xml like wireless_settings.xml for "More..." in which we can put the remaining settings... i mean if i have prepared it how to get its android:targetClass for redirecting screen to the one we have added...

---------- Post added at 06:35 PM ---------- Previous post was at 06:23 PM ----------

and how can we change the background...

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

Do i hv to do like this..

like i have created a xml file named vaibhav_sett.xml so in android:targetClass="com.android.settings.vaibhavsett"

I have found all the xml file redirected as this...so is this is correct..
[Android Apps and Games] balamu96m:
No...it won't work....you should have created a special class do to so.....

If you want to get it working, get the AOSP Android 2.3 full source and rebuild the settings.apk with a custom preference screen......
[Android Apps and Games] Killah1994:
awesome guide bud, worked on first try, made my theme buzz
[Android Apps and Games] athanis:
Thanks a lot
[Android Apps and Games] saldymhmd:
error ???

i got this error, can you help me with this problem ?

D:\saldymhmd\ANDROID\Downloads\ApkManager\place-apk-here-for-modding>apktool b S

ettings2

I: Checking whether sources has changed...

I: Smaling...

I: Checking whether resources has changed...

I: Building resources...

D:\saldymhmd\ANDROID\Downloads\ApkManager\place-apk-here-for-modding\Settings2\r

es\xml\settings.xml:75: error: Error parsing XML: mismatched tag

Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutExce

ption: could not exec command: [aapt, p, -F, C:\Users\-SONY-\AppData\Local\Temp\

APKTOOL139320942840812071.tmp, -I, C:\Users\-SONY-\apktool\framework\1.apk, -S,

D:\saldymhmd\ANDROID\Downloads\ApkManager\place-apk-here-for-modding\Settings2\r

es, -M, D:\saldymhmd\ANDROID\Downloads\ApkManager\place-apk-here-for-modding\Set

tings2\AndroidManifest.xml]

at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav

a:193)

at brut.androlib.Androlib.buildResourcesFull(Androlib.java:301)

at brut.androlib.Androlib.buildResources(Androlib.java:248)

at brut.androlib.Androlib.build(Androlib.java:171)

at brut.androlib.Androlib.build(Androlib.java:154)

at brut.apktool.Main.cmdBuild(Main.java:182)

at brut.apktool.Main.main(Main.java:67)

Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\U

sers\-SONY-\AppData\Local\Temp\APKTOOL139320942840812071.tmp, -I, C:\Users\-SONY

-\apktool\framework\1.apk, -S, D:\saldymhmd\ANDROID\Downloads\ApkManager\place-a

pk-here-for-modding\Settings2\res, -M, D:\saldymhmd\ANDROID\Downloads\ApkManager

\place-apk-here-for-modding\Settings2\AndroidManifest.xml]

at brut.util.OS.exec(OS.java:83)

at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav

a:191)

... 6 more

D:\saldymhmd\ANDROID\Downloads\ApkManager\place-apk-here-for-modding>

---------- Post added at 12:26 PM ---------- Previous post was at 12:20 PM ----------

I think this is the problem, right ??D:\saldymhmd\ANDROID\Downloads\ApkManager\place-apk-here-for-modding\Settings2\r

es\xml\settings.xml:75: error: Error parsing XML: mismatched tag

cz when i try decompile and then build the settings.apk it not showing any error, maybe my mistakes with settings.xml :\
[Android Apps and Games] balamu96m:
the reason could be missing some > < / in one or more tags......

post a screen shot your settings.xml opened in notepad++...........:)
[Android Apps and Games] Neverendingxsin:
I definitely want to try this out. Will it work on gingerbread?
[Android Apps and Games] saldymhmd:
hmm, okay. I'll be more careful to edit the .xml and report in again :D

---------- Post added at 04:22 PM ---------- Previous post was at 03:48 PM ----------

few question again, i want to add the 'battery' settings on the main settings screen, and i've found >>>

<PreferenceScreen android:title="@string/power_usage_summary_title" android:key="power_usage" android:summary="@string/power_usage_summary">

<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.fuelgauge.PowerUsageSummary" />

</PreferenceScreen>

on device_info_settings.xml, the question is. Does i only copy the code above to the settings.xml ? or what ? cz on code above there's "android:key="power_usage" android:summary="@string/power_usage_summary">" and its different with the others, thanks :)
[Android Apps and Games] Salo-S:
My Settings.apk is giving a FC when i try to enter on Settings menu

Anyone can help me?

EDIT: Fu**, ITS WORKING NOW
[Android Apps and Games] saldymhmd:
Finnaly i can build it without any error, but i got same problem with you, settings force close, i was set the permissions to rw-r-r- and change the owner to root,root but still like that.

---------- Post added at 05:33 PM ---------- Previous post was at 05:18 PM ----------

how you fix it ? please tell me :|
[Android Apps and Games] SpaceCaker:
Tried again but still couldnt get it to compipe

unwritten sentance
[Android Apps and Games] balamu96m:
I recommend not to copy completely and paste it in your fav order in settings.xml.

Copy n paste a whole preference in settings.xml. Now just make changes in the the one you copied in title-strings, icon, and targetClass. It should not have summary tag.....Then it will be fine......
[Android Apps and Games] saldymhmd:
okay, than, once again, how about the "android:key="power_usage" ??? copy to settings.xml too or not ??? sorry if i to much asking cz i'm noobs with .xml code :p

---------- Post added at 09:14 AM ---------- Previous post was at 09:00 AM ----------

everythings was done, but my Settings force close when i try to open it :|what the hell was wrong :(
[Android Apps and Games] balamu96m:
Have a look at other preferences in settings.xml......if they have 'android key', then use it......they don't then don't use......

I'm also not an expert, just keep learning things !
[Android Apps and Games] varun.chitre15:
Awesome guide!!!!

Worked perfect.

Thanked u on the OP, keep it up!

Here's my shot
[Android Apps and Games] balamu96m:
Great bro !! :D

If you use the icons which i have uploaded, it would look more even, for bluetooth icon !! :D
[Android Apps and Games] SpaceCaker:
Can you still help me ?

unwritten sentance
[Android Apps and Games] balamu96m:
Okay bro...

unwritten sentence ??

try to post a screen shot of your apktool error.......
[Android Apps and Games] SpaceCaker:
Unwritten sentance is from xda app

I posted my full error in a few posts before

Now having same probs

Ive seen that my settings.xml is completely diffrent :(

unwritten sentance
[Android Apps and Games] saldymhmd:
Still confused, still force close :( can you upload your edited settings.xml in here ? i just want to know the correct code

---------- Post added at 02:25 PM ---------- Previous post was at 02:23 PM ----------

maybe that bold lines is the problem
[Android Apps and Games] balamu96m:
using the code tag -

post your settings.xml...........i'll have a look at it.........
[Android Apps and Games] balamu96m:
Your setting.xml is okay, I believe !!

Now the problem is your styles xml..... can compile without any changes??
[Android Apps and Games] arnabJ:
Really a very helpful guide...

Thanxxx bro...

+1

Visit the Official Lunux Os Website.

Click here
[Android Apps and Games] tzpm:
收件人： [GUIDE] ICS Style 'Settings.apk' - Make it yourself !! !!

it's cool.
[Android Apps and Games] out of ideas:
FIrst of all thanks for the great guide balamu. I managed to get a pretty decent settings setup going for my ROM. I might be too new for links or pics and stuff, but its lookin great.

I also got the toggles but they wont work(the graphic switches, but nothing happens){i didnt think of running logcat, but it probably would just register /ViewRoot touchscreen taps}

Im kind of working with this as a similar implementation http://xdaforums.com/showthread.php?t=1899698 adding settings button to status bar.

Im looking at the wirelessSettings.smali and notice a bunch of "wi-fi enabler" code. My problem is (I think) i cant find what would be the "mainActivity" I think. i tried putting all relevant code into settings.smali and it wont recompile and does give me any reason why.

Sorry to sidetrack, but it would be awesome to get these working. i already switched my checkbox.pngs to blue and gray boxes with "on" and "off" in anticipation. haha.

Thought Id throw that out there for any dev types.

EDIT: I put that settings thing in my ROM a month or so ago, but just saw he added a new method to get it. I used the "old" method. It is only kind of the same idea, added a button with function to somewhere it doesnt belong.
[Android Apps and Games] vaibhavcoolm:
hey please help my settings.xml looks completely different as u hv mentions here it is

please help me..
[Android Apps and Games] arnabJ:
Gv ur settings.xml....

Also gv strings.xml

I wil try to mod...

Happy to help...

Visit the Official Lunux Os Website.

Click here
[Android Apps and Games] keemo.rom:
does someone has a custome "settings.apk" for lg p700 ?
[Android Apps and Games] vaibhavcoolm:
Thanks 4 ur interest

here are the files

I have attached Settings.apk + framework-res.apk

Thanks again
[Android Apps and Games] arnabJ:
For which mob??

If am able to mod it then u will get it by today evenin..

Not sure ok.

Have done sucessfully in samaung.

So gonna try ur's too.

Visit the Official Lunux Os Website.

Click here
[Android Apps and Games] vaibhavcoolm:
I will be really thankful to u if u do this 4 me...

i wanna do it in my custom rom but as u see its too complicated for me to do this..

will add ur first credit in my first rom..

i will really appreciating you if u will make me understand what u hv done..coz i wanna add something more to it..well good luck and thnaks again..
[Android Apps and Games] arnabJ:
I will try my best...

Wch mob r u usin??

That will help me alot...

Visit the Official Lunux Os Website.

Click here
[Android Apps and Games] KimeLee:
Like:thumbup:
[Android Apps and Games] arnabJ:
yeah...!!

The mod is ready...

Hope it works....

First try n report if it works perfectly or not.

I have added 3 new shortcuts.

1. Shortcut to holo launcher settings menu.

2. Shortcut to lidroid's quick toggles.[it is of no use for you if ur mob isn't that of samsung.]

3. Shortcut to ota updater app.

If it works perfectly then i will explain each n every step to u.

Or u may just study the modded xmls

don't forget to press thanxxx.

Help buy me a cup of coffee.

Oh ya dont forget to say thanxxx to balamu n give credits to him. After all he is the to teach the mod.

**************************

SAMSUNG GALAXY GT-S5302 GENERAL DISCUSSION THREAD.

**************************

Visit the Official Lunux Os Website.

Click here

**************************
[Android Apps and Games] vaibhavcoolm:
Bro there is no change in my settings.apk here is how it looks before and after

In attachments

I am using Micromax A25 running Stock Gingerbread 2.3.6

I also tried to use Settings.apk from AOSP Rom it works but I m getting FC's while trying to adjurst Volume and Brightness

Is it possible to install both settings.apk simultaneously so that i can link original Settings and brightness screen to AOSP Settings.apk I also want some more features from original Settings.apk So is it possible..??