[Q] Installing Stock camera on CM10 - HTC One V

Hello,
This is my first post, I usually search through the forum as an unregistered user and find answers to my questions. This is how I've unlocked the bootloader, flashed new recovery (cwm-6.0.1.5 by Lloir) and kernel (SuperSick-01_03_13) and then flashed a new rom (CM 10.1).
All is great, except by the camera. After extensive search, I have not found any instructions on how to install the stock camera on CM10-based ROMs,. So, I've decided to do it by my own. So far I am stuck at a point.
I have managed to find the Camera.akp and Camera.odex file in my backup of the stock rom, to deodex the latter, to include the .dex file back in the Camera.apk package and finally to sign the package for installation.
Install was fine after removing data/data/com.android.camera directory. But now, when trying to run the app I get an exception because some methods/resources were not found. I am an Android noob, so I have no clue on how to determine the nature and localization of these resources on the original ROM. Any help would be appreciated. Here is the relevant part of my logcat:
Code:
I/ActivityManager( 1738): START {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.android.camera/.CameraEntry u=0} from pid 1919
I/ActivityManager( 1738): Start proc com.android.camera for activity com.android.camera/.CameraEntry: pid=3889 uid=10077 gids={1006, 3003, 1015, 1028}
E/Trace ( 3889): error opening trace file: No such file or directory (2)
W/dalvikvm( 3889): Unable to resolve superclass of Lcom/android/camera/HTCCamera$TVDisplayListener; (1389)
W/dalvikvm( 3889): Link of class 'Lcom/android/camera/HTCCamera$TVDisplayListener;' failed
I/dalvikvm( 3889): Could not find method com.htc.wrap.dalvik.system.HtcWrapVMRuntime.disableGcForExternalAlloc, referenced from method com.android.camera.HTCCamera.<init>
W/dalvikvm( 3889): VFY: unable to resolve static method 8067: Lcom/htc/wrap/dalvik/system/HtcWrapVMRuntime;.disableGcForExternalAlloc (Z)V
D/dalvikvm( 3889): VFY: replacing opcode 0x71 at 0x00cd
I/dalvikvm( 3889): Could not find method com.htc.wrap.android.app.HtcWrapActivity.overrideRotateAnimation, referenced from method com.android.camera.HTCCamera.overrideSystemRotateAnimation
W/dalvikvm( 3889): VFY: unable to resolve static method 8045: Lcom/htc/wrap/android/app/HtcWrapActivity;.overrideRotateAnimation (Landroid/app/Activity;I)V
D/dalvikvm( 3889): VFY: replacing opcode 0x71 at 0x0018
I/dalvikvm( 3889): Could not find method com.htc.wrap.dalvik.system.HtcWrapVMRuntime.disableGcForExternalAlloc, referenced from method com.android.camera.HTCCamera.performActionsOnPreviewSurfaceCreated
W/dalvikvm( 3889): VFY: unable to resolve static method 8067: Lcom/htc/wrap/dalvik/system/HtcWrapVMRuntime;.disableGcForExternalAlloc (Z)V
D/dalvikvm( 3889): VFY: replacing opcode 0x71 at 0x0020
E/dalvikvm( 3889): Could not find class 'com.htc.service.WirelessDisplayManager', referenced from method com.android.camera.HTCCamera.setFingerGestureEnable
W/dalvikvm( 3889): VFY: unable to resolve check-cast 1394 (Lcom/htc/service/WirelessDisplayManager;) in Lcom/android/camera/HTCCamera;
D/dalvikvm( 3889): VFY: replacing opcode 0x1f at 0x0006
E/dalvikvm( 3889): Could not find class 'com.htc.service.WirelessDisplayManager', referenced from method com.android.camera.HTCCamera.isInMirrorMode
W/dalvikvm( 3889): VFY: unable to resolve check-cast 1394 (Lcom/htc/service/WirelessDisplayManager;) in Lcom/android/camera/HTCCamera;
D/dalvikvm( 3889): VFY: replacing opcode 0x1f at 0x000e
I/dalvikvm( 3889): Could not find method com.htc.wrap.android.view.HtcWrapSurface.setRemoteScreenOrientation, referenced from method com.android.camera.HTCCamera.onCreate
W/dalvikvm( 3889): VFY: unable to resolve static method 8063: Lcom/htc/wrap/android/view/HtcWrapSurface;.setRemoteScreenOrientation (I)V
D/dalvikvm( 3889): VFY: replacing opcode 0x71 at 0x0022
W/dalvikvm( 3889): Unable to resolve superclass of Lcom/android/camera/HTCCamera$TVDisplayListener; (1389)
W/dalvikvm( 3889): Link of class 'Lcom/android/camera/HTCCamera$TVDisplayListener;' failed
E/dalvikvm( 3889): Could not find class 'com.android.camera.HTCCamera$TVDisplayListener', referenced from method com.android.camera.HTCCamera.onCreate
W/dalvikvm( 3889): VFY: unable to resolve new-instance 323 (Lcom/android/camera/HTCCamera$TVDisplayListener;) in Lcom/android/camera/HTCCamera;
D/dalvikvm( 3889): VFY: replacing opcode 0x22 at 0x0025
I/dalvikvm( 3889): Could not find method com.htc.dlnasharedmodule.HtcTVDisplayHelper.release, referenced from method com.android.camera.HTCCamera.onDestroy
W/dalvikvm( 3889): VFY: unable to resolve virtual method 7948: Lcom/htc/dlnasharedmodule/HtcTVDisplayHelper;.release ()V
D/dalvikvm( 3889): VFY: replacing opcode 0x6e at 0x0034
W/dalvikvm( 3889): Unable to resolve superclass of Lcom/android/camera/HTCCamera$TVDisplayListener; (1389)
W/dalvikvm( 3889): Link of class 'Lcom/android/camera/HTCCamera$TVDisplayListener;' failed
W/dalvikvm( 3889): Unable to resolve superclass of Lcom/android/camera/HTCCamera$TVDisplayListener; (1389)
W/dalvikvm( 3889): Link of class 'Lcom/android/camera/HTCCamera$TVDisplayListener;' failed
W/dalvikvm( 3889): VFY: unable to resolve static field 6333 (Htc_PROJECT_flag) in Lcom/htc/htcjavaflag/HtcBuildFlag;
D/dalvikvm( 3889): VFY: replacing opcode 0x66 at 0x000a
I/dalvikvm( 3889): Could not find method com.htc.wrap.android.view.HtcWrapSurface.resetRemoteScreenOrientation, referenced from method com.android.camera.HTCCamera.onStop
W/dalvikvm( 3889): VFY: unable to resolve static method 8062: Lcom/htc/wrap/android/view/HtcWrapSurface;.resetRemoteScreenOrientation ()V
D/dalvikvm( 3889): VFY: replacing opcode 0x71 at 0x0031
W/dalvikvm( 3889): Unable to resolve superclass of Lcom/android/camera/HTCCamera$TVDisplayListener; (1389)
W/dalvikvm( 3889): Link of class 'Lcom/android/camera/HTCCamera$TVDisplayListener;' failed
D/dalvikvm( 3889): DexOpt: unable to opt direct call 0x060c at 0x27 in Lcom/android/camera/HTCCamera;.onCreate
D/dalvikvm( 3889): DexOpt: unable to opt direct call 0x1f0b at 0x34 in Lcom/android/camera/HTCCamera;.onCreate
W/HTCCamera( 3889): Constructor() - start
W/HTCCamera( 3889): Disable GC
D/AndroidRuntime( 3889): Shutting down VM
W/dalvikvm( 3889): threadid=1: thread exiting with uncaught exception (group=0x40c77300)
E/AndroidRuntime( 3889): FATAL EXCEPTION: main
E/AndroidRuntime( 3889): java.lang.NoClassDefFoundError: com.htc.wrap.dalvik.system.HtcWrapVMRuntime
E/AndroidRuntime( 3889): at com.android.camera.HTCCamera.<init>(HTCCamera.java:895)
E/AndroidRuntime( 3889): at com.android.camera.CameraEntry.<init>(CameraEntry.java:3)
E/AndroidRuntime( 3889): at java.lang.Class.newInstanceImpl(Native Method)
E/AndroidRuntime( 3889): at java.lang.Class.newInstance(Class.java:1319)
E/AndroidRuntime( 3889): at android.app.Instrumentation.newActivity(Instrumentation.java:1053)
E/AndroidRuntime( 3889): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2091)
E/AndroidRuntime( 3889): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2211)
E/AndroidRuntime( 3889): at android.app.ActivityThread.access$600(ActivityThread.java:143)
E/AndroidRuntime( 3889): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1209)
E/AndroidRuntime( 3889): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 3889): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 3889): at android.app.ActivityThread.main(ActivityThread.java:4965)
E/AndroidRuntime( 3889): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 3889): at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime( 3889): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:791)
E/AndroidRuntime( 3889): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:558)
E/AndroidRuntime( 3889): at dalvik.system.NativeStart.main(Native Method)
W/ResourceType( 1738): No known package when getting value for resource number 0x0204027c
W/PackageManager( 1738): Failure retrieving text 0x204027c in package com.android.camera
W/PackageManager( 1738): android.content.res.Resources$NotFoundException: String resource ID #0x204027c
W/PackageManager( 1738): at android.content.res.Resources.getText(Resources.java:229)
W/PackageManager( 1738): at android.app.ApplicationPackageManager.getText(ApplicationPackageManager.java:927)
W/PackageManager( 1738): at android.content.pm.PackageItemInfo.loadLabel(PackageItemInfo.java:115)
W/PackageManager( 1738): at android.app.ApplicationPackageManager.getApplicationLabel(ApplicationPackageManager.java:971)
W/PackageManager( 1738): at com.android.server.am.AppErrorDialog.<init>(AppErrorDialog.java:50)
W/PackageManager( 1738): at com.android.server.am.ActivityManagerService$2.handleMessage(ActivityManagerService.java:912)
W/PackageManager( 1738): at android.os.Handler.dispatchMessage(Handler.java:99)
W/PackageManager( 1738): at android.os.Looper.loop(Looper.java:137)
W/PackageManager( 1738): at com.android.server.am.ActivityManagerService$AThread.run(ActivityManagerService.java:1434)
W/ActivityManager( 1738): Force finishing activity com.android.camera/.CameraEntry
W/ActivityManager( 1738): Activity pause timeout for ActivityRecord{416a3ee0 com.android.camera/.CameraEntry}
W/ActivityManager( 1738): Activity destroy timeout for ActivityRecord{416a3ee0 com.android.camera/.CameraEntry}
I/Process ( 3889): Sending signal. PID: 3889 SIG: 9
W/InputMethodManagerService( 1738): Window already focused, ignoring focus gain of: com.android.i[email protected] attribute=null
I/ActivityManager( 1738): Process com.android.camera (pid 3889) has died.
Sorry if this is not the best place for posting this question, but I have no access to the devs forum.

oops Try camera apps on play...
Sent from my HTC One V using Tapatalk 2

bahubali67 said:
oops Try camera apps on play...
Sent from my HTC One V using Tapatalk 2
Click to expand...
Click to collapse
Is the stock HTC On V camera on the market? No other will use ImageSense chip. That's what I want.

The only way to get the stock camera is a sense based ROM. Either stock or custom sense ROM.
Sent from my HTC One V using xda premium

jaredl45600 said:
The only way to get the stock camera is a sense based ROM. Either stock or custom sense ROM.
Sent from my HTC One V using xda premium
Click to expand...
Click to collapse
You mean the only _current_ way. If I could track back the errors in the trace, perhaps this could change.
Anyone can help me to interpret those traces? Where are the missing classes and how can I make them available to the app? I am pretty sure that some kind of LD_LIBRARY_PRELOAD trick is possible.

eshneto said:
You mean the only _current_ way. If I could track back the errors in the trace, perhaps this could change.
Anyone can help me to interpret those traces? Where are the missing classes and how can I make them available to the app? I am pretty sure that some kind of LD_LIBRARY_PRELOAD trick is possible.
Click to expand...
Click to collapse
I'm just curious... did you or anyone else ever figure out any way to get the stock camera on CM? Or is that simply not possible?
I'm very grateful to the guys who made such a sweet ROM (in CM10), but I'm thinking about switching back to a stock-based one just because the camera was one of the main reasons I got the One V (it's amazing compared to its peers' cameras in my opinion), but without being able to utilize the ImageSense chip or whatever, quality really suffers.
EDIT: If the above question is stupid, then could someone give me an opinion on which ROM I should use if I'm looking to take full advantage of the camera? Preferably, I'd like to have JB, but I'm guessing that's probably not possible. Anyway, thanks in advance.

tmacfan532 said:
I'm just curious... did you or anyone else ever figure out any way to get the stock camera on CM? Or is that simply not possible?
I'm very grateful to the guys who made such a sweet ROM (in CM10), but I'm thinking about switching back to a stock-based one just because the camera was one of the main reasons I got the One V (it's amazing compared to its peers' cameras in my opinion), but without being able to utilize the ImageSense chip or whatever, quality really suffers.
EDIT: If the above question is stupid, then could someone give me an opinion on which ROM I should use if I'm looking to take full advantage of the camera? Preferably, I'd like to have JB, but I'm guessing that's probably not possible. Anyway, thanks in advance.
Click to expand...
Click to collapse
I am back to stock rom and I don't know about a JB rom with the stock camera. Sorry.
I hope some day I will be able to do it myself. I just don't have the time to spend right now.

nope the stock camera(sense) only worx with sense frameworks i.e on sense ROMS ONLY....cannot work on CM10 etc...

Related

Motorola Milestone Multitouch Browser on AOSP 2.0 Rom

Hi, i have the motorola milestone browser (the regular one that includes the multitouch) and they are attached to this thread. I am trying to get them to work on AOSP 2.0. Whenever i open it on the phone, it opens to a white screen then force closes. I have logcat open and this is what comes up when i open the browser.
I/ActivityManager( 75): Starting activity: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.android.browser/.BrowserActivity }
I/ActivityManager( 75): Start proc com.android.browser for activity com.android.browser/.BrowserActivity: pid=474 uid=10017 gids={3003, 1015}
I/ActivityThread( 474): Publishing provider browser: com.android.browser.BrowserProvider
E/dalvikvm( 474): Could not find class 'com.motorola.webkit.MultiTouchWebView', referenced from method com.android.browser.TabControl.createNewWebView
W/dalvikvm( 474): VFY: unable to resolve new-instance 437 (Lcom/motorola/webkit/MultiTouchWebView in Lcom/android/browser/TabControl;
D/dalvikvm( 474): VFY: replacing opcode 0x22 at 0x0001
D/dalvikvm( 474): Making a copy of Lcom/android/browser/TabControl;.createNewWebView code (104 bytes)
D/AndroidRuntime( 474): Shutting down VM
W/dalvikvm( 474): threadid=3: thread exiting with uncaught exception (group=0x4001e2e0)
E/AndroidRuntime( 474): Uncaught handler: thread main exiting due to uncaught exception
E/AndroidRuntime( 474): java.lang.NoClassDefFoundError: com.motorola.webkit.MultiTouchWebView
E/AndroidRuntime( 474): at com.android.browser.TabControl.createNewWebView(TabControl.java:1027)
E/AndroidRuntime( 474): at com.android.browser.TabControl.createNewTab(TabControl.java:594)
E/AndroidRuntime( 474): at com.android.browser.BrowserActivity.onCreate(BrowserActivity.java:444)
E/AndroidRuntime( 474): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
E/AndroidRuntime( 474): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2431)
E/AndroidRuntime( 474): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2484)
E/AndroidRuntime( 474): at android.app.ActivityThread.access$2200(ActivityThread.java:119)
E/AndroidRuntime( 474): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1835)
E/AndroidRuntime( 474): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 474): at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 474): at android.app.ActivityThread.main(ActivityThread.java:4325)
E/AndroidRuntime( 474): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 474): at java.lang.reflect.Method.invoke(Method.java:521)
E/AndroidRuntime( 474): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)
E/AndroidRuntime( 474): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
E/AndroidRuntime( 474): at dalvik.system.NativeStart.main(Native Method)
Click to expand...
Click to collapse
Any ideas? I tried looking for some of the files in the motorola milestone dump but no luck.
Edit: The browser file and the multitouch permission did not attach.
you need the motorola frameworks and a multitouch kernel. as the errors say, it cant find the motorola multitouch class.
there was a frame work com.android.hardware.touchscreen.multitouch.xml and thats in as well. shouldn't it work then? or is it really the kernel?

Sprint zone for rooted users

When i put a custom rom it deleted all my sprint apps which is good because i always delete them any way. He only problem is i like sprint zone so i can check my usage and bill. Does any one have the app or a link to download the app so i can have ot again. Pm or just reply. I know some one has to have it and i would be thrilled to havebit again! Thanks
Sent from my PC36100 using XDA App
I just tried yanking the /system/app/Sprint_Promotion.apk from netarchy's 2.2 rooted ROM, and it constantly FC's, here's the logcat:
Code:
I/ActivityManager( 204): Starting activity: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.sprint.dsa/.PageMain }
I/ActivityManager( 204): Start proc com.sprint.dsa for activity com.sprint.dsa/.PageMain: pid=880 uid=10001 gids={3003}
W/dalvikvm( 880): VFY: unable to resolve exception class 239 (Lcom/sprint/internal/SystemPropertiesException;)
W/dalvikvm( 880): VFY: unable to find exception handler at addr 0x4d
W/dalvikvm( 880): VFY: rejected Lcom/sprint/dsa/PageMain;.dispatchPages ()V
W/dalvikvm( 880): VFY: rejecting opcode 0x0d at 0x004d
W/dalvikvm( 880): VFY: rejected Lcom/sprint/dsa/PageMain;.dispatchPages ()V
W/dalvikvm( 880): Verifier rejected class Lcom/sprint/dsa/PageMain;
W/dalvikvm( 880): Class init failed in newInstance call (Lcom/sprint/dsa/PageMain;)
D/AndroidRuntime( 880): Shutting down VM
W/dalvikvm( 880): threadid=1: thread exiting with uncaught exception (group=0x4001d7f8)
E/AndroidRuntime( 880): FATAL EXCEPTION: main
E/AndroidRuntime( 880): java.lang.VerifyError: com.sprint.dsa.PageMain
E/AndroidRuntime( 880): at java.lang.Class.newInstanceImpl(Native Method)
E/AndroidRuntime( 880): at java.lang.Class.newInstance(Class.java:1429)
E/AndroidRuntime( 880): at android.app.Instrumentation.newActivity(Instrumentation.java:1021)
E/AndroidRuntime( 880): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2577)
E/AndroidRuntime( 880): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2679)
E/AndroidRuntime( 880): at android.app.ActivityThread.access$2300(ActivityThread.java:125)
E/AndroidRuntime( 880): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2033)
E/AndroidRuntime( 880): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 880): at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 880): at android.app.ActivityThread.main(ActivityThread.java:4627)
E/AndroidRuntime( 880): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 880): at java.lang.reflect.Method.invoke(Method.java:521)
E/AndroidRuntime( 880): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
E/AndroidRuntime( 880): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
E/AndroidRuntime( 880): at dalvik.system.NativeStart.main(Native Method)
W/ActivityManager( 204): Force finishing activity com.sprint.dsa/.PageMain
W/ActivityManager( 204): Activity pause timeout for HistoryRecord{43fbfcc0 com.sprint.dsa/.PageMain}
I/Process ( 880): Sending signal. PID: 880 SIG: 9
I/ActivityManager( 204): Process com.sprint.dsa (pid 880) has died.
drmacinyasha said:
I just tried yanking the /system/app/Sprint_Promotion.apk from netarchy's 2.2 rooted ROM, and it constantly FC's, here's the logcat:
Click to expand...
Click to collapse
Try this one. It is NOT a flashable zip.
Even that attached file is having constant FC's upon opening.
Sent from my Evolution 4G running CM6
Just FC but thanks for the try. Any body that can help would be greatly appreciated
Sent from my PC36100 using XDA App
I would also like this. The sprint zone app was the only one worth keeping, when I tried a few different versions they all FC'ed constant upon opening. Running CM 6 also.
Sent from my HTC Supersonic using XDA app
Fresh puts all the removed files in a folder download his latest ROM for the latest version. U need the latest to use *2 as well (version sz_1.5.9)
Sent from my PC36100 using XDA App
anyone have a stock 'com.sprint.dsa' that we can install?
So was there ever a fix for this. Or is the attached file the fix
Edit: The attached file did work and now it works perfectly.
Here is a working Sprint Zone app that you can install without flashing. I am using this on cyanogen mod 6.1.0rc1 and it works fine.
here's sz_2.0.4
had it sitting on my SD from BadDroid removed apps.

After recompiling HTC Music FC's

Hi, after i recompile HTC Music and i run it i get FC, i try to clear the data and its not helping, even when i recompile without changing anything i get FC.
All others apps i edit working very good and no FC.
Thnaks!
Code:
I/HtcMusic( 4041): borranx MyGallery.QVGA 2
W/dalvikvm( 4041): VFY: bad exception entry: startAddr=126 endAddr=126 (size=289)
W/dalvikvm( 4041): VFY: rejected Lcom/htc/music/MusicUtils;.getArtworkFromFile (Landroid/content/Context;Landroid/net/Uri;I)Landroid/graphics/Bitmap;
W/dalvikvm( 4041): Verifier rejected class Lcom/htc/music/MusicUtils;
D/AndroidRuntime( 4041): Shutting down VM
W/dalvikvm( 4041): threadid=1: thread exiting with uncaught exception (group=0x400259f8)
E/AndroidRuntime( 4041): FATAL EXCEPTION: main
E/AndroidRuntime( 4041): java.lang.VerifyError: com.htc.music.MusicUtils
E/AndroidRuntime( 4041): at com.htc.music.HtcMusic.onStart(HtcMusic.java:768)
E/AndroidRuntime( 4041): at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1211)
E/AndroidRuntime( 4041): at android.app.Activity.performStart(Activity.java:3822)
E/AndroidRuntime( 4041): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2760)
E/AndroidRuntime( 4041): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2803)
E/AndroidRuntime( 4041): at android.app.ActivityThread.access$2300(ActivityThread.java:135)
E/AndroidRuntime( 4041): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2136)
E/AndroidRuntime( 4041): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 4041): at android.os.Looper.loop(Looper.java:144)
E/AndroidRuntime( 4041): at android.app.ActivityThread.main(ActivityThread.java:4937)
E/AndroidRuntime( 4041): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 4041): at java.lang.reflect.Method.invoke(Method.java:521)
E/AndroidRuntime( 4041): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
E/AndroidRuntime( 4041): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
E/AndroidRuntime( 4041): at dalvik.system.NativeStart.main(Native Method)
W/ActivityManager( 188): Force finishing activity com.htc.music/.HtcMusic
What are you trying to change???
I try add a language, but even when i don't edit anything just do decompile and then compile i get this error.
i don this before on other apps and it's work perfect, this is happens only in HTC Music.
anyone? please.
Anyone? ...
bump.......

[APP/PROJECT] Porting Xperia Arc Music App to SGS / Idea stage / Need skills !!

Hi all, i start a little project, trying to port xperia arc's Music Player to our SGS, i'm not a dev, just a "bidouilleur".
Apk's installation is fine, but app FC.
So, here is log of FC :
Code:
I/ActivityManager( 3260): Starting activity: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.sonyericsson.music/.PlayerActivity }
W/WindowManager( 3260): HistoryRecord{48d2b2d8 com.sonyericsson.music/.PlayerActivity} failed creating starting window
W/WindowManager( 3260): android.view.InflateException: Binary XML file line #2: Error inflating class <unknown>
W/WindowManager( 3260): at android.view.LayoutInflater.createView(LayoutInflater.java:513)
W/WindowManager( 3260): at com.android.internal.policy.impl.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:56)
W/WindowManager( 3260): at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:563)
W/WindowManager( 3260): at android.view.LayoutInflater.inflate(LayoutInflater.java:385)
W/WindowManager( 3260): at android.view.LayoutInflater.inflate(LayoutInflater.java:320)
W/WindowManager( 3260): at android.view.LayoutInflater.inflate(LayoutInflater.java:276)
W/WindowManager( 3260): at com.android.internal.policy.impl.PhoneWindow.generateLayout(PhoneWindow.java:2217)
W/WindowManager( 3260): at com.android.internal.policy.impl.PhoneWindow.installDecor(PhoneWindow.java:2272)
W/WindowManager( 3260): at com.android.internal.policy.impl.PhoneWindow.getDecorView(PhoneWindow.java:1459)
W/WindowManager( 3260): at com.android.internal.policy.impl.PhoneWindowManager.addStartingWindow(PhoneWindowManager.java:1042)
W/WindowManager( 3260): at com.android.server.WindowManagerService$H.handleMessage(WindowManagerService.java:9144)
W/WindowManager( 3260): at android.os.Handler.dispatchMessage(Handler.java:99)
W/WindowManager( 3260): at android.os.Looper.loop(Looper.java:123)
W/WindowManager( 3260): at com.android.server.WindowManagerService$WMThread.run(WindowManagerService.java:583)
W/WindowManager( 3260): Caused by: java.lang.reflect.InvocationTargetException
W/WindowManager( 3260): at android.widget.FrameLayout.<init>(FrameLayout.java:79)
W/WindowManager( 3260): at java.lang.reflect.Constructor.constructNative(Native Method)
W/WindowManager( 3260): at java.lang.reflect.Constructor.newInstance(Constructor.java:446)
W/WindowManager( 3260): at android.view.LayoutInflater.createView(LayoutInflater.java:500)
W/WindowManager( 3260): ... 13 more
W/WindowManager( 3260): Caused by: android.content.res.Resources$NotFoundException: Resource is not a Drawable (color or path): TypedValue{t=0x2/d=0x1010059 a=-1}
W/WindowManager( 3260): at android.content.res.Resources.loadDrawable(Resources.java:1681)
W/WindowManager( 3260): at android.content.res.TypedArray.getDrawable(TypedArray.java:601)
W/WindowManager( 3260): at android.widget.FrameLayout.<init>(FrameLayout.java:91)
W/WindowManager( 3260): ... 17 more
I/ActivityManager( 3260): Start proc com.sonyericsson.music for activity com.sonyericsson.music/.PlayerActivity: pid=10147 uid=10090 gids={3003, 1015, 3002}
I/Zygote (10147): Zygote: pid 10147 has INTERNET permission, then set capability for CAP_NET_RAW
I/ActivityThread(10147): Publishing provider com.sonyericsson.provider.youtube: com.sonyericsson.music.artistbook.youtube.YouTubePluginProvider
W/ResourceType(10147): Entry identifier 0x120 is larger than entry count 0xa3
W/ResourceType(10147): getEntry failing because entryIndex 254 is beyond type entryCount 163
W/ResourceType(10147): Failure getting entry for 0x010300fe (t=2 e=254) in package 0: 0x80000001
W/ResourceType(10147): Entry identifier 0xfe is larger than entry count 0xa3
W/ResourceType(10147): getEntry failing because entryIndex 244 is beyond type entryCount 163
W/ResourceType(10147): Failure getting entry for 0x010300f4 (t=2 e=244) in package 0: 0x80000001
W/ResourceType(10147): Entry identifier 0xf4 is larger than entry count 0xa3
W/ResourceType(10147): getEntry failing because entryIndex 253 is beyond type entryCount 163
W/ResourceType(10147): Failure getting entry for 0x010300fd (t=2 e=253) in package 0: 0x80000001
W/ResourceType(10147): Entry identifier 0xfd is larger than entry count 0xa3
E/dalvikvm(10147): Could not find class 'android.drm.DrmManagerClient', referenced from method com.sonyericsson.music.common.DrmUtils.<init>
W/dalvikvm(10147): VFY: unable to resolve new-instance 52 (Landroid/drm/DrmManagerClient;) in Lcom/sonyericsson/music/common/DrmUtils;
D/dalvikvm(10147): VFY: replacing opcode 0x22 at 0x0005
D/dalvikvm(10147): VFY: dead code 0x0007-0013 in Lcom/sonyericsson/music/common/DrmUtils;.<init> (Landroid/content/Context;)V
I/dalvikvm(10147): Could not find method android.drm.DrmManagerClient.unloadPlugIns, referenced from method com.sonyericsson.music.common.DrmUtils.close
W/dalvikvm(10147): VFY: unable to resolve virtual method 215: Landroid/drm/DrmManagerClient;.unloadPlugIns ()V
D/dalvikvm(10147): VFY: replacing opcode 0x6e at 0x0002
D/dalvikvm(10147): VFY: dead code 0x0005-0005 in Lcom/sonyericsson/music/common/DrmUtils;.close ()V
I[B]/dalvikvm(10147): Could not find method android.drm.DrmManagerClient.canHandle, referenced from method com.sonyericsson.music.common.DrmUtils.hasValidRights
W/dalvikvm(10147): VFY: unable to resolve virtual method 212: Landroid/drm/DrmManagerClient;.canHandle (Ljava/lang/String;Ljava/lang/String;)Z
D/dalvikvm(10147): VFY: replacing opcode 0x6e at 0x0006
D/dalvikvm(10147): VFY: dead code 0x0009-0014 in Lcom/sonyericsson/music/common/DrmUtils;.hasValidRights (Ljava/lang/String;)Z
D/AndroidRuntime(10147): Shutting down VM
W/dalvikvm(10147): threadid=1: thread exiting with uncaught exception (group=0x4001d7d0)
E/AndroidRuntime(10147): FATAL EXCEPTION: main
E/AndroidRuntime(10147): java.lang.NoClassDefFoundError: android.drm.DrmManagerClient
E/AndroidRuntime(10147): at com.sonyericsson.music.common.DrmUtils.<init>(DrmUtils.java:49)[/B]
E/AndroidRuntime(10147): at com.sonyericsson.music.PlayerActivity.onCreate(PlayerActivity.java:349)
E/AndroidRuntime(10147): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1049)
E/AndroidRuntime(10147): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2627)
E/AndroidRuntime(10147): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2679)
E/AndroidRuntime(10147): at android.app.ActivityThread.access$2300(ActivityThread.java:125)
E/AndroidRuntime(10147): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2033)
E/AndroidRuntime(10147): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime(10147): at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime(10147): at android.app.ActivityThread.main(ActivityThread.java:4627)
E/AndroidRuntime(10147): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime(10147): at java.lang.reflect.Method.invoke(Method.java:521)
E/AndroidRuntime(10147): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:858)
E/AndroidRuntime(10147): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
E/AndroidRuntime(10147): at dalvik.system.NativeStart.main(Native Method)
Seems to miss a "method" about DRMs... Any IDEAS ?
Sorry i guess i read this thread too late yet i will reply...
check values folder within that styles.xml
your app must be referencing to a theme from SEMCUxpres.apk so the error...
quite intresting....
so...any new news about this thread?
copy the drm class from sony framework into the app.
Then you still have to fix the ressource error.

[Q] SGS3 Camera APK on SGS2 [WIP]

I have been trying to get the camera apk from the Samsung Galaxy s3 to work on my S2, so far i have modified my framework.jar to get past the following problems;
***FIXED PROBLEMS***
W/dalvikvm( 5364): VFY: unable to resolve virtual method 1002: Lcom/sec/android/app/IWSpeechRecognizer/BargeInRecognizer;.startBargeIn (I)V
W/dalvikvm( 5364): Link of class 'Lcom/sec/android/app/camera/Camera$VoiceRecognizer;' failed
W/dalvikvm( 5364): VFY: unable to resolve static method 6283: Lcom/sec/android/hardware/SecHardwareInterface;.setmDNIeOutDoor (Z)Z
W/dalvikvm( 5364): VFY: unable to resolve static method 6282: Lcom/sec/android/hardware/SecHardwareInterface;.setAmoledVideoGamma (Z)Z
AND a bunch of CscFeature errors.
***********
The error list is much shorter than it was before, but i have never tried this before (modding an apk) but, i have figured out all the, odex, deodex, smali, classes.dex, resigning, blah blah blah, stuff on my own (with your help XDA and Google) but now have, what seems to be one final obstacle, and i was hoping someone here could help me.
Here are the important bits of the logcat...
******EXISTING PROBLEMS*******
E/AndroidRuntime(27527): FATAL EXCEPTION: main
E/AndroidRuntime(27527): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.sec.android.app.camera/com.sec.android.app.camera.Camera}: android.content.res.Resources$NotFoundException: Resource ID #0x7f030003
E/AndroidRuntime(27527): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1968)
E/AndroidRuntime(27527): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1993)
E/AndroidRuntime(27527): at android.app.ActivityThread.access$600(ActivityThread.java:127)
E/AndroidRuntime(27527): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1159)
E/AndroidRuntime(27527): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime(27527): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime(27527): at android.app.ActivityThread.main(ActivityThread.java:4512)
E/AndroidRuntime(27527): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime(27527): at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime(27527): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:794)
E/AndroidRuntime(27527): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:561)
E/AndroidRuntime(27527): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime(27527): Caused by: android.content.res.Resources$NotFoundException: Resource ID #0x7f030003
E/AndroidRuntime(27527): at android.content.res.Resources.getValue(Resources.java:1019)
E/AndroidRuntime(27527): at android.content.res.Resources.loadXmlResourceParser(Resources.java:2107)
E/AndroidRuntime(27527): at android.content.res.Resources.getLayout(Resources.java:858)
E/AndroidRuntime(27527): at android.view.LayoutInflater.inflate(LayoutInflater.java:394)
E/AndroidRuntime(27527): at android.view.LayoutInflater.inflate(LayoutInflater.java:352)
E/AndroidRuntime(27527): at com.sec.android.app.camera.AbstractCameraActivity.showEditableShortcutHelpTextDialog(AbstractCameraActivity.java:1906)
E/AndroidRuntime(27527): at com.sec.android.app.camera.AbstractCameraActivity.onCreate(AbstractCameraActivity.java:1028)
E/AndroidRuntime(27527): at com.sec.android.app.camera.Camera.onCreate(Camera.java:712)
E/AndroidRuntime(27527): at android.app.Activity.performCreate(Activity.java:4481)
E/AndroidRuntime(27527): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1052)
E/AndroidRuntime(27527): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1932)
**********************************************************************************
2 files in the apk reference Resource ID #0x7f030003
1. AbstractCameraActivity.smali
.line 1906
.local v3, inflater:Landroid/view/LayoutInflater;
const v6, 0x7f030003
2. R$layout.smali
.field public static final editable_shortcut_helptext_dialog:I = 0x7f030003
I feel like this may help too, this is a section of AbstractCameraActivity.smali leading up to the above referenced line.
.line 1898
iget-object v6, p0, Lcom/sec/android/app/camera/AbstractCameraActivity;->mEditableShortcutHelpTextDialog:Landroid/app/AlertDialog;
if-eqz v6, :cond_6
.line 1934
:cond_5
:goto_5
return-void
.line 1901
:cond_6
const-string v6, "AbstractCameraActivity"
new-instance v7, Ljava/lang/StringBuilder;
invoke-direct {v7}, Ljava/lang/StringBuilder;-><init>()V
const-string v8, "create showEditableShortcutHelpTextDialog - "
invoke-virtual {v7, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/StringLjava/lang/StringBuilder;
move-result-object v7
invoke-virtual {p0}, Lcom/sec/android/app/camera/AbstractCameraActivity;->getCameraSettings()Lcom/sec/android/app/camera/CameraSettings;
move-result-object v8
invoke-virtual {v8}, Lcom/sec/android/app/camera/CameraSettings;->getEditableShortcutHelpTextDialog()I
move-result v8
invoke-virtual {v7, v8}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
move-result-object v7
invoke-virtual {v7}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v7
invoke-static {v6, v7}, Landroid/util/Log;->v(Ljava/lang/String;Ljava/lang/StringI
.line 1902
invoke-virtual {p0}, Lcom/sec/android/app/camera/AbstractCameraActivity;->getCameraSettings()Lcom/sec/android/app/camera/CameraSettings;
move-result-object v6
invoke-virtual {v6}, Lcom/sec/android/app/camera/CameraSettings;->getEditableShortcutHelpTextDialog()I
move-result v6
if-eq v6, v9, :cond_5
.line 1903
new-instance v1, Landroid/app/AlertDialog$Builder;
invoke-direct {v1, p0}, Landroid/app/AlertDialog$Builder;-><init>(Landroid/content/ContextV
.line 1904
.local v1, dialog:Landroid/app/AlertDialog$Builder;
invoke-virtual {p0}, Lcom/sec/android/app/camera/AbstractCameraActivity;->getLayoutInflater()Landroid/view/LayoutInflater;
move-result-object v3
.line 1906
.local v3, inflater:Landroid/view/LayoutInflater;
const v6, 0x7f030003
This explains why I was stuck in boot loop. I took a much different route than you are. Yours is better. I just took the .apk and what I thought to be the lib files for the camera and moved them into their correct locations and changed the permissions accordingly. I am on a skyrocket but that shouldnt matter, same hardware. Same hardware as the SGS3 as well. Its gotta be in the framework.
Yes, you are right, i originally tried that way, and ended up with boot loops as well. Looking through the FW files, i feel that changing the framework files on our phone to work with this apk would do more harm that good, so i began ripping files out, and redirecting them, hopefully this will be working soon.
basically i began taking files out of the framework.jar, and placing them in the apk under com/sec/android/portapp.
then changing the referenced location in all .smali files from "Lcom/sec/android/app/...." to "Lcom/sec/android/portapp/...." for the files i have replaced.
However i am now getting classnotfound exceptions for com/sec/android/app/camera/camera. but we have moved past the csc, and hardware errors.
this is probably redundant information for you, but take a look at this and see if it helps to sort some of the code out or possibly gives you an idea for how you can get the hardware to find the software.
Doesn't this app do the same function?
https://play.google.com/store/apps/details?id=com.spritefish.fastburstcamera&hl=en
because it is there
LoopDoGG79 said:
Doesn't this app do the same function?
https://play.google.com/store/apps/details?id=com.spritefish.fastburstcamera&hl=en
Click to expand...
Click to collapse
In part, yes, but the burst is not the only feature i am interested in. Fast Burst Camera is a GREAT app, and definitely delivers what it promises, i actually use it myself, and have been for quite a while. It is more about getting it ported than anything else.
why hack the s3 camera? because it is there.
check this post, i have been posting here along with some other people who have been going at this apk.
http://forum.xda-developers.com/showthread.php?p=27966792#post27966792
Decepticaons said:
this is probably redundant information for you, but take a look at this and see if it helps to sort some of the code out or possibly gives you an idea for how you can get the hardware to find the software.
Click to expand...
Click to collapse
take a look at what? am i missing something?
FuzzyMeep Two said:
take a look at what? am i missing something?
Click to expand...
Click to collapse
Yup, the link that i attached but must have accidentally deleted lol. .NM tho you are far more advanced than the info i posted
Sent from my SAMSUNG-SGH-I727 using xda app-developers app
i have also a problem if i wanna start modified samsungcamera:
PHP:
18:52:15.344 Error dalvikvm 4973 Could not find class 'com.sec.android.app.IWSpeechRecognizer.BargeInRecognizer', referenced from method com.sec.android.app.camera.Camera.onCreate
18:52:15.345 Warning dalvikvm 4973 VFY: unable to resolve new-instance 235 (Lcom/sec/android/app/IWSpeechRecognizer/BargeInRecognizer;) in Lcom/sec/android/app/camera/Camera;
18:52:15.345 Debug dalvikvm 4973 VFY: replacing opcode 0x22 at 0x0109
18:52:15.346 Info dalvikvm 4973 Could not find method com.sec.android.app.CscFeature.getInstance, referenced from method com.sec.android.app.camera.Camera.onResume
18:52:15.347 Warning dalvikvm 4973 VFY: unable to resolve static method 1016: Lcom/sec/android/app/CscFeature;.getInstance ()Lcom/sec/android/app/CscFeature;
18:52:15.347 Debug dalvikvm 4973 VFY: replacing opcode 0x71 at 0x002d
18:52:15.348 Info dalvikvm 4973 Could not find method com.sec.android.app.CscFeature.getInstance, referenced from method com.sec.android.app.camera.Camera.playCameraSound
18:52:15.348 Warning dalvikvm 4973 VFY: unable to resolve static method 1016: Lcom/sec/android/app/CscFeature;.getInstance ()Lcom/sec/android/app/CscFeature;
18:52:15.349 Debug dalvikvm 4973 VFY: replacing opcode 0x71 at 0x002d
18:52:15.349 Info dalvikvm 4973 Could not find method com.sec.android.app.IWSpeechRecognizer.BargeInRecognizer.startBargeIn, referenced from method com.sec.android.app.camera.Camera.startVoiceRecognizer
18:52:15.350 Warning dalvikvm 4973 VFY: unable to resolve virtual method 1022: Lcom/sec/android/app/IWSpeechRecognizer/BargeInRecognizer;.startBargeIn (I)V
18:52:15.350 Debug dalvikvm 4973 VFY: replacing opcode 0x6e at 0x000e
18:52:15.351 Debug dalvikvm 4973 DexOpt: unable to opt direct call 0x03fb at 0x10b in Lcom/sec/android/app/camera/Camera;.onCreate
18:52:15.351 Info dalvikvm 4973 Failed resolving Lcom/sec/android/app/camera/Camera$VoiceRecognizer; interface 236 'Lcom/sec/android/app/IWSpeechRecognizer/IWSpeechRecognizerListener;'
18:52:15.352 Warning dalvikvm 4973 Link of class 'Lcom/sec/android/app/camera/Camera$VoiceRecognizer;' failed
18:52:15.352 Debug dalvikvm 4973 DexOpt: unable to opt direct call 0x073c at 0x115 in Lcom/sec/android/app/camera/Camera;.onCreate
18:52:15.353 Info dalvikvm 4973 Could not find method android.os.IVoIPInterface$Stub.asInterface, referenced from method com.sec.android.app.camera.AbstractCameraActivity.checkCameraStartCondition_VoIPCall
18:52:15.354 Warning dalvikvm 4973 VFY: unable to resolve static method 413: Landroid/os/IVoIPInterface$Stub;.asInterface (Landroid/os/IBinder;)Landroid/os/IVoIPInterface;
18:52:15.354 Debug dalvikvm 4973 VFY: replacing opcode 0x71 at 0x0009
18:52:15.355 Info dalvikvm 4973 Could not find method com.sec.android.app.CscFeature.getInstance, referenced from method com.sec.android.app.camera.AbstractCameraActivity.onCreate
18:52:15.355 Warning dalvikvm 4973 VFY: unable to resolve static method 1016: Lcom/sec/android/app/CscFeature;.getInstance ()Lcom/sec/android/app/CscFeature;
18:52:15.356 Debug dalvikvm 4973 VFY: replacing opcode 0x71 at 0x0052
18:52:15.356 Info dalvikvm 4973 Could not find method com.sec.android.app.CscFeature.getInstance, referenced from method com.sec.android.app.camera.AbstractCameraActivity.onCreate
18:52:15.357 Warning dalvikvm 4973 VFY: unable to resolve static method 1016: Lcom/sec/android/app/CscFeature;.getInstance ()Lcom/sec/android/app/CscFeature;
18:52:15.357 Debug dalvikvm 4973 VFY: replacing opcode 0x71 at 0x0066
18:52:15.358 Info dalvikvm 4973 Could not find method com.sec.android.app.CscFeature.getInstance, referenced from method com.sec.android.app.camera.AbstractCameraActivity.onCreateDialog
18:52:15.359 Warning dalvikvm 4973 VFY: unable to resolve static method 1016: Lcom/sec/android/app/CscFeature;.getInstance ()Lcom/sec/android/app/CscFeature;
18:52:15.359 Debug dalvikvm 4973 VFY: replacing opcode 0x71 at 0x0076
18:52:15.360 Info dalvikvm 4973 Could not find method android.os.PowerManager.setAutoBrightnessLimit, referenced from method com.sec.android.app.camera.AbstractCameraActivity.onPause
18:52:15.360 Warning dalvikvm 4973 VFY: unable to resolve virtual method 446: Landroid/os/PowerManager;.setAutoBrightnessLimit (II)V
18:52:15.361 Debug dalvikvm 4973 VFY: replacing opcode 0x6e at 0x0070
18:52:15.361 Info dalvikvm 4973 Could not find method android.os.PowerManager.setAutoBrightnessLimit, referenced from method com.sec.android.app.camera.AbstractCameraActivity.onResume
18:52:15.362 Warning dalvikvm 4973 VFY: unable to resolve virtual method 446: Landroid/os/PowerManager;.setAutoBrightnessLimit (II)V
18:52:15.362 Debug dalvikvm 4973 VFY: replacing opcode 0x6e at 0x0084
18:52:15.363 Info dalvikvm 4973 Could not find method com.sec.android.app.CscFeature.getInstance, referenced from method com.sec.android.app.camera.MenuDimController.refreshButtonDim
18:52:15.363 Warning dalvikvm 4973 VFY: unable to resolve static method 1016: Lcom/sec/android/app/CscFeature;.getInstance ()Lcom/sec/android/app/CscFeature;
18:52:15.364 Debug dalvikvm 4973 VFY: replacing opcode 0x71 at 0x05b0
18:52:15.364 Info dalvikvm 4973 Could not find method com.sec.android.app.CscFeature.getInstance, referenced from method com.sec.android.app.camera.MenuDimController.refreshButtonDim
18:52:15.365 Warning dalvikvm 4973 VFY: unable to resolve static method 1016: Lcom/sec/android/app/CscFeature;.getInstance ()Lcom/sec/android/app/CscFeature;
18:52:15.366 Debug dalvikvm 4973 VFY: replacing opcode 0x71 at 0x05ee
18:52:15.479 Info dalvikvm 4973 Could not find method com.sec.android.app.CscFeature.getInstance, referenced from method com.sec.android.app.camera.MenuDimController.setSettingDefault
18:52:15.480 Warning dalvikvm 4973 VFY: unable to resolve static method 1016: Lcom/sec/android/app/CscFeature;.getInstance ()Lcom/sec/android/app/CscFeature;
18:52:15.480 Debug dalvikvm 4973 VFY: replacing opcode 0x71 at 0x0068
18:52:15.481 Info dalvikvm 4973 Could not find method com.sec.android.app.CscFeature.getInstance, referenced from method com.sec.android.app.camera.CameraSettings.resetCamcorderLocalSettings
18:52:15.481 Warning dalvikvm 4973 VFY: unable to resolve static method 1016: Lcom/sec/android/app/CscFeature;.getInstance ()Lcom/sec/android/app/CscFeature;
18:52:15.482 Debug dalvikvm 4973 VFY: replacing opcode 0x71 at 0x006d
18:52:15.483 Info dalvikvm 4973 Could not find method com.sec.android.app.CscFeature.getInstance, referenced from method com.sec.android.app.camera.CameraSettings.resetCameraGlobalSettings
18:52:15.483 Warning dalvikvm 4973 VFY: unable to resolve static method 1016: Lcom/sec/android/app/CscFeature;.getInstance ()Lcom/sec/android/app/CscFeature;
18:52:15.484 Debug dalvikvm 4973 VFY: replacing opcode 0x71 at 0x000f
18:52:15.484 Info dalvikvm 4973 Could not find method com.sec.android.app.CscFeature.getInstance, referenced from method com.sec.android.app.camera.CameraSettings.resetCameraLocalSettings
18:52:15.485 Warning dalvikvm 4973 VFY: unable to resolve static method 1016: Lcom/sec/android/app/CscFeature;.getInstance ()Lcom/sec/android/app/CscFeature;
18:52:15.485 Debug dalvikvm 4973 VFY: replacing opcode 0x71 at 0x0070
18:52:15.486 Info dalvikvm 4973 Could not find method com.sec.android.app.CscFeature.getInstance, referenced from method com.sec.android.app.camera.CameraSettings.resetCommonGlobalSettings
18:52:15.486 Warning dalvikvm 4973 VFY: unable to resolve static method 1016: Lcom/sec/android/app/CscFeature;.getInstance ()Lcom/sec/android/app/CscFeature;
18:52:15.487 Debug dalvikvm 4973 VFY: replacing opcode 0x71 at 0x0004
18:52:15.487 Info dalvikvm 4973 Could not find method com.sec.android.app.CscFeature.getInstance, referenced from method com.sec.android.app.camera.CameraSettings.getAntiBanding
18:52:15.488 Warning dalvikvm 4973 VFY: unable to resolve static method 1016: Lcom/sec/android/app/CscFeature;.getInstance ()Lcom/sec/android/app/CscFeature;
18:52:15.488 Debug dalvikvm 4973 VFY: replacing opcode 0x71 at 0x0018
18:52:15.489 Info dalvikvm 4973 Could not find method com.sec.android.app.CscFeature.getInstance, referenced from method com.sec.android.app.camera.CameraSettings.getCamcorderVideoDurationInMS
18:52:15.490 Warning dalvikvm 4973 VFY: unable to resolve static method 1016: Lcom/sec/android/app/CscFeature;.getInstance ()Lcom/sec/android/app/CscFeature;
18:52:15.490 Debug dalvikvm 4973 VFY: replacing opcode 0x71 at 0x000b
18:52:15.491 Info dalvikvm 4973 Could not find method com.sec.android.app.CscFeature.getInstance, referenced from method com.sec.android.app.camera.CameraSettings.getMaxRecordingSize
18:52:15.491 Warning dalvikvm 4973 VFY: unable to resolve static method 1016: Lcom/sec/android/app/CscFeature;.getInstance ()Lcom/sec/android/app/CscFeature;
18:52:15.492 Debug dalvikvm 4973 VFY: replacing opcode 0x71 at 0x0008
18:52:15.492 Info dalvikvm 4973 Could not find method com.sec.android.app.CscFeature.getInstance, referenced from method com.sec.android.app.camera.CameraSettings.getRequestedRecordingSize
18:52:15.493 Warning dalvikvm 4973 VFY: unable to resolve static method 1016: Lcom/sec/android/app/CscFeature;.getInstance ()Lcom/sec/android/app/CscFeature;
18:52:15.493 Debug dalvikvm 4973 VFY: replacing opcode 0x71 at 0x0013
18:52:15.494 Info dalvikvm 4973 Could not find method com.sec.android.app.CscFeature.getInstance, referenced from method com.sec.android.app.camera.CameraSettings.setDefaultCamcorderEditableShortcutOrder
18:52:15.495 Warning dalvikvm 4973 VFY: unable to resolve static method 1016: Lcom/sec/android/app/CscFeature;.getInstance ()Lcom/sec/android/app/CscFeature;
18:52:15.495 Debug dalvikvm 4973 VFY: replacing opcode 0x71 at 0x0002
18:52:15.496 Info dalvikvm 4973 Could not find method com.sec.android.app.CscFeature.getInstance, referenced from method com.sec.android.app.camera.CameraSettings.setDefaultCamcorderSideMenuOrder
18:52:15.496 Warning dalvikvm 4973 VFY: unable to resolve static method 1016: Lcom/sec/android/app/CscFeature;.getInstance ()Lcom/sec/android/app/CscFeature;
18:52:15.497 Debug dalvikvm 4973 VFY: replacing opcode 0x71 at 0x0003
18:52:15.497 Info dalvikvm 4973 Could not find method com.sec.android.app.CscFeature.getInstance, referenced from method com.sec.android.app.camera.CameraSettings.setDefaultCameraEditableShortcutOrder
18:52:15.498 Warning dalvikvm 4973 VFY: unable to resolve static method 1016: Lcom/sec/android/app/CscFeature;.getInstance ()Lcom/sec/android/app/CscFeature;
18:52:15.498 Debug dalvikvm 4973 VFY: replacing opcode 0x71 at 0x0002
18:52:15.499 Info dalvikvm 4973 Could not find method com.sec.android.app.CscFeature.getInstance, referenced from method com.sec.android.app.camera.CameraSettings.setDefaultCameraSideMenuOrder
18:52:15.500 Warning dalvikvm 4973 VFY: unable to resolve static method 1016: Lcom/sec/android/app/CscFeature;.getInstance ()Lcom/sec/android/app/CscFeature;
18:52:15.500 Debug dalvikvm 4973 VFY: replacing opcode 0x71 at 0x0003
18:52:15.501 Info dalvikvm 4973 Could not find method com.sec.android.app.CscFeature.getInstance, referenced from method com.sec.android.app.camera.Camera$2.onReceive
18:52:15.501 Warning dalvikvm 4973 VFY: unable to resolve static method 1016: Lcom/sec/android/app/CscFeature;.getInstance ()Lcom/sec/android/app/CscFeature;
18:52:15.502 Debug dalvikvm 4973 VFY: replacing opcode 0x71 at 0x00a9
18:52:15.502 Verbose AbstractCameraActivity 4973 onCreate
18:52:15.503 Debug AndroidRuntime 4973 Shutting down VM
18:52:15.503 Warning dalvikvm 4973 threadid=1: thread exiting with uncaught exception (group=0x40a4d1f8)
18:52:15.504 Error AndroidRuntime 4973 FATAL EXCEPTION: main
18:52:15.504 Error AndroidRuntime 4973 java.lang.NoClassDefFoundError: com.sec.android.app.CscFeature
18:52:15.505 Error AndroidRuntime 4973 at com.sec.android.app.camera.AbstractCameraActivity.onCreate(AbstractCameraActivity.java:1025)
18:52:15.506 Error AndroidRuntime 4973 at com.sec.android.app.camera.Camera.onCreate(Camera.java:712)
18:52:15.506 Error AndroidRuntime 4973 at android.app.Activity.performCreate(Activity.java:4465)
18:52:15.507 Error AndroidRuntime 4973 at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1049)
18:52:15.508 Error AndroidRuntime 4973 at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2033)
18:52:15.508 Error AndroidRuntime 4973 at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2104)
18:52:15.509 Error AndroidRuntime 4973 at android.app.ActivityThread.access$600(ActivityThread.java:132)
18:52:15.509 Error AndroidRuntime 4973 at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1157)
18:52:15.510 Error AndroidRuntime 4973 at android.os.Handler.dispatchMessage(Handler.java:99)
18:52:15.510 Error AndroidRuntime 4973 at android.os.Looper.loop(Looper.java:137)
18:52:15.511 Error AndroidRuntime 4973 at android.app.ActivityThread.main(ActivityThread.java:4575)
18:52:15.511 Error AndroidRuntime 4973 at java.lang.reflect.Method.invokeNative(Native Method)
18:52:15.512 Error AndroidRuntime 4973 at java.lang.reflect.Method.invoke(Method.java:511)
18:52:15.512 Error AndroidRuntime 4973 at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:789)
18:52:15.513 Error AndroidRuntime 4973 at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:556)
18:52:15.514 Error AndroidRuntime 4973 at dalvik.system.NativeStart.main(Native Method)
18:52:15.514 Warning ActivityManager 2055 Force finishing activity com.sec.android.app.camera/.Camera
18:52:15.631 Info Process 2055 Sending signal. PID: 4973 SIG: 3
18:52:15.631 Info dalvikvm 4973 threadid=3: reacting to signal 3
any solution? or need more infos? thx in advance
Kiray1982 said:
i have also a problem if i wanna start modified samsungcamera:
Click to expand...
Click to collapse
Tjis is a Java CLASS NOT FOUND error... lets fix it.
So, i am assuming by modified, you mean you have added the smali files to the apk from the framework files.
At this point, to bypass this error,do the following
1. open your project in eclipse.
2. select your project and open the AndroidManifest.xml in Eclipse.
3. click on the application tab (near the bottom of the manifest window that just opened.
4.collapse "application Toggles" and "Application Attributes" sections
5. you will see a list of items each preceded with either an "R" or an "A"
6. click the first of these items.
7.to the right of the item, you will see the word "name" in blue, followed by the name of the node you selected. You should notice a small red "X" before the name.
8. Click the word "name"
9. a windows will pop up to create a new java class, press finish. (you can close and save the file it creates.)
10. Repeat for each item. (note not needed for "uses library" items.)
thx, this works great, some other java-errors are shown...
but after starting the app, it fc's
Code:
20:51:56.900 Info ActivityManager 2060 START {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.sec.android.app.camera/.Camera bnds=[291,871][428,1005]} from pid 2363
20:51:57.025 Debug dalvikvm 3756 Late-enabling CheckJNI
20:51:57.025 Info ActivityManager 2060 Start proc com.sec.android.app.camera for activity com.sec.android.app.camera/.Camera: pid=3756 uid=10110 gids={1006, 1015, 3003}
20:51:57.025 Info InputReader 2060 Reconfiguring input devices. changes=0x00000004
20:51:57.025 Info InputReader 2060 Device reconfigured: id=11, name='sec_touchscreen', surface size is now 720x1280, mode is 1
20:51:57.025 Debug dalvikvm 1912 GC_EXPLICIT freed 39K, 83% free 2184K/12288K, paused 7ms+8ms
20:51:57.129 Info ActivityManager 2060 Config changed: {1.0 262mcc7mnc de_DE layoutdir=0 sw360dp w640dp h335dp nrml long land finger -keyb/v/h -nav/h s.14 themeResource=null}
20:51:57.130 Debug OpenGLRenderer 2168 Flushing caches (mode 0)
20:51:57.131 Debug dalvikvm 1912 GC_EXPLICIT freed <1K, 83% free 2184K/12288K, paused 1ms+10ms
20:51:57.131 Debug OpenGLRenderer 2363 Flushing caches (mode 0)
20:51:57.132 Debug OpenGLRenderer 2363 Flushing caches (mode 0)
20:51:57.132 Debug dalvikvm 1912 GC_EXPLICIT freed <1K, 83% free 2184K/12288K, paused 1ms+2ms
20:51:57.133 Debug UpdateService 2600 rotation (new config = {1.0 262mcc7mnc de_DE layoutdir=0 sw360dp w640dp h335dp nrml long land finger -keyb/v/h -nav/h s.14 themeResource=null})
20:51:57.134 Debug OpenGLRenderer 2363 Flushing caches (mode 1)
20:51:57.134 Debug AndroidRuntime 3756 Shutting down VM
20:51:57.255 Warning dalvikvm 3756 threadid=1: thread exiting with uncaught exception (group=0x40a501f8)
20:51:57.255 Error AndroidRuntime 3756 FATAL EXCEPTION: main
20:51:57.256 Error AndroidRuntime 3756 java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.sec.android.app.camera/com.sec.android.app.camera.Camera}: java.lang.ClassNotFoundException: com.sec.android.app.camera.Camera
20:51:57.256 Error AndroidRuntime 3756 at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1993)
20:51:57.256 Error AndroidRuntime 3756 at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2104)
20:51:57.256 Error AndroidRuntime 3756 at android.app.ActivityThread.access$600(ActivityThread.java:132)
20:51:57.257 Error AndroidRuntime 3756 at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1157)
20:51:57.257 Error AndroidRuntime 3756 at android.os.Handler.dispatchMessage(Handler.java:99)
20:51:57.257 Error AndroidRuntime 3756 at android.os.Looper.loop(Looper.java:137)
20:51:57.257 Error AndroidRuntime 3756 at android.app.ActivityThread.main(ActivityThread.java:4575)
20:51:57.258 Error AndroidRuntime 3756 at java.lang.reflect.Method.invokeNative(Native Method)
20:51:57.258 Error AndroidRuntime 3756 at java.lang.reflect.Method.invoke(Method.java:511)
20:51:57.258 Error AndroidRuntime 3756 at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:789)
20:51:57.258 Error AndroidRuntime 3756 at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:556)
20:51:57.259 Error AndroidRuntime 3756 at dalvik.system.NativeStart.main(Native Method)
20:51:57.259 Error AndroidRuntime 3756 Caused by: java.lang.ClassNotFoundException: com.sec.android.app.camera.Camera
20:51:57.259 Error AndroidRuntime 3756 at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:61)
20:51:57.260 Error AndroidRuntime 3756 at java.lang.ClassLoader.loadClass(ClassLoader.java:501)
20:51:57.260 Error AndroidRuntime 3756 at java.lang.ClassLoader.loadClass(ClassLoader.java:461)
20:51:57.260 Error AndroidRuntime 3756 at android.app.Instrumentation.newActivity(Instrumentation.java:1023)
20:51:57.260 Error AndroidRuntime 3756 at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1984)
20:51:57.261 Error AndroidRuntime 3756 ... 11 more
20:51:57.261 Warning ActivityManager 2060 Force finishing activity com.sec.android.app.camera/.Camera
20:51:57.261 Error TouchTypeSoftKeyboard 2315 Could not check for split layout
20:51:57.363 Info PowerWidget 2168 Clearing any old widget stuffs
20:51:57.364 Info PowerWidget 2168 Setting up widget
20:51:57.365 Info PowerWidget 2168 Button list: toggleWifi|toggleMobileData|toggleNetworkMode|toggleSound|toggleFlashlight|toggleAutoRotate
20:51:57.365 Info PowerWidget 2168 Setting up button: toggleWifi
20:51:57.366 Info PowerWidget 2168 Setting up button: toggleMobileData
20:51:57.367 Info PowerWidget 2168 Setting up button: toggleNetworkMode
20:51:57.367 Info PowerWidget 2168 Setting up button: toggleSound
20:51:57.368 Info PowerWidget 2168 Setting up button: toggleFlashlight
20:51:57.368 Info PowerWidget 2168 Setting up button: toggleAutoRotate
20:51:57.489 Info InputReader 2060 Reconfiguring input devices. changes=0x00000004
20:51:57.490 Info InputReader 2060 Device reconfigured: id=11, name='sec_touchscreen', surface size is now 720x1280, mode is 1
20:51:57.613 Info ActivityManager 2060 Config changed: {1.0 262mcc7mnc de_DE layoutdir=0 sw360dp w360dp h615dp nrml long port finger -keyb/v/h -nav/h s.15 themeResource=null}
20:51:57.614 Debug OpenGLRenderer 2168 Flushing caches (mode 0)
20:51:57.615 Info Process 2060 Sending signal. PID: 3756 SIG: 3
20:51:57.616 Info dalvikvm 3756 threadid=3: reacting to signal 3
20:51:57.616 Info dalvikvm 3756 Wrote stack traces to '/data/anr/traces.txt'
20:51:57.617 Debug UpdateService 2600 rotation (new config = {1.0 262mcc7mnc de_DE layoutdir=0 sw360dp w360dp h615dp nrml long port finger -keyb/v/h -nav/h s.15 themeResource=null})
20:51:57.617 Info PowerWidget 2168 Clearing any old widget stuffs
20:51:57.618 Info PowerWidget 2168 Setting up widget
20:51:57.619 Info PowerWidget 2168 Button list: toggleWifi|toggleMobileData|toggleNetworkMode|toggleSound|toggleFlashlight|toggleAutoRotate
20:51:57.619 Info PowerWidget 2168 Setting up button: toggleWifi
20:51:57.620 Info PowerWidget 2168 Setting up button: toggleMobileData
20:51:57.621 Info PowerWidget 2168 Setting up button: toggleNetworkMode
20:51:57.621 Info PowerWidget 2168 Setting up button: toggleSound
20:51:57.622 Error TouchTypeSoftKeyboard 2315 Could not check for split layout
20:51:57.623 Info PowerWidget 2168 Setting up button: toggleFlashlight
20:51:57.623 Info PowerWidget 2168 Setting up button: toggleAutoRotate
20:51:57.737 Warning ActivityManager 2060 Activity pause timeout for ActivityRecord{413094a8 com.sec.android.app.camera/.Camera}
20:51:57.738 Info Process 2060 Sending signal. PID: 3756 SIG: 3
20:51:57.739 Info dalvikvm 3756 threadid=3: reacting to signal 3
20:51:57.739 Info dalvikvm 3756 Wrote stack traces to '/data/anr/traces.txt'
20:51:58.626 Info Process 3756 Sending signal. PID: 3756 SIG: 9
20:51:58.627 Info ActivityManager 2060 Process com.sec.android.app.camera (pid 3756) has died.
Awesome work guys! Its all meaningless code stuff to me but keep up the good work were pullin for ya! (Also bump for interest!)
Ditto. Hope you guys can get it to work..
Sent from my SGH-T989 using xda app-developers app
Kiray1982 said:
thx, this works great, some other java-errors are shown...
but after starting the app, it fc's
Code:
20:51:56.900 Info ActivityManager 2060 START {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.sec.android.app.camera/.Camera bnds=[291,871][428,1005]} from pid 2363
20:51:57.025 Debug dalvikvm 3756 Late-enabling CheckJNI
20:51:57.025 Info ActivityManager 2060 Start proc com.sec.android.app.camera for activity com.sec.android.app.camera/.Camera: pid=3756 uid=10110 gids={1006, 1015, 3003}
20:51:57.025 Info InputReader 2060 Reconfiguring input devices. changes=0x00000004
20:51:57.025 Info InputReader 2060 Device reconfigured: id=11, name='sec_touchscreen', surface size is now 720x1280, mode is 1
20:51:57.025 Debug dalvikvm 1912 GC_EXPLICIT freed 39K, 83% free 2184K/12288K, paused 7ms+8ms
20:51:57.129 Info ActivityManager 2060 Config changed: {1.0 262mcc7mnc de_DE layoutdir=0 sw360dp w640dp h335dp nrml long land finger -keyb/v/h -nav/h s.14 themeResource=null}
20:51:57.130 Debug OpenGLRenderer 2168 Flushing caches (mode 0)
20:51:57.131 Debug dalvikvm 1912 GC_EXPLICIT freed <1K, 83% free 2184K/12288K, paused 1ms+10ms
20:51:57.131 Debug OpenGLRenderer 2363 Flushing caches (mode 0)
20:51:57.132 Debug OpenGLRenderer 2363 Flushing caches (mode 0)
20:51:57.132 Debug dalvikvm 1912 GC_EXPLICIT freed <1K, 83% free 2184K/12288K, paused 1ms+2ms
20:51:57.133 Debug UpdateService 2600 rotation (new config = {1.0 262mcc7mnc de_DE layoutdir=0 sw360dp w640dp h335dp nrml long land finger -keyb/v/h -nav/h s.14 themeResource=null})
20:51:57.134 Debug OpenGLRenderer 2363 Flushing caches (mode 1)
20:51:57.134 Debug AndroidRuntime 3756 Shutting down VM
20:51:57.255 Warning dalvikvm 3756 threadid=1: thread exiting with uncaught exception (group=0x40a501f8)
20:51:57.255 Error AndroidRuntime 3756 FATAL EXCEPTION: main
20:51:57.256 Error AndroidRuntime 3756 java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.sec.android.app.camera/com.sec.android.app.camera.Camera}: java.lang.ClassNotFoundException: com.sec.android.app.camera.Camera
20:51:57.256 Error AndroidRuntime 3756 at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1993)
20:51:57.256 Error AndroidRuntime 3756 at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2104)
20:51:57.256 Error AndroidRuntime 3756 at android.app.ActivityThread.access$600(ActivityThread.java:132)
20:51:57.257 Error AndroidRuntime 3756 at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1157)
20:51:57.257 Error AndroidRuntime 3756 at android.os.Handler.dispatchMessage(Handler.java:99)
20:51:57.257 Error AndroidRuntime 3756 at android.os.Looper.loop(Looper.java:137)
20:51:57.257 Error AndroidRuntime 3756 at android.app.ActivityThread.main(ActivityThread.java:4575)
20:51:57.258 Error AndroidRuntime 3756 at java.lang.reflect.Method.invokeNative(Native Method)
20:51:57.258 Error AndroidRuntime 3756 at java.lang.reflect.Method.invoke(Method.java:511)
20:51:57.258 Error AndroidRuntime 3756 at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:789)
20:51:57.258 Error AndroidRuntime 3756 at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:556)
20:51:57.259 Error AndroidRuntime 3756 at dalvik.system.NativeStart.main(Native Method)
20:51:57.259 Error AndroidRuntime 3756 Caused by: java.lang.ClassNotFoundException: com.sec.android.app.camera.Camera
20:51:57.259 Error AndroidRuntime 3756 at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:61)
20:51:57.260 Error AndroidRuntime 3756 at java.lang.ClassLoader.loadClass(ClassLoader.java:501)
20:51:57.260 Error AndroidRuntime 3756 at java.lang.ClassLoader.loadClass(ClassLoader.java:461)
20:51:57.260 Error AndroidRuntime 3756 at android.app.Instrumentation.newActivity(Instrumentation.java:1023)
20:51:57.260 Error AndroidRuntime 3756 at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1984)
20:51:57.261 Error AndroidRuntime 3756 ... 11 more
20:51:57.261 Warning ActivityManager 2060 Force finishing activity com.sec.android.app.camera/.Camera
20:51:57.261 Error TouchTypeSoftKeyboard 2315 Could not check for split layout
20:51:57.363 Info PowerWidget 2168 Clearing any old widget stuffs
20:51:57.364 Info PowerWidget 2168 Setting up widget
20:51:57.365 Info PowerWidget 2168 Button list: toggleWifi|toggleMobileData|toggleNetworkMode|toggleSound|toggleFlashlight|toggleAutoRotate
20:51:57.365 Info PowerWidget 2168 Setting up button: toggleWifi
20:51:57.366 Info PowerWidget 2168 Setting up button: toggleMobileData
20:51:57.367 Info PowerWidget 2168 Setting up button: toggleNetworkMode
20:51:57.367 Info PowerWidget 2168 Setting up button: toggleSound
20:51:57.368 Info PowerWidget 2168 Setting up button: toggleFlashlight
20:51:57.368 Info PowerWidget 2168 Setting up button: toggleAutoRotate
20:51:57.489 Info InputReader 2060 Reconfiguring input devices. changes=0x00000004
20:51:57.490 Info InputReader 2060 Device reconfigured: id=11, name='sec_touchscreen', surface size is now 720x1280, mode is 1
20:51:57.613 Info ActivityManager 2060 Config changed: {1.0 262mcc7mnc de_DE layoutdir=0 sw360dp w360dp h615dp nrml long port finger -keyb/v/h -nav/h s.15 themeResource=null}
20:51:57.614 Debug OpenGLRenderer 2168 Flushing caches (mode 0)
20:51:57.615 Info Process 2060 Sending signal. PID: 3756 SIG: 3
20:51:57.616 Info dalvikvm 3756 threadid=3: reacting to signal 3
20:51:57.616 Info dalvikvm 3756 Wrote stack traces to '/data/anr/traces.txt'
20:51:57.617 Debug UpdateService 2600 rotation (new config = {1.0 262mcc7mnc de_DE layoutdir=0 sw360dp w360dp h615dp nrml long port finger -keyb/v/h -nav/h s.15 themeResource=null})
20:51:57.617 Info PowerWidget 2168 Clearing any old widget stuffs
20:51:57.618 Info PowerWidget 2168 Setting up widget
20:51:57.619 Info PowerWidget 2168 Button list: toggleWifi|toggleMobileData|toggleNetworkMode|toggleSound|toggleFlashlight|toggleAutoRotate
20:51:57.619 Info PowerWidget 2168 Setting up button: toggleWifi
20:51:57.620 Info PowerWidget 2168 Setting up button: toggleMobileData
20:51:57.621 Info PowerWidget 2168 Setting up button: toggleNetworkMode
20:51:57.621 Info PowerWidget 2168 Setting up button: toggleSound
20:51:57.622 Error TouchTypeSoftKeyboard 2315 Could not check for split layout
20:51:57.623 Info PowerWidget 2168 Setting up button: toggleFlashlight
20:51:57.623 Info PowerWidget 2168 Setting up button: toggleAutoRotate
20:51:57.737 Warning ActivityManager 2060 Activity pause timeout for ActivityRecord{413094a8 com.sec.android.app.camera/.Camera}
20:51:57.738 Info Process 2060 Sending signal. PID: 3756 SIG: 3
20:51:57.739 Info dalvikvm 3756 threadid=3: reacting to signal 3
20:51:57.739 Info dalvikvm 3756 Wrote stack traces to '/data/anr/traces.txt'
20:51:58.626 Info Process 3756 Sending signal. PID: 3756 SIG: 9
20:51:58.627 Info ActivityManager 2060 Process com.sec.android.app.camera (pid 3756) has died.
Click to expand...
Click to collapse
Are you still working on a port to the sgs2 ?
Another question: on which android version did you try to run the app ?

Categories

Resources