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.
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
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.
It’s been well established that XDA-Developers isthedestination for resources relating to … more
XDA Developers was founded by developers, for developers. It is now a valuable resource for people who want to make the most of their mobile devices, from customizing the look and feel to adding new functionality. Are you a developer?