5,600,123 Members 42,461 Now Online
XDA Developers Android and Mobile Development Forum
View Poll Results: Do you find the latest beta functional ?
Yes 159 66.53%
No 31 12.97%
Sometimes 49 20.50%
Voters: 239. You may not vote on this poll

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

Tip us?
 
Daneshm90
Old
(Last edited by Ryanmo5; 12th November 2011 at 06:36 AM.)
#1  
Daneshm90's Avatar
Recognized Developer - OP
Thanks Meter 614
Posts: 3,309
Join Date: Jun 2009
Lightbulb Theme-Porter [v1.0] [Any Firmware / Rom Compatible] [WINDOWS]

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
Scripts : Recovery Customizer Link Apk Manager Link Auto Deodexer Link Backup Manager Link Update.zip Modifier/Creator Link
The Following 38 Users Say Thank You to Daneshm90 For This Useful Post: [ Click to Expand ]
 
shiftedx
Old
#2  
Senior Member
Thanks Meter 47
Posts: 278
Join Date: Apr 2010
Location: Fort Worth

 
DONATE TO ME
amazing concept... and most likely awesome work like your others.. keep them coming!
 
rvpartsguy
Old
#3  
Senior Member
Thanks Meter 4
Posts: 787
Join Date: Jan 2010
Location: Atlanta, GA
definitely gonna give this a try .....

thanks
 
UltraLinx
Old
#4  
Account currently disabled
Thanks Meter 5
Posts: 694
Join Date: Apr 2010
has anyone actually tried this?

I would try it myself but i don't have the time atm.
 
Daneshm90
Old
#5  
Daneshm90's Avatar
Recognized Developer - OP
Thanks Meter 614
Posts: 3,309
Join Date: Jun 2009
Had a minor hiccup in my script , fixed/uploaded.

Quote:
Originally Posted by UltraLinx View Post
has anyone actually tried this?

I would try it myself but i don't have the time atm.
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
Scripts : Recovery Customizer Link Apk Manager Link Auto Deodexer Link Backup Manager Link Update.zip Modifier/Creator Link
 
excellentnuke
Old
#6  
Senior Member
Thanks Meter 5
Posts: 107
Join Date: Jun 2010
Sorry. I'm relatively new to this, so how do I get the framework/app?
 
Daneshm90
Old
(Last edited by Daneshm90; 29th July 2010 at 02:22 AM.)
#7  
Daneshm90's Avatar
Recognized Developer - OP
Thanks Meter 614
Posts: 3,309
Join Date: Jun 2009
Quote:
Originally Posted by excellentnuke View Post
Sorry. I'm relatively new to this, so how do I get the framework/app?
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>
Scripts : Recovery Customizer Link Apk Manager Link Auto Deodexer Link Backup Manager Link Update.zip Modifier/Creator Link
 
SoCalSpecialist
Old
#8  
SoCalSpecialist's Avatar
Senior Member
Thanks Meter 526
Posts: 2,870
Join Date: Jan 2009
Location: San Diego
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!
 
Daneshm90
Old
(Last edited by Daneshm90; 29th July 2010 at 03:26 AM.)
#9  
Daneshm90's Avatar
Recognized Developer - OP
Thanks Meter 614
Posts: 3,309
Join Date: Jun 2009
Quote:
Originally Posted by SoCalSpecialist View Post
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!
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.
Scripts : Recovery Customizer Link Apk Manager Link Auto Deodexer Link Backup Manager Link Update.zip Modifier/Creator Link
 
avisions
Old
#10  
Member
Thanks Meter 0
Posts: 37
Join Date: Apr 2010
Location: Detroit, MI
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?

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes