[Program] Universal Theme Porter (Beta)

Discussion in 'Android Themes' started by thedeathly, Aug 29, 2010.

  1. thedeathly
    Offline

    thedeathly New Member

    Joined:
    Jan 27, 2010
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    0
    [Release][Program] Universal Theme Porter (Beta)

    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 XDA 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:
    Last edited: Aug 30, 2010
  2. kook
    Offline

    kook Premium Member Theme Developer Premium Member

    Joined:
    Dec 29, 2009
    Messages:
    2,041
    Likes Received:
    0
    Trophy Points:
    0
    That sux....almost all my modifications include xmls. I wondered how that would work....I guess not. Great work though....I may try it out on my next port. I'll just change the hexes and port away....

    Thanks bud. sub'd
  3. c_hale22
    Offline

    c_hale22 Theme Developer Theme Developer

    Joined:
    Mar 9, 2010
    Messages:
    207
    Likes Received:
    4
    Trophy Points:
    18
    nice work, this is a very useful tool. Thanks
  4. sneaky_zekey
    Offline

    sneaky_zekey New Member

    Joined:
    Dec 12, 2009
    Messages:
    843
    Likes Received:
    0
    Trophy Points:
    0
    does this work for linux/ubuntu or only windows
  5. stragabenz
    Offline

    stragabenz New Member

    Joined:
    Apr 3, 2010
    Messages:
    193
    Likes Received:
    0
    Trophy Points:
    0
    how exactly does this work for instance, if I wanted to port the D2 Theme over to SS4.7? Do I download the stock rom of SS 4.7 then select the D2 Theme?
  6. jbrock98
    Offline

    jbrock98 New Member

    Joined:
    Mar 23, 2010
    Messages:
    615
    Likes Received:
    0
    Trophy Points:
    0
  7. sneaky_zekey
    Offline

    sneaky_zekey New Member

    Joined:
    Dec 12, 2009
    Messages:
    843
    Likes Received:
    0
    Trophy Points:
    0
    id like to find one that works on linux,lol
  8. thedeathly
    Offline

    thedeathly New Member

    Joined:
    Jan 27, 2010
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    0
    nah it doesn't, sorry.
  9. droidpirate
    Offline

    droidpirate New Member

    Joined:
    Aug 17, 2010
    Messages:
    39
    Likes Received:
    0
    Trophy Points:
    0
    great program man will def come in handy
  10. Tanknspank
    Offline

    Tanknspank Beta Team Premium Member

    Joined:
    Jan 13, 2010
    Messages:
    3,506
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    North Carolina
    Yeah this is my biggest gripe with these things. They can ruin a big part of a theme by leaving out an xml.
  11. thedeathly
    Offline

    thedeathly New Member

    Joined:
    Jan 27, 2010
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    0
    yeah i know, i really thought of a way of porting .xmls over in the future but i just cant figure out a way of doing it. I cant port over every .xml or else it could break **** and .xml's are sometimes rom specific. So its pretty hard to do that. =/
  12. raidzero
    Offline

    raidzero n00b. Theme Developer Premium Member Developer

    Joined:
    Apr 15, 2010
    Messages:
    1,054
    Likes Received:
    3
    Trophy Points:
    0
    Location:
    Denver, CO

    you could try just doing a hex compare on each xml and if its different, move it also. maybe make two separate copies though, one with the original and one with the edited so if it blows upi you have something to fall back on?
  13. c_hale22
    Offline

    c_hale22 Theme Developer Theme Developer

    Joined:
    Mar 9, 2010
    Messages:
    207
    Likes Received:
    4
    Trophy Points:
    18
    Not a expert in the field but that sounds like a good starting point
  14. raidzero
    Offline

    raidzero n00b. Theme Developer Premium Member Developer

    Joined:
    Apr 15, 2010
    Messages:
    1,054
    Likes Received:
    3
    Trophy Points:
    0
    Location:
    Denver, CO
    if a real hex compare is not feasible, then an md5check would suffice. I started to make my own theme porter batch script that did this against all files in the apk's but I got lost in the for loops and discovered that the amount of time I was spending trying to figure it out, I could have ported manually :p
  15. mikeew83
    Offline

    mikeew83 New Member

    Joined:
    Jul 15, 2010
    Messages:
    182
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    mansfield,oh
    can anyone help me

    I keep trying to use this it worked fine for me first time now i get an error about the meta files or folder not available something along those lines
  16. WugFresh
    Offline

    WugFresh Developer Developer

    Joined:
    Oct 4, 2010
    Messages:
    592
    Likes Received:
    0
    Trophy Points:
    0
  17. thaDroidz
    Offline

    thaDroidz New Member

    Joined:
    Aug 31, 2010
    Messages:
    2,062
    Likes Received:
    42
    Trophy Points:
    0
    Location:
    neptune
    isn't that for the x?
  18. thaDroidz
    Offline

    thaDroidz New Member

    Joined:
    Aug 31, 2010
    Messages:
    2,062
    Likes Received:
    42
    Trophy Points:
    0
    Location:
    neptune
    I gave it a try:
    Error: Could not find file 'P:\programs\port\new\system\etc\init.d'.


    PEv4_2BlackedOut.zip to LGB1.3..

    guessing FROYO to Gingy a no go....
    Last edited: Mar 1, 2011
  19. thaDroidz
    Offline

    thaDroidz New Member

    Joined:
    Aug 31, 2010
    Messages:
    2,062
    Likes Received:
    42
    Trophy Points:
    0
    Location:
    neptune
    my web stats for February:
    Top 15 of 24 Total User Agents
    [SIZE=-1]#[/SIZE][SIZE=-1]Hits[/SIZE][SIZE=-1]User Agent[/SIZE]
    [SIZE=-1]1 [/SIZE][SIZE=-1]3542[/SIZE][SIZE=-2]19.94%[/SIZE][SIZE=-1]MSIE 6.0[/SIZE]
    [SIZE=-1]2[/SIZE][SIZE=-1] 3469[/SIZE][SIZE=-2]19.53%[/SIZE][SIZE=-1]Chrome
    [/SIZE][SIZE=-1]3 [/SIZE][SIZE=-1]3082[/SIZE][SIZE=-2]17.35%[/SIZE][SIZE=-1]Firefox 3
    [/SIZE][SIZE=-1]4 [/SIZE][SIZE=-1]1689[/SIZE][SIZE=-2]9.51%[/SIZE][SIZE=-1]Safari[/SIZE]
    [SIZE=-1]5 [/SIZE][SIZE=-1]1106[/SIZE][SIZE=-2]6.23%[/SIZE][SIZE=-1]Other[/SIZE]
    [SIZE=-1]6 [/SIZE][SIZE=-1]1084[/SIZE][SIZE=-2]6.10%[/SIZE][SIZE=-1]MSIE 8.0
    [/SIZE][SIZE=-1]7 [/SIZE][SIZE=-1]1052[/SIZE][SIZE=-2]5.92%[/SIZE][SIZE=-1]MSIE 7.0[/SIZE]
    [SIZE=-1]8[/SIZE][SIZE=-1] 731[/SIZE][SIZE=-2]4.12%[/SIZE][SIZE=-1]Opera[/SIZE]
    [SIZE=-1]9[/SIZE][SIZE=-1] 528[/SIZE][SIZE=-2]2.97%[/SIZE][SIZE=-1]MSIE 5.5[/SIZE]
    [SIZE=-1]10 [/SIZE][SIZE=-1]380[/SIZE][SIZE=-2]2.14%[/SIZE][SIZE=-1]Googlebot[/SIZE] [SIZE=-1]
    11
    [/SIZE][SIZE=-1] 305[/SIZE][SIZE=-2]1.72%[/SIZE][SIZE=-1]Firefox[/SIZE]
    [SIZE=-1]12 [/SIZE][SIZE=-1]208[/SIZE][SIZE=-2]1.17%[/SIZE][SIZE=-1]MSIE 5.0
    [/SIZE][SIZE=-1]13 [/SIZE][SIZE=-1]119[/SIZE][SIZE=-2]0.67%[/SIZE][SIZE=-1]MSIE 2.0[/SIZE] [SIZE=-1]
    14
    [/SIZE][SIZE=-1]100[/SIZE][SIZE=-2]0.56%[/SIZE][SIZE=-1]MSIE 4.01[/SIZE]
    [SIZE=-1]15 [/SIZE][SIZE=-1]83[/SIZE][SIZE=-2]0.47%[/SIZE][SIZE=-1]Yahoo! Slurp[/SIZE]
    Figure firefox would be up there on top...
    sorry I read your comment about IE and had to check...
    wth is Yahoo slurp?
    Last edited: Mar 1, 2011
  20. MAD Industries
    Offline

    MAD Industries New Member

    Joined:
    Mar 15, 2010
    Messages:
    230
    Likes Received:
    0
    Trophy Points:
    0
    Actually, I'm pretty sure an md5 check wouldn't do much at all. If you change an xml file, it's hash isn't going to match the ROM it is from or the ROM it is supposedly porting to. You end up with three hashes and still no way of knowing what the edits are. A hex compare is your best bet for automated porting. Personally, I would suggest integrating apktool into the utility and having it decompile both hex files (theme and destination ROM) and then displaying a window which highlights differences and provides a recommended edit or merge upon which the person running the port program selects a recommended option or directly edits it and then chooses next to move on to the remaining xml files. It's not fully automatic but it is much more practical. ;)
Search tags for this page
download universal theme porter
,
theme porter beta 3 zip free
,
theme porter xda
,
tool: rom porter
,

universal theme porter

,
universal theme porter beta
,
universal themes for android
,
xda android theme porter