Theme-Porter [v1.0] [Any Firmware / Rom Compatible] [WINDOWS]

Do you find the latest beta functional ?

  • Yes

    Votes: 158 65.6%
  • No

    Votes: 31 12.9%
  • Sometimes

    Votes: 52 21.6%

  • Total voters
    241
Search This thread

rycheme

Senior Member
Jun 2, 2010
994
163
How about:

reboots your phone into recovery
Detect what files are in the OLD folder
Automatically Pull Those Files from your phone
Create a Backup folder (and give recovery option at end in case it fails)
Convert
Push back to phone
Reboot


p.s. Great job !

This would be seriously awesome if it could be done. +1.

Sent from my Eris using XDA App
 

avisions

Member
Apr 14, 2010
37
0
Detroit, MI
K i have something for u to test, i tested it a few times, it works fine but u never know lol.

This script should take care of porting <2.0 themes to 2.0+ roms.

Let me know how it goes.

sorry it took me so long to get back to this. i was working 18 hour shifts for the past 2 days.

anyways. quick question before i get testing. is this also backwards transferable?
i.e. 2.1 theme to 1.6 theme?

cause truth is. i hate all roms past 1.6. They are all battery gobblers
and slow.
 

Daneshm90

Retired Recognized Developer
Jun 1, 2009
3,332
662
sorry it took me so long to get back to this. i was working 18 hour shifts for the past 2 days.

anyways. quick question before i get testing. is this also backwards transferable?
i.e. 2.1 theme to 1.6 theme?

cause truth is. i hate all roms past 1.6. They are all battery gobblers
and slow.

I doubt it. will have to make small changes to b backward compatible. Im away till monday so ill upload modified one. Meantime let me know if elegance to super e works.
 

avisions

Member
Apr 14, 2010
37
0
Detroit, MI
I doubt it. will have to make small changes to b backward compatible. Im away till monday so ill upload modified one. Meantime let me know if elegance to super e works.

these are the results
as you can see the notification bar didnt transfer.
and the menu items didnt change color
good start :D
but i need the backwards compatibility
 

Attachments

  • snap20100731_181850.jpg
    snap20100731_181850.jpg
    25.3 KB · Views: 372
  • snap20100731_181739.jpg
    snap20100731_181739.jpg
    24 KB · Views: 331
  • snap20100731_181726.png
    snap20100731_181726.png
    84 KB · Views: 307
  • snap20100731_181755.png
    snap20100731_181755.png
    10.1 KB · Views: 286

Daneshm90

Retired Recognized Developer
Jun 1, 2009
3,332
662
these are the results
as you can see the notification bar didnt transfer.
and the menu items didnt change color
good start :D
but i need the backwards compatibility

cool yea a gud start ;)

So its framework-res.apk givin problems. k this narrows it down a lot thnx.
 

lokeycmos

Senior Member
Jun 3, 2009
85
0
this is a great concept! i tried taking the theme from CM5.0.8 to CM6 with no luck. everything worked great with no hiccups, but after rebooting it is still the same CM6 theme. any thoughts ??? Thank you much!
 

Daneshm90

Retired Recognized Developer
Jun 1, 2009
3,332
662
this is a great concept! i tried taking the theme from CM5.0.8 to CM6 with no luck. everything worked great with no hiccups, but after rebooting it is still the same CM6 theme. any thoughts ??? Thank you much!

Which version u try? the one in main post or one i posted a few pages back? one in main post should work fine, especially for cm5 to cm6. can u check n see, u sure framework-res.apk wasn't themed?
 

smelian

Senior Member
Nov 21, 2009
158
4
hello
im new in this section please i want to know if i use this app can i port theme from nexus one or any other device to Samsung galaxy S ? thank you
 

Daneshm90

Retired Recognized Developer
Jun 1, 2009
3,332
662
these are the results
as you can see the notification bar didnt transfer.
and the menu items didnt change color
good start :D
but i need the backwards compatibility

Ok so turns out, whts changed in pre eclair compared to post eclair is that the status bar background is now a .9 png instead of a regular png, hence my script ignored copying it cuz filename's didn't match. So i dont think there's anyway around it cuz merely copying the png and renaming it .9 png won't work, as u know .9 png's have information contained within them. Anyone has other ideas ?

Im confused as to "menu items didnt change color". Do u mean the background tabs when u press menu ? as in "settings,notification,wallpaper's button background" ???
 
Last edited:

davbran

Senior Member
Jan 9, 2010
126
2
For those requesting a linux version, correct me if I am wrong, but can't you run a batch file in Wine?

I've never tried, just a thought.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 40
    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
    3
    I found this elsewhere with a little help from Google. ^^
    Actually, the original mediafire file is still there (the animated download link) - it's just that mediafire changed their url format...

    This works: http://www.mediafire.com/?d6n25tjqnksnk7t
    2
    and download link is not working D:

    >>Download Theme Porter 3 from here<<

    Does this support HDPI or CM7 themes yet? Also, is this even still active?
    Theme Porter Support everything! All the ROMs!!!

    For Example... it works if you have to "Port" a Theme/ROM for Nexus S to a Theme/ROM for Galaxy S or a Milestone!
    (attention when the former is hdpi and the latter is mdpi, use the function
    Toggle to hdpi-to-mdpi, but I don't know how this works)

    The Porter works like Metamorph (but all happens on the PC, so out from the phone)!
    Metamorph works while the smartphone is active (OS is working)!
    With Metamorph I have problems if I try to modify frameork-res.apk, I suppose because OS are using it!
    So I use TP without problems!

    __________________________

    Theme Porter extracts all the PNG of all the APKs in /OLD and compare them with all the PNG of all the APKs in /NEW!

    If there are 2 PNG with the same name in the same place, Theme Porter takes the PNG in /NEW and replace it with the PNG in /OLD!

    If the PNG exists only in /OLD, Theme Porter doesn't copy it in /NEW!

    If the PNG exists only in /NEW, Theme Porter doesn't replace it (because there's nothing to replace)!

    ___________________

    Doesn't matter if you use a Theme or Rom in update.zip, you need only the APKs!
    Indeed you only need the png in the apk!
    You can use (or make) a nameofapp.zip with inside only the folder /res/drawable/etc.... (or res/drawable-hdpi/pngfiles...etc...), then rename it in .apk and put it in OLD, and Theme Porter works just as well!! ;)


    When I try to port, I keep getting: The system cannot find the file specified
    Address are too long!
    Rename Theme Porter folder in "TP" and put it in C/
    So you will have C/TP/new and C/TP/old, it works in this way! ;)



    Here I posted a >Video Tutorial< in Italian!
    If you want... I can translate the slides in english! (Let me know...)
    But it's so easy that it is not necessary translate... ;)

    How can i get that 'new rom'?
    because all i got just an apk from cm7 theme chooser..
    Thanks..

    The Rom is a update.zip that contains (not only...) apks .... etc etc etc!
    The Theme is an update.zip that contains the Font, Bootanimation, and all the apks of the ROM (wich is based on) but with "themed" png!

    The Theme.apk for theme chooser is different and it is only 1 apk that works like metamorph, but in different way because Theme Chooser doesn't replace physically the png in all the system.apk (all the apks of the ROM), but "tell" to the device that the png that are in the system apks are now in the Theme.apk (Theme for Theme Chooser)

    You can learn to use Theme.apk for Theme Chooser from
    >>>HERE - [GUIDE] T-mobile theme engine for the faint at heart<<<

    You could use Theme Porter (TP) between 2 apk for Theme Chooser, but this isn't the same of using TP between 2 ROM/Theme, because 2 apks for Theme Chooser could be very different!!!
    2
    i need some help. i made some changes to the colors of some of the png's just in the drawable-mdpi folder in gomorrah's cm 6.1 theme and im trying to port the theme to jaybob's froyo2.2 DEC 17 BLACKMOD rom. i put gomorrah's framework in the old folder and jaybob's framework in the new folder, run the script, select 1, and it just says "The system cannot find the file specified." for both the apps and framework. heres a screenshot. thanks for any help.

    79eac6434c0cb57a9d0f3aeb27ce7c065e37d69652df6f99b6bdcaf81bfa479d5g.jpg

    I was having the same problem as you until I moved the folder containing the theme porter to "C:/themeporter". Any spaces will prevent the script from running.

    May I suggest that the OP be amended to make this clear as I'm sure it will save a lot of similar posts / people's time?