PDA

View Full Version : Looking for someone to help teach me to theme?



*DroidMan84*
01-15-2011, 01:19 PM
im looking to start theming and how to compile clockwork update.zips. please any help would be greatly appretiated. ive come to learn that the android community is by far the best at developers sharing info and would also like to say thank you to every one of the great developers out there. but please any help would be great i have moto droid not sure if that matters?
:cool-android:

Droid-Xer
01-15-2011, 02:26 PM
A few basic tips for you...start with something basic like ninjamorph. You can create your own pngs and move them yo your framework. You van edit XML files. There are many things you can do with ninjamorph to start basic themes. I'm no professional themer so that's all Tue advice I can give you. I have my how to use ninjamorph in the android rooting subforum.

cereal killer
01-15-2011, 02:41 PM
This was posted on our sister site by eclsnoman. Dropid-Xer's info is great and I also find that a good way for themeres to start to learn the process is to work on porting other themes. It's all about practice and learning. With that said Good luck and happy theming:
__________________________________________________ ______________________________________________

I posted this for the guys in the UD section under my theme. I put some thought into it. Maybe it can help some guys out.

Here is my order of operations on porting my theme from rom to rom.

1.) Download new UD release, or other new rom
2.) Extract UD release to somethere. I will call it c:/somewhere/UDNew/ (I use winrar)
3.) Take one of my existing theme update.zip's
4.) Extract my update.zip to somethere like c:/somewhere/ECLThemeOld/
5.) Download theme-porter (http://download459.mediafire.com/tiannnhg2gxg/d6n25tjqnksnk7t/Theme-Porter_beta_3.zip) (by Daneshm90 (http://forum.xda-developers.com/showthread.php?p=7377678#post7377678))
6.) Extract theme-porter to somewhere like c:/somewhere/Theme-Porter/
7.) Copy the app and framework folders from c:/somewhere/ECLThemeOld/ into c:/somewhere/Theme-Porter/old
8.) Copy the needed files from c:/somewhere/UDNew/ to c:/somewhere/Theme-Porter/new (ie copy UD's newest versions of the apk's from his rom that match with what I have already themed)
9.) Phone.apk and contacts.apk rarely change, so I now copy my themed versions right over UD's versions under c:/somewhere/Theme-Porter/new. I do the same if UD has the apk's missing like gmail.apk and launcherpro.apk.
10.) Now I run the Script.bat in the c:/somewhere/Theme-Porter/ folder. It will do it's thing which is replace all of UD's png images with the ones from the apk's from my theme.
11.) Once done all images should be moved over into the apk's located in c:/somewhere/Theme-Porter/new. This is 90% of the battle.
12.) Now for the xml's. These don't transfer with the images during theme porter. The framework-res.apk now located in the c:/somewhere/Theme-Porter/new needs the xml's moved over. Go to c:/somewhere/ECLThemeOld/framework/ and change the name of my framework-res.apk to framework-res.zip. Now extract framework-res.zip to c:/somewhere/ECLThemeOld/framework/framework-res/.
13.) you can use 7zip for the next step but I have always liked winrar. Go to c:/somewhere/Theme-Porter/new/framework/ rename framework-res.apk to framework-res.zip. Open framework-res.zip in winrar. Navigate to /res/drawable/. Click add

http://imgur.com/3PvDF.png

Select files to add: for example progress_horizontal.xml from c:/somewhere/ECLThemeOld/framework/framework-res/res/drawable/ will make your progress bars the blue color like my theme has. Likewise you can use some of the following colors from haxzamatic:

Green = GSProgress.zip (http://bit.ly/bFvT8v)
Sense = SenseProgress.zip (http://bit.ly/bpuQdX)
Dark blue = DarkBlueProgress.zip (http://bit.ly/aBfznd)
Orange = Orange Progress.zip (http://bit.ly/a5mIP7)

Once done selecting files click OK. Then click OK again at "archive name and parameters" dialog. Now the new progress_horizontal.xml is in your framework-res.zip. If you want the fancy animation by RedmanX do the same thing with all the xml's in the c:/somewhere/ECLThemeOld/framework/framework-res/res/anim/ folder.

Finally rename c:/somewhere/Theme-Porter/new/framework/framework-res.zip back to framework-res.apk

Now to package it all up.

14.) Download Update.zip 2.0 Modifier/Creator [Script] (http://www.multiupload.com/HQW2JUS22R) (by Daneshm90 (http://forum.xda-developers.com/showthread.php?t=717437))
15.) Extract Update.zip 2.0 Modifier/Creator to c:/somewhere/Update-Zip-Packager/
16.) Copy the contents of c:/somewhere/Theme-Porter/new/ to c:/somewhere/Update-Zip-Packager/placehere/
17.) If you want the thicker fonts and boot animation I usually use copy fonts and media folders from c:/somewhere/ECLThemeOld/ to c:/somewhere/Update-Zip-Packager/placehere/
18.) Now its time to make the update.zip. Run Script.bat in c:/somewhere/Update-Zip-Packager/

18a.) clean our previous update-script data
18b.) select 1 to create new update-script
18c.) select 1 to tell it to copy directories
18d.) tell it to save the directory to SYSTEM
18e.) tell it where to copy to app or fonts or media etc.
18f.) tell it what to copy from placehere folder app or fonts or media etc.
18g.) repeat for as many folders as you have. then type 8 and hit enter for done creating update-script.
18h.) type 2 and hit enter and it will create your update.zip and save it in the c:/somewhere/Update-Zip-Packager/ folder as update.zip

http://imgur.com/ShENs.png

Now you all know what I know.

cereal killer
01-15-2011, 02:45 PM
Also here is a good Q & A by kookahdoo who is a member on both our sites.

Themers Question and Answer..... - Droid Forum - Verizon Droid & the Motorola Droid Forum (http://www.droidforums.net/forum/up-coming-themers/78808-themers-question-answer.html)

htc(hot-taco-cheese)
01-15-2011, 02:53 PM
Here is my tutorial. This is for the Inc, but theming is pretty much the same for every device.


This thread will be used to give and take help on themes for various ROMs. 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.

Tools Needed:
-An image manipulation tool (If you don't have Photoshop, get Gimp. It is free and works great.)

-WinRAR or WinZip



Directions:

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:
- app_icon.png
- ic_launcher_appnamehere.png ('appnamehere' is where the app's name is.)
- icon.png

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.

Extract framework-res.apk

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 META-INF.

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:


show_progress(0.200000, 10);
ui_print("Installing...");
mount("MTD", "system", "/system");
show_progress(0.500000, 40);
package_extract_dir("system", "/system");
mount("MTD", "sdcard", "/sdcard");
package_extract_dir("sdcard", "/sdcard");
show_progress(0.100000, 10);
ui_print("Done!");
unmount("/system");

If you are theming MIUI, Redemption ROM, or Redemptive rEVO, then copy and paste this into the updater-script.



ui_print("");
ui_print("It says this while updating.");
ui_print("");
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
ui_print("");
ui_print("Done Installing!");
ui_print("Thankyou!");

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.

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.

Have Fun!!!

Droid-Xer
01-15-2011, 03:11 PM
Wow, thanks for the other tips. I know I can use them too guys.

Kershaw
01-15-2011, 07:55 PM
yeah, thanks! i have thought about trying out themeing as well and this information will definitely help. too bad I'm not a little better at graphic design. :)

htc(hot-taco-cheese)
01-15-2011, 08:01 PM
If you run into any problems, just pm me.

Sent from my ADR6300 using Android.net App

firejuan
01-16-2011, 07:31 PM
Thanks for the information. CK with your instructions, I was able to port my first theme. It is nowhere near perfect, but considering I have zero programing knowledge/experience I am pleased.

*DroidMan84*
01-16-2011, 09:30 PM
:android-ninja: this was great info i cant wait to get started. sorry for no response been moving snow for 24hrs now but should have some time to start digging in too this. thank you guys again i will post here if i have anymore questions im sure i will.lol is it ok im i need to to pm you guys with questions??:android-dance:

htc(hot-taco-cheese)
01-16-2011, 09:34 PM
Yeah. You can pm anytime.

Sent from my ADR6300 using Android.net App

removement
01-16-2011, 10:38 PM
Does anyone know of a good substitute to winrar for someone using a mac? Something I could use to accomplish htc(hot-taco-cheese)'s example?

tp76
01-16-2011, 10:42 PM
Does anyone know of a good substitute to winrar for someone using a mac? Something I could use to accomplish htc(hot-taco-cheese)'s example?

7zip is a good alternative, I am not sure if it is Mac compatible or not - if it is just right click on an.apk and select "open archive"



Sent from my Gingerbread Droid Classic with Bionic Fever

htc(hot-taco-cheese)
01-16-2011, 10:43 PM
I do not know anything about Mac. Maybe someone else can drop in and offer some help.

Sent from my ADR6300 using Android.net App

htc(hot-taco-cheese)
01-16-2011, 10:45 PM
Wow. Late to the post again.

Sent from my ADR6300 using Android.net App

removement
01-16-2011, 11:00 PM
Yeah no 7zip for the mac. There is an alternative Ez7z but it does not have the option to edit without unzipping.

Mac is great for my job but not so great when it comes to other things, like finding some of the right tools

Spyder
01-17-2011, 12:08 AM
Anyone want to share a how-to on the .9pngs? I have some ideas but not a clue when it comes to it. I've edited something like 30 reg png files in my UD2.5 and ninjamorphed them in. I'd like to do an update zip also myself once I finish so this thread was uber helpful.

cush2push
01-17-2011, 12:50 AM
Anyone want to share a how-to on the .9pngs? I have some ideas but not a clue when it comes to it. I've edited something like 30 reg png files in my UD2.5 and ninjamorphed them in. I'd like to do an update zip also myself once I finish so this thread was uber helpful.

i use apk manager to theme those because the patches are visible and not to be themed or edited out

Spyder
01-17-2011, 01:14 AM
I'm not sure I understand. I've heard of APK manager though.
i use apk manager to theme those because the patches are visible and not to be themed or edited out

cereal killer
01-17-2011, 01:54 AM
Thanks for the information. CK with your instructions, I was able to port my first theme. It is nowhere near perfect, but considering I have zero programing knowledge/experience I am pleased.Excellent firejuan! Believe it or not quite a few GREAT themers started just this way. Porting and perfecting themes. Good luck!!

cush2push
01-17-2011, 02:17 AM
I'm not sure I understand. I've heard of APK manager though.



grab this apk manager apkmanager.zip (http://www.mediafire.com/file/2u745jlu3y4jddy/apkmanager.zip) its the one i use when i theme un pack it somewhere i place it on my desktop run the script hit y to clear out folders hit enter to bypass adb place the apk in place here for mod folder hit option 9 to decompile and in the out folder pick a button .9 to edit and you will notice some black dots or lines surrounding the button those are patches that prevent the image from being stretched do not remove them or edit them after editing recompile option 11 if its a system apk i sign with 12 if it isnt a system apk use 4 to sign and in the mod folder you will see recompiled_signed.apk rename it to what ever you were mod'n and place in a update folder load er up and see your work

Spyder
01-17-2011, 01:18 PM
Thanks for the help. I'll mess with it later

ballmore
01-19-2011, 12:53 AM
I'm going to keep coming back to this thread. I am working on my first theme right now. I have made icons and wallpapers for a friend of mine's theme (called Breeze) and now I am trying to learn theming. I love the Droid community!!!!