Hey Guys,
I was asked if i could do a Tutorial how to port themes to HTC Legend. And here it is
Perform a Nandroid Backup first... as usual.
Be careful i am not responsible for any damage at your device.
Method 1 = not changing your system and will integrate it to running system (ADB Method)
Method 2 = new clear install of Rom required (Flashable ZIP)
Let's start.At first you need a few things:
- SDK from Android
- Theme-Porter by Daneshm90 (Thanks for support! ) Make sure you are using the newest beta of the program
- The Rom of files with the theme in it ( in our example Minimal Matte 1.5 !! NOT THE VERSION FOR LEGEND! from the Thread here at XDA Dev's)
- The Rom you are using ( for example Cyanogenmod 6.1 (Thanks to ali Ba for his awesome work))
- Update.zip Modifier/Creator
- A USB cable
- Time
METHOD 1:
METHOD 2:STEP 1:
First you have to use the Theme-Porter so you unzip the folder to C:\Theme-Porter or something similar. In this folder there are two important folders called new and old. So you unzip your Roms and put all files in system/app/ from your current Rom in the folder Theme-Porter/new/app/ and all files from system/framework/ in Theme-Porter/new/framework/. Unpack also the themed Rom and replace files from system/framework/ and system/app/ to old/framework and old/app.
STEP 2:
Run script.bat in root folder of Theme-Porter (C:\Theme-Porter) and select the option you want.
In our case if we want to port Minimal Matte, choose Option 1 because we are porting a froyo rom to a froyo rom.
If you are porting a theme from a hdpi device ( for example Nexus One and Desire ) you have to toggle Hdpi to Mdpi with option 4 ( Legend devices. (has something to do with the resolution)).
If it's ready the files in the Theme-Porter/new folder are themed.
STEP 3:
Unzip the SDK to C:\SDK (make sure in the name of the SDK is no space in it. NOT like this C:\Android SDK ) .
Now Copy the files from Theme-Porter/new to C:\SDK\tools. Like this Theme-Porter/new/framework/framework-res.apk -> C:\SDK\tools\framework-res.apk.
Connect the HTC Legend to the Computer via USB. Go to Clockwork recovery mode via Rom Manager.
Click on restart in Recovery Mode in Rom Manager. Once rebooted go to partition menu and click on mount /system.
Turn now to your PC and follow the steps
STEP 4:
Now go to your comand line (Windows Vista and Windows 7 Start->Type "cmd").
(or wherever you have placed the SDK, remember NO spaces in folder name, and make backslash = \ and NOT / ). Back in the black window:Code:cd C:\SDK\tools
Make a folder in C:/framework , C:/app , C:/fonts and so on. Copy the new files in there. It pretends what you want to change.Code:adb shell exit
Push all files to phone which were themedCode:adb push C:/framework /system/framework adb push C:/app /system/app adb push C:/fonts /system/fonts
If you are ready you can type :
Code:adb reboot exit
STEP 5:
The Phone will reboot and your system will be themed.
STEP 1:
It is easier to flash a zip file but sometimes they are not available. ( In our case I contacted shiftedx from Minimal Matte to give him my ported files...)
If you like to create a flashable/themed Rom, you have to download this tool and unpack it to C:\Update-Zip-Packager\ .
STEP 2:
After that copy the unzipped files from the Rom you want to use (Cyanogenmod 6.1 Stable for example) to folder C:\Update-Zip-Packager\placehere. (should look like this: C:\Update-Zip-Packager\placehere\META-INF ... )
STEP 3:
Then copy the files from C:\Theme-Porter\new to C:\Update-Zip-Packager\placehere\system\ . (btw files like fonts or something doesn't have to be ported so copy them from old to new folder.
STEP 4:
Now run script.bat in C:\Update-Zip-Packager\script.bat. select "make Update.zip" with option 2. Ready? Ok then drag update.zip to sdcard of your phone and apply it with rom manager.
Extras:
I prepared a Cyanogenmod 6.1 Stable Rom with Minimal Matte (included fonts...) and working wifi tether, replaced FileManager with Astro and replaced ADWlauncher with LauncherPro:
Here is the link if somebody wants to use it.
CM6.1 RC 1 with Minimal Matte(Outdated)
DOWNLOAD
The new Stable version of CM6.1 with Minimal Matte
DOWNLOAD
Minimal Matte LD pre release version for CM7 (any version) No wipe needed!
DOWNLOAD
Minimal Matte HD Thread
Note to Screenshots: Theme will not change widgets,Lockscreen, Launcher, Wallpaper. If you want the Lockscreen look at this beautiful Thread. It will change Statusbar, Notification windows, keyboard and fonts.
Works not so well with official Vodafone 2.2 version.
Last edited:
