DroidForums.net is the original Verizon Android Forum! Registered Users do not see these ads. Please Register - It's Free!
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 13

Thread: Theme Porting Tutorial (giving one, not asking for one)

  1. Senior Droid
    eclsnowman's Avatar
    Member #
    39762
    Join Date
    Feb 2010
    Location
    Minnesota
    Posts
    226
    Phone
    Droid 1
    #1

    Theme Porting Tutorial (giving one, not asking for one)

    I posted this for the guys in the UD section under my theme. I put some thought into it. Maybe it can help some guys out.

    Here is my order of operations on porting my theme from rom to rom.

    1.) Download new UD release, or other new rom
    2.) Extract UD release to somethere. I will call it c:/somewhere/UDNew/ (I use winrar)
    3.) Take one of my existing theme update.zip's
    4.) Extract my update.zip to somethere like c:/somewhere/ECLThemeOld/
    5.) Download theme-porter (by Daneshm90)
    6.) Extract theme-porter to somewhere like c:/somewhere/Theme-Porter/
    7.) Copy the app and framework folders from c:/somewhere/ECLThemeOld/ into c:/somewhere/Theme-Porter/old
    8.) Copy the needed files from c:/somewhere/UDNew/ to c:/somewhere/Theme-Porter/new (ie copy UD's newest versions of the apk's from his rom that match with what I have already themed)
    9.) Phone.apk and contacts.apk rarely change, so I now copy my themed versions right over UD's versions under c:/somewhere/Theme-Porter/new. I do the same if UD has the apk's missing like gmail.apk and launcherpro.apk.
    10.) Now I run the Script.bat in the c:/somewhere/Theme-Porter/ folder. It will do it's thing which is replace all of UD's png images with the ones from the apk's from my theme.
    11.) Once done all images should be moved over into the apk's located in c:/somewhere/Theme-Porter/new. This is 90% of the battle.
    12.) Now for the xml's. These don't transfer with the images during theme porter. The framework-res.apk now located in the c:/somewhere/Theme-Porter/new needs the xml's moved over. Go to c:/somewhere/ECLThemeOld/framework/ and change the name of my framework-res.apk to framework-res.zip. Now extract framework-res.zip to c:/somewhere/ECLThemeOld/framework/framework-res/.
    13.) you can use 7zip for the next step but I have always liked winrar. Go to c:/somewhere/Theme-Porter/new/framework/ rename framework-res.apk to framework-res.zip. Open framework-res.zip in winrar. Navigate to /res/drawable/. Click add



    Select files to add: for example progress_horizontal.xml from c:/somewhere/ECLThemeOld/framework/framework-res/res/drawable/ will make your progress bars the blue color like my theme has. Likewise you can use some of the following colors from haxzamatic:

    Green = GSProgress.zip
    Sense = SenseProgress.zip
    Dark blue = DarkBlueProgress.zip
    Orange = Orange Progress.zip

    Once done selecting files click OK. Then click OK again at "archive name and parameters" dialog. Now the new progress_horizontal.xml is in your framework-res.zip. If you want the fancy animation by RedmanX do the same thing with all the xml's in the c:/somewhere/ECLThemeOld/framework/framework-res/res/anim/ folder.

    Finally rename c:/somewhere/Theme-Porter/new/framework/framework-res.zip back to framework-res.apk

    Now to package it all up.

    14.) Download Update.zip 2.0 Modifier/Creator [Script] (by Daneshm90)
    15.) Extract Update.zip 2.0 Modifier/Creator to c:/somewhere/Update-Zip-Packager/
    16.) Copy the contents of c:/somewhere/Theme-Porter/new/ to c:/somewhere/Update-Zip-Packager/placehere/
    17.) If you want the thicker fonts and boot animation I usually use copy fonts and media folders from c:/somewhere/ECLThemeOld/ to c:/somewhere/Update-Zip-Packager/placehere/
    18.) Now its time to make the update.zip. Run Script.bat in c:/somewhere/Update-Zip-Packager/

    18a.) clean our previous update-script data
    18b.) select 1 to create new update-script
    18c.) select 1 to tell it to copy directories
    18d.) tell it to save the directory to SYSTEM
    18e.) tell it where to copy to app or fonts or media etc.
    18f.) tell it what to copy from placehere folder app or fonts or media etc.
    18g.) repeat for as many folders as you have. then type 8 and hit enter for done creating update-script.
    18h.) type 2 and hit enter and it will create your update.zip and save it in the c:/somewhere/Update-Zip-Packager/ folder as update.zip



    Now you all know what I know.
  2. Droid Ninja
    teddyearp's Avatar
    Member #
    27105
    Join Date
    Jan 2010
    Location
    Randle, WA
    Posts
    1,801
    Liked
    19 times
    Phone
    SamsungŪ SCH-I515
    #2
    Excellent write up. Now does anyone know how this is done when all you have for your theme is the MetaMorph (post .xml) style theme file?
  3. Theme Developer
    c_hale22's Avatar
    Member #
    45316
    Join Date
    Mar 2010
    Posts
    208
    Liked
    9 times
    Phone
    Supercharged Droid
    DroidForums.net Theme Developer
    #3
    Quote Originally Posted by eclsnowman View Post
    I posted this for the guys in the UD section under my theme. I put some thought into it. Maybe it can help some guys out.
    Very cool post. This is definitely going to help some people out. Thanks for taking the time.
  4. Senior Droid
    sid_wisc's Avatar
    Member #
    113243
    Join Date
    Sep 2010
    Location
    Madison, WI
    Posts
    199
    Phone
    Motorola Droid 2 Global
    #4
    Sent from my Droid breathing Sourcery magic
    Liberated Droid 2 Global

    Running Liberty 2.0.1 (Thanks to GRD team for the Romer; Kickasz23 for the work around & 13th angel for all the help) themed by
    Infinite Cha0s by es0tericcha0s
  5. Senior Droid
    SupAll's Avatar
    Member #
    64401
    Join Date
    May 2010
    Posts
    203
    Liked
    3 times
    Phone
    Enter Current Phone Model Here
    #5
    Very informative. Does this method work on porting themes between ROMs?
    OG Droid
    GPA17
    1.0 GHz LV by Pete
    ADWLauncher EX

    BootAnimation Mashup - (Droid Shatter-Unstable Core-Cromag Rickman)
  6. Droid Ninja
    teddyearp's Avatar
    Member #
    27105
    Join Date
    Jan 2010
    Location
    Randle, WA
    Posts
    1,801
    Liked
    19 times
    Phone
    SamsungŪ SCH-I515
    #6
    That is exactly what theme porting usually means . . . .
  7. Senior Droid
    eclsnowman's Avatar
    Member #
    39762
    Join Date
    Feb 2010
    Location
    Minnesota
    Posts
    226
    Phone
    Droid 1
    #7
    A theme made for another rom, another device (with similar resolution), etc, can be "Ported" or "the png's transfered" to work on a different rom. For example a really nice UD theme could be ported to work on LFY or CM. It does not always work perfectly if images are named differently, or certain apps aren't included in the rom your are porting too. Basically it is a batch way to overlay the images from a nice looking theme into a new rom you are trying or like more.

    Hope that makes sense.
  8. Senior Droid
    SupAll's Avatar
    Member #
    64401
    Join Date
    May 2010
    Posts
    203
    Liked
    3 times
    Phone
    Enter Current Phone Model Here
    #8
    Quote Originally Posted by eclsnowman View Post
    A theme made for another rom, another device (with similar resolution), etc, can be "Ported" or "the png's transfered" to work on a different rom. For example a really nice UD theme could be ported to work on LFY or CM. It does not always work perfectly if images are named differently, or certain apps aren't included in the rom your are porting too. Basically it is a batch way to overlay the images from a nice looking theme into a new rom you are trying or like more.

    Hope that makes sense.

    Thanks. That makes sense to me. I only asked because I would like to try and port themes to BB as there is a distinct lack of theme support for it. I misread the instructions the first time around because I was under the impression it was porting themes TO UD and not UD to other roms.
    OG Droid
    GPA17
    1.0 GHz LV by Pete
    ADWLauncher EX

    BootAnimation Mashup - (Droid Shatter-Unstable Core-Cromag Rickman)
  9. Master Droid
    trook's Avatar
    Member #
    113504
    Join Date
    Sep 2010
    Location
    Lake Elsinore Ca
    Posts
    617
    Twitter
    @terryrook
    Phone
    Droid 2- RubiX 2.0.1
    #9
    This is exactly what I needed, thank you very much.
    Hello my name is Terry and I'm a Flash Addict
    Oc'd @ 1391 mhz
  10. Master Droid
    jdog94's Avatar
    Member #
    17490
    Join Date
    Dec 2009
    Posts
    532
    Phone
    Enter Current Phone Here
    #10
    I run the Script.bat in the c:/somewhere/Theme-Porter/ folder
    i says system cant find file then goes to next apk and says same thing


    when i Run Script.bat in c:/somewhere/Update-Zip-Packager/
    it says java not found then when it finishes all the steps i doesnt give me a update.zip file


    any idea what im doing wrong?
Page 1 of 2 1 2 LastLast

Links

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Similar Threads

  1. Question about/Problem porting a theme
    By teddyearp in forum Android Themes
    Replies: 14
    Last Post: 12-29-2010, 05:28 PM
  2. [Theme] Droid X, Sense, Flat Black + Theme Tutorial
    By averma1 in forum Motorola Milestone
    Replies: 49
    Last Post: 10-06-2010, 11:23 AM
  3. Porting a theme
    By xxlostsurferx16 in forum Android Themes
    Replies: 5
    Last Post: 07-06-2010, 08:20 AM
  4. Request for porting a theme
    By Droid_3.0 in forum Android Themes
    Replies: 11
    Last Post: 07-04-2010, 10:29 AM
  5. porting a theme question.
    By famine in forum Android Themes
    Replies: 0
    Last Post: 03-11-2010, 03:49 PM

Search tags for this page

android theme porting
,

android theme tutorial

,
e: can't mount system:framework
,
extract theme from rom
,

how to extract a theme from a rom

,
how to extract theme from one rom to another
,
how to extract theme from rom
,
how to port a sense theme
,

how to port themes android

,

update.zip 2.0 modifier/creator

Click on a term to search our site for related topics.
Find us on Google+