yashsingh1/xdaforums huggingface dataset:
[Hero CDMA Themes and Apps] ASimmons:
Sorry, but I was going to do it as a favor but just use the script it works. Also try the newest version I had commented out the optimizing and it will cleanup afterwards also.
[Hero CDMA Themes and Apps] spiritcrusher33:
well scratch that. I let it run.. etc.. but now I dont even get the theme.zip and rom.zip, like before.. might be this junky pc at work..ol
[Hero CDMA Themes and Apps] jtpterp:
worked great. running blackmod on cm6.1 rc1!
[Hero CDMA Themes and Apps] ASimmons:
:D:eek::D:eek::D:eek::D:eek: uh oh , think about how easy this will make managing themes now. I'm going to start putting these into a one click suite that has a ui to it... Java of course.

Sorry guys I've been sitting on this script for months now just got around to cleaning it up and giving it out. maybe I put the theme porting stuff in hdpi to mdpi, it just the script get like 10X larger and your need image magick installed.
[Hero CDMA Themes and Apps] spiritcrusher33:
this is where its sitting...is it close to being finished? etc.
[Hero CDMA Themes and Apps] jschill31:
Excellent, thanks for sharing this. I think it was about a month ago that you hinted you had this, same time you added the wife button. :)
[Hero CDMA Themes and Apps] ASimmons:
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.
[Hero CDMA Themes and Apps] spiritcrusher33:
lol thats the problem java.. so im gonna lay this one to rest til i get home and use my pc.. sorry bout all the questions and such,lol
[Hero CDMA Themes and Apps] ASimmons:
Hard to tell since it depends on your computers speed. 7zip and apksigner take alot of resources, and depending on how big the theme and rom are it might take 3 minutes just give it a chance.

Funny cause the hdpi to mdpi porting script takes almost an hour to run on some roms.

Edit: and don't worry about question that why I post here to help and to share :).

Thanks jschill.
[Hero CDMA Themes and Apps] pwachleman:
I guess Im doing something wrong, doesnt seem to work on AOSP rom...I did it and it output a new file that started with themed. asop...but when I put it on the phone and flashed it and restarted...nothing, looked just as plain as before. I was trying to add steel elegance. You do unzip the file on your computer, correct?
[Hero CDMA Themes and Apps] ASimmons:
Umm no unzipping... just put the some-theme.zip in the folder and the some-rom.Zip in the folder and run the script.
[Hero CDMA Themes and Apps] :
And it works well? I love BM but it bootloops flashing via recovery in 6.1 (had to try :D )

Starting to use Impaler's Black and Gold though as well
[Hero CDMA Themes and Apps] bbplaya4life:
is anyone else having trouble downloading? i dont see image magick folder? i thought i was supposed to download "New HDPI to MDPI version with 9 patch porting download"

but it didnt work... please help or can someone port http://forum.cyanogenmod.com/topic/7002-theme-droid-x-theme-with-black-bar/

launcher2 version please :D
[Hero CDMA Themes and Apps] ASimmons:
This is the link for the newest version... inside you will see the image magick folder.
[Hero CDMA Themes and Apps] :
Hey dude just a tip:

You can add "-r > nul" after the 7zip command and this will hide the (un)zipping progress. Like this (from a script I'm building):

workdir\7za x -o"%DIR%" "workdir\ROM.zip" -r > nul
[Hero CDMA Themes and Apps] ASimmons:
Thought about this also. But the script takes so long to run that you would get people who would still close it out thinking it was done.

I tried with and with out verbose and both ways people were confused as to when it was actually done.

Thanks for the tip ill be using it um the next version.
[Hero CDMA Themes and Apps] :
*COUGH* People-are-stupid *COUGH* Um... Did I say that out loud??? Ooops:rolleyes: Hehe :D
[Hero CDMA Themes and Apps] NXUS:
unfortunately this program wont work with my theme, i do everything according to intructions and after about 30 seconds, it gives me the correct outpudded "themed" file, but when i flash it and reboot, it does nothing
[Hero CDMA Themes and Apps] ASimmons:
More than likely the theme you are porting does not have the same directory structure as the rom you are porting to. So your theme needs to be mimic the ROMs directory structure.

What theme are you trying ill look at it.
[Hero CDMA Themes and Apps] norm12:
I've had that issue as well----each time it was my fault as I misstyped the name of the rom or the theme. I'm not saying you screwed-up or that the theme tool is perfect, but doublecheck and try again just to be sure
[Hero CDMA Themes and Apps] NXUS:
The rom is Cyanogen RC2, theme is

http://xdaforums.com/showthread.php?t=752088

edit: to clarify, the exact theme is DesireTheme(203).zip not the metamorph
[Hero CDMA Themes and Apps] ASimmons:
ok so, the theme has the wrong directory structure. I made you a fixed one, notice how I just changed the dir structure so that the framework and app folders are now in the system folder. I did this by dragging those 2 dirs from the zip into a new folder I made on my desktop called system and then dragging that back into the zip, then delete the app and the framework folders, so that you have meta-inf and system in the theme now.

Try running it against the one I just attached.
[Hero CDMA Themes and Apps] NXUS:
ahhhh thank you so much, i appreciate how you deal with the end-user. thank you for all the help, this tool will come very handy!!! i'll edit my post once theme is ready and flashed to update on result

edit:works perfectly thank you once again
[Hero CDMA Themes and Apps] ASimmons:
Awesome... thank you!
[Hero CDMA Themes and Apps] ThaSik1:
Alright kinda ran into an issue..grabbed jaybobs latest vanilla and used the injector to add some impaled green to it..it zipped fine and all but when I go to flash I get a wrong digest error on the browser apk..I worry that even if I pull that apk that there'll just be another digest error from another apk to take its place..what would you suggest I do my good sir cuz i want the latest jaybob with a bit of style lol
[Hero CDMA Themes and Apps] ASimmons:
Its not getting signed... so you don't have Java in your system path. Refer to the op on how to set up the path so that the signer will work.
[Hero CDMA Themes and Apps] ThaSik1:
Alright I'll give that a go lol thank you sir!
[Hero CDMA Themes and Apps] ASimmons:
Just wondering if this worked for you?

On a side note I never realized this made the front page... would be nice if I got a notice since I never check the front page. Working on the ui version and it should be coming around in a week or so.
[Hero CDMA Themes and Apps] ThaSik1:
sorry forgot to check back in lol but yea it was exactly what you said, and i was dumb not to read the op thoroughly enough to diagnose my own problem lol But yea after i added the environment variable path and what-not the baby zipped up for me and was flashable. Just dont think the impaled green theme is ready for the new jaybob tho cuz it isn't as flush with it as it is the rc1..oh well..your injector is sick tho bro!! it officially has a place in my desktop "Android Tools" folder hehehe thanks man!!
[Hero CDMA Themes and Apps] ASimmons:
Cool thanks man.

Wait for the ui version, it will be the end all be all (i hope) of phone managing. You will be able to manage multiple roms and or themes, change an app/rom's theme and many more things all threw a ui. Very similar to say an IDE but for android app/themes and stuff.
[Hero CDMA Themes and Apps] ThaSik1:
Bro say no more..lol I'm gonna be all over that when it drops so if you ever find yourself needin a test junkie just hit me up cuz no theme is perfect yet to me so i'd love to be able to tweak like that without having to dive into all the tools and programs necessary to make it happen :)
[Hero CDMA Themes and Apps] ASimmons:
I will do that, I'm going to have some basic functionality in about a week or so and I have another tester, so I'll add you in. I'll start pming you links in a week or so, I'd like a beta to post in maybe 2-3 weeks.
[Hero CDMA Themes and Apps] laie1472:
Nice to see people getting help with simple ass problems anything difficult and u get ignored

Root-Hack-Mod-Always™
[Hero CDMA Themes and Apps] ASimmons:
Huh? Are you referring to me not answering a question you had? If so ask away as I might have missed it and gotten side tracked, but don't get mad.
[Hero CDMA Themes and Apps] theimpaler747:
Hey, respect ASimmons man; we've had our issues, but I've always seen him try to get back to people
[Hero CDMA Themes and Apps] ASimmons:
Yes and I apologize, but laie don't be a ****. If I missed a question, trust me its not cause it was to hard (i would just tell you I didn't know), especially a question in regards to a project that I take pride in. So I can forget, and I'll try and hook you up with an answer.

Did I mention this made the front page and I didn't no it till today! Impaler is there a way that the mod can set up some kind of notification for when this happens, last time I missed it by about 12 hours and this time its was 2 weeks:confused:.
[Hero CDMA Themes and Apps] theimpaler747:
Hmm... it probably could be automated, I'll see what the other mods have to say about that, and congrats ;)
[Hero CDMA Themes and Apps] ThaSik1:
Much love on addin me to the list man!! :) But yea laie i wasn't tryin to steal the attention or anything man..I'm sure Asimmons or impaler will do all they can to take care of your issue
[Hero CDMA Themes and Apps] j0p3t:
I really like this theme injector.. Works nicely with all the themes that I tried(but with modifications on file structure, etc). I like to join your team to make this tool a way better than others. I would love to create a linux version(using bash and precompiled library of optpng and image magick). I also like to compile a library of optpng and image magick for arm so that this could run in phone terminal(basically theme injector without a pc) hehe.. Maybe too ambitous but this will be a great help to others. PM me if you need any help.
[Hero CDMA Themes and Apps] theimpaler747:
Mac version would be nice, too ;)
[Hero CDMA Themes and Apps] ASimmons:
Woow, you are ambitious. The next version will be completely ui based, and it (at some point) will adress other os's. I have the framework for the next version setup to run JNI, and I will try and get as much of the app to run completely in Java but I will still need image magick.

I to thought about a native android version but metamorph/ninjamorph already works fine, and I, like most themers, get better results on our pcs. But I would certainly love to have more help.

The next version I will have some stuff to push and pull your rom/apks straight from your phone and then back, after you theme them (this might by the version after next). It kinda resembles a mini IDE/file explorer and you'll be able to manage your roms and theme's using all of the little scripts and tools I have written.

I was kinda thinking of making this more of a theme manager
[Hero CDMA Themes and Apps] theimpaler747:
That sounds great too ;) Quick question, isn't it the eri.xml that controls the "Sprint" in the notification pulldown? I edited it but then get stuck in a bootloop :confused:
[Hero CDMA Themes and Apps] ASimmons:
Can't remember of the top of my head check jsChiSurf's thread he's the original modder. Just remember not to use the recompile apk... recompile it and then steal the arsc file out of the recompile one and then drag it into the original apk, and then resign it.

This is the way I recompile things and I've seen others say this is the way to do it. I have decompiled every apk in a rom and compiled them back (just for the hell of it) and about 75% of the time it fries the apk.
[Hero CDMA Themes and Apps] theimpaler747:
Oh ok, that could be/probably is what's wrong. I'll take a look at it when I get a chance, thanks :D
[Hero CDMA Themes and Apps] athanos:
There is no need to decompile and recompile the eri.xml file.

1. Download HxD Hex Editor

2. Open framework-res.apk in 7zip

3. Drag eri.xml file to your computer

4. Open the file with HxD

5. On the right find 'Sprint' and highlight it

6. Type whatever you want it to say (there is a character limit)

7. Save the file and drag it back to the apk in 7zip

8. Either push the framework-res.apk to the phone via adb and reboot, or resign your zip for flashing.

It's as easy as that. No need to do all the other crap. Also, I have found that if I do need to recompile an xml file it works beter in Eclipse in my experience.
[Hero CDMA Themes and Apps] theimpaler747:
Ok thanks, I'll try that too :)

Sent from my hero running froyo... take that Sprint!
[Hero CDMA Themes and Apps] laie1472:
NA I'm good anything I wanna know ill Google Impaler was the only one to help me with the recovery issue I had and the Eng spl other than that I got no help from no one and norm12 had to post directions for me to get your theme mod working remember the .zip how many times did I ask for help and Impaler on your thread wen u asked for theme ideas I was only talking to you and I got flamed by noobs and ingorance and u never even answered my question check my post its all there wen I first joined xda it was fun its not anymore I posted several topics asking for help and no dice so like I said if I want help ill Google and since I'm a **** then this shouldn't b that hard to swallow

Root-Hack-Mod-Always™
[Hero CDMA Themes and Apps] ASimmons:
Last I saw was this post by you. So I not sure why your whining. Your still mad about the "give me theme ideas" thread wow, that was a while ago.

I'm not sure XDA is the place for you, maybe you need some type of paid support service or something. Really man, everyone is here to help but don't get mad if no one has an answer or you don't get answers in a timely manner, seriously loosen up.

I know you have heard this before but your typing grammar is terrible. Whenever I read your posts, I have to read them like 6 times to understand them. This might also contribute to people glossing over your questions (as I have mentioned before). Every one uses bad grammar or mis types words but really....

So can you kindly move on to a new thread, I don't want to clutter my thread up with a bunch of whaaah whaaahing.
[Hero CDMA Themes and Apps] dburg84:
hahaha well this thread got interesting! :o

Hows the GUI coming along? Can't wait to port everything in existence! :D
[Hero CDMA Themes and Apps] ASimmons:
This is my last response, since I can see your a "I have to have the last word" kinda guy.

So I'm confused, you start by whining about questions not being answered and then tell me not to take this so seriously and theres no money in this. Well news flash no one owes you answer to anything you ask, precisely because we do this for free. I asked you to hang ten to another thread if your just going to whine.

So I can tell you that all the devs on here don't do this for the money (I do just fine in my day job) but instead do it to help people, not to hear whining little pricks cry when a couple of there run on post's don't get answered. So don't come in all serious and then try and reverse it by telling us not to take this so serious, you were the one crying about no one paying attention to your run on posts, so like I said if you want a guarantee of answers to your questions then get a paid service, until then complain to people who care. So i'd suggest you take your own advice and "grow up man its just a phone".
[Hero CDMA Themes and Apps] ASimmons:
Not bad I'm going to put some time into it tonight.
[Hero CDMA Themes and Apps] theimpaler747:
Keep it on topic please, or actions will be taken to do so. Thank you
[Hero CDMA Themes and Apps] o2do:
Ohai Thare!

I was desperately wanting some Mau5 <3 for my Sapphire and using this tool was able to get the metaMau5.zip images from @ackprash and @ChrisSoyars injected into CM6.1Dream/Sapphire without modifying any of the images manually.

This "port" is not perfect some of the icons are WAY to big and don't match (mostly the Settings Menu Icons).

This was done @ like 3am so I did not put any other final touches onto it to try and fix that!

This is the full CM6.1 D/S w/ Mau5 theme by @ackprash and @ChrisSoyars....some other good news is Mr @wesgarner is going to give some real MDPI love soon and do a proper port, but if you can't wait like I couldn't feel free to grab it.

So thank you @cyanogen for a excellent Froyo Rom for our old *** hardware and thank you @ackprash and @ChrisSoyars for their awesome work on the mau5 theme and thank you @wesgarner for actually planning to do it right, and a huge thanks to ASimmons for this tool that has allowed to get beatiful eye candy my device so easily!!!!

hope you all enjoy here is a mediafire link:

http://www.mediafire.com/?ohc8vyjotjrsbf3

http://w w w . m e d i a f i r e . c o m/?ohc8vyjotjrsbf3

and of course a screenie
[Hero CDMA Themes and Apps] theimpaler747:
Looks nice!
[Hero CDMA Themes and Apps] ASimmons:
Nice to hear thanks for the screens.

Thanks for the links.
[Hero CDMA Themes and Apps] theimpaler747:
Links??????
[Hero CDMA Themes and Apps] ASimmons:
hmmm odd on the phone it looked like you link a mirror it. sorry:confused:
[Hero CDMA Themes and Apps] theimpaler747:
Lol, no problem, I can if you'd like though?
[Hero CDMA Themes and Apps] o2do:
Tried to post this at the Cyanogenmod forums but it would not take my post :/

So here is a quote from there:

LAWL!

I Flooded that forum on accident sorry :D
[Hero CDMA Themes and Apps] PMDColeslaw:
sorry if this has been asked but for times sake, if I create a rom.zip file containing ONLY: system/framework/framework-res.apk

and another theme.zip file containing ONLY: system/framework/framework-res.apk

Will it port correctly? In other words, I just want to take the rom framework apk and the them framework apk and leave all the META and app folders out.
[Hero CDMA Themes and Apps] dburg84:
On your theme.zip, just delete everything except the framework-res.apk. It will only port from the theme what it can find.
[Hero CDMA Themes and Apps] ASimmons:
Yep that will work... for the signer to work and make it a flashable then you will need the install script also.

Whatever is in the theme it wool try to inject into destination but only if it can find it.

So guys I've been busy lately I will try and get back worth some answers for the other people.
[Hero CDMA Themes and Apps] indisingh:
hey sorry in advance for being a noob but im stuck on step 2 and 3 of the original post, when i extract all i get is a folder called "lib" and a file called theme injector....please help
[Hero CDMA Themes and Apps] PMDColeslaw:
Awesome, thanks guys!
[Hero CDMA Themes and Apps] PMDColeslaw:
Thats all you are supposed to have. Just put the rom you want to theme and the theme you want to use in the same folder and run the injector file
[Hero CDMA Themes and Apps] dzadze:
i have problem.. i put the theme and the rom in injector folder and run it... and what happened? it runs in cmd about 15 min and finish by itself.. at the end a get nothing !

no folder, no zip to new theme nothing ?! why ?
[Hero CDMA Themes and Apps] dzadze:
i tried this but nothing.. .:S it stops and closes when in cmd says "unable to open rom.zip as .zip archive" ? why ?
[Hero CDMA Themes and Apps] dburg84:
Does java -version in cmd tell u the version of java?
[Hero CDMA Themes and Apps] dzadze:
it shows me like this: http://img28.imageshack.us/f/javayr.jpg/

and when i run theme-injector it ask me for this:http://img338.imageshack.us/f/inhector.jpg/

i dont have do type the paths ?
[Hero CDMA Themes and Apps] PMDColeslaw:
no just the file name with the .zip included
[Hero CDMA Themes and Apps] ASimmons:
If it can;t find the file then you typed the name wrong or your didn't put the .zip on the end of the name.

This should on apply to signing of the zip at the end.

I really appreciate your help with the thread I'm sorry I been absent but I had some home issues and I up against a deadline at work. Again thanks for the help the next version will probably not make it out untill the beginning of next year.
[Hero CDMA Themes and Apps] Kfunk:
Not sure what I am doing wrong. I tried this last night, thought I had it working because it produced a "themed-update-cm-6.1.0-Heroc-signed.zip"

So after wiping everything and flashing the new themed rom and GAPPS, it appeared to be stock cm6.1 with no theme.

I am determined to get this to work!
[Hero CDMA Themes and Apps] stevedawg85:
Same thing happened to me, please help. I get "themed_cm6.1.1.zip" but after the flash, everything looks the same. Also in my case, the "themed_cm6.1.1.zip" is actually 3 bytes smaller then "cm6.1.1.zip" is that normal or ok?

Also, what is the diff b/t one_click and the regular Theme_injector folders. It looks like both do the same, but why are we instructed to use one_click?
[Hero CDMA Themes and Apps] ASimmons:
When you get a finished rom that seems to have nothing changed then its most likely that the theme your are injecting does not have the same dir structure as the rom. Your theme should have 2 folders in the top level... meta-inf and system, then inside the system folder you should have.. app and framework.

Also remember that this doesn't work on a metamorph yet, it might work with one if you miss with the structure of the morph zip but its a pain.

Your themed rom might be smaller or bigger depending on the theme your injecting and the pngs contained. I do however opto all the pngs in the themed rom along with zipaligning all of the apks. So basically the size you get is the smallest possible (within reason).

Also I'm not sure what you mean by the one_click and theme injector folders but there are 2 versions posted the second one thats posted to 4shared is the one with hdpi to mdpi option.
[Hero CDMA Themes and Apps] stevedawg85:
I'm attempting to this with Dark-Cherry-CM-6.1.1.zip. I opened it and have 3 folders in the 'root,' META-INF, app, framework. So what if I make a System folder, place the app, and framework folders in it, then rezip it up, you think that'll work. Either way I'm gonna give it a try!

I'll report back!
[Hero CDMA Themes and Apps] Kfunk:
Thanks for your help! I tried a different theme and it worked flawlessly. I am now running the Luna Theme on my Hero. I was trying to inject a metamorph of the silent night theme and that is why it was not working. Trial and error I guess!
[Hero CDMA Themes and Apps] ASimmons:
Great sorry about the late response, post some screens if you can.
[Hero CDMA Themes and Apps] stevedawg85:
Awesome!! My "custom fix" worked. Thanks for helping me understand the file structure, without that I would have stayed lost. I'm all set!
[Hero CDMA Themes and Apps] Kfunk:
The Luna Theme port - now on the HTC Hero (CDMA) CM6.1

I haven't got it set up quite yet - so I few a couple items on the home screen for now...

All the credit goes to icculusX for creating the Luna Theme over at http://luna.anthemofthesun.com/
[Hero CDMA Themes and Apps] ASimmons:
Looks good I do see some bad patches you have to fix manually. Was this an hdpi port?

The 9 patches wont always transfer the greatest but it saves alit of time... try the 9patchdraw in the adb folder a redraw the bad ones.

Promise the next version will address alot more issues... after the first
[Hero CDMA Themes and Apps] Kfunk:
Yes, this was an hdpi to mdpi port. Where is the 9patchdraw you are talking about? Is it easy to do? And, will it make that much of a difference to the look?
[Hero CDMA Themes and Apps] ASimmons:
10 charrrss