Curious - how would I start my own theme? - Droid Incredible Themes and Apps

I know about the framework apk file and inside of that where the different things are, but outside of that I am clueless. I know there's gotta be something special about .9.png files but I don't know specifically what to do with them, or how to properly resign the package (if needed).
Any guidance would be great!
Sent from my ADR6300 using XDA App

Bump ?

http://forum.xda-developers.com/showthread.php?t=471586...:)

Now will this work with The incredible or do i have to use a different Format sorry its talking about changing Themes for G1 on the link

arayba said:
Now will this work with The incredible or do i have to use a different Format sorry its talking about changing Themes for G1 on the link
Click to expand...
Click to collapse
The g1 was the first android phone, so it all started there. Same rules apply here so that's a good place to start. Youll wanna do a lot of reading as there are many small details that can mess things up.
For the most part though its just swapping files. I highly recommend 7zip files manager. Depending on what you wanna change and what rom you're theming you'll wanna get stericsons autosign tool setup.

Related

I need help to sign or resign a zip/apk file?

I just started making themes and I plan on creating roms next. I started working on my theme and wanted to see how it would look on the phone. I re-compressed the zip file back to an apk and got an error about it not being signed. The same thing also happened with some code I worked on. I just need to know how to sign the apps. Please help!
Look for avaboxV2 You can sign zips, apks and a whole lot more stuff for theming ie. smali editing
Also this should be in Q&A.
Also i know this has been answered b4
But its nice to see newer faces working on stuff for the Hero
kyouko said:
Look for avaboxV2 You can sign zips, apks and a whole lot more stuff for theming ie. smali editing
Also this should be in Q&A.
Also i know this has been answered b4
But its nice to see newer faces working on stuff for the Hero
Click to expand...
Click to collapse
THANK BRO!!! I tried searching for it but, got no where. Should I use this on the stock rom or can it be used with custom roms?

One Click Rom/Theme Optimizer and Signer

This tool will open any AOSP based rom or theme (as long as the file structure is correct) and optimize and zip align everything.
Simply grab your rom or theme and place it in this folder (should work from anywhere but you need to full path from where the cmd file is run). Now click on the reopto_runner.cmd and it will ask you where the rom is (name) that you want to optomize, type the name of the rom and hit enter, it will do the rest.
Final output of the re-optimized (double pass with 2 different png optimizers) rom will be named rom-optoed-signed-finished.zip this will be exactly the same rom except the script will optomize every png in every apk found in the system/app and system/framework-res.apk. It will also zipalign all these same apks and finally will sign the zip file. When its done just rename the rom-optoed-signed-finished.zip to what ever you want and its ready to flash.
What this won't do is make your zip file (rom, theme, update zip) flashable unless its already set up to be flashable... meaning you'll still need your update-script in the com.google.android folder to be there. Its does sign your zip file for you though.
I put this out there as its some of the scripting and tools I have made to help me in theming and rom hacking.
Feel free to use any part of this to help you in any scripting you do.
Sweet, you are the man. Going to try it out now.
I'm going to try this on the MIUI ROM!
Cetus Corr said:
Sweet, you are the man. Going to try it out now.
Click to expand...
Click to collapse
teejaymarx said:
I'm going to try this on the MIUI ROM!
Click to expand...
Click to collapse
I have only tried this method on AOSP based roms the script should work on any rom or theme or update zip that follow this structure in the top level. system/app/*apk and system/framework/framework-res.apk, which is pretty much all of them.
The script takes about 10 minutes or so to run on cm6 rom and is really quick on most of the themes here. So for instance you could use it to make sure or re optimize a theme or roms.
feel free to tire it apart and use it in other fashions. I can guarantee it will shave some about of space of any rom or theme along with the zip aligning of every apk. If its a short request I'll post some more automated tiny scripts to todo various stuff.
Little confused. I run any aosp rom through this and it makes it compatable with the hero? ( sorry for the newb question)
Sent from my Hero CDMA using XDA App
Didn't work for me on the MIUI ROM, got a status 0 error in clockwork recovery...lol
vampir4997 said:
Little confused. I run any aosp rom through this and it makes it compatable with the hero? ( sorry for the newb question)
Sent from my Hero CDMA using XDA App
Click to expand...
Click to collapse
No I haven't released that script yet. This just optimizes a rom that's all.
Sent from my HERO200 using XDA App
teejaymarx said:
Didn't work for me on the MIUI ROM, got a status 0 error in clockwork recovery...lol
Click to expand...
Click to collapse
Not sure what you did... this is not a flashable zip just a tool to optimize a rom.
Did you run this tool on the miui rom?
Sent from my HERO200 using XDA App
Hello,
New to the "kitchen", items like this help us out! Thank you and looking forward to your other scripts. Any desire to do a "how to port a theme/rom" guide? Love the Screaming Droid, I laugh every time I boot up one of my 2.2 roms. I also use your R2 boot but I have yet to get sound on 2.1? Anyway a big thanks goes out to you!
jschill31 said:
Hello,
New to the "kitchen", items like this help us out! Thank you and looking forward to your other scripts. Any desire to do a "how to port a theme/rom" guide? Love the Screaming Droid, I laugh every time I boot up one of my 2.2 roms. I also use your R2 boot but I have yet to get sound on 2.1? Anyway a big thanks goes out to you!
Click to expand...
Click to collapse
Thank you for the praise, wife been complaining about doing stuff for free so I might have to post my pay pal account with a wife complaining button.
I might just release a script that does it for you. mdpi to mdpi (or hdpi to hdpi) no matter what rom is fairly easy todo. Of course it can only theme what it can match but it will do it for you.
For a more in depth description would take some time so I'll probably have to do it some time later.
ASimmons said:
Thank you for the praise, wife been complaining about doing stuff for free so I might have to post my pay pal account with a wife complaining button.
I might just release a script that does it for you. mdpi to mdpi (or hdpi to hdpi) no matter what rom is fairly easy todo. Of course it can only theme what it can match but it will do it for you.
I totally understand, my wife and I have our first child on the way. I am always around so take your time. BTW, I think you would get some clicks your work is solid. I wish XDA had a "thanks" button!
Click to expand...
Click to collapse
Thanks for your hard work. Going to check it out.
jschill31 said:
ASimmons said:
Thank you for the praise, wife been complaining about doing stuff for free so I might have to post my pay pal account with a wife complaining button.
I might just release a script that does it for you. mdpi to mdpi (or hdpi to hdpi) no matter what rom is fairly easy todo. Of course it can only theme what it can match but it will do it for you.
I totally understand, my wife and I have our first child on the way. I am always around so take your time. BTW, I think you would get some clicks your work is solid. I wish XDA had a "thanks" button!
Click to expand...
Click to collapse
Thanks, congradulations... get ready for no sleepy time for about 4 months after the new born. Got 2 girls myself kids are awesome especailly when I just a nig kids myself
chubbzlou said:
Thanks for your hard work. Going to check it out.
Click to expand...
Click to collapse
Your welcome, feel free to alter and use whats in the script. If u have questions I can give you some more pointers on ways to make similar scripts.
Click to expand...
Click to collapse
GJ Sim, when I try it out Ill let ya know ... Thx for this and all your hard work man !
Thank you I got a new project on the way think it might be something use full to themers and people that use themes are like two switch allot. In a week or so...
Sent from my HERO200 using XDA App
So in theory I could run this on one of Jaybob's Froyo builds and make it even faster than it is right now?
LiquidSolstice said:
So in theory I could run this on one of Jaybob's Froyo builds and make it even faster than it is right now?
Click to expand...
Click to collapse
maybe but he should have done the png opto and zipaligning already. I do add another png opto that most people dont do which will squeeze out another couple of kb, was able to shrink cm6 by 16 or so kb, which doesnt seem like alot but every bit counts.
You could use it to just see, like whenever you d/l a new rom run this on it and compare the file size, or load the rom and run a linpack and then opto it and then reload it and then do a linpack and see what you get. Some themers don't zipalign there themes and don't opto there pngs, and I have yet to see anyone use optipng and the other png opto program i use as a double pass system of optimizing pngs.
I like to use it for my themes or roms as it automates the hole process. Try it out if you use it on a rom it will give you a new optoed copy that is already sign and ready to flash... one click
ASimmons said:
maybe but he should have done the png opto and zipaligning already. I do add another png opto that most people dont do which will squeeze out another couple of kb, was able to shrink cm6 by 16 or so kb, which doesnt seem like alot but every bit counts.
You could use it to just see, like whenever you d/l a new rom run this on it and compare the file size, or load the rom and run a linpack and then opto it and then reload it and then do a linpack and see what you get. Some themers don't zipalign there themes and don't opto there pngs, and I have yet to see anyone use optipng and the other png opto program i use as a double pass system of optimizing pngs.
I like to use it for my themes or roms as it automates the hole process. Try it out if you use it on a rom it will give you a new optoed copy that is already sign and ready to flash... one click
Click to expand...
Click to collapse
Sounds good . Of course, when you say "every rom" you only mean AOSP roms, right? I'd suppose it wouldn't be able to rip, for instance, Nfinite's latest rooted Stock ROM apart and png optimize/zipalign it? If it could, holy crap. On top of the fact I use Odex, that would be amazing.
LiquidSolstice said:
Sounds good . Of course, when you say "every rom" you only mean AOSP roms, right? I'd suppose it wouldn't be able to rip, for instance, Nfinite's latest rooted Stock ROM apart and png optimize/zipalign it? If it could, holy crap. On top of the fact I use Odex, that would be amazing.
Click to expand...
Click to collapse
should work on that to since it only looks at pngs and apk. it will onyl zip align the framework-res.apk and the system/app apk's. Actually try it out I never have but it should work.
remember to nand before you flash it but you should be a ok, as I can't see any reason why it would work.
ASimmons said:
should work on that to since it only looks at pngs and apk. it will onyl zip align the framework-res.apk and the system/app apk's. Actually try it out I never have but it should work.
remember to nand before you flash it but you should be a ok, as I can't see any reason why it would work.
Click to expand...
Click to collapse
Hmm. But will I see a difference? Doesn't HTC have their own specific framework-res apk? I'd love to get into ROM themeing, so I've been poking around the ROMs for some time now.

[Q] how do you edit the coloring of an .apk?

Hi all. I'm attempting to edit the look of the phone.apk on the SGS4G (my original question as to if it's even possible is HERE). I've never done anything like this so I am a noob but I wanted to theme the .apk so that it will match up better with Bionix Black Ice (and Trigger for that matter). Like i said, i've never done this before so would someone be so kind as to walk me through what must be edited and with what tools? Thanks in advance!
Juls317 said:
Hi all. I'm attempting to edit the look of the phone.apk on the SGS4G (my original question as to if it's even possible is HERE). I've never done anything like this so I am a noob but I wanted to theme the .apk so that it will match up better with Bionix Black Ice (and Trigger for that matter). Like i said, i've never done this before so would someone be so kind as to walk me through what must be edited and with what tools? Thanks in advance!
Click to expand...
Click to collapse
Open the apk in win rar or whatever fial program u have
u see folders
you need to edit the png files along with the xml files to change the colors once done replace ur modified copies over the origonals
push back to phone reboot enjoy
differs from apk to apk
Sent From My super sexy over priced rice burner from hell SGH-I9100
RaverX3X said:
Open the apk in win rar or whatever fial program u have
u see folders
you need to edit the png files along with the xml files to change the colors once done replace ur modified copies over the origonals
push back to phone reboot enjoy
differs from apk to apk
Sent From My super sexy over priced rice burner from hell SGH-I9100
Click to expand...
Click to collapse
Suggested program to open the xml file?
Sent from my SGH-T959V using XDA App
Juls317 said:
Suggested program to open the xml file?
Sent from my SGH-T959V using XDA App
Click to expand...
Click to collapse
any xml editor should be fine
Sent From My super sexy over priced rice burner from hell SGH-I9100
so i have an .xml editor, but what do i do to change colors and stuff? is there a certain coding that i need to learn? i'm really sorry about the questions but like i said, i'm a noob and have no clue what i'm doing

[Q] t mobile theme chooser??? [SOLVED]

I was reading around and I read that with cm7.1 you get t mobile theme chooser, I just wanted to know how to get that on our hybrid version???
Since the theme is specific to the device as it is certain files that are modified, you would have to extract the parts of those files that actually make up the "theme." Most of the files, if I am correct, are .apk such as framework-res.apk, settings.apk, etc... You can't just extract those from any ROM as it will leave you in a bootloop or bricked. However, I would say that it is possible to get the theme chooser for our device, but there would be many parts that would have to be change in order to get it to work correctly. The theme that you would download with that app would download another app that changes the necessary files for you... However, with lots of research, lots of time, and lots of patience... anything is possible...
once i finish changeing the framework it will work
RaverX3X said:
once i finish changeing the framework it will work
Click to expand...
Click to collapse
RarverX3X thank you so much for your time and effort you have put into this device, I am so glad we have such a committed dev like you!
Hi,
I you feel this issue is solved please add [SOLVED] to the OP title
10x

dark themed google now launcher!

Can anyone address me to a dark themed google now launcher? I had it in Thyrus dark theme for terminus rom and, since I don't know how to extract that feature (for my own personal use, of course) from the theme, I was wondering if there's a ready-made version somewhere.
Thanks for any help
There's one in themes and kappa section
rootSU said:
There's one in themes and kappa section
Click to expand...
Click to collapse
Kappa section? You mean here in the nexus 5 area?
astrovale said:
Kappa section? You mean here in the nexus 5 area?
Click to expand...
Click to collapse
Haha. Sorry, my keyboard often corrects "apps" to "kappa".
Yes, the nexus 5 themes and apps section. There is a dark theme. It has different parts, such as settings.apk and Google launcher
rootSU said:
Haha. Sorry, my keyboard often corrects "apps" to "kappa".
Click to expand...
Click to collapse
Mobile text correction is wonderful
Lethargy said:
Mobile text correction is wonderful
Click to expand...
Click to collapse
Yeah. Not sure why it thinks I'm spelling out Greek letters.
rootSU said:
Haha. Sorry, my keyboard often corrects "apps" to "kappa".
Yes, the nexus 5 themes and apps section. There is a dark theme. It has different parts, such as settings.apk and Google launcher
Click to expand...
Click to collapse
Thanks a lot. I'll look for it. Could you tell me which one, if at all possible? I don't if this is the right place to ask, but I sure know you're the right person to ask something to! What makes a theme specific to a rom or group of roms? I'd like to know because I'd love to learn how to make my own themes or use some theme for my purposes (I hope there's nothing against the unwritten rules of this world).
Thanks
Sent from my Nexus 5 using XDA Free mobile app
astrovale said:
Thanks a lot. I'll look for it. Could you tell me which one, if at all possible? I don't if this is the right place to ask, but I sure know you're the right person to ask something to! What makes a theme specific to a rom or group of roms? I'd like to know because I'd love to learn how to make my own themes or use some theme for my purposes (I hope there's nothing against the unwritten rules of this world).
Thanks
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
There's a few material / dark themes. I had a look but it wasn't in the one I thought. That's either because it was the wrong one or it had been removed. Maybe ask in each thread if they theme Google launcher. I've definitely seen it but I thought it was the one by vivek.
As for why themes are ROM / build specific...
Themes are a combination of replacing images and editing XML files. These are mostly in framework-res.apk and SystemUI.apk
The easiest way to make a theme is to use these apk from a specific ROM. However, these apk ate specific to a specific ROM or build. For example ROM SlimLP has different features to stock so therefore has different code in these apk, so wrong apk, phone will boot loop. Same is true between 5.0.1 and 5.0.0 etc
There are more complicated ways to theme using things like ZipThemer. This will add your changes to the files that are on the phone already. This means it is more compatible than the easier method, as long as you don't change files that have special code from the Dev in them.
rootSU said:
There's a few material / dark themes. I had a look but it wasn't in the one I thought. That's either because it was the wrong one or it had been removed. Maybe ask in each thread if they theme Google launcher. I've definitely seen it but I thought it was the one by vivek.
As for why themes are ROM / build specific...
Themes are a combination of replacing images and editing XML files. These are mostly in framework-res.apk and SystemUI.apk
The easiest way to make a theme is to use these apk from a specific ROM. However, these apk ate specific to a specific ROM or build. For example ROM SlimLP has different features to stock so therefore has different code in these apk, so wrong apk, phone will boot loop. Same is true between 5.0.1 and 5.0.0 etc
There are more complicated ways to theme using things like ZipThemer. This will add your changes to the files that are on the phone already. This means it is more compatible than the easier method, as long as you don't change files that have special code from the Dev in them.
Click to expand...
Click to collapse
Thanks a lot for the explanantion. I will investigate a little more along the line you indicate.
Happy new year and thanks again (already hit the button!)
Theoretically, if i have a theme for a specific rom but for different update (same Google version, same build), i could extract the the file, replace the framework and system apks with the ones of the new update, re-compress the file and then flash it as a new theme? Seems a bit too easy, but IT makes sense, I think.
rootSU said:
There's a few material / dark themes. I had a look but it wasn't in the one I thought. That's either because it was the wrong one or it had been removed. Maybe ask in each thread if they theme Google launcher. I've definitely seen it but I thought it was the one by vivek.
As for why themes are ROM / build specific...
Themes are a combination of replacing images and editing XML files. These are mostly in framework-res.apk and SystemUI.apk
The easiest way to make a theme is to use these apk from a specific ROM. However, these apk ate specific to a specific ROM or build. For example ROM SlimLP has different features to stock so therefore has different code in these apk, so wrong apk, phone will boot loop. Same is true between 5.0.1 and 5.0.0 etc
There are more complicated ways to theme using things like ZipThemer. This will add your changes to the files that are on the phone already. This means it is more compatible than the easier method, as long as you don't change files that have special code from the Dev in them.
Click to expand...
Click to collapse
Theoretically, if i have a theme for a specific rom but for different update (same Google version, same build), i could extract the the file, replace the framework and system apks with the ones of the new update, re-compress the file and then flash it as a new theme? Seems a bit too easy, but IT makes sense, I think.
Sent from my Nexus 5 using XDA Free mobile app
astrovale said:
Theoretically, if i have a theme for a specific rom but for different update (same Google version, same build), i could extract the the file, replace the framework and system apks with the ones of the new update, re-compress the file and then flash it as a new theme? Seems a bit too easy, but IT makes sense, I think.
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
99.9% no.
too good to be true!

Categories

Resources