Logcat of failed build - help needed - G1 Android Development

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.

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!

Porting VSuiteApp 4.0 to other phones

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

[Q] com.android.phone Force Close

Guys
I have a Sensation with stock T-Mobile ROM with no rooting or anything similar done on it. Basically its the Mrs' phone and she's recently getting cyclical force closes saying something about 'com.android.phone' having crashed. Please see screenshots below. If I force close it, then the signal bars disappear and then the phone comes back onto the network and after a while it does the same thing again. Also while this happens, the phone UI goes dead slow, so i assume that the CPU is being used continuously thereby causing the phone to drain down quickly.
Current actions taken: Tried to uninstall new programs, but its still failing. Also looking at logs using logcat, I see some regular fatal exceptions like:
E/JavaBinder( 1439): *** Uncaught remote exception! (Exceptions are not yet supported across processes.)
11-18 10:23:24.971 E/JavaBinder( 1439): java.lang.RuntimeException: android.os.DeadObjectException
11-18 10:23:24.971 E/JavaBinder( 1439): at android.os.Parcel.writeException(Parcel.java:1223)
11-18 10:23:24.971 E/JavaBinder( 1439): at android.os.Binder.execTransact(Binder.java:322)
11-18 10:23:24.971 E/JavaBinder( 1439): at dalvik.system.NativeStart.run(Native Method)
11-18 10:23:24.971 E/JavaBinder( 1439): Caused by: android.os.DeadObjectException
11-18 10:23:24.971 E/JavaBinder( 1439): at android.os.BinderProxy.transact(Native Method)
11-18 10:23:24.971 E/JavaBinder( 1439): at android.content.IIntentReceiver$Stub$Proxy.performReceive(IIntentReceiver.java:121)
11-18 10:23:24.971 E/JavaBinder( 1439): at android.app.ActivityThread$ApplicationThread.scheduleRegisteredReceiver(ActivityThread.java:667)
11-18 10:23:24.971 E/JavaBinder( 1439): at android.app.ApplicationThreadNative.onTransact(ApplicationThreadNative.java:325)
11-18 10:23:24.971 E/JavaBinder( 1439): at android.os.Binder.execTransact(Binder.java:320)
Have you experienced something like this before? I tried to search for similar errors but haven't seen any here.
Guys
Just saw this trace appear when the exception came on:
11-18 10:41:23.033 E/dalvikvm-heap( 2073): Out of memory on a 2036842-byte allocation.
11-18 10:41:23.033 I/dalvikvm( 2073): "main" prio=5 tid=1 RUNNABLE
11-18 10:41:23.033 I/dalvikvm( 2073): | group="main" sCount=0 dsCount=0 obj=0x40027590 self=0xd030
11-18 10:41:23.033 I/dalvikvm( 2073): | sysTid=2073 nice=0 sched=0/0 cgrp=default handle=-1345002112
11-18 10:41:23.033 I/dalvikvm( 2073): | schedstat=( 5924891393 5811177013 5314 )
11-18 10:41:23.033 I/dalvikvm( 2073): at java.lang.AbstractStringBuilder.enlargeBuffer(AbstractStringBuilder.java:~95)
11-18 10:41:23.033 I/dalvikvm( 2073): at java.lang.AbstractStringBuilder.append0(AbstractStringBuilder.java:153)
11-18 10:41:23.033 I/dalvikvm( 2073): at java.lang.StringBuilder.append(StringBuilder.java:217)
11-18 10:41:23.033 I/dalvikvm( 2073): at com.android.internal.telephony.gsm.GsmDataConnectionTracker.log(GsmDataConnectionTracker.java:2561)
11-18 10:41:23.033 I/dalvikvm( 2073): at com.android.internal.telephony.gsm.GsmDataConnectionTracker.trySetupData(GsmDataConnectionTracker.java:866)
11-18 10:41:23.033 I/dalvikvm( 2073): at com.android.internal.telephony.gsm.GsmDataConnectionTracker.onTrySetupData(GsmDataConnectionTracker.java:1762)
11-18 10:41:23.033 I/dalvikvm( 2073): at com.android.internal.telephony.DataConnectionTracker.handleMessage(DataConnectionTracker.java:553)
11-18 10:41:23.033 I/dalvikvm( 2073): at com.android.internal.telephony.gsm.GsmDataConnectionTracker.handleMessage(GsmDataConnectionTracker.java:2555)
11-18 10:41:23.033 I/dalvikvm( 2073): at android.os.Handler.dispatchMessage(Handler.java:99)
11-18 10:41:23.033 I/dalvikvm( 2073): at android.os.Looper.loop(Looper.java:150)
11-18 10:41:23.033 I/dalvikvm( 2073): at android.app.ActivityThread.main(ActivityThread.java:4293)
11-18 10:41:23.033 I/dalvikvm( 2073): at java.lang.reflect.Method.invokeNative(Native Method)
11-18 10:41:23.033 I/dalvikvm( 2073): at java.lang.reflect.Method.invoke(Method.java:507)
11-18 10:41:23.043 I/dalvikvm( 2073): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:849)
11-18 10:41:23.043 I/dalvikvm( 2073): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:607)
11-18 10:41:23.043 I/dalvikvm( 2073): at dalvik.system.NativeStart.main(Native Method)
11-18 10:41:23.043 I/dalvikvm( 2073):
11-18 10:41:23.043 E/dalvikvm( 2073): Out of memory: Heap Size=26823KB, Allocated=20196KB, Bitmap Size=5060KB, Limit=32768KB
11-18 10:41:23.043 E/dalvikvm( 2073): Extra info: Footprint=26823KB, Allowed Footprint=26823KB, Trimmed=416KB
11-18 10:41:23.043 D/AndroidRuntime( 2073): Shutting down VM
11-18 10:41:23.043 W/dalvikvm( 2073): threadid=1: thread exiting with uncaught exception (group=0x4001d648)
11-18 10:41:23.043 E/AndroidRuntime( 2073): FATAL EXCEPTION: main
11-18 10:41:23.043 E/AndroidRuntime( 2073): java.lang.OutOfMemoryError: (Heap Size=26823KB, Allocated=20196KB, Bitmap Size=5060KB)
11-18 10:41:23.043 E/AndroidRuntime( 2073): at java.lang.AbstractStringBuilder.enlargeBuffer(AbstractStringBuilder.java:95)
11-18 10:41:23.043 E/AndroidRuntime( 2073): at java.lang.AbstractStringBuilder.append0(AbstractStringBuilder.java:153)
11-18 10:41:23.043 E/AndroidRuntime( 2073): at java.lang.StringBuilder.append(StringBuilder.java:217)
11-18 10:41:23.043 E/AndroidRuntime( 2073): at com.android.internal.telephony.gsm.GsmDataConnectionTracker.log(GsmDataConnectionTracker.java:2561)
11-18 10:41:23.043 E/AndroidRuntime( 2073): at com.android.internal.telephony.gsm.GsmDataConnectionTracker.trySetupData(GsmDataConnectionTracker.java:866)
11-18 10:41:23.043 E/AndroidRuntime( 2073): at com.android.internal.telephony.gsm.GsmDataConnectionTracker.onTrySetupData(GsmDataConnectionTracker.java:1762)
11-18 10:41:23.043 E/AndroidRuntime( 2073): at com.android.internal.telephony.DataConnectionTracker.handleMessage(DataConnectionTracker.java:553)
11-18 10:41:23.043 E/AndroidRuntime( 2073): at com.android.internal.telephony.gsm.GsmDataConnectionTracker.handleMessage(GsmDataConnectionTracker.java:2555)
11-18 10:41:23.043 E/AndroidRuntime( 2073): at android.os.Handler.dispatchMessage(Handler.java:99)
11-18 10:41:23.043 E/AndroidRuntime( 2073): at android.os.Looper.loop(Looper.java:150)
11-18 10:41:23.043 E/AndroidRuntime( 2073): at android.app.ActivityThread.main(ActivityThread.java:4293)
11-18 10:41:23.043 E/AndroidRuntime( 2073): at java.lang.reflect.Method.invokeNative(Native Method)
11-18 10:41:23.043 E/AndroidRuntime( 2073): at java.lang.reflect.Method.invoke(Method.java:507)
11-18 10:41:23.043 E/AndroidRuntime( 2073): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:849)
11-18 10:41:23.043 E/AndroidRuntime( 2073): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:607)
11-18 10:41:23.043 E/AndroidRuntime( 2073): at dalvik.system.NativeStart.main(Native Method)
11-18 10:41:24.585 W/dalvikvm( 409): disableGcForExternalAlloc: false
11-18 10:41:24.855 D/MyHTC ( 491): PoweronReceiver.onReceive(): intent=android.intent.action.SIM_STATE_CHANGED
11-18 10:41:24.855 D/MyHTC ( 491): PoweronReceiver onReceive(): ACTION_SIM_STATE_CHANGED ss = LOADED
11-18 10:41:24.855 D/MyHTC ( 491): PoweronReceiver onReceive(): ACTION_SIM_STATE_CHANGED LOADED
11-18 10:41:24.895 D/vending ( 731): [14] 1.run(): Clearing cache in response to android.intent.action.SIM_STATE_CHANGED
Anybody have any clue on this? Is hard reset the only option (I would rather not do that)?
Anyone seen this?
Touch screen issue? Any issues like the thread here?
http://forum.xda-developers.com/showthread.php?t=1239238&highlight=touchscreen
Thanks, but i suspect that the process force closes is what is using CPU and further causing the screens to be unresponsive. When the process is not failing, then it is very fluid and responsive.
Any other thoughts?

App force closing (Parcel)

I was on KK and flashed Foxhound (L). Decided to go back to KK, so flashed TWRP back up. Everything except one app is working fine. "Parcel back up and restore" force closes after getting granted su permission. All my app backups are on my SD card, which I don't really need, but I would like the app to start working again. Log if anyone knows how to read it, I think the line "Requires newer sdk version #21 (current version is #19)" could be the issue.
Enabling debug mode 0
11-18 17:47:51.380 D/AndroidRuntime( 7328):
11-18 17:47:51.380 D/AndroidRuntime( 7328): >>>>>> AndroidRuntime START com.android.internal.os.RuntimeInit <<<<<<
11-18 17:47:51.380 D/AndroidRuntime( 7328): CheckJNI is OFF
11-18 17:47:51.390 D/dalvikvm( 7328): Trying to load lib libjavacore.so 0x0
11-18 17:47:51.390 D/dalvikvm( 7328): Added shared lib libjavacore.so 0x0
11-18 17:47:51.400 D/dalvikvm( 7328): Trying to load lib libnativehelper.so 0x0
11-18 17:47:51.400 D/dalvikvm( 7328): Added shared lib libnativehelper.so 0x0
11-18 17:47:51.400 D/dalvikvm( 7328): No JNI_OnLoad found in libnativehelper.so 0x0, skipping init
11-18 17:47:51.410 I/ActivityManager( 2286): Displayed uk.co.curlybracket.backup/.ui.MainActivity: +397ms
11-18 17:47:51.420 E/cutils-trace( 7328): Error opening trace file: No such file or directory (2)
11-18 17:47:51.430 D/dalvikvm( 7328): Note: class Landroid/app/ActivityManagerNative; has 180 unimplemented (abstract) methods
11-18 17:47:51.430 I/Timeline( 7296): Timeline: Activity_idle id: [email protected] time:298666
11-18 17:47:51.590 D/AndroidRuntime( 7328): Calling main entry com.android.commands.am.Am
11-18 17:47:51.610 I/Timeline( 2286): Timeline: Activity_windows_visible id: ActivityRecord{430e5388 u0 uk.co.curlybracket.backup/.ui.MainActivity t7} time:298843
11-18 17:47:51.620 D/AndroidRuntime( 7328): Shutting down VM
11-18 17:47:51.640 D/AndroidRuntime( 7350):
11-18 17:47:51.640 D/AndroidRuntime( 7350): >>>>>> AndroidRuntime START com.android.internal.os.RuntimeInit <<<<<<
11-18 17:47:51.640 D/AndroidRuntime( 7350): CheckJNI is OFF
11-18 17:47:51.650 D/dalvikvm( 7350): Trying to load lib libjavacore.so 0x0
11-18 17:47:51.650 D/dalvikvm( 7350): Added shared lib libjavacore.so 0x0
11-18 17:47:51.660 D/dalvikvm( 7350): Trying to load lib libnativehelper.so 0x0
11-18 17:47:51.660 D/dalvikvm( 7350): Added shared lib libnativehelper.so 0x0
11-18 17:47:51.660 D/dalvikvm( 7350): No JNI_OnLoad found in libnativehelper.so 0x0, skipping init
11-18 17:47:51.670 E/cutils-trace( 7350): Error opening trace file: No such file or directory (2)
11-18 17:47:51.680 D/dalvikvm( 7350): Note: class Landroid/app/ActivityManagerNative; has 180 unimplemented (abstract) methods
11-18 17:47:51.740 D/AndroidRuntime( 7351):
11-18 17:47:51.740 D/AndroidRuntime( 7351): >>>>>> AndroidRuntime START com.android.internal.os.RuntimeInit <<<<<<
11-18 17:47:51.750 D/AndroidRuntime( 7351): CheckJNI is OFF
11-18 17:47:51.750 D/dalvikvm( 7351): Unable to stat classpath element '/system/framework/telephony-msim.jar'
11-18 17:47:51.750 D/dalvikvm( 7351): Unable to stat classpath element '/system/framework/framework-pac.jar'
11-18 17:47:51.750 D/dalvikvm( 7351): Unable to stat classpath element '/system/framework/framework-bam.jar'
11-18 17:47:51.750 D/dalvikvm( 7351): Unable to stat classpath element '/system/framework/qcmediaplayer.jar'
11-18 17:47:51.760 D/dalvikvm( 7351): Trying to load lib libjavacore.so 0x0
11-18 17:47:51.760 D/dalvikvm( 7351): Added shared lib libjavacore.so 0x0
11-18 17:47:51.760 D/dalvikvm( 7351): Trying to load lib libnativehelper.so 0x0
11-18 17:47:51.760 D/dalvikvm( 7351): Added shared lib libnativehelper.so 0x0
11-18 17:47:51.760 D/dalvikvm( 7351): No JNI_OnLoad found in libnativehelper.so 0x0, skipping init
11-18 17:47:51.780 E/cutils-trace( 7351): Error opening trace file: No such file or directory (2)
11-18 17:47:51.790 D/dalvikvm( 7351): Note: class Landroid/app/ActivityManagerNative; has 180 unimplemented (abstract) methods
11-18 17:47:51.830 D/AndroidRuntime( 7350): Calling main entry com.android.commands.am.Am
11-18 17:47:51.850 D/AndroidRuntime( 7350): Shutting down VM
11-18 17:47:51.860 I/AndroidRuntime( 7350): NOTE: attach of thread 'Binder_2' failed
11-18 17:47:51.930 D/AndroidRuntime( 7351): Calling main entry com.android.commands.pm.Pm
11-18 17:47:51.940 D/AndroidRuntime( 7351): Shutting down VM
11-18 17:47:52.260 W/InputMethodManagerService( 2286): Window already focused, ignoring focus gain of: [email protected] attribute=null, token = [email protected]
11-18 17:47:53.500 W/dalvikvm( 7296): threadid=12: thread exiting with uncaught exception (group=0x4164cc80)
11-18 17:47:53.500 W/PackageParser( 7296): /storage/emulated/0/parcel_backups/com.android.managedprovisioning/ManagedProvisioning.apk (at Binary XML file line #0): Requires newer sdk version #21 (current version is #19)
11-18 17:47:53.500 E/AndroidRuntime( 7296): FATAL EXCEPTION: Thread-267
11-18 17:47:53.500 E/AndroidRuntime( 7296): Process: uk.co.curlybracket.backup, PID: 7296
11-18 17:47:53.500 E/AndroidRuntime( 7296): java.lang.NullPointerException
11-18 17:47:53.500 E/AndroidRuntime( 7296): at uk.co.curlybracket.backup.model.AppInfoHelper.addUninstalledBackups(AppInfoHelper.java:114)
11-18 17:47:53.500 E/AndroidRuntime( 7296): at uk.co.curlybracket.backup.model.AppInfoHelper.getPackageInfo(AppInfoHelper.java:88)
11-18 17:47:53.500 E/AndroidRuntime( 7296): at uk.co.curlybracket.backup.ui.MainActivity.updateAppInfoList(MainActivity.java:317)
11-18 17:47:53.500 E/AndroidRuntime( 7296): at uk.co.curlybracket.backup.ui.MainActivity$3.run(MainActivity.java:309)
11-18 17:47:53.500 E/AndroidRuntime( 7296): at java.lang.Thread.run(Thread.java:841)
11-18 17:47:53.500 W/ActivityManager( 2286): Force finishing activity uk.co.curlybracket.backup/.ui.MainActivity
11-18 17:47:53.570 D/ssLauncher( 2976): onStart
11-18 17:47:53.580 D/ssLauncher( 2976): onResume
11-18 17:47:53.580 D/ssLauncher( 2976): onPostResume
11-18 17:47:53.630 W/ActivityManager( 2286): No content provider found for permission check: content://com.google.android.gm/[email protected]/labels
11-18 17:47:53.630 E/ActivityThread( 2976): Failed to find provider info for com.google.android.gm
11-18 17:47:53.630 W/ActivityManager( 2286): No content provider found for permission revoke: content://com.google.android.gm/[email protected]/labels
11-18 17:47:53.660 I/Timeline( 2976): Timeline: Activity_idle id: [email protected] time:300892
11-18 17:47:53.950 I/Timeline( 2286): Timeline: Activity_windows_visible id: ActivityRecord{432bd7a0 u0 com.ss.launcher.to/com.ss.launcher.SsLauncherActivity t1} time:301188
11-18 17:47:55.260 I/Process ( 7296): Sending signal. PID: 7296 SIG: 9
11-18 17:47:55.270 D/ssLauncher( 2976): hasFocus = true
11-18 17:47:55.290 I/ActivityManager( 2286): Process uk.co.curlybracket.backup (pid 7296) has died.
11-18 17:47:56.160 D/AndroidRuntime( 7391):
11-18 17:47:56.160 D/AndroidRuntime( 7391): >>>>>> AndroidRuntime START com.android.internal.os.RuntimeInit <<<<<<
11-18 17:47:56.160 D/AndroidRuntime( 7391): CheckJNI is OFF
11-18 17:47:56.170 D/dalvikvm( 7391): Trying to load lib libjavacore.so 0x0
11-18 17:47:56.170 D/dalvikvm( 7391): Added shared lib libjavacore.so 0x0
11-18 17:47:56.180 D/dalvikvm( 7391): Trying to load lib libnativehelper.so 0x0
11-18 17:47:56.180 D/dalvikvm( 7391): Added shared lib libnativehelper.so 0x0
11-18 17:47:56.180 D/dalvikvm( 7391): No JNI_OnLoad found in libnativehelper.so 0x0, skipping init
11-18 17:47:56.200 E/cutils-trace( 7391): Error opening trace file: No such file or directory (2)
11-18 17:47:56.200 D/dalvikvm( 7391): Note: class Landroid/app/ActivityManagerNative; has 180 unimplemented (abstract) methods
11-18 17:47:56.340 D/AndroidRuntime( 7391): Calling main entry com.android.commands.am.Am
11-18 17:47:56.350 D/AndroidRuntime( 7391): Shutting down VM
Sent from my Nexus 5 using Tapatalk

Categories

Resources