Here the some UI update i did to my Galaxy SL to make it look more refreshed. Galaxy S3 icon, all new launcher, and keypad.
This is a blog dedicated to all those problems I faced while making some things work, I might have struggled a lot to get the information from the net, this is to make my life easy whenever next time I want to do the same, or for someone who is in need of help, this may make their life easy too. Thanks for visiting my blog, feel free to mail me in case you have any questions.
Sunday, February 17, 2013
Screen Capture In Galaxy SL
I was always assumed that this phone does not come with the default screen capture option. i accidentally got a screen capture when some call screen got captured by a combination of key press.
Then I searched a while and found that holding back key pressed and then pressing the home key will capture the screen shot.
I always used the root utility shoot me to capture the screen. I think this is a great deal.
Sunday, January 6, 2013
Adding more wallpapers to TwWallpaperChooser.apk
so here it goes, the basic procedure remains same, as decompile the apk and then recompile the apk.
First de-compile the apk into a folder with the below commands
apktool TwWallpaperChooser.apk TwWallpaperChooser
You would see a folder created with the files as shown below.
The contents of the folder is as shown below.

The important folder, and file you need to know in this case are /res/drawable-hdpi/ this folder contains all the images and their thumbnails, thumbnails are with _small in the name, and are of size 170x142, and main wallpaper images are of size 960x800. You can add more pictures and their thumbnails with the same size.
Saturday, January 5, 2013
Decompiling Android APK to view the JAVA code
1. Obtaining the “apk” file:
There are many ways that you can obtain the apk file. You can probably find it on the Internet. Or the best way is to get it from your phone. In this example, we will tear apart facebook android app
The apk file of the application that is purchased from the android market is stored in ‘/data/app’ folder on your phone. To access this directory, you need super-user access. If your phone is rooted, follow the steps below to obtain the apk file if not, you might be able to get one from the Internet.
Copy over the apk file on to your computer from the sdcard.
2. Obtaining the “.dex” file:
Open the downloaded apk file as a zip file. You can use “Archive Manger” on linux or “WinZip” on windows. You can also change the file extension to “.zip” and have the OS automatically open it as a zip file.
In there, you should see “classes.dex” file. This is the byte code of the complied application. Extract the file on to your computer.

3. Dex2Jar tool:
You need dex2jar tool to decode the dex file to a jar file. The dex file is the Dalvik executable file. You can get the latest and greatest version at
http://code.google.com/p/dex2jar/downloads/list.
Download and install the application in your computer. I extracted it out on my android installation folder.
Once you have it run the “dex2jar” command to decompile the “.dex” file extracted in step 2.
You can run the following command on linux, on windows you can run the “dex2jar.bat” instead of “dex2jar.sh”
1 $ ./dex2jar.sh classes.dex
You should see an output as follows.

4. Decompiling the jar:
You can now open the decoded “.jar” file from step 3 on a java decompiler of your choice.
There are few out there. I choose JD-GUI. You can download one from their site at:http://java.decompiler.free.fr/?q=jdgui
Install the tool and open the jar extracted on step 3. Boom now you can see the application code!

Friday, January 4, 2013
Decompile/Recompile apk's with ApkTool
- apktool / aapt, which can be downloaded from code.google.com (Click this link !)
- Java Runtime Environment(JRE), normally you would have it in your PC. It should be atleast 1.6, make sure to add this in your windows path variables. If you don't have it, then Google !
- Follow the instructions on the code.google.com to install the apktool and aapt, and unzip them to windows folder. On a windows system it is done like this (copied from the site, you can as well look there for other OS)
- Download apktool-install-windows-* file
- Download apktool-* file
- Unpack both to your Windows directory
- Now your apktool is ready to use.