This is a tutorial that I posted on then incredible forum. If there is anything to change , such as the update-script being different on other devices, just tell me and I will change it.
This tutorial just goes through basic theming, once you can do this, you can get into more in-depth theming.
This thread will be used to give and take help on themes for various ROMs and devices. You may also use this thread to ask questions or troubleshoot for your themes.
You must be rooted.
I AM NOT RESPONSIBLE FOR ANY HARM DONE TO YOU OR YOUR DEVICE.
-An image manipulation tool (If you don't have Photoshop, get Gimp. It is free and works great.)
-WinRAR or WinZip
Download your ROM of choice to your computer. Sense or Vanilla. doesn't matter
Extract the ROM to a new folder on your computer.
Open that folder.
Delete everything that was extracted except for the META-INF folder and the system folder.
***DO NOT TOUCH THE META-INF FOLDER! (no yet at least)***
Open the system folder. This is where you will be the whole time.
In the system folder, delete every folder except for the apps folder and the framework folder.
Go into the framework folder.
Delete everything there except for framework-res.apk and com.htc.resources.apk (com.htc.resources.apk will only be present in a Sense ROM)
Go back to the system folder.
App Icons:To theme icons, open the app folder.
Pick an .apk that you want to theme.
To open it, use WinRAR. Or if you are using Ubuntu just use the stock archive manager. (You can extract it if you want. But if you extract it, you will have to drag and drop the icon into the .apk from which it came.)
In the .apk, open the res folder.
Now open the drawable-hdpi folder. (This is where icons are almost always located. Pretty much everything that can be easily themed is in the drawable-hdpi folders.)
The file that is used as the icon most often has these following names:
- ic_launcher_appnamehere.png ('appnamehere' is where the app's name is.)
Open the Icon with your image editor and color it.
Save it to the exact same location, with the exact same name as it had before, and as the same type it was before which is a .png
Framework:Go back to the system folder.
Open the framework folder.
Go into the extracted folder.
Open the drawable-hdpi folder.
Change these images how ever you want to.
Save the images.
Drag and drop the changed images into the drawable-hdpi folder of the framework-res.apk that is not extracted.
When it asks you to update the archive or save changes to the archive, select yes.
[CENTER][LEFT]Creating a flashable update.zip:
Go to the folder that contains the META-INF and system folders.
Open the com folder
Open the google folder.
Open the android folder.
Open the update-script (could be named updater-script) with a text editor. (NOT Microsoft Word)
Delete all of the text.
Paste all of this into it:
If you are theming MIUI, Redemption ROM, or Redemptive rEVO, then copy and paste this into the updater-script.
mount("MTD", "system", "/system");
You can change the text in quotations next to the ui_print. So instead of "Installing..." it can be "@(^_^)@ Monkey" if you want it to.
ui_print("It says this while updating.");
show_progress 0.1 0
copy_dir PACKAGE:system SYSTEM:
show_progress 0.1 10
show_progress 0.2 0
show_progress 0.2 10
Now zip up the META-INF and system folders into one zip file.
MAKE A BACKUP OF YOUR SETUP!!!
Now, you can flash it in recovery.
Sent from my ADR6300 using Android.net App