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?
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.
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.
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 ?