Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
grimpy
Old
#1  
Member - OP
Thanks Meter 16
Posts: 63
Join Date: Mar 2010
Location: Cairo
Default [TOOL] Theme porter 4 linux

Hi all
I wrote a bash script that can port an existing theme to any rom you want.
The concept what it does is kindda easy it just replaces all common pictures between the source (the orignal theme) to the destination (input rom).

How it use
extract zip
you will find
Code:
input  META-INF  template  themeporter.sh  update
in the template folder you throw your oringa theme should look something like this
Code:
./template
./template/app
./template/app/Browser.apk
./template/app/Calendar.apk
./template/app/Camera.apk
./template/app/Contacts.apk
./template/app/DeskClock.apk
./template/app/DSPManager.apk
./template/app/GenieWidget.apk
./template/app/Mms.apk
./template/app/Phone.apk
./template/app/Settings.apk
./template/app/SoundRecorder.apk
./template/fonts
./template/fonts/Clockopia.ttf
./template/framework
./template/framework/framework-res.apk
in the input folder you should either put the updatable zip file or the extracted zip file starting with app fonts framewors at the root
eg.
Code:
./input/TheFroyoMOD-v2.9.2.zip
After you have prepared your files your can run the porter just by executing it on a console

Code:
./themeporter.sh
Processing app/Browser.apk
Changes Made to app/Browser.apk
Processing app/Calendar.apk
Changes Made to app/Calendar.apk
Processing app/Camera.apk
Changes Made to app/Camera.apk
Processing app/Contacts.apk
Changes Made to app/Contacts.apk
Processing app/DeskClock.apk
Changes Made to app/DeskClock.apk
Processing app/DSPManager.apk
Changes Made to app/DSPManager.apk
Processing app/GenieWidget.apk
Changes Made to app/GenieWidget.apk
Processing app/Mms.apk
Changes Made to app/Mms.apk
Processing app/Phone.apk
Changes Made to app/Phone.apk
Processing app/Settings.apk
Changes Made to app/Settings.apk
Processing app/SoundRecorder.apk
Changes Made to app/SoundRecorder.apk
Processing framework/framework-res.apk
Changes Made to framework/framework-res.apk
Generate update file
After this process you will find a file called mytheme.zip under the update folder.


NOTICE: atm it does not support messing with xml files as i have no experience with this also it does not support fonts if there is enough intrest i might continue work on this
Attached Files
File Type: zip themeporter.zip - [Click for QR Code] (157.7 KB, 97 views)
The Following 4 Users Say Thank You to grimpy For This Useful Post: [ Click to Expand ]
 
ruvort
Old
#2  
ruvort's Avatar
Senior Member
Thanks Meter 351
Posts: 1,315
Join Date: Aug 2010
Excellent work here :)

Sent from my Droid Incredible 2
 
sneaky_zekey
Old
#3  
Senior Member
Thanks Meter 3
Posts: 129
Join Date: Dec 2009
will this work with any device
 
Post Reply+
Tags
theme porter linux
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...