[Epic 4G Apps] rm2488:
I finally got my hands on the SMALI from tw-framework.jar- I didn't find it in the ACE firmware, but I swiped it from an EPIC rom. I followed the instructions from the OP guide, and was able to get a successful build on the Samsung DLNA\AllShare app. It doesn't install if it's not signed. I ran it on an emulator, and got the following in logcat. Can anyone make head or tail of this? AFAICT, it's a ClassNotFound exception in something called PresetModeActivity:

04-20 22:37:32.470: I/ActivityManager(70): Start proc com.sec.android.app.dlna for activity com.sec.android.app.dlna/.ui.PresetModeActivity: pid=410 uid=10034 gids={3003, 1015}
04-20 22:37:32.720: D/szipinf(410): Initializing inflate state
04-20 22:37:32.730: D/AndroidRuntime(410): Shutting down VM
04-20 22:37:32.730: W/dalvikvm(410): threadid=1: thread exiting with uncaught exception (group=0x40015560)
04-20 22:37:32.740: E/AndroidRuntime(410): FATAL EXCEPTION: main
04-20 22:37:32.740: [COLOR="Red"]E/AndroidRuntime(410): java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.sec.android.app.dlna/com.sec.android.app.dlna.ui.PresetModeActivity}: java.lang.ClassNotFoundException: com.sec.android.app.dlna.ui.PresetModeActivity in loader dalvik.system.PathClassLoader[/data/app/com.sec.android.app.dlna-1.apk][/COLOR]
04-20 22:37:32.740: E/AndroidRuntime(410):	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1569)
04-20 22:37:32.740: E/AndroidRuntime(410):	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1663)
04-20 22:37:32.740: E/AndroidRuntime(410):	at android.app.ActivityThread.access$1500(ActivityThread.java:117)
04-20 22:37:32.740: E/AndroidRuntime(410):	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:931)
04-20 22:37:32.740: E/AndroidRuntime(410):	at android.os.Handler.dispatchMessage(Handler.java:99)
04-20 22:37:32.740: E/AndroidRuntime(410):	at android.os.Looper.loop(Looper.java:123)
04-20 22:37:32.740: E/AndroidRuntime(410):	at android.app.ActivityThread.main(ActivityThread.java:3683)
04-20 22:37:32.740: E/AndroidRuntime(410):	at java.lang.reflect.Method.invokeNative(Native Method)
04-20 22:37:32.740: E/AndroidRuntime(410):	at java.lang.reflect.Method.invoke(Method.java:507)
04-20 22:37:32.740: E/AndroidRuntime(410):	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
04-20 22:37:32.740: E/AndroidRuntime(410):	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
04-20 22:37:32.740: E/AndroidRuntime(410):	at dalvik.system.NativeStart.main(Native Method)
04-20 22:37:32.740: E/AndroidRuntime(410): Caused by: java.lang.ClassNotFoundException: com.sec.android.app.dlna.ui.PresetModeActivity in loader dalvik.system.PathClassLoader[/data/app/com.sec.android.app.dlna-1.apk]
04-20 22:37:32.740: E/AndroidRuntime(410):	at dalvik.system.PathClassLoader.findClass(PathClassLoader.java:240)
04-20 22:37:32.740: E/AndroidRuntime(410):	at java.lang.ClassLoader.loadClass(ClassLoader.java:551)
04-20 22:37:32.740: E/AndroidRuntime(410):	at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
04-20 22:37:32.740: E/AndroidRuntime(410):	at android.app.Instrumentation.newActivity(Instrumentation.java:1021)
04-20 22:37:32.740: E/AndroidRuntime(410):	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1561)
04-20 22:37:32.740: E/AndroidRuntime(410):	... 11 more
04-20 22:37:32.760: W/ActivityManager(70): Force finishing activity com.sec.android.app.dlna/.ui.PresetModeActivity
04-20 22:37:33.270: W/ActivityManager(70): Activity pause timeout for HistoryRecord{407c0e10 com.sec.android.app.dlna/.ui.PresetModeActivity}
04-20 22:37:36.600: I/Process(410): Sending signal. PID: 410 SIG: 9
04-20 22:37:36.640: W/InputManagerService(70): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@4077fb78
04-20 22:37:36.770: I/ARMAssembler(70): generated scanline__00000177:03515104_00001001_00000000 [ 91 ipp] (114 ins) at [0x446f1520:0x446f16e8] in 643769 ns
04-20 22:37:36.900: I/ActivityManager(70): Process com.sec.android.app.dlna (pid 410) has died.
04-20 22:37:43.378: W/ActivityManager(70): Activity destroy timeout for HistoryRecord{407c0e10 com.sec.android.app.dlna/.ui.PresetModeActivity}