Related
Does anyone know how to remove the stericson lockscreen from the framework so that i have the original lockscreen back. i am running on cyan 4.0.4 with compatible theme- currently melange 0963. i wanted to use xinvert or smorgwhite 4.0.4 but both have stericson's lockscreen. does anyone know how and what to change in the framework or whatever else inside the zip folder. i know how to resign the zip, just need the guidelines on what to insert and remove. i have previous versions of the smorgwhite theme and messed around with the zz files in the new version (i.e. i deleted them got boot loops, replaced them with two files from the 4.0.1 theme of smorgwhite and got boot loops, replaced the framework-res.apk from smorgwhite401 to 404 and got stuck at tmobile g1 and i even replaced the whole framework folder from smorgwhite401 to 404 and again stuck at tmobile g1 screen). id really appreciate the help. thanks
replace services.jar with the one from the theme template cyanogen provides
replace the settings.apk with the one from that same template
replace the framework-res.apk with the one from the template
remove framework.jar from the theme
replace android.policy.jar with the one from the template
with that done run this through ultra spikey's theme porter (the un-modified theme as themeold.zip and the one you pulled all of the files from as themenew.zip) then go into the framework-res.apk/res/drawable folder and remove all of the images that start "zz" they are at the bottom of the folder so they are easy to find.
Now you have the unsigned theme without the lockscreen.
Sign the theme and you are set to flash it.
i haven't tested this, but would imagine it works.
david1171 said:
replace services.jar with the one from the theme template cyanogen provides
replace the settings.apk with the one from that same template
replace the framework-res.apk with the one from the template
remove framework.jar from the theme
replace android.policy.jar with the one from the template
with that done run this through ultra spikey's theme porter (the un-modified theme as themeold.zip and the one you pulled all of the files from as themenew.zip) then go into the framework-res.apk/res/drawable folder and remove all of the images that start "zz" they are at the bottom of the folder so they are easy to find.
Now you have the unsigned theme without the lockscreen.
Sign the theme and you are set to flash it.
i haven't tested this, but would imagine it works.
Click to expand...
Click to collapse
thanks for the quick response man. i'll give this a go
edit: only problem is though, where do i get the theme template since cyanogen removed all of his files after the google issue? so since i don't have the theme template, i just took the files directly from the signed 4.0.4 cyan rom. gonna test it out now
opasha said:
thanks for the quick response man. i'll give this a go
edit: only problem is though, where do i get the theme template since cyanogen removed all of his files after the google issue? so since i don't have the theme template, i just took the files directly from the signed 4.0.4 cyan rom. gonna test it out now
Click to expand...
Click to collapse
will you let me know if this works since it is only a theory of mine
david1171 said:
will you let me know if this works since it is only a theory of mine
Click to expand...
Click to collapse
yeah it works. thanks man. got similar tips from jonnybueno and zilverzurfarn.
Clicking the wiki just now gave me a 404 error and the sticky is a bit long and just a bit outdated in terms of the links.
What programs, apps, vids, etc do I need in order to make themes?
I have been flashing themes left and right and each have their goods and bads. The biggest bad is there doesn't seem to be a well done red theme which I would like to do. I have tried enamored but the notification icons kill it for me.
So again, are there any up to date tutorials on making themes? Thanks in advance for any help.
+1 to that
Sent from my Droid using Tapatalk
A quic and dirty how to
lovethyEVO said:
Clicking the wiki just now gave me a 404 error and the sticky is a bit long and just a bit outdated in terms of the links.
What programs, apps, vids, etc do I need in order to make themes?
I have been flashing themes left and right and each have their goods and bads. The biggest bad is there doesn't seem to be a well done red theme which I would like to do. I have tried enamored but the notification icons kill it for me.
So again, are there any up to date tutorials on making themes? Thanks in advance for any help.
Click to expand...
Click to collapse
shanesol said:
+1 to that
Sent from my Droid using Tapatalk
Click to expand...
Click to collapse
heres the How to
An apk is really just a zip file... apk stands for android package (if i remember correctly). So treat it like a standard zip file.
Youll need a pint program to make changes I use gimp its free so get it here
TIP: Your first theme should really just be a mixing and matching of other themes to get use to the process.
TIP: d/l and look at other themes and see what the have done, using the same process below you can port and mash themes. To see what is themed go to the res/drawable-xxx folders and sorte the png's in there to newest at the top and you'll see what they have changed.
TIP: system/app/xxx.apk are where most apps that are themed are contained in these apks you'll find a res folder and in there you have a bunch of folders. you really on need to look in the drawable-xxx ones mdpi, no-dpi, land and so forth. these pngs make up the apps look and feel changing them will theme the app.
You'll need apk manager this will allow you to sign zips which makes them flashable. get that here
Now get your favorite Rom and make a folder. In that folder make 2 folders one called packed the other called packed. Take your rom and unzip it in the unpacked folder. and then take the original zip and move it to the packed folder.
Next go into the unpacked folder and nav to system/framework.framework-res.apk (this holds the bulk of the android png that make up all the stuff most people change to make a theme) take this apk and unzip it in this folder and then make a copy of the apk and move the copy to the packed folder.
Now when you want to make a change to the framework-res.apk use the unpacked as a reference. us the packed as the change dir, you do this by opening but not unzipping the apk you want to change and just dragging the files you are replacing into the apk, this will replace them. You might want to make a a 3rd folder sorta of a master copy if you ever mess up the packed roms. Remember that in all three of the dirs created you want to keep the dir structure the way you extracted it from the rom and theme.
Now that you have an altered framework-res.apk you can just push it to system/framework folder (i think) and reboot and your changes are in. I never do this since flashable is easier to manage I make a flashable.
A flashable is like a rom but allot smaller, so d/l one of my themes and take the zip file and place in in a folder next to the packed and unpacked folder call it something like staging. now unzip apk manager into the top dir next to 4 other folders you just made.
Now my theme zip can be renamed to whatever you want, your going to use it as a place holder for signing flashable zips. go into the theme zip and delete ever thing in the system folder except the framework folder then go into the frame work folder and delete everything, if you have apps your theming just make the system/app.
Your flashable zip folder should only have a a meta-inf folder and a system folder, the system folder should only have a framework and or app folders. Now drag your altered framework-res.apk into the flashable zip system/framework folder you just cleaned out.
Ok now you have to sign it, copy that flashable zip to the place-apk-here-for-signing folder, this should have shown up when you unzipped apk manager into the folder the also contains unpacked and packed folders.
Now click on the script.bat and you'll see a bunch of option you can do option 16 to sign your zip. it takes a second or two and the date should get updated on the flashable.zip file in the place-apk-here-for-signing folder.
Now you have your new them ready to install. if your changing something else find the apk and replace framework-res.apk in these instruction and it works the same. note that most app reside in system/app so you next to take that into account.
Keep the questions reasonable and I'll answer then.
Thanks simmons. For the most part I have been doing the open apk without extracting and replacing png files. The one thing that I cant seem to get is changing the battery icon...it never sticks. Anyways, do the themes always have to be signed? I know amon 1.8 can flash unsigned zips but do the themes have to be signed always? I will be taking my laptop to work tonight to practice what you outlined. Thanks again.
EDIT: I noticed some themes have com.htc.resources.apk alongside framework res and some have services.jar. What are these for?
No they don't have to be signed but people will complain cause most people don't have the eng spl, it all so protects you from flashing bad stuff. If your only changing the standard 5 battery icons thus method always works.
The services.jar usually room specific and changes things like lock screen behavior mixes These with other roms will cause boot loops be careful.
Sent from my HERO200 using XDA App
Simmons thanks for answering so far.
My last question is to theme the entire phone is it basically the resources, framework, and services.jar files that need to be edited? I understand the apps would be themed themselves and then just included as part of the zip file right?
lovethyEVO said:
Simmons thanks for answering so far.
My last question is to theme the entire phone is it basically the resources, framework, and services.jar files that need to be edited? I understand the apps would be themed themselves and then just included as part of the zip file right?
Click to expand...
Click to collapse
well the service.jar is compiled and therefore can't necessarily be themed you can't hack it or mod it by decompling it or you can change it by compiling changes you made from source but for the sake of normal themes its not needed.
as for the resources I assume your referring to the resources.arsc which is basically a set of compiled xml files. In here it where you can change stuff like how many pngs are associated with the battery status icons (think of circle batter mod which has one icon per percentage instead of the 0 10 20 40 60 80 100 ? icons in the normal aosp rom) changing this can be done with the apk manage by decompiling the framework-res.zpk, making the change and compiling back. but I wouldn't recommend it to a beginner.
The problem with the above is you take the chance of the theme not be cross-rom compatible. For you normal theme all you need to change are the pngs in the res folder of the framework-apk, however somethings like the launcher or the dialer still reside in the app folder and have there own apk.
Oh and I have no question limit.
ASimmons said:
well the service.jar is compiled and therefore can't necessarily be themed you can't hack it or mod it by decompling it or you can change it by compiling changes you made from source but for the sake of normal themes its not needed.
as for the resources I assume your referring to the resources.arsc which is basically a set of compiled xml files. In here it where you can change stuff like how many pngs are associated with the battery status icons (think of circle batter mod which has one icon per percentage instead of the 0 10 20 40 60 80 100 ? icons in the normal aosp rom) changing this can be done with the apk manage by decompiling the framework-res.zpk, making the change and compiling back. but I wouldn't recommend it to a beginner.
The problem with the above is you take the chance of the theme not be cross-rom compatible. For you normal theme all you need to change are the pngs in the res folder of the framework-apk, however somethings like the launcher or the dialer still reside in the app folder and have there own apk.
Oh and I have no question limit.
Click to expand...
Click to collapse
Simmons, thank you very much. Every answer you give is clearing things up more and more for me. I have decompiled a frameworkres before when I was trying to get the circle batt mod onto the odex stock rom so I am not too unawares there. What I want to do is theme the colors on anything and everything along with making the transparent windows such as when you confirm actions and the transparent notification pull down. Are these really accomplished with simply changing the pngs or do I have to edit the xml files? If I must edit the xml files, are there key files to edit or would editing one xml affect another?
lovethyEVO said:
Simmons, thank you very much. Every answer you give is clearing things up more and more for me. I have decompiled a frameworkres before when I was trying to get the circle batt mod onto the odex stock rom so I am not too unawares there. What I want to do is theme the colors on anything and everything along with making the transparent windows such as when you confirm actions and the transparent notification pull down. Are these really accomplished with simply changing the pngs or do I have to edit the xml files? If I must edit the xml files, are there key files to edit or would editing one xml affect another?
Click to expand...
Click to collapse
The xml files really just hold names for the pngs. So for example the pngs for the battery have there names store in the xml (cant remember off hand which one of the decompiled xml from the resource.arsc.. strings??) file and then as the value value next to that filename for what percent to show that specific png at.
But 95% of your theming only involves changing the png files. So to have a clear notification back ground look in the framework-res.apk/res/drawable-mdpi/status_bar_background.png or you want to change the button to unlock your phone framework-res.apk/res/ic_jog_dial_unlock.png or to change the status bar framework-res.apk/res/statusbar_background.9.png
TIP: if you see a png with 9 in the name like xxxx.9.png its basically a stretchable png where the side that you want stechable has a one pixel wide line running the length of the png as a border this tells android that the png should stretch that side until it fills the screen.
9 patch explanation
So aside from editing the xmls for the battery percent everything is just replacong pngs? Thats awesome.
When it comes to apps like the internet browser for example, where would I find the apk? I'm assuming theming the apps is just like themeing the phone in that I just replace the .pngs right? Again your answers are very much appreciated and definitely making things seem easier. Thanks.
Hiya all.
I'm a noob at this too and I want to change the icons of some of the apps installed on my phone and theme a couple of widgets that am using. I have two questions:
1) In the system/app folder of the phone almost all the apps have a xxx.apk and a xxx.odex file. In order to change the png files in the apk does something need to be done with the odex file too?
2) Can I change the png files in the apk files in data/app the way you described above?
Sorry if the questions are noobish
From my Galaxy S loonie-phone
lovethyEVO said:
So aside from editing the xmls for the battery percent everything is just replacong pngs? Thats awesome.
When it comes to apps like the internet browser for example, where would I find the apk? I'm assuming theming the apps is just like themeing the phone in that I just replace the .pngs right? Again your answers are very much appreciated and definitely making things seem easier. Thanks.
Click to expand...
Click to collapse
To theme the browser you can alter the Browser.apk in the system/app and using the direction I posted it works the same way.
And if you make a theme pm me so I can check it out.
Fireloon said:
Hiya all.
I'm a noob at this too and I want to change the icons of some of the apps installed on my phone and theme a couple of widgets that am using. I have two questions:
1) In the system/app folder of the phone almost all the apps have a xxx.apk and a xxx.odex file. In order to change the png files in the apk does something need to be done with the odex file too?
2) Can I change the png files in the apk files in data/app the way you described above?
Sorry if the questions are noobish
From my Galaxy S loonie-phone
Click to expand...
Click to collapse
1. My theming expertise is more with AOSP roms but its my understanding that you should be able to theme a sense rom in the same way by de-odexing a rom. And yes any and all apps are themable if it has a png files in it you can unpack it alter the png's and put them back in the original apk, which overwrites the original png's and resign it and then flash or reinstall it.
2. Yes you can. any and all apks can be themed in the manner I described. for odexed roms search the forum for de-odexing techniques.
Thx for the answer. I'll search about deodexing
From my Galaxy S loonie-phone
Thanks for all the great tips I just got finished porting a theme thanks to all the help!
shanesol said:
Thanks for all the great tips I just got finished porting a theme thanks to all the help!
Click to expand...
Click to collapse
awesome pm some screenies or the op here I'd like to check it out.
ASimmons said:
awesome pm some screenies or the op here I'd like to check it out.
Click to expand...
Click to collapse
It's a simple black/white matte theme called Invertnito. It was made for Sapphire but I like CM too much to give it up lol
ASimmons said:
awesome pm some screenies or the op here I'd like to check it out.
Click to expand...
Click to collapse
Looking to have some sort of base by this weekend. I have just been mix/matching pngs I like from other themes as well as trying to make my own pngs and figuring out the transparency/borders effect. Taking my time but still want to come out with something for critique.
shanesol said:
It's a simple black/white matte theme called Invertnito. It was made for Sapphire but I like CM too much to give it up lol
Click to expand...
Click to collapse
Nice Job.
lovethyEVO said:
Looking to have some sort of base by this weekend. I have just been mix/matching pngs I like from other themes as well as trying to make my own pngs and figuring out the transparency/borders effect. Taking my time but still want to come out with something for critique.
Click to expand...
Click to collapse
Well I'm not much of a critiquer since most of the themeing stuff I've done doesn't go over so well around here (I dont like dark colors, black, dark blue blah blah) really its up to what you like, I made a couple of themes based on what I liked and left it at that. But I'll be glad to look at it and dont forget to make sure that if you use some elses stuff you give them there props in your ops and pm them a warning you going to use it, unless they specify different this is all you should need to do..
ASimmons said:
Nice Job.
Well I'm not much of a critiquer since most of the themeing stuff I've done doesn't go over so well around here (I dont like dark colors, black, dark blue blah blah) really its up to what you like, I made a couple of themes based on what I liked and left it at that. But I'll be glad to look at it and dont forget to make sure that if you use some elses stuff you give them there props in your ops and pm them a warning you going to use it, unless they specify different this is all you should need to do..
Click to expand...
Click to collapse
Definately making note of whose work I use. Though it's kind of hard because my favorite notification icons I have seen in two diff themes and neither one of them mention who was the artist for them. But still keeping at it. And like you I dont care about dark colors unless its used to contrast the main theme color. I'm working on a red theme and there will be some parts that will have a darkish background to help the red border colors and/or text pop more. In time though. Your first post here was definitely a great shove in the right direction.
how difficult is it to port a theme over? i really like Reefermattness's Darkness theme (http://forum.xda-developers.com/showthread.php?t=813497) - but with as vivid as the colors on this phone are, i love the dena994 theme ANDRODeNa GaLaSSiA - (http://forum.xda-developers.com/showthread.php?t=770507) - but its an i9000 theme.
i want to take the dialer, the semi-transparent notification background with the Galaxy S symbol, and maybe even the dark look in menus and such, from the Darkness theme, but the notification pull-down look and the icons from the ANDRODeNa GaLaSSiA theme, and combine the two. im using the Perception ROM, which is i9000-based, so i'd assume id be able to use elements of the ANDRODeNa theme.
how difficult would it be to do so, or an even better question, what would be the steps to do so? (if anyone wanted to take the time to do so, i wouldnt mind that at all either - and donate even).
Since your using an i9000 rom, you'd be able to just use the second theme as is, but the darkness theme would be complicated and I'm not entity sure how you'd do it.
Sent from my SAMSUNG-SGH-I897 using XDA App
DAGr8 said:
No I can try to explain better tho
1 grab the theme you want
2 extract the apk using 7zip
3 Keep only Res folder
4 using winsows's search search for ' XML 'and del them all
5 put Res folder in a folder called the same as the apk you extracted (without the extension)
6 grab any metamorph theme for sgs captivate and replace the folder you just made and using metamorph apply 'sub theme'
Click to expand...
Click to collapse
there you go .
If it's a metamorph theme - it should probably work.
But I would back up your framework-res.apk and wherever the dialer theme is pushed too before attempting it.
Worse case scenario is your phone will boot but will "boot-loop" when attempting to go to your home screen or go to a black screen.
You'd have to re-copy over the *.apk's affected and you would have your phone back.
Another way to do it is before flashing to your latest and greatest (or copying over the *.apk's) you could open up the APK files using WINRAR or your fav zip program and copy the *.png's into them overwriting the existing ones then flash or copy the modified APK files back into your system.
It's a pain... but it does work I've done it many times with positive results.
Hi,
can someone port over the theme MattedBlues for the CM 7 Theme chooser ?
http://forum.xda-developers.com/showthread.php?t=768848
+1
I love this theme and wish this for my Desire
+1 on that one!
+1 I would love this as well I used to use it but ever since CM7 came out with the theme chooser I dont really flash anymore.
But we need to make sure the Dev is okay with it.
Hey everyone,
As one of the devs for MattedBlues I can tell you I'm working on it but I'm not very happy that the Theme Chooser can't theme everything a flashable zip can. What's probably going to end up happening is one of two things:
1: MB gets ported to the Theme Chooser and is missing some things
or
2: MB gets ported to the Theme Chooser and a MetaMorph will be supplied to theme what the Theme Chooser can't theme.
Until then, stay tuned.
beatblaster said:
Hey everyone,
As one of the devs for MattedBlues I can tell you I'm working on it but I'm not very happy that the Theme Chooser can't theme everything a flashable zip can. What's probably going to end up happening is one of two things:
1: MB gets ported to the Theme Chooser and is missing some things
or
2: MB gets ported to the Theme Chooser and a MetaMorph will be supplied to theme what the Theme Chooser can't theme.
Until then, stay tuned.
Click to expand...
Click to collapse
Hey beatblaster! Thanks for the info and looking forward to any progress.
+1 .. eagerly waiting
+1
can't wait !
+10086
can't wait .......
+1 on this one!
Sent from my HTC Desire using XDA Premium App
+2
me too
Nice, can't wait!
Also, if you guys want to you can fairly easily port the theme to your phones. Basically you just merge the files in SystemUI.apk and framework-res.apk with the files from the original CM7 ROM and you are golden!
I don't know if you are allowed to do that, but I can't seem to figure out why you wouldn't be. As long as you don't redistribute it.
KroonBerg said:
Nice, can't wait!
Also, if you guys want to you can fairly easily port the theme to your phones. Basically you just merge the files in SystemUI.apk and framework-res.apk with the files from the original CM7 ROM and you are golden!
I don't know if you are allowed to do that, but I can't seem to figure out why you wouldn't be. As long as you don't redistribute it.
Click to expand...
Click to collapse
Thanks for the tip! What exactly do you mean by merge? Do I just delete the to apk's from the theme zip and replace them with the ones from the CM7 zip? Or do I need some program to actually merge them?
Can't wait for this theme!!!
I would love this theme on my Nexus One!
+1... Theme is amazing!
+1 on this one!
Eirki said:
Thanks for the tip! What exactly do you mean by merge? Do I just delete the to apk's from the theme zip and replace them with the ones from the CM7 zip? Or do I need some program to actually merge them?
Click to expand...
Click to collapse
You open the .apk from the theme (using something like WinRAR) and then you open the .apk from the ROM and simply drag the files from the themed .apk over to the ROM's .apk. Then you put the ROM's .apk (the one that you now have merged with the themed .apk) where the themed .apk was. Then simply flash the .zip.
Hope you understand, got kind of messy. If you do not, I can make it for you!
KroonBerg said:
You open the .apk from the theme (using something like WinRAR) and then you open the .apk from the ROM and simply drag the files from the themed .apk over to the ROM's .apk. Then you put the ROM's .apk (the one that you now have merged with the themed .apk) where the themed .apk was. Then simply flash the .zip.
Hope you understand, got kind of messy. If you do not, I can make it for you!
Click to expand...
Click to collapse
Do I have to edit framework too?
I´m a bloody beginner so I dont know exactly what I should do
I would like to see this theme running on CM7 for Milestone - here is the link http://forum.xda-developers.com/showthread.php?t=941346
Maybe you can help me a little bit
I tried decompiling the standard t-mobile sample theme apk, and copying the res folder and Manifest.xml then re-compiling and signing, but it wont compile.. can someone help me out?
I really am not a fan of the themed apps (i.e. market, dialer, etc) that come packed with themes. Is there a way to only change the framework? The REVOlution and STRUCK themes are awesome but I just can't stand the themed apps.
Thanks in advance.
take the framework.res apk and the htc.resources.apk from you phone
take the same files from the theme
extract the images from the theme files into ythe files from you phone and reload
open the zip using 7zip or whatever you use and delete the apps you dont.
mbh87 said:
open the zip using 7zip or whatever you use and delete the apps you dont.
Click to expand...
Click to collapse
Okay, thanks a lot.
Also you could use NinjaMorph. I use it all the time for just what you are saying. I am running VanillaBean 1.2 with all dark backgrounds and shade etc thanks to NinjaMorph.
Thunderbolt says end of line.