yashsingh1/xdaforums huggingface dataset:
[Hero CDMA Themes and Apps] theimpaler747:
It's probably .9pngs still not getting done :)
[Hero CDMA Themes and Apps] cordell12:
I had thought that as well and manually replaced all of them (from theme) into to rom the injector produced. :confused:
[Hero CDMA Themes and Apps] ali_loly10:
could that work on my desire
[Hero CDMA Themes and Apps] wuh_hassan:
hello! sir im really very confused.im a new user,not a geeky man for this kind of stuff so please guide me.

samsung galaxy s gt-i9000,2.1 ekalre:

what should i write in the cmd promt for:

1-wheres the theme you want to inject?.....

2-wheres the rom you want to inject into?

its installed through my pc so should i connect my fone via usb in debugging mode.or how it will transfer into my fone...
[Hero CDMA Themes and Apps] theimpaler747:
I don't think this can handle them yet

Sent from my hero running froyo... take that Sprint!
[Hero CDMA Themes and Apps] theimpaler747:
Yes, it should work, if not there's another theme porter that will. :)

Sent from my hero running froyo... take that Sprint!
[Hero CDMA Themes and Apps] ASimmons:
You are correct the 9 patchs do get ported just not shrunk. The pictures posted earlier look correct thought. They both seem to be blue... the one I ported seems to be on the right as this one was also shrunk to fit. Gimme a little bit and I look over it.

The theme you want to inject will be a zip file you download, then you can place this into the theme injector folder.

The rom you want to inject will also be a zip you download, this will also go into the theme injector folder. Once you are done running the injector it will combine the rom and the theme into a new zip file. This will be the one you flash against your computer.

I have considered making it so the script will extract the rom right from your connected phone and then do the injection. This would simplfy alot of things but I'll have yo hold off on this till later.
[Hero CDMA Themes and Apps] ASimmons:
This theme porter will replace ALL png's from your theme into your rom, even the 9 patch's

This theme porter does not care about what rom or theme you are coming from or to.

So this will work for a desire, or any other phone for that matter.

Maybe you should leave the answers up to the op.
[Hero CDMA Themes and Apps] theimpaler747:
Well seeing as the man had a question, I decided to answer since some pngs web obviously not resized for him.

Sent from my hero running froyo... take that Sprint!
[Hero CDMA Themes and Apps] theimpaler747:
And based on your own answer, I was 100% correct ;)

Sent from my hero running froyo... take that Sprint!
[Hero CDMA Themes and Apps] ASimmons:
Like I said leave the answer up to the op i know your post count is important but I don't need your help. You were 100% wrong, since he said "to make sure that 9 patches were getting transfered he manually put them and there was no difference".

Like I said every png gets transfered even the 9 patchs.
[Hero CDMA Themes and Apps] theimpaler747:
I actually never said that, and I would be appreciative if you didn't insult me: I'm just trying to help people

Sent from my hero running froyo... take that Sprint!
[Hero CDMA Themes and Apps] paul96:
Will this work with any mdpi theme even from a different phone than the hero?
[Hero CDMA Themes and Apps] theimpaler747:
Yes it should :)

Sent from my hero running froyo... take that Sprint!
[Hero CDMA Themes and Apps] ASimmons:
Yes it will not care about your phone.

I'm not insulting you just stating my opinion. Wow you just don't give up do you, like I said I can answer the question on my own threads. You have come in here and regularly answered question about my script which you know nothing about and have give incorrect answers.

Go spam your threads up not mine.
[Hero CDMA Themes and Apps] paul96:
Awesome :-D
[Hero CDMA Themes and Apps] theimpaler747:
No problem, let me know if you need anything else

Sent from my hero running froyo... take that Sprint!
[Hero CDMA Themes and Apps] norm12:
ASimmons, I have a quick question----will these work for themes that were not made for the Hero? I'M 99% positive that this is safe, I'm just overly cautious. I found some great themes made for the INcredible and a few other phones on another forum and wanted to double-check that I wasn't about to brick my phone. I'd just be theming #126 nightly with the shadowrom blacknbold theme.
[Hero CDMA Themes and Apps] theimpaler747:
Yes it will :D
[Hero CDMA Themes and Apps] ASimmons:
Yes it is totally safe to use on different phones and or roms/themes. Since this will only port pngs the worst you might get are fc's but you should always, always do a nandroid before you flash anything, just to be safe.

Wow your down right ridiculous... now you answering questions that are addressed to me. Boost you post count in your own threads. Leave the answers, in my threads, for me to answer.
[Hero CDMA Themes and Apps] norm12:
Thanks so much ASimmons---I'm loving this tool!
[Hero CDMA Themes and Apps] ASimmons:
Thanks man... apparently someone isn't getting the hint.

I'm working on the 9 patch script now. It wasn't very user friendly so I'm trying to work out the minor thing and have it running like this one.
[Hero CDMA Themes and Apps] theimpaler747:
Does the .9 script actually resize them all or is there still some ambiguity?
[Hero CDMA Themes and Apps] Rsloan:
Hey I am running a MIUI Rom on the Evo Will this work for that and any theme?

For that matter It WILL work for evo and most themes?

hows that work? sorry for post a surely answered question im at work..
[Hero CDMA Themes and Apps] theimpaler747:
MIUI is a rom with very diverse and unique frameworks, and would take a lot more than just a theme injector to port it to the hero
[Hero CDMA Themes and Apps] ASimmons:
Actually I run miui now and I wondered this myself. It will work on the evo and for evo roms. The miui rom should not give it a problem sorta.

You can inject a them into an miui rom if the theme is for the miui rom, but for a theme that isn't an miui rom or for to inject an miui theme in to say cm6 it might not work so well. There seems to be major differences in the framwork more so than even a sense rom.

It won't hurt tho to try since the worst thing you'll get are fc's.

Might get better results if you build a theme by just dragging around pngs for your theme you want to inject into the miui rom and then run it against that. But there are some differences in even the pngs names of an miui rom so it might not catch everything.

I'm going to try and work on some of these types of issues next by allowing a build file, sorta like an mm theme.

Maybe you can try and then tell me how it works.
[Hero CDMA Themes and Apps] ASimmons:
When I post it you can have ehac read it for you and then he can tell you how it works.
[Hero CDMA Themes and Apps] theimpaler747:
That doesn’t answer my question… and what on earth are you talking about
[Hero CDMA Themes and Apps] cordell12:
Just let the man finish his script, then he will post what works and how to use it :)
[Hero CDMA Themes and Apps] ASimmons:
Seriously, I think you know how I feel about you now. Stick to your threads I'll stick to mine, and I think you know what I meant by that comment.
[Hero CDMA Themes and Apps] Rsloan:
Yeah honestly the man has made it clear you are bothering him throughout this thread from what I did read, and it is quite annoying that you butt into question and did not have my device correct nor the the nature of my question. :confused:
[Hero CDMA Themes and Apps] ASimmons:
Thank you man. 9 patch is ready about todo the write up and then ill post it.
[Hero CDMA Themes and Apps] InfDaMarvel:
So this has the potential to take a theme designed for a rom on the Evo and port it over to the Epic?

If so im am about to test it out.
[Hero CDMA Themes and Apps] theimpaler747:
Yeah, something like that should work fine :D
[Hero CDMA Themes and Apps] ASimmons:
Yes you get the best result if say theme from the epic rom is cm6 and then rom your going to on the evo is for cm6. But it will work across roms just the success rate of porting from say a sense theme to cm6 theme is so so.

Also check the newest version it has HDPI resizing... ah ha yes it is finally here.

EDIT:

I got 30 minutes or so to answer questions then I have to hit the sack. But I promise I'll be back tomorrow, with answers... lot and lots of answers.
[Hero CDMA Themes and Apps] cordell12:
I cant wait to try it! But I have to :( Just checked in before I hit the sack myself.

Thanks for your hard work! :)
[Hero CDMA Themes and Apps] ASimmons:
Me to sleepy time and I think I'm getting sick. Just don't expect to much its honestly not perfect. But I have searched high and low and this is the best way, I can think, to accomplish it. It will definitely resize them saving hours and hours of work resizing roughly a couple thousand 9 patches for you. But the 9 patch data might be off on some of them... you'll just have to redraw it.

Maybe tomorrow ill post the 9 patch redraw and a tutorial on re drawing it.
[Hero CDMA Themes and Apps] jel7:
dude stop being a farking troll and GTFO :cool:
[Hero CDMA Themes and Apps] ASimmons:
Easy I was already warned.... i don't want any one else to get in trouble.... its just not worth it.
[Hero CDMA Themes and Apps] cordell12:
I m definitely interested in learning how to read draw 9 patch. I still haven't had a chance to test your new injector. Hopefully I get off of work early enough to try it today. :-) are you using firerats mod, if so what are your settings? I am set at 110 and 10 I was thinking last night that maybe some 9 patch did not port because of the size possibly being too small? Anyway I can't wait to give this a shot!

Thanks

I know how you feel, I have a pretty nasty cold right now.
[Hero CDMA Themes and Apps] theimpaler747:
Firerats shouldn't affect patches not showing up, as if your system partition wasn't the correct size the theme wouldn't even boot

Sent from my hero running froyo... take that Sprint!
[Hero CDMA Themes and Apps] ASimmons:
I'm going to look at the issues your hanging with that port.. i don't think fore rats would affect that... if it was to small it wouldn't let you flash it or boot loop.
[Hero CDMA Themes and Apps] cordell12:
That's what I thought, but I would hate to have caused unnecessary work because of something I didn't mention.
[Hero CDMA Themes and Apps] theimpaler747:
Yeah, no problem :D

Sent from my hero running froyo... take that Sprint!
[Hero CDMA Themes and Apps] InfDaMarvel:
Tried to port over the steel theme from the captivated to the epic syndicate Rom. Gonna try it once I get home from the gym.

When i read your instructions btw, from my understanding i didnt need to put .zip at the end. But apparently I must have read wrong. Annnnd you have two theme injector downloads in which contain different files. All this via the opening post.
[Hero CDMA Themes and Apps] ASimmons:
Yes the 4 share version has the hdpi resizing option. Also sorry about the op the try and clean it up... but yes you do need the .zip on the ends of the file.
[Hero CDMA Themes and Apps] laie1472:
LMAO

Root-Hack-Mod-Always™
[Hero CDMA Themes and Apps] InfDaMarvel:
Just tried porting Elegant-steel-JPO-V3.0.zip (Captivate) too SyndicateRom-FullyLoaded (epic4g).

So it worked but at the same time it didnt work. Everything was themed minus the notification bar which was semi themed. Drop down menu was themed but the bar itself was still syndicate roms theme.

Im going to try the "superslim" version of the rom which I believe does not have any theme to it other than ASOP. Gonna report pretty soon.

Edit: Yup same thing, didnt fully theme the notification bar and kept the original one that came with the rom. o well.
[Hero CDMA Themes and Apps] norm12:
enjoying the updated injector---this is working great!
[Hero CDMA Themes and Apps] ASimmons:
Hey send me a link to the theme and the rom and I'll check them out... I'm sick so you have to give me a couple of hours.

Thanks man, maybe post some results.
[Hero CDMA Themes and Apps] InfDaMarvel:
Done and done.

or not, I dont have any sent messages..idk

ROM: http://xdaforums.com/showthread.php?t=829199

Theme: http://xdaforums.com/showthread.php?t=829199
[Hero CDMA Themes and Apps] ASimmons:
Yeah i got it thanks my pms do this also... not sure if the forum just started doing this.
[Hero CDMA Themes and Apps] thoughtlesskyle:
this is weird after reading the first post i understand that the everything is ok line will appear but mine is just sitting there is hasnt shown a line of code since, with the compressed size.

i did have 7zip installed before i downloaded the theme injector could that be a problem?

on an unrelated note my last name is also simmons
[Hero CDMA Themes and Apps] ASimmons:
Lol a brother from another mother... awesome. So yes let it run on a big rom this can literally run for over and hour, if it errors it will close out.
[Hero CDMA Themes and Apps] thoughtlesskyle:
yea it did start moving shortly after i posted that, however i am having a hard time getting the theme to port, im trying to port my twopointtwo theme to cyanogen 6.1 RC-1

it does show an error for a quick second but its not up long enough to read
[Hero CDMA Themes and Apps] ASimmons:
What do you mean by "hard time"? This one should be standard since its not hdpi to mdpi, right?
[Hero CDMA Themes and Apps] thoughtlesskyle:
thats what i thought too, its possible im an idiot but i dont even see how i could mess this up and yes its pretty close to the exact same build too (minus the CM changes)
[Hero CDMA Themes and Apps] thegod2012:
flavored ice

i tried the flavored ice theme for the nexus one i followed all steps and got just a unthemed rom i got the end result from script but it took like one min with no errors can't figure out
[Hero CDMA Themes and Apps] cordell12:
Got it running, but I get 4 can not find files at very beginning. Then it copies the files I put in the folder and starts to run. I ran theme over Extremely Blue and again that sub menu did not port :( I am running it again over cm6 to see if it makes a difference. :confused:
[Hero CDMA Themes and Apps] ASimmons:
Ok I'm running it against a rom now. so its might be a bit, but by chances are their any hdpi-v4 folders in the res folder of the framework-res.zpk... there might be an issue with this. I'm debugging it now.

I have actually ported one of those themes (yellow) but I never posted it. So if its only taking a couple of minutes then its not running completely through. Does it close itself out?

The no file found are normal its trying to clean up before it runs, but since the files aren't there then it can't delete them, also the copying is normal so its works off a copy and keeps and original (same as before). Is the same issue you were having before? Did we ever figure out the name of the png that wasn't making it.

Maybe post s screeny again.
[Hero CDMA Themes and Apps] thoughtlesskyle:
nope their isnt any hdpi or hdpi-v4 folders in the framework at all
[Hero CDMA Themes and Apps] thegod2012:
yup after it says "everythings ok" it stalls the closes and i end up with themed-whatever-rom.zip
[Hero CDMA Themes and Apps] ASimmons:
OK your issue seems to be that the theme's framework-res.zpk has hdpi-v4 in the res folders where as the rom has only hdpi folders. For a work around you can rename the folders in the theme by removing the -v4 on those 4 dir in the framework0-res.zpk. I'll work on a fix for this.
[Hero CDMA Themes and Apps] ASimmons:
Ok can both of you guys post me a link for the theme and the rom and I'll look for issues with them. Thanks guys for workign through these bugs, I have been in talks with the other theme guy theDanesh about merging our projects together.

I would like this to be a theme builder of some sortes with ui capabilities, the script is getting old and its so limiting.
[Hero CDMA Themes and Apps] theimpaler747:
What about this script doesn't work?
[Hero CDMA Themes and Apps] thoughtlesskyle:
I have a midnight release at work that they called me in early for so I will post it when I get home, if you want to right now I'm just putting it on the RC 1 Cyanogenmod and its rls2 from my twopointtwo thread

Also I like the combining idea, it also would be cool if you integrated the colorchangev3.jar being able to port a theme and change the services jar to your liking would be awesome
[Hero CDMA Themes and Apps] cordell12:
Its the same issue, I tried over cm6 rather than extremely blue and nothing, stayed the gray cm color. So I tried to wipe and same thing, nothing :( The things that are not porting are the Activity Title Bar and the Menu SubMenu. Thing is even if I take those file right from the theme and put them into the rom myself they still dont change :confused: I am at a lost with this...

Screenshot 1 is menu sub menu not ported over cm6

Screenshot 2 is the extremely blue Menu Submenu...already the dull blue

Screenshot 3 Activity Title bar...dull blue from extremely blue, the cm6 I tried it stayed cm gray

Screenshot 4 Is what I am trying to port, deep dark shiny blue :)
[Hero CDMA Themes and Apps] theimpaler747:
Hmm, so it's just not getting the color 100% correct? Might need to edit some XML files ;)
[Hero CDMA Themes and Apps] ASimmons:
Not sure what your asking.

These are good ideas, I could allow everything (xml's even) to get ported but this would be a nightmare to explain since it wouldn't be a porter and more of a theme installer (ala meta morph).

Ok yes, I remember now what theme is it again, I'm going to look over it and try it out. Sorry been sick today, and I think I started to look at this before but never got a chance to run it through the injector.
[Hero CDMA Themes and Apps] theimpaler747:
You said something wasn't working, and I was asking what isn't working....
[Hero CDMA Themes and Apps] ASimmons:
http://xdaforums.com/showpost.php?p=9234443&postcount=279
[Hero CDMA Themes and Apps] cordell12:
ASimmons

The main reason I want to use this is port themes over jaybob's extremely blue or blackmod. Reason being is he updates the cm6 rom with the working nightlies upgrades. I used to run extremely blue and was bored so I flashed a Galaxy theme, the darker blue is awesome! This link is what I am trying to inject into extremely blue. I believe this rom/theme was made from your port of Galaxy S and he just added some puzzle locks and phone jogs (like those too!). I have even taken the non ported png's and placed them into a rom and flashed with no changes :confused: That really stumps me, I spent hours trying to do that, LOL. Here is the link...

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

Thanks
[Hero CDMA Themes and Apps] theimpaler747:
Got it, thanks ;)
[Hero CDMA Themes and Apps] ASimmons:
Hey i have run this and its does not seem to be pushing over the files like I expect it on the newest version. I tired and sick, give me a day or so to work out some of these issues.
[Hero CDMA Themes and Apps] eugene300:
guys, I did everything as in the first post, waited 20 minutes, all ок.

flash themed ROM by recovery mod - verification failed.

that to do?
[Hero CDMA Themes and Apps] cordell12:
Did the command prompt away? It may take longer than 20 minutes. The command prompt will close on its own, the you flash the zip file called "themed-rom name. zip"

If you did that try again, the OP can answer you better on the usage of this.
[Hero CDMA Themes and Apps] athanos:
I followed the directions trying to port hdpi to mdpi. Script runs successfully. However, not one image was changed. I tried multiple times. I will try again when I get to work
[Hero CDMA Themes and Apps] dean.d:
I can help resize the images until asimmons get to feeling better if you would like.
[Hero CDMA Themes and Apps] theimpaler747:
No image was changed as in no image was themed?

Sent from my hero running froyo... take that Sprint!
[Hero CDMA Themes and Apps] athanos:
Corrrect. The theme-rom looks exectly like the original rom. No changes whatsoever.
[Hero CDMA Themes and Apps] cordell12:
The OP said he needs to do some more work to it, but is feeling ill and will be a few days.
[Hero CDMA Themes and Apps] ASimmons:
Java isn't in your system path, so its not getting signed correctly. Check for the system path fix.
[Hero CDMA Themes and Apps] theimpaler747:
Mae sure everything is in the correct place, and make sure you have that image magic software

Sent from my hero running froyo... take that Sprint!
[Hero CDMA Themes and Apps] athanos:
I have everything in place and image magick installed. I can watch the output and it appears everything is working correctly. I see all the messages about th epng resizing and stuff, but there is no change. I am at work now and will try on my work computer to see if it will work. If not, I guess I will be porting it the fun and hard way.
[Hero CDMA Themes and Apps] athanos:
Ok, so it didn't work. However, I am hoping I found out why. I noticed that the theme has no mdpi folders in it at all, and the rom has no hdpi folders in it at all. Do you think it is isn't working because of that. It would not find any files to match up. Just a thought.
[Hero CDMA Themes and Apps] theimpaler747:
That could be a possibility, since it only replaces folders it can find

Sent from my hero running froyo... take that Sprint!
[Hero CDMA Themes and Apps] athanos:
I wasn't sure though. You would think by answering yes to is it an hdpi to mdpi that the script would compare the hdpi folder of the theme to the mdpi folder of the rom.
[Hero CDMA Themes and Apps] ASimmons:
This is incorrect, it only replaces pngs.

theres is some comparison of the folder names but not like that, the only hiccup might come when you have -v4 on the end of an hdpi res folder.

So to help me debug everyones problem answer these questions in your next post.

1. give me the link to the rom and theme your are trying to inject.

2. is this an hdpi to mdpi port.

3. how long the script is taking to run.

4. identify if it is partially getting ported or nothing at all, if its partial give me some screenies of what didn't get ported.

Thanks guys. I going to try and talk to thedanesh today about using some of his script since his does have some added stuff to identify differences in frameworks. This might help out when the -v4 folders are present in an hdpi theme.
[Hero CDMA Themes and Apps] athanos:
1. Rom - http://www.mediafire.com/?amxlmlw1owh7m64 Theme - http://www.mediafire.com/?cfeb6hifys61b86

2. hdpi to mdpi

3. 15-20 minutes

4. Nothing ported at all.
[Hero CDMA Themes and Apps] ASimmons:
Thanks, this helps a ton. Ok so first thing is it must be erroring since that run time is really short, for that rom and theme it should run about an 45 minutes.
[Hero CDMA Themes and Apps] athanos:
It was hard to see because it was scrolling so fast, but once in awhile I did see an error that a file was not found.
[Hero CDMA Themes and Apps] ASimmons:
Ok i figured your issue out. The theme has one of the odd style setups, if you navigate into the theme your see that its does not follow the roms dir structure. So in the theme the dir structure is this.

meta-inf

app

framework

while the rom is always

meta-inf

system/app

system/framework

So the easy work around for this is make a new file on your desktop called system. Open the theme and drag the app and the framework folders into the new system folder. now delete the app and the system folder in the theme zip, and lastly drag the new system folder with the app and the framework folders inside into the theme folder. Now you should be able to run it and it will do its business, expect it to take about 45 minutes since that is a big theme.

basically your just change the themes dir structure to match that of the rom.
[Hero CDMA Themes and Apps] athanos:
That makes sense. I should have caught that, lol. Thanks for looking at it. Sometimes it takes another pair of eyes to look at things (or eye if you only have one, lol).
[Hero CDMA Themes and Apps] ASimmons:
Ino know that feeling exactly, sometimes you look at something for so long it starts to lose its meaning.

Tell me how it turns out after it runs.