yashsingh1/xdaforums huggingface dataset:
[Hero CDMA Themes and Apps] Kfunk:
I figured it was those two plus the phone dialer that looked out of whack. I'll take a stab at the 9patchdraw and if I can't fix it, I'll wait for you new version to come out ;)
[Hero CDMA Themes and Apps] youdug:
can someone help me out. i edited some pngs in drawable_mdpi in gomorrahs cm6.1 blackmod theme and now im trying to inject that theme into jaybobs blackmod_dec17 rom. i flashed it and the colors and everything worked but im getting a lot of force closes with messaging, phone, settings, it fc's when i try to pull up launcher pro's settings too. it probably does with other apps too but i didnt try them. this is what im showing when i inject the theme.
[Hero CDMA Themes and Apps] SGTSTEW75:
Quik Q.......

If we port from a theme to the rom HOW do I only post the theme

ie finished product is themed-rom-.zip right? How would I just post up my ported theme without the rom?

Also after porting said theme how would I add a boot ani??
[Hero CDMA Themes and Apps] ASimmons:
If your getting force closes after editing pngs then you either messed up a 9 patch png (these can not be manually edited without redrawing the 9 patch data using 9patchDraw.jar) or you made a regular png big than it can be shown on your phones resolution.

Well technically you could post the whole thing since it would be a complete themed rom, but if you wanted to just post the theme delete everything in the rom except the meta-inf and system folders and in the system folder delete everything except the framework and app folders and then in the framework folder delete everything except the framework-res.apk. This should trim the size by about 75%. You then need to resign the zip.

The boot animation and where its held is different from rom to rom but usually you can put the boot animation in the system/media folder.
[Hero CDMA Themes and Apps] SGTSTEW75:
Thx A

Sent from a wise ass Marine, who swapped his moment for a froyo'd hero! Now whos the dummy!!!
[Hero CDMA Themes and Apps] SGTSTEW75:
Now is there à tutorial on resigning zips? Sorry im just a dumb ol hillbilly.:)

Sent from a wise ass Marine, who swapped his moment for a froyo'd hero! Now whos the dummy!!!
[Hero CDMA Themes and Apps] ASimmons:
Check my sig thread, in there is a one click rom signer. This works just like the themer... tell the script what rom you want to sign and it does the rest.
[Hero CDMA Themes and Apps] Smokem_I:
ASimmons just had to say thanks! This is very easy to use. So easy it shocked me. Thanks for the great work! Can't wait for the bootscreen update =D
[Hero CDMA Themes and Apps] youdug:
Just wanted to say thanks. It was the .9s that was giving me problems. All is good now. Thanks again

edit: heres what im lookin at now. i think the other provlem was thar i had spaces i.e. c:/theme porter when i changed the folder to themeporter it stopped saying cannot find file

Sent from my HERO200
[Hero CDMA Themes and Apps] ASimmons:
This is what I like to hear, honestly I made this so that the process of porting themes would be easier. I'm really surprised that this program has pretty much worked from day one, with out allot of bugs. I'm going to start working on the next version this weekend.

Yes you have to be careful with those 9 patches. Thanks for thanks :o)
[Hero CDMA Themes and Apps] Smokem_I:
You definitely succeeded in making it easy to use. Thanks for adding additional features like bootscreen porting. It is much appreciated!

Sent from my ROOTED myTouch 3G Slide using the XDA App
[Hero CDMA Themes and Apps] topjor:
I like it

But Is there a way injecting a theme into a nandroid backup??

send from my HTC WildFire

* 2.1

* rooted

* clockworkmod recovery

* no custom rom yet
[Hero CDMA Themes and Apps] ASimmons:
I actually don't think I added that feature yet... thanks I'm working on the next version and it will have it tho. Holidays and work have slowed its progress tho.

No since a nandroid backup is essentially an img of your phone and the process to do so would be a nightmare to manage. You could try to extract the rom from a nandroid and then inject it...
[Hero CDMA Themes and Apps] topjor:
Ok thanks, does anyone now a tool to extract a nandroid backup??

send from my HTC WildFire

* 2.1

* rooted

* clockworkmod recovery

* nog custom rom yet
[Hero CDMA Themes and Apps] topjor:
Ok i have used the tools unyaffs to extract system.img

And have put all extracted things in a map called system so I have the same structure,

Can I now zip it and inject the theme or do I have to do something else first??

send from my HTC WildFire

* 2.1

* rooted

* clockworkmod recovery

* nog custom rom yet

Message edit 10:27
[Hero CDMA Themes and Apps] ASimmons:
Yeah that sounds like it should work... you want the unyaffed img to look just like a rom.

Tell me how it goes I'm interested.
[Hero CDMA Themes and Apps] topjor:
Ok I'm just making a nandroid backup then extracted the system.img with unyaffs, made a folder with the same name as the .img file and placed al extracted files in the folder, and ziped that

so far im now, but only one diference from a rom it doesn't contain a META-INF folder with the files only I have 1 question: do I need a META-INF folder in my rom??
[Hero CDMA Themes and Apps] ASimmons:
only if you want it to be flashable... if you do then find a theme and steal the meta-inf folder from that. Then drill down into the folder, its should be something like meta-inf/com/google... and in there youll have an update script file. This file tells nand how to apply a flashable and folders are involved in the flash, make sure it contains a line for system (i think its been a while), but any of the themes here will have one.
[Hero CDMA Themes and Apps] topjor:
ok im going to do that now
[Hero CDMA Themes and Apps] topjor:
have done that and injected theme, works, tested on phone,worked without wiping anyting (just installed it using rom manager)

(hdpi>mdpi=n)
[Hero CDMA Themes and Apps] ASimmons:
Great good to hear!
[Hero CDMA Themes and Apps] topjor:
I am gona make my own theme based on gingerbread theme,

I want to skin apps to, do I have to change something on the script or can I just mod them to?

send from my HTC WildFire

* 2.1

* rooted

* clockworkmod recovery

* no custom rom yet, only some themes aplied
[Hero CDMA Themes and Apps] ASimmons:
Nope... if the theme your injecting has xxx.apk and the rom your injecting into has xxx.apk then it will inject it. It will only work on a zip of apks/zips.... meaning if you want it to build themes and inject them you have use a rom style theme and inject it into a rom/theme.

The next version will allow you to build theme without this handcuff.

So just build a theme by drag your changes into a theme's apk and use that as a template.... then inject it into any rom you want!
[Hero CDMA Themes and Apps] topjor:
your great man

Thanks

Hope that te new version wil com out soon

send from my HTC WildFire

* 2.1

* rooted

* clockworkmod recovery

* no custom rom yet, only theme
[Hero CDMA Themes and Apps] Smokem_I:
Actually I was just thanking you in advance :) Also no rush the holidays slowed everyone down.

Sent from my ROOTED myTouch 3G Slide using the XDA App
[Hero CDMA Themes and Apps] KLoNe1:
Certainly not working for me; I understand the 'wait after it says Everything is OK', but this is silly, 1hr in HDPI->HDPI and still just sitting at:

'Everything is Ok'

'Files: 241'

'Size: 457799'

'Compressed: 635233'
[Hero CDMA Themes and Apps] ASimmons:
Sorry man... ino it sucks to wait on something and not see any progress but its working. Please tell me if it finished ,how long it took and what CPU your running.

Good news tho I'm actively working on the new version and allot of these issues will be addressed.
[Hero CDMA Themes and Apps] ASimmons:
Ill post some teaser screens tonight! And beta next week.
[Hero CDMA Themes and Apps] laie1472:
A man wanted to say we had a few harsh words before, but wanted to apologize for my part. I use this mod all the time, You do good work. So its a new year wanted to start fresh so keep up the good work

Root-Hack-Mod-Always™
[Hero CDMA Themes and Apps] ASimmons:
Accepted and I apologize, I see your using punctuation now :o) joke...

Thanks for the compliment I've just started on the new version Sunday and Its coming along nicely. knowing people will use it helps me program faster.

I'll post some screenies tonight and next week I'll release a beta to test.
[Hero CDMA Themes and Apps] laie1472:
Yea lol I'm trying with whole punctuation thing, but the heroes keyboard is not friendly to my big hands lol. But looking forward to the updated verison. Ill be sure to keep an eye on this thread. Keep up the good work. On a side note this mod hasn't failed me once always works thanks.

Root-Hack-Mod-Always™
[Hero CDMA Themes and Apps] KLoNe1:
I have to apologise; it did end up finishing. Must have taken an hour and a half or so. Process in Task Manager was only taking up about 1.5MB of ram so I assumed it was not responding (now I look silly!).

Well, unfortunately it did not all work out too well. Only about 65-70% of the icons had ported over correctly :/

Will wait for the new version and try again :)

Although I did try something 'out of left field': I tried to port the icons etc from Tayutama's Froyo rom into Doc's/Darky's roms... maybe that wasn't such a great idea ;)

Thanks anyway! ;)

Good luck with the new version!
[Hero CDMA Themes and Apps] zyr0429:
where is "image magick folder"
[Hero CDMA Themes and Apps] ASimmons:
Yeah its ok, when I made the script I didn't like that there was no visual feed back of the progress. Also If you tried to to inject a theme into a rom remember that it will currently only inject what it can find. So a AOSP theme into a sense rom won;t be able to match everything.

The image majick folder will be in this zip, there are 2 version the first only does inject, the one above does the 9patch rezie and requires image magick.

Been sick for a few days... bout to post some pictures!
[Hero CDMA Themes and Apps] zyr0429:
:(It`s hard for me to download in this website.

any other links?:confused:
[Hero CDMA Themes and Apps] ASimmons:
http://www.4shared.com/get/ce6aC74W/theme_injector.html try that link, it might be stale (nope it works wait for the timer then dl). If so when you go to the d/l page its the big blue download button with the no virus detected (ino ignore the others) wait for the timer to count down then download the file.
[Hero CDMA Themes and Apps] ASimmons:
Here some screenies for the new version come give your input.
[Hero CDMA Themes and Apps] zyr0429:
thanks..I tried it.

:mad:only3k/s and after some minutes it stops.
[Hero CDMA Themes and Apps] ASimmons:
Its gotta be your connection I'm getting 300 kb/ sec... wait a lil a try again.
[Hero CDMA Themes and Apps] zyr0429:
Because I'm in China....
[Hero CDMA Themes and Apps] zyr0429:
can you send it to me..

zyr0429@gmail.com
[Hero CDMA Themes and Apps] dburg84:
Looks awesome ASimmons!
[Hero CDMA Themes and Apps] ThaSik1:
haha shaping up to be a real Beaut my good fellow!! starting to think its pretty bad that i've gotten use to no ui :P
[Hero CDMA Themes and Apps] ASimmons:
Thanks guys give me some feed back... what are some features you would like to see?
[Hero CDMA Themes and Apps] Smokem_I:
okay I injected a CM6.1 theme into CM7. Everything was okay except when I push menu it changed the background from black to white. So my question is what do I need to remove from the theme to keep the menu background black? As you can see from my pic white on white doesn't work very well lol. Thanks for any help anyone can provide.

Sent from my ROOTED myTouch 3G Slide using the XDA App
[Hero CDMA Themes and Apps] ASimmons:
Sorry I'm at work wait till about 7 est and ill give you an answer... its in the framework-res.apk res/drawable-hdpi tho maybe you can poke around.
[Hero CDMA Themes and Apps] Smokem_I:
Okay thanks for the fast response. No rush :-) I'll poke around as well.

Sent from my ROOTED myTouch 3G Slide using the XDA App
[Hero CDMA Themes and Apps] thoughtlesskyle:
their are 4 png files you need to grab from stock cm7 and move into the drawable-hdpi folder of your framework to give you black menu's back

the png's are as follows

-menu_background.9

-menu_background_fill_parent_width.9

-menu_separator.9

-menu_submenu_background.9

since cm6.1 still has white menu's they carried over, hope this will help
[Hero CDMA Themes and Apps] Smokem_I:
Thank you very much. I'll try to find them when I get off work. Much appreciated.

Sent from my ROOTED myTouch 3G Slide using the XDA App
[Hero CDMA Themes and Apps] SGTSTEW75:
Where is theNEW ultimate Dl link

Sent from a wise ass Marine, who swapped his moment for a froyo'd hero! Now whos the dummy!!!
[Hero CDMA Themes and Apps] ASimmons:
Still working on it but its coming together nicely... i need some request of features.

I have interfaces to all the theming tools... 7zip, apktool, zip align...

First release will have de compile compile, copy to sd, and of course inject which will now match pngs from any folder of pngs...

So in a week or so a beta will come out.

Any suggestions

Thanks Kyle!
[Hero CDMA Themes and Apps] mbuchholz:
I'm gonna say thanks in advance, ASimmons. I'm going to try this out when I get home, and I'm sure it's going to work. Guys like you help keep the hero alive!

-mb
[Hero CDMA Themes and Apps] PMDColeslaw:
Screenies look sweet man! Cant wait! :D
[Hero CDMA Themes and Apps] Smokem_I:
Thank you very much it worked perfectly.

Sent from my ROOTED myTouch 3G Slide using the XDA App
[Hero CDMA Themes and Apps] thoughtlesskyle:
no problem i just know that because i made black menu's for my froyo theme and those were what i had to change i figured yours was the same only backwards and i was right
[Hero CDMA Themes and Apps] thoughtlesskyle:
this is kind of a wishlist for features,

how about an .xml editor, that has a AARRGGBB color wheel in it for adding colors, if nothing else just the color wheel would be nice since i hate always having to have the UOT, or gimpsta's site open to look up colors
[Hero CDMA Themes and Apps] mbuchholz:
Decided I'm gonna wait 'til you get the UI up and running. I think I'll find that a bit easier than command line.

thanks again for your contributions!

-mb
[Hero CDMA Themes and Apps] ASimmons:
I will definitely put this in as I see the value in it... thanks fire the great idea.

Buckholtz the script version will more than likely be easier to use since its really one step... the ultimate version will be more of a theme builder... Im working on the hardest part, re compiling a whole rom. Hdpi to Mdpi might be left out till version 2 well see. I need to work on safe guards and make it intuitive. Also gave a side project i want to include. Also want the an interface included so you can install apk from the UI and copy right to the sdcard.
[Hero CDMA Themes and Apps] asifk777:
scaling 9 patch mdpi to ldpi

Can anyone please provide me some info about how to scale 9 patch mdpi to ldpi using some tools or scripts?
[Hero CDMA Themes and Apps] evlt:
I can not download theme_injector. .link very slow
[Hero CDMA Themes and Apps] PMDColeslaw:
Looking forward to the ultimate version :D
[Hero CDMA Themes and Apps] erto90:
can be used also for htc desire to port theme in oxygen rom?
[Hero CDMA Themes and Apps] ASimmons:
Yes should not be an issue... if it is just post you issue and ill help you out.
[Hero CDMA Themes and Apps] L0cke:
Hi, is there a way to just take advantage of the resizing script, so can I just run part of it that will simply resize a folder of images from hdpi > mdpi? without the need for injecting it into a ROM.
[Hero CDMA Themes and Apps] ASimmons:
yeah but I'd have to alter the script... one caveat is that to resize from hdpi to mdpi I need an mdpi folder of like pngs. This is because the 9 patch data simply cannot be resized, so the way I get around this is to use the 9 patch data from mdpi pngs and then shrink the hdpi png and over lay it onto the mdpi png... I have not say anyone really comment or ask about how I do it and I havent seen anyone suggest a better way, I thought of some other but I'm not going to alter the bytes of the png to accomplish this, this way is just a simpler solution. Only problem is the 9 patch data ends up being incorrect about 10% of the time and cause those pngs t o get stretched incorrectly.

I honestly dont have alot of time lately, work is kicking my but. But any one can take this script apart and use it (just give me some credit).

I'm working on a ui version but its coming along very sloooow. Image magick will shrink a hole folder of pngs to whatever size you want with one or 2 lines of script but youll need to skip over 9 patches or redraw the 9 patch after the resize.

Tell me how I can help and I'll try and see if I can.
[Hero CDMA Themes and Apps] Smokem_I:
Okay I'm getting an error while porting HDPI to MDPI. It keeps ending with theme Injector fill.png not found? I used it yesterday afternoon and it worked. I got the zip again extracted it installed Magick again and still no luck. Have you had this happen before? Any help would be greatly appreciated.

Edit: I guess it was only that theme. Guess I should of tried another theme before I posted. Sorry false alarm.

I'll be posting some screens soon :-D

Sent from my CM7 Slide using the XDA App
[Hero CDMA Themes and Apps] spleef:
I used this on two themes I found on xda to inject on aospcmod2/16 the whole process went through no problems once I wipe and flash the nothing is themed is exactly like the original rom.any ideas what could've went wrong? I used inexus miui theme and black alien void
[Hero CDMA Themes and Apps] Tiffany84:
I'm trying to use this and I followed the directions but it is just sitting at, everything is ok. Below that it shows the number of files, size and compressed but it never asked if it was a hdpi to mdpi port. Its just sitting there. Can anybody tell me what I might be doing wrong? Thanks.
[Hero CDMA Themes and Apps] Smokem_I:
If it didn't ask for hdpi to mdpi you might not have the right zip. Make sure you grab the right one in the OP. I believe there are two of them. Otherwise it sounds like your on the right track.

Sent from my CM7 Slide using the XDA App
[Hero CDMA Themes and Apps] NUNsLAUGHTER92:
Damn this seems like one of the best ideas EVER! I hate hate hate resizing images to fit on my mdpi phone. I am going to try this out in a little bit :D
[Hero CDMA Themes and Apps] ASimmons:
I hated it 2 thats why I made it. Its not an exact science but beats doing it by hand. I've really busy lately and the ui version has been on hold, but I hoping to put some work into it in the coming weeks... I actually came up with a way to translate an apk to other language using my patented "one click (joke)" method thanks to a great idea by the uber theme master Manup which I'd like to include in the ultimate version and as a stand alone.
[Hero CDMA Themes and Apps] ASimmons:
make sure that your port and portee are of like roms (ie sense to sense and aosp to aosp) also make sure the script finishes.
[Hero CDMA Themes and Apps] roboots21:
So .. my girlfriend has an LG Ally, and the Themes out for that phone are lacking. I was hoping I could take a theme that works on my Droid 2, and using this tool, inject the theme from the Droid 2 into the LG Ally ROM. In theory would this work with this tool? Please tell me yes, lol. I am willing to try it either way, can always restore a nandroid .. :)
[Hero CDMA Themes and Apps] ASimmons:
yep should work just fine. sense to sense and or aosp to aosp.
[Hero CDMA Themes and Apps] Kfunk:
Does the injector work from mdpi to hdpi?
[Hero CDMA Themes and Apps] Smokem_I:
Thanks for this wonderful program! It has made my slide look much better with minimal effort. Allowing me to stay on the latest Nightly :-D

These are some screens of a blended theme I've been working on. I got pngs from so many themes but the main one is Dark Horse.

Thanks again! Keep up the awesomeness!

Sent from my CM7 Slide using the XDA App
[Hero CDMA Themes and Apps] LiquidSolstice:
Is this tool going anywhere? Anyone else have more recent results from using it?
[Hero CDMA Themes and Apps] Hullie NL:
Hmm...im trying to use this program to help me port a theme.

The theme is made for a htc evo running on cm7 also the same theme is made for a nexus s running cm7.

Im running cm7 on a htc desire hd, program runs fine but in the end it does not create a new flashable zip

Dont know what to do , sure like to have this theme...btw the is called mattedblues.

Thanks for any help thats coming
[Hero CDMA Themes and Apps] LeeRiley:
I've had this running for about 3 hours now lol, still not closed cmd prompt itself, all I want is the theme I want :'(

LOL me and hullem got it bad for this theme!
[Hero CDMA Themes and Apps] ASimmons:
Thank you that's awesome thanks for following me on twitter.
[Hero CDMA Themes and Apps] ASimmons:
Make sure that you have have java installed its needed to sign the jar...if it is installed then it might be erroring out try and se if you can catch it and post out here.
[Hero CDMA Themes and Apps] ASimmons:
This program can take a long time to run on large roms especially an hdpi sense rom....just let it run until its done.
[Hero CDMA Themes and Apps] Smokem_I:
No problem bro! And thanks your program got me hooked on theming ;)

Sent from my CM7 Slide using the XDA App
[Hero CDMA Themes and Apps] valdesr11:
Sweet, thanks for this.
[Hero CDMA Themes and Apps] savingeye:
Bump...

I also like to know if there is a way to achieve this!
[Hero CDMA Themes and Apps] ASimmons:
no, while shrinking images typically doesnt kill the quality growing images always does, and it would produce very bad results.
[Hero CDMA Themes and Apps] PIKO1982:
I'want to install inexus theme in CM6 rom. Where can I find the theme?
[Hero CDMA Themes and Apps] user7618:
Search? I would try that.

-----

Sent from my CDMA Hero. I got some hot Gingerbread-on-Hero action here!
[Hero CDMA Themes and Apps] ungaze:
@Simmons

First of all, great work! Been successful with almost all the ports I've done(for self use only).

(Might ba a little OT)

Well, I'm having a problem with themes that needs some XML edits.(battery stats, GB menu theme etc.), now the themes would work if I manually inject them using either a flashable zip or Root explorer(post firstboot). But including them into my ROM would always result in a boot-loop. Well seeing(and testing) that your theme injector won't touch any XMLs and other stuff besides pngs, using it as it is won't help me at all. Do you have any idea or workaround on what I can do to eliminate the bootloop? I'm having a hint that it's all in the signing thing. Well thanks again.
[Hero CDMA Themes and Apps] ASimmons:
Honestly theres way to many permutations when trying to port an xml file for a script to account for. This would be something that would be better suited for say the theme engine, which is what I was working this towards until tmobile made the theme engine.

Wish I could help more.
[Hero CDMA Themes and Apps] absolutzero1906:
Ok please don't beat me up to bad here. I am a noob when it comes to this. I have a Rom that I love the theme that was used and I would like to port it to a new one. Can I use this method? or can someone point me in the right direction? Thanks.
[Hero CDMA Themes and Apps] laie1472:
Id recommend sending a pm to the op. But from what I can remember he got swamped with work and had to halt development on this. I've used the prior mod he released and it worked like a charm for me. But from what I understand is if the theme and rom are the same as hdpi to hdpi or mdpi to mdpi it should work as long as you set the script up right. But this one I've never used but I think he made this mod to have the ability to port mdpi to hdpi but I've never used it so it would take trial and error on your part. Also if you look in the android themes its another mod called Theme porter v1.0 by Daneshm90. You can pm him as well to see if he can help you out. Take in mind this is just my understanding of this script that asimmons wrote so I could be way off on what it does and how it exactly works. To get a full understanding you would have to pm him. Well I hope this helps Good luck.

#Root/Hack-Mod_Always*