[Samsung Galaxy Gio GT-S5660] mlody95pl:
This tutorial is only for Samsung Galaxy Gio stock firmware. In others phones .smali files can be not the same, and might be not work

Requiements:

Any stock firmware for Gio

Windows operating system

Java Runtime Environment 6 or 7

Notepad++ for .smali editing

Any apk signer

1. Deodex ROM

2. Download apktool1.4.3.tar.bz2 and apktool-install-windows-r04-brut1.tar.bz2 from http://code.google.com/p/android-apktool/

3. Extract these files into C:\WINDOWS

4. Copy you TouchWiz30Launcher.apk/framework-res.apk/twframework-res.apk to any folder

5. Open shell command in you folder

6. Install frameworks by apktool if framework-res.apk and apktool if twframework-res.apk commands

7. Decompile TouchWiz30Launcher.apk by apktool d TouchWiz30Launcher.apk <folder_to_decompile> command

8. Moddify files

9. Compile you TouchWiz30Launcher.apk by apktool b <folder_to_compile> <new_app>

a) Sign if you rom is resigned

b) Copy edited files from modded app to original app (if you edited .smali code you must copy classes.dex to)

10. Push app into system and try

Set default screen counter:

In \res\xml-mdpi\launcher_config.xml change launcher:defaultScreenCount="3" to number from 1 to 7

Transparent drawer:

In \res\values-mdpi\colors.xml change

to 80 (semi-transparent) or 99 (like TouchWiz40Launcher)

5 icon dock (or 6)

Open /res/layout-land-ldpi/launcher.xml and /res/layout-ldpi/launcher.xml change

change to 5 or 6

Open smali/com/sec/android/app/twlauncher/AppShortcutZone.smali

In

find const/4 v1, 0x4 change to const/4 v1, 0x5

In

find const/4 v8, 0x3 change to const/4 v8, 0x4 for 5 or const/4 v8, 0x5 for 6

In

find const/4 v6, 0x3 change to const/4 v6, 0x4 for 5 or const/4 v6, 0x5 for 6

5 column app drawer (5x4 or 5x5)

Open TouchWiz30Launcher\res\xml-mdpi\launcher_config.xml with your text editor.

Find

and change it to 5 (this is the number of columns)

Find

and chnage it to 20 if you want 5x4 drawer, or 25 if you want 5x5. (this is the number of icons per page)

5x5 icons home screen (widgets will look smaller)

Open \res\layout-mdpi\workspace_screen.xml

Find

and change it to 5 (this is the number of columns in the home screen)

Find

and change it to 64.0dip (this is the width of the column, it equals 320 / number_of_columns)

Find

and change it to 5 (this is the number lines of icons in the home screen)

Find

and change it to 80.0dip (this is the height of the line, it equals 400 / number_of_lines)

Open \res\values-mdpi\styles.xml

Find

and change it to 2.0dip

Hide icon names in home screen

Open \res\values-mdpi\styles.xml

Find

(the value may be diffrent, so simply look for layout_marginBottom)

This value depends on the cellHeight from the previous patch. it equals cellHeight - 57

if you have a 4 line homescreen, then set it to 43

if you're making a 5 line homescreen, then set it to 23

If you're doing 5x5, do the following. if you're doing 5x4 then skip this.

Open \res\values-mdpi\dimens.xml

Find

and change it to 73.6dip (this is the height of the drawer element)

Open \res\layout-mdpi\application_boxed.xml

Find

and change it to 1 (this is the number of lines in the app name in the drawer)

Remove number in Page Indicator:

Open /smali/com/sec/android/app/twlauncher/PageIndicator$Page.smali and delete

invoke-virtual {v0, v1, v2, v3, v4}, Landroid/graphics/Canvas;->drawText(Ljava/lang/String;FFLandroid/graphics/Paint;)V

Enable/disable 16bit transparency:

Open \res\xml-mdpi\launcher_config.xml and edit

to true (fast, but more sharpen) or false (less sharpen, and nice)

Enable concentration effect in app drawer:

Open \res\xml-mdpi\launcher_config.xml and add

before launcher:use16BitWindow="xxx"

Enable List View option:

Open \res\xml-mdpi\launcher_config.xml and add

after launcher:use16BitWindow="xxx"

Adding Auto-Alphabetical Arrangement:

Use AppZorter Lite (from attachment)

or

In /smali/com/sec/android/app/twlauncher/MenuManager.smali

find:

change to:

sget-object v0, Lcom/sec/android/app/twlauncher/LauncherModel;->APP_NAME_COMPARATOR:Ljava/util/Comparator;

find:

remove:

if-ne v7, v12, :cond_9

Set homescreens count:

Add this line to default.prop (if you don't have, just create)

ro.csc.homescreen.screencount=5 (Number of screens)

Set default homescreen:

Add this line to default.prop (if you don't have, just create)

ro.csc.homescreen.defaultscreen=2 (Number of screen -1)

Thanks to:

zcop

pratyush.creed

brut.all

More mods is incoming !!!