Ultimate One Click Theme Injector (Teaser 1/15) Screenies... Need some feed back! - Hero CDMA Themes and Apps

New Ultimate Version
I'm looking for some feed back and interest in a gui version of this app, below are some screnshots. Currently I have written interfaces for Optipng, Apktool, ADK, Z7a and a buncha other theming tools. Think of this new version as a way to manage your themes and roms in a workspace like setting, where files will show up in a explorer like ui.
Please ask questions and make suggestions Please!
READ THIS FIRST:
UPDATE 9 PATCH TWEAKS:
This new version will port your favorite hdpi theme to an mdpi rom... yes 9 patch resizing. I want to be the first to say this is not 100% and it probably never will be, and over the next couple of days we can discuss this.
What it will do is resize every 9 patch in a rom and move it over to the mdpi theme. Yes this is the same method I used for all my hdpi ports.
What it might not get is the 9 patching data correctly, which means that it might get stretched incorrectly, most times you won't noticed but others it will be obvious. This will happen anywhere from 1% to 30% of the 9 patch pngs in a port, but all you will need to do is redraw them using the 9 patch draw tool in the adb folder.
Please respect other peoples work. If you port a theme using this and repost it don't just link back to the op... mention the author and give them props.
Also want to say I spent a looooong time trying to figure this out, and I tried many different ways, and I'm open to others suggestion on making this better
Oh and don't forget to to install Image Magick, its included and the HDPI to MDPI will not work without this.
This tool will take your favorite theme and inject it into your favorite rom... provided they are compatible with each other (might work if they aren't but thats for later). I did this cause alot of themers and people who like themes are always waiting for the nightly theme to get applied, well this will do it for you.
You can think of this as almost a theme installer.
INSTRUCTIONS by Norm12:
1. Download and extract.
1.5 Install image magick from the image magick folder... just run the installer and its ready to go. This is important the hdpi to mdpi will not work without it.
2. Copy both the theme and rom into the 1 click folder---the extracted one.
3. Open the 1-click folder and you should see your theme, rom, lib folder, and the injector script.
4. Doubleclick on the injector script----if you did everything correct it will open a cmd prompt
5. Enter the names of the rom and theme when asked...I did use the exact names and added ".zip" to the end.
5.5 Answer y if this is an hdpi to mdpi port otherwise n.
6. Hit enter and wait. When it is really done it will auto-close the cmd prompt. This may take 15 minutes.
7. Your newly themed rom will be in the same folder as the unthemed rom and theme zips. If it worked it should be slightly larger than the original rom. Enjoy
!!!IMPORTANT... BECAUSE 7ZIP SHOWS OUTPUT IGNORE THE "EVERYTHING IS OK" LET THE SCRIPT FINISH WHEN ITS DONE IT WILL CLOSE ITSELF IF YOU DOUBLE CLICKED IT OR IT WILL RETURN TO COMMAND PROMPT!!!
Ignore any errors your seeing while it runs, this is normal like before let it run completely through till it closes out.
Run time could be up too 20 minutes (60 with HDPI to MDPI) on a big theme/rom, but faster that waiting!
You must now install Image Magick if you would like to use the hdpi to mdpi resizing!
ISSUES:
There also seems to be an issue with the gallery3d.apk and the differences in the mdpi and hdpi version. For now remove this from the theme your porting otherwise it won't come out right.
Update 4:
HDPI to MDPI porting!!!!!
Update 3:
Removed verbose but added optopng verbose just let it run. It works but you have to let it finish, the cmd window will close it self.
Update 2:
Added verbose output so that you guys will know to close it out before its done...even tho 7zip says everything is ok... just let it do its thing.
Update 1:
Had the optimization stuff commented out... sorry its back on.
Script will clean up now after it finishes.
JAVA CLASSPATH:
Its needed for the signer to work properly goto a command prompt and type in java -version. if you get and error back java is not in your classpath and needs to be.
just right click on my computer, then goto properties, then click on the advanced tab, at the bottom click on the "Environment Variable" button.
Now click on the new button... the one on the bottom for system variable and put in this
variable name: JAVA_HOME
variable value: C:\<path-to-where-java-is>
Now click ok and select the path system variable and then click edit. IMPORTANT only append to the end of the value this... ;%JAVA_HOME%\bin
then click ok and ok out of all those windows and open a new command prompt and type java -version you should get no error if you do your path to java was wrong follow the steps above again and make sure the path is correct.
WHAT THIS WON'T DO:
It won't port over xml or smali edits.
It wont port over what it can't find... so if your theme has a facebook widget or something but the rom does not then it will ignore that.
It will not port over fonts or anything other than the framework-res.apk and all the themes apks in the system/app folder. If this is popular Maybe other stuff can get included.
WHAT THIS WILL DO:
Shrink a 9 patch from HDPI size to MDPI size.
Push over all the themes pngs from the apk with it to the roms matching apk.
Optimize every png in the theme you are porting over.
Zip align all the apks in your newly themed rom.
Sign the newly themed rom.
Give me feed back.
I might make this easier and make the injector steal the apks for injection right from your phone and then inject and make a flashable to put right back on... tell me what you think.
New HDPI to MDPI version (v2) with 9 patch porting download here
Screenies from Ultimate One Click Theme Injector

This is great, going to give it a try! Want to use steel my elegance on AOSP mod!

pwachleman said:
This is great, going to give it a try! Want to use steel my elegance on AOSP mod!
Click to expand...
Click to collapse
Nice this is what I made it for... so sorry but I just noticed that I forgot to attach the program. Its up now.

What does yours do that this one doesn't do? I'm just curious because this one will re-size the png's.

ehac1680 said:
What does yours do that this one doesn't do?
Click to expand...
Click to collapse
well it optos and zip aligns annnd it signs all in one step. while I have looked at that one a while back it has been buggy (it might not now haven't really checked).
So while this isn't necessarily a porter per say. its one step and alot easier to use than that, and it does the extras like zip aligning all the apks, optos and signing. Your finished product is ready to be flashed.
Its your choice!
Edit:
While I do have a technique for doing hdpi to mdpi even the 9ptach, its buggy and reallies on assumptions.
I know for a fact that his does not work (or barely works just read the thread) for hdpi to mdpi and is over all very tricky to use. While mine does not include the hdpi to mdpi I might include that later to my one click suite of tools. But I can tell you 9 ptach porting is likely impossible at best mine will port a 9patch but in about 5-15% of the time is gets bad patch data because of the method I use to port it.... witch I can tell you is the only way you can do it.
Mine will also work across roms and if you guys want I'll put the theme porting code in even the 9patch resizing... so you guys can se my super secret method of porting 9patch pngs.

ehac1680 said:
What does yours do that this one doesn't do? I'm just curious because this one will re-size the png's.
Click to expand...
Click to collapse
So wait is that what you used to do Black and Gold?

ASimmons said:
So wait is that what you used to do Black and Gold?
Click to expand...
Click to collapse
No, I didn't find this until after I ported Black and Gold. Would of been very helpful if I had used it. This doesn't re-size the .9's but it does port them over. I have been using it to put theimpailers changes into the nightly though.

Well try it out and tell me if you think his is easier to use... i made it specially for making nightlies easier to theme.
Does his zip align and optimize... does it produce a final flashable product? All mine needs are the 2 zips (theme and rom names) and the rest is done.
Sent from my PC36100 using XDA App

ASimmons said:
Well try it out and tell me if you think his is easier to use... i made it specially for making nightlies easier to theme.
Does his zip align and optimize... does it produce a final flashable product? All mine needs are the 2 zips (theme and rom names) and the rest is done.
Sent from my PC36100 using XDA App
Click to expand...
Click to collapse
I'm definitely going to try it. It sounds like it will make updates to the nightlies easier, if there ever is a successful one again
Sent from my HERO200 using XDA App

well tried to put Steel My Elegance with darchdroid 2.8.. it did everything with no errors.. but when after I flashed the zip. it just stayed at the htc boot screen...

spiritcrusher33 said:
well tried to put Steel My Elegance with darchdroid 2.8.. it did everything with no errors.. but when after I flashed the zip. it just stayed at the htc boot screen...
Click to expand...
Click to collapse
hold on let me try and see what happened give me a few minutes.
Edit:
So it never got to bootanimation?
Were you going to this rom from another?
How long did you wait for it at the splash screen.
The reason I ask is that this will only push over pngs and shouldn't in anyway affect the rom, save for the new pngs. The only thing I can think of is that you might want to wipe dalvik and data before if your coming from another rom.

I let it sit for bout 10 mins.. etc. then just nand back.
im currently running dd 2.8.
so after it compiled the new theme zip.. i just copied it to my sd card and flashed it..
unless im missing something etc.
So basicly u take the theme.zip and the rom.zip.. tell your script the locations. etc. and then it does its thing..
then take the theme.zip ( before renaming it ) and flash that. correct?
Im gonna try another theme and see what happens...

spiritcrusher33 said:
I let it sit for bout 10 mins.. etc. then just nand back.
im currently running dd 2.8.
so after it compiled the new theme zip.. i just copied it to my sd card and flashed it..
unless im missing something etc.
So basicly u take the theme.zip and the rom.zip.. tell your script the locations. etc. and then it does its thing..
then take the theme.zip ( before renaming it ) and flash that. correct?
Click to expand...
Click to collapse
Ok not sure if you got it backwards but just in case. The script will take the theme and the rom and push the theme into the rom. the final output will be the rom with this appended to the front of the name... themed-darchdroid-v28.zip and that you can flash to your system. You don't need to rename or anything just put themed-darchdroid-v28.zip on your sdcard and flash it to your system.
I can check when I get home and see what happens when I flash it since I don't have my hero on me.

here is whats in the folder once its complete..
im at work so.. dont have too much time to mess with it..lol

spiritcrusher33 said:
here is whats in the folder once its complete..
im at work so.. dont have too much time to mess with it..lol
Click to expand...
Click to collapse
oh it seems to be failing then, since the theme.zip and rom.zip are temporary and used by the script to make changes on.
Try this, copy darchdroid-v28.zip into the folder and sme6_signed.zip into the folder then run the script and give those names when asked for them.
The final output should be "themed-darchdroid-v28.zip" I just ran it and the resulting rom looks fine... I can test it of course but will try when I get home.

ok will try that. thanks man.. brb..

All I get are the theme.zip and rom.zip, never outputs the final product. Not sure what I am doing wrong.

jtpterp said:
All I get are the theme.zip and rom.zip, never outputs the final product. Not sure what I am doing wrong.
Click to expand...
Click to collapse
hmm not sure why... been using this script for months now. Try this
1. copy your rom into the folder.
2. copy your theme into the folder.
3. tell the script the names (i.e. my-theme.zip, cm6.zip)
4. let script run.
Final output should be themed-<nameofrom>.zip this is your flashable.

How long after the "everything is ok" message appears does it take to complete?
Maybe i'm just not be patient enough

tried your method.. and like the above.
theme.zip and rom.zip, never outputs the final product
im stumped....lol maybe I will try on my pc at home.

Related

Jonnybueno's customizations Now with more RED!!!

Here are some things you can use to customize your rooted droid incredible. I'd like to thank Jairomeo, bgill, HOCKEY, kmobs, htc and motorola as well as unrevoked and xda.
Apply these mods at your own risk... I accept no responsibility for anything that may happen to your phone or you.
New Awesome Framework/htc resources kanged from cubanaso
props!!! all credit goes to him!!! Please donate if you like his work
Download for stock 2.1 Sense:
Htc resource apk with red drawables
framework with stock sense notifications
framework with red notification icons seen in link above
To install:
boot into recovery
choose mount /system
put framework-res.apk into tools folder in your sdk directory
put com.htc-resources.apk into tools folder in your sdk directory
open command line to tools folder in your android sdk directory
Code:
adb push framework-res.apk /system/framework/
adb push com.htc.resources.apk /system/framework/
reboot
Framework-res.apk with red highlights for Stock 2.1 Sense---
download:http://www.mediafire.com/file/nmimngkn5mj/framework-res.apk
To install
boot into recovery
choose mount /system
put framework-res.apk into tools folder in your sdk directory
put com.htc-resources.apk into tools folder in your sdk directory
open command line to tools folder in your android sdk directory
Code:
adb push framework-res.apk /system/framework/
adb push com.htc.resources.apk /system/framework/
reboot
fonts seen in above screenshots
to install:
download fonts.zip and extract folder fonts
put fonts folder into tools folder
boot into recovery
Code:
adb push fonts /system/fonts
Modded DroidX live Wallpaper
Download: http://www.mediafire.com/file/n4jbyezugmi/Droidx-modded-htc.apk
To install: use file manager
A different mod
Download: http://www.mediafire.com/?zlkzdjhicvg
galaxy s ocean waves mod
download: http://www.mediafire.com/?mhvqy2in3fn
galaxy s dandelion mod
download: http://www.mediafire.com/?zin2gn23nyg
Icons seen in above screenshots
Download: http://www.mediafire.com/?znzw3wmjm0q
To install: use folder organizer or bettercut
Thanks for sharing!
Thanks! This is exactly what im looking for. Wish i could have more red though, some thing are still green but that's a sense thing.
Sent from my ADR6300 using XDA App
skaterA223 said:
Thanks! This is exactly what im looking for. Wish i could have more red though, some thing are still green but that's a sense thing.
Sent from my ADR6300 using XDA App
Click to expand...
Click to collapse
No problem... i uploaded newer framework apk... try that one out
this is great, i hope in newer updates you can kill more of the green
b00sted said:
this is great, i hope in newer updates you can kill more of the green
Click to expand...
Click to collapse
When we get something without sense, for sure
how do you get the fonts to work? pushed them no problem.. framework worked fine
worm- said:
how do you get the fonts to work? pushed them no problem.. framework worked fine
Click to expand...
Click to collapse
did you get an error message? doing it in recovery right? make sure folder is extracted
yep, all the font files pushed no problem, when i rebooted nothing changed w/ fonts
i'll re push, push in recovery w/ /system mounted i'm assuming
yo another question, edited framework apk to change battery indicator from red to blue, now it has a white box behind it, how do we fix this
worm- said:
yep, all the font files pushed no problem, when i rebooted nothing changed w/ fonts
i'll re push, push in recovery w/ /system mounted i'm assuming
Click to expand...
Click to collapse
You assume correct...
I just tried my own instructions, and everything pushed just fine.
worm- said:
yo another question, edited framework apk to change battery indicator from red to blue, now it has a white box behind it, how do we fix this
Click to expand...
Click to collapse
What program did you use to edit pngs? wanna upload the color and I'll see what i can do?
jonnybueno said:
No problem... i uploaded newer framework apk... try that one out
Click to expand...
Click to collapse
Love the font but I wish everything was red. The mix of red and green looks a bit strange.
I'm too lazy to edit the htc resources apk... .9 pngs are no fun, and with no /system write access, its a pita to test themes. I need my phone right now and seeing as how vzw is a cdma carrier, its a pain to switch phones. Believe me, the green bothers me just as much as it bothers you guys... but I'm just gonna wait it out till koush ports cm to our phones. Having the source for .9 pngs makes things a lot easier for theming, and I don't want to waste any time.
jonnybueno said:
I'm too lazy to edit the htc resources apk... .9 pngs are no fun, and with no /system write access, its a pita to test themes. I need my phone right now and seeing as how vzw is a cdma carrier, its a pain to switch phones. Believe me, the green bothers me just as much as it bothers you guys... but I'm just gonna wait it out till koush ports cm to our phones. Having the source for .9 pngs makes things a lot easier for theming, and I don't want to waste any time.
Click to expand...
Click to collapse
completely understandable.. you do know i will need you to help me get the lamppu widget to go red and SwitchPro widget too or else I may go mad with disorder lol
b00sted said:
completely understandable.. you do know i will need you to help me get the lamppu widget to go red and SwitchPro widget too or else I may go mad with disorder lol
Click to expand...
Click to collapse
Lampu is easy I'll do that now... switchpro is paid though so i can't upload that
Heres Lamppu
http://www.mediafire.com/?zytnejm2imk
You should try ExtendedControls instead of switch pro... transparency as well as different color schemes
Hey thanks for everything love all the red...its understandable that certain things will remain green....one thing tho...the date isn't centered properly on the unlock screen. The tab you slide down..
bump for less green... yay for "borrowing" from others. go donate to that guy somehow. Check out first post.
Good to see some of my work getting over to the incredible. As soon as I get some time ill try and port over my themes.
This is a nice and minimalist tweak. Thank you.
2 questions:
1) If I load just the framework file, will the stock Droid fonts stay in use? (would prefer those over your modded version)
2) Any chance you'd consider doing a blue version? I think the blue mixed with the un-editable sense green would go a little better than the red.
jonnybueno said:
bump for less green... yay for "borrowing" from others. go donate to that guy somehow. Check out first post.
Click to expand...
Click to collapse
Excellent! Any chance of getting those battery icons that show the percentage?

[How To] Basic Themeing

This is a very basic guide to beginning themeing. It is not meant to be all-inclusive, just some simple steps that can be taken to make your own custom theme fairly easily. This guide should allow anyone to be able to grab images they like from any ROM and incorporate them into their own.
I SUGGEST YOU ALWAYS MAKE A BACKUP OF ANY FILE BEFORE YOU THEME IT AND NANDROID FIRST BEFORE FLASHING
Here is a basic overview of changing images in an apk:
1. Get your base file to theme – framework-res.apk, com.htc.resources.apk, phone.apk ect.
2. “Open” apk archive with 7-zip (don’t unzip!) and drag and drop the new images into the appropriate folder.
3. Flash new file.
Now some details:
1. The first step is to obtain the file you are going to theme. The file you are themeing ( i.e. going to flash to your phone) must come from the ROM you are currently running. Always use files from your current ROM as a base, however the images you want to change can come from other ROMs, or you can edit existing ones or make your own from scratch. You can obtain your theme base through an ADB pull of the files from your phone, or simply downloading the ROM zip file and extracting the files you need.
2. Now that you have the file to theme, don’t touch it! OK, more specifically, you won’t unzip or do anything to this file except “open” it with 7-zip (unless this is a market app, but more on that later). You are going to drag and drop the new icons into this file by “opening” it and navigating to the appropriate folder. The images you want to change are stored in the apk under /res/drawable-hdpi. Once you have your new icons from other sources, open your base file and navigate to this folder and drop them in.
3. Now you can flash this new file. I have provided empty zip files that you can place your themed files into and flash in recovery. Place your framework-res.apk and/or com.htc.resources.apk into the /system/framework folder located in the zip file provided. Now highlight the META-INF and system folders and zip them up. You can now place this file on the root of your SD card and flash. System apps can be placed under /system/app in the zip file.
Some more info on common themeable files:
Framework-res.apk – this is the meat and potatoes of a theme. On an AOSP ROM it will contain almost everything you want to theme aside from individual apps themselves. Sense ROMs have another file com.htc.resources.apk, as well as framework-res.apk. Both of these files are located in a ROM under /system/framework.
System apps: These apps come packaged in a ROM under /system/apps. They can be themed in the same manner as a framework apk. Some of these apps include Gmail, browser, camera, ect. Place them in your flashable zip under the folder /system/app.
Market apps: These apps are downloaded from the market and are can be pulled from your phone from /data/app. These files require a bit more to theme. They don’t share the same signature as the system apps and you must resign them using a program such as apkmanger. Place them in your flashable zip under /data/app.
If there are any errors, or if anyone has suggestions please let me know. I may have over looked some details, ect.
Thanks to everyone on XDA who has shared their knowledge and made this a great community!
Thanks that will be helpful
Sent from my PC36100 using XDA App
so using this guide we can pull parts and what not from other elements of themes we like and create our own framework to push back? Also, based on what you have, shouldn't it be easy to put this up on bid for hire (?) website to create a program to automate that?
xlGmanlx said:
so using this guide we can pull parts and what not from other elements of themes we like and create our own framework to push back? Also, based on what you have, shouldn't it be easy to put this up on bid for hire (?) website to create a program to automate that?
Click to expand...
Click to collapse
Yes the idea of this guide was to help people pick and choose icons they like in other ROMs and add it to their own. I'm not sure what bid for hire is?
its a website where you can load your requirements and folks can bid to do your work
linky
nukedukem said:
Yes the idea of this guide was to help people pick and choose icons they like in other ROMs and add it to their own. I'm not sure what bid for hire is?
Click to expand...
Click to collapse
xlGmanlx said:
its a website where you can load your requirements and folks can bid to do your work
linky
Click to expand...
Click to collapse
Interesting. Didn't know anything like this existed.
Sent from my EVO (CM6.1) using XDA App
Thank you, thank you!!!! I've been looking for something like this for a while.
evolishesh said:
Thank you, thank you!!!! I've been looking for something like this for a while.
Click to expand...
Click to collapse
No prob. Let me know if it works for you.
I couldn't get the auto signing to work, but the manual way of doing it worked.
Hmm, I got a boot loop on first try and doing this. Does that mean something went wrong with the signing, or that what I created for the theme was wrong? I used the empty .zip folder and re-zipped it, so I don't think that is the issue.
JasonK75 said:
Hmm, I got a boot loop on first try and doing this. Does that mean something went wrong with the signing, or that what I created for the theme was wrong? I used the empty .zip folder and re-zipped it, so I don't think that is the issue.
Click to expand...
Click to collapse
The signing should be ok. If you are using Amon_ra recovery it wont let you flash an unsigned zip I believe. Are you on sense or AOSP? Are you editing images or just copying from other ROMs?
What you might want to do is just create a simple test file. Change just one image and then flash that. That should let you know that your process is correct.
I using Amon Ra and using AOSP. I was moving some items out of a sense ROM so I guess that is where I might have went wrong. I think I'll take your advice and move just a single image and see how that works for me. Thanks!
I tried again this time I ended up stuck at the EVO white screen. I'm guessing it doesn't like the sense part I'm trying to throw in there. I'll have to try again with a AOSP theme instead.
Sent from my EVO (CM6.1.1) using XDA App
A couple things to look out for when swapping sense/CM icons - some file names are slightly different between sense and AOSP. Rename any sense icons to their AOSP counterparts and vice versa. Also, double check the image size of the icon is the same in both, i.e. 70x70 pixels, ect. and make sure you are not adding images that don't exist normally in the framework. For example there wont be any 4G icons in CM framework.
Also, make sure you aren't unzipping the new framework-res.apk you want to theme and flash, or trying to resign it. Only sign the flashable zip, not the individual files inside. The only thing you want to do with the framework-res.apk you will package and flash is open (not unzip) with 7-zip and navigate to the res/drawable-hdpi folder so you can drag and drop the new icons into it, overwriting the old.
I hope that helps!
How important is it to re-sign? I have modified the Framework and Resources apks with 7zip by switching images out. I have also modified the Rosie.apk. I put everything back where it was supposed to go, backed out of 7-zip and flashed. I have never had an issue with it, nor have I re-signed it. Just wondering.
spence341 said:
How important is it to re-sign? I have modified the Framework and Resources apks with 7zip by switching images out. I have also modified the Rosie.apk. I put everything back where it was supposed to go, backed out of 7-zip and flashed. I have never had an issue with it, nor have I re-signed it. Just wondering.
Click to expand...
Click to collapse
AFAIK if you are on clockwork recovery, I don't think it checks for signatures. I think Amon_ra requires a signed file to flash. I think it's just added protection against flashing any old junk. If you can flash in amon_ra without a signature and you don't have problems then I wouldn't worry about it. It's the signature of the framework-res.apk ( or com.htc.resources.apk) that's important. That's why you don't unzip it.
I think that
1.7.0.2 = yes
1.8 = no
nukedukem said:
AFAIK if you are on clockwork recovery, I don't think it checks for signatures. I think Amon_ra requires a signed file to flash. I think it's just added protection against flashing any old junk. If you can flash in amon_ra without a signature and you don't have problems then I wouldn't worry about it. It's the signature of the framework-res.apk ( or com.htc.resources.apk) that's important. That's why you don't unzip it.
Click to expand...
Click to collapse
nukedukem said:
A couple things to look out for when swapping sense/CM icons - some file names are slightly different between sense and AOSP. Rename any sense icons to their AOSP counterparts and vice versa. Also, double check the image size of the icon is the same in both, i.e. 70x70 pixels, ect. and make sure you are not adding images that don't exist normally in the framework. For example there wont be any 4G icons in CM framework.
Also, make sure you aren't unzipping the new framework-res.apk you want to theme and flash, or trying to resign it. Only sign the flashable zip, not the individual files inside. The only thing you want to do with the framework-res.apk you will package and flash is open (not unzip) with 7-zip and navigate to the res/drawable-hdpi folder so you can drag and drop the new icons into it, overwriting the old.
I hope that helps!
Click to expand...
Click to collapse
Thanks, any advice does help.
I did make sure the the icons I was swapping out were named the same thing in the CM ROM, but I didn't check the size of it at all.
I didn't unzip the famework-res.apk but instead just went into it with 7-Zip and dragged the icons into that. Then I backed out of 7-Zip so that it would save and close everything properly - know that does work because that is how I add the Fold transistions to the ROM - and then I put the famework-res.apk into the folder and zip it up per your instructions above. Then I manually sign it (still haven't been able to get the auto-signing to work) and then flash.
I'll have to try again moving a CM theme to the CM framework-res.apk and see if it is working. What I was attempting to do was take, from the Batman Theme for sense, the drop down notification shade with the Bat Icon and put it into the CM ROM. I don't know if you have time to try it yourself to see if it works, or if you get the same issues that I had.
Either way, thanks for the help! I know I'll get this theming down at some point!
nukedukem said:
No prob. Let me know if it works for you.
Click to expand...
Click to collapse
Hey buddy.
I’m stuck. I had to download and install Eclipse with the sdk plus java. I don’t know where to go from there. Every time I open the rom that I want to theme and get the framework.apk and edit the PNG’s , how do I go about saving them? Do I just used the same name as the old ones or I have to save them with a new name.
Or pm Me.
xlGmanlx said:
I think that
1.7.0.2 = yes
1.8 = no
Click to expand...
Click to collapse
So the new amon_ra doesn't require a signed file to flash? I'll make a note off that. Thanks.
JasonK75 said:
Thanks, any advice does help.
I did make sure the the icons I was swapping out were named the same thing in the CM ROM, but I didn't check the size of it at all.
I didn't unzip the famework-res.apk but instead just went into it with 7-Zip and dragged the icons into that. Then I backed out of 7-Zip so that it would save and close everything properly - know that does work because that is how I add the Fold transistions to the ROM - and then I put the famework-res.apk into the folder and zip it up per your instructions above. Then I manually sign it (still haven't been able to get the auto-signing to work) and then flash.
I'll have to try again moving a CM theme to the CM framework-res.apk and see if it is working. What I was attempting to do was take, from the Batman Theme for sense, the drop down notification shade with the Bat Icon and put it into the CM ROM. I don't know if you have time to try it yourself to see if it works, or if you get the same issues that I had.
Either way, thanks for the help! I know I'll get this theming down at some point!
Click to expand...
Click to collapse
OK I'll try and do what you are trying to do and see if it works...
evolishesh said:
Hey buddy.
I’m stuck. I had to download and install Eclipse with the sdk plus java. I don’t know where to go from there. Every time I open the rom that I want to theme and get the framework.apk and edit the PNG’s , how do I go about saving them? Do I just used the same name as the old ones or I have to save them with a new name.
Or pm Me.
Click to expand...
Click to collapse
So now you have an unzipped framewor-res.apk with a bunch of images. This framework should be the one that you want to take icons from. If not, start over with the ROM you want to copy images from. You will want to copy the images you want to put into another ROM so that you can dump them into the new framework-res.apk. After you figure out what icons you want to bring to your new framework, get a clean version of framework/com.htc from the ROM you are actually running - i.e. if you are running myn ROM on your phone, download the myn ROM and pull out the framework-res.apk or com.resources.apk that you are going to theme.
Now with this fresh clean framework you will "open" it with 7-zip to navigate to the /res/drawable-hdpi folder so you can now drag and drop the images you want to copy over into it. Then the close the 7zip window and your framework-res.apk is all set to flash. You don't need to rename if the file names are the same, you can just drag and drop and the files will be overwritten in the new framework.

[Q] Icon location and question to themers about framework-res.apk

Well I've started theming myself since I wanted a Windows Phone 7 Theme and learning as I go along but I've come across a few hurdles.
1. How do I push framework-res.apk without losing configurations like my email/gmail set up or wallpaper being back to default?
2. Where do I find the icons for the top right voice search and search buttons? I've found a couple that look identical within the files but when I change them nothing happens.
3. Any good guides or tools on how to make a flashable zip? I used to just use a script to make an updater script but it doesn't work anymore since they changed it to edify. I'm a lowly designer and can't figure out how to make a working updater script.
Thanks in advance.
Bump to the top.
and another bump ):
hope this helps...
seshmaru said:
Well I've started theming myself since I wanted a Windows Phone 7 Theme and learning as I go along but I've come across a few hurdles.
1. How do I push framework-res.apk without losing configurations like my email/gmail set up or wallpaper being back to default?
2. Where do I find the icons for the top right voice search and search buttons? I've found a couple that look identical within the files but when I change them nothing happens.
3. Any good guides or tools on how to make a flashable zip? I used to just use a script to make an updater script but it doesn't work anymore since they changed it to edify. I'm a lowly designer and can't figure out how to make a working updater script.
Thanks in advance.
Click to expand...
Click to collapse
1. grab an old zip for a system/framework file
toss the previous file(s)
toss in your new edited framework res
resign using this and this
flash via recovery
2. let you know when i get a chance to look.
3. grab apk manager.
MagnusRagnarok said:
1. grab an old zip for a system/framework file
toss the previous file(s)
toss in your new edited framework res
resign using this and this
flash via recovery
2. let you know when i get a chance to look.
3. grab apk manager.
Click to expand...
Click to collapse
1 is as simple as that? Sweet.
Also I have apk manager and Update zip packer but they use the old updater script ): But if I can simply use other peoples update script and replace their files with mine then that shouldn't be a problem, thanks for the help.

[ATTN][DEV] VillainROM and Partners Presents VillainTheme System 0.3.5 [THEMERS ONLY]

VillainTheme System 0.3.5 for the TF101
http://www.villainrom.co.uk/forum/showthread.php/4971-About-VillainTheme-System
pulser_g2 said:
OK, so I think it's time to explain what this is about. It's born from the idea that came about on IRC, for a way to make a theme once for a ROM, rather than have to adjust it for each incremental update for a given ROM or ROMs.
As a user, you don't need to know much - just flash this zip like a regular zip, and you'll get your theme running. But you should be able to apply themes to any device, ROM, and version of the ROM, without it causing adverse effects. That means less time spent by themers making the original theme, and less time spent modifying it constantly for new versions of ROMs.
As a themer? Well, here is the information:
Inside the zip, in the vrtheme folder, you can create a folder called "system" and "data". The former is required, the latter is not required unless you wanted to theme a data app (strongly not recommended, unless you know the app will be there on every phone)
Inside the system or data folder, create a subfolder "app", and in these, make subfolders named EXACTLY after the APK name. For example, to theme the Browser, you need a folder called "Browser.apk". It must be correctly capitalised.
Within there, place the files you require for your theme, in the relevant locations. So most PNGs will be in res/drawable-hdpi/. You can put in xml files too (those which are not in resources.arsc), if you compile them via apktool, and extract them with a zip tool.
In the vrtheme folder, as well as system and data folder, one called "raw" can exist. Within here, you can place files to be copied verbatim to the ROM (for example, modified JAR files). Note that using this may make the theme device dependent (read WILL make it device dependent)
And that's about it.
Features
Will modify APKs in a ROM, without changing signatures, and can be used on any ROM where the filenames of themed files is the same.
Should not need updated between versions of a ROM
Zipaligns all APKs before installation
Stores a backup of all files being modified in /cache/vrtheme-backup/
Requires no coding abilities or editing of files - just drag and drop
Can copy "raw" files, though at risk of not working on other devices (well, let's face it, it won't work on likely a slightly different ROM, so this feature is not recommended or encouraged)
Credits
Doctorcete for the original idea in a discussion on IRC
Stericson for the original idea of metamorph. While totally different, it's a shared goal to separate themes from ROMs
Matt from the Metamorph team, for the zip binary compiled for Android
Seshy, for testing
EULA
Click to expand...
Click to collapse
Nothing evil or complicated - just a few little things. You should not charge for access to this code. That includes a zip containing this, or a derivative of it. So please don't sell themes using it. That's not particularly cool. If you want to use it commercially for some reason, get in touch with us.
If you spot a bug or error, and find a fix, please reply in this thread and let us know, or post the changes you made. If you're going to distribute the changed version, it is expected that you share the change made by contacting us, or posting it here.
Finally, don't be a douche - don't rip this off or call it your own, and leave all headers and comments identifying the origin of the code in place. Don't rename this to match your ROM or "team" name - it's not cool, and it's not yours to go and adjust. I chose to make this a readable "plain" script, but can easily obfuscate and encrypt it if you want to be a douche.
Copyright VillainROM (2011). All rights reserved
Click to expand...
Click to collapse
Now this project was created around the SGS2, and as such it did not work on the TF101 at first, however me and Pulser have spent the day looking for solutions and finally got it working for the TF101.
IMPORTANT: DO NOT USE THE SGS2 TEMPLATE FROM THE VILLAINROM WEBSITE.
Download:
0.3.6 experimental
Clean template without theme included: http://www.mediafire.com/?5bs9srz88i4wdq4
Asus Eee Pad TF101 VRTheme template: http://www.mediafire.com/?5gyr1g0xgd05t70
Note: for now the template is my windows phone 7 theme since it shows you where everything goes really well
If you find any issues or bugs PM me with as much info as you can and if possible a recovery log (found in /cache/recovery/) so I can try and find a solution to your problem.
Changelog
0.3.5
Fixed ASCII art in updater script.
Minor clean up of installtheme.sh
Added preview.png to template.
0.3.3
Modified installtheme.sh as it was giving possible problems.
0.3.2
Fixed a problem with raw folder copying. Put contents of /raw in /system now on the root of the .zip
Fixed some status 0 errors.
Currently known bugs:
You may have issues trying to flash framework files and app files in the same .zip (code 0 error).
Temporary solution: Flash the framework folder and the app folder in seperate .zip files.
hello,
is that you can see screen pls ?
And this theme is compatible with any rom ?
wallah said:
hello,
is that you can see screen pls ?
And this theme is compatible with any rom ?
Click to expand...
Click to collapse
If you had taken 3 seconds to read the post you would know it's not a theme.
This is for themers only.
yes I have read and I have not really understood ...
sorry I disturb
For any themers who want a better example of how it works, I just updated my own theme to use this method:
http://forum.xda-developers.com/showthread.php?t=1120525
Hey seshmaru,
This is definitely a great method! As soon as I get a chance, I will experiment with adapting PCB Blue to use the VillainROM theming method (with leaving all credit intact of course )
If someone wants to uninstall any themes applied this way, what would be the best method though? Just reflash their ROM?...(is what I'm thinking).
Thanks for working on this with the Villain Team, and if there's anything I can do (help/test/etc.), please don't hesitate to PM me.
Thanks again, and cheers for now!
scar45 said:
Hey seshmaru,
This is definitely a great method! As soon as I get a chance, I will experiment with adapting PCB Blue to use the VillainROM theming method (with leaving all credit intact of course )
If someone wants to uninstall any themes applied this way, what would be the best method though? Just reflash their ROM?...(is what I'm thinking).
Thanks for working on this with the Villain Team, and if there's anything I can do (help/test/etc.), please don't hesitate to PM me.
Thanks again, and cheers for now!
Click to expand...
Click to collapse
Well seeing as the current .zip makes a backup of the original files, in the future there will probably be a script made to restore the back up.
Till then the easiest way is to just reflash your ROM without a wipe or to reflash whatever theme you had before.
If you want to help with testing (constantly fixing things since pulser is away so it's my task to keep the SGS2 template and TF101 template as identical as possible) or have any questions you can pop by the VillainROM IRC since I'm generally in there.
Hmm... I can't quite figure out why, but it is not working right for me.. My framework-res.apk file is exactly the same after flashing....
I managed to do some debugging, and i found out that the file file is actually created, but it doesn't copy it over for some reason...
within the VRTheme folder (which i prevented from being deleted so i could check out the contents) the framework-res.apk file is in apply/system/framework/framework-res.apk...
So i tried editing the install script, all the way down at the bottom, and i changed the code from from cd /cache/vrtheme/apply/system/framework/aligned/ to cd /cache/vrtheme/apply/system/framework/ and it worked!
All i can guess is that the file isn't getting aligned for some reason, so that folder/file is never created, but the script is still calling for it...
Can you please let me know if my fix is acceptable, or if there is something off with it that can be fixed and would allow it to be aligned therefore creating the folder and the file?
-trailblazer101
I just want to confirm this. I made some xml edits for the framework, finsky, and gmail were I change the color of the text. Those are in the values folder in the colors.xml file. After you compile the apk you cannot see that folder so I am guessing that you cannot use this to flash that xml correct?
went toflash the theme i get error 0
MetAloid said:
went toflash the theme i get error 0
Click to expand...
Click to collapse
just try the new version now i get error 6
MetAloid said:
just try the new version now i get error 6
Click to expand...
Click to collapse
I got error 6 as well.
Error 6
I'm gettting same error ^ as cescribed by others.
I have been wanting to get into the Honeycomb theme arena and this looks like a good place to start, thanks for your work and I hope I can figure it out. Would it be ok to drop by IRC if I have any questions?
Hi all, just looking for confirmation that the VillainTheme flasher is able to apply .XML files (specifically in framework-res/drawable)?
Thanks in advance!
It should be able to, although it's had some issues at times.
Anyone getting status 6, try this new updated template: http://www.mediafire.com/?5bs9srz88i4wdq4
seshmaru said:
Anyone getting status 6, try this new updated template: http://www.mediafire.com/?5bs9srz88i4wdq4
Click to expand...
Click to collapse
That 0.3.6 template works for me
Regards, folgui.
I'm having a problem with Recovery giving "E:Error in... / Error 0" with my theme for the TF101 below.
Can someone please test it and report their findings? Note that you should do a Nandroid backup first!
Thanks in advance...
** EDIT ** - Found the problem and fixed it...sorry for the post!

[TUTORIAL] User-Friendly Custom Lock-Rings for Sense 3.0 (EVO 4G)

After going through many of the different lock ring tutorials, I have noticed that they all have something in common: They are too user intensive and prone to user-error. Sure, once you have it down, it's easy. But it can be daunting to start out.
All I have done here is make it EXTREMELY user friendly.
No more copying and pasting into ZIPs and APKs!!
No more fishing around the Templates tree in M10 Tools!!!
Simply run the BATCH file, get a cup of coffee, and then flash!
Here are the detailed instructions... (also in the Read-Me)
0. Make sure you have installed Microsoft .net 4 framework on your machine.
http://www.microsoft.com/net
1. Unpack User_Friendly_Lock_Screen_Kit_v1.04.zip (Where you put the file does not matter anymore!!!! For example purposes, I will use C:\Lock_Ring_Kit)
2. Copy your image into C:\Lock_Ring_Kit and name it LockRing.png
Image requirements:
a. Must be a PNG file
b. Image must be 271 x 270 pixels (If it is not the right size, it will come out looking funny (270x271 WILL NOT WORK)
c. The image must be rotated 180 degrees and reflected horizontally.
3. Double-click "LockRingCreator.bat" and let it do its thing.
4. Flashable.zip was just created for you. Rename it whatever you wish.
5. Copy it to the root of your SD card, boot into recovery, and flash
The BATCH file cleans up after itself. You don't have to go through and delete any of the old files. If you want to make another one, just change out the PNG and run it again. My desktop is pretty old, and the BATCH takes about 2 minutes to run.
I have only tested this on Synergy, but I assume that it will work on similar ROMs. I also believe that it will work on the Thunderbolt (can someone confirm that?)
All files are included in the ZIP.
User_Friendly_Lock_Ring_Kit_v1.05.zip
Error Reporting
This is a work in progress. If you have an issue, please post it on the thread. Also, please copy and paste the output from the command prompt so we can get to the bottom of it. (Right click on command prompt, Select All, the then press ENTER. It is now ready to paste.)
Acknowledgments:
jmaher1023 - I used his process as a template. All that my BATCH file does is automate his process
Flemmard and DiamondBack2010- I have no idea what M10 Tools does or how much trouble they had to go through to make it, but I do know that it is the heart and soul of this whole operation.
Confirmed ROMS
Gingeritis3d
Synergy RLS 1
InCompatible ROMS
Kinged Shooter RLS 2.3
I'll try this out, thanks alot dude.
One thing you didn't mention is that the images still need to be 271 X 270 or they won't look right. Other than that this works on Gingeritis3d. (And if I want to say I was the one to create the lock ring I might edit the script) lol. Very good work though man. Very useful tool. Have you been able to find where the images are located for the Amazing sense skin? I haven't found those yet and want to use that semi transparent tool bar at the bottom but dont want to use a different launcher
somehow i cant get it to work ive followed every step but when i run the
"LockRingCreator.bat" it just goes into cmd really fast and nothing happens
TDubKong said:
One thing you didn't mention is that the images still need to be 270 X 270 or they won't look right.
Click to expand...
Click to collapse
Fixed in OP. I put that in the ReadMe, but forgot it on the thread Thanks for the reminder.
TDubKong said:
Other than that this works on Gingeritis3d.
Click to expand...
Click to collapse
Thanks for letting me know. I'll add a lit of confirmed ROMS that this works for.
TDubKong said:
(And if I want to say I was the one to create the lock ring I might edit the script) lol.
Click to expand...
Click to collapse
Navigate to C:\Lock_Ring_KitTemplate\META-INF\com\google\android
There is a file named "updater-script" Rename it updater-script.txt, and open it for editing. Just look for my name and replace it with yours. Make sure you take the .txt off after saving
TDubKong said:
Have you been able to find where the images are located for the Amazing sense skin? I haven't found those yet and want to use that semi transparent tool bar at the bottom but dont want to use a different launcher
Click to expand...
Click to collapse
No Idea
IDRFT95S14 said:
somehow i cant get it to work ive followed every step but when i run the
"LockRingCreator.bat" it just goes into cmd really fast and nothing happens
Click to expand...
Click to collapse
What operating system are you running? Do you have Microsoft .net 4 framework installed on your system?
When it is working properly, after you run the BATCH file you should see a command window running various commands for a little while.
did you
IDRFT95S14 said:
somehow i cant get it to work ive followed every step but when i run the
"LockRingCreator.bat" it just goes into cmd really fast and nothing happens
Click to expand...
Click to collapse
did you make sure the file was named LockRing and was a png format? Something else to consider is that if you named a png image lockring.png then when it looks for the file it will see lockring.png.png so make sure it is a png format image but only name it LockRing.Hope this helps
gamendorf said:
Fixed in OP. I put that in the ReadMe, but forgot it on the thread Thanks for the reminder.
Thanks for letting me know. I'll add a lit of confirmed ROMS that this works for.
Navigate to C:\Lock_Ring_KitTemplate\META-INF\com\google\android
There is a file named "updater-script" Rename it updater-script.txt, and open it for editing. Just look for my name and replace it with yours. Make sure you take the .txt off after saving
No Idea
Click to expand...
Click to collapse
Thanks brudda. I was only kidding about renaming the script. I knew where to find it. I can run a couple other ROMS if you want. I got nothing better to do tonight. Let me know which ones you want to add to your list and i'll do a couple.
just downloaded will test in a minute on mik3d beta1, but in the read me file, no sizes for pic you intend to use (just a heads up).
Forgot to mention I am running Gingeritis 3D Beta VIII. And I do have .net 4 installed. Maybe thats why i didn't have any issues. Also I didn't even read the read me file. oops.
life_420 said:
just downloaded will test in a minute on mik3d beta1, but in the read me file, no sizes for pic you intend to use (just a heads up).
Click to expand...
Click to collapse
You're right. Oops. Zip file has been updated
life_420 said:
just downloaded will test in a minute on mik3d beta1, but in the read me file, no sizes for pic you intend to use (just a heads up).
Click to expand...
Click to collapse
Love my DropBox. Tried a few other apps like Minus and another but they are just not so user friendly and helpful. Although a couple have more GB.
gamendorf said:
What operating system are you running? Do you have Microsoft .net 4 framework installed on your system?
When it is working properly, after you run the BATCH file you should see a command window running various commands for a little while.
Click to expand...
Click to collapse
windows 7 i looked it up and it does have the Microsoft .net 4 framework intalled ,im thinking i just didnt name something right ill try what TDubKong suggested VVV and ill get back
TDubKong said:
did you make sure the file was named LockRing and was a png format? Something else to consider is that if you named a png image lockring.png then when it looks for the file it will see lockring.png.png so make sure it is a png format image but only name it LockRing.Hope this helps
Click to expand...
Click to collapse
TDubKong said:
Love my DropBox. Tried a few other apps like Minus and another but they are just not so user friendly and helpful. Although a couple have more GB.
Click to expand...
Click to collapse
dropbox has been the easiest, havent hit a limit yet, except storage space..... which i upgraded to eliminate that problem, all the others i have tried i cant upload anything because they limit file sizes that you can upload, where as dropbox just syncs with your desktop, takes awhile but works.
just tried it to make a flashable zip and it did the same thing as other guy, flashed the cmd prompt super quick, no zip created.....
edit:
wait i just checked windows update and it has 2 updates for net framework 4 lol
nice i was using the copy paste way. i use one like this for the 3d(that was made by triscuit1983.
still didnt work for me, oh well back to m10 editor... thanx anyways
did you put it on your c drive i had that problem on the one for the 3d
I will try again tomorrow, work in the morning
Sent from my PC36100 using xda premium
life_420 said:
just tried it to make a flashable zip and it did the same thing as other guy, flashed the cmd prompt super quick, no zip created.....
Click to expand...
Click to collapse
dased14 said:
did you put it on your c drive i had that problem on the one for the 3d
Click to expand...
Click to collapse
Make sure that you unzip the files to C:\Lock_Ring_Kit. When I install them somewhere else ("C:\Lock_Ring_Kit______"), I get the same error you do. However, the BATCH file did what it was supposed to do. Since C:\Lock_Ring_Kit did not exist, it created it, and there is a "Working" folder as well as a "Flashable.zip" there. But, since the original files were not in the right place, it is useless.
When the command prompt just flashes, what that means is that M10Tools are not having a chance to run. The only explanation I have for that as of right now is that the files are not in the right location. Also make sure that you named the image LockRing.png.
I'll see about making the batch file spit out an error code, but it might be a few days before I can get around to it. I'll keep yall posted.

Categories

Resources