[Q] Help!about system.img unpack - Android Q&A, Help & Troubleshooting

first:
Code:
D:\img>unyaffs.exe system.img
3 [main] unyaffs 672 handle_exceptions: Exception: STATUS_ACCESS_VIOLATION
1681 [main] unyaffs 672 open_stackdumpfile: Dumping stack trace to unyaffs.ex
e.stackdump
second,open the unyaffs.exe.stackdump file:
Code:
Exception: STATUS_ACCESS_VIOLATION at eip=610C5A41
eax=00000000 ebx=00000000 ecx=FFFFFFFF edx=0202A50F esi=0040130E edi=0202A50F
ebp=0022EE78 esp=0022EE74 program=D:\img\unyaffs.exe, pid 672, thread main
cs=001B ds=0023 es=0023 fs=003B gs=0000 ss=0023
Stack trace:
Frame Function Args
0022EE78 610C5A41 (0202A50F, 0040DC70, 00000200, 00000003)
0022EEB8 004010BF (0022EF1D, 00000000, 00000000, 00401333)
0022EEE8 004013AF (00000002, 006B01C0, 006B0090, 610A5E22)
0022EFD8 61004DD2 (0022EFF0, 0022F03C, 0022EFF0, 002310C4)
0022FF88 6100594F (00000000, 00000000, 00000000, 00000000)
End of stack trac
what's going on? Thanks~also give me a tip about analysis this code.

Related

[PROBLEM] extracting of new ICS .ftf

While i'm extracting a new system.sin from Nordic ICS ftf i have this problem:
Code:
1 [main] unyaffs 1088 exception::handle: Exception: STATUS_ACCESS_VIOLATION
835 [main] unyaffs 1088 open_stackdumpfile: Dumping stack trace to unyaffs.exe.stackdump
in stackdump is:
Code:
Exception: STATUS_ACCESS_VIOLATION at eip=004010B0
eax=9207DAAB ebx=00000084 ecx=00004800 edx=00C5147A esi=0028CD34 edi=61179FC3
ebp=0028CCD8 esp=0028CCA0 program=C:\Users\Lukasz\Desktop\Xperia Neo\ftf_extractor\unyaffs.exe, pid 7988, thread main
cs=0023 ds=002B es=002B fs=0053 gs=002B ss=002B
Stack trace:
Frame Function Args
0028CCD8 004010B0 (00C51420, 00000000, 612058E8, 00401333)
0028CD08 004013AF (00000002, 00C383C0, 00C38290, 00000001)
0028CD68 61006CD3 (00000000, 0028CDA4, 61006570, 7EFDE000)
End of stack trace
What's going on? system.sin from old Gingerbread is extracting fine

help!about system img unpack~fail

first:
Code:
D:\img>unyaffs.exe system.img
3 [main] unyaffs 672 handle_exceptions: Exception: STATUS_ACCESS_VIOLATION
1681 [main] unyaffs 672 open_stackdumpfile: Dumping stack trace to unyaffs.ex
e.stackdump
second,open the unyaffs.exe.stackdump file:
Code:
Exception: STATUS_ACCESS_VIOLATION at eip=610C5A41
eax=00000000 ebx=00000000 ecx=FFFFFFFF edx=0202A50F esi=0040130E edi=0202A50F
ebp=0022EE78 esp=0022EE74 program=D:\img\unyaffs.exe, pid 672, thread main
cs=001B ds=0023 es=0023 fs=003B gs=0000 ss=0023
Stack trace:
Frame Function Args
0022EE78 610C5A41 (0202A50F, 0040DC70, 00000200, 00000003)
0022EEB8 004010BF (0022EF1D, 00000000, 00000000, 00401333)
0022EEE8 004013AF (00000002, 006B01C0, 006B0090, 610A5E22)
0022EFD8 61004DD2 (0022EFF0, 0022F03C, 0022EFF0, 002310C4)
0022FF88 6100594F (00000000, 00000000, 00000000, 00000000)
End of stack trac
what's going on? Thanks~also give me a tip about analysis this code.
Probably it's an ext4 file system.
Check the following:
http://forum.xda-developers.com/showthread.php?t=1667081
noaighost said:
first:
Code:
D:\img>unyaffs.exe system.img
3 [main] unyaffs 672 handle_exceptions: Exception: STATUS_ACCESS_VIOLATION
1681 [main] unyaffs 672 open_stackdumpfile: Dumping stack trace to unyaffs.ex
e.stackdump
second,open the unyaffs.exe.stackdump file:
Code:
Exception: STATUS_ACCESS_VIOLATION at eip=610C5A41
eax=00000000 ebx=00000000 ecx=FFFFFFFF edx=0202A50F esi=0040130E edi=0202A50F
ebp=0022EE78 esp=0022EE74 program=D:\img\unyaffs.exe, pid 672, thread main
cs=001B ds=0023 es=0023 fs=003B gs=0000 ss=0023
Stack trace:
Frame Function Args
0022EE78 610C5A41 (0202A50F, 0040DC70, 00000200, 00000003)
0022EEB8 004010BF (0022EF1D, 00000000, 00000000, 00401333)
0022EEE8 004013AF (00000002, 006B01C0, 006B0090, 610A5E22)
0022EFD8 61004DD2 (0022EFF0, 0022F03C, 0022EFF0, 002310C4)
0022FF88 6100594F (00000000, 00000000, 00000000, 00000000)
End of stack trac
what's going on? Thanks~also give me a tip about analysis this code.
Click to expand...
Click to collapse

[Q] Netflix/HBO/DRM protected content not playing

Hi,
I've been struggling to get Netflix and HBO Nordic working on my Galaxy S2 running Cyanogenmod 10.1 nightlies. I've tried Netflix 2.1.1 and 1.8.1, and a modded HBO 1.0 app bypassing the root check.
Here are some logcat (*:W) excerpts from the different apps.
HBO Nordic app, force closes upon pressing play:
Code:
W/AudioService( 2198): RemoteControlClient died
F/libc (26548): Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1), thread 26548 (drmserver)
W/DrmManagerClientImpl(Native)(26554): DrmManager server died!
E/WVMExtractor(28011): Drm manager failed to initialize.
E/MediaPlayer(26554): error (1, -2147483648)
E/MediaPlayer(26554): Error (1,-2147483648)
W/dalvikvm(26554): threadid=1: thread exiting with uncaught exception (group=0x40f2f930)
E/AndroidRuntime(26554): FATAL EXCEPTION: main
E/AndroidRuntime(26554): java.lang.NullPointerException
E/AndroidRuntime(26554): at com.hbo.android.app.activity.VideoActivity.finishWithError(VideoActivity.java:240)
E/AndroidRuntime(26554): at com.hbo.android.app.activity.VideoActivity.access$2(VideoActivity.java:236)
E/AndroidRuntime(26554): at com.hbo.android.app.activity.VideoActivity$2.onMediaPlayerError(VideoActivity.java:108)
E/AndroidRuntime(26554): at com.hbo.android.app.widget.video.player.PlayerBase.onError(PlayerBase.java:425)
E/AndroidRuntime(26554): at com.hbo.android.app.widget.video.player.internal.BaseVideoView$4.onError(BaseVideoView.java:372)
E/AndroidRuntime(26554): at android.media.MediaPlayer$EventHandler.handleMessage(MediaPlayer.java:2003)
E/AndroidRuntime(26554): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime(26554): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime(26554): at android.app.ActivityThread.main(ActivityThread.java:5191)
E/AndroidRuntime(26554): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime(26554): at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime(26554): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:795)
E/AndroidRuntime(26554): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:562)
E/AndroidRuntime(26554): at dalvik.system.NativeStart.main(Native Method)
W/ActivityManager( 2198): Force finishing activity com.hbo.android.app/.activity.VideoActivity
W/ActivityManager( 2198): Activity pause timeout for ActivityRecord{41d77aa8 u0 com.hbo.android.app/.activity.VideoActivity}
W/InputDispatcher( 2198): channel '419febd8 com.hbo.android.app/com.hbo.android.app.activity.MainActivity (server)' ~ Consumer closed input channel or an error occurred. events=0x9
E/InputDispatcher( 2198): channel '419febd8 com.hbo.android.app/com.hbo.android.app.activity.MainActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
W/InputDispatcher( 2198): channel '41938168 com.hbo.android.app/com.hbo.android.app.activity.VideoActivity (server)' ~ Consumer closed input channel or an error occurred. events=0x9
E/InputDispatcher( 2198): channel '41938168 com.hbo.android.app/com.hbo.android.app.activity.VideoActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
W/InputDispatcher( 2198): Attempted to unregister already unregistered input channel '419febd8 com.hbo.android.app/com.hbo.android.app.activity.MainActivity (server)'
W/InputDispatcher( 2198): Attempted to unregister already unregistered input channel '41938168 com.hbo.android.app/com.hbo.android.app.activity.VideoActivity (server)'
E/Trace (28321): error opening trace file: No such file or directory (2)
E/Trace (28356): error opening trace file: No such file or directory (2)
Netflix 1.8.1, plays sound and shows subtitles, but no video:
Code:
W/ActivityManager( 2198): Scheduling restart of crashed service com.teamhacksung.tvout/.TvOutService in 5000ms
W/libc (27869): pthread_create sched_setscheduler call failed: Operation not permitted
W/libc (27869): pthread_create sched_setscheduler call failed: Operation not permitted
W/libc (27869): pthread_create sched_setscheduler call failed: Operation not permitted
W/libc (27869): pthread_create sched_setscheduler call failed: Operation not permitted
W/libc (27869): pthread_create sched_setscheduler call failed: Operation not permitted
W/libc (27869): pthread_create sched_setscheduler call failed: Operation not permitted
E/Trace (28011): error opening trace file: No such file or directory (2)
E/SEC_COMP_REGS(28011): .
E/SEC_COMP_REGS(28011): ..
E/SEC_COMP_REGS(28011): libOMX.SEC.AVC.Decoder.so
E/SEC_COMP_REGS(28011): Path & libName : /system/lib/omx/libOMX.SEC.AVC.Decoder.so
E/SEC_COMP_REGS(28011): libOMX.SEC.AVC.Encoder.so
E/SEC_COMP_REGS(28011): Path & libName : /system/lib/omx/libOMX.SEC.AVC.Encoder.so
E/SEC_COMP_REGS(28011): libOMX.SEC.M4V.Decoder.so
E/SEC_COMP_REGS(28011): Path & libName : /system/lib/omx/libOMX.SEC.M4V.Decoder.so
E/SEC_COMP_REGS(28011): libOMX.SEC.M4V.Encoder.so
E/SEC_COMP_REGS(28011): Path & libName : /system/lib/omx/libOMX.SEC.M4V.Encoder.so
E/SEC_COMP_REGS(28011): libOMX.SEC.WMV.Decoder.so
E/SEC_COMP_REGS(28011): Path & libName : /system/lib/omx/libOMX.SEC.WMV.Decoder.so
E/OMXNodeInstance(28011): OMX_GetExtensionIndex failed
E/ ( 1864): egl_android_pixel_format* _egl_android_get_native_buffer_format(android_native_buffer_t*) unsupported native buffer format (0x13)
E/SurfaceTexture( 1864): [SurfaceView] error creating EGLImage: 0x3003
E/SurfaceTexture( 1864): [SurfaceView] updateTexImage: acquire failed: Unknown error 2147483648 (-2147483648)
E/ ( 1864): egl_android_pixel_format* _egl_android_get_native_buffer_format(android_native_buffer_t*) unsupported native buffer format (0x13)
E/SurfaceTexture( 1864): [SurfaceView] error creating EGLImage: 0x3003
E/SurfaceTexture( 1864): [SurfaceView] updateTexImage: acquire failed: Unknown error 2147483648 (-2147483648)
E/BufferQueue( 1864): [SurfaceView] acquireBuffer: max acquired buffer count reached: 2 (max=1)
E/SurfaceTexture( 1864): [SurfaceView] updateTexImage: acquire failed: Function not implemented (-38)
E/Trace (28196): error opening trace file: No such file or directory (2)
W/InputEventReceiver( 2198): Attempted to finish an input event but the input event receiver has already been disposed.
W/InputEventReceiver( 2198): Attempted to finish an input event but the input event receiver has already been disposed.
W/AudioFlinger(28011): session id 277 not found for pid 2198
E/BufferQueue( 1864): [SurfaceView] dequeueBuffer: SurfaceTexture has been abandoned!
E/ACodec (28011): dequeueBuffer failed.
E/BufferQueue( 1864): [SurfaceView] queueBuffer: SurfaceTexture has been abandoned!
E/SurfaceTextureClient(28011): queueBuffer: error queuing buffer to SurfaceTexture, -19
E/NuPlayer(28011): Received error from video decoder, aborting playback.
W/BufferQueue( 1864): [SurfaceView] cancelBuffer: BufferQueue has been abandoned!
W/AudioService( 2198): stream was not muted by this client
E/AudioService( 2198): Could not get client death handler for stream: 3
Netflix 2.1.1, stuck on loading screen:
Code:
W/dalvikvm(28732): method Lcom/netflix/mediaclient/android/widget/NetflixSeekBar;.onKeyChange incorrectly overrides package-private method with same name in Landroid/widget/AbsSeekBar;
E/SEC_COMP_REGS(28732): .
E/SEC_COMP_REGS(28732): ..
E/SEC_COMP_REGS(28732): libOMX.SEC.AVC.Decoder.so
E/SEC_COMP_REGS(28732): Path & libName : /system/lib/omx/libOMX.SEC.AVC.Decoder.so
E/SEC_COMP_REGS(28732): libOMX.SEC.AVC.Encoder.so
E/SEC_COMP_REGS(28732): Path & libName : /system/lib/omx/libOMX.SEC.AVC.Encoder.so
E/SEC_COMP_REGS(28732): libOMX.SEC.M4V.Decoder.so
E/SEC_COMP_REGS(28732): Path & libName : /system/lib/omx/libOMX.SEC.M4V.Decoder.so
E/SEC_COMP_REGS(28732): libOMX.SEC.M4V.Encoder.so
E/SEC_COMP_REGS(28732): Path & libName : /system/lib/omx/libOMX.SEC.M4V.Encoder.so
E/SEC_COMP_REGS(28732): libOMX.SEC.WMV.Decoder.so
E/SEC_COMP_REGS(28732): Path & libName : /system/lib/omx/libOMX.SEC.WMV.Decoder.so
E/OMXNodeInstance(28732): OMX_GetExtensionIndex failed
E/NetflixTransport-JNI(28732): Java_com_netflix_mediaclient_javabridge_transport_NativeTransport_native_1setVOapi systemAndroid set VO API
E/NetflixTransport-JNI(28732): Custom params sw analytics params set
E/Trace (28929): error opening trace file: No such file or directory (2)
E/Trace (28959): error opening trace file: No such file or directory (2)
E/Trace (28976): error opening trace file: No such file or directory (2)
E/nf_service(28732): Unable to get instance of PlayerActivity, only pass stateChnage event to MP
Anyone have a clue what might be wrong? Is it a DRM decrypting process that doesn't work, as I suspect?

[Q] don't understand logcat errors for plugin between Eclipse and Unity

Hi,
I am trying to debug an Eclipse project linked to Unity with a plugin. The Eclipse project works on my device (Alcatel One Touch 997), it connects to facebook and shows the user name. But once connected as a plugin to Unity, it does not work anymore. I don't understand the errors from the logcat, or the weird message from Unity about the "portrait" mode (the orientation is set to portrait in the unity settings and in the manifest) :
from Unity :
Code:
Unable to find unity activity in manifest. You need to make sure orientation attribut is set to portrait manually.
UnityEditor.BuildPlayerWindow:BuildPlayerAndRun()
from the logcat :
Code:
V/ActivityManager( 250): New app record ProcessRecord{41d57940 20062:com.firstandroidapp/10114} [email protected] pid=20062
D/PowerManagerService( 250): setKeyboardVisibility: false
V/ActivityManager( 250): ACT-Launching: ActivityRecord{41d4f3a8 com.firstandroidapp/.MainActivity}
D/NetworkPolicy( 250): onRecv: MSG_FOREGROUND_ACTIVITIES_CHANGED pid:uid:act=20062:10114:true
V/WindowManager( 250): Changing focus from Window{4199c6c8 com.jrdcom.launcher/com.jrdcom.launcher.Launcher paused=false} to null
I/WindowManager( 250): Losing focus: Window{4199c6c8 com.jrdcom.launcher/com.jrdcom.launcher.Launcher paused=false}
D/OpenGLRenderer( 515): Flushing caches (mode 1)
D/OpenGLRenderer( 515): Flushing caches (mode 0)
D/ActivityThread(20062): BIND_APPLICATION handled : 0 / AppBindData{appInfo=ApplicationInfo{418319c8 com.firstandroidapp}}
I/dalvikvm(20062): Failed resolving Lcom/firstandroidapp/MainActivity$1; interface 103 'Lcom/facebook/Session$StatusCallback;'
W/dalvikvm(20062): Link of class 'Lcom/firstandroidapp/MainActivity$1;' failed
E/dalvikvm(20062): Could not find class 'com.firstandroidapp.MainActivity$1', referenced from method com.firstandroidapp.MainActivity.<init>
W/dalvikvm(20062): VFY: unable to resolve new-instance 113 (Lcom/firstandroidapp/MainActivity$1;) in Lcom/firstandroidapp/MainActivity;
D/dalvikvm(20062): VFY: replacing opcode 0x22 at 0x0003
W/dalvikvm(20062): VFY: unable to find class referenced in signature (Lcom/facebook/Session;)
W/dalvikvm(20062): VFY: unable to find class referenced in signature (Lcom/facebook/SessionState;)
W/dalvikvm(20062): VFY: unable to find class referenced in signature (Lcom/facebook/Session;)
W/dalvikvm(20062): VFY: unable to find class referenced in signature (Lcom/facebook/SessionState;)
W/dalvikvm(20062): VFY: unable to find class referenced in signature (Lcom/facebook/model/GraphUser;)
W/dalvikvm(20062): VFY: unable to find class referenced in signature (Lcom/facebook/Session;)
W/dalvikvm(20062): VFY: unable to find class referenced in signature (Lcom/facebook/SessionState;)
I/dalvikvm(20062): Could not find method com.facebook.Session.getActiveSession, referenced from method com.firstandroidapp.MainActivity.updateUI
W/dalvikvm(20062): VFY: unable to resolve static method 264: Lcom/facebook/Session;.getActiveSession ()Lcom/facebook/Session;
D/dalvikvm(20062): VFY: replacing opcode 0x71 at 0x0000
I/dalvikvm(20062): Could not find method com.facebook.UiLifecycleHelper.onActivityResult, referenced from method com.firstandroidapp.MainActivity.onActivityResult
W/dalvikvm(20062): VFY: unable to resolve virtual method 267: Lcom/facebook/UiLifecycleHelper;.onActivityResult (IILandroid/content/Intent;Lcom/facebook/widget/FacebookDialog$Callback;)V
D/dalvikvm(20062): VFY: replacing opcode 0x6e at 0x0007
E/dalvikvm(20062): Could not find class 'com.facebook.UiLifecycleHelper', referenced from method com.firstandroidapp.MainActivity.onCreate
W/dalvikvm(20062): VFY: unable to resolve new-instance 106 (Lcom/facebook/UiLifecycleHelper;) in Lcom/firstandroidapp/MainActivity;
D/dalvikvm(20062): VFY: replacing opcode 0x22 at 0x0005
I/dalvikvm(20062): Could not find method com.facebook.UiLifecycleHelper.onDestroy, referenced from method com.firstandroidapp.MainActivity.onDestroy
W/dalvikvm(20062): VFY: unable to resolve virtual method 269: Lcom/facebook/UiLifecycleHelper;.onDestroy ()V
D/dalvikvm(20062): VFY: replacing opcode 0x6e at 0x0005
I/dalvikvm(20062): Could not find method com.facebook.UiLifecycleHelper.onPause, referenced from method com.firstandroidapp.MainActivity.onPause
W/dalvikvm(20062): VFY: unable to resolve virtual method 270: Lcom/facebook/UiLifecycleHelper;.onPause ()V
D/dalvikvm(20062): VFY: replacing opcode 0x6e at 0x0005
I/dalvikvm(20062): Could not find method com.facebook.UiLifecycleHelper.onResume, referenced from method com.firstandroidapp.MainActivity.onResume
W/dalvikvm(20062): VFY: unable to resolve virtual method 271: Lcom/facebook/UiLifecycleHelper;.onResume ()V
D/dalvikvm(20062): VFY: replacing opcode 0x6e at 0x0005
I/dalvikvm(20062): Could not find method com.facebook.UiLifecycleHelper.onSaveInstanceState, referenced from method com.firstandroidapp.MainActivity.onSaveInstanceState
W/dalvikvm(20062): VFY: unable to resolve virtual method 272: Lcom/facebook/UiLifecycleHelper;.onSaveInstanceState (Landroid/os/Bundle;)V
D/dalvikvm(20062): VFY: replacing opcode 0x6e at 0x0005
I/dalvikvm(20062): Failed resolving Lcom/firstandroidapp/MainActivity$1; interface 103 'Lcom/facebook/Session$StatusCallback;'
W/dalvikvm(20062): Link of class 'Lcom/firstandroidapp/MainActivity$1;' failed
D/dalvikvm(20062): DexOpt: unable to opt direct call 0x0113 at 0x05 in Lcom/firstandroidapp/MainActivity;.<init>
I/dalvikvm(20062): Failed resolving Lcom/firstandroidapp/MainActivity$2; interface 108 'Lcom/facebook/widget/FacebookDialog$Callback;'
W/dalvikvm(20062): Link of class 'Lcom/firstandroidapp/MainActivity$2;' failed
D/dalvikvm(20062): DexOpt: unable to opt direct call 0x0115 at 0x0c in Lcom/firstandroidapp/MainActivity;.<init>
D/dalvikvm(20062): DexOpt: unable to opt direct call 0x010a at 0x09 in Lcom/firstandroidapp/MainActivity;.onCreate
I/dalvikvm(20062): Failed resolving Lcom/firstandroidapp/MainActivity$3; interface 110 'Lcom/facebook/widget/LoginButton$UserInfoChangedCallback;'
W/dalvikvm(20062): Link of class 'Lcom/firstandroidapp/MainActivity$3;' failed
D/dalvikvm(20062): DexOpt: unable to opt direct call 0x0118 at 0x2f in Lcom/firstandroidapp/MainActivity;.onCreate
D/AndroidRuntime(20062): Shutting down VM
W/dalvikvm(20062): threadid=1: thread exiting with uncaught exception (group=0x40f10258)
D/dalvikvm(20051): threadid=0: all daemons have suspended
D/dalvikvm(20051): VM cleaning up
E/AndroidRuntime(20062): FATAL EXCEPTION: main
E/AndroidRuntime(20062): java.lang.NoClassDefFoundError: com.firstandroidapp.MainActivity$1
E/AndroidRuntime(20062): at com.firstandroidapp.MainActivity.<init>(MainActivity.java:27)
E/AndroidRuntime(20062): at java.lang.Class.newInstanceImpl(Native Method)
E/AndroidRuntime(20062): at java.lang.Class.newInstance(Class.java:1319)
E/AndroidRuntime(20062): at android.app.Instrumentation.newActivity(Instrumentation.java:1023)
E/AndroidRuntime(20062): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2011)
E/AndroidRuntime(20062): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2124)
E/AndroidRuntime(20062): at android.app.ActivityThread.access$600(ActivityThread.java:135)
E/AndroidRuntime(20062): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1248)
E/AndroidRuntime(20062): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime(20062): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime(20062): at android.app.ActivityThread.main(ActivityThread.java:4645)
E/AndroidRuntime(20062): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime(20062): at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime(20062): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:809)
E/AndroidRuntime(20062): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:576)
E/AndroidRuntime(20062): at dalvik.system.NativeStart.main(Native Method)
D/dalvikvm(20051): threadid=4: freeing
D/dalvikvm( 250): threadid=77: interp stack at 0x4d273000
W/ActivityManager( 250): Force finishing activity com.firstandroidapp/.MainActivity
D/dalvikvm( 250): threadid=77: calling run()
W/AES ( 250): Exception Log handling...
D/dalvikvm(20051): LinearAlloc 0x0 used 1005804 of 8388608 (11%)
D/ADB_SERVICES( 6920): closing because is_eof=1 r=-1 s->fde.force_eof=0
D/PowerManagerService( 250): acquireWakeLock flags=0x1 tag=ActivityManager-Launch
D/AES ( 250): ExceptionLog: notify aed
D/AES ( 250): process : com.firstandroidapp
D/AES ( 250): module : com.firstandroidapp v1 (1.0)
D/AES ( 250):
D/AES ( 250): cause : data_app_crash
This is the manifest file in Unity :
Code:
//in Unity, the Manifest file
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="(i cannot post links)res/android" package="com.firstandroidapp">
<application
android:allowBackup="true"
android:configChanges="fontScale|keyboard|keyboardHidden|locale|mnc|mcc|navigation|orientation|screenLayout|screenSize|smallestScreenSize|uiMode|touchscreen"
android:screenOrientation="portrait" >
<activity
android:name="com.firstandroidapp.MainActivity"
android:label="MyApp" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<meta-data android:value="(numbersHidden)" android:name="com.facebook.sdk.ApplicationId"/>
<activity android:name="com.facebook.LoginActivity"></activity>
</application>
</manifest>
This is how I call the plugin (the project is set as a library, and I pasted the .jar from the bin folder in the folder Plugins/Android in my project in Unity) :
Code:
if(GUI.Button(new Rect(20,250,150,150), "TEST")) {
Debug.Log("hello facebook");
using (AndroidJavaClass javaClass = new AndroidJavaClass("com.firstandroidapp.MainActivity"))
{
using (AndroidJavaObject activity = javaClass.GetStatic<AndroidJavaObject>("ctx"))
{
activity.Call("testFunc");
}
}
}
and the simple method in Eclipse :
Code:
public class MainActivity extends UnityPlayerActivity {
public void testFunc(){
Log.i("test func","test func");
}
The only thing I did was importing the classes.jar (to allow to extend UnityPlayerActivity) in the Eclipse project (Properties > Java Build Path) and I added the FacebookSDK folder as a library (below the checkbox use as a Library in Eclipse, where you can add a folder to add other libraries).
Without facebook, the connection between Unity and Eclipse works fine. But with facebook, the errors above show up.
If anyone would have a slight idea how to debug this, i would really appreciate, I cannot manage to fix this problem.
Thanks

[Problem] [Venue 8 3830] Unfortunately, process com.google.process.gapps has stoped

Nobody faced with the error "Unfortunately, process com.google.process.gapps has stoped"? When I click "OK" button immediately there is a new error message from other applications and from themselves gapps.
I do not want a hard reset (need a install and reconfigure many apps, that have steadily worked), so I need the identification and elimination of the problem. During these log contains this error message:
05-05 08:43:24.398 16945-16945/? E/SQLiteDatabase: Failed to open database '/data/user/0/com.google.android.gsf/databases/gservices.db'.
android.database.sqlite.SQLiteException: not an error (code 0): Could not open the database in read/write mode.
at android.database.sqlite.SQLiteConnection.nativeOpen(Native Method)
at android.database.sqlite.SQLiteConnection.open(SQLiteConnection.java:209)
at android.database.sqlite.SQLiteConnection.open(SQLiteConnection.java:193)
at android.database.sqlite.SQLiteConnectionPool.openConnectionLocked(SQLiteConnectionPool.java:463)
at android.database.sqlite.SQLiteConnectionPool.open(SQLiteConnectionPool.java:185)
at android.database.sqlite.SQLiteConnectionPool.open(SQLiteConnectionPool.java:177)
at android.database.sqlite.SQLiteDatabase.openInner(SQLiteDatabase.java:804)
at android.database.sqlite.SQLiteDatabase.open(SQLiteDatabase.java:789)
at android.database.sqlite.SQLiteDatabase.openDatabase(SQLiteDatabase.java:694)
at android.app.ContextImpl.openOrCreateDatabase(ContextImpl.java:951)
at android.content.ContextWrapper.openOrCreateDatabase(ContextWrapper.java:256)
at android.database.sqlite.SQLiteOpenHelper.getDatabaseLocked(SQLiteOpenHelper.java:224)
at android.database.sqlite.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java:164)
at com.google.android.gsf.gservices.GservicesProvider.computeLocalDigestAndUpdateValues(GservicesProvider.java:393)
at com.google.android.gsf.gservices.GservicesProvider.onCreate(GservicesProvider.java:173)
at android.content.ContentProvider.attachInfo(ContentProvider.java:1591)
at android.content.ContentProvider.attachInfo(ContentProvider.java:1562)
at android.app.ActivityThread.installProvider(ActivityThread.java:4830)
at android.app.ActivityThread.installContentProviders(ActivityThread.java:4425)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4365)
at android.app.ActivityThread.access$1500(ActivityThread.java:138)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1296)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:149)
at android.app.ActivityThread.main(ActivityThread.java:5061)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:787)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:603)
at dalvik.system.NativeStart.main(Native Method)
05-05 08:43:24.398 16945-16945/? E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.google.process.gapps, PID: 16945
java.lang.RuntimeException: Unable to get provider com.google.android.gsf.gservices.GservicesProvider: android.database.sqlite.SQLiteException: not an error (code 0): Could not open the database in read/write mode.
at android.app.ActivityThread.installProvider(ActivityThread.java:4833)
at android.app.ActivityThread.installContentProviders(ActivityThread.java:4425)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4365)
at android.app.ActivityThread.access$1500(ActivityThread.java:138)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1296)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:149)
at android.app.ActivityThread.main(ActivityThread.java:5061)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:787)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:603)
at dalvik.system.NativeStart.main(Native Method)
...
05-05 08:43:24.568 159-159/? E/dpstmrg:: executing DPST command
05-05 08:43:24.568 159-159/? E/dpstmrg:: sent command: cmd = 3
05-05 08:43:24.588 154-268/? E/IMGSRV: :0: PVRDRMOpen: TP3, ret = 42
05-05 08:43:24.718 159-159/? E/dpstmrg:: executing DPST command
05-05 08:43:24.718 159-159/? E/dpstmrg:: sent command: cmd = 3
05-05 08:43:24.818 159-159/? E/dpstmrg:: executing DPST command
05-05 08:43:24.818 159-159/? E/dpstmrg:: sent command: cmd = 3
05-05 08:43:25.558 154-268/? E/IMGSRV: :0: PVRDRMOpen: TP3, ret = 50
05-05 08:43:25.768 154-512/? E/IMGSRV: :0: PVRDRMOpen: TP3, ret = 39
05-05 08:43:25.788 154-269/? E/IMGSRV: :0: PVRDRMOpen: TP3, ret = 38
05-05 08:43:27.258 488-500/? E/Sensors: pjn=== LightSensor, als_value:3.000000
05-05 08:43:27.388 488-500/? E/Sensors: pjn=== LightSensor, als_value:4.000000
05-05 08:43:41.418 6594-16995/? E/SQLiteDatabase: Failed to open database '/data/data/com.google.android.gms/databases/playlog.db'.
android.database.sqlite.SQLiteException: not an error (code 0): Could not open the database in read/write mode.
at android.database.sqlite.SQLiteConnection.nativeOpen(Native Method)
at android.database.sqlite.SQLiteConnection.open(SQLiteConnection.java:209)
at android.database.sqlite.SQLiteConnection.open(SQLiteConnection.java:193)
at android.database.sqlite.SQLiteConnectionPool.openConnectionLocked(SQLiteConnectionPool.java:463)
at android.database.sqlite.SQLiteConnectionPool.open(SQLiteConnectionPool.java:185)
at android.database.sqlite.SQLiteConnectionPool.open(SQLiteConnectionPool.java:177)
at android.database.sqlite.SQLiteDatabase.openInner(SQLiteDatabase.java:804)
at android.database.sqlite.SQLiteDatabase.open(SQLiteDatabase.java:789)
at android.database.sqlite.SQLiteDatabase.openDatabase(SQLiteDatabase.java:694)
at android.app.ContextImpl.openOrCreateDatabase(ContextImpl.java:951)
at android.content.ContextWrapper.openOrCreateDatabase(ContextWrapper.java:256)
at android.content.ContextWrapper.openOrCreateDatabase(ContextWrapper.java:256)
at android.database.sqlite.SQLiteOpenHelper.getDatabaseLocked(SQLiteOpenHelper.java:224)
at android.database.sqlite.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java:164)
at com.google.android.gms.playlog.store.r.dcom.google.android.gms:97)
at com.google.android.gms.clearcut.service.a.acom.google.android.gms:153)
at com.google.android.gms.common.service.f.runcom.google.android.gms:176)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
at com.google.android.gms.common.util.a.c.runcom.google.android.gms:17)
at java.lang.Thread.run(Thread.java:841)
05-05 08:43:41.418 6594-16995/? E/ClearcutLoggerIntentService: not an error (code 0): Could not open the database in read/write mode.
android.database.sqlite.SQLiteException: not an error (code 0): Could not open the database in read/write mode.
at android.database.sqlite.SQLiteConnection.nativeOpen(Native Method)
at android.database.sqlite.SQLiteConnection.open(SQLiteConnection.java:209)
at android.database.sqlite.SQLiteConnection.open(SQLiteConnection.java:193)
at android.database.sqlite.SQLiteConnectionPool.openConnectionLocked(SQLiteConnectionPool.java:463)
at android.database.sqlite.SQLiteConnectionPool.open(SQLiteConnectionPool.java:185)
at android.database.sqlite.SQLiteConnectionPool.open(SQLiteConnectionPool.java:177)
at android.database.sqlite.SQLiteDatabase.openInner(SQLiteDatabase.java:804)
at android.database.sqlite.SQLiteDatabase.open(SQLiteDatabase.java:789)
at android.database.sqlite.SQLiteDatabase.openDatabase(SQLiteDatabase.java:694)
at android.app.ContextImpl.openOrCreateDatabase(ContextImpl.java:951)
at android.content.ContextWrapper.openOrCreateDatabase(ContextWrapper.java:256)
at android.content.ContextWrapper.openOrCreateDatabase(ContextWrapper.java:256)
at android.database.sqlite.SQLiteOpenHelper.getDatabaseLocked(SQLiteOpenHelper.java:224)
at android.database.sqlite.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java:164)
at com.google.android.gms.playlog.store.r.dcom.google.android.gms:97)
at com.google.android.gms.clearcut.service.a.acom.google.android.gms:153)
at com.google.android.gms.common.service.f.runcom.google.android.gms:176)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
at com.google.android.gms.common.util.a.c.runcom.google.android.gms:17)
at java.lang.Thread.run(Thread.java:841)
05-05 08:43:41.418 6594-16995/? E/SQLiteDatabase: Failed to open database '/data/data/com.google.android.gms/databases/playlog.db'.
android.database.sqlite.SQLiteException: not an error (code 0): Could not open the database in read/write mode.
at android.database.sqlite.SQLiteConnection.nativeOpen(Native Method)
at android.database.sqlite.SQLiteConnection.open(SQLiteConnection.java:209)
at android.database.sqlite.SQLiteConnection.open(SQLiteConnection.java:193)
at android.database.sqlite.SQLiteConnectionPool.openConnectionLocked(SQLiteConnectionPool.java:463)
at android.database.sqlite.SQLiteConnectionPool.open(SQLiteConnectionPool.java:185)
at android.database.sqlite.SQLiteConnectionPool.open(SQLiteConnectionPool.java:177)
at android.database.sqlite.SQLiteDatabase.openInner(SQLiteDatabase.java:804)
at android.database.sqlite.SQLiteDatabase.open(SQLiteDatabase.java:789)
at android.database.sqlite.SQLiteDatabase.openDatabase(SQLiteDatabase.java:694)
at android.app.ContextImpl.openOrCreateDatabase(ContextImpl.java:951)
at android.content.ContextWrapper.openOrCreateDatabase(ContextWrapper.java:256)
at android.content.ContextWrapper.openOrCreateDatabase(ContextWrapper.java:256)
at android.database.sqlite.SQLiteOpenHelper.getDatabaseLocked(SQLiteOpenHelper.java:224)
at android.database.sqlite.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java:164)
at com.google.android.gms.playlog.store.r.dcom.google.android.gms:97)
at com.google.android.gms.clearcut.service.a.acom.google.android.gms:153)
at com.google.android.gms.common.service.f.runcom.google.android.gms:176)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
at com.google.android.gms.common.util.a.c.runcom.google.android.gms:17)
at java.lang.Thread.run(Thread.java:841)
...
05-05 08:43:48.438 150-150/? E/ia_watchdog: Timer interrupt
05-05 08:43:48.438 150-150/? E/ia_watchdog: waiting for a timer interrupt
05-05 08:44:06.428 16980-16985/? E/dalvikvm: Unable to open stack trace file '/data/anr/traces.txt': Read-only file system
05-05 08:44:06.718 488-500/? E/Sensors: poll() failed (Interrupted system call)
05-05 08:44:06.738 488-493/? E/dalvikvm: Unable to open stack trace file '/data/anr/traces.txt': Read-only file system
05-05 08:44:06.828 737-743/? E/dalvikvm: Unable to open stack trace file '/data/anr/traces.txt': Read-only file system
05-05 08:44:07.048 728-733/? E/dalvikvm: Unable to open stack trace file '/data/anr/traces.txt': Read-only file system
05-05 08:44:07.248 566-569/? E/dalvikvm: Unable to open stack trace file '/data/anr/traces.txt': Read-only file system
05-05 08:44:08.218 1045-1050/? E/dalvikvm: Unable to open stack trace file '/data/anr/traces.txt': Read-only file system
This too lazy to read the log - everything goes wrong when trying to write / open a file / database. Very annoying message like "Read-only file system", can it be flash memory began to fail?
Any help? After factory reset (and 5 hours normal work) problem still happens. How I can check and fix (if needed) my memory storage? Or it's problem in gapps?

Categories

Resources