How to change settings background image on kitkat
pllllllllllllllllllllllllllllllz
Try this:
forum.xda-developers.com/showthread.php?t=2342570
Sent from my GT-N7105 using XDA Premium 4 mobile app
Simple
Wanam exposed
Theme/system holo dark background
Choose image/color
Reboot.
AND CREATE THIS SORT OF THREAD IN THE HELP SECTION, NOT HERE.
Regards.
Sent from my GT-N7100 using XDA Premium 4 mobile app
thanx all but i need to change manuel not via wnam
plllz any dev help me i need this
Romancy said:
thanx all but i need to change manuel not via wnam
plllz any dev help me i need this
Click to expand...
Click to collapse
You need to decompile framework-res.apk, remove tw_backround_holo_dark.xml from res/drawables and add a png image with the appropriate size into drawable-nodpi and (to be sure) even into the other folders which contain drawables. Rename it like the file you removed, but like .png, not xml. Then you must rebuild and so on.
You need apktool and some basic skill. Look for a tutorial, it is easy.
Decompile framework-res.apk
Then open res/drawable/tw_background_holo_dark.xml
change like this:
<?xml version="1.0" encoding="utf-8"?>
<shape
xmlns:android="http://schemas.android.com/apk/res/android">
<solid android:drawable="@drawable/tw_background_holo_dark" />
</shape>
and copy your background (tw_background_holo_dark.png) to drawable-xhdpi folder
compile and have fun.
To be true, both ways do work, though the second one is surely cleaner. My way simply recreates the situation before kit Kat, when there was no XML with its hard coded solid color.
Obviously keeping the XML is better for example when you want to set a transparent background and, in that case, you also need to edit a boolean in styles.
This way should work too
Decompile framework-res
delete res/drawable/tw_background_holo_dark.xml
and replace desired png file and name it tw_background_holo_dark.png to same place.
compile
done.
lucaoldb said:
You need to decompile framework-res.apk, remove tw_backround_holo_dark.xml from res/drawables and add a png image with the appropriate size into drawable-nodpi and (to be sure) even into the other folders which contain drawables. Rename it like the file you removed, but like .png, not xml. Then you must rebuild and so on.
You need apktool and some basic skill. Look for a tutorial, it is easy.
Click to expand...
Click to collapse
thanx maaaaaaan worked for me but dont working in dialr and contacts and i want to help me again plllz
first i want thanx you
i want ask you
1-plllllz tell me how to add apps in secsettings i want add my program in secsettings
2-when decompial secsettings and add name rom happened settings use ram 95m but dont add name or change use 35m
i want to help me whay use 95m and how to reduce ram in settings
3-how to remove icon note3 setting
plllz help me and thanx very much
dr.ketan said:
This way should work too
Decompile framework-res
delete res/drawable/tw_background_holo_dark.xml
and replace desired png file and name it tw_background_holo_dark.png to same place.
compile
done.
Click to expand...
Click to collapse
thanx man worked for me but dont working in dialr and contacts and i want to help me again plllz
first i want thanx you
i want ask you
1-plllllz tell me how to add apps in secsettings i want add my program in secsettings
2-when decompial secsettings and add name rom happened settings use ram 95m but dont add name or change use 35m
i want to help me whay use 95m and how to reduce ram in settings
3-how to remove icon note3 setting
plllz help me and thanx very much
The matter with adding your apps in settings is not as easy as replacing the background. Here is an example, but I think you can find much more http://forum.xda-developers.com/android/themes/guide-how-to-port-mokee-listview-t2808288
Regarding the fact the modified background does not show in contacts and dialer, I am running transparent contacts (not modded by me) on my note 2, and the background (this one edited by me) is correctly shown. To be true, my background is transparent too, but it worked the same with a modified background image. I am not a themer, but I can suggest you should modify the Holo dark background too, to be sure your contacts and dialer don't use it.
Coming to the ram used by secsettings, though your note 3 can surely bear it effortlessly, it could be related to the way apktool rebuilt the apk: zip aligning?
I am fairly a noob in these matters... Sorry.
lucaoldb said:
The matter with adding your apps in settings is not as easy as replacing the background. Here is an example, but I think you can find much more http://forum.xda-developers.com/android/themes/guide-how-to-port-mokee-listview-t2808288
Regarding the fact the modified background does not show in contacts and dialer, I am running transparent contacts (not modded by me) on my note 2, and the background (this one edited by me) is correctly shown. To be true, my background is transparent too, but it worked the same with a modified background image. I am not a themer, but I can suggest you should modify the Holo dark background too, to be sure your contacts and dialer don't use it.
Coming to the ram used by secsettings, though your note 3 can surely bear it effortlessly, it could be related to the way apktool rebuilt the apk: zip aligning?
I am fairly a noob in these matters... Sorry.
Click to expand...
Click to collapse
iam understand you but adding app in secsettings it is easy but dont worked for me see this http://www.youtube.com/watch?v=75ZzDs3seqw and this http://www.youtube.com/watch?v=nk44Fq9mMKU but not worked i dont know (dont compil)
and background iam sory iam dont understand you !!
and i think proplem ram becoz APK tool but i dont know where is the proplem and how to reduce ram in settings ?
Romancy said:
iam understand you but adding app in secsettings it is easy but dont worked for me see this http://www.youtube.com/watch?v=75ZzDs3seqw and this http://www.youtube.com/watch?v=nk44Fq9mMKU but not worked i dont know (dont compil)
and background iam sory iam dont understand you !!
and i think proplem ram becoz APK tool but i dont know where is the proplem and how to reduce ram in settings ?
Click to expand...
Click to collapse
So, if it does not compile, then you mustn't have very likely edited the xml in the right way.
The code to add should be the following
<PreferenceScreen android:title="Your app" android:key="your app" android:fragment="name of the package" />
I suppose, before decompiling, you used
apktool if
both for framework-res.apk and for the tw framework (it maybe important and could cause the issues in compiling).
If everything is right and still it does not compile, please share the log and I am sure that someone more skilled than me will be able to help you.
Regarding the background image, touchwiz uses (as you know) tw_background_holo_dark.xml (or png) but the framewoks still contains background_holo_dark.png, i.e. the standard android background.... Since I am not a themer, I don't know if your dialer needs both backgrounds to be replaced.. Just for me, since it is quite fast, I usually replace both files.
Coming to the ram in settings, I think I don't get what you are asking for, sorry
lucaoldb said:
So, if it does not compile, then you mustn't have very likely edited the xml in the right way.
The code to add should be the following
<PreferenceScreen android:title="Your app" android:key="your app" android:fragment="name of the package" />
I suppose, before decompiling, you used
apktool if
both for framework-res.apk and for the tw framework (it maybe important and could cause the issues in compiling).
If everything is right and still it does not compile, please share the log and I am sure that someone more skilled than me will be able to help you.
Regarding the background image, touchwiz uses (as you know) tw_background_holo_dark.xml (or png) but the framewoks still contains background_holo_dark.png, i.e. the standard android background.... Since I am not a themer, I don't know if your dialer needs both backgrounds to be replaced.. Just for me, since it is quite fast, I usually replace both files.
Coming to the ram in settings, I think I don't get what you are asking for, sorry
Click to expand...
Click to collapse
thanx man but now iam still on this line <PreferenceScreen android:title="Your app" android:key="your app" android:fragment="name of the package" />
what is the next iam add this line and info but waht the next ??
and iam adding frame+TW
my settings bg is transparent and it works great but i have one app called xblast tools and when you click on a setting and the other menu pops up it over laps the previous screen. it only happens on this app. is there anyway to change that so it does not do that and if so could someone point me in the right direction. i know if i use wanam i could change my settings bg to be dark but i dont want to change all of it, just this one app.
Related
Hello Developers,
I want to know how to add the data toggle in notification.
I saw the need to change SystemUI.apk (xml and Smali) but this does not seem to be enough because I have the CF's.
Can you tell me more?
Thank you!
yes please
Yeah i was under the impression that it's Kernel/ROM dependent but its a massive feature im missing coming from a HTC desire running CM7 and im not up for testing the CM nightlies with a new baby to look after just in case my wife needs me asap lol
Please What do not say how to add the data toggle
cerede2000 said:
Hello Developers,
I want to know how to add the data toggle in notification.
I saw the need to change SystemUI.apk (xml and Smali) but this does not seem to be enough because I have the CF's.
Can you tell me more?
Thank you!
Click to expand...
Click to collapse
Wrong thread. You can find out more on " Samsung Galaxy S2 Q&A"
No one answers in Q & A as seems to be the case here.
Why no one wants to unravel the mystery
cerede2000 is right, this is a key feature, that I personally would love to see, on a stockish sgs2 rom.
I've recently noticed the appearance of the data toggle, which was promising, but no way to customise.
perhaps now that the devs are getting more stable roms they could delve further into this?
Ah one can dream.
Hold power button... Data off. hehe
Otherwise, I think Cognition ROM has it.
Yes Cognition have it
But i would add to my stock rom
Juste need answer at what files modified for add data toggle ?
Thanks!
cerede2000 said:
Yes Cognition have it
But i would add to my stock rom
Juste need answer at what files modified for add data toggle ?
Thanks!
Click to expand...
Click to collapse
Posted on your other thread in Q&A... It's in SystemUI.apk, can't say where though.
I try to modify SystemUI.apk in smali files but have FC's
Are you sure is just SystemUI.apk ?
I do not understand when I put directly SystemUI.apk of Cognition ROM it works well.
However when I change my ROM from my stock SystemUI.apk XXKG3 j'obtient one of FC's SystemUI.apk.
Please help me.
Here is my SystemUI.apk : http://www.multiupload.com/15QBK0IX9U
What is wrong with my SystemUI changed.
Thank you!
The reason is that your stock ROM is odexed and the other is deodexed.
This thread should be in the Q&A section.
Absolutely not! I deodex my rom...
Please look at my SystemUI.apk to tell me if something is wrong.
Thank you
cerede2000 said:
Please look at my SystemUI.apk to tell me if something is wrong.
Thank you
Click to expand...
Click to collapse
I didn't saw your nor cognition SystemUI.apk. but pushing the .png is not enough.
You should have to edit and modify .xml (baksmali) :
quickpanel_quick_settings.xml in /res/layout/
ids.xml and string.xml in res/values
don't touch to public.xml as it is auto generated when recompilation with APK_Manager
Not tested, but you should compare the files above
sicopat said:
I didn't saw your nor cognition SystemUI.apk. but pushing the .png is not enough.
You should have to edit and modify .xml (baksmali) :
quickpanel_quick_settings.xml in /res/layout/
ids.xml and string.xml in res/values
don't touch to public.xml as it is auto generated when recompilation with APK_Manager
Not tested, but you should compare the files above
Click to expand...
Click to collapse
I not only added the png. I changed the xml files and smali files.
I edit by hand public.xml.
I'll let ApkManager do I see if I have no FC's.
Great! It's work!
We had to do to just let ApkManager public.xml!
hello
im new in android world and specialy xperia arc
i know how to install roms and other stuff and i have so many problems with my phone and i solved them like battery 0% and ...
i have a question about how can i make my own theme , i wanna customize everything status bar buttons icons and ... i don wanna use go luncher and sth like that.
i wanna do everything from zero to hero
please let me know what should i do and if there is a link can u refer me to it please thanks a lot. and god bless you
i wanna create a theme to make my arc looks like xperia x8 , u know i love the corner buttons of x8
thanks again
theme is base on
- system/framework/framework-res.apk
- system/framework/SemcGenericUxpRes.apk
- system/app/SystemUI.apk
- system/app/Home.apk
basic , You can change all *.png to your style , open & extract apk using winRAR and replace old file using winRAR again.
- save change edited apk
- copy new edited apk to internal memory (/xxx /yyy /root) , change file permission (rw-r--r--) , move file to overwrite old apk target
-always change files permission! before paste & overwrite!! (if not , bootloop!!)
- about Home.apk is Xperia main launcher , before you overwrite apk you must change default launcher to 3rd party launcher (if not , may be bootloop!!)
EDIT:
Delete please, other guy was faster
Sent from my iPad 2 using Tapatalk
Is it possible to change the black fields on my sreenshot? I want them to be at least lighter - example - light grey... I used UOT Kitchen to make my own theme but this can not be changed with it... So, does anybody know what files to change to change that black fields?
Thanks in advance...
Ninolina said:
Is it possible to change the black fields on my sreenshot? I want them to be at least lighter - example - light grey... I used UOT Kitchen to make my own theme but this can not be changed with it... So, does anybody know what files to change to change that black fields?
would also appreciate help on this and also if anyone knows how to change the colour of the white text and grey icons in attached screenshot
Click to expand...
Click to collapse
XperienceD said:
This GUIDE was wrote for the X10, but some of the same principles apply and should help to get you started modding the U.I of your Phone.
Click to expand...
Click to collapse
..........
I dont like black background of all folders or settings in galaxy ace.
Or how to make white menus or background in ace-help with download
give me your framework-res.apk and i will set ios background in settings etc
I've been wondering too myself how to make menu background white. Is there a guide somewhere ? Or do i have to change only one value somewhere ( i.e. ...=000000 to ...=FFFFFF ) ?
no guide unfortunantly
but u need to vhange some stuff to @drawable/background
and then i t will work
if u give me the framework res .apk
i can do it fast
spacecaker said:
if u give me the framework res .apk
i can do it fast
Click to expand...
Click to collapse
can u make transparent?
what file to edit or just replace png file inside drawable/...
Hey, i am a bit noob here decompiling, and compiling system apks, so now im trying to decompile framework-res.apk from my CM7 rom, and i get a 9.png errors when decompiling and another strange one when compiling.
The whole CMD window is attached.
I hope get some help with this, i also got it with CM9 framework.
bump
Sent from my SG Ace
That means the .9 pangs were made wrong. This happens when some tries to take the easy way to theme things. You will not be able to compile it until you fix them
zelendel said:
That means the .9 pangs were made wrong. This happens when some tries to take the easy way to theme things. You will not be able to compile it until you fix them
Click to expand...
Click to collapse
Its because of the theme?
How can i fix it?
Sent from my SG Ace
Adgoosuc said:
Its because of the theme?
How can i fix it?
Sent from my SG Ace
Click to expand...
Click to collapse
Yes its because of the theme. If yo look at each file it says is broken you will have to remake all those .9.pngs properly. A search will teach you how to do it. You will need the android SDK installed for sure for the .9.png tool.
Adgoosuc said:
Its because of the theme?
How can i fix it?
Sent from my SG Ace
Click to expand...
Click to collapse
You either have to edit the .9.png files with the draw9patch.bat file located in \android-sdk\tools.. and copy basically the pixel borders - put up two windows side by side - one stock and the one you are editing. And make sure you only have one new copy of that file in your drawable folder when done.. no normal .png's of the same name.
Or you could just "borrow" those .9.png files from another rom and use GIMP to basically edit the color only and save... just don't decompile them - use 7zip instead.
alteredlikeness said:
You either have to edit the .9.png files with the draw9patch.bat file located in \android-sdk\tools.. and copy basically the pixel borders - put up two windows side by side - one stock and the one you are editing. And make sure you only have one new copy of that file in your drawable folder when done.. no normal .png's of the same name.
Or you could just "borrow" those .9.png files from another rom and use GIMP to basically edit the color only and save... just don't decompile them - use 7zip instead.
Click to expand...
Click to collapse
Editing a .9 png like that is not the prper way to do it. He will just have issues if he tries to decompile it again. This is why alot o themes break when people try to decompile them to learn.
Take some time out OP and learn how to do it properly. The easy way is never right.
zelendel said:
Editing a .9 png like that is not the prper way to do it. He will just have issues if he tries to decompile it again. This is why alot o themes break when people try to decompile them to learn.
Take some time out OP and learn how to do it properly. The easy way is never right.
Click to expand...
Click to collapse
Which way is not proper? The 2nd suggestion was not intended to be a proper way, but it can work.. and the first way I suggested is what I would consider a good way to learn how to draw the patches - by comparison with known working ones..
EDIT - please elaborate on the not being able to decompile it again later though - I was aware of this issue and had come across it - but never new the cause.
EDIT 2 - I just noticed your stats - please share your seasoned wisdom... I have got a lot to learn yet...
Ok, i have a better way to do what i want, i jzut want to edif bools.xml inside values folder, so ill apply default theme, decompile and edit, and then i replace it.
Thanks to all who helped me!
Sent from my SG Ace
Adgoosuc said:
Ok, i have a better way to do what i want, i jzut want to edif bools.xml inside values folder, so ill apply default theme, decompile and edit, and then i replace it.
Thanks to all who helped me!
Sent from my SG Ace
Click to expand...
Click to collapse
The bools XML will be over writted when you flash the theme.
alteredlikeness said:
Which way is not proper? The 2nd suggestion was not intended to be a proper way, but it can work.. and the first way I suggested is what I would consider a good way to learn how to draw the patches - by comparison with known working ones..
EDIT - please elaborate on the not being able to decompile it again later though - I was aware of this issue and had come across it - but never new the cause.
EDIT 2 - I just noticed your stats - please share your seasoned wisdom... I have got a lot to learn yet...
Click to expand...
Click to collapse
Ok the 1 px boarder around the image has to be the last thing applied to an image. You can edit it with gimp and 7zip but that breaks the border settings. This is the reason most .9.pngs break when decompiled.
Currently overlays for navbar height don't work, so this is the only way to kill the navbar for now.
first thing, BE SURE YOU HAVE PIE CONTROL, OR WHATEVER YOU'RE REPLACING THE NAVBAR WITH INSTALLED AND CONFIGURED BEFORE DOING THIS, OR YOU WILL BE STUCK WITH NO BACK OR HOME BUTTON.
also when modifying themes, please don't redistribute them without first getting permission from the author, this info is provided for personal use only.
Open the apk of the theme you want to modify with APK Editor, choose to open it as file replacement.
find com.***.common.apk (*** varies per theme) in the assets folder and extract it by tapping the disk icon next to it
back out of the theme apk, and go find the file you just extracted, and open it, this time as full edit (resource re-build)
click the files tab
under assets > values open public.xml and add the following above the last line:
Code:
<public type="dimen" name="navigation_bar_height" id="0x7f060000" />
<public type="dimen" name="navigation_bar_height_landscape" id="0x7f060001" />
<public type="dimen" name="navigation_bar_width" id="0x7f060002" />
(depending on how much is already in the file, you may need to change the 0x7f6000... values to something thats not already used. just take a look at the other stuff in there and take note how those are numbered)
click save, then go to dimens.xml and add this
(if dimens.xml doesn't exist you'll need to create it and save it on your sd card with the following in it, then add it i the values folder with apk editor by clicking the + at the bottom)
(omit lines 1, 2, and 6 if adding to an existing file, just be sure to insert above the last line so </resources> is at the end)
Code:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<dimen name="navigation_bar_height">0.0dip</dimen>
<dimen name="navigation_bar_height_landscape">0.0dip</dimen>
<dimen name="navigation_bar_width">0.0dip</dimen>
</resources>
click save, then click build, if there are no errors, it will build, and save as gen_signed.apk. rename your original common.apk to something else, then rename the new file exactly the way the original was named.
now go back into your theme apk, again as file replacement, and find common.apk, this time clicking the edit button by it, and selecting your newly created one.
click save, and it will build a new theme apk. close out apk editor, then go find that file, and move it to /sdcard or wherever you want and rename it to something. then install. the modified theme will then show up in theme center.
from there just apply the theme in trial mode, then kill the theme service using whatever method you prefer, to make it stick.
thank you for clarification, I just assume it's from lock.apk coz you know nav icons are from system ui. Will add this to my OP. ?
Great info, thank you. I've been trying to figure this out lately to get a smaller 30pt Navbar.
Question: I have a theme I paid for from the Samsung theme store, but for the life of me, cannot find it with apkeditor or apkextractor. Where can I find the theme's apk so I can make this tweak? I managed to do it with a different theme from an apk I found through Google, but want to apply the smaller Navbar to the theme from the store.
Cheers
Lance55 said:
Great info, thank you. I've been trying to figure this out lately to get a smaller 30pt Navbar.
Question: I have a theme I paid for from the Samsung theme store, but for the life of me, cannot find it with apkeditor or apkextractor. Where can I find the theme's apk so I can make this tweak? I managed to do it with a different theme from an apk I found through Google, but want to apply the smaller Navbar to the theme from the store.
Cheers
Click to expand...
Click to collapse
+1
Lance55 said:
Great info, thank you. I've been trying to figure this out lately to get a smaller 30pt Navbar.
Question: I have a theme I paid for from the Samsung theme store, but for the life of me, cannot find it with apkeditor or apkextractor. Where can I find the theme's apk so I can make this tweak? I managed to do it with a different theme from an apk I found through Google, but want to apply the smaller Navbar to the theme from the store.
Cheers
Click to expand...
Click to collapse
they're stored in/data/app i believe. no way to get to it without root
Million times thank you!!
But for the love of God, I can't find the material dark theme, that I am currently using (And I do believe many of us do use) anywhere on the web.. can someone help me?
Bucika said:
Million times thank you!!
But for the love of God, I can't find the material dark theme, that I am currently using (And I do believe many of us do use) anywhere on the web.. can someone help me?
Click to expand...
Click to collapse
Same here, looking for the theme named Weyo.
Is there any way to get a 0pt nav bar without applying a theme? I saw that there's a mod for s8 just installing a apk, but doesn't seems to work on note 8
Thanks.
iFlasher said:
Is there any way to get a 0pt nav bar without applying a theme? I saw that there's a mod for s8 just installing a apk, but doesn't seems to work on note 8
Thanks.
Click to expand...
Click to collapse
nope, it doesn't work on the note 8
iFlasher said:
Is there any way to get a 0pt nav bar without applying a theme? I saw that there's a mod for s8 just installing a apk, but doesn't seems to work on note 8
Thanks.
Click to expand...
Click to collapse
mandog202 said:
nope, it doesn't work on the note 8
Click to expand...
Click to collapse
We have one now (no need for theme)
https://forum.xda-developers.com/showpost.php?p=74274701&postcount=219