How to build my own theme? - Galaxy S II Themes and Apps

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.

Related

Is there a 4 lock screens with a stock theme

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

[Q] Theme errors in apkmanager compile/decompile

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.

Customize your phone (theme/icons/locksreen)

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!

[Q] How to remove current wallpaper?

Is it even possible to remove default wallpaper? Sorry for the stupid question.
If what you mean is to change the default wallpaper, I think you could modify the framework-res.apk file. There's a resource file called default_wallpaper.png (or close to that, I forget ) change it with an image you want, I believe there's a tutorial about that in XDA
If you want to change your current wallpaper, you could do a long press at your homescreen and select wallpaper
Hope this helps,
Regards,
Reidzeibel
Sent from Ridwandroid-2.3.6 : 1804 MHz OC & Customized I8150DXLA2 Stock ROM w/ Cowithgun's kernel & Zeppelinrox V6 Script
reidzeibel said:
If what you mean is to change the default wallpaper, I think you could modify the framework-res.apk file. There's a resource file called default_wallpaper.png (or close to that, I forget ) change it with an image you want, I believe there's a tutorial about that in XDA
If you want to change your current wallpaper, you could do a long press at your homescreen and select wallpaper
Hope this helps,
Regards,
Reidzeibel
Sent from Ridwandroid-2.3.6 : 1804 MHz OC & Customized I8150DXLA2 Stock ROM w/ Cowithgun's kernel & Zeppelinrox V6 Script
Click to expand...
Click to collapse
Yeah yeah! Default wallpaper is what i meant. Where is this framework-res.apk file that i can change? Hmmm.
I found the framework-res.apk file, but couldn't find the default_picture.png?
SyzwnFrzRdz said:
Yeah yeah! Default wallpaper is what i meant. Where is this framework-res.apk file that i can change? Hmmm.
Click to expand...
Click to collapse
This is how I did it :
1. Your phone must be rooted
2. Install "root explorer" or such application (I assume you know how to use it, if not, google it, it's not hard,really)
3. Copy the original framework-res.apk (in /system/framework/framework-res.apk) to your SD card, copy it to your PC.
4. Use 7-zip to open the framework-res.apk from your phone
5. Move to "\framework-res.apk\res\drawable-hdpi\" (see screenshot)
6. Look for "default_wallpaper.jpg" (see screenshot again)
7. Now, you could just change that file with another file, choose the wallpaper of your choice, and resize it to match the resolution of the "default_wallpaper.jpg" (if it's 400x800, your new file SHOULD have the same resolution, to prevent... I don't know, just to be on the safe side )
8. Rename your new file to Default_wallpaper.jpg, and drag it to the 7-zip window with the original default_wallpaper.jpg, overwrite it
9. Push the new framework-res.apk to your phone (use root explorer or adb, I used the root explorer)
10. Reboot phone
NOTE!!
I haven't tried to change the default wallpaper, but I do change many parts of the framework-res.apk, DO AT YOUR OWN RISK!
Here's the screenshot of my expanded Notification bar :
http://s1-03.twitpicproxy.com/photos/full/502609161.png
Hope this helps,
Regards,
Reidzeibel
reidzeibel said:
This is how I did it :
1. Your phone must be rooted
2. Install "root explorer" or such application (I assume you know how to use it, if not, google it, it's not hard,really)
3. Copy the original framework-res.apk (in /system/framework/framework-res.apk) to your SD card, copy it to your PC.
4. Use 7-zip to open the framework-res.apk from your phone
5. Move to "\framework-res.apk\res\drawable-hdpi\" (see screenshot)
6. Look for "default_wallpaper.jpg" (see screenshot again)
7. Now, you could just change that file with another file, choose the wallpaper of your choice, and resize it to match the resolution of the "default_wallpaper.jpg" (if it's 400x800, your new file SHOULD have the same resolution, to prevent... I don't know, just to be on the safe side )
8. Rename your new file to Default_wallpaper.jpg, and drag it to the 7-zip window with the original default_wallpaper.jpg, overwrite it
9. Push the new framework-res.apk to your phone (use root explorer or adb, I used the root explorer)
10. Reboot phone
NOTE!!
I haven't tried to change the default wallpaper, but I do change many parts of the framework-res.apk, DO AT YOUR OWN RISK!
Here's the screenshot of my expanded Notification bar :
http://s1-03.twitpicproxy.com/photos/full/502609161.png
Hope this helps,
Regards,
Reidzeibel
Click to expand...
Click to collapse
Step 4 is not that clear Reidzeibel, you mean open it on my phone or PC?
Oh sorry, I mean, open the file on your PC (it's the one that you modify, and later push it to overwrite the original framework-res.apk)
And before doing anything to your handheld, prepare a nandroid backup just in case. I did a nandroid backup everytime I modify the Android system files.
Regards,
Reidzeibel
reidzeibel said:
Oh sorry, I mean, open the file on your PC (it's the one that you modify, and later push it to overwrite the original framework-res.apk)
And before doing anything to your handheld, prepare a nandroid backup just in case. I did a nandroid backup everytime I modify the Android system files.
Regards,
Reidzeibel
Click to expand...
Click to collapse
Dude :
-I extracted framework-res.apk using 7zip on my PC.
-I replaced the default wallpaper with my desired wallpaper.
-Now, i do not know how to compressed it back to .apk file.
No, don't extract it, just open it in 7-zip and leave it opened, don't extract, don't do anything, just find the image file you want to change, resize it to match the resolution of "default_wallpaper.jpg".
I've attached two more screenshots to show you, hope it helps
Regards,
Reidzeibel
P.S:
-In the "drag" screenshot, I replaced three files, those with entries on the "created" and "accessed" field are the ones I replaced, the files I edit are shown in the explorer window behind the 7-zip window
reidzeibel said:
No, don't extract it, just open it in 7-zip and leave it opened, don't extract, don't do anything, just find the image file you want to change, resize it to match the resolution of "default_wallpaper.jpg".
I've attached two more screenshots to show you, hope it helps
Regards,
Reidzeibel
P.S:
-In the "drag" screenshot, I replaced three files, those with entries on the "created" and "accessed" field are the ones I replaced, the files I edit are shown in the explorer window behind the 7-zip window
Click to expand...
Click to collapse
Bro,
I did exactly as you show the steps above and it suddenly reboots! Why it happened?
EDIT :
By doing all those methods, will it change the lockscreen a well?
P/S : Do you know how to modify the transition when locking the phone? Just asking!
SyzwnFrzRdz said:
Bro,
I did exactly as you show the steps above and it suddenly reboots! Why it happened?
EDIT :
By doing all those methods, will it change the lockscreen a well?
P/S : Do you know how to modify the transition when locking the phone? Just asking!
Click to expand...
Click to collapse
Uh, I had no reboot while doing the push, I rebooted manually after having several force close windows popped up (in my case), but then after reboot, it works normally. Is the default wallpaper changed?
No, Lockscreen wallpaper have it's own option in the settings->display
And for the transition, no I didn't have time to try it yet. But I do want to learn how to change my phone lockscreen transition into ICS manually (without theme) <--- this, or your question is about the crt-animation when screen turns off (locking phone)?
reidzeibel said:
Uh, I had no reboot while doing the push, I rebooted manually after having several force close windows popped up (in my case), but then after reboot, it works normally. Is the default wallpaper changed?
No, Lockscreen wallpaper have it's own option in the settings->display
And for the transition, no I didn't have time to try it yet. But I do want to learn how to change my phone lockscreen transition into ICS manually (without theme) <--- this, or your question is about the crt-animation when screen turns off (locking phone)?
Click to expand...
Click to collapse
1. My phone rebooted itself and then there were some FC's with the launcher. I clicked on Force Close and it is back to normal. My default wallpaper changed as i desired as well! Thanks to you Reidzeibel!
2. For lockscreen wallpaper, there's nothing related to modifying the framework, is it?
3. Due to lockscreen transition, i meant that by changing the transition into ICS manually because i LOVE the old-tv-like transition!
SyzwnFrzRdz said:
1. My phone rebooted itself and then there were some FC's with the launcher. I clicked on Force Close and it is back to normal. My default wallpaper changed as i desired as well! Thanks to you Reidzeibel!
2. For lockscreen wallpaper, there's nothing related to modifying the framework, is it?
3. Due to lockscreen transition, i meant that by changing the transition into ICS manually because i LOVE the old-tv-like transition!
Click to expand...
Click to collapse
1. Mine was : Force close ALL THE WAY =___=, then the notification bar screwed up, all applications icon turned to default, the phone became laggy, then I rebooted manually. There's the thanks button, click it, LOL
2. As far as I know, All theme-related files are :
-Framework-res.apk
-SystemUI.apk
-Settings.apk
These three files have some connection to the theme, I themed my notification bar as in the first post by modifying Framework-res and SystemUI. The ICS theme file in the Theme Thread has the three files included inside it. Thus to edit the lockscreen transition, I believe you have to edit the three files, in a more complicated way (might have to deodex, decompile, recompile, smali-ing, and so on)
3. Actually you could just apply the ICS theme, and then modify the framework-res.apk to enable the CRT-animation, it is easier than porting the ICS theme to your own framework-res.apk
reidzeibel said:
1. Mine was : Force close ALL THE WAY =___=, then the notification bar screwed up, all applications icon turned to default, the phone became laggy, then I rebooted manually. There's the thanks button, click it, LOL
2. As far as I know, All theme-related files are :
-Framework-res.apk
-SystemUI.apk
-Settings.apk
These three files have some connection to the theme, I themed my notification bar as in the first post by modifying Framework-res and SystemUI. The ICS theme file in the Theme Thread has the three files included inside it. Thus to edit the lockscreen transition, I believe you have to edit the three files, in a more complicated way (might have to deodex, decompile, recompile, smali-ing, and so on)
3. Actually you could just apply the ICS theme, and then modify the framework-res.apk to enable the CRT-animation, it is easier than porting the ICS theme to your own framework-res.apk
Click to expand...
Click to collapse
1. Clicked it already! Hehe.
2. I think i'm gonna opt that out as i do not how to do those complicated stuffs, well i'm not a dev.
3. ICS Theme? Where do i find it? And how do i modify to enable CRT-animation? I have so much to learn! Sorry for the excessive '?'.
1. Thanks for clicking thanks )
2. I'm not a dev too -_-, but I do learn some stuffs to modify my I8150, read many topics here, and I'm sure you'd be able to personalize your I8150
3. There's one at the Theme thread, But I haven't tried it yet, If you want to try it, make sure you create a nandroid backup beforehand.
No worries about the excessive "?"
Actually I have a thread in another forum that explains about the CRT-animations and modifying SystemUI & Framework-res.apk, read it somewhere in XDA. (forget where it is) Too bad it is in Indonesian Language, too busy to translate it into english, maybe later I'll post at the theme section, as it is all about theme. *and I just reached 10 post here on XDA, thanks to you too )*
reidzeibel said:
1. Thanks for clicking thanks )
2. I'm not a dev too -_-, but I do learn some stuffs to modify my I8150, read many topics here, and I'm sure you'd be able to personalize your I8150
3. There's one at the Theme thread, But I haven't tried it yet, If you want to try it, make sure you create a nandroid backup beforehand.
No worries about the excessive "?"
Actually I have a thread in another forum that explains about the CRT-animations and modifying SystemUI & Framework-res.apk, read it somewhere in XDA. (forget where it is) Too bad it is in Indonesian Language, too busy to translate it into english, maybe later I'll post at the theme section, as it is all about theme. *and I just reached 10 post here on XDA, thanks to you too )*
Click to expand...
Click to collapse
Mister Reidzeibel, thanks for the short reply as well as your helps. I appreciate it dude! Thanks AGAIN! For default wallpaper, i'm really quite satisfied with the outcome. For the lockscreen, maybe i'll just use my picture as one. HAHA! And for the lockscreen transition, i have posted a new thread about it and i'll just...wait for someone to provide me the tips to do so! Good day bro!

[Full guide][ICS/JB] Make your own theme!! [09-03-2013]

About me
I didnt see any thread with ALL guides in ONE place. And I think alot people want to know how to do this or that. Its also clearer for myself to have an all-in-one placed tutorials! So with all the help of awesome people and myself Im gonna teach you stuff! All credits goes to other people. Ask Q ONLY in this thread! Dont expect too much: I modify this thread very rarely!
Requirements
Notepad++ [editing /xml]
Apktool [Basic knowledge of compiling apks] Helpfull link: click
Root explorer [to push apk back to your phone]
7zip [to replace .pngs]
Nandroid backup [important]
Guides
1. How to get custom statusbar?
To replace your statusbar with a custom .png go to:
SystemUI.apk/res/values/drawables.xml search this line
Code:
<item type="drawable" name="status_bar_background">
make changes as
Code:
<item type="drawable" name="status_bar_background">@drawable/statusbar</item>
now place statusbar.png file in drawable folder then recompile.
2. How to get my home-screen?
http://www.youtube.com/watch?v=hVoXrS-RWBY
3. How to delete text under toggles?
This is hardest part cuz Lidroid is 'different'. First, follow this to succesfully decompile it: http://forum.xda-developers.com/showpost.php?p=31991217&postcount=1
After that, go to: res\layout\power_widget_button.xml
Add this: visibility="gone" to TextView and it should be gone now!
You can also delete the text WiFi, Bluetooth, Silent, etc. in the strings.xml in values folder!
4. How to modify framework?
Just replace .pngs in your drawable-res-hdpi folder!
This will change all system actions, like pop-up look, buttons look, and alot more!
5. How to change background in settings / dialer?
Remember: You CANT change for dialer AND settings it can only be done for both. Go to framework-res.apk > res > drawable-nodpi > tw_dialog_bg [kind of this]
And replace with SAME format and same name! now you hav this bg in file manager, settings, an much more!
6. How to change grid size of touchwiz launcher?
http://forum.xda-developers.com/showthread.php?t=1990801
This thread tells you which size: http://forum.xda-developers.com/showthread.php?t=1990801
And this is also usefull: http://forum.xda-developers.com/showpost.php?p=28561607&postcount=1690
7. Change icon of system apps [dont work with market ones]
Go to the apk and look for the icon, just extract the folders and you'll see it. Replace it with an icon-pack from this thread: clik
So no need to decompile and after this just push back to sysem/app dont forget to set perm.
8. Custom bootanimation on stock based kernels [speedmod]?
So, we love the stability and battery of speedmod kernel. But also get rid of the boring samsung boot. The steps:
Your bootanimation MUST HAVE FINITE REPEAT VALUES, otherwise you will be stucked in a beautiful boot loop.
*What is this?
Open your zip and see the txt file. The number after all "p" must be HIGHER than 0. It means how many times this part will repeat, and 0 is infinite
1- Pick your desired bootanimation.zip and make two clones. Rename them to ODEAnim.zip and sanim.zip
3- Move the three zip files to /system/media
4- Go to /system/bin. Backup and delete the file samsungani. Rename the file bootanimation (this file you find in this folder; it ISNT your zip file) to samsungani.
5- Reboot
Error guides
* By theming you ll always run into problems. Like bootloops. Mostly its with framework-res.apk. If you get bootloop try this: click And if your system suddendly reboots after replacing framework-res its normal, just wait and reboot one more time. You can also try wipe cache and dalvik! But it isnt normal when u got statusbar fc then you have recompile errors or did sth wrong.
* When you try to push files back after theming and your file manager says: cannot paste. That means you havent enough space in your /system partition. Deleting useless [system] apps and 'tts' folder can free up alot! U can also buy micro SD and with TB move apps2sd
:good:
---------- Post added at 09:34 PM ---------- Previous post was at 09:26 PM ----------
Thanks
WALLPAPERS!!! IF U WANNA KNOW WHERE I GOT MY AWESOME WALLS HEAD OVER TO THIS AWESOME THREAD CREDITS FOR ROSARIA! http://forum.xda-developers.com/showthread.php?t=1942169&page=13
NEW!!!
I made blue clock for lockscreen!!
Download pngs here: http://www.mediafire.com/?c3segwhvay411v9
Replace in framework/res/drawablehdpi
AW: [THEME][MOD][4.2.1 XWLSD] Blue Steel
Nice Theme, good Work
Can you tell me where you have changed the text?
http://img843.imageshack.us/img843/4318/20130226223431.png
Regards Marcel
marcel2909 said:
Nice Theme, good Work
Can you tell me where you have changed the text?
http://img843.imageshack.us/img843/4318/20130226223431.png
Regards Marcel
Click to expand...
Click to collapse
WHERE ARE THE DOWNLOADS AND SCREENSHOTS???? I CANT SEE THEM HERE ON THIS THREAD
bold and red just to get attention..dont get offended... just gimme the theme if its beautiful
marcel2909 said:
Nice Theme, good Work
Can you tell me where you have changed the text?
Regards Marcel
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=2162055
After that, move folder meta-inf and manifest from ORIGINAL to your new.apk. Otherwise you get weird errors and bootloop. Happy theming!
Update: New screenshots coming!!
Update v3!!!
Hey people..I updated almost EVERYthing and like to share it with you, go to post 1! You can also ask me things if you wanna know how2doit! Hope u like it ^^
EDIT: I CHANGED THE PURPOSE OF THIS THREAD, I WILL PROVIDE TUTORIALS FOR THEMING FOR JUST ANYTHING AND IT GETS UPDATED ONCE IN A WHILE
Re: [THEME][4.1.2] Cyanginger all-in-one mod[8-3-13]
Request link
Spoiler
Device : GT I9100
Rom : WanamLite V14.3
Hey, I dont know if it also works on wanam, [i have omegarom] but you can always try it.. Make nandroid FIRST
This is my systemui, with custom statusbar, wallpaper and MUCH more! http://forum.xda-developers.com/showpost.php?p=38912032&postcount=96
In attachment
If it doesnt work u can always ask me what you want I couldnt teach or do it for you. In my free time!
Rene_ajax said:
5. How to change background in settings / dialer?[/B]
Remember: You CANT change for dialer AND settings it can only be done for both.
Click to expand...
Click to collapse
Not entirely true, depends on the theme being used as the base.
nice to see that my teaching was not in vain
keep learning.
jackq said:
nice to see that my teaching was not in vain
keep learning.
Click to expand...
Click to collapse
yu mate. Then nobody have to ask again and again and also to give you credits thanks alot again!
I wil add more but dont have time right now
might try it out

Categories

Resources