[script] Theme Loader - Theme installer for all devices

jrummy16

Premium Member
Premium Member
Developer
Theme Developer
Joined
Jan 25, 2010
Messages
1,211
Reaction score
0
Location
Orange County, CA
Use at your own risk! I am not responsible for any bricked devices. You have been warned.

Theme Loader is a script that installs custom themes for any rooted device. I wrote it because I saw some terrible instructions on how to load themes for devices that didn't have a custom recovery yet. This script should work on any device and I hope it's useful for those who do not yet have a custom recovery or who just choose to use this.

Theme Loader Script:
-------------------

----------------------
(right click and save)

Install the script:

** note: must have busybox installed **

1. Download load_theme
2. Place load_theme on the root of your sdcard
3. Download a terminal emulator app from the market
4. Open terminal and type:

PHP:
su
** mount system read/write here (need command for specific device) **
cp -f /sdcard/load_theme /system/xbin
chmod 0755 /system/xbin/load_theme

Load a theme:

1. Place all the files you want to install in a directory called "new_theme"
** for a template of how it should look like download the zip below **
2. Place the directory new_theme on the root of your sdcard
3. In terminal or adb shell type:

PHP:
su
load_theme [options]

4. Watch as your new theme installs.

load_theme options:

PHP:
Usage: load_theme [-a|-b|-c|-f|-fs|-m|-l|-r|-z|-v|-h]
 
Options:
    -a  | --apps        Installs themed apps
    -b  | --backup      Backs up current system settings
    -c  | --complete    Installs full theme
    -f  | --framework   Installs framework
    -fs | --fonts       Installs fonts
    -l  | --logging     Disable logging for this run
    -m  | --media       Installs media files
    -r  | --restore     Restores system backup
    -z  | --zipalign    Zipaligns all apks
    -v  | --version     Print version
    -h  | --help        This help
 
 Always specify options as separate words
 e.g. -a -f instead of -af. Its required!

Examples:

This will install the full theme and turn off logging:

PHP:
su
load_theme -l -c

This will zipalign all your apps and backup your system:

PHP:
su
load_theme -z -b
 

kook

Premium Member
Premium Member
Theme Developer
Joined
Dec 29, 2009
Messages
2,036
Reaction score
1
This is sexy....
 

El Poblano

Member
Joined
Aug 17, 2010
Messages
56
Reaction score
0
Im not too familiar with zipaligning, so correct me if im wrong, but even a stock system would gain performance from this, right?
 
Top