Porting VSuiteApp 4.0 to other phones - Android Software/Hacking General [Developers Only]

Hello,
I currently use VSuite 3.2 sourced from this thread on a Nexus S.
While this works, there are some issues, mostly that the screen needs to be on for the application to run properly. This is a problem if I'm driving as the phone is usually in my pocket with the screen off at that time, unless I plan ahead.
Hoping for a fix, I've tried getting VSuite 4.0 to work on the Nexus S using an apk originally meant for a Verizon Samsung Fascinate running 2.3.3.
The best I've managed so far with this one is to get an FC almost immediately after the app title appears. The same happens in the emulator and on my phone.
Issues to solve:
-Reintroduce support for languages other than English and Spanish. (I can replace Spanish by something else by changing a few strings in the smali code, but this isn't an elegant nor universal solution.) There is plenty of left over code and some data files from 3.2 should do the trick.
-Error due to missing phonebook_crc.dat.
-Error loading the library (or is it immediately afterwards?) leading to the forced closure.
I looked at some smali code and DDMS logs for clues, and it seems to have trouble with the vsuite library file...
Any ideas?
Darkshado
Below is an emulator DDMS log excerpt:
Code:
05-29 22:56:34.705: DEBUG/VSuiteApplication(508): onCreate()
05-29 22:56:34.774: VERBOSE/ContextWrapper(508): The homeDir is /data/data/com.nuance.android.vsuite.vsuiteapp/
05-29 22:56:34.954: ERROR/PhonebookMaster(508): File does not exist filename: /data/data/com.nuance.android.vsuite.vsuiteapp/phonebook_crc.dat
05-29 22:56:35.394: INFO/dalvikvm(508): Could not find method android.bluetooth.BluetoothHeadset.getState, referenced from method com.nuance.android.vsuite.bt.BTMaster.initiateAudioConnection
05-29 22:56:35.394: WARN/dalvikvm(508): VFY: unable to resolve virtual method 36: Landroid/bluetooth/BluetoothHeadset;.getState ()I
05-29 22:56:35.394: DEBUG/dalvikvm(508): VFY: replacing opcode 0x6e at 0x002a
05-29 22:56:35.404: DEBUG/dalvikvm(508): VFY: dead code 0x002d-0037 in Lcom/nuance/android/vsuite/bt/BTMaster;.initiateAudioConnection ()Z
05-29 22:56:35.414: DEBUG/BTMaster(508): onApplicationCreate, state = 0
05-29 22:56:35.434: DEBUG/BTMaster(508): doConnectToService
05-29 22:56:35.464: DEBUG/BTMaster(508): registerBroadcastReceiver for intent BluetoothHeadset.ACTION_AUDIO_STATE_CHANGED
05-29 22:56:35.484: DEBUG/BTMaster(508): registerBroadcastReceiver retIntent = null
05-29 22:56:35.714: DEBUG/dalvikvm(508): GC_EXTERNAL_ALLOC freed 431K, 51% free 2818K/5703K, external 746K/1038K, paused 115ms
05-29 22:56:36.114: DEBUG/SessionBroker(508): requestSession activeSession = null
05-29 22:56:36.114: DEBUG/SessionBroker(508): requestSession calling onSessionEnded()
05-29 22:56:36.114: DEBUG/SessionBroker(508): onSessionEnded, pendingSession = [email protected]
05-29 22:56:36.124: DEBUG/SessionBaseClass(508): setContext() [email protected]
05-29 22:56:36.134: DEBUG/SessionBaseClass(508): registerSessionObserver [email protected]
05-29 22:56:36.144: DEBUG/SessionBaseClass(508): registerSessionObserver [email protected]
05-29 22:56:36.144: DEBUG/SessionBaseClass(508): beginSession(), sessionState = UNINITIALIZED
05-29 22:56:36.154: DEBUG/SessionBaseClass(508): init()
05-29 22:56:36.174: DEBUG/SessionBaseClass(508): init(): mediaPlayerPlaying = false
05-29 22:56:36.195: DEBUG/SessionBaseClass(508): init(): broadcast sent - musicservicecommand: pause
05-29 22:56:36.204: DEBUG/BTMaster(508): init, state = 1
05-29 22:56:36.324: DEBUG/JniVSuiteSession(508): JniVSuiteSession(session)
05-29 22:56:36.324: DEBUG/JniVSuiteSession(508): init() sessionThread = null
05-29 22:56:36.324: DEBUG/JniVSuiteSession(508): .initLibrary() libraryLoaded = false
05-29 22:56:36.334: DEBUG/dalvikvm(508): Trying to load lib /data/local/tmp/libvsuite_sharedlib.so 0x40514f90
05-29 22:56:36.384: DEBUG/AndroidRuntime(508): Shutting down VM
05-29 22:56:36.384: WARN/dalvikvm(508): threadid=1: thread exiting with uncaught exception (group=0x40015560)
05-29 22:56:36.414: ERROR/AndroidRuntime(508): FATAL EXCEPTION: main
05-29 22:56:36.414: ERROR/AndroidRuntime(508): java.lang.UnsatisfiedLinkError: Cannot load library: reloc_library[1311]: 33 cannot locate '_ZN7android11AudioRecordC1EijijijPFviPvS1_ES1_i'...
05-29 22:56:36.414: ERROR/AndroidRuntime(508): at java.lang.Runtime.load(Runtime.java:394)
05-29 22:56:36.414: ERROR/AndroidRuntime(508): at java.lang.System.load(System.java:534)
05-29 22:56:36.414: ERROR/AndroidRuntime(508): at com.nuance.android.vsuite.jni.JniVSuiteSession.loadLibrary(JniVSuiteSession.java:462)
05-29 22:56:36.414: ERROR/AndroidRuntime(508): at com.nuance.android.vsuite.jni.JniVSuiteSession.initLibrary(JniVSuiteSession.java:422)
05-29 22:56:36.414: ERROR/AndroidRuntime(508): at com.nuance.android.vsuite.jni.JniVSuiteSession.init(JniVSuiteSession.java:187)
05-29 22:56:36.414: ERROR/AndroidRuntime(508): at com.nuance.android.vsuite.vsuiteapp.Session.init(Session.java:175)
05-29 22:56:36.414: ERROR/AndroidRuntime(508): at com.nuance.android.vsuite.vsuiteapp.VSuiteSessionMaster.init(VSuiteSessionMaster.java:42)
05-29 22:56:36.414: ERROR/AndroidRuntime(508): at com.nuance.android.vsuite.vsuiteapp.Session.beginSession(Session.java:99)
05-29 22:56:36.414: ERROR/AndroidRuntime(508): at com.nuance.android.vsuite.vsuiteapp.SessionBroker.onSessionEnded(SessionBroker.java:93)
05-29 22:56:36.414: ERROR/AndroidRuntime(508): at com.nuance.android.vsuite.vsuiteapp.SessionBroker.requestSession(SessionBroker.java:49)
05-29 22:56:36.414: ERROR/AndroidRuntime(508): at com.nuance.android.vsuite.vsuiteapp.VSuiteStartSession.sessionCreate(VSuiteStartSession.java:202)
05-29 22:56:36.414: ERROR/AndroidRuntime(508): at com.nuance.android.vsuite.vsuiteapp.VSuiteStartSession.access$300(VSuiteStartSession.java:37)
05-29 22:56:36.414: ERROR/AndroidRuntime(508): at com.nuance.android.vsuite.vsuiteapp.VSuiteStartSession$3.run(VSuiteStartSession.java:107)
05-29 22:56:36.414: ERROR/AndroidRuntime(508): at android.os.Handler.handleCallback(Handler.java:587)
05-29 22:56:36.414: ERROR/AndroidRuntime(508): at android.os.Handler.dispatchMessage(Handler.java:92)
05-29 22:56:36.414: ERROR/AndroidRuntime(508): at android.os.Looper.loop(Looper.java:130)
05-29 22:56:36.414: ERROR/AndroidRuntime(508): at android.app.ActivityThread.main(ActivityThread.java:3683)
05-29 22:56:36.414: ERROR/AndroidRuntime(508): at java.lang.reflect.Method.invokeNative(Native Method)
05-29 22:56:36.414: ERROR/AndroidRuntime(508): at java.lang.reflect.Method.invoke(Method.java:507)
05-29 22:56:36.414: ERROR/AndroidRuntime(508): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
05-29 22:56:36.414: ERROR/AndroidRuntime(508): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
05-29 22:56:36.414: ERROR/AndroidRuntime(508): at dalvik.system.NativeStart.main(Native Method)
05-29 22:56:36.454: WARN/ActivityManager(43): Force finishing activity com.nuance.android.vsuite.vsuiteapp/.VSuiteStartSession
05-29 22:56:37.014: WARN/ActivityManager(43): Activity pause timeout for HistoryRecord{40727360 com.nuance.android.vsuite.vsuiteapp/.VSuiteStartSession}
05-29 22:56:38.734: INFO/Process(508): Sending signal. PID: 508 SIG: 9
05-29 22:56:39.004: WARN/InputManagerService(43): Window already focused, ignoring focus gain of: [email protected]
05-29 22:56:39.374: INFO/ActivityManager(43): Process com.nuance.android.vsuite.vsuiteapp (pid 508) has died.
05-29 22:56:39.374: INFO/WindowManager(43): WIN DEATH: Window{406fefa8 com.nuance.android.vsuite.vsuiteapp/com.nuance.android.vsuite.vsuiteapp.VSuiteStartSession paused=false}
05-29 22:56:45.123: DEBUG/dalvikvm(168): GC_EXPLICIT freed 45K, 48% free 3564K/6727K, external 2893K/3613K, paused 150ms
05-29 22:56:47.736: WARN/ActivityManager(43): Activity destroy timeout for HistoryRecord{40727360 com.nuance.android.vsuite.vsuiteapp/.VSuiteStartSession}
05-29 22:57:06.604: DEBUG/SntpClient(43): request time failed: java.net.SocketException: Address family not supported by protocol

Can you attach V4 files please?

Like I've said, the 4.0 version I had only Force Close when I tried to run it.
I still use version 3.2, but I've changed my setup a little, YMMV.
I bought a universal car dock in which I clamp my phone, plug in a car charger and turn on car mode. That way the screen is on and the phone remains unlocked, so VSuite works as it should.
We won't have access to the source code, and I don't know assembler (much less ARM assembler) to try debugging the library that way.
Goodbye,
Darkshado

Darkshado said:
Hello,
I currently use VSuite 3.2 sourced from this thread on a Nexus S.
While this works, there are some issues, mostly that the screen needs to be on for the application to run properly. This is a problem if I'm driving as the phone is usually in my pocket with the screen off at that time, unless I plan ahead.
Hoping for a fix, I've tried getting VSuite 4.0 to work on the Nexus S using an apk originally meant for a Verizon Samsung Fascinate running 2.3.3.
The best I've managed so far with this one is to get an FC almost immediately after the app title appears. The same happens in the emulator and on my phone.
Issues to solve:
-Reintroduce support for languages other than English and Spanish. (I can replace Spanish by something else by changing a few strings in the smali code, but this isn't an elegant nor universal solution.) There is plenty of left over code and some data files from 3.2 should do the trick.
-Error due to missing phonebook_crc.dat.
-Error loading the library (or is it immediately afterwards?) leading to the forced closure.
I looked at some smali code and DDMS logs for clues, and it seems to have trouble with the vsuite library file...
Any ideas?
Darkshado
Below is an emulator DDMS log excerpt:
Code:
05-29 22:56:34.705: DEBUG/VSuiteApplication(508): onCreate()
05-29 22:56:34.774: VERBOSE/ContextWrapper(508): The homeDir is /data/data/com.nuance.android.vsuite.vsuiteapp/
05-29 22:56:34.954: ERROR/PhonebookMaster(508): File does not exist filename: /data/data/com.nuance.android.vsuite.vsuiteapp/phonebook_crc.dat
05-29 22:56:35.394: INFO/dalvikvm(508): Could not find method android.bluetooth.BluetoothHeadset.getState, referenced from method com.nuance.android.vsuite.bt.BTMaster.initiateAudioConnection
05-29 22:56:35.394: WARN/dalvikvm(508): VFY: unable to resolve virtual method 36: Landroid/bluetooth/BluetoothHeadset;.getState ()I
05-29 22:56:35.394: DEBUG/dalvikvm(508): VFY: replacing opcode 0x6e at 0x002a
05-29 22:56:35.404: DEBUG/dalvikvm(508): VFY: dead code 0x002d-0037 in Lcom/nuance/android/vsuite/bt/BTMaster;.initiateAudioConnection ()Z
05-29 22:56:35.414: DEBUG/BTMaster(508): onApplicationCreate, state = 0
05-29 22:56:35.434: DEBUG/BTMaster(508): doConnectToService
05-29 22:56:35.464: DEBUG/BTMaster(508): registerBroadcastReceiver for intent BluetoothHeadset.ACTION_AUDIO_STATE_CHANGED
05-29 22:56:35.484: DEBUG/BTMaster(508): registerBroadcastReceiver retIntent = null
05-29 22:56:35.714: DEBUG/dalvikvm(508): GC_EXTERNAL_ALLOC freed 431K, 51% free 2818K/5703K, external 746K/1038K, paused 115ms
05-29 22:56:36.114: DEBUG/SessionBroker(508): requestSession activeSession = null
05-29 22:56:36.114: DEBUG/SessionBroker(508): requestSession calling onSessionEnded()
05-29 22:56:36.114: DEBUG/SessionBroker(508): onSessionEnded, pendingSession = [email protected]
05-29 22:56:36.124: DEBUG/SessionBaseClass(508): setContext() [email protected]
05-29 22:56:36.134: DEBUG/SessionBaseClass(508): registerSessionObserver [email protected]
05-29 22:56:36.144: DEBUG/SessionBaseClass(508): registerSessionObserver [email protected]
05-29 22:56:36.144: DEBUG/SessionBaseClass(508): beginSession(), sessionState = UNINITIALIZED
05-29 22:56:36.154: DEBUG/SessionBaseClass(508): init()
05-29 22:56:36.174: DEBUG/SessionBaseClass(508): init(): mediaPlayerPlaying = false
05-29 22:56:36.195: DEBUG/SessionBaseClass(508): init(): broadcast sent - musicservicecommand: pause
05-29 22:56:36.204: DEBUG/BTMaster(508): init, state = 1
05-29 22:56:36.324: DEBUG/JniVSuiteSession(508): JniVSuiteSession(session)
05-29 22:56:36.324: DEBUG/JniVSuiteSession(508): init() sessionThread = null
05-29 22:56:36.324: DEBUG/JniVSuiteSession(508): .initLibrary() libraryLoaded = false
05-29 22:56:36.334: DEBUG/dalvikvm(508): Trying to load lib /data/local/tmp/libvsuite_sharedlib.so 0x40514f90
05-29 22:56:36.384: DEBUG/AndroidRuntime(508): Shutting down VM
05-29 22:56:36.384: WARN/dalvikvm(508): threadid=1: thread exiting with uncaught exception (group=0x40015560)
05-29 22:56:36.414: ERROR/AndroidRuntime(508): FATAL EXCEPTION: main
05-29 22:56:36.414: ERROR/AndroidRuntime(508): java.lang.UnsatisfiedLinkError: Cannot load library: reloc_library[1311]: 33 cannot locate '_ZN7android11AudioRecordC1EijijijPFviPvS1_ES1_i'...
05-29 22:56:36.414: ERROR/AndroidRuntime(508): at java.lang.Runtime.load(Runtime.java:394)
05-29 22:56:36.414: ERROR/AndroidRuntime(508): at java.lang.System.load(System.java:534)
05-29 22:56:36.414: ERROR/AndroidRuntime(508): at com.nuance.android.vsuite.jni.JniVSuiteSession.loadLibrary(JniVSuiteSession.java:462)
05-29 22:56:36.414: ERROR/AndroidRuntime(508): at com.nuance.android.vsuite.jni.JniVSuiteSession.initLibrary(JniVSuiteSession.java:422)
05-29 22:56:36.414: ERROR/AndroidRuntime(508): at com.nuance.android.vsuite.jni.JniVSuiteSession.init(JniVSuiteSession.java:187)
05-29 22:56:36.414: ERROR/AndroidRuntime(508): at com.nuance.android.vsuite.vsuiteapp.Session.init(Session.java:175)
05-29 22:56:36.414: ERROR/AndroidRuntime(508): at com.nuance.android.vsuite.vsuiteapp.VSuiteSessionMaster.init(VSuiteSessionMaster.java:42)
05-29 22:56:36.414: ERROR/AndroidRuntime(508): at com.nuance.android.vsuite.vsuiteapp.Session.beginSession(Session.java:99)
05-29 22:56:36.414: ERROR/AndroidRuntime(508): at com.nuance.android.vsuite.vsuiteapp.SessionBroker.onSessionEnded(SessionBroker.java:93)
05-29 22:56:36.414: ERROR/AndroidRuntime(508): at com.nuance.android.vsuite.vsuiteapp.SessionBroker.requestSession(SessionBroker.java:49)
05-29 22:56:36.414: ERROR/AndroidRuntime(508): at com.nuance.android.vsuite.vsuiteapp.VSuiteStartSession.sessionCreate(VSuiteStartSession.java:202)
05-29 22:56:36.414: ERROR/AndroidRuntime(508): at com.nuance.android.vsuite.vsuiteapp.VSuiteStartSession.access$300(VSuiteStartSession.java:37)
05-29 22:56:36.414: ERROR/AndroidRuntime(508): at com.nuance.android.vsuite.vsuiteapp.VSuiteStartSession$3.run(VSuiteStartSession.java:107)
05-29 22:56:36.414: ERROR/AndroidRuntime(508): at android.os.Handler.handleCallback(Handler.java:587)
05-29 22:56:36.414: ERROR/AndroidRuntime(508): at android.os.Handler.dispatchMessage(Handler.java:92)
05-29 22:56:36.414: ERROR/AndroidRuntime(508): at android.os.Looper.loop(Looper.java:130)
05-29 22:56:36.414: ERROR/AndroidRuntime(508): at android.app.ActivityThread.main(ActivityThread.java:3683)
05-29 22:56:36.414: ERROR/AndroidRuntime(508): at java.lang.reflect.Method.invokeNative(Native Method)
05-29 22:56:36.414: ERROR/AndroidRuntime(508): at java.lang.reflect.Method.invoke(Method.java:507)
05-29 22:56:36.414: ERROR/AndroidRuntime(508): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
05-29 22:56:36.414: ERROR/AndroidRuntime(508): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
05-29 22:56:36.414: ERROR/AndroidRuntime(508): at dalvik.system.NativeStart.main(Native Method)
05-29 22:56:36.454: WARN/ActivityManager(43): Force finishing activity com.nuance.android.vsuite.vsuiteapp/.VSuiteStartSession
05-29 22:56:37.014: WARN/ActivityManager(43): Activity pause timeout for HistoryRecord{40727360 com.nuance.android.vsuite.vsuiteapp/.VSuiteStartSession}
05-29 22:56:38.734: INFO/Process(508): Sending signal. PID: 508 SIG: 9
05-29 22:56:39.004: WARN/InputManagerService(43): Window already focused, ignoring focus gain of: [email protected]
05-29 22:56:39.374: INFO/ActivityManager(43): Process com.nuance.android.vsuite.vsuiteapp (pid 508) has died.
05-29 22:56:39.374: INFO/WindowManager(43): WIN DEATH: Window{406fefa8 com.nuance.android.vsuite.vsuiteapp/com.nuance.android.vsuite.vsuiteapp.VSuiteStartSession paused=false}
05-29 22:56:45.123: DEBUG/dalvikvm(168): GC_EXPLICIT freed 45K, 48% free 3564K/6727K, external 2893K/3613K, paused 150ms
05-29 22:56:47.736: WARN/ActivityManager(43): Activity destroy timeout for HistoryRecord{40727360 com.nuance.android.vsuite.vsuiteapp/.VSuiteStartSession}
05-29 22:57:06.604: DEBUG/SntpClient(43): request time failed: java.net.SocketException: Address family not supported by protocol
Click to expand...
Click to collapse
did you get anywhere with this ? i'm running into the same problem ....

more tests
have a look here : http://forum.xda-developers.com/showpost.php?p=22154338&postcount=49

Related

ScummVM can't find its plugins in cyanogenmod

Hi!
This is my first post on this forum, I hope I picked the right board and understood all the rules correctly.
I had a conversation with the author of the ScummVM android port about this.
Executive summary:
The problem is that ScummVM 1.0.0pre0 cannot locate a symbol that should be in the shared object that's part of the scumm plugin. The author thought that maybe cyanogenmod might have some changed linker behaviour, so that' why I'm asking here.
The gory details:
German T-Mobile G1
Cyanogenmod 4.2.7.1 at first, by now it's 4.2.8
ScummVM 1.0.0pre0
German VGA DOS Version of Day of the Tentacle
VGA DOS Version of Monkey Island 1
I first installed the libscumm plugin for scummvm, and then scummvm itself. Tried to add monkey island:
"ScummVM could not find any game in the specified directory!"
The same folder in scummvm on linux works. (I can even add it from the sdcard of my phone.)
Ok, so I said "wrong order, silly!", remove scummvm and the plugin, then reinstalled first scummvm, then the plugin. No help.
The "about" screen in ScummVM says nothing at all under "Available engines", so the plugin isn't even loaded.
Here's a logcat:
I/ActivityManager( 2777): Starting activity: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=org.inodes.gus.scummvm/.ScummVMActivity }
I/ActivityManager( 2777): Start proc org.inodes.gus.scummvm for activity org.inodes.gus.scummvm/.ScummVMActivity: pid=7626 uid=10128 gids={1015}
D/dalvikvm( 2759): GC freed 300 objects / 11472 bytes in 316ms
D/dalvikvm( 2759): GC freed 57 objects / 2536 bytes in 70ms
I/WindowManager( 2777): Setting rotation to 1, animFlags=0
I/WindowManager( 2777): Config changed: { scale=1.0 imsi=0/0 loc=de_DE touch=3 keys=2/1/2 nav=3 orien=2 layout=18}
W/WindowManager( 2777): performLayoutAndPlaceSurfacesLocked called while in layout
D/dalvikvm( 2759): GC freed 2 objects / 48 bytes in 602ms
D/dalvikvm( 2777): GC freed 26803 objects / 1448952 bytes in 1121ms
D/StatusBar( 2777): updateResources
I/ActivityManager( 2777): Starting activity: Intent { cmp=org.inodes.gus.scummvm/.Unpacker }
I/ActivityManager( 2777): Start proc org.inodes.gus.scummvm for broadcast org.inodes.gus.scummvm.plugin.scumm/org.inodes.gus.scummvm.PluginProvider: pid=7633 uid=10129 gids={1015}
I/ActivityManager( 2777): Process com.android.calendar (pid 7555) has died.
W/IInputConnectionWrapper( 2830): showStatusIcon on inactive InputConnection
I/ActivityManager( 2777): Displayed activity org.inodes.gus.scummvm/.Unpacker: 550 ms (total 3735 ms)
I/ActivityManager( 2777): Process org.inodes.gus.scummvm (pid 7633) has died.
D/dalvikvm( 7626): Trying to load lib /data/data/org.inodes.gus.scummvm/cache/libscummvm.so 0x43a64bc8
I/ActivityManager( 2777): Displayed activity org.inodes.gus.scummvm/.ScummVMActivity: 5362 ms (total 5362 ms)
D/dalvikvm( 7626): Added shared lib /data/data/org.inodes.gus.scummvm/cache/libscummvm.so 0x43a64bc8
D/ScummVM ( 7626): Entering scummvm_main with 5 args
W/ScummVM ( 7626): Failed loading symbol 'PLUGIN_getVersion' from plugin '/data/data/org.inodes.gus.scummvm/cache/libscummvm.so' (Symbol not found: )
W/ScummVM ( 7626): Failed loading plugin '/data/data/org.inodes.gus.scummvm/cache/libscumm.so' (Cannot load library: reloc_library[1245]: 2759 cannot locate '_ZN6Common20updateGameGUIOptionsEj'...)
D/ScummVM ( 7626): Setting audio sampling rate to 44100HZ
D/ScummVM ( 7626): New surface is 480x320 bpr=960
W/AudioFlinger( 2760): write blocked for 90 msecs
D/ScummVM ( 7626): New surface is 480x320 bpr=960
D/dalvikvm( 2777): GC freed 3724 objects / 167976 bytes in 419ms
D/WifiService( 2777): ACTION_BATTERY_CHANGED pluggedType: 2
D/dalvikvm( 7108): GC freed 163 objects / 22264 bytes in 826ms
I/ActivityManager( 2777): Process android.process.media (pid 7542) has died.
I/WindowManager( 2777): onOrientationChanged, rotation changed to 1
D/dalvikvm( 7082): GC freed 155 objects / 372096 bytes in 790ms
D/NetworkLocationProvider( 2777): getLocation(): triggering a wifi scan
I/wpa_supplicant( 6909): CTRL-EVENT-SCAN-RESULTS Ready
D/ConnectBot.TerminalManager( 6987): Stopping service after timeout of ~300 seconds
I/ActivityManager( 2777): Stopping service: org.connectbot/.service.TerminalManager
I/ConnectBot.TerminalManager( 6987): Destroying background service
D/dalvikvm( 7062): GC freed 374 objects / 12920 bytes in 1225ms
D/dalvikvm( 3319): GC freed 141 objects / 188432 bytes in 583ms
D/dalvikvm( 6987): GC freed 235 objects / 12720 bytes in 837ms
Angus Lees says:
The problem is this line:
W/ScummVM ( 7626): Failed loading plugin '/data/data/org.inodes.gus.scummvm/cache/libscumm.so' (Cannot load library: reloc_library[1245]: 2759 cannot locate '_ZN6Common20updateGameGUIOptionsEj'...)
not sure why yet - perhaps cyanogen has changed some linker behaviour so a dynamically loaded library can't find symbols in another dynamically loaded library.
What version of Android is cyanogen 4.7.2.1 based on?
Click to expand...
Click to collapse
The ScummVM page says that ScummVM is not yet compatible with android 2.0 yet, so if cyanogenmod takes parts of android 2.0, it may well be the cause of the problem.
Can any dev shed light on this?
Are there users who successfully run ScummVM (with the scumm plugin) on cyanogenmod here? (i.e. can you play monkey island or dott?)
Kind regards
TauPan
I had the same issue after upgrading the rom using cyanogen updater. I did not want to bother so I reflashed and took the opportunity to try another rom.
Sorry i can't help you. Good luck.
I had the same problem when I upgraded to 4.2.8.
Go to the following site:
http://sites.google.com/site/scummvmandroid/dev
Then from there hit the bottom link for the Monolithic v.8 version of ScummVM for Android. Now this one is built on ScummVM .14 and not 1.0, but at least it is something until a new version comes out.
Whee!
jzanitsch said:
I had the same problem when I upgraded to 4.2.8.
Go to the following site:
http://sites.google.com/site/scummvmandroid/dev
Then from there hit the bottom link for the Monolithic v.8 version of ScummVM for Android. Now this one is built on ScummVM .14 and not 1.0, but at least it is something until a new version comes out.
Click to expand...
Click to collapse
Hey thanks!
Unfortunately it's a bit worse with 4.2.9, scummvm terminates immediately. I didn't logcat, but it will probably look similar to what I already posted.
Since two people have posted that they have the same problem, it looks like there is some kind of compatibility issue. I probably should just wait until scummvm becomes android 2.0 compatible and use the old version until then.
Kind regards
Friedel
TauPan said:
Hey thanks!
Unfortunately it's a bit worse with 4.2.9, scummvm terminates immediately.
Click to expand...
Click to collapse
Hm, closeeverything and any version of scummvm immediately force-close with cynogenmod 4.2.9.1. Downgrading to my old backup (4.2.8).
I noticed the same issue. The developer is aware of the issue and this thread. He has added a note about it in his FAQ. http://sites.google.com/site/scummvmandroid/faq#TOC-Current-market-version-doesn-t-work2
If anyone has the time/resources, he indicated that it would be helpful to determine at which update to CyanogenMod the regression occurred. It is known in 4.2.7 and later but may occur in earlier versions. If I had to wager a guess, it may go as far back as 4.2.5 which according to the CM changelog is when Dalvik and other bits from started being worked into the build.
I think it happened with 4.2.7. I have been updating the Cyanogen mods on day of releases for a while and I upgraded my ScummVM to the new build on December 1st and it worked. I would have been running 4.2.6 at that point and it looks like 4.2.7 came out on December 3rd which is around when I started noticing the missing engines issue. (I remember the dates pretty well because I was in a hospital waiting room while playing with the new version of ScummVM).
scummvm monolithic segfaults in cm 4.2.9.1
TauPan said:
Hm, closeeverything and any version of scummvm immediately force-close with cynogenmod 4.2.9.1. Downgrading to my old backup (4.2.8).
Click to expand...
Click to collapse
Ok, here's a bit more detail on this:
De-installing scummvm and reinstalling the monolithic version or market version does not help. I see a segmentation fault in logcat with cyanogenmod 4.2.9.1
(closeeverything 2 force closes after an install of cm 4.2.9.1, however uninstalling and reinstalling it helps here)
fix_permissions does not help.
Here's the logcat (of the market version, but the monolithic version throws the same backtrace):
Code:
I/ActivityManager( 3082): Starting activity: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10100000 cmp=org.inodes.gus.scummvm/.ScummVMActivity }
I/ActivityManager( 3082): Start proc org.inodes.gus.scummvm for activity org.inodes.gus.scummvm/.ScummVMActivity: pid=4299 uid=10125 gids={1015}
W/InputManagerService( 3082): Window already focused, ignoring focus gain of: [email protected]
I/ActivityManager( 3082): Process com.android.calendar (pid 4259) has died.
I/ActivityManager( 3082): Starting activity: Intent { cmp=org.inodes.gus.scummvm/.Unpacker }
D/dalvikvm( 4299): GC freed 807 objects / 59296 bytes in 125ms
I/ActivityManager( 3082): Start proc org.inodes.gus.scummvm for broadcast org.inodes.gus.scummvm.plugin.scumm/org.inodes.gus.scummvm.PluginProvider: pid=4305 uid=10129 gids={1015}
I/ActivityManager( 3082): Displayed activity org.inodes.gus.scummvm/.Unpacker: 634 ms (total 2022 ms)
D/dalvikvm( 3065): GC freed 280 objects / 10680 bytes in 416ms
D/dalvikvm( 3065): GC freed 47 objects / 2064 bytes in 178ms
D/dalvikvm( 3065): GC freed 2 objects / 48 bytes in 116ms
I/org.inodes.gus.scummvm.U[email protected]( 4299): Extracting mylib/armeabi/libscumm.so from /data/app/org.inodes.gus.scummvm.plugin.scumm.apk to /data/data/org.inodes.gus.scummvm/cache/libscumm.so
I/ActivityManager( 3082): Process org.inodes.gus.scummvm (pid 4305) has died.
I/[email protected]( 4299): Extracting mylib/armeabi/libscummvm.so from /data/app/org.inodes.gus.scummvm.apk to /data/data/org.inodes.gus.scummvm/cache/libscummvm.so
D/dalvikvm( 4299): Trying to load lib /data/data/org.inodes.gus.scummvm/cache/libscummvm.so 0x43b5cc00
I/ActivityManager( 3082): Displayed activity org.inodes.gus.scummvm/.ScummVMActivity: 6775 ms (total 6775 ms)
D/dalvikvm( 4299): Added shared lib /data/data/org.inodes.gus.scummvm/cache/libscummvm.so 0x43b5cc00
D/ScummVM ( 4299): Entering scummvm_main with 5 args
W/ScummVM ( 4299): File::open: '/data/data/org.inodes.gus.scummvm/files/scummvmrc' does not exist
W/ScummVM ( 4299): Failed loading symbol 'PLUGIN_getVersion' from plugin '/data/data/org.inodes.gus.scummvm/cache/libscummvm.so' (Symbol not found: )
W/ScummVM ( 4299): Failed loading plugin '/data/data/org.inodes.gus.scummvm/cache/libscumm.so' (Cannot load library: reloc_library[1245]: 3065 cannot locate '_ZN6Common20updateGameGUIOptionsEj'...)
D/ScummVM ( 4299): Setting audio sampling rate to 44100HZ
D/ScummVM ( 4299): New surface is 480x320 bpr=960
W/AudioFlinger( 3066): write blocked for 97 msecs
I/DEBUG ( 3063): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( 3063): Build fingerprint: 'tmobile/kila/dream/trout:1.6/DRC83/14721:user/ota-rel-keys,release-keys'
I/DEBUG ( 3063): pid: 4299, tid: 4312 >>> org.inodes.gus.scummvm <<<
I/DEBUG ( 3063): signal 11 (SIGSEGV), fault addr 00000001
I/DEBUG ( 3063): r0 00000001 r1 00000704 r2 00000001 r3 ac138410
I/DEBUG ( 3063): r4 00000001 r5 45af8178 r6 002a3a60 r7 002a3ad4
I/DEBUG ( 3063): r8 8050ab42 r9 0029fe60 10 45af8210 fp 8054588c
I/DEBUG ( 3063): ip ac13a574 sp 45af8078 lr ac041b50 pc afb042d4 cpsr 20000010
I/DEBUG ( 3063): #00 pc 000042d4 /system/lib/libcutils.so
I/DEBUG ( 3063): #01 pc 00041b4c /system/lib/libsgl.so
I/DEBUG ( 3063): #02 pc 00042240 /system/lib/libsgl.so
I/DEBUG ( 3063): #03 pc 000424dc /system/lib/libsgl.so
I/DEBUG ( 3063): stack:
I/DEBUG ( 3063): 45af8038 00000000
I/DEBUG ( 3063): 45af803c afe0f280 /system/lib/libc.so
I/DEBUG ( 3063): 45af8040 afe3ba58
I/DEBUG ( 3063): 45af8044 000001b8
I/DEBUG ( 3063): 45af8048 00002bd0
I/DEBUG ( 3063): 45af804c 000000dc
I/DEBUG ( 3063): 45af8050 8050ab42 /data/data/org.inodes.gus.scummvm/cache/libscummvm.so
I/DEBUG ( 3063): 45af8054 afe0b56b /system/lib/libc.so
I/DEBUG ( 3063): 45af8058 45af80f0
I/DEBUG ( 3063): 45af805c afd008f3 /system/lib/libstdc++.so
I/DEBUG ( 3063): 45af8060 ac13a4e4 /system/lib/libsgl.so
I/DEBUG ( 3063): 45af8064 ac060404 /system/lib/libsgl.so
I/DEBUG ( 3063): 45af8068 000d8428 [heap]
I/DEBUG ( 3063): 45af806c ace09ab8 /system/lib/libcorecg.so
I/DEBUG ( 3063): 45af8070 df002777
I/DEBUG ( 3063): 45af8074 e3a070ad
I/DEBUG ( 3063): #00 45af8078 00000001
I/DEBUG ( 3063): 45af807c ac041b50 /system/lib/libsgl.so
I/DEBUG ( 3063): #01 45af8080 45af8178
I/DEBUG ( 3063): 45af8084 45af80bc
I/DEBUG ( 3063): 45af8088 002a3a60 [heap]
I/DEBUG ( 3063): 45af808c ac042244 /system/lib/libsgl.so
D/Zygote ( 3065): Process 4299 terminated by signal (11)
I/ActivityManager( 3082): Process org.inodes.gus.scummvm (pid 4299) has died.
I/WindowManager( 3082): WIN DEATH: Window{44053390 SurfaceView paused=false}
I/WindowManager( 3082): WIN DEATH: Window{44052780 org.inodes.gus.scummvm/org.inodes.gus.scummvm.ScummVMActivity paused=false}
W/UsageStats( 3082): Unexpected resume of com.android.vending while already resumed in org.inodes.gus.scummvm
W/InputManagerService( 3082): Got RemoteException sending setActive(false) notification to pid 4299 uid 10125
D/skia ( 4031): purging 153K from font cache [17 entries]
D/dalvikvm( 4031): GC freed 5982 objects / 375032 bytes in 165ms
same problems here
Code:
12-20 19:35:22.399: INFO/ActivityManager(4541): Start proc org.inodes.gus.scummvm for activity org.inodes.gus.scummvm/.ScummVMActivity: pid=5253 uid=10123 gids={1015}
12-20 19:35:22.589: DEBUG/ddm-heap(5253): Got feature list request
12-20 19:35:24.129: WARN/ActivityManager(4541): Permission Denial: receiving Intent { act=org.inodes.gus.scummvm.action.PLUGIN_QUERY } to org.inodes.gus.scummvm.plugin.scumm requires org.inodes.gus.scummvm.permission.SCUMMVM_PLUGIN due to sender org.inodes.gus.scummvm (uid 10123)
12-20 19:35:24.319: INFO/ActivityManager(4541): Displayed activity org.inodes.gus.scummvm/.Unpacker: 353 ms (total 1928 ms)
12-20 19:35:24.529: DEBUG/dalvikvm(5253): Trying to load lib /data/data/org.inodes.gus.scummvm/cache/libscummvm.so 0x43d21600
12-20 19:35:24.699: INFO/ActivityManager(4541): Displayed activity org.inodes.gus.scummvm/.ScummVMActivity: 2314 ms (total 2314 ms)
12-20 19:35:24.709: DEBUG/dalvikvm(5253): Added shared lib /data/data/org.inodes.gus.scummvm/cache/libscummvm.so 0x43d21600
12-20 19:35:24.759: DEBUG/ScummVM(5253): Entering scummvm_main with 5 args
12-20 19:35:24.769: WARN/ScummVM(5253): File::open: '/data/data/org.inodes.gus.scummvm/files/scummvmrc' does not exist
12-20 19:35:24.779: WARN/ScummVM(5253): Failed loading symbol 'PLUGIN_getVersion' from plugin '/data/data/org.inodes.gus.scummvm/cache/libscummvm.so' (Symbol not found: )
12-20 19:35:24.789: DEBUG/ScummVM(5253): Setting audio sampling rate to 44100HZ
12-20 19:35:24.809: DEBUG/ScummVM(5253): New surface is 480x320 bpr=960
12-20 19:35:25.459: INFO/DEBUG(5177): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
12-20 19:35:25.459: INFO/DEBUG(5177): Build fingerprint: 'tmobile/opal/sapphire/sapphire:1.6/DRC92/15632:user/ota-rel-keys,release-keys'
12-20 19:35:25.459: INFO/DEBUG(5177): pid: 5253, tid: 5260 >>> org.inodes.gus.scummvm <<<
12-20 19:35:25.459: INFO/DEBUG(5177): signal 11 (SIGSEGV), fault addr 00000001
12-20 19:35:25.459: INFO/DEBUG(5177): r0 00000001 r1 00000704 r2 00000001 r3 ac138410
12-20 19:35:25.469: INFO/DEBUG(5177): r4 00000001 r5 45ba7178 r6 001261d8 r7 0012624c
12-20 19:35:25.469: INFO/DEBUG(5177): r8 8050ab42 r9 000db758 10 45ba7210 fp 8054588c
12-20 19:35:25.469: INFO/DEBUG(5177): ip ac13a574 sp 45ba7078 lr ac041b50 pc afb042d4 cpsr 20000010
12-20 19:35:25.609: INFO/DEBUG(5177): #00 pc 000042d4 /system/lib/libcutils.so
12-20 19:35:25.619: INFO/DEBUG(5177): #01 pc 00041b4c /system/lib/libsgl.so
12-20 19:35:25.619: INFO/DEBUG(5177): #02 pc 00042240 /system/lib/libsgl.so
12-20 19:35:25.619: INFO/DEBUG(5177): #03 pc 000424dc /system/lib/libsgl.so
12-20 19:35:25.619: INFO/DEBUG(5177): stack:
12-20 19:35:25.629: INFO/DEBUG(5177): 45ba7038 00000000
12-20 19:35:25.629: INFO/DEBUG(5177): 45ba703c afe0f280 /system/lib/libc.so
12-20 19:35:25.629: INFO/DEBUG(5177): 45ba7040 afe3ba58
12-20 19:35:25.629: INFO/DEBUG(5177): 45ba7044 000001b8
12-20 19:35:25.629: INFO/DEBUG(5177): 45ba7048 00002bd0
12-20 19:35:25.629: INFO/DEBUG(5177): 45ba704c 000000dc
12-20 19:35:25.629: INFO/DEBUG(5177): 45ba7050 8050ab42 /data/data/org.inodes.gus.scummvm/cache/libscummvm.so
12-20 19:35:25.629: INFO/DEBUG(5177): 45ba7054 afe0b56b /system/lib/libc.so
12-20 19:35:25.629: INFO/DEBUG(5177): 45ba7058 45ba70f0
12-20 19:35:25.629: INFO/DEBUG(5177): 45ba705c afd008f3 /system/lib/libstdc++.so
12-20 19:35:25.629: INFO/DEBUG(5177): 45ba7060 ac13a4e4 /system/lib/libsgl.so
12-20 19:35:25.629: INFO/DEBUG(5177): 45ba7064 ac060404 /system/lib/libsgl.so
12-20 19:35:25.629: INFO/DEBUG(5177): 45ba7068 002f4cc8 [heap]
12-20 19:35:25.629: INFO/DEBUG(5177): 45ba706c ace09ab8 /system/lib/libcorecg.so
12-20 19:35:25.629: INFO/DEBUG(5177): 45ba7070 df002777
12-20 19:35:25.629: INFO/DEBUG(5177): 45ba7074 e3a070ad
12-20 19:35:25.629: INFO/DEBUG(5177): #00 45ba7078 00000001
12-20 19:35:25.639: INFO/DEBUG(5177): 45ba707c ac041b50 /system/lib/libsgl.so
12-20 19:35:25.639: INFO/DEBUG(5177): #01 45ba7080 45ba7178
12-20 19:35:25.639: INFO/DEBUG(5177): 45ba7084 45ba70bc
12-20 19:35:25.639: INFO/DEBUG(5177): 45ba7088 001261d8 [heap]
12-20 19:35:25.639: INFO/DEBUG(5177): 45ba708c ac042244 /system/lib/libsgl.so
12-20 19:35:27.579: INFO/ActivityManager(4541): Process org.inodes.gus.scummvm (pid 5253) has died.
Interesting, monolithic worked on 4.2.8 for me but now just drops me to home in 4.2.9.1.
jzanitsch said:
Interesting, monolithic worked on 4.2.8 for me but now just drops me to home in 4.2.9.1.
Click to expand...
Click to collapse
That's the visible behaviour for me, too. The segmentation fault is just visible in the log, there's no force close or anything.
Same here with 4.2.10.1
If he's linking to libsgl.so, that's not a supported NDK API. The same problem happened with CoPilot when Donut first came out.
Has any further progress been made by anyone on getting Scummvm to run? I really want to try it out but don't want to downgrade my rom
Not much as far as I can tell... I've been following the problem here: http://code.google.com/p/cyanogenmod/issues/detail?id=884
But also there is not much progress.
I got the same problem with 4.2.15.1, crash after progress bar is done...
As far as I understood the problem it seems to me, that, if cyanogen is right, it could be sufficient to statically link the libraries that are not supported by the NDK API. Or are there other implications that I am overlooking here?
I'd have done this myself, but I am stuck already with trying to compile vim for my G1. But I guess I just didn't read enough yet
hth
greetz
chriz
FYI, for someone who wants a newer ROM that SCUMMVM still works on, Blue Magic MK.II does indeed run it quite well. I'd still love to see this working on CM though.
Replying to an old thread: scummvm has been fixed a long while ago, even works on ICS nowadays.
Sent from my HTC Vision using xda premium

[SOLVED] [32A] Help with hybrid stock 32A kernel - Google ION 1.6 ROM

I've created a hybrid ROM of my stock 32A (extracted from phone) kernel and the Google ION 1.6 update
Everything works (ie. market, calls, wlan, bluetooth (turns on), data, sound, recording sound, playing music, accelerometer, etc.) except for the camera/camcorder. Here is some log output when starting the Camera app:
Code:
...
(t=0x41504e4d l=40)
D/CameraService( 36): CameraService::connect E (pid 332, client 0x22e78)
D/CameraService( 36): Client::Client E (pid 332)
D/QualcommCameraHardware( 36): createInstance: E
E/QualcommCameraHardware( 36): startCamera X: /dev/msm_camera/control0 open failed: No such file or directory!
E/QualcommCameraHardware( 36): ioctl error. camfd=-1, type=21, length=4, rc=-1, ctrlCmd.status=1072, Bad file number
E/QualcommCameraHardware( 36): ioctl error. camfd=-1, type=15, length=4, rc=-1, ctrlCmd.status=1128, Bad file number
E/QualcommCameraHardware( 36): ioctl error. camfd=-1, type=14, length=4, rc=-1, ctrlCmd.status=1200, Bad file number
D/QualcommCameraHardware( 36): createInstance: X created hardware=0x201b8
D/CameraService( 36): Client::Client X (pid 332)
D/CameraService( 36): CameraService::connect X
D/Camera ( 332): app passed NULL surface
D/CameraService( 36): setPreviewDisplay(0x0) (pid 332)
D/CameraService( 36): getParameters(antibanding=off;antibanding-
...
E/QualcommCameraHardware( 36): ioctl error. camfd=-1, type=21, length=4, rc=-1, ctrlCmd.status=11664, Bad file number
E/QualcommCameraHardware( 36): ioctl error. camfd=-1, type=15, length=4, rc=-1, ctrlCmd.status=12224, Bad file number
E/QualcommCameraHardware( 36): ioctl error. camfd=-1, type=14, length=4, rc=-1, ctrlCmd.status=12000, Bad file number
V/camera ( 332): startPreview
D/CameraService( 36): startPreview (pid 332)
D/CameraService( 36): startCameraMode(0) (pid 332)
D/CameraService( 36): mSurface is not set yet.
D/CameraService( 36): startPreviewMode (pid 332)
I/QualcommCameraHardware( 36): initPreview E: preview size=384x288
E/QualcommCameraHardware( 36): register_buf: MSM_CAM_IOCTL_(UN)REGISTER_PMEM fd -1 error Bad file number
E/QualcommCameraHardware( 36): register_buf: MSM_CAM_IOCTL_(UN)REGISTER_PMEM fd -1 error Bad file number
E/QualcommCameraHardware( 36): register_buf: MSM_CAM_IOCTL_(UN)REGISTER_PMEM fd -1 error Bad file number
E/QualcommCameraHardware( 36): register_buf: MSM_CAM_IOCTL_(UN)REGISTER_PMEM fd -1 error Bad file number
E/QualcommCameraHardware( 36): ioctl error. camfd=-1, type=1, length=28, rc=-1, ctrlCmd.status=9135, Bad file number
E/QualcommCameraHardware( 36): startPreview X initPreview failed. Not starting preview.
D/CameraService( 36): stopPreview (pid 332)
D/CameraService( 36): stopPreview(), hardware stopped OK
D/Camera-JNI( 332): release camera
D/CameraService( 36): Client::disconnect() E (pid 332 client 0x22e78)
D/CameraService( 36): hardware teardown
D/QualcommCameraHardware( 36): release E
E/QualcommCameraHardware( 36): ioctl CAMERA_EXIT fd -1 error Bad file number
E/QualcommCameraHardware( 36): config_thread exit failure: Bad file number
D/QualcommCameraHardware( 36): release X
D/QualcommCameraHardware( 36): ~QualcommCameraHardware E
D/QualcommCameraHardware( 36): ~QualcommCameraHardware X
E/QualcommCameraHardware( 36): register_buf: MSM_CAM_IOCTL_(UN)REGISTER_PMEM fd -1 error Bad file number
E/QualcommCameraHardware( 36): register_buf: MSM_CAM_IOCTL_(UN)REGISTER_PMEM fd -1 error Bad file number
E/QualcommCameraHardware( 36): register_buf: MSM_CAM_IOCTL_(UN)REGISTER_PMEM fd -1 error Bad file number
E/QualcommCameraHardware( 36): register_buf: MSM_CAM_IOCTL_(UN)REGISTER_PMEM fd -1 error Bad file number
D/CameraService( 36): removeClient (pid 332) done
D/CameraService( 36): Client::disconnect() X (pid 332)
W/dalvikvm( 332): threadid=13: thread exiting with uncaught exception (group=0x4001da20)
E/AndroidRuntime( 332): Uncaught handler: thread Thread-7 exiting due to uncaught exception
E/AndroidRuntime( 332): java.lang.RuntimeException: startPreview failed
E/AndroidRuntime( 332): at com.android.camera.Camera.startPreview(Camera.java:1360)
E/AndroidRuntime( 332): at com.android.camera.Camera.access$4000(Camera.java:78)
E/AndroidRuntime( 332): at com.android.camera.Camera$3.run(Camera.java:724)
E/AndroidRuntime( 332): at java.lang.Thread.run(Thread.java:1060)
E/AndroidRuntime( 332): Caused by: java.lang.RuntimeException: startPreview failed
E/AndroidRuntime( 332): at android.hardware.Camera.startPreview(Native Method)
E/AndroidRuntime( 332): at com.android.camera.Camera.startPreview(Camera.java:1357)
E/AndroidRuntime( 332): ... 3 more
D/CameraService( 36): Client::~Client E (pid 36, client 0x22e78)
D/CameraService( 36): Client::disconnect() E (pid 36 client 0x22e78)
D/CameraService( 36): Client::~Client X (pid 36)
I/Process ( 59): Sending signal. PID: 332 SIG: 3
I/dalvikvm( 332): threadid=7: reacting to signal 3
I/dalvikvm( 332): Wrote stack trace to '/data/anr/traces.txt'
I/DumpStateReceiver( 59): Added state dump to 1 crashes
I/Process ( 332): Sending signal. PID: 332 SIG: 9
I/ActivityManager( 59): Process com.android.camera (pid 332) has died.
I think the key bit there is 'startCamera X: /dev/msm_camera/control0 open failed: No such file or directory!'
After that, you can see successive ioctl 'Bad file number' errors.
I have a workaround by copying /system/lib/libcamera.so and /system/lib/libqcamera.so from the original, stock image of my phone. This results in a working camera. However, the camcorder can't record video. When pressing record, it freezes. No force close. Can BACK out of the app. Here's the log when that happens. As you can see, mediaserver pukes:
Code:
...
I/ActivityManager( 60): Displayed activity com.android.camera/.VideoCamera: 1260 ms (total 1260 ms)
V/videocamera( 354): initializeRecorder
V/videocamera( 354): Releasing media recorder.
D/CameraService( 495): Client::connect E (pid 495, client 0x373fc)
D/CameraService( 495): Connect to the new client (pid 495, client 0x373fc)
V/videocamera( 354): Current camera video filename: /sdcard/DCIM/Camera/video-2009-12-29-22-22-37.3gp
I/MediaRecorderJNI( 354): prepare: surface=0x1ba9a8 (id=1)
D/CameraService( 495): setPreviewDisplay(0x37800) (pid 495)
I/OMXVenc ( 495): component_init::292 Initializing component OMX.qcom.video.encoder.h263
E/OMXVenc ( 495): get_parameter::922 unsupported index 267887431
E/OMXVenc ( 495): get_parameter::899 unsupported index 117440523
E/OMXVenc ( 495): set_parameter::1099 unsupported index in set_parameter 117440523
E/OMXVenc ( 495): get_parameter::922 unsupported index 100663301
E/OMXVenc ( 495): set_parameter::1142 unsupported index 100663301
E/OMXVenc ( 495): get_parameter::922 unsupported index 100663302
E/OMXVenc ( 495): set_parameter::1142 unsupported index 100663302
I/OMXVenc ( 495): send_command::690 attempt to move to new state 2
E/OMXVenc ( 495): Setting OMX_Video_ControlRateVariable
I/VENC_DRV( 495): venc_drv_malloc::1155 /dev/pmem_adsp
I/VENC_DRV( 495): venc_drv_malloc::1183 phys lookup success virt=0x40e64000 -- FD=21 -- size - 524288
D/CameraService( 495): setPreviewDisplay(0x37800) (pid 495)
D/CameraInput( 495): Intended mFrameWidth=176, mFrameHeight=144
V/QualcommCameraHardware( 495): getParameters: EX
D/CameraService( 495): getParameters(antibanding=auto;antibanding-
...
V/QualcommCameraHardware( 495): setParameters: E params = 0x40c63cf8
V/QualcommCameraHardware( 495): requested size 176 x 144
V/QualcommCameraHardware( 495): actual size 176 x 144
V/QualcommCameraHardware( 495): initCameraParameters: E
V/QualcommCameraHardware( 495): camera hardware has been started already
V/QualcommCameraHardware( 495): initCameraParameters: set parm: CAMERA_PARM_PREVIEW_MODE, 0
V/QualcommCameraHardware( 495): Setting Zoom is 0
I/QualcommCameraHardware( 495): setting thumbnail dimensions to 512x384, quality 30
E/QualcommCameraHardware( 495): LINK_camera_set_thumbnail_properties returned 2
V/QualcommCameraHardware( 495): Setting JPEG-image quality to 100
V/QualcommCameraHardware( 495): initCameraParameters: X
V/QualcommCameraHardware( 495): setParameters: X mCameraState=3
V/QualcommCameraHardware( 495): getParameters: EX
D/CameraService( 495): getParameters(antibanding=auto;antibanding-
...
D/CameraInput( 495): Actual mFrameWidth=176, mFrameHeight=144
D/CameraService( 495): startPreview (pid 495)
D/CameraService( 495): startCameraMode(0) (pid 495)
D/CameraService( 495): startPreviewMode (pid 495)
E/MetadataDriver( 495): isCommandSuccessful: Command id(0 and expected 0) and status (-4 and expected 1), data corruption (false) at state (1).
E/MetadataDriver( 495): isCommandSuccessful: Command id(1 and expected 1) and status (-14 and expected 1), data corruption (false) at state (5).
D/dalvikvm( 60): GC freed 8852 objects / 389392 bytes in 235ms
V/videocamera( 354): startVideoRecording
I/OMXVenc ( 495): send_command::690 attempt to move to new state 3
I/VENC_DRV( 495): venc_drv_open::283 TE version = 1
D/CameraService( 495): startRecording (pid 495)
D/CameraService( 495): startCameraMode(1) (pid 495)
D/CameraService( 495): startRecordingMode (pid 495)
V/QualcommCameraHardware( 495): startPreview E
E/QualcommCameraHardware( 495): startPreview is already in progress, doing nothing.
D/AudioHardwareMSM72XX( 495): audpre_index = 0, tx_iir_index = 0
D/HTC Acoustic( 495): msm72xx_enable_audpre: 0x0000
W/AudioFlinger( 495): write blocked for 66 msecs
I/DEBUG ( 494): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( 494): Build fingerprint: 'rogers/htc_magic/sapphire/sapphire:1.5/2.17.631.2/42949:user'
I/DEBUG ( 494): pid: 495, tid: 519 >>> /system/bin/mediaserver <<<
I/DEBUG ( 494): signal 11 (SIGSEGV), fault addr 10000014
I/DEBUG ( 494): r0 00000000 r1 00000001 r2 10000014 r3 ffff0fff
I/DEBUG ( 494): r4 00000000 r5 10000014 r6 a9c8c048 r7 4080bcb4
I/DEBUG ( 494): r8 4070be38 r9 afe39dd4 10 a949bec1 fp 00000001
I/DEBUG ( 494): ip a9d4bcdc sp 4080bc58 lr afe0d46c pc ffff0fc0 cpsr 00000010
I/DEBUG ( 494): #00 pc ffff0fc0
I/DEBUG ( 494): #01 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #02 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #03 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #04 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #05 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #06 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #07 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #08 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #09 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #10 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #11 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #12 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #13 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #14 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #15 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #16 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #17 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #18 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #19 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #20 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #21 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #22 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #23 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #24 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #25 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #26 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #27 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #28 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #29 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #30 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #31 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): stack:
I/DEBUG ( 494): 4080bc18 3fc971ba
I/DEBUG ( 494): 4080bc1c 00000000
I/DEBUG ( 494): 4080bc20 00000000
I/DEBUG ( 494): 4080bc24 00000000
I/DEBUG ( 494): 4080bc28 00000000
I/DEBUG ( 494): 4080bc2c 00000000
I/DEBUG ( 494): 4080bc30 00000000
I/DEBUG ( 494): 4080bc34 00000000
I/DEBUG ( 494): 4080bc38 00000000
I/DEBUG ( 494): 4080bc3c 00000000
I/DEBUG ( 494): 4080bc40 00000001
I/DEBUG ( 494): 4080bc44 00000000
I/DEBUG ( 494): 4080bc48 00000002
I/DEBUG ( 494): 4080bc4c 00000000
I/DEBUG ( 494): 4080bc50 df002777
I/DEBUG ( 494): 4080bc54 e3a070ad
I/DEBUG ( 494): #01 4080bc58 00000000
I/DEBUG ( 494): 4080bc5c a9d398a7 /system/lib/libutils.so
W/AudioRecord( 495): obtainBuffer timed out (is the CPU pegged?) user=00005000, server=00005400
W/AudioRecord( 495): *** SERIOUS WARNING *** obtainBuffer() timed out but didn't need to be locked. We recovered, but this shouldn't happen (user=00005000, server=00005400)
W/AudioSystem( 354): AudioFlinger server died!
I/ServiceManager( 31): service 'media.audio_flinger' died
W/MediaMetadataRetriever( 354): MediaMetadataRetriever server died!
I/ServiceManager( 31): service 'media.player' died
W/Camera ( 354): ICamera died
I/ServiceManager( 31): service 'media.camera' died
W/AudioSystem( 60): AudioFlinger server died!
E/Camera ( 354): Error 100
I/DEBUG ( 494): debuggerd committing suicide to free the zombie!
I/DEBUG ( 531): debuggerd: Sep 21 2009 14:37:06
W/Camera ( 354): Camera server died!
The key bit there can be found by searching for 'SIGSEGV'
Any help on how to fix this would be appreciated! I'd like to fix this 'the right way' (ie. do not want to copy old cupcake camera app, etc.) Also, not against re-compiling the kernel, if that's what it takes.
Thanks!
Guess fix:
Compile a kernel for 32A with source from:
http://android.git.kernel.org/?p=kernel/msm.git;a=shortlog;h=refs/heads/android-msm-2.6.29-donut
It has the source for msm_camera, whereas the source from HTC does not.
Sound right?
fastboot'd the new kernel and everything appears to be working now. Just need to compile wlan.ko and I'm done!

Logcat of failed build - help needed

I am trying to port the T-Mobile Pulse 2.1 ROM on our G1. The first trials showed me that more than the usual porting is needed: I had to replace libaudio.so, libaudioflinger.so and libc.so libraries (of course I've done the basic porting, kernel, bt and gles drivers, keyboard schemes, hardware specific libraries). After replacing these two (before it I got a bootloop with a message "Waiting for sound services to start"), I won't even get to the boot screen: it just stays on the G1 logo.
This is the logcat I get:
Code:
11-18 21:11:28.320: INFO/DEBUG(207): debuggerd: Apr 17 2010 22:34:34
11-18 21:11:28.480: ERROR/vold(206): Unable to open '/sys/devices/platform/msm_hsusb_periphera/checksdstatus' (err:No such file or directory)
11-18 21:11:29.290: INFO/DEBUG(207): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
11-18 21:11:29.290: INFO/DEBUG(207): Build fingerprint: 'T-Mobile/U8220/U8220/U8220:2.1-update1/ERE27/eng.huawei.20100419.103709:user/test-keys'
11-18 21:11:29.290: INFO/DEBUG(207): pid: 218, tid: 218 >>> /system/bin/oem_rpc_svc <<<
11-18 21:11:29.290: INFO/DEBUG(207): signal 11 (SIGSEGV), fault addr 0000000c
11-18 21:11:29.290: INFO/DEBUG(207): r0 00000000 r1 00020000 r2 00000000 r3 00000000
11-18 21:11:29.290: INFO/DEBUG(207): r4 00009128 r5 bea14990 r6 00000000 r7 00000020
11-18 21:11:29.290: INFO/DEBUG(207): r8 00000000 r9 00000000 10 00000000 fp 00000000
11-18 21:11:29.290: INFO/DEBUG(207): ip 00009190 sp bea14970 lr 00008a99 pc afe1325a cpsr 40000030
11-18 21:11:29.340: INFO/DEBUG(207): #00 pc 0001325a /system/lib/libc.so
11-18 21:11:29.340: INFO/DEBUG(207): #01 pc 00008a96 /system/bin/oem_rpc_svc
11-18 21:11:29.340: INFO/DEBUG(207): #02 pc 00008b42 /system/bin/oem_rpc_svc
11-18 21:11:29.340: INFO/DEBUG(207): #03 pc 00008c2c /system/bin/oem_rpc_svc
11-18 21:11:29.340: INFO/DEBUG(207): #04 pc 0000c4f6 /system/lib/libc.so
11-18 21:11:29.350: INFO/DEBUG(207): #05 pc b00018aa /system/bin/linker
11-18 21:11:29.350: INFO/DEBUG(207): code around pc:
11-18 21:11:29.350: INFO/DEBUG(207): afe13248 226089a3 43931c20 f00081a3 bd10fad7
11-18 21:11:29.350: INFO/DEBUG(207): afe13258 8983b570 2b001c04 f00bd106 2501fdad
11-18 21:11:29.350: INFO/DEBUG(207): afe13268 60032309 e02f426d 071a2500 f000d502
11-18 21:11:29.350: INFO/DEBUG(207): code around lr:
11-18 21:11:29.350: INFO/DEBUG(207): 00008a88 f7ff1c30 2001ef66 1c30e003 ef60f7ff
11-18 21:11:29.350: INFO/DEBUG(207): 00008a98 4f062000 9c1159e6 429c6833 f7ffd001
11-18 21:11:29.350: INFO/DEBUG(207): 00008aa8 b013ef04 46c0bdf0 00000714 00000088
11-18 21:11:29.350: INFO/DEBUG(207): stack:
11-18 21:11:29.350: INFO/DEBUG(207): bea14930 00000000
11-18 21:11:29.350: INFO/DEBUG(207): bea14934 ffffffff
11-18 21:11:29.350: INFO/DEBUG(207): bea14938 afe3be90
11-18 21:11:29.350: INFO/DEBUG(207): bea1493c afe1edeb /system/lib/libc.so
11-18 21:11:29.360: INFO/DEBUG(207): bea14940 afe3be90
11-18 21:11:29.360: INFO/DEBUG(207): bea14944 afe11e33 /system/lib/libc.so
11-18 21:11:29.360: INFO/DEBUG(207): bea14948 00000000
11-18 21:11:29.360: INFO/DEBUG(207): bea1494c 00000000
11-18 21:11:29.360: INFO/DEBUG(207): bea14950 afe1391b /system/lib/libc.so
11-18 21:11:29.360: INFO/DEBUG(207): bea14954 00000000
11-18 21:11:29.360: INFO/DEBUG(207): bea14958 000001b6
11-18 21:11:29.360: INFO/DEBUG(207): bea1495c 00000000
11-18 21:11:29.360: INFO/DEBUG(207): bea14960 00000000
11-18 21:11:29.360: INFO/DEBUG(207): bea14964 00000000
11-18 21:11:29.360: INFO/DEBUG(207): bea14968 df002777
11-18 21:11:29.360: INFO/DEBUG(207): bea1496c e3a070ad
11-18 21:11:29.360: INFO/DEBUG(207): #00 bea14970 00009128 /system/bin/oem_rpc_svc
11-18 21:11:29.360: INFO/DEBUG(207): bea14974 bea14990 [stack]
11-18 21:11:29.360: INFO/DEBUG(207): bea14978 00000000
11-18 21:11:29.360: INFO/DEBUG(207): bea1497c 00008a99 /system/bin/oem_rpc_svc
11-18 21:11:29.360: INFO/DEBUG(207): #01 bea14980 00000000
11-18 21:11:29.360: INFO/DEBUG(207): bea14984 00008dcd /system/bin/oem_rpc_svc
11-18 21:11:29.360: INFO/DEBUG(207): bea14988 00000009
11-18 21:11:29.360: INFO/DEBUG(207): bea1498c bea14aa8 [stack]
11-18 21:11:29.360: INFO/DEBUG(207): bea14990 00000000
11-18 21:11:29.360: INFO/DEBUG(207): bea14994 00000000
11-18 21:11:29.360: INFO/DEBUG(207): bea14998 00000000
11-18 21:11:29.360: INFO/DEBUG(207): bea1499c 00000000
11-18 21:11:29.360: INFO/DEBUG(207): bea149a0 00000000
11-18 21:11:29.360: INFO/DEBUG(207): bea149a4 00000000
11-18 21:11:29.360: INFO/DEBUG(207): bea149a8 00000000
11-18 21:11:29.360: INFO/DEBUG(207): bea149ac 00000000
11-18 21:11:29.370: INFO/DEBUG(207): bea149b0 00000000
11-18 21:11:29.370: INFO/DEBUG(207): bea149b4 00000000
11-18 21:11:29.370: INFO/DEBUG(207): bea149b8 00000000
11-18 21:11:29.370: INFO/DEBUG(207): bea149bc 00000000
11-18 21:11:29.370: INFO/DEBUG(207): bea149c0 00000000
11-18 21:11:29.370: INFO/DEBUG(207): bea149c4 e5f8c626
11-18 21:11:29.370: INFO/DEBUG(207): bea149c8 00009128 /system/bin/oem_rpc_svc
11-18 21:11:29.370: INFO/DEBUG(207): bea149cc 00009128 /system/bin/oem_rpc_svc
11-18 21:11:29.370: INFO/DEBUG(207): bea149d0 bea14a0c [stack]
11-18 21:11:29.370: INFO/DEBUG(207): bea149d4 00000000
11-18 21:11:29.370: INFO/DEBUG(207): bea149d8 bea14aa8 [stack]
11-18 21:11:29.370: INFO/DEBUG(207): bea149dc 00008b47 /system/bin/oem_rpc_svc
11-18 21:11:30.680: INFO/DEBUG(207): debuggerd committing suicide to free the zombie!
11-18 21:11:33.500: INFO/DEBUG(240): debuggerd: Apr 17 2010 22:34:34
11-18 21:12:16.760: INFO/SamplingProfilerIntegration(211): Profiler is disabled.
11-18 21:12:16.840: INFO/Zygote(211): Preloading classes...
11-18 21:12:17.490: DEBUG/skia(211): ------ build_power_table 1.4
11-18 21:12:17.500: DEBUG/skia(211): ------ build_power_table 0.714286
11-18 21:12:30.580: INFO/Zygote(211): ...preloaded 1942 classes in 13743ms.
11-18 21:12:30.660: INFO/Zygote(211): Preloading resources...
11-18 21:12:31.150: WARN/Zygote(211): Preloaded drawable resource #0x1080062 (res/drawable/list_selector_background.xml) that varies with configuration!!
11-18 21:12:31.330: WARN/Resources(211): Converting to string: TypedValue{t=0x1c/d=0xff1a1a1a a=1 r=0x1080098}
11-18 21:12:31.330: WARN/Zygote(211): Preloaded drawable resource #0x1080098 (#ff1a1a1a) that varies with configuration!!
11-18 21:12:31.330: WARN/Resources(211): Converting to string: TypedValue{t=0x1c/d=0xffffffff a=1 r=0x1080099}
11-18 21:12:31.330: WARN/Zygote(211): Preloaded drawable resource #0x1080099 (#ffffffff) that varies with configuration!!
11-18 21:12:31.590: INFO/Zygote(211): ...preloaded 62 resources in 934ms.
11-18 21:12:31.710: INFO/Zygote(211): ...preloaded 15 resources in 122ms.
11-18 21:12:31.970: INFO/Zygote(211): Accepting command socket connections
11-18 21:12:32.050: DEBUG/ddm-heap(368): Got feature list request
11-18 21:12:32.320: WARN/dalvikvm(368): threadid=3: thread exiting with uncaught exception (group=0x40026278)
11-18 21:12:32.320: ERROR/AndroidRuntime(368): Uncaught handler: thread main exiting due to uncaught exception
11-18 21:12:32.320: ERROR/AndroidRuntime(368): *** EXCEPTION IN SYSTEM PROCESS. System will crash.
11-18 21:12:32.330: ERROR/AndroidRuntime(368): java.lang.UnsatisfiedLinkError: Library android_servers not found
11-18 21:12:32.330: ERROR/AndroidRuntime(368): at java.lang.Runtime.loadLibrary(Runtime.java:489)
11-18 21:12:32.330: ERROR/AndroidRuntime(368): at java.lang.System.loadLibrary(System.java:557)
11-18 21:12:32.330: ERROR/AndroidRuntime(368): at com.android.server.SystemServer.main(SystemServer.java:587)
11-18 21:12:32.330: ERROR/AndroidRuntime(368): at java.lang.reflect.Method.invokeNative(Native Method)
11-18 21:12:32.330: ERROR/AndroidRuntime(368): at java.lang.reflect.Method.invoke(Method.java:521)
11-18 21:12:32.330: ERROR/AndroidRuntime(368): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)
11-18 21:12:32.330: ERROR/AndroidRuntime(368): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
11-18 21:12:32.330: ERROR/AndroidRuntime(368): at dalvik.system.NativeStart.main(Native Method)
11-18 21:12:32.340: ERROR/AndroidRuntime(368): Crash logging skipped, no checkin service
11-18 21:12:33.990: INFO/SamplingProfilerIntegration(375): Profiler is disabled.
11-18 21:12:34.040: INFO/Zygote(375): Preloading classes...
11-18 21:12:34.520: DEBUG/skia(375): ------ build_power_table 1.4
11-18 21:12:34.530: DEBUG/skia(375): ------ build_power_table 0.714286
11-18 21:12:45.300: INFO/Zygote(375): ...preloaded 1942 classes in 11253ms.
11-18 21:12:45.370: INFO/Zygote(375): Preloading resources...
11-18 21:12:45.820: WARN/Zygote(375): Preloaded drawable resource #0x1080062 (res/drawable/list_selector_background.xml) that varies with configuration!!
11-18 21:12:45.980: WARN/Resources(375): Converting to string: TypedValue{t=0x1c/d=0xff1a1a1a a=1 r=0x1080098}
11-18 21:12:45.980: WARN/Zygote(375): Preloaded drawable resource #0x1080098 (#ff1a1a1a) that varies with configuration!!
11-18 21:12:45.980: WARN/Resources(375): Converting to string: TypedValue{t=0x1c/d=0xffffffff a=1 r=0x1080099}
11-18 21:12:45.980: WARN/Zygote(375): Preloaded drawable resource #0x1080099 (#ffffffff) that varies with configuration!!
11-18 21:12:46.240: INFO/Zygote(375): ...preloaded 62 resources in 864ms.
11-18 21:12:46.350: INFO/Zygote(375): ...preloaded 15 resources in 111ms.
11-18 21:12:46.590: INFO/Zygote(375): Accepting command socket connections
11-18 21:12:46.670: DEBUG/ddm-heap(402): Got feature list request
11-18 21:12:46.880: WARN/dalvikvm(402): threadid=3: thread exiting with uncaught exception (group=0x40026278)
11-18 21:12:46.880: ERROR/AndroidRuntime(402): Uncaught handler: thread main exiting due to uncaught exception
11-18 21:12:46.880: ERROR/AndroidRuntime(402): *** EXCEPTION IN SYSTEM PROCESS. System will crash.
11-18 21:12:46.890: ERROR/AndroidRuntime(402): java.lang.UnsatisfiedLinkError: Library android_servers not found
11-18 21:12:46.890: ERROR/AndroidRuntime(402): at java.lang.Runtime.loadLibrary(Runtime.java:489)
11-18 21:12:46.890: ERROR/AndroidRuntime(402): at java.lang.System.loadLibrary(System.java:557)
11-18 21:12:46.890: ERROR/AndroidRuntime(402): at com.android.server.SystemServer.main(SystemServer.java:587)
11-18 21:12:46.890: ERROR/AndroidRuntime(402): at java.lang.reflect.Method.invokeNative(Native Method)
11-18 21:12:46.890: ERROR/AndroidRuntime(402): at java.lang.reflect.Method.invoke(Method.java:521)
11-18 21:12:46.890: ERROR/AndroidRuntime(402): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)
11-18 21:12:46.890: ERROR/AndroidRuntime(402): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
11-18 21:12:46.890: ERROR/AndroidRuntime(402): at dalvik.system.NativeStart.main(Native Method)
11-18 21:12:46.900: ERROR/AndroidRuntime(402): Crash logging skipped, no checkin service
The most interesting stuff I saw there was at 11-18 21:11:30.680 :: DebuggerD killed it's own process. I don't know why did it so, but as you can see, it made the whole system crash, because it could not find android_servers library. But this particular library isn't even inside the original ROM!
Could someone please help solving this? I am trying to put together ROMs based on this all the day, no luck yet, sadly.

[Q] "Data usage" not working

Whenever i tap on "Settings"->"Data usage" I get "Unfortunately, Settings has stopped" message and Settings closes. Apparently I'm not only unable to view data, but also unable to switch mobile data. Apps from Market, like Data Monitor or My Data Manager works fine. Already tried to clear cache, clear dalvik cache, delete /data/system/usagestats/*, reflash - from early nigtlies of CM11 to M12 same bug present.
Motorola Photon Q, CyanogenMod 11-20141112-SNAPSHOT-M12-moto_msm8960_jbbl
logcat:
Code:
04-05 22:55:23.927 V/Zygote (4826): Switching descriptor 70 to /dev/null
04-05 22:55:23.927 V/Zygote (4826): Switching descriptor 10 to /dev/null
04-05 22:55:23.937 I/ActivityManager(849): Start proc com.android.settings for activity com.android.settings/.Settings: pid=4826 uid=1000 gids={41000, 1028, 1015, 1023, 3002, 3001, 3003}
04-05 22:55:24.067 D/ActivityThread(4826): handleBindApplication:com.android.settings
04-05 22:55:24.067 D/ActivityThread(4826): setTargetHeapUtilization:0.75
04-05 22:55:24.067 D/ActivityThread(4826): setTargetHeapMinFree:2097152
04-05 22:55:24.157 I/dalvikvm(4826): DexOpt: illegal method access (call Landroid/content/res/TypedArray;.<init> (Landroid/content/res/Resources;[I[II)V from Landroid/content/res/XResources$XTypedArray;)
04-05 22:55:24.157 I/dalvikvm(4826): Could not find method android.content.res.TypedArray.<init>, referenced from method android.content.res.XResources$XTypedArray.<init>
04-05 22:55:24.157 W/dalvikvm(4826): VFY: unable to resolve direct method 82: Landroid/content/res/TypedArray;.<init> (Landroid/content/res/Resources;[I[II)V
04-05 22:55:24.157 D/dalvikvm(4826): VFY: replacing opcode 0x70 at 0x0002
04-05 22:55:24.487 D/BluetoothAdapter(4826): 1110093784: getState() : mService = null. Returning STATE_OFF
04-05 22:55:24.497 W/ContextImpl(4826): Calling a method in the system process without a qualified user: android.app.ContextImpl.bindService:1607 android.content.ContextWrapper.bindService:517 android.bluetooth.BluetoothInputDevice.doBind:256 android.bluetooth.BluetoothInputDevice.<init>:249 android.bluetooth.BluetoothAdapter.getProfileProxy:1375
04-05 22:55:24.497 W/ContextImpl(4826): Calling a method in the system process without a qualified user: android.app.ContextImpl.bindService:1607 android.content.ContextWrapper.bindService:517 android.bluetooth.BluetoothPan.doBind:148 android.bluetooth.BluetoothPan.<init>:141 android.bluetooth.BluetoothAdapter.getProfileProxy:1378
04-05 22:55:24.507 D/LocalBluetoothProfileManager(4826): Adding local MAP profile
04-05 22:55:24.507 D/BluetoothMap(4826): Create BluetoothMap proxy object
04-05 22:55:24.507 W/ContextImpl(4826): Calling a method in the system process without a qualified user: android.app.ContextImpl.bindService:1607 android.content.ContextWrapper.bindService:517 android.bluetooth.BluetoothMap.doBind:109 android.bluetooth.BluetoothMap.<init>:102 android.bluetooth.BluetoothAdapter.getProfileProxy:1390
04-05 22:55:24.517 D/LocalBluetoothProfileManager(4826): LocalBluetoothProfileManager construction complete
04-05 22:55:24.517 W/ContextImpl(4826): Calling a method in the system process without a qualified user: android.app.ContextImpl.bindService:1607 android.content.ContextWrapper.bindService:517 android.bluetooth.BluetoothPbap.doBind:164 android.bluetooth.BluetoothPbap.<init>:157 com.android.settings.bluetooth.PbapServerProfile.<init>:68
04-05 22:55:24.527 D/BluetoothAdapter(4826): 1110093784: getState() : mService = null. Returning STATE_OFF
04-05 22:55:24.527 D/BluetoothAdapter(4826): 1110093784: getState() : mService = null. Returning STATE_OFF
04-05 22:55:24.928 I/Adreno200-EGL(4826): <qeglDrvAPI_eglInitialize:265>: EGL 1.4 QUALCOMM build: AU_LINUX_ANDROID_JB_2.5.2.04.02.02.088.027_msm8960_JB_2.5.2_CL3374520_release_AU (CL3374520)
04-05 22:55:24.928 I/Adreno200-EGL(4826): Build Date: 08/02/13 Fri
04-05 22:55:24.928 I/Adreno200-EGL(4826): Local Branch:
04-05 22:55:24.928 I/Adreno200-EGL(4826): Remote Branch: quic/jb_2.5.2
04-05 22:55:24.928 I/Adreno200-EGL(4826): Local Patches: NONE
04-05 22:55:24.928 I/Adreno200-EGL(4826): Reconstruct Branch: AU_LINUX_ANDROID_JB_2.5.2.04.02.02.088.027 + 109d3c2 + 0f798a2 + NOTHING
04-05 22:55:24.968 D/OpenGLRenderer(4826): Enabling debug mode 0
04-05 22:55:25.048 D/BluetoothAdapter(4826): 1110093784: getState() : mService = null. Returning STATE_OFF
04-05 22:55:25.108 W/ContextImpl(4826): Calling a method in the system process without a qualified user: android.app.ContextImpl.startService:1543 android.content.ContextWrapper.startService:494 com.android.settings.search.SettingsSearchFilterAdapter.<init>:159 com.android.settings.Settings.onCreateOptionsMenu:289 android.app.Activity.onCreatePanelMenu:2538
04-05 22:55:25.238 I/Timeline(4826): Timeline: Activity_idle id: [email protected] time:305467
04-05 22:55:26.359 I/Timeline(4826): Timeline: Activity_launch_request id:com.android.settings time:306587
04-05 22:55:26.359 I/ActivityManager(849): START u0 {act=android.intent.action.MAIN cmp=com.android.settings/.SubSettings (has extras)} from pid 4826
04-05 22:55:26.459 D/SubSettings(4826): Launching fragment com.android.settings.DataUsageSummary
04-05 22:55:26.770 E/JavaBinder(4826): !!! FAILED BINDER TRANSACTION !!!
04-05 22:55:26.770 D/AndroidRuntime(4826): Shutting down VM
04-05 22:55:26.770 W/dalvikvm(4826): threadid=1: thread exiting with uncaught exception (group=0x418a2ce0)
04-05 22:55:26.770 E/AndroidRuntime(4826): FATAL EXCEPTION: main
04-05 22:55:26.770 E/AndroidRuntime(4826): Process: com.android.settings, PID: 4826
04-05 22:55:26.770 E/AndroidRuntime(4826): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.android.settings/com.android.settings.SubSettings}: java.lang.NullPointerException
04-05 22:55:26.770 E/AndroidRuntime(4826): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2212)
04-05 22:55:26.770 E/AndroidRuntime(4826): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2271)
04-05 22:55:26.770 E/AndroidRuntime(4826): at android.app.ActivityThread.access$800(ActivityThread.java:144)
04-05 22:55:26.770 E/AndroidRuntime(4826): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1205)
04-05 22:55:26.770 E/AndroidRuntime(4826): at android.os.Handler.dispatchMessage(Handler.java:102)
04-05 22:55:26.770 E/AndroidRuntime(4826): at android.os.Looper.loop(Looper.java:136)
04-05 22:55:26.770 E/AndroidRuntime(4826): at android.app.ActivityThread.main(ActivityThread.java:5146)
04-05 22:55:26.770 E/AndroidRuntime(4826): at java.lang.reflect.Method.invokeNative(Native Method)
04-05 22:55:26.770 E/AndroidRuntime(4826): at java.lang.reflect.Method.invoke(Method.java:515)
04-05 22:55:26.770 E/AndroidRuntime(4826): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:732)
04-05 22:55:26.770 E/AndroidRuntime(4826): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:566)
04-05 22:55:26.770 E/AndroidRuntime(4826): at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)
04-05 22:55:26.770 E/AndroidRuntime(4826): at dalvik.system.NativeStart.main(Native Method)
04-05 22:55:26.770 E/AndroidRuntime(4826): Caused by: java.lang.NullPointerException
04-05 22:55:26.770 E/AndroidRuntime(4826): at com.android.settings.net.NetworkPolicyEditor.read(NetworkPolicyEditor.java:70)
04-05 22:55:26.770 E/AndroidRuntime(4826): at com.android.settings.DataUsageSummary.onCreate(DataUsageSummary.java:287)
04-05 22:55:26.770 E/AndroidRuntime(4826): at android.app.Fragment.performCreate(Fragment.java:1678)
04-05 22:55:26.770 E/AndroidRuntime(4826): at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:859)
04-05 22:55:26.770 E/AndroidRuntime(4826): at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1062)
04-05 22:55:26.770 E/AndroidRuntime(4826): at android.app.BackStackRecord.run(BackStackRecord.java:684)
04-05 22:55:26.770 E/AndroidRuntime(4826): at android.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1447)
04-05 22:55:26.770 E/AndroidRuntime(4826): at android.app.Activity.performStart(Activity.java:5240)
04-05 22:55:26.770 E/AndroidRuntime(4826): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2178)
04-05 22:55:26.770 E/AndroidRuntime(4826): ... 12 more
04-05 22:55:28.542 I/Process (4826): Sending signal. PID: 4826 SIG: 9
04-05 22:55:28.562 I/ActivityManager(849): Process com.android.settings (pid 4826) has died.
Any suggestions please?

[Q] Apps crashing with Cyanogen 12S - any help why?

Hi,
I'm having problems with apps crashing on my OnePlus with Cyaogen 12S. Three apps crash intermittently - Google Inbox, Evernote and BBC News. I also get messages saying AOSP Keyboard has stopped, and one just now saying the same about Google Play Services. Not all apps stop together, sometimes it's just one of them, sometimes several.
I got to 12S via BlissRom. I had stock, flashed BlissRom to get Lolipop and started having similar issues. I then went to 12S via full wipe but same issues. Issues dissapear after a reboot but them come back. The 12S is the stock OTA version.
I wondered if it was to do with Xposed - I've been turning modules off and on to try and isolate but no luck.
I downloaded Catlog to record what's going on in the hope someone can help. Below is what I recorded from the Evernote crash. Can anyone help me please please please? Thanks!
05-07 15:24:47.719 W/AccountManagerService(830): caller uid 10256 is different than the authenticator's uid
05-07 15:24:47.722 D/AndroidRuntime(24309): Shutting down VM
05-07 15:24:47.726 E/AndroidRuntime(24309): FATAL EXCEPTION: main
05-07 15:24:47.726 E/AndroidRuntime(24309): Process: com.evernote, PID: 24309
05-07 15:24:47.726 E/AndroidRuntime(24309): java.lang.RuntimeException: Unable to get provider com.evernote.provider.EvernoteProvider: java.lang.SecurityException: my uid = 10256, offending uid = 10256 offending pkg = com.evernote
05-07 15:24:47.726 E/AndroidRuntime(24309): context is com.evernote.Evernote
05-07 15:24:47.726 E/AndroidRuntime(24309): at android.app.ActivityThread.installProvider(ActivityThread.java:5000)
05-07 15:24:47.726 E/AndroidRuntime(24309): at android.app.ActivityThread.installContentProviders(ActivityThread.java:4592)
05-07 15:24:47.726 E/AndroidRuntime(24309): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4532)
05-07 15:24:47.726 E/AndroidRuntime(24309): at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method)
05-07 15:24:47.726 E/AndroidRuntime(24309): at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:684)
05-07 15:24:47.726 E/AndroidRuntime(24309): at android.app.ActivityThread.handleBindApplication(Unknown Source)
05-07 15:24:47.726 E/AndroidRuntime(24309): at android.app.ActivityThread.access$1600(ActivityThread.java:147)
05-07 15:24:47.726 E/AndroidRuntime(24309): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1357)
05-07 15:24:47.726 E/AndroidRuntime(24309): at android.os.Handler.dispatchMessage(Handler.java:102)
05-07 15:24:47.726 E/AndroidRuntime(24309): at android.os.Looper.loop(Looper.java:135)
05-07 15:24:47.726 E/AndroidRuntime(24309): at android.app.ActivityThread.main(ActivityThread.java:5254)
05-07 15:24:47.726 E/AndroidRuntime(24309): at java.lang.reflect.Method.invoke(Native Method)
05-07 15:24:47.726 E/AndroidRuntime(24309): at java.lang.reflect.Method.invoke(Method.java:372)
05-07 15:24:47.726 E/AndroidRuntime(24309): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:898)
05-07 15:24:47.726 E/AndroidRuntime(24309): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:693)
05-07 15:24:47.726 E/AndroidRuntime(24309): at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:117)
05-07 15:24:47.726 E/AndroidRuntime(24309): Caused by: java.lang.SecurityException: my uid = 10256, offending uid = 10256 offending pkg = com.evernote
05-07 15:24:47.726 E/AndroidRuntime(24309): context is com.evernote.Evernote
05-07 15:24:47.726 E/AndroidRuntime(24309): at com.evernote.util.a.c.a(AccountsHelper.java:133)
05-07 15:24:47.726 E/AndroidRuntime(24309): at com.evernote.util.a.c.a(AccountsHelper.java:165)
05-07 15:24:47.726 E/AndroidRuntime(24309): at com.evernote.client.d.a(AccountManager.java:230)
05-07 15:24:47.726 E/AndroidRuntime(24309): at com.evernote.client.d.<init>(AccountManager.java:171)
05-07 15:24:47.726 E/AndroidRuntime(24309): at com.evernote.client.d.a(AccountManager.java:57)
05-07 15:24:47.726 E/AndroidRuntime(24309): at com.evernote.provider.EvernoteProvider.onCreate(EvernoteProvider.java:832)
05-07 15:24:47.726 E/AndroidRuntime(24309): at android.content.ContentProvider.attachInfo(ContentProvider.java:1720)
05-07 15:24:47.726 E/AndroidRuntime(24309): at android.content.ContentProvider.attachInfo(ContentProvider.java:1689)
05-07 15:24:47.726 E/AndroidRuntime(24309): at android.app.ActivityThread.installProvider(ActivityThread.java:4997)
05-07 15:24:47.726 E/AndroidRuntime(24309): ... 15 more
05-07 15:24:47.726 E/AndroidRuntime(24309): Caused by: java.lang.SecurityException: caller uid 10256 is different than the authenticator's uid
05-07 15:24:47.726 E/AndroidRuntime(24309): at android.os.Parcel.readException(Parcel.java:1540)
05-07 15:24:47.726 E/AndroidRuntime(24309): at android.os.Parcel.readException(Parcel.java:1493)
05-07 15:24:47.726 E/AndroidRuntime(24309): at android.accounts.IAccountManager$Stub$Proxy.addAccountExplicitly(IAccountManager.java:818)
05-07 15:24:47.726 E/AndroidRuntime(24309): at android.accounts.AccountManager.addAccountExplicitly(AccountManager.java:658)
05-07 15:24:47.726 E/AndroidRuntime(24309): at com.evernote.util.a.c.a(AccountsHelper.java:90)
05-07 15:24:47.726 E/AndroidRuntime(24309): ... 23 more
05-07 15:24:47.729 W/ActivityManager(830): Force finishing activity com.evernote/.ui.HomeActivity
05-07 15:24:47.767 D/LogFetchServiceManager(3324): Received entry added
05-07 15:24:47.797 I/OpenGLRenderer(830): Initialized EGL, version 1.4
05-07 15:24:48.252 W/ActivityManager(830): Activity pause timeout for ActivityRecord{2e57349c u0 com.evernote/.ui.HomeActivity t1109 f}
05-07 15:24:48.340 I/Timeline(1683): Timeline: Activity_idle id: [email protected] time:7750037
05-07 15:24:48.610 I/Timeline(830): Timeline: Activity_windows_visible id: ActivityRecord{1b0fd386 u0 com.teslacoilsw.launcher/.NovaLauncher t1090} time:7750306
05-07 15:24:48.908 W/OpenGLRenderer(1683): Incorrectly called buildLayer on View: kg, destroying layer...
05-07 15:24:48.908 W/OpenGLRenderer(1683): Incorrectly called buildLayer on View: kg, destroying layer...
05-07 15:24:49.307 I/Process (24309): Sending signal. PID: 24309 SIG: 9
05-07 15:24:49.311 E/AudioTrack(830): AudioTrack::set : Exit
05-07 15:24:49.320 D/audio_hw_primary(245): out_set_parameters: enter: usecase(1: low-latency-playback) kvpairs: routing=8
05-07 15:24:49.320 V/listen_hw(245): listen_hw_set_parameters: Enter
05-07 15:24:49.320 V/listen_hw(245): handle_set_parameters: Enter kvpairs=routing=8 capture=0
05-07 15:24:49.320 V/listen_hw(245): handle_set_parameters: Exit
05-07 15:24:49.320 V/listen_hw(245): listen_hw_set_parameters: Exit, ret=0
05-07 15:24:49.345 W/InputMethodManagerService(830): Window already focused, ignoring focus gain of: [email protected] attribute=null, token = [email protected]
05-07 15:24:49.373 I/ActivityManager(830): Process com.evernote (pid 24309) has died
05-07 15:24:49.378 D/HeadsetStateMachine(2940): Disconnected process message: 10, size: 0
05-07 15:24:49.427 I/HotwordRecognitionRnr(1970): Starting hotword detection.
05-07 15:24:49.431 I/MicrophoneInputStream(1970): mic_starting [email protected]
05-07 15:24:49.432 D/audio_hw_primary(245): adev_open_input_stream: enter: sample_rate(16000) channel_mask(0x10) devices(0x80000004) stream_handle(0xb0fb40c0)
05-07 15:24:49.433 I/AudioFlinger(245): AudioFlinger's thread 0xae101000 ready to run
05-07 15:24:49.433 D/audio_hw_primary(245): in_standby: enter: stream (0xb0fb40c0) usecase(7: audio-record)
05-07 15:24:49.434 D/audio_hw_primary(245): in_standby: enter: stream (0xb0fb40c0) usecase(7: audio-record)
05-07 15:24:49.437 D/audio_hw_primary(245): in_set_parameters: enter: kvpairs=input_source=6;routing=-2147483644
05-07 15:24:49.438 I/MicrophoneInputStream(1970): mic_started [email protected]
05-07 15:24:49.448 D/audio_hw_primary(245): start_input_stream: enter: stream(0xb0fb40c0)usecase(7: audio-record)
05-07 15:24:49.448 D/audio_hw_primary(245): select_devices: out_snd_device(0: ) in_snd_device(61: voice-rec-mic)
05-07 15:24:49.448 D/hardware_info(245): hw_info_append_hw_type : device_name = voice-rec-mic
05-07 15:24:49.448 I/msm8974_platform(245): platform_send_audio_calibration: sending audio calibration for snd_device(61) acdb_id(119)
05-07 15:24:49.448 D/ACDB-LOADER(245): ACDB -> send_audio_cal, acdb_id = 119, path = 1
05-07 15:24:49.448 D/ACDB-LOADER(245): ACDB -> send_adm_topology
05-07 15:24:49.448 D/ACDB-LOADER(245): ACDB -> ACDB_CMD_GET_AUDPROC_COMMON_TOPOLOGY_ID
05-07 15:24:49.448 D/ACDB-LOADER(245): ACDB -> send_asm_topology
05-07 15:24:49.448 D/ACDB-LOADER(245): ACDB -> ACDB_CMD_GET_AUDPROC_STREAM_TOPOLOGY_ID
05-07 15:24:49.448 D/ACDB-LOADER(245): ACDB -> send_audtable
05-07 15:24:49.448 D/ACDB-LOADER(245): ACDB -> ACDB_CMD_GET_AUDPROC_COMMON_TABLE
05-07 15:24:49.448 D/ACDB-LOADER(245): ACDB -> AUDIO_SET_AUDPROC_CAL
05-07 15:24:49.448 D/ACDB-LOADER(245): ACDB -> send_audvoltable
05-07 15:24:49.448 D/ACDB-LOADER(245): ACDB -> ACDB_CMD_GET_AUDPROC_GAIN_DEP_STEP_TABLE
05-07 15:24:49.448 D/ (245): Failed to fetch the lookup information of the device 00000077
05-07 15:24:49.448 E/ACDB-LOADER(245): Error: ACDB AudProc vol returned = -19
05-07 15:24:49.448 D/ACDB-LOADER(245): ACDB -> AUDIO_SET_AUDPROC_VOL_CAL
05-07 15:24:49.448 D/ACDB-LOADER(245): ACDB -> AUDIO_SET_AFE_CAL
05-07 15:24:49.448 I/listen_hal_loader(245): audio_extn_listen_update_status(): stop listen. current active device = voice-rec-mic. Event = 1
05-07 15:24:49.448 V/listen_hw(245): listen_hw_notify_event: Enter
05-07 15:24:49.448 V/listen_hw(245): handle_notify_event: Enter, event type = 1
05-07 15:24:49.448 V/listen_hw(245): handle_notify_event: nothing to do, actual mad state = 0
05-07 15:24:49.453 D/audio_hw_primary(245): select_devices: done
05-07 15:24:49.567 I/HotwordWorker(1970): onReady
05-07 15:24:51.895 E/AudioTrack(830): AudioTrack::set : Exit
05-07 15:24:51.900 D/audio_hw_primary(245): out_set_parameters: enter: usecase(1: low-latency-playback) kvpairs: routing=8
05-07 15:24:51.900 V/listen_hw(245): listen_hw_set_parameters: Enter
05-07 15:24:51.900 V/listen_hw(245): handle_set_parameters: Enter kvpairs=routing=8 capture=1
05-07 15:24:51.900 V/listen_hw(245): handle_set_parameters: Exit
05-07 15:24:51.900 V/listen_hw(245): listen_hw_set_parameters: Exit, ret=0
05-07 15:24:51.907 I/ActivityManager(830): START u0 {act=com.android.systemui.recents.SHOW_RECENTS flg=0x10804000 cmp=com.android.systemui/.recents.RecentsActivity (has extras)} from uid 10027 on display 0
05-07 15:24:51.937 I/MicrophoneInputStream(1970): mic_close [email protected]
05-07 15:24:51.952 D/audio_hw_primary(245): in_standby: enter: stream (0xb0fb40c0) usecase(7: audio-record)
05-07 15:24:51.973 D/hardware_info(245): hw_info_append_hw_type : device_name = voice-rec-mic
05-07 15:24:51.976 I/listen_hal_loader(245): audio_extn_listen_update_status(): start listen. current active device = voice-rec-mic. Event = 0
05-07 15:24:51.976 V/listen_hw(245): listen_hw_notify_event: Enter
05-07 15:24:51.976 V/listen_hw(245): handle_notify_event: Enter, event type = 0
05-07 15:24:51.976 V/listen_hw(245): handle_notify_event: nothing to do, actual mad state = 0
05-07 15:24:51.979 D/audio_hw_primary(245): adev_close_input_stream: enter:stream_handle(0xb0fb40c0)
05-07 15:24:51.979 D/audio_hw_primary(245): in_standby: enter: stream (0xb0fb40c0) usecase(7: audio-record)
05-07 15:24:51.981 I/HotwordRecognitionRnr(1970): Hotword detection finished
05-07 15:24:51.982 I/HotwordRecognitionRnr(1970): Stopping hotword detection.
05-07 15:24:52.014 W/ResourceType(1217): No package identifier when getting value for resource number 0x00000000
05-07 15:24:52.014 W/PackageManager(1217): Failure retrieving resources for com.grppl.android.shell.CMBlloydsTSB73: Resource ID #0x0
05-07 15:24:52.021 W/ResourceType(1217): No package identifier when getting value for resource number 0x00000000
05-07 15:24:52.022 W/PackageManager(1217): Failure retrieving resources for com.android.calculator2: Resource ID #0x0
05-07 15:24:52.041 W/ResourceType(1217): No package identifier when getting value for resource number 0x00000000
05-07 15:24:52.041 W/PackageManager(1217): Failure retrieving resources for com.whatsapp: Resource ID #0x0
05-07 15:24:52.056 W/ResourceType(1217): No package identifier when getting value for resource number 0x00000000
05-07 15:24:52.056 W/PackageManager(1217): Failure retrieving resources for com.google.android.apps.inbox: Resource ID #0x0
05-07 15:24:52.072 W/ResourceType(1217): No package identifier when getting value for resource number 0x00000000
05-07 15:24:52.073 W/PackageManager(1217): Failure retrieving resources for com.nolanlawson.logcat: Resource ID #0x0
05-07 15:24:52.169 I/Timeline(1217): Timeline: Activity_idle id: [email protected] time:7753866
05-07 15:24:52.358 I/Timeline(830): Timeline: Activity_windows_visible id: ActivityRecord{3080933b u0 com.android.systemui/.recents.RecentsActivity t1101} time:7754054
05-07 15:24:52.374 D/TaskPersister(830): removeObsoleteFile: deleting file=1109_task.xml
05-07 15:24:52.378 D/TaskPersister(830): removeObsoleteFile: deleting file=1109_task_thumbnail.png
05-07 15:24:53.728 E/AudioTrack(830): AudioTrack::set : Exit
05-07 15:24:53.740 D/audio_hw_primary(245): out_set_parameters: enter: usecase(1: low-latency-playback) kvpairs: routing=8
05-07 15:24:53.740 V/listen_hw(245): listen_hw_set_parameters: Enter
05-07 15:24:53.740 V/listen_hw(245): handle_set_parameters: Enter kvpairs=routing=8 capture=0
05-07 15:24:53.740 V/listen_hw(245): handle_set_parameters: Exit
05-07 15:24:53.740 V/listen_hw(245): listen_hw_set_parameters: Exit, ret=0
05-07 15:24:53.858 V/PhoneStatusBar(1217): setLightsOn(true)
05-07 15:24:54.025 I/Timeline(24159): Timeline: Activity_idle id: [email protected] time:7755721
05-07 15:24:54.036 V/PhoneStatusBar(1217): setLightsOn(true)
05-07 15:24:54.042 W/InputMethodManagerService(830): Starting input on non-focused client [email protected] (uid=10027 pid=1217)
05-07 15:24:54.363 I/Timeline(830): Timeline: Activity_windows_visible id: ActivityRecord{1b3e53d3 u0 com.nolanlawson.logcat/.LogcatActivity t1108} time:7756060
I have the same issue on all my devices (various ROMs on 4.4.4) with Evernote.
My idea is that it might have something to do with my installed XPrivacy, but just disabling it for Evernote does not help. Do you have something similar installed for permission management?
My fb crashes every now and then on stock cm12s
Sent from my A0001 using XDA Free mobile app
As followup to my issue:
deactivating XPrivacy completely in XPosed for the time of the creation of the Evernote account and reenabling it afterwards again solved it. However, after some time I had to redo this again...
Vankog said:
As followup to my issue:
deactivating XPrivacy completely in XPosed for the time of the creation of the Evernote account and reenabling it afterwards again solved it. However, after some time I had to redo this again...
Click to expand...
Click to collapse
I did a clean install to 12S. Xfered my apps back via TITanium. Everything except Apex worked great. Apex would throw an occasional FC. Cleared Apex cache/data, removed Apex and reinstalled. Works great now.
All other apps problem free.

Categories

Resources