[Galaxy S II Android Development] remuntada78:
I found the smali in Framework2.jar I thought to search in SecLauncher2.apk, however I did this changes in the smali:

original

.line 200
.local v0, newVisibility:I
:goto_b
if-nez v0, :cond_18

.line 201
iget-object v1, p0, Lcom/android/internal/view/menu/ListMenuItemView;->mShortcutView:Landroid/widget/TextView;

iget-object v2, p0, Lcom/android/internal/view/menu/ListMenuItemView;->mItemData:Lcom/android/internal/view/menu/MenuItemImpl;

invoke-virtual {v2}, Lcom/android/internal/view/menu/MenuItemImpl;->getShortcutLabel()Ljava/lang/String;

move-result-object v2

invoke-virtual {v1, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

.line 204
:cond_18
iget-object v1, p0, Lcom/android/internal/view/menu/ListMenuItemView;->mShortcutView:Landroid/widget/TextView;

invoke-virtual {v1}, Landroid/view/View;->getVisibility()I
.
.
.
.

.line 124
iget-object v0, p0, Lcom/android/internal/view/menu/ListMenuItemView;->mTitleView:Landroid/widget/TextView;

invoke-virtual {v0, p1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

.line 126
iget-object v0, p0, Lcom/android/internal/view/menu/ListMenuItemView;->mTitleView:Landroid/widget/TextView;

invoke-virtual {v0}, Landroid/view/View;->getVisibility()I

move-result v0

if-eqz v0, :cond_17

iget-object v0, p0, Lcom/android/internal/view/menu/ListMenuItemView;->mTitleView:Landroid/widget/TextView;

const/4 v1, 0x0

invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

modded

.line 201
iget-object v1, p0, Lcom/android/internal/view/menu/ListMenuItemView;->mShortcutView:Landroid/widget/TextView;

iget-object v2, p0, Lcom/android/internal/view/menu/ListMenuItemView;->mItemData:Lcom/android/internal/view/menu/MenuItemImpl;

invoke-virtual {v2}, Lcom/android/internal/view/menu/MenuItemImpl;->getShortcutLabel()Ljava/lang/String;

move-result-object v2

invoke-virtual {v1, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

[COLOR="Red"] invoke-virtual {p0}, Lcom/android/internal/view/menu/ListMenuItemView;->getContext()Landroid/content/Context;

move-result-object v3

invoke-virtual {v3}, Landroid/content/Context;->getContentResolver()Landroid/content/ContentResolver;

move-result-object v3

const-string v4, "text_color"

const v5, -0x1

invoke-static {v3, v4, v5}, Landroid/provider/Settings$System;->getInt(Landroid/content/ContentResolver;Ljava/lang/String;I)I

move-result v3

invoke-virtual {v2, v3}, Landroid/widget/TextView;->setTextColor(I)V[/COLOR]

.line 204
:cond_18
iget-object v1, p0, Lcom/android/internal/view/menu/ListMenuItemView;->mShortcutView:Landroid/widget/TextView;

invoke-virtual {v1}, Landroid/view/View;->getVisibility()I
.
.
.
.
.line 124
iget-object v0, p0, Lcom/android/internal/view/menu/ListMenuItemView;->mTitleView:Landroid/widget/TextView;

invoke-virtual {v0, p1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

[COLOR="Red"] invoke-virtual {p0}, Lcom/android/internal/view/menu/ListMenuItemView;->getContext()Landroid/content/Context;

move-result-object v3

invoke-virtual {v3}, Landroid/content/Context;->getContentResolver()Landroid/content/ContentResolver;

move-result-object v3

const-string v4, "text_color"

const v5, -0x1

invoke-static {v3, v4, v5}, Landroid/provider/Settings$System;->getInt(Landroid/content/ContentResolver;Ljava/lang/String;I)I

move-result v3

invoke-virtual {v0, v3}, Landroid/widget/TextView;->setTextColor(I)V[/COLOR]

.line 126
iget-object v0, p0, Lcom/android/internal/view/menu/ListMenuItemView;->mTitleView:Landroid/widget/TextView;

invoke-virtual {v0}, Landroid/view/View;->getVisibility()I

but when i click in the menu softkey ,launcher goes in FC

E/AndroidRuntime( 2578): FATAL EXCEPTION: main

E/AndroidRuntime( 2578): java.lang.VerifyError: com/android/internal/view/menu/ListMenuItemView

E/AndroidRuntime( 2578):	at java.lang.reflect.Constructor.constructNative(Native Method)

E/AndroidRuntime( 2578):	at java.lang.reflect.Constructor.newInstance(Constructor.java:417)

E/AndroidRuntime( 2578):	at android.view.LayoutInflater.createView(LayoutInflater.java:587)

E/AndroidRuntime( 2578):	at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:687)

E/AndroidRuntime( 2578):	at android.view.LayoutInflater.inflate(LayoutInflater.java:466)

E/AndroidRuntime( 2578):	at android.view.LayoutInflater.inflate(LayoutInflater.java:396)

E/AndroidRuntime( 2578):	at com.android.internal.view.menu.ListMenuPresenter$MenuAdapter.getView(ListMenuPresenter.java:269)

E/AndroidRuntime( 2578):	at android.widget.AbsListView.obtainView(AbsListView.java:2465)

E/AndroidRuntime( 2578):	at android.widget.ListView.measureHeightOfChildren(ListView.java:1250)

E/AndroidRuntime( 2578):	at android.widget.ListView.onMeasure(ListView.java:1162)

E/AndroidRuntime( 2578):	at com.android.internal.view.menu.ExpandedMenuView.onMeasure(ExpandedMenuView.java:104)

E/AndroidRuntime( 2578):	at android.view.View.measure(View.java:15504)

E/AndroidRuntime( 2578):	at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5059)

E/AndroidRuntime( 2578):	at android.widget.FrameLayout.onMeasure(FrameLayout.java:310)

E/AndroidRuntime( 2578):	at com.android.internal.policy.impl.PhoneWindow$DecorView.onMeasure(PhoneWindow.java:2385)

E/AndroidRuntime( 2578):	at android.view.View.measure(View.java:15504)

E/AndroidRuntime( 2578):	at android.view.ViewRootImpl.performMeasure(ViewRootImpl.java:1979)

E/AndroidRuntime( 2578):	at android.view.ViewRootImpl.measureHierarchy(ViewRootImpl.java:1222)

E/AndroidRuntime( 2578):	at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1395)

E/AndroidRuntime( 2578):	at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1115)

E/AndroidRuntime( 2578):	at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:4526)

E/AndroidRuntime( 2578):	at android.view.Choreographer$CallbackRecord.run(Choreographer.java:725)

E/AndroidRuntime( 2578):	at android.view.Choreographer.doCallbacks(Choreographer.java:555)

E/AndroidRuntime( 2578):	at android.view.Choreographer.doFrame(Choreographer.java:525)

E/AndroidRuntime( 2578):	at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:711)

E/AndroidRuntime( 2578):	at android.os.Handler.handleCallback(Handler.java:615)

E/AndroidRuntime( 2578):	at android.os.Handler.dispatchMessage(Handler.java:92)

E/AndroidRuntime( 2578):	at android.os.Looper.loop(Looper.java:137)

E/AndroidRuntime( 2578):	at android.app.ActivityThread.main(ActivityThread.java:4921)

E/AndroidRuntime( 2578):	at java.lang.reflect.Method.invokeNative(Native Method)

E/AndroidRuntime( 2578):	at java.lang.reflect.Method.invoke(Method.java:511)

E/AndroidRuntime( 2578):	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1027)

E/AndroidRuntime( 2578):	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:794)

E/AndroidRuntime( 2578):	at dalvik.system.NativeStart.main(Native Method)