[Galaxy Tab Q&A, Help & Troubleshooting] Sir Otto:
Hi, can you help me in a port?

I'm trying to port ICS Touchwiz launcher from Galaxy Tab 10.1 to our little Galaxy Tab. I deodexed the application, solved some problems of libraries, but I can't go on when trying to open it I get a force close and this logcat:

I/ActivityManager( 206): Start proc com.sec.android.app.launcher for activity com.sec.android.app.launcher/com.android.launcher2.Launcher: pid=1012 uid=10089 gids={}

D/OpenGLRenderer( 975): Flushing caches (mode 0)

D/OpenGLRenderer( 975): Flushing caches (mode 1)

I/ActivityThread( 1012): Pub com.sec.android.app.launcher.settings: com.android.launcher2.LauncherProvider

I/dalvikvm( 1012): Could not find method android.content.pm.PackageManager.getCSCPackageItemText, referenced from method com.android.launcher2.LauncherProvider$DatabaseHelper.addUriShortcut

W/dalvikvm( 1012): VFY: unable to resolve virtual method 408: Landroid/content/pm/PackageManager;.getCSCPackageItemText (Ljava/lang/String;)Ljava/lang/CharSequence;

D/dalvikvm( 1012): VFY: replacing opcode 0x6e at 0x00f7

I/dalvikvm( 1012): Could not find method android.content.pm.PackageManager.getCSCPackageItemIcon, referenced from method com.android.launcher2.PkgResCache.loadBitmap

W/dalvikvm( 1012): VFY: unable to resolve virtual method 407: Landroid/content/pm/PackageManager;.getCSCPackageItemIcon (Ljava/lang/String;)Landroid/graphics/drawable/Drawable;

D/dalvikvm( 1012): VFY: replacing opcode 0x6e at 0x0003

I/dalvikvm( 1012): Could not find method android.content.pm.PackageManager.getCSCPackageItemText, referenced from method com.android.launcher2.PkgResCache.loadString

W/dalvikvm( 1012): VFY: unable to resolve virtual method 408: Landroid/content/pm/PackageManager;.getCSCPackageItemText (Ljava/lang/String;)Ljava/lang/CharSequence;

D/dalvikvm( 1012): VFY: replacing opcode 0x6e at 0x0003

I/dalvikvm( 1012): Could not find method android.os.Debug.isProductShip, referenced from method com.android.launcher2.LauncherModel.<clinit>

W/dalvikvm( 1012): VFY: unable to resolve static method 777: Landroid/os/Debug;.isProductShip ()I

D/dalvikvm( 1012): VFY: replacing opcode 0x71 at 0x0001

W/dalvikvm( 1012): Exception Ljava/lang/NoSuchMethodError; thrown while initializing Lcom/android/launcher2/LauncherModel;

D/AndroidRuntime( 1012): Shutting down VM

W/dalvikvm( 1012): threadid=1: thread exiting with uncaught exception (group=0x40a2a1f8)

E/AndroidRuntime( 1012): FATAL EXCEPTION: main

E/AndroidRuntime( 1012): java.lang.ExceptionInInitializerError

E/AndroidRuntime( 1012):	at com.android.launcher2.LauncherApplication.onCreate(LauncherApplication.java:122)

E/AndroidRuntime( 1012):	at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:969)

E/AndroidRuntime( 1012):	at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4105)

E/AndroidRuntime( 1012):	at android.app.ActivityThread.access$1300(ActivityThread.java:132)

E/AndroidRuntime( 1012):	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1195)

E/AndroidRuntime( 1012):	at android.os.Handler.dispatchMessage(Handler.java:99)

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

E/AndroidRuntime( 1012):	at android.app.ActivityThread.main(ActivityThread.java:4575)

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

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

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

E/AndroidRuntime( 1012):	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:556)

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

E/AndroidRuntime( 1012): Caused by: java.lang.NoSuchMethodError: android.os.Debug.isProductShip

E/AndroidRuntime( 1012):	at com.android.launcher2.LauncherModel.<clinit>(LauncherModel.java:75)

E/AndroidRuntime( 1012):	... 13 more

W/ActivityManager( 206): Force finishing activity com.sec.android.app.launcher/com.android.launcher2.Launcher

D/dalvikvm( 206): GC_CONCURRENT freed 1804K, 33% free 7364K/10887K, paused 3ms+8ms

I/Process ( 206): Sending signal. PID: 1012 SIG: 3

I/dalvikvm( 1012): threadid=3: reacting to signal 3

I/dalvikvm( 1012): Wrote stack traces to '/data/anr/traces.txt'

W/ActivityManager( 206): Activity pause timeout for ActivityRecord{413c2f20 com.sec.android.app.launcher/com.android.launcher2.Launcher}

I/Process ( 206): Sending signal. PID: 1012 SIG: 3

I/dalvikvm( 1012): threadid=3: reacting to signal 3

I/dalvikvm( 1012): Wrote stack traces to '/data/anr/traces.txt'

W/InputManagerService( 206): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@40fe0358

I/Process ( 1012): Sending signal. PID: 1012 SIG: 9

I/ActivityManager( 206): Process com.sec.android.app.launcher (pid 1012) has died.

If anyone wants to help me, here's the apk.

Don't flash it in CWM recovery (it isn't a recovery package) but just copy the 4 files in these directories:

SecLauncher2.apk in /system/app

libsecnativefeature.so in /system/framework

sec_feature.xml in /system/etc/permissions

sec_feature_deodexed.jar in /system/framework