[Samsung Galaxy R i9103] raghavagalaxy:
I think it will be very useful to whom preparing theme ..,and useful to who want to prepare theme for galaxy R

:-P ;-) :-P :-) :-)

Its will bit tough need hard work and patience with time (tut originally posted by Raghavafit )

Theme Developing, XML Editting:

Tools Needed :

* APK Manager

* Photoshop or other photo editing software’s ( corel draw etc etc)

*FS Resizer or GIMP

* NOTEPAD ++

From the start:

* Make sure u hav a deodexed ROM….If your ROM is not deodexed den use xultimate to deodex….

*You will get a zip or rar file in which u will find “meta inf” and “system”…. We will be concentrating only on the system folder…..Extract it to the desktop or which ever location u want…. *Inside the system folder u would see folders called “app” “framework” “media” “bin” etc….

Let me explain what does these folders Hav to do,,,,,

*v “app” is the major folder which has to do with all the pre installed apps(default apps) like calculator camera mms(messaging) touchwiz bluetooth etc…..

*v “framework” is the folder associated with the body formation (i.e) the skeleton of out fit…..examples like the battery icon,icons in the notification panel like “autorotate” “Wi-Fi” “GPS” etc….

*v “media” consists of “bootanimation.zip” file allows u to change the boot animation ( we would discuss about this later) :D

Procedure for only ICON changing TUTORIAL ON HOW TO CHANGE THE ICON OF APPS:

STEP 1: First go into the “apps” folder and extract everythin(if u wish extract everythin or extract only the file u want) to the desktop…….

* Don’t be bothered about the .odex files… concentrate only on the .apk files…..

* for ex: if u wish to change the “messaging” icon…select mms.apk….enter into that and u would find folders called “res” “metainf”…….. ENTER into “res” folder and u would see folders such as “drawable” “drawable ldpi”( or similar to that) leave the folders like “xml” etc and just concentrate on “drawable-ldpi” and extract it to the desktop…..enter into that folder and u would find all the images which u see on the mobile while messaging….. Hope u would remember how the icon for the messagin app be….now search for that….for this apk it would be as “ic_launcher_smsmms”….. and BINGO :D your done…… download a png of the icon u want from google (for that go into google and type message icon png and select images…. Select the image of ur choice and save it)

*now copy that downloaded image (for ex the downloaded image name is 123.png replace that name to “ic_launcher_smsmms”)After renaming it copy and replace the default image in the “drawable ldpi” folder….. Similarly make changes for wat ever icon u want but REMBEMBER the icon ur changing should hav the same name of the default icon”

*Since u’ve modded(changed) only the “drawable ldpi” folder copy that folder in which u hav changed the icon to the folder in “res” of “mms.apk”…… to make it clear delete the default drawable ldpi and replace it with the one u modded from the desktop……(to replace just drag from the desktop to the rar file) IF WINRAR asks a confirmation “update changes made” click YES…… cool now u’ve changed the icon of the messaging app….

*Similarly try replacing the default icon of the calculator camera dialer tab activity etc by just moving into the apk file “res”à”drawable ldpi (hdpi, land-ldpi or wateva)

*To go more interior take dialer tab activity and follow the above steps first.,….den replace the number icons, dialer_tab_background image with any image u like J but it should be of PNG and of the same default name while replacing it in the folder……

*That’s it now u’ve learnt how to change the icons and images……

Now do the reverse of

*STEP 1….. copy the modded(changed) apk files from the desktop into the “system”à”app” folder and don’t forget to save the changes…..

TUTORIAL ON HOW TO CHANGE THE ICON OF FRAMEWORK:

* SIMILARLY just like how u replaced the icons of “apps” try replacing icons of framework folder….

*Open “framework” folder…..u’ll find many .JAR files and “framework-res.apk” and “twt-framework.apk”

*Go into framework-res.apkàresàand extract drawable (ldpi,hdpi,mdpi,land-hdpi) or wateva file is der to ur desktop…. Just as how u did it in “apps” replace the PNGS in it…. For ex: replace the alarm clock icon “auto rotate” “vibrate” “sound””battery icons” etc…..

*After doing all the changes in drawable folder replace the drawable folder in “framework-res.apk” and replace this “framework-res.apk” in the framework folder of the RAR file….

##XML EDITTING:

*XML editing is the trickiest and difficult part yet a challenging part :D :P To do this u must need “apk manager” version 4 or higher…..

*These are the folders inside the apk manager Take the apk file for which u r goin to edit the xml for example to change the conversion of sms to mms from 4pgs to any no of pgs u want……copy the “mms.apk” file from “system”à”app” to “PLACE APK HERE FOR MODDING” of the apk manager….. HINT: for beginners u can edit only one file at a time :OAfter this open “SCRIPT”

*ULL find a window like this…..IF u hav placed mms.apk file in “PLACE APK HERE FOR MODDING” den “NONE” would be shown as “mms.apk” or if u had placed “touchwiz.apk” it would show as “touchwiz.apk” on the place of NONE

*Now press no 9….. the “DECOMPILING” would start and would finish with no alert… now go to the “APK manager” folder and go into “PROJECTS” u’ll find mms.apk or wateva apk u hav used…. Den go into “RES”à”XML” ..... u’ll find “mms_config” open it with notepad or notepad++….(notepad++ is advisable and recommended) You will find a line called 4 replace that four with whatever number u want….

*Well u hav learnt how to edit the XML’s also…….try to edit xml of touchwiz (androidmanifest.xml) to enable touch wiz rotation or touchwiz(launcher_config{to change number of rows and columns} …

*.”default_mainapplication_order”{ to change order of the apps in the touch wiz} All the changes must be made in the projects folder and COMPILE it again by pressing number 11….. copy the COMPILED .APK back into “apps” or “framework-res” or from wer ever u took the apk file…..

*THEME DEVELOPING DOESN’T COME WITHIN A DAY SO TRY IT REPEATEDLY TILL U GET THE ART

By:::--Raghavafit

-------droid joyful