boot animations from inside framework how to "how they do it" - Android Themes

Do u make custom roms with your own special touch or make slim roms
First off this is old I figured this out back in 2011 Lol so mod edit if to old or every one knows how 2
Basically i ported some roms to Xperia Range
and always like the uploads to be under 100 meg
this means some things must go .boot animation first
so then you are left with Google android logo animation
View attachment 1329594
View attachment 1329596
Boring yes
So i thought im going to try theme these pngs ,see what happens!
this is what was possible by just using 2 pngs
View attachment 1329582View attachment 1329581
links here final out outcome these are just a mock ups for info sake
https://www.youtube.com/watch?v=dFmT21vK0bw&feature=youtube_gdata_player
http://www.youtube.com/user/totalchris08?feature=BF
different one
http://www.youtube.com/watch?v=Yamb1l0zsy4&feature=plcp
kxp one
http://www.youtube.com/watch?v=ht5KGCMdci8&feature=plcp
more aokp ones
http://www.youtube.com/watch?v=YIArS8atAkU&feature=plcp
HOW 2
yes i know there is apps on market for this ---but that would be to easy lol
but here is the basics
unzip your framework-res.apk
u now will see a folder called assets
inside there u have images folder
in there is your 2 pngs to replace
there named
android-logo-shine.png this is your background png
android-logo-mask.png this is your front png
You want to remake them how u like or try the ones i posted
HERE
View attachment 1329580 zipped up in case upload brakes em
here is some i saved in early progress
View attachment 1329585View attachment 1329584View attachment 1329583
now zip back up your framework-res but it will now be framework-res.zip push this to phone and rename .apk,
give correct permissions
RW
R
R
baring in mind when editing !
that shine png moves from left to right
and that mask does not move
this is totally useless to most people as they prob never change boot-animation
i hope some of yous see the potential in it
i think rom cookers n porters n slim rom makers is where im directing this not at general users
but hey they might like it to i have seen some great artists here
info
find out your screen size for your parameters
for this i was used a Xperia Neo
so screen size was 5oo wide 900 tall ruffly
this will work on any rom stock or custom
have fun please only try if understood
Please no thanks save them for your favorite dev :thumbup:​

Mod edit if of no use these days as I see it in most ROMs its just for messing with
Sent from my HTC One using xda app-developers app

Related

[Q] Getting started on making themes.

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.

One Click Theme Injector (Updated 11/15) With HDPI to MDPI resizing!! RE-READ THE OP

READ THIS FIRST:
The original post is here alot of questions have been answered, here browse around there first.
UPDATE 9 PATCH TWEAKS:
This new version will port your favorite hdpi theme to an mdpi rom... yes 9 patch resizing. I want to be the first to say this is not 100% and it probably never will be, and over the next couple of days we can discuss this.
What it will do is resize every 9 patch in a rom and move it over to the mdpi theme. Yes this is the same method I used for all my hdpi ports.
What it might not get is the 9 patching data correctly, which means that it might get stretched incorrectly, most times you won't noticed but others it will be obvious. This will happen anywhere from 1% to 30% of the 9 patch pngs in a port, but all you will need to do is redraw them using the 9 patch draw tool in the adb folder.
My next version will have this included along with some instructions, along with font and boot animation porting.
Please respect other peoples work. If you port a theme using this and repost it don't just link back to the op... mention the author and give them props.
Also want to say I spent a looooong time trying to figure this out, and I tried many different ways, and I'm open to others suggestion on making this better
Oh and don't forget to to install Image Magick, its included and the HDPI to MDPI will not work without this.
This tool will take your favorite theme and inject it into your favorite rom... provided they are compatible with each other (might work if they aren't but thats for later). I did this cause alot of themers and people who like themes are always waiting for the nightly theme to get applied, well this will do it for you.
You can think of this as almost a theme installer.
INSTRUCTIONS by Norm12:
1. Download and extract.
1.5 Install image magick from the image magick folder... just run the installer and its ready to go. This is important the hdpi to mdpi will not work without it.
2. Copy both the theme and rom into the 1 click folder---the extracted one.
3. Open the 1-click folder and you should see your theme, rom, lib folder, and the injector script.
4. Doubleclick on the injector script----if you did everything correct it will open a cmd prompt
5. Enter the names of the rom and theme when asked...I did use the exact names and added ".zip" to the end.
5.5 Answer y if this is an hdpi to mdpi port otherwise n.
6. Hit enter and wait. When it is really done it will auto-close the cmd prompt. This may take 15 minutes.
7. Your newly themed rom will be in the same folder as the unthemed rom and theme zips. If it worked it should be slightly larger than the original rom. Enjoy
!!!IMPORTANT... BECAUSE 7ZIP SHOWS OUTPUT IGNORE THE "EVERYTHING IS OK" LET THE SCRIPT FINISH WHEN ITS DONE IT WILL CLOSE ITSELF IF YOU DOUBLE CLICKED IT OR IT WILL RETURN TO COMMAND PROMPT!!!
Ignore any errors your seeing while it runs, this is normal like before let it run completely through till it closes out.
Run time could be up too 20 minutes (60 with HDPI to MDPI) on a big theme/rom, but faster that waiting!
You must now install Image Magick if you would like to use the hdpi to mdpi resizing!
ISSUES:
There also seems to be an issue with the gallery3d.apk and the differences in the mdpi and hdpi version. For now remove this from the theme your porting otherwise it won't come out right.
Update 4:
HDPI to MDPI porting!!!!!
Update 3:
Removed verbose but added optopng verbose just let it run. It works but you have to let it finish, the cmd window will close it self.
Update 2:
Added verbose output so that you guys will know to close it out before its done...even tho 7zip says everything is ok... just let it do its thing.
Update 1:
Had the optimization stuff commented out... sorry its back on.
Script will clean up now after it finishes.
JAVA CLASSPATH:
Its needed for the signer to work properly goto a command prompt and type in java -version. if you get and error back java is not in your classpath and needs to be.
just right click on my computer, then goto properties, then click on the advanced tab, at the bottom click on the "Environment Variable" button.
Now click on the new button... the one on the bottom for system variable and put in this
variable name: JAVA_HOME
variable value: C:\<path-to-where-java-is>
Now click ok and select the path system variable and then click edit. IMPORTANT only append to the end of the value this... ;%JAVA_HOME%\bin
then click ok and ok out of all those windows and open a new command prompt and type java -version you should get no error if you do your path to java was wrong follow the steps above again and make sure the path is correct.
WHAT THIS WON'T DO:
It won't port over xml or smali edits.
It wont port over what it can't find... so if your theme has a facebook widget or something but the rom does not then it will ignore that.
It will not port over fonts or anything other than the framework-res.apk and all the themes apks in the system/app folder. If this is popular Maybe other stuff can get included.
WHAT THIS WILL DO:
Shrink a 9 patch from HDPI size to MDPI size.
Push over all the themes pngs from the apk with it to the roms matching apk.
Optimize every png in the theme you are porting over.
Zip align all the apks in your newly themed rom.
Sign the newly themed rom.
Give me feed back.
I might make this easier and make the injector steal the apks for injection right from your phone and then inject and make a flashable to put right back on... tell me what you think.
New HDPI to MDPI version with 9 patch porting download
reserved 10char..
Nice work
Sent from my HTC Desire using XDA App
TheRedDrake said:
Nice work
Sent from my HTC Desire using XDA App
Click to expand...
Click to collapse
Thank you. hasn't caught on in this forum yet i guess.
I'll try this out now, this seems easier than the theme porter that's already on the forum.
Looks promising! I will try it out right now!
dl and try after work
will this work for porting themes to the HTC Tattoo?? does it rescale the theme to suite the phone?
vura said:
will this work for porting themes to the HTC Tattoo?? does it rescale the theme to suite the phone?
Click to expand...
Click to collapse
This will port any theme to any rom... provided they are compatible. So while you can go from a sense theme and inject it into a AOSP rom, it probably won't catch everything since it works off of matches. It also does not have any scaling included.
The biggest thing with this is that the theme and rom have to have a same file structure so all rom come and the have the system/app folder and the system/framework/framework-res.apk, this is what the injector looks for. So honestly you could build a theme from a buncha different apks from other themes it will inject that into your rom and give you back a flashable zip. So a good theme structure example would be Gommarah's Black Mod in the HERO CDMA forum.
I do however have a way to port HDPI theme to and MDPI ROM but its not 100%... if I get enough request I'll put it in its just the process I use to accomplish this is very complicated and requires some extra software, its also adds a significant overhead to the script run time (and 3x longer to run) It works in the since the it will shrink the HDPI 9patch png but the 9 patch data is wrong about 10-20% of the time. This won't cause the roms to force close but will just make some of the 9patch pngs to stretch wrong and would require a simple edit in the 9patch draw to fix it.
+1 for hdpi to mdpi scaling!
Any others want the hdpi to mdpi scaling? I've considered releasing it.
Sent from my PC36100 using XDA App
Just curious if I did this right as I am still fairly new to this whole scene and this whole process seemed to work way to easy. But basically I got both the rom and theme converted and then signed both zips. Does that mean that I can now successfully flash the new theme? Thanks in advance!
theu2621 said:
Just curious if I did this right as I am still fairly new to this whole scene and this whole process seemed to work way to easy. But basically I got both the rom and theme converted and then signed both zips. Does that mean that I can now successfully flash the new theme? Thanks in advance!
Click to expand...
Click to collapse
There is no need to sign anything, the injector will sign the final output zip. Take your theme zip and your rom zip and place it in the folder next to the script. Then just run the script when its finished you will get a a new zip called themed-<roms-name>.zip.... this is ready to flash (optoed, align and signed).
ASimmons said:
Any others want the hdpi to mdpi scaling? I've considered releasing it.
Sent from my PC36100 using XDA App
Click to expand...
Click to collapse
Can I vote multiple times?
Ill try and get it ready for this weekend and see what you think.
Sent from my PC36100 using XDA App
First of all,great software worked as a charm...
I subscribe to the resizing,all the best themes are for HDPI...would make this the best theming tool out there for android
thanks that did it!
what if the rom needs has a seperate gapps.zip with it? thanks!
theu2621 said:
what if the rom needs has a seperate gapps.zip with it? thanks!
Click to expand...
Click to collapse
Just put the gapps system/app files into your ROM's system/app files. Then inject your theme, the tool does the rest
thanks again for the help! yall really helped, and rather quickly too!

How to Port themes

First off, BIG BIG thanks to dhemke17, this is only me adding to his guide.
How to Port Themes To Other roms:
First off, Slow down, relax, look at what you are doing, this is a generalization, if the xml, or image file does not exist
in the apk your trying to theme, do not add it, or subtract it, you add or subtract anything it will not work, YOU ARE ONLY
REPLACING!!(doin some math here is your ticket to boot camp)
1) Download 7-zip, or winrar as they can open .apk files without unarchiving them.
2) Download both the rom you want to theme, as well as the theme you want to port.
3) Using 7-zip, open the rom and pull out the following files:
a. Browser.apk
b. DeskClockGoogle.apk
c. GoogleQuickSearchBox.apk
d. Launcher2.apk
e. SystemUI.apk
f. Framework-res.apk
4) Make a separate folder and unarchive the theme your want to port there.
5) Open a theme .apk file(s), Open in 7zip or winrar, dont extract, just open and manipulate.(keep in mind, all your image
files you will need to replace will be in the following folders)
6) Open these folders in your themes .apk(s) files:
a. Drawable-mdpi (may be drawable-xlarge-mdpi/hdpi/nodpi)
b. Drawable-nodpi
c. Mipmap-hdpi
d. Mipmap-mdpi
7) Now, open the corresponding folders in the roms apk file,(agian, winrar, 7zip)
a. Select all images from the theme's .apk and drag-and drop to the corresponding location in your roms apk file.do this
for each image and you will be about 90% there…
b. If the image you want doe snot exist in the theme, use photoshop or gimp to produce it as you see fit, when your done
make sure you put it in the right folder, make sure its the same size and resolution and name as the original, or it will
not work!!!
8) There are several xml files that need replacing…
a. DeskClockGoogle.apk/layout-xlarge-land/desk_clock.xml
b. Launcher2.apk/layout-xlarge/
i. all_apps_paged_view_application.xml
ii. button_bar.xml
iii. customize_paged_view_item.xml
iv. customize_paged_view_wallpaper.xml
v. customize_paged_view_widget.xml
c. SystemUI.apk/drawable/
i. status_bar_notification_area.xml
ii. status_bar_notification_panel_title.xml
d. SystemUI.apk/layout-xlarge/
i. status_bar_notification_area.xml
ii. status_bar_notification_panel_title.xml
e. framework-res.apk/layout-xlarge/ keyguard_screen_status_land.xml
I your making a new theme or have nothing to port, you will need to decompile with apk tool to actually go in and edit values and colors in xmls
Below is the link to download a update.zip template, (how you and everyone will apply the theme)
By this step the structure of the folders inside of the update.zip should seem familier, just bare in mind anything you put
in there will 1. replace the existing 2. add if not there already. You will Open the update in winrar 7zip as well, if you theme an
app thats not a system app, it will go to update.zip/data/app, if it is a system app it will go to update.zip/system/app,
and the themed framework-res goes to update.zip/system/framework/
http://www.mediafire.com/?6getd70r869d7j1
Good luck, happy theming, if you need help PM me or dhemke7 and we'll see if its salvagable
Nice post...looks familiar lol...I would like to add a couple of things though since this was very specific for the the HoneyBread Theme:
Additional Steps:
1) Pull the images as described above
2) In order to determine what xml files were originally edited, one can arrange the folders by date modified and go through and find what xmls were most recently edited and pull them...OR
3) To modify the xmls yourself, you must use apktool to decompile the specific apk files. Once decompiled, you can actually read the xml files and you can edit them yourself.
Remember, when porting a theme, always give credit where credit is due and you should ask permission from the initial creator before posting. Have fun everyone...if you need any help with theming/apktool, feel free to contact me here or PM me and I will be happy to help.
Thank you thank you
So how hard do you think it would be to port the Matted Blues Theme? with jabbawalkee permission of course! Always been a fan of that theme.
Post a link, ill get it ported.asap...
Sent from my SCH-I510 using XDA App
what is the the theme from?
Its from CM...gbread...they just made it an apk to run on their theme engine. I would love to learn how to port the themes myself...I have read through this tutorial, but at some points I am getting lost. Here is the theme...I mean if you guys could help it would be awesome!
http://forum.xda-developers.com/showthread.php?t=768848
Ryan
you on this D? Let me know if there is anything I can do
MitchTank said:
you on this D? Let me know if there is anything I can do
Click to expand...
Click to collapse
I hate to say this, but there would be all sorts of compatibility issues being that the theme comes from a phone, which has different dimensions and sized images, they all have different names..it would honestly take forever to port. One would be better to completely redesign the theme for honeycomb. I don't have time for that right now
that is a good point, it is sweet though.....onward to the Charge
Id love to see this on the charge...if you plan on tackling this.beast, you have to modify the XML files yourself as aosp files aren't compatible.
Sent from my ADR6400L using XDA App
hey guys. I've been beta testing bigdx's zoom zoom theme for the galaxy tab 10.1. I've ported it to Caulkins touchwhiz km7 rom but I can seem to change the clock colors. Can you help me out?
on ours its in a values folder after recompiling with apktool
hey i was porting the aosp theme of galaxy s to galaxy fit....everything worked fyn xcpt one !! in main theme a green line comes below every power button of the pulldown status bar when it is switched on...i am just nt able to put it,pls help!!!
Sent from my GT-S5670 using XDA Premium App

How can I mix different themes?

Hi guys.
I've been using the Elegance Theme by Erestor6 for some time now, but I find I would really like a white status bar.
So I went to the UOT Kitchen and designed my own.
It's not refined like the work of Erestor, but it will do for me.
Problem, in the first attached image you can see the result of my UOT kitchen mod.
It's nice but the default switch buttons don't fit.
In the second image you can see the wonderfull Erestor work.
I would like to have his switches and my status bar. How can I do that?
Also in the third image you can see a problem: whenever a phone call is started, the status bar turns black again. I suspect it's embedded in the dialer apk.
Can anyone help me in fixing these issues?
erups said:
Hi guys.
I've been using the Elegance Theme by Erestor6 for some time now, but I find I would really like a white status bar.
So I went to the UOT Kitchen and designed my own.
It's not refined like the work of Erestor, but it will do for me.
Problem, in the first attached image you can see the result of my UOT kitchen mod.
It's nice but the default switch buttons don't fit.
In the second image you can see the wonderfull Erestor work.
I would like to have his switches and my status bar. How can I do that?
Also in the third image you can see a problem: whenever a phone call is started, the status bar turns black again. I suspect it's embedded in the dialer apk.
Can anyone help me in fixing these issues?
Click to expand...
Click to collapse
the toggle buttons are stored in systemUI.apk, you have to change them manually, not with UOT
i uploaded the icons for you , you can exchange them with erestor ones and put em back in systemUI.apk ...
75markus said:
the toggle buttons are stored in systemUI.apk, you have to change them manually, not with UOT
i uploaded the icons for you , you can exchange them with erestor ones and put em back in systemUI.apk ...
Click to expand...
Click to collapse
Thanks, but yours are not the same as Erestor's.
But you pointed me in the right direction: I thought all these files were packed somehow, but looking in erestor's zip they are all there in plain site.
I can try a merge
Edit: I spoke too soon, the UOT zip is packed. They are already apk files.
How can I unpack them?
erups said:
Thanks, but yours are not the same as Erestor's.
But you pointed me in the right direction: I thought all these files were packed somehow, but looking in erestor's zip they are all there in plain site.
I can try a merge
Edit: I spoke too soon, the UOT zip is packed. They are already apk files.
How can I unpack them?
Click to expand...
Click to collapse
yes, i know they are not same, just wanted to point you to this direction ...
just use winrar, winzip, 7zip or whatever to extract them
75markus said:
yes, i know they are not same, just wanted to point you to this direction ...
just use winrar, winzip, 7zip or whatever to extract them
Click to expand...
Click to collapse
You mean an apk is just a zip????
My gosh... couldn't believe it
erups said:
You mean an apk is just a zip????
My gosh... couldn't believe it
Click to expand...
Click to collapse
Yeah, that´s it
just open it with winRAR, and drag new icons into it.
as long as if you don´t change xml files, you can just drag & drop
Yes I noticed, thanks mate!!!
Now since I'm modding my phone, I tried modding the bootanimation.
I took the one I chose with the UOT, unpacked, modified the images, resaved, repacked and put it in my phone.
It doesn't work.
The images have the exact same dimensions and name, still the screen is black.
I used photoshop to save the PNGs.
What may be wrong?
One frame is attached below.
erups said:
Yes I noticed, thanks mate!!!
Now since I'm modding my phone, I tried modding the bootanimation.
I took the one I chose with the UOT, unpacked, modified the images, resaved, repacked and put it in my phone.
It doesn't work.
The images have the exact same dimensions and name, still the screen is black.
I used photoshop to save the PNGs.
What may be wrong?
One frame is attached below.
Click to expand...
Click to collapse
I can tell you :
for bootanimation, it is necessary that you save the zip WITHOUT Compression after modding the images ! (not just drag & drop into zip file, this will use compression !)
you can choose that in winRAR for example, just use option : save
you can have a look at my bootanimation and check archive details ...
http://www.mediafire.com/75markus#r5ah69lj81ci8,1
75markus said:
I can tell you :
for bootanimation, it is necessary that you save the zip WITHOUT Compression after modding the images ! (not just drag & drop into zip file, this will use compression !)
you can choose that in winRAR for example, just use option : save
Click to expand...
Click to collapse
Ok thanks!
It's working
erups said:
Ok thanks!
It's working
Click to expand...
Click to collapse
fine 10 chars

[06Feb2014][APP][Quantum Themer]Theme Chooser for Stock(Based) ROMs

Hi all!
Are you making a ROM? Want users to switch between Themes without downloading tons of zips and flashing them and ending up in a mess? Actually I made this App for my upcoming ROM("Quantum Radicle") for Micromax A89 and it turned out to work on all phones. Sharing is caring :cheers:
Here is the solution - Quantum Themer!
You maybe wondering how it works. The answer is:
Based on VillianTheme System! What I did was first tried to run the script on my Phone, ended up with 10-15 errors, fixed them! Now all this App does behind the scenes is Feed the Theme you select to the script and the script does the rest! But if you do see, the VillianTheme Template itself is nearly 600 KB and the App is just 650 KB
Let's get Straight into the list of features!
Features:
Works on all ROMs - Stock, Custom, AOSP, eh, you name it!
Preview of Themes before Applying
Custom File Extension for themes(Default is .qrt, if you do dig my App, you will find this being set in com.adhi.quantumthemer.ThemeSelector Class. Feel free to change it! But don't kang the App)
Single Button, no hassles!
In-built File Explorer
Theme structure is so simple that, even a "Starter" doesn't take more than a minute to understand
You can use it in your ROM. Just copy the APK into your ROM and provide your users with Theme Files, you don't need to ask permissions, just give me credits
Just include files that need to be replaced/modified, cutting down the size of your themes by a great margin
Scroll down and search for the download link, you'll tell me more
Framework, System Apps, Data Apps support
Will modify APKs in a ROM, without changing signatures, and can be used on any ROM where the filenames of themed files is the same.
Should not need updated between versions of a ROM
Zipaligns all APKs before installation
Stores a backup of all files being modified in /sdcard/vrtheme-backup/
Requires no coding abilities or editing of files - just drag and drop
Click to expand...
Click to collapse
Now, this will be "Copy, paste" from a VillianTheme Tutorial on "How to make Themes". You may skip to the last point if you know/understand how it works! I strongly recommend you to have a look at the Attached theme for reference. Open it with your favorite Zip Browser(WinRar, 7-Zip)
Check this thread out as well.
Inside the qrt file(Which is to be opened with a Zip Viewer), you can create a folder called "system" and "data" and include a Preview of the theme named "preview.png" or "preview.jpg"(All folders and files without Quotes in their names). The former is required, the latter is not required unless you wanted to theme a data app (strongly not recommended, unless you know the app will be there on every phone)
Inside the system or data folder, create a subfolder "app", and in these, make subfolders named EXACTLY after the APK name. For example, to theme the Browser, you need a folder called "Browser.apk", for Statusbar, "SystemUI.apk". It must be correctly capitalised.
Within there, place the files you require for your theme, in the relevant locations. So most PNGs will be in res/drawable-hdpi/. You can put in xml files too (those which are not in resources.arsc), if you compile them via apktool, and extract them with a zip tool.
If you do make it from scratch and zip it, don't forget to Rename it with extension ".qrt"
Click to expand...
Click to collapse
Now lets move on to "How to use it" as I have too much time to kill now, I'm including this
How to Use:
Just Install the App(System, User doesn't matter). Click on "Select Theme" button and then select the Theme you want to Apply. It will ask for Root Permissions if its the First Launch. Next, you'll get a preview of Theme which is going to be applied and then when you press the "Apply" button, the theme will be applied and a Alert Dialog Box asking you to Reboot will appear. I suggest you to Reboot your phone at this point itself. And after reboot, you will be happy to see the Theme Applied
Click to expand...
Click to collapse
Downloads:
Preview
Sample Theme - Open it with a Zip Viewer, just for reference! Not a theme
Quantum Themer App:
Version 1.1 - Mediafire - Change Log
Version 1.0 - Mediafire - Dev-Host - Change Log
Beta 2 - Mediafire - Dev-Host - Change Log
Beta 1 - Mediafire - Dev-Host
Note: App Version in Settings is always Version 1.0 in Beta releases
Click to expand...
Click to collapse
Credits:
Villian ROM Team. This wouldn't exist without them!
iPaulPro for his aFileChooser
Stericson for his Roottools Library
Everyone whom the above two owe credits to!
Click to expand...
Click to collapse
If you face any problems with this App, do the following -
Debugging:
1. Check whether /sdcard/vrtheme exists and contains four or more files/folders.If it doesn't, copy all the contents off vrtheme.zip in the assets folder of the Quantum Themer App.
2. Mount System as R/W before Applying Theme manually.
3. Copy /sdcard/vrtheme/zip and /sdcard/vrtheme/zipalign to /system/bin and CHMod it to 777
4. Type
Code:
sh /sdcard/vrtheme/i*
in Termianl Emulator or ADB and post the result here..
Click to expand...
Click to collapse
Do hit the "Thanks" Button! I tried my best to help you, hope you'll do it to!
And tell me if you want Screenshots. It look pretty dumb even though!
If you people like it and want me to do some update/bug-fixes, do keep the thread active. I don't want to end up working for myself.
All kinds of Reviews are welcome
Reserved
Reserved..
Just in case
Finally you did it brother! :good:
It's just awesome and keep it up!
Thnx bro
Will definetly try dis previously I install xposed framework but it was not fully working on my ics device
Hope dis will work......
Sent from my Xperia Miro using xda premium
Sample theme didn't work for my Samsung galaxy s advance stock jb ROM. It made the backup folder on sdcard but didn't change anything.
Sent from my GT-I9070 using xda app-developers app
Will it work for gingerbread devices too?
GREEEEETZ!!!!
rodaven said:
Sample theme didn't work for my Samsung galaxy s advance stock jb ROM. It made the backup folder on sdcard but didn't change anything.
Sent from my GT-I9070 using xda app-developers app
Click to expand...
Click to collapse
Sample Theme is for reference ONLY. My bad should have added in the OP
-CALIBAN666- said:
Will it work for gingerbread devices too?
GREEEEETZ!!!!
Click to expand...
Click to collapse
It is working on Gingerbread Devices too!
Adhi1419 said:
Sample Theme is for reference ONLY.
Click to expand...
Click to collapse
So it shouldn't work then if I apply it on my phone?
Nice work by the way
Sent from my GT-I9070 using xda app-developers app
rodaven said:
So it shouldn't work then if I apply it on my phone?
Nice work by the way
Sent from my GT-I9070 using xda app-developers app
Click to expand...
Click to collapse
Thanks.
It wouldn't work on your Phone
You can try making your own Theme, its fairly simple
How can I make this work if, for example, I have a SystemUI.apk or framework-res.apk modified and I want to apply it on my phone using this app? It's possible?
rodaven said:
How can I make this work if, for example, I have a SystemUI.apk or framework-res.apk modified and I want to apply it on my phone using this app? It's possible?
Click to expand...
Click to collapse
It's very easy!
Just download the Sample Theme and you will get it how it work and how to apply! :good:
A friend sent me to this thread. Once I read your description I got sooo many ideas in my mind! I am a big fun of VRT and this app could help me a lot if it's as I imagine it. Your idea is great.
Just one question for now, previews should be .flv? If yes, will it work ok if I make a slideshow-like preview?
Preview is a PNG static image!
Your post sparkled an idea in my mind too! Thinking of adding a Video Preview + Description
Sent from my GT-I9082 using Tapatalk 2
You should add a package ofsome themes like ICS/JB in the OP.
Testing and reporting right away.
edit:: I will use ur sample theme as base for making my own themes.
Good work.
Regards,
Kaustubh
Adhi1419 said:
Preview is a PNG static image!
Your post sparkled an idea in my mind too! Thinking of adding a Video Preview + Description
Sent from my GT-I9082 using Tapatalk 2
Click to expand...
Click to collapse
I just said that because your preview was an .flv file and I got confused. I didn't have time to open the .apk or the .qrt. I guess it was a misunderstanding.
Oh, and I'm glad I gave you an idea! Would be cool to see video previews. :good:
---------- Post added at 06:32 PM ---------- Previous post was at 06:27 PM ----------
Adhi1419 said:
Preview is a PNG static image!
Your post sparkled an idea in my mind too! Thinking of adding a Video Preview + Description
Sent from my GT-I9082 using Tapatalk 2
Click to expand...
Click to collapse
Also, why are there two preview.png? One in the root of the .qrt and one in /system folder? Which one is used by the Application?
kaustubh.rockstar said:
You should add a package ofsome themes like ICS/JB in the OP.
Testing and reporting right away.
edit:: I will use ur sample theme as base for making my own themes.
Good work.
Regards,
Kaustubh
Click to expand...
Click to collapse
Because the resource files used are device independent, a file available to MOD on one phone may not be available on the other!
Koulis2000 said:
I just said that because your preview was an .flv file and I got confused. I didn't have time to open the .apk or the .qrt. I guess it was a misunderstanding.
Oh, and I'm glad I gave you an idea! Would be cool to see video previews. :good:
---------- Post added at 06:32 PM ---------- Previous post was at 06:27 PM ----------
Also, why are there two preview.png? One in the root of the .qrt and one in /system folder? Which one is used by the Application?
Click to expand...
Click to collapse
The one in the root. An error while Dragging and dropping previews
Adhi1419 said:
Because the resource files used are device independent, a file available to MOD on one phone may not be available on the other!
The one in the root. An error while Dragging and dropping previews
Click to expand...
Click to collapse
Some ideas:
Would be great if you can add more than one preview pic, in just one is hard to show all things themed.
Other thing is would be nice if themes with their preview remain on the app to just choose one and apply it, I mean like CM themes so you don't have to browse in folders and choose the qrt file each time you want to apply a previously loaded theme.
And finally that the app automatically make a qrt file of the backup that the app make when you apply a theme, so you can easily apply your backup if you didn't like the theme applied.
Sorry for my English
Sent from my GT-I9070 using xda app-developers app
I tried to change the icon of the music player app but after applying the theme and restarting the icon is still the same ... does anyone know how to do this with the app ?
Sorry for my bad english
Adhi1419 said:
Do hit the "Thanks" Button! I tried my best to help you, hope you'll do it to!
And tell me if you want Screenshots. It look pretty dumb even though!
If you people like it and want me to do some update/bug-fixes, do keep the thread active. I don't want to end up working for myself.
All kinds of Reviews are welcome
Click to expand...
Click to collapse
I have some ideas, and it would be great if you could implement those things.
First of all, it would be cool to have a folder where everyone would put those .qrts, a folder in /system (/system/QuantumThemes) maybe for us to be able to create packages of more than one .qrt and once a user flashes this package, those .qrts will be placed in this folder.
Second, another idea would be: when you open Quantum Themer it will automatically show themes from this particular folder(/system/QuantumThemes) without having the users to browse for themes in the mess of an sdcard. This way it would look more like a theme engine.
Third, how about categories or sections like: Toggles (/system/QuantumThemes/Toggles), or more specific categories like Status Bar Mods/Toggles (/system/QuantumThemes/Status Bar Mods/Toggles) those categories would be created and named by themers or ROM developers. There would be basically folders placed inside the /system/QuantumThemes and your application would just.
So, to give you a whole view of what I am thinking...
A user installs the Quantum Themer. The user flashes a CWM mod package created by someone. The user opens the Quantum Themer app. A window with all of the categories opens. The user selects a category. The category opens revealing sub categories. The user selects a sub category. The sub category opens revealing all installed mods for this sub category. The user selects a mod. A small or full screen window opens showing a preview, maybe a small description(taken from a file /.qrt/description.txt) and an Install button.
Well, that's actually a lot of things...
I thought it would be good sharing with you since you said you want to keep this active and update it. :highfive:
Hope I helped and I definitely hope to see such a great tool becoming better.
rodaven said:
Some ideas:
Would be great if you can add more than one preview pic, in just one is hard to show all things themed.
Other thing is would be nice if themes with their preview remain on the app to just choose one and apply it, I mean like CM themes so you don't have to browse in folders and choose the qrt file each time you want to apply a previously loaded theme.
And finally that the app automatically make a qrt file of the backup that the app make when you apply a theme, so you can easily apply your backup if you didn't like the theme applied.
Sorry for my English
Sent from my GT-I9070 using xda app-developers app
Click to expand...
Click to collapse
I'll add Restore feature, but it will not be a QRT file.
Thanks for your suggestion.
mattx89 said:
I tried to change the icon of the music player app but after applying the theme and restarting the icon is still the same ... does anyone know how to do this with the app ?
Sorry for my bad english
Click to expand...
Click to collapse
See your PM. It is due to the Binaries not being copied for some strange reason. Its very minor and easy to fix though
Koulis2000 said:
I have some ideas, and it would be great if you could implement those things.
First of all, it would be cool to have a folder where everyone would put those .qrts, a folder in /system (/system/QuantumThemes) maybe for us to be able to create packages of more than one .qrt and once a user flashes this package, those .qrts will be placed in this folder.
Second, another idea would be: when you open Quantum Themer it will automatically show themes from this particular folder(/system/QuantumThemes) without having the users to browse for themes in the mess of an sdcard. This way it would look more like a theme engine.
Third, how about categories or sections like: Toggles (/system/QuantumThemes/Toggles), or more specific categories like Status Bar Mods/Toggles (/system/QuantumThemes/Status Bar Mods/Toggles) those categories would be created and named by themers or ROM developers. There would be basically folders placed inside the /system/QuantumThemes and your application would just.
So, to give you a whole view of what I am thinking...
A user installs the Quantum Themer. The user flashes a CWM mod package created by someone. The user opens the Quantum Themer app. A window with all of the categories opens. The user selects a category. The category opens revealing sub categories. The user selects a sub category. The sub category opens revealing all installed mods for this sub category. The user selects a mod. A small or full screen window opens showing a preview, maybe a small description(taken from a file /.qrt/description.txt) and an Install button.
Well, that's actually a lot of things...
I thought it would be good sharing with you since you said you want to keep this active and update it. :highfive:
Hope I helped and I definitely hope to see such a great tool becoming better.
Click to expand...
Click to collapse
Thanks for your detailed feedback mate
1. I think /sdcard/QuantumThemer is a better place as messing around with system is not good for our device and there will be memory limitations in low-end devices. However your idea is cool and all your first 3 points were based on categories, I can take it as one great suggestion. Setting default directory to /sdcard/QauntumThemer is not tough either. I'm already working on a separate layout for displaying Description, preview and if possible a Video Playback.
2. Yes. Instead of laboriously setting up arrays for selecting Categories->Sub Caegories, a central folder on SD Card will be neat.
Thanks for your suggestions people!

Categories

Resources