[Android Themes] apk5656:
first dont blame me if anything goes wrong with you just search before ask

this guide is for noobs those who want to have a background basic on theming

second sorry for my bad en

iam introducing my self my name is mohammed khalid from egypt :cool: my nickname here is apk5656

ok so lets start

keep in your mind iam using win8 so it may have diiferent settings if you have a win7 :eek::eek:

---------------------------------------------------------------------------------------------------------------------------

Installing tools

Setting up the Java SE Runtime Environment

step one install those files

STEP 1: Install these two files:

- JRE8 (This is what I use):http://www.oracle.com/technetwork/java/javase/downloads/jre8-downloads-2133155.html

- JDK8 (Install just in case):http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html

STEP 2: Setting up JDK JAVA_HOME environment variable:

After installing the two files above, locate your JDK location, in my case, mine is C:\Program Files\Java\jdk1.8.0_20.

Then open up your Control Panel and click into System (Control Panel\All Control Panel Items\System)

then in side bar click advanced system settings

A popup will appear, click on the Advanced tab, then click on "Environment Variables..."

Another smaller popup, Environment Variables, will open up. Click on "New..."

According to the screenshot, click type in the Variable name (JAVA_HOME) and Variable value (Location of your JDK set up).

After everything is done, click OK on all popups, then reboot your computer.

You are now ready for apps like eclipse/ Studio, future proofing yourself for now.:victory::victory::victory::highfive::highfive::highfive:

-----------------------------------------------------------------------------------------------------------------------------------

now we will set up your tools which will help you theming

:cool::cool:

apk tool

download tool from here http://www.mediafire.com/download/s7y2bja7pjuxqru/APK-Multi-Tool-Stable-RELEASE.zip

after downloading it continue with me to setting up it

setting up apktool

First Make sure you have "framework-res.apk" of your device whose apk you are going to edit.

If you dont have "framework-res.apk". Click Here (Micromax A35 Stock framework)

Steps:

Extract the downloaded zip and open extracted folder.

2. Open Setup.bat and press "3" (Without Quotes)

3. It will make automatically some folders and you will be again moved to the above screen.

4. Now put your framework-res.apk to "other" folder (Have a look there).

5. Now in the menu, Press 2.

6. Now press 1. (a cmd window will popup).

type there- "apktool if framework-res.apk" (without quotes)

and press ENTER.

Now Quit the menu.

Congratulations, You have set up APK MULTITOOL successfully :)

------------------------------------------------------------------------------------------

decompiling/recompiling your first app

PART 1: How To Decompile Apk:

1. If You All Done Right, You Will See Like This,

2. Let Us Decompile Settings.apk (Get Your Settings.apk From Your Device /system/app)

3. Place Your Settings.apk inside "place-apk-here-for-modding"

4. Open "Script.bat", Press Enter, Then You Will See Like This.

5. As You Know, Settings.apk is a system app, so Press Option "9", Then Press ENTER

6. Wait For Decompilation process(It will be automatically done.)

7. Your Decompiled Apk Will Be In "projects" folder.

PART 2: How To Recompile Apk:

1. The Basic Editing, You Must Know How To Do This, I Wont Teach You This One, In This Tutorial, After Editing, Open "script.bat".

2. Press "11" and ENTER, To Compile System Apps.

3. After Buliding Apk, You Will See Like This

4. Press "y" and ENTER, Now You Will See Like This.

6. Now The Most Important Part Comes, MINIMISE Your script.bat Screen, Find "keep"

Open this folder, You Will Get These,

Be Carefull:

Delete "resources.arsc", "res" file/folder, If You Edited any ".xml", "png".

Delete "classes.dex" if you have edited any "smali file".

Delete "AndroidManifest.xml", if you editied This File (If You Not Edited "AndroidManifest.xml", Dont Delete It.)

7. Open The MINIMISED "script.bat", Press ENTER.

8. You Will Find Your Modded Apk In "modified-system-apk-files-here" folder.

9. Rename "systemSettings.apk" to "Settings.apk".

10. Paste This "Settings.apk" to Your /system/app.

NOTE:

If You Edit Your "AndroidManifest.xml", You Need to Sign Your Apk.

For Signing, Place the Modded App in "place-apk-here-for-signing" folder.

In "script.bat", The Option Number is "20".

The "script.bat" Automatically Termainates After Signing.

The Signed Apk is in "place-apk-here-for-signing" folder.

Also, stock ROM dont accept custom signed system apk(s), for using custom signed system apk(s), you need to disable "signature verification" from "services.jar". google it

Dont worry about signatures, if you didnt edited your "AndroidManifest.xml".

--------------------------------------------------------------------------------------------------------------------------------

some basics to help you theming

.9 png images you cant edit them just by photoshop they have a custom edit bcuz the are patched

this thread will help you

http://.xda-.com/showthread.php?t=605662

ok now about the normal png you can edit it simply with photoshop but if you resized any png do not try to make it much bigger if you did this you will get bugs

ok now about editing xmls

look any xml file has connected with other

i mean if you open any layout xml you may found something like string/-

thats mean this layou xml has string in string.xml file in values folder that is what i mean with xmls are connected

so until now thats it this post will be updated soon with more basics bcuz the basics which i wrote is too small and i wanna to learn you a lot of basics

but thats just for my short time and i have alot of exams

ok untill now hope to see you around.......:cowboy::cowboy::cowboy: