I cant seem to find a way to get the 4 lock screens on just a standard theme, its kinda bothering me why nobody made one for the stock theme..
I guess this is impossible to have with the stock SGS theme.
Im starting to understand why there is no 4 lock screen for the stock theme, its not that is hard to make or anything infact the theme template for the 4 lock screen starts with a stock template then is modified.
Reason I think why nobody ever made a stock theme with 4 lock screens is that a lot of people what to use 4 lock screens and just stay with the standard theme this will make a lot of users abandon their current theme infavor of a stock theme with 4 lock screens, smart way of having people use a theme though.
Do it yourself
Take
android.policy.jar
framework.jar
framework-res.apk
Settings.apk
twframework-res.apk
from a theme with 4 lockscreens.
You can take the files out of this ROM
http://forum.xda-developers.com/showthread.php?t=844514
it's not that heavily modified and works quite well with stock images.
Open framework-res.apk and replace the files inside res/drawable-hdpi(-v4) with files from the stock theme. Do the same for twframework-res.apk.
Build an update.zip and install.
There might be a few xml changes to do, but it will be very, very stock already...
Thanks but Im afraid I dont have time to mess around and learn with it, you might be able to do for us here at XDA?
It's just copy&paste.
No hard things to do...
You need
7-zip
framework-res.apk (modded and stock)
twframework-res.apk (modded and stock)
1.
Open stock framework-res.apk with 7-zip and go to res/drawable-hdpi.
Open modded framework-res.apk with 7-zip and go to res/drawable-hdpi(-v4).
Mark all files in stock framework-res.apk/res/drawable-hdpi and copy over to modded framework-res.apk/res/drawable-hdpi(-v4). Drag&drop.
2.
Open stock twframework-res.apk with 7-zip and go to res/drawable-hdpi.
Open modded twframework-res.apk with 7-zip and go to res/drawable-hdpi(-v4).
Mark all files in stock twframework-res.apk/res/drawable-hdpi and copy over to modded twframework-res.apk/res/drawable-hdpi(-v4). Drag&drop.
That's all.
The other files (android.policy.jar, framework.jar, Settings.apk) don't have to be modified.
If I copy over the contents of the modded framework HDPI to the original frame work wont it look like the modded frame work instead?
So the andriod.policy / framework.jar / settings.apk are the core files to have the 4 screens working and not really the framework-res.apk ?
Apart from the other changes, we will need to modify the settings APK...
this is because we want to see the option of selecting one of teh four lockscreens in the settings...
apart from this, the drawable-hdpi folder just has the icons, to add the functionality, we need to modify the classes.dex file which is within the jar file...
not such an easy task for someone new to modding...
msri3here said:
Apart from the other changes, we will need to modify the settings APK...
this is because we want to see the option of selecting one of teh four lockscreens in the settings...
apart from this, the drawable-hdpi folder just has the icons, to add the functionality, we need to modify the classes.dex file which is within the jar file...
not such an easy task for someone new to modding...
Click to expand...
Click to collapse
I have zero experience with theme modding, Im only a kernel/rom flasher and Im pretty good at it ( who isnt ? )
Im currently using a theme, the only one I like that gives the Ginger look w/o the extra bells and whistles of changed icons ( http://forum.xda-developers.com/showthread.php?t=873825 )
Maybe someone can be so kind enough to add the 4 lock screen there ?
msri3here said:
Apart from the other changes, we will need to modify the settings APK...
this is because we want to see the option of selecting one of teh four lockscreens in the settings...
apart from this, the drawable-hdpi folder just has the icons, to add the functionality, we need to modify the classes.dex file which is within the jar file...
not such an easy task for someone new to modding...
Click to expand...
Click to collapse
You don't have to.
scheichuwe said:
...
Take
android.policy.jar
framework.jar
framework-res.apk
Settings.apk
twframework-res.apk
from a theme with 4 lockscreens.
...
Click to expand...
Click to collapse
Please read before posting...
Edit:
@EarlZ
You can try this tool
http://forum.xda-developers.com/showthread.php?t=737526
Lets see if I got this
the 4 lock screen is dependent on the following files
android.policy.jar
framework.jar
Settings.apk
and the UI looks depends on these:
twframework-res.apk
framework-res.apk
So basically I can use any 4 lock screen theme and just overwrite it with the stock twframework and framework on it ?
EDIT:
By just replacing the twframework-res and framework-res the phone is not usable, it does boot and when the home screen loads it vibrates and goes into a endless reloading loop if ever you get a chance to go to the settings to choose the lock screen when you lock then unlock the device theres no lock screen visible.
When you want the clean gingerbread look you should take a 4 lockscreen theme that has these black menu background (when you hit menu-softkey) as your base.
Here are some
http://forum.xda-developers.com/showthread.php?t=898892
http://forum.xda-developers.com/showthread.php?t=899471
http://forum.xda-developers.com/showthread.php?t=854191
http://forum.xda-developers.com/showthread.php?t=864112
Just a few examples, there are more...
I mentioned it before:
There might be some xml edits that have to be done (colors for texts etc.), but the icons will be stock...
EarlZ said:
...
EDIT:
By just replacing the twframework-res and framework-res the phone is not usable, it does boot and when the home screen loads it vibrates and goes into a endless reloading loop if ever you get a chance to go to the settings to choose the lock screen when you lock then unlock the device theres no lock screen visible.
Click to expand...
Click to collapse
That's why I wrote this
scheichuwe said:
...
Take
android.policy.jar
framework.jar
framework-res.apk
Settings.apk
twframework-res.apk
from a theme with 4 lockscreens.
...
Click to expand...
Click to collapse
Related
Can someone please make a "theme" with the stock framework from jpy or js3 that just has the 4 lock screens and extended menu?
Thanks a lot!
You could've just written your wishes here, here or here.
No need for opening new thread really. And there are even more threads, I just browsed through pages, didn't even use the search function.
cicer0 said:
You could've just written your wishes here, here or here.
No need for opening new thread really. And there are even more threads, I just browsed through pages, didn't even use the search function.
Click to expand...
Click to collapse
Thanks, one thread was nice, I missed that one!
I just read them all and nobody was able to make a stock theme with the lockscreens and extended menu. So I'm back to my original request; can someone with more skills please make one and share it?
I can't believe none of the talented modders here can't make a stock theme with 4 lockscreens and extented menu. This could be used as base for many of the less skill-full theme modders such as myself a lot.
You think you are a
spasms said:
...less skill-full theme modders such as myself ...
Click to expand...
Click to collapse
?
So, this should be no problem for you.
http://forum.xda-developers.com/showpost.php?p=10750365&postcount=4
Give it a try!
Edit:
I wrote a little guide, it may help you a bit:
4 lockscreen mod
You need to have a deodexed ROM to install the 4 lockscreen mod.
1.
Download
Code:
framework-res.apk
twframework-res.apk
framework.jar
android.policy.jar
Settings.apk
from this http://forum.xda-developers.com/showthread.php?t=844514 ROM. It's not that heavily modified, so it should work quite good with stock icons.
2.
Take
Code:
framework-res.apk
twframework-res.apk
from your stock Samsung-ROM and open
framework-res.apk/res/drawable-hdpi using 7-zip.
3.
Open the modded
framework-res.apk/res/drawable-hdpi(-v4) using 7.zip.
4.
Copy all ICONS from stock framework-res.apk/res/drawable-hdpi to modded framework-res.apk/res/drawable-hdpi(-v4).
Close framework-res.apk (both)
5.
Open stock
twframework-res.apk/res/drawable-hdpi using 7.zip.
6.
Open the modded
twframework-res.apk/res/drawable-hdpi(-v4) using 7.zip.
7.
Copy all ICONS from stock twframework-res.apk/res/drawable-hdpi to modded twframework-res.apk/res/drawable-hdpi(-v4).
Close twframework-res.apk (both)
8.
Take all your modded 4 lockscreen files (framework-res.apk, twframework-res.apk, framework.jar, android.policy.jar and Settings.apk) and build an update.zip.
9.
Make a backup and install your update.zip
You should now have a pretty stock Samsung-theme with working 4 lockscreen mod.
10.
There will be some themed icons left (e.g. charging animation), some xml have to be edited.
I'll help when you need help.
Thanks a lot fo the guide. I will give it a go and maybe share my silly ROM if I'm happy with it.
scheichuwe said:
You think you are a
?
So, this should be no problem for you.
http://forum.xda-developers.com/showpost.php?p=10750365&postcount=4
Give it a try!
Edit:
I wrote a little guide, it may help you a bit:
4 lockscreen mod
You need to have a deodexed ROM to install the 4 lockscreen mod.
1.
Download
Code:
framework-res.apk
twframework-res.apk
framework.jar
android.policy.jar
Settings.apk
from this http://forum.xda-developers.com/showthread.php?t=844514 ROM. It's not that heavily modified, so it should work quite good with stock icons.
2.
Take
Code:
framework-res.apk
twframework-res.apk
from your stock Samsung-ROM and open
framework-res.apk/res/drawable-hdpi using 7-zip.
3.
Open the modded
framework-res.apk/res/drawable-hdpi(-v4) using 7.zip.
4.
Copy all ICONS from stock framework-res.apk/res/drawable-hdpi to modded framework-res.apk/res/drawable-hdpi(-v4).
Close framework-res.apk (both)
5.
Open stock
twframework-res.apk/res/drawable-hdpi using 7.zip.
6.
Open the modded
twframework-res.apk/res/drawable-hdpi(-v4) using 7.zip.
7.
Copy all ICONS from stock twframework-res.apk/res/drawable-hdpi to modded twframework-res.apk/res/drawable-hdpi(-v4).
Close twframework-res.apk (both)
8.
Take all your modded 4 lockscreen files (framework-res.apk, twframework-res.apk, framework.jar, android.policy.jar and Settings.apk) and build an update.zip.
9.
Make a backup and install your update.zip
You should now have a pretty stock Samsung-theme with working 4 lockscreen mod.
10.
There will be some themed icons left (e.g. charging animation), some xml have to be edited.
I'll help when you need help.
Click to expand...
Click to collapse
You've written this guide several times and even for me, I gave up on this coz I never got it to work, boot loops or stuck on the boot logo, are you able to make a 100% stock JS3 theme with the 4 lock screen mod and just post the finished product here, its easier for everyone and for you to just post the finished product.
I would assume you've already tried the method you posted above?
Works fine on JPY. Flash in CWM. Backup first.
http://dl.dropbox.com/u/5906223/xda/stock_4lockscreen.zip
Not 100% stock, I left some work for you
Battery icons have to be changed, you'll make that.
thx a lot scheichuwe. i've tried on doc rom xwjs3 and the 4 lockscreen works. but i found some bug
- %d%% text appear instead of ongoing in notification bar
- "ongoing" text appear instead of clear button in same place
- when i click on wi fi or bluetooth wrong text appear instead of on/off text
- when empty battery notification appear. again, wrong text appear
so how do i fix that? thx in advance.
id's differ - jpy <-> js3
for simple, just copy decompiled public.xml, strings.xml [cause apktool_dummy..] from stock js3-framework-res.apk (/res/values/)
to decompiled jpy-folder
then just compile and at last change png's within framework-res.apk (/res/drawable-hdpi-v4/)
attached file / stock js3 framework
Any full stock rom deodexed with the extras to download?
scheichuwe said:
You think you are a
?
So, this should be no problem for you.
http://forum.xda-developers.com/showpost.php?p=10750365&postcount=4
Give it a try!
Edit:
I wrote a little guide, it may help you a bit:
4 lockscreen mod
You need to have a deodexed ROM to install the 4 lockscreen mod.
1.
Download
Code:
framework-res.apk
twframework-res.apk
framework.jar
android.policy.jar
Settings.apk
from this http://forum.xda-developers.com/showthread.php?t=844514 ROM. It's not that heavily modified, so it should work quite good with stock icons.
2.
Take
Code:
framework-res.apk
twframework-res.apk
from your stock Samsung-ROM and open
framework-res.apk/res/drawable-hdpi using 7-zip.
3.
Open the modded
framework-res.apk/res/drawable-hdpi(-v4) using 7.zip.
4.
Copy all ICONS from stock framework-res.apk/res/drawable-hdpi to modded framework-res.apk/res/drawable-hdpi(-v4).
Close framework-res.apk (both)
5.
Open stock
twframework-res.apk/res/drawable-hdpi using 7.zip.
6.
Open the modded
twframework-res.apk/res/drawable-hdpi(-v4) using 7.zip.
7.
Copy all ICONS from stock twframework-res.apk/res/drawable-hdpi to modded twframework-res.apk/res/drawable-hdpi(-v4).
Close twframework-res.apk (both)
8.
Take all your modded 4 lockscreen files (framework-res.apk, twframework-res.apk, framework.jar, android.policy.jar and Settings.apk) and build an update.zip.
9.
Make a backup and install your update.zip
You should now have a pretty stock Samsung-theme with working 4 lockscreen mod.
10.
There will be some themed icons left (e.g. charging animation), some xml have to be edited.
I'll help when you need help.
Click to expand...
Click to collapse
I tried this and my icons changed which was nice but I didn't get the lockscreen or extended menu.
I will try and make one theme soon with only 4 lockscreen and extended settings. I have tried a lot of themes now, but stock icons are really fine for me.
One is to green or to blue or whatever....
I just want a "clean" docrom with JS5 and only 4 lockscreen and extended settings. That's all !
Keep an eye on
http://forum.xda-developers.com/showthread.php?t=952579
If someone could instruct me on how to re-archive the factoryfs.rfs file I think I could make a ROM that can be flashed with Odin so its all there from a clean install with all the lock screens and extended menu.
I've extracted the files with MagicISO but if I resave them with it, it doesn't seem to flash properly. I think the file system has changed because I'm using MagicISO.
I've just tried some of the themes available here against the apkmanager tool - decompiling and then compiling the framework-res.apk and twframework-res.apk and all of the custom themes give tons of errors (sometimes won;t even compile back) .. the only one that goes without troubles is the stock framework-res.apk and twframework-res.apk
I'm just wondering whether this is correct or not and where is the issue - is it apkmanager or the themes that are wrong ?
w83 said:
I've just tried some of the themes available here against the apkmanager tool - decompiling and then compiling the framework-res.apk and twframework-res.apk and all of the custom themes give tons of errors (sometimes won;t even compile back) .. the only one that goes without troubles is the stock framework-res.apk and twframework-res.apk
I'm just wondering whether this is correct or not and where is the issue - is it apkmanager or the themes that are wrong ?
Click to expand...
Click to collapse
I never had much luck with APKManager, that's why I use APKTool.
Try v1.3.1 if you can find it, 1.3.2 has problems.
Apk Manager uses apktool too.
@w83
Take a look at log.txt.
I guess it's due to corrupted .9.png.
Solution:
Replace all modded .9.png with original files, decompile, make your changes, compile.
Then you can put in your modded .9.pngs again...
scheichuwe said:
Apk Manager uses apktool too.
@w83
Take a look at log.txt.
I guess it's due to corrupted .9.png.
Solution:
Replace all modded .9.png with original files, decompile, make your changes, compile.
Then you can put in your modded .9.pngs again...
Click to expand...
Click to collapse
Is it really a solution ? .. cause it seems like all of the modded .9.pngs are basically broken
You're right, let's say workaround
For fixing your modded .9.png search for xUltimate draw 9 patcher. I don't know what it's called exactly.
But for editing framework-res.apk the workaround should be acceptable.
I can manage to decompile the theme (usually with some patched pngs messed up) but when I try to compile it (even without any changes) I end up with tons of errors in the form:
apktools/vagreen_frame/res/values/public.xml:3760: error: Public symbol drawable/zzzzz_tw_quickcontact_top_frame declared here is not defined.
(lots of these ones)
any idea what's wrong ?
w83 said:
I can manage to decompile the theme (usually with some patched pngs messed up) but when I try to compile it (even without any changes) I end up with tons of errors in the form:
apktools/vagreen_frame/res/values/public.xml:3760: error: Public symbol drawable/zzzzz_tw_quickcontact_top_frame declared here is not defined.
(lots of these ones)
any idea what's wrong ?
Click to expand...
Click to collapse
Once your 9.pngs are poorly done, errors such as the above would appear. There were only 6 9.png errors and the log generated a loh file size of 130+kb. But once solved, all errors were eliminated.
Sent from my GT-I9000 using XDA App
scheichuwe said:
You're right, let's say workaround
For fixing your modded .9.png search for xUltimate draw 9 patcher. I don't know what it's called exactly.
But for editing framework-res.apk the workaround should be acceptable.
Click to expand...
Click to collapse
I'm either using the android sdk draw9patch to generate the pngs or even GIMP to do it. Just make sure the first and last row/column must be either alpha or black. No other colours are allowed there.
Sent from my GT-I9000 using XDA App
g00ndu said:
I'm either using the android sdk draw9patch to generate the pngs or even GIMP to do it. Just make sure the first and last row/column must be either alpha or black. No other colours are allowed there.
Click to expand...
Click to collapse
Ok so ur saying that after I should correct the patch 9 pngs in the framework and it should compile correctly ? .. so two options: [1] decompile, replace the pngs with correct ones, compile ? .. or .. [2] correct pngs, compile in eclipse, replace in framework, decompile, compile ?
I am pretty sure that I've already tried correcting them using [1] and it didn't help at all .. I was still flooded with errors ..
I guess I'll try to modify things from the bottom up .. take the stock theme with extended menu and play around with it .. are there any significant changes in the .jars inside the /system/framework in most of current themes ?
but still it would be way nicer if I could decompile and compile one of current themes without errors .. I'm so curious how the theme gurus are doing it .. I envy their knowledge
w83 said:
...
but still it would be way nicer if I could decompile and compile one of current themes without errors .. I'm so curious how the theme gurus are doing it .. I envy their knowledge
Click to expand...
Click to collapse
Replace all modded .9.png with original files, decompile, make your changes, compile.
The person who made the theme did it lazily and incorrectly. The first couple versions of my ROM had this problem. Did some research into how .9 PNGs work.
If you want to fix them, I can tell you how. It's a bit tedious.
scheichuwe said:
Replace all modded .9.png with original files, decompile, make your changes, compile.
Click to expand...
Click to collapse
Yep that worked perfectly !! Thx mate for that
I'll try to mod something and see how it works
MikeyMike01 said:
The person who made the theme did it lazily and incorrectly. The first couple versions of my ROM had this problem. Did some research into how .9 PNGs work.
Click to expand...
Click to collapse
Most of the available themes can't be compiled and decompiled without errors
w83 said:
Most of the available themes can't be compiled and decompiled without errors
Click to expand...
Click to collapse
But mine can.
Spent a couple days fixing every .9 PNG one at a time. All you have to do is:
Decompile the unthemed .apk
Copy the broken PNG equivalents from the unthemed .apk
Decompile the themed .apk
Delete the broken .9 PNGs
APK Manager will rename the broken xxxxx.9.png to xxxxx.png
Open the non-broken PNGs in your favorite image editor
Delete everything but the 1 pixel border
Paste the edited PNG over it, without touching the 1 pixel border
Save
Recompile the themed.apk
MikeyMike01 said:
But mine can.
Spent a couple days fixing every .9 PNG one at a time. All you have to do is:
Decompile the unthemed .apk
Copy the broken PNG equivalents from the unthemed .apk
Decompile the themed .apk
Delete the broken .9 PNGs
APK Manager will rename the broken xxxxx.9.png to xxxxx.png
Open the non-broken PNGs in your favorite image editor
Delete everything but the 1 pixel border
Paste the edited PNG over it, without touching the 1 pixel border
Save
Recompile the themed.apk
Click to expand...
Click to collapse
Thank you so very much for sharing this info!!!
MikeyMike01 said:
But mine can.
Click to expand...
Click to collapse
Perfect
MikeyMike01 said:
Delete everything but the 1 pixel border
Paste the edited PNG over it, without touching the 1 pixel border
Click to expand...
Click to collapse
You can just edit the broken png in draw9patch (or gimp or whatever) but sticking to the patch 9 png rules
Thanks for sharing !
Could you briefly explain how the editing in draw9patch is done, please.
MikeyMike01 said:
But mine can.
Spent a couple days fixing every .9 PNG one at a time. All you have to do is:
Decompile the unthemed .apk
Copy the broken PNG equivalents from the unthemed .apk
Decompile the themed .apk
Delete the broken .9 PNGs
APK Manager will rename the broken xxxxx.9.png to xxxxx.png
Open the non-broken PNGs in your favorite image editor
Delete everything but the 1 pixel border
Paste the edited PNG over it, without touching the 1 pixel border
Save
Recompile the themed.apk
Click to expand...
Click to collapse
But lets say I want to change the default blue of 'statusbar_background.9.png' to full plain black. If I leave the 1 pixel border and fill the rest to black, wouldn't I have a blue border in the status bar?
brittosa said:
But lets say I want to change the default blue of 'statusbar_background.9.png' to full plain black. If I leave the 1 pixel border and fill the rest to black, wouldn't I have a blue border in the status bar?
Click to expand...
Click to collapse
No, there's a special one pixel border that has black and transparent pixels that tell the system how to stretch the image without making it look stretched.
That's why you'll note that .9 PNG files are buttons and other things that are used to make different sized objects.
Sent from my Captivate.
Hello everyone.I would like to ask something and i hope someone will answer.
I'm fan of some themes.But in one theme i like that and in the other i like that.
Is there a way to make a mix of them and how?
Thanks in advance!!!
Yes, it is possible.
https://docs.google.com/Doc?docid=0AcdxIJRSH9ypZGZzc2pxNDlfMjdnazk4OHNxZA&hl=en
http://forum.xda-developers.com/showthread.php?t=916814
Thanks a lot.Now i need a lot of study to accomplise that!!!
you can easily change the png files in the framework-res.apk and the twframework-res.apk of any theme's zip.just take any theme as a base and change the pngs within opening the theme and then the apks by winrar or something like it.the pngs are stored in the drawable-hdpi and/or drawable-hdpi-v4 folders.
Whenever I try to change framework res, and replace the old edited frameworkres I get bootloops. After that I have to flash a stock rom with odin and then flash my cooked rom. Even if I push the original framework res.apk, that doesn't solve the problem. No issue with twframework res.apk. I can edit twframework res .APK and works fine.
Please help.
try using 7zip instead, its better at replacing files
aditya104 said:
Whenever I try to change framework res, and replace the old edited frameworkres I get bootloops. After that I have to flash a stock rom with odin and then flash my cooked rom. Even if I push the original framework res.apk, that doesn't solve the problem. No issue with twframework res.apk. I can edit twframework res .APK and works fine.
Please help.
Click to expand...
Click to collapse
reflashing a whole rom shouldn't be necessary
first of all, you should make a backup of your system, just in case
and you should always keep a working theme on your phone so that if you get stuck at boot, you just boot into CWM and flash the working one and everything should be fine again
and for your basic problem of editing themes, have a look at R64s guide:
http://forum.xda-developers.com/showpost.php?p=10383323&postcount=577
explains all the basic stuff and works great for me
Hello dear Forum...
First off I have to apologize if I missed something in a sticky,
since I'm new to the forum and the hole rooting/customizing on my GT I-9000.
I've successfully rooted my phone and I'm running Darky_v10_RC5_Final now.
Could anyone provide a link or an explanation how to:
# set own icons for apps
# set lockscreen (as its said there are 4 different ones on this ROM; plus changing the lockscreen image in the settings is not quite working for me)
# setting another theme - if not too complicated.
many thanks in advance - seems to be a truly nice community!
reimi said:
I've successfully rooted my phone and I'm running Darky_v10_RC5_Final now.
Click to expand...
Click to collapse
Final ?? When did it come out ?? Didn't find on Darky's website.
Sorry , wasn't logged in.
GT-I9000 said:
Final ?? When did it come out ?? Didn't find on Darky's website.
Click to expand...
Click to collapse
its the files name, I downloaded from somewhere in this thread:
http://forum.xda-developers.com/showthread.php?t=814091
reimi said:
Hello dear Forum...
First off I have to apologize if I missed something in a sticky,
since I'm new to the forum and the hole rooting/customizing on my GT I-9000.
I've successfully rooted my phone and I'm running Darky_v10_RC5_Final now.
Could anyone provide a link or an explanation how to:
# set own icons for apps
# set lockscreen (as its said there are 4 different ones on this ROM; plus changing the lockscreen image in the settings is not quite working for me)
# setting another theme - if not too complicated.
many thanks in advance - seems to be a truly nice community!
Click to expand...
Click to collapse
To change the icon in an apk, you need to get the apk, open it with winrar and go to drawable-hdpi
There are pngs there. Normally, the icon one is called icon.png, but on some apps, it has a different name, for example ic_launcher_phone.png
You edit it and substitute it.
Then you push the apk back into your phone into /system/app in case it's a system app or you just copy the apk to your sdcard and install it.
Lockscreen background may not work with some specific lockscreens.
For a theme, to make one you'd need to edit the pngs in framework-res.apk/drawable-hdpi (opening it with winrar) and then push it back. That's for changing icons and part of the appearance, but to change text colours and other things you'd need to decompile the apk and edit some xml's.
To apply a theme you just need the zip of the theme, copy it into your sdcard and install it through cwm.
coldflid said:
To change the icon in an apk, you need to get the apk, open it with winrar and go to drawable-hdpi
There are pngs there. Normally, the icon one is called icon.png, but on some apps, it has a different name, for example ic_launcher_phone.png
You edit it and substitute it.
Then you push the apk back into your phone into /system/app in case it's a system app or you just copy the apk to your sdcard and install it.
Lockscreen background may not work with some specific lockscreens.
For a theme, to make one you'd need to edit the pngs in framework-res.apk/drawable-hdpi (opening it with winrar) and then push it back. That's for changing icons and part of the appearance, but to change text colours and other things you'd need to decompile the apk and edit some xml's.
To apply a theme you just need the zip of the theme, copy it into your sdcard and install it through cwm.
Click to expand...
Click to collapse
thank you for the answer!
Is there no way to change the icons of stock applications?
And how may I change the lockscreen?
could you please give me a link, or something how to apply themes via cwm - to be honest I don't even know what cwm is.
sorry for all the questions - many thanks in advance!
reimi said:
thank you for the answer!
Is there no way to change the icons of stock applications?
And how may I change the lockscreen?
could you please give me a link, or something how to apply themes via cwm - to be honest I don't even know what cwm is.
sorry for all the questions - many thanks in advance!
Click to expand...
Click to collapse
Sorry, had lost track of this thread.
You can change the icon of stock applications in same way, but you must be rooted since they are located in system/app
For the lockscreen, to theme the glass lockscreen, you need to edit the pngs in framework-res.apk/res/drawable-hdpi named zzz_unlock_arrow_0000.png up to zzz_unlock_arrow_0009.png and the zzz_unlock_blackbg.9.png and zzz_blackbg_dual.9.png
To theme puzzle lockscreen:
edit zzz_unlock_puzzle_noti_icon_unlock and zzz_unlock_puzzle_noti_icon_unlock_fit
For android lockscreen (in framework-res.apk/res/drawable-land-hdpi):
ic_jog_dial_unlock
ic_jog_dial_sound on
ic_jog_dial_sound off
For epic unlock on framework-res.apk/res/drawable-hdpi
mod zz_unlock_lockbg_press
mod zz_unlock_lockbg_press
In case you want to get a stock framework and get aosp lockscreen:
To get aosp lockscreen you'd need to decompile classes.dex in android.policy.jar and edit a few files.
For that, i use ubuntu.
You open android.policy.jar and extract classes.dex
Then get baksmali and smali and place them in the same location as classes.dex
Open up a terminal and type cd and the location
Example:
cd /home/coldflid/Desktop
Then type java -jar baksmali-1.2.5.jar classes.dex
(if you've got another version of bajsmali change the 1.2.5 for the version you have).
You can type java -jar baksmali-1.2.5.jar classes.dex -o *
Where * is the name of the folder where you want classes.dex to be decompiled
Then you'd need to mod LockPatternKeyGuardView.smali or replace it with a modded one.
Then type in terminal
Then type java -jar smali-1.2.5.jar *
Where * is the name of the folder where classes.dex was decompiled
out.dex should be generated, rename it to classes.dex and copy it to android.policy.jar (replace the old one).
Then use root explorer to copy it to system/framework
coldflid said:
Sorry, had lost track of this thread.
You can change the icon of stock applications in same way, but you must be rooted since they are located in system/app
For the lockscreen, to theme...
Click to expand...
Click to collapse
thank you for the answer!
I'm currently using LockBot Pro to change the locksreen and its background, works fine for me.
I'll try to change the stock app icons as soon as I have time. Thanks!
coldflid said:
Sorry, had lost track of this thread.
You can change the icon of stock applications in same way, but you must be rooted since they are located in system/app...
Click to expand...
Click to collapse
I'm currently trying to substitute the stock app icons.
My question is, how I can find out, which of all those images is used for the menu and how can I browse the folders on my pc, which I can browse on my phone via root explorer...
thanks for the answer!
Hello, I am looking forward on creating my own them for Galaxy S2, so I suppose I need to find where all the icons are located.
I will probably open the stock samsung theme graphics in photoshop and edit them, so any idea where they are located?
Is this the correct way of doing it?
ZenorGR said:
Hello, I am looking forward on creating my own them for Galaxy S2, so I suppose I need to find where all the icons are located.
I will probably open the stock samsung theme graphics in photoshop and edit them, so any idea where they are located?
Is this the correct way of doing it?
Click to expand...
Click to collapse
Easy and beginers way:
Start with UOT kitchen: http://uot.dakra.lt/
Get the SystemUI.apk and framework-res.apk from the rom which you want to theme. Upload it to the kitchen and edit what you want.
Cook the theme and flash it with CWM as an update.
More advanced:
Get the toucwiz's framework and Settings.apk, you can edit png's of settings menu and touchwiz launcher. (you can not do this with UOT kitchen)
And check out this thread: http://forum.xda-developers.com/showthread.php?t=916814
GOOD LUCK!
Thanks Dark Emotion, good guide!
Dark Emotion said:
Easy and beginers way:
Start with UOT kitchen: http://uot.dakra.lt/
Get the SystemUI.apk and framework-res.apk from the rom which you want to theme. Upload it to the kitchen and edit what you want.
Cook the theme and flash it with CWM as an update.
More advanced:
Get the toucwiz's framework and Settings.apk, you can edit png's of settings menu and touchwiz launcher. (you can not do this with UOT kitchen)
And check out this thread: http://forum.xda-developers.com/showthread.php?t=916814
GOOD LUCK!
Click to expand...
Click to collapse
Thank you, what about the Notification bar power controls? Where can these be found?
ZenorGR said:
Thank you, what about the Notification bar power controls? Where can these be found?
Click to expand...
Click to collapse
In the UOT kitchen: go to icons (check "Use this mod"), scroll down and check "Notification Power Buttons" and just choose any icon set you want. You can choose between 8 types of icons.
No I meant, in which apk are they found, so I can replace them with my own.
Is it on the framework-res.apk or systemUI.apk ?
/edit: Found them, on SystemUI.apk -> res folder
But it seems they are indexed png images, so can't edit them in photoshop. I suppose I will have to replace them.
Ok one more question would be, is it possible to change the color of the White popup windows?(like the one that popus when you long press the power button).
I know it's possible to edit the background color, but what about the font color? I suppose it's found on the xml.
Here's how the popup is displayed on kitchen:
ZenorGR said:
Ok one more question would be, is it possible to change the color of the White popup windows?(like the one that popus when you long press the power button).
I know it's possible to edit the background color, but what about the font color? I suppose it's found on the xml.
Here's how the popup is displayed on kitchen:
Click to expand...
Click to collapse
Sorry man but I don't know answer to that question.
Well I found that the font colors may exist on framework-res\res\values\colors.xml if you decompile framework-res.apk
But after changing a color value, I then compiled the apk, replaced the new on on my phone and got boot loop so I had to re-flash a different theme to unstuck.
If anyone got any idea on how to change the font colors let me know!
If you have a search in the "how to theme" thread (link already posted) I put up a zip that I had lying on my desk top that tells you where to find a lot of the text colours.
The only problem with editing these is some apps will still use their own colour code and could cause problems like readability.
Hope this helps.
Edit: I had them on my sd card, credit to the creator!!!
In which page dully?
ZenorGR said:
In which page dully?
Click to expand...
Click to collapse
I've posted them in my last post m8
Oh now I see it, so the one I am looking for is bright_foreground_light color. I want that in white, so the hex would be this one right? #ffffffff
Well that's what I did, then compiled the framework-res and replaced it on the Systems folder, then rebooted the phone but I got a reboot loop.
Any suggestions?
What did you use apkmanager?
If so did you answer yes and yes then delete what you modified from the keep folder
I used apktool:
apktool b framework-res(folder)
but as I can see now, the new apk compiled it's missing the META-INF folder, maybe that's why?
/edit:
So I just tried with apk-manager, I used the same method then compiled (answered yes/yes) now I have this:
unsignedframework-res.apk
But getting an error when trying to sign it.
ZenorGR said:
I used apktool:
apktool b framework-res(folder)
but as I can see now, the new apk compiled it's missing the META-INF folder, maybe that's why?
/edit:
So I just tried with apk-manager, I used the same method then compiled (answered yes/yes) now I have this:
unsignedframework-res.apk
But getting an error when trying to sign it.
Click to expand...
Click to collapse
Don't sign it, you don't sign system apks.
Just delete the "unsigned" part or rename to framework-res.apk and push or flash and it should work.
Ok thanks.
I just replaced it but no go, the font is still black(atleast there is no boot loop this time).
I suppose I messed up the part on apk_manager where it says to delete any files you modified on the "keep" folder.
On keep folder there was no value/colors.xml(colors.xml is the one I edited the bright_foreground_light).
Cheers
Did you delete resources.arsc?
No, let me try again.
Success! Dude you rock! Thanks a lot, for providing lot's of great info about this, here it is: blue font and full black pop-up menus.
Also attached two more shots of the theme I am making:
ZenorGR said:
No, let me try again.
Click to expand...
Click to collapse
Basically resources.arsc is the"hidden" xml folders that become visible when you decompile.