FORUMS

Android M Preview Images – XDA TV

Android M preview images are available. That and much more news is covered by Jordan when he … more

I/O Summary: How Android M Handles Power And Charging

In the spirit of improving the core Android experience, Google is changing Android … more

I/O Summary: Google Photos App

At I/O 2015, Google tackled the information problem in mobile once more, this time through … more

I/O Summary: Development, Play Store, The Next Billion

VP of Engineering Jen Fitzpatrick began talking about what Google is doing to … more

 View Poll Results: Do you find the latest beta functional ?

Yes
 
159 Vote(s)
66.53%
No
 
31 Vote(s)
12.97%
Sometimes
 
49 Vote(s)
20.50%

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

Thanks Meter: 647
 
By Daneshm90, Retired Recognized Developer on 28th July 2010, 04:19 AM
Post Reply Subscribe to Thread Email Thread
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
Last edited by Ryanmo5; 12th November 2011 at 06:36 AM.
The Following 39 Users Say Thank You to Daneshm90 For This Useful Post: [ View ]
 
 
28th July 2010, 04:32 AM |#2  
Senior Member
Flag Fort Worth
Thanks Meter: 52
 
Donate to Me
More
amazing concept... and most likely awesome work like your others.. keep them coming!
28th July 2010, 05:54 AM |#3  
Senior Member
Flag Jacksonville, FL
Thanks Meter: 5
 
More
definitely gonna give this a try .....

thanks
28th July 2010, 05:17 PM |#4  
Account currently disabled
Thanks Meter: 5
 
More
has anyone actually tried this?

I would try it myself but i don't have the time atm.
28th July 2010, 08:44 PM |#5  
Daneshm90's Avatar
OP Retired Recognized Developer
Thanks Meter: 647
 
More
Had a minor hiccup in my script , fixed/uploaded.

Quote:
Originally Posted by UltraLinx

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
29th July 2010, 02:11 AM |#6  
Senior Member
Thanks Meter: 5
 
More
Sorry. I'm relatively new to this, so how do I get the framework/app?
29th July 2010, 02:20 AM |#7  
Daneshm90's Avatar
OP Retired Recognized Developer
Thanks Meter: 647
 
More
Quote:
Originally Posted by excellentnuke

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>
Last edited by Daneshm90; 29th July 2010 at 02:22 AM.
29th July 2010, 02:46 AM |#8  
SoCalSpecialist's Avatar
Senior Member
Flag San Diego
Thanks Meter: 532
 
More
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!
29th July 2010, 03:01 AM |#9  
Daneshm90's Avatar
OP Retired Recognized Developer
Thanks Meter: 647
 
More
Quote:
Originally Posted by SoCalSpecialist

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.
Last edited by Daneshm90; 29th July 2010 at 03:26 AM.
29th July 2010, 03:43 AM |#10  
Member
Flag Detroit, MI
Thanks Meter: 0
 
More
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?
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes