Heres a script that ports your themes from firmware to firmware, rom to rom.
How it works:
- Looks through app/framework folder for apks that exist in new/old rom
- Then extracts pngs from those apks
- Then deletes mismatching pngs
- Repacks old themes pngs into new rom
- Done
Note: Benefit of this method is that you could literally port a donut theme to a froyo rom because it only copies images that exist in the new rom, and none that don't.
Betas are spread out through-out the thread (they provide a lot more features)
Instructions:
- Download zip
- Extract zip
- Place old framework/app in old folder (Rom that has the theme)
- Place new framework/app in new folder (Rom u want to port it to)
- Run batch script
- The new folder is now themed
Requirements: Windows environment
Improvements:
- Dependant on demand for this script.
NOTE: For now u can only transfer themes from 2.0+ to 2.0+ roms and pre 2.0 to pre 2.0 roms. Big reason is because of the mdpi folders whereas before there was only one. Will implement it as soon as possible.
Beta 3 Download - http://www.multiupload.com/62I7MXV620
amazing concept... and most likely awesome work like your others.. keep them coming!
definitely gonna give this a try .....
thanks
has anyone actually tried this?
I would try it myself but i don't have the time atm.
Had a minor hiccup in my script , fixed/uploaded.
UltraLinx said:
has anyone actually tried this?
I would try it myself but i don't have the time atm.
Click to expand...
Click to collapse
I just tested this script by doing the following :
1. adb pulled /system/app and /system/framework from my phone into the old folder
2. place cm6 into new folder
3. Ran script
4. Pushed files to phone and it works perfectly
Sorry. I'm relatively new to this, so how do I get the framework/app?
excellentnuke said:
Sorry. I'm relatively new to this, so how do I get the framework/app?
Click to expand...
Click to collapse
Well u can either extract app/framework from ur theme's update.zip or pull it from ur phone by doing
adb pull /system/app <drag app folder from theme-porter folder here>
adb pull /system/framework <drag framework folder from theme-porter folder here>
HOLY SHIZEN!
now if u can possibly implement the transformation of HDPI to MDPI id pay u at least 20-30 bucks for that..
in the interim..thank u very much for your contribution!
SoCalSpecialist said:
HOLY SHIZEN!
now if u can possibly implement the transformation of HDPI to MDPI id pay u at least 20-30 bucks for that..
in the interim..thank u very much for your contribution!
Click to expand...
Click to collapse
Hmm interesting idea. Certainly possible, however not all images are to be resized equally, some more than others. I'll look into it, can't promise though
Edit: Very hard to do, basically u'll have to have a list of image filenames where each must be noted as to what resolution they must be on a mdpi device.
im sort of new to this. i have a question.
will this work if im using an update.zip theme in the old folder
and a clean rom in the new folder?
ex.
i wanna port the Elegance Theme for SuperD for Dream
to
SuperE for Dream.
and another question.
if this is how it will work
can i then create an update.zip out of what comes from the new folder?
avisions said:
im sort of new to this. i have a question.
will this work if im using an update.zip theme in the old folder
and a clean rom in the new folder?
ex.
i wanna port the Elegance Theme for SuperD for Dream
to
SuperE for Dream.
and another question.
if this is how it will work
can i then create an update.zip out of what comes from the new folder?
Click to expand...
Click to collapse
As i said i'll improve it if ppl find this script to be useful, i'll base it on # of downloads lol
For now u'll have to extract the framework and app folder from elegance theme for dream into old folder and extract framework and app folder from super e to new folder. Then run script, once done ur new folder's stuff will be themed.
do i have to then push the files from the new folder over or can i use your create update.zip script and flash the new themed apps and framework?
avisions said:
do i have to then push the files from the new folder over or can i use your create update.zip script and flash the new themed apps and framework?
Click to expand...
Click to collapse
Yes u can do that or u can just push the files. Yea an update to this will prolly have an option to make the new folder into an update.zip.
thanks man. the combinations of these 2 scripts will help me to make a rom how i want it.
great work. keep it up
avisions said:
thanks man. the combinations of these 2 scripts will help me to make a rom how i want it.
great work. keep it up
Click to expand...
Click to collapse
Cool, post back on ur results from using this script, users tend to be dependant on the comments of other users
Daneshm90 said:
Hmm interesting idea. Certainly possible, however not all images are to be resized equally, some more than others. I'll look into it, can't promise though
Edit: Very hard to do, basically u'll have to have a list of image filenames where each must be noted as to what resolution they must be on a mdpi device.
Click to expand...
Click to collapse
i figured as much..thank u tho for taking the time to look into it.
i appreciate the efforts..in the meantime, ive got a theme to find and give ur app a go!
Love this applications it is so usefull used it all day,, Thanks
Very usefull and simple to use tool !
Thank you man
XxKOLOHExX said:
Love this applications it is so usefull used it all day,, Thanks
Click to expand...
Click to collapse
ondris said:
Very usefull and simple to use tool !
Thank you man
Click to expand...
Click to collapse
Ok so the # of downloads have reached my defintion of *in demand*
So these are the changes im thinkin of bringing, feel free to make suggestions.
- Make the "new folder" into an update.zip once the script has run through its paces
- Have an option to pull app/framework directly from ur phone
Those are the only 2 i can see as being useful, if anymore let me know.
crossing platforms doesnt work.
tried to move the celadon theme for CM 5.0.7 (which is android 2.1)
to SuperD 1.11 (which is android 1.6)
i also tried transfering Elegance for SuperD 1.11
to SuperE 1.0.3
the fonts transfered. nothing else did.
but i did successfully transfer the celadon theme for CM 5.0.7
to SuperE 1.0.3
Related
CHANGELOG
v1.1 - Added "Ultra" compression switch. Added a few more commands.
v1.2 -Now includes batch file that signs the theme also. So if you need to add anything else to the theme, like an xml file, add it to themenew.zip BEFORE you run the batch file. I also included a batch file that change the Ticker, Date and Clock font colors to white, then signs it. Of course, you can make it change it to any color, you just need to edit the batch.
v1.3 - Now compatible with CM 4.1.5+ themes.
http://www.mediafire.com/?gmjbnzted5m
Then follow these steps...
Download and extract "themeporter.zip" to C:\themeporter(IMPORTANT that it's extracted there).
1) Copy old theme to c:\themeporter and rename it to "themeold.zip".
2) Copy new theme template to c:\themeporter and rename it to "themenew.zip".
3) Run Port.bat
note: If you want to see for yourself that this works, don't copy and paste "themenew.zip" into the themeporter directory. This batch will automatically create one if there isn't one there. You will then be able to see exactly which files are being ported over.
BIG NOTE: This only ports over.png's. You will still have to manually copy over and xml's, jar's or whatever over to "themenew.zip".
WOW
Man if this works.... WOW!!
The other issue is any modified xml's for color changes...
daveid said:
The other issue is any modified xml's for color changes...
Click to expand...
Click to collapse
Yea, this will only be used just for png's.
Is this geared toward theme creators or users? If creators you could modify it so that if they store only modified files in a tiered folder structure it could just dump them into the new template.
If end users then you will be limited on your current track since you have to unpack/repack with entire files instead of it being selective.
Take a look into the bash scripts available here:
http://forum.xda-developers.com/showthread.php?t=530081
Port the bash > batch, and you'll have a very nice theme porting experience in the windows environment.
I've been using it for the past month, and it's a champ.
cant wait to see this finished. with 6 themes to update this will be helpful!!!
sir*mez said:
cant wait to see this finished. with 6 themes to update this will be helpful!!!
Click to expand...
Click to collapse
So far so good...it's maybe about 60% complete. Hopefully I'll have something whipped up by tomorrow.
ThemePorter v1.0 is up. Check it out!
Looks good. So now all that is needed is the manual updates for HTC Music, XML edits and colorchanger.
Nice timesaver!
Thanks
SICK!!!!! I love this man with this and colorchanger.jar porting is a breeze for cyanogen builds thanks a million!!
Tried porting over Kspec Oreo Theme to Cyanogen 3.9.4
Kept getting a E:\Wrong Digest error with Phone.apk
I tried resigning it and same error
Beats me
xidominicanoix said:
Tried porting over Kspec Oreo Theme to Cyanogen 3.9.4
Kept getting a E:\Wrong Digest error with Phone.apk
I tried resigning it and same error
Beats me
Click to expand...
Click to collapse
Did you have the bat running in C:\themeporter\? Worked for me with Cyan's 3.9.4
Btw ultra Spikey, I have noooo idea why this thread is not insanely bigger cuz this thing is freakin awesome and helps a ish ton for me. Thats why it went unnoticed by me until now. Thanks man! : D
well i did a test that i was thinking about last night. Is it possible to port a theme over to a new CM before the new rom finishes flashing and booting up? the answer............ YES!!! i started the download for the rom and theme template at the same time and with this and colorChange.jar by Oshaka i was able to port my theme before my phone had fully booted up the rom. Also it only took 2 minutes to download the rom so that didn't affect timing too much. Great job ultra spikey, this is amazing
RainCrow said:
Did you have the bat running in C:\themeporter\? Worked for me with Cyan's 3.9.4
Btw ultra Spikey, I have noooo idea why this thread is not insanely bigger cuz this thing is freakin awesome and helps a ish ton for me. Thats why it went unnoticed by me until now. Thanks man! : D
Click to expand...
Click to collapse
Yup had it in the right place and everything .. it zipped everything up into "themenew.zip" but just hit that error when trying to flash it
EDIT: just tried it again ... didnt get the error!! lol ... i had to resign the update.zip (duh) ... rebooting now
Just FYI, for some reason (on my Linux box), when rezipping the files, it does not keep the same letter case.
Phone.apk becomes
phone.apk
This caused some problems...but all I had to do was go in an manually rename. Other than that - awesome work!
EDIT: Actually, just realized that the battery progress icon does not work at all. When I manually change the files - it is fine. But when I run your tool - it is not. My guess is the case-sensitive thing.
erissiva said:
Just FYI, for some reason (on my Linux box), when rezipping the files, it does not keep the same letter case.
Phone.apk becomes
phone.apk
Click to expand...
Click to collapse
Good catch eriss. I just noticed that as well and came in here to post that I am seeing the same issue.
hmm I didnt realize it was case sensitive. It's not on any of my themes at least. I will fix and to match later today.
I fixed the case-sensitive issue in 1.2.
ultra spikey said:
I fixed the case-sensitive issue in 1.2.
Click to expand...
Click to collapse
If you are looking for increased ease you might think about rolling into/incorporating the color changer jar. : )
I have my updating/porting down to about 3 commands:
Code:
490 wget http://n0rp.chemlab.org/android/experimental/template-cm-3.9.6-signed.zip
491 unzip template-cm-3.9.6-signed.zip -d ./theme.new/
492 ./update.theme theme.aero/ theme.new/
493 ./create.new theme.new/
I've incorporated the colorChanger.jar into my own script, and it has dramatically reduced the time/effort in making updates/ports...
I've decided to go ahead and make a tool mostly for themers to make their life of porting the endless amounts of pictures from rom to rom. Now, this doesn't mean users cant use this as well, but PLEASE make a nandroid before hand. It's in beta so don't expect it to be perfect. I have an auto updater with it as well so ill be updating it that way.
*** i had no idea there was a working theme porter on here untill after i made this. I tried i think 1.3 and it failed so i decided to make my own. I just came across the 1.0 posted last month.
WILL NOT PORT GAPPS IF ITS NOT IN THE STOCK ROM.
Im currently working on a fix for that, if you want gapps, throw them in the stock rom your self and then port it.
Notes:
This has only been tested on Motorola Droid.
Instructions:
1. Make a nandroid. I don't want to hear whining if it doesn't work and you lose everything. I'm also not responsible if this bricks your phone. Even if it does, you have recovery, then you have SBF.
2. Download, DO NOT simply just run if your using IE (Who uses IE anymore...?)
3. Select the theme as "Select Theme".
4. Select the STOCK rom you are running as "Select Stock Rom".
5. Hit port and sit back and watch.
Limitations:
Only supports Update.zip formats, for now. i may support Meta Morphs in the future.
Only moves .pngs to new rom, Meaning if the theme has custom .xmls in it, it WONT port.
Change log:
Code:
Version: 1.0:
Ability to port themes from one rom to another.
Progress bars on extracting / moving (Title of console window)
Output log on screen (Not great, will work on.)
Version 1.1:
Added Auto Updater.
Added some crash fixes.
Version 1.2:
Fixed bug where if theme has no themed /system/app's it would crash.
Version 1.5 (Initial Release):
Fixed Progress bar on extracting / moving to archive.
Implemented Suggestion/bug reporting system.
Some general bug fixes.
Added audio on port completion.
Version 1.5.1.0
Added options form.
-Change colors of output console.
-Save last used .zips (toggle)
-Play sound on port completion (toggle)
-Fade out on exit (toggle)
Download:
TheDeathly said:
Only moves .jpgs to new rom, Meaning if the theme has custom .xmls in it, it WONT port.
Click to expand...
Click to collapse
Hmm so it will port the default wallpaper xD
Did you heard about MetaMorph? From your description I think it does exactly the same and more and it's some kind of standard in theming world.
Brut.all said:
Did you heard about MetaMorph? From your description I think it does exactly the same and more and it's some kind of standard in theming world.
Click to expand...
Click to collapse
I've heard of people having lots of issues with metamorph over a standard update.zip, and at least in the moto droid community we use update.zip's over metamorph's especially since metamorph was buggy with Froyo for the longest time, I do not know if it still is or not.
C0mpu13rFr34k said:
Hmm so it will port the default wallpaper xD
Click to expand...
Click to collapse
Oops, i meant it'll only port over .pngs. sorry for the typo lol
Hey cool, haven't tried it but does it work for porting eclair/froyo themes to cupcake/donut roms ? and vice-versa ? A lot has changed since the firmwares (including some .9 being changed to .png and vice versa). Checkout the last beta i posted, it had support for that, u cud prolly use most of the schemes.
@Brut, correct this is a lot like metamorph but metamorph is firmware dependant whereas this isnt/shudnt be. For eg, title_bar in pre eclair/froyo roms was a .png and now is a .9 png. Metamorph just inserts images and hence would cause problems. This only brings over files if they match and in some cases like my script renames them to match the firmware's naming convention (eg, pre-eclair/froyo didnt have mdpi,hdpi, just plain drawable). Hope that clears the air.
Also another thing that makes these have the upperhand to metamorph is the capability to take a dump of ur phone, put the dump of a rom u want to try and BAM ur theme is ported to that rom. Whereas with metamorph, id have to go out and look for the individual morphs that helped me accomplish the look/feel of my phone.
Daneshm90 said:
Hey cool, haven't tried it but does it work for porting eclair/froyo themes to cupcake/donut roms ? and vice-versa ? A lot has changed since the firmwares (including some .9 being changed to .png and vice versa). Checkout the last beta i posted, it had support for that, u cud prolly use most of the schemes.
@Brut, correct this is a lot like metamorph but metamorph is firmware dependant whereas this isnt/shudnt be. For eg, title_bar in pre eclair/froyo roms was a .png and now is a .9 png. Metamorph just inserts images and hence would cause problems. This only brings over files if they match and in some cases like my script renames them to match the firmware's naming convention (eg, pre-eclair/froyo didnt have mdpi,hdpi, just plain drawable). Hope that clears the air.
Also another thing that makes these have the upperhand to metamorph is the capability to take a dump of ur phone, put the dump of a rom u want to try and BAM ur theme is ported to that rom. Whereas with metamorph, id have to go out and look for the individual morphs that helped me accomplish the look/feel of my phone.
Click to expand...
Click to collapse
Hey, i actually have not had a chance to look at donut/eclair themes. My first Android phone was the moto droid so ive never done anything with a donut rom. i will make sure to take a look into that though. Ill go take a look at your latest beta now and see what i can come up with. thanks
Edit: i just took a look at your script and very nice work i have to say also, i may in the future decide to add support to 1.6 and lower to 2.0 +. it'll port most of it over as is except for the .9 and everything that does get ported over wont be resized properly as it does in yours. This should port eclair to froyo fine. ive actually ported over a mdpi to hdpi just fine with this so im assuming it works fine. in anycase thanks for the heads up.
Daneshm90 said:
@Brut, correct this is a lot like metamorph but metamorph is firmware dependant whereas this isnt/shudnt be. For eg, title_bar in pre eclair/froyo roms was a .png and now is a .9 png. Metamorph just inserts images and hence would cause problems. This only brings over files if they match and in some cases like my script renames them to match the firmware's naming convention (eg, pre-eclair/froyo didnt have mdpi,hdpi, just plain drawable). Hope that clears the air.
Click to expand...
Click to collapse
Ahh, ok, thanks for explanation.
But I don't understand, how such tool would work so it'll be flexible and reliable. I mean... it would need to guess what to do. Human could look at files and say: "Ohh, this file was moved here, so I should rename it to xxx.", but what about the computer? How it will know how to port themes to other platforms? Of course you could implement hooks for specific situations as porting between eclair and froyo. But what about custom frameworks from manufacturers? What about changes made by themers? I could add, rename, remove anything I want, so how this tool will know, what I did and how to port my changes to other systems?
Maybe I don't understand something.
Correct its definately not perfect and apks modified more than theming ie smali\xml edit will have to be left out.
Also user must select which firmware theme is and which rom is.
Still its a step up from metamorph imho. In the end the user must recognize a products limitation and react accordingly.
Sent from my GT-I9000M using XDA App
help please.. i get this error....
Error: Could not find file 'C:\Users\Jason\AppData\Local\Temp\Rar$EX00.444\port\new\META-INF'.
Whats next
What do I need to do when finished it says my ZIP file is the final folder but it is just a folder not ZIPPED please help this is too cool to not use.
Edubyah said:
What do I need to do when finished it says my ZIP file is the final folder but it is just a folder not ZIPPED please help this is too cool to not use.
Click to expand...
Click to collapse
Just go inside of the final folder and zip all the contents with a winzip, and make sure it zips as a zip file and not a zipx. after you're done you can use a program to sign your zip like RegawMOD Zip Signer v1.0.
The supplied zip file is not flashable for some reason - have had to manually add them to a ROM.
Going to test this out tomorrow. Any success stories?
I'm giving this a run, but I'm trying to port an hdpi theme to mdpi... will let you know the results. All in all, this is really nice work!!!
Unfortunately for me, the theme I wanted to port is giving me issues because it's a UI rather than a theme. I was trying to get DarkEdge on my Eris. I did want to say though that every thing worked beautifully and this is really an incredible resource for the android community.
From me to you on Cyanogentazz [insert latest version here] Eris
This works great now that it get that instant update! Thanks for the work!
READ THIS FIRST:
The original post is here alot of questions have been answered, here browse around there 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.
My next version will have this included along with some instructions, along with font and boot animation porting.
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 with 9 patch porting download
reserved 10char..
Nice work
Sent from my HTC Desire using XDA App
TheRedDrake said:
Nice work
Sent from my HTC Desire using XDA App
Click to expand...
Click to collapse
Thank you. hasn't caught on in this forum yet i guess.
I'll try this out now, this seems easier than the theme porter that's already on the forum.
Looks promising! I will try it out right now!
dl and try after work
will this work for porting themes to the HTC Tattoo?? does it rescale the theme to suite the phone?
vura said:
will this work for porting themes to the HTC Tattoo?? does it rescale the theme to suite the phone?
Click to expand...
Click to collapse
This will port any theme to any rom... provided they are compatible. So while you can go from a sense theme and inject it into a AOSP rom, it probably won't catch everything since it works off of matches. It also does not have any scaling included.
The biggest thing with this is that the theme and rom have to have a same file structure so all rom come and the have the system/app folder and the system/framework/framework-res.apk, this is what the injector looks for. So honestly you could build a theme from a buncha different apks from other themes it will inject that into your rom and give you back a flashable zip. So a good theme structure example would be Gommarah's Black Mod in the HERO CDMA forum.
I do however have a way to port HDPI theme to and MDPI ROM but its not 100%... if I get enough request I'll put it in its just the process I use to accomplish this is very complicated and requires some extra software, its also adds a significant overhead to the script run time (and 3x longer to run) It works in the since the it will shrink the HDPI 9patch png but the 9 patch data is wrong about 10-20% of the time. This won't cause the roms to force close but will just make some of the 9patch pngs to stretch wrong and would require a simple edit in the 9patch draw to fix it.
+1 for hdpi to mdpi scaling!
Any others want the hdpi to mdpi scaling? I've considered releasing it.
Sent from my PC36100 using XDA App
Just curious if I did this right as I am still fairly new to this whole scene and this whole process seemed to work way to easy. But basically I got both the rom and theme converted and then signed both zips. Does that mean that I can now successfully flash the new theme? Thanks in advance!
theu2621 said:
Just curious if I did this right as I am still fairly new to this whole scene and this whole process seemed to work way to easy. But basically I got both the rom and theme converted and then signed both zips. Does that mean that I can now successfully flash the new theme? Thanks in advance!
Click to expand...
Click to collapse
There is no need to sign anything, the injector will sign the final output zip. Take your theme zip and your rom zip and place it in the folder next to the script. Then just run the script when its finished you will get a a new zip called themed-<roms-name>.zip.... this is ready to flash (optoed, align and signed).
ASimmons said:
Any others want the hdpi to mdpi scaling? I've considered releasing it.
Sent from my PC36100 using XDA App
Click to expand...
Click to collapse
Can I vote multiple times?
Ill try and get it ready for this weekend and see what you think.
Sent from my PC36100 using XDA App
First of all,great software worked as a charm...
I subscribe to the resizing,all the best themes are for HDPI...would make this the best theming tool out there for android
thanks that did it!
what if the rom needs has a seperate gapps.zip with it? thanks!
theu2621 said:
what if the rom needs has a seperate gapps.zip with it? thanks!
Click to expand...
Click to collapse
Just put the gapps system/app files into your ROM's system/app files. Then inject your theme, the tool does the rest
thanks again for the help! yall really helped, and rather quickly too!
This is a gingerbread framework for froyo to reproduce -work in Fresh Froyo and CM 6, took it from krispy.
The different from froyo is the animation after sliding the unlock screen and the pop up notification.
I have try it, and this is nice just for refreshing our froyo before the source is come out.
This is not an update package.
How to apply it ?
First post is intend for releaser, but i'll give you an update. This update is the one that installed on my vogue but not include the fonts. Only for Fresh Froyo based off -ie incubus/kyle build (i'm never make a theme for CM )
How to make it by yourself ?
simply open your framework ( /system/framework/framework-res.apk ) with winrar or 7zip ( dont extract it ).
Then extract my 1st attachment on 1st post, add it to your framework via winrar or 7zip.
Remember to follow the structure of its folder.
Don't worry! I already did make a theme for CM lol. I just pulled the animations and it looks great with CM.
lol, i know that CM guys is better than me. goodluck with the new rls.
Thank you guy. It looks very good
vellowax said:
First post is intend for releaser, but i'll give you an update. This update is the one that installed on my vogue but not include the fonts. Only for Fresh Froyo based off -ie incubus/kyle build (i'm never make a theme for CM )
How to make it by yourself ?
simply open your framework ( /system/framework/framework-res.apk ) with winrar or 7zip ( dont extract it ).
Then extract my 1st attachment on 1st post, add it to your framework via winrar or 7zip.
Remember to follow the structure of its folder.
Click to expand...
Click to collapse
vellowax said:
First post is intend for releaser, but i'll give you an update. This update is the one that installed on my vogue but not include the fonts. Only for Fresh Froyo based off -ie incubus/kyle build (i'm never make a theme for CM )
How to make it by yourself ?
simply open your framework ( /system/framework/framework-res.apk ) with winrar or 7zip ( dont extract it ).
Then extract my 1st attachment on 1st post, add it to your framework via winrar or 7zip.
Remember to follow the structure of its folder.
Click to expand...
Click to collapse
This update works quite well on any Froyo
Very cool animations and looks - Thanks!
I patched my framework and then reinstalled it via ADB shell (using root file manager caused a boot loop for some reason)
This theme looks fantastic, and I love the animations. My only problem is that I can no longer see my clock on the notification bar. I'm assuming it's because the numbers are still black therefor match the background.
Any way to change this? I can't make sense of the XML files, they don't look like anything I've ever seen before.
im guessing this doesnt work with odex'ed builds?
leoleotheiii said:
im guessing this doesnt work with odex'ed builds?
Click to expand...
Click to collapse
themes will never work on odex'd builds, its one of the few drawbacks to the odexing process
Hi!
I have been trying to extract the theme from this ROM
http://forum.xda-developers.com/showthread.php?t=869408
It looks awesome and I want to add some animations from a different ROM and use it with Darkys or Assonance for example but this seems to be much harder than I though unless someone has a quick and easy for dummies procedure for poor me that is.
It should be as easy as extracting the framework-res.apk, twframework-res.apk, mms.apk, bootanimation.zip and fonts as that is what is listed as being themed in the ROM thread. Then use the theme porter posted in the Android Themes section of XDA to inject them in your apk's, then manually change whatever didn't copy over.
rrrrramos said:
It should be as easy as extracting the framework-res.apk, twframework-res.apk, mms.apk, bootanimation.zip and fonts as that is what is listed as being themed in the ROM thread. Then use the theme porter posted in the Android Themes section of XDA to inject them in your apk's, then manually change whatever didn't copy over.
Click to expand...
Click to collapse
mmm sounds simple when you say it lol I will need to dig deep here it seems but that is a good post to point me towards the right path
I usually just extract the framework-res.apk and twframework-res.apk from the ROM I am taking the theme from and the ROM I want to put it in, then I copy the res/drawable-hdpi folder from the old apk into the new one. It is a quick/dirty method, and wont let you change font colors or add a circle battery mod to one without it, but I have never had problems with it before.
You also have to be sure it is compatible with the rom you are using. Some roms have different xml code behind and if you simply put the framework and tw framework in your rom you risk getting fc at boot and not getting past them.
Sent from my SAMSUNG-SGH-I897 using XDA App
Both are JPY Roms so I hope that is enough. I guess worst thing that could happen is having to flash again
shaolin95 said:
Both are JPY Roms so I hope that is enough. I guess worst thing that could happen is having to flash again
Click to expand...
Click to collapse
Try first with /system/framework/framework-res.apk and /system/framework/twframework-res.apk
I'm attaching a cwm zip file that has those files as found in Doc's 6.1 rom.
Just replace them with the files from whatever rom you want and keep that as a backup in case something goes wrong. It will save you from reflashing
If both are JPY roms then it shouldn't be an issue.
I tried doing what Ryukeima mentioned but I ended up with a Frankenstein of a theme as not all things from the them I wanted came over to the new one!
This is going to require some practice. That ROM has also some very nice Icons for Launcher Pro so is going to be another thing to look for..in fact I think I could be happy just getting those Icons.
shaolin95 said:
I tried doing what Ryukeima mentioned but I ended up with a Frankenstein of a theme as not all things from the them I wanted came over to the new one!
This is going to require some practice. That ROM has also some very nice Icons for Launcher Pro so is going to be another thing to look for..in fact I think I could be happy just getting those Icons.
Click to expand...
Click to collapse
Rip all the framework folder. Make a CWM zip and flash it over your ROM. It should work without problems. Then try to either apply animations on UOT kitchen or inject them with metamorph.
icezar1 said:
Rip all the framework folder. Make a CWM zip and flash it over your ROM. It should work without problems. Then try to either apply animations on UOT kitchen or inject them with metamorph.
Click to expand...
Click to collapse
Sorry for my noobness...Just trying to learn this stuff
So if i rip out all framework folders from one rom and manually replace them in another rom (like i did for kernel..replacing zimage file)...will it work?
Also, can anyone tell me how to make a CWM zip...i know there is a post for that on XDA but i am not able to find it...
viny2cool said:
Sorry for my noobness...Just trying to learn this stuff
So if i rip out all framework folders from one rom and manually replace them in another rom (like i did for kernel..replacing zimage file)...will it work?
Also, can anyone tell me how to make a CWM zip...i know there is a post for that on XDA but i am not able to find it...
Click to expand...
Click to collapse
To answer the first question, it won't straight out work. You have to add the images to the file 'framework-res.apk' in the 'drawable-hdpi' folder located within it. Different framework-res.apk's will differ from ROM to ROM, and will just FC or bootloop your phone if you use one that it doesn't like. That's why most themes have the ROM they will work with posted in the title. If it is the same base ROM (in the case of my phone, running Assonance, any JK3 theme will work), then it is as simple as drag & drop. But if it's between say Axura and Assonance, it would have to be manually changed as stated above, since there may be subtle differences in the framework.
As for the second question, here ya go
http://forum.xda-developers.com/showthread.php?t=717437
viny2cool said:
Sorry for my noobness...Just trying to learn this stuff
So if i rip out all framework folders from one rom and manually replace them in another rom (like i did for kernel..replacing zimage file)...will it work?
Also, can anyone tell me how to make a CWM zip...i know there is a post for that on XDA but i am not able to find it...
Click to expand...
Click to collapse
If the theme was made for JPY and the Rom you want to put it on is JPY, it should work. However, there are sometimes system apps which need to be installed with the theme. Easyest thing would be to rip it off, put it on your rom and see if it works. Experiment a bit, thats how you'll learn.
thanks and thanks.
Its really interesting to have a full control of your phone....so i am enjoying learning this stuff....tried using UOT kitchen but got errors...
I just want to modify notification bar...
I am on darky's 7.7...i will have to look for compatible theme
viny2cool said:
I am on darky's 7.7...i will have to look for compatible theme
Click to expand...
Click to collapse
There's plenty of jpy based themes in the i9000>theme section.
You could metamorph it if it doesn't require any xml edits... it looks like Marilyn img edits which could be taken foment that rom..
Sent from my SAMSUNG-SGH-I897 using XDA App
i have a question along these same lines. if one wanted to copy the notification pulldown from a different ROM|theme, how would you do so? im using Perception 9.5 which is built on JK3, but the Androdena theme is built on JPX files. all i want is the notification pulldown elements. can you just copy those image files over and go? i always see themers talking about 9.pngs and i was just wondering if they'd prohibit just a simple copy from one tw-framework to another.