[Q] Help with a Crash - One (M8) Q&A, Help & Troubleshooting

Hi All,
I posted a similar thread a few days back but the parameters of the problem have changed enough that I feel like it would be confusing to try and continue down that path.
Anyway, my phone seems to crash every once in a while. It becomes unresponsive, but is still accessible via ADB, so I"ve been trying to debug via logcat to see what's going wrong. The problem is I never really looked at the logcat BEFORE this situation (why would I) so I have no idea which of these errors are normal.
All of this is after a CLEAN install (full wipe) with no restore, either via Google (I set up as a new device) or Titanium (I restored messages and call log and the data for like 3 games, but for the most part no restoring of anything, all fresh installs).
THe most common non-fatal ones are :
Code:
I/ActivityManager( 892): Cannot resolve ContentProvider=ui.email2.android.com
It's not even a warning but I see it a LOT. Dozens of times.
I get this error a lot :
Code:
E/Vold ( 382): Failed to find mounted volume for /storage/ext_sd/Android/data/com.amazon.venezia/files/
Not just for amazon.venezia (teh Amazon app store I believe) but also a few other apps, all looking for stuff on /storage/ext_sd. I do NOT have an external SD card, nor have I ever, so I have no idea why things are looking there.
The first fatal error I see is sandwiched between dozens of the ext_sd messages, and looks like this :
Code:
--------- beginning of crash
E/AndroidRuntime( 892): *** FATAL EXCEPTION IN SYSTEM PROCESS: main
E/AndroidRuntime( 892): java.lang.NullPointerException: Attempt to invoke interface method 'void o.CK.D()' on a null object reference
E/AndroidRuntime( 892): at android.os.Parcel.readException(Parcel.java)
E/AndroidRuntime( 892): at android.os.Parcel.readException(Parcel.java)
E/AndroidRuntime( 892): at com.android.internal.widget.IRemoteViewsAdapterConnection$Stub$Proxy.onServiceConnected(IRemoteViewsAdapterConnection.java)
E/AndroidRuntime( 892): at com.android.server.appwidget.AppWidgetServiceImpl$ServiceConnectionProxy.onServiceConnected(AppWidgetServiceImpl.java)
E/AndroidRuntime( 892): at android.app.LoadedApk$ServiceDispatcher.doConnected(LoadedApk.java)
E/AndroidRuntime( 892): at android.app.LoadedApk$ServiceDispatcher$RunConnection.run(LoadedApk.java)
E/AndroidRuntime( 892): at android.os.Handler.handleCallback(Handler.java)
E/AndroidRuntime( 892): at android.os.Handler.dispatchMessage(Handler.java)
E/AndroidRuntime( 892): at android.os.Looper.loop(Looper.java)
E/AndroidRuntime( 892): at com.android.server.SystemServer.run(SystemServer.java)
E/AndroidRuntime( 892): at com.android.server.SystemServer.main(SystemServer.java)
E/AndroidRuntime( 892): at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime( 892): at java.lang.reflect.Method.invoke(Method.java:372)
E/AndroidRuntime( 892): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java)
E/AndroidRuntime( 892): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java)
E/Vold ( 382): Failed to find mounted volume for /storage/ext_sd/Android/data/com.amazon.venezia/files/
W/Vold ( 382): Returning OperationFailed - no handler for errno 22
E/Vold ( 382): Failed to find mounted volume for /storage/ext_sd/Android/data/com.amazon.venezia/files/
W/Vold ( 382): Returning OperationFailed - no handler for errno 22
E/AndroidRuntime( 2165): FATAL EXCEPTION: NetworkLocationCallbackRunner
E/AndroidRuntime( 2165): Process: com.google.process.location, PID: 2165
E/AndroidRuntime( 2165): java.lang.SecurityException: attempting to read gservices without permission: Neither user 10009 nor current process has com.google.android.providers.gsf.permission.READ_GSERVICES.
E/AndroidRuntime( 2165): at android.app.ContextImpl.enforce(ContextImpl.java)
E/AndroidRuntime( 2165): at android.app.ContextImpl.enforceCallingOrSelfPermission(ContextImpl.java)
E/AndroidRuntime( 2165): at android.content.ContextWrapper.enforceCallingOrSelfPermission(ContextWrapper.java)
E/AndroidRuntime( 2165): at com.google.android.gsf.f.c(SourceFile:107)
E/AndroidRuntime( 2165): at com.google.android.gsf.f.a(SourceFile:121)
E/AndroidRuntime( 2165): at com.google.android.gsf.f.a(SourceFile:182)
E/AndroidRuntime( 2165): at com.google.android.gms.common.a.l.a(SourceFile:306)
E/AndroidRuntime( 2165): at com.google.android.gms.common.a.g.a(SourceFile:237)
E/AndroidRuntime( 2165): at com.google.android.gms.common.a.d.c(SourceFile:197)
E/AndroidRuntime( 2165): at com.google.android.location.activity.k.f(SourceFile:533)
E/AndroidRuntime( 2165): at com.google.android.location.activity.ah.e(SourceFile:125)
E/AndroidRuntime( 2165): at com.google.android.location.activity.as.l(SourceFile:79)
E/AndroidRuntime( 2165): at com.google.android.location.activity.as.g(SourceFile:65)
E/AndroidRuntime( 2165): at com.google.android.location.activity.az.a(SourceFile:134)
E/AndroidRuntime( 2165): at com.google.android.location.activity.u.at_(SourceFile:144)
E/AndroidRuntime( 2165): at com.google.android.location.activity.h.a(SourceFile:53)
E/AndroidRuntime( 2165): at com.google.android.location.activity.f.a(SourceFile:338)
E/AndroidRuntime( 2165): at com.google.android.location.os.real.w.run(SourceFile:143)
E/AndroidRuntime( 2165): at com.google.android.location.os.real.ab.handleMessage(SourceFile:449)
E/AndroidRuntime( 2165): at android.os.Handler.dispatchMessage(Handler.java)
E/AndroidRuntime( 2165): at android.os.Looper.loop(Looper.java)
E/AndroidRuntime( 2165): at com.google.android.location.os.real.ae.run(SourceFile:969)
E/AndroidRuntime( 2165): at java.lang.Thread.run(Thread.java:818)
E/AndroidRuntime( 2165): Error reporting crash
ANY thoughts someone can provide would be really hlepful. I've reinstalled this ROM (Which has worked fine for me for months) a few times with a few different kernels to try and get around this problem but it keeps coming back. NO idea what could be causing it but it's frustrating as hell ( and GOogling these error messages is leading me nowhere). Full logcat attached. Thanks for any insight at all.

Flash latest firmware or run a ruu.Then flash your rom

crazykas said:
Flash latest firmware or run a ruu.Then flash your rom
Click to expand...
Click to collapse
I appreciate the advice, but I am trying to learn a little from this, and would like to figure out what went wrong before going nuclear. I was using this firmware adn ROM before with no issues, and yet a clean install of the same ROM is suddenly constantly crashing?

Well, I fully wiped my SD card and did an RUU. Haven't had a crash yet but still see this error in my logcat :
Code:
E/Vold ( 382): Failed to find mounted volume for /storage/ext_sd/Android/data/com.google.android.youtube/cache
For a few apps (these are all system / default apps, I haven't installed anything yet).
And also a few other errors that just shouldn't be there for a clean install
Code:
I/ActivityManager( 895): Start proc com.android.cellbroadcastreceiver for broadcast com.android.cellbroadcastreceiver/.CellBroadcastReceiver: pid=2959 uid=10003 gids={50003, 9997} abi=armeabi-v7a
I/ActivityManager( 895): Killing 2504:com.htc.sense.hsp/u0a14 (adj 15): empty #17
I/ActivityManager( 895): Recipient 2504
W/BroadcastQueue( 895): Exception when sending broadcast to ComponentInfo{com.htc.sense.hsp/com.htc.sense.hsp.weather.provider.data.Receiver}
W/BroadcastQueue( 895): android.os.DeadObjectException
W/BroadcastQueue( 895): at android.os.BinderProxy.transactNative(Native Method)
W/BroadcastQueue( 895): at android.os.BinderProxy.transact(Binder.java)
W/BroadcastQueue( 895): at android.app.ApplicationThreadProxy.scheduleReceiver(ApplicationThreadNative.java)
W/BroadcastQueue( 895): at com.android.server.am.BroadcastQueue.processCurBroadcastLocked(BroadcastQueue.java)
W/BroadcastQueue( 895): at com.android.server.am.BroadcastQueue.processNextBroadcast(BroadcastQueue.java)
W/BroadcastQueue( 895): at com.android.server.am.ActivityManagerService.finishReceiver(ActivityManagerService.java)
W/BroadcastQueue( 895): at android.app.ActivityManagerNative.onTransact(ActivityManagerNative.java)
W/BroadcastQueue( 895): at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java)
W/BroadcastQueue( 895): at android.os.Binder.execTransact(Binder.java)
W/libprocessgroup( 895): failed to open /acct/uid_10014/pid_2504/cgroup.procs: No such file or directory
I/ActivityManager( 895): Start proc com.htc.sense.hsp for broadcast com.htc.sense.hsp/.weather.provider.data.Receiver: pid=2991 uid=10014 gids={50014, 9997, 1023, 3003} abi=armeabi-v7a
W/ActivityManager( 895): Spurious death for ProcessRecord{ee7324c 2991:com.htc.sense.hsp/u0a14}, curProc for 2504: null
I/ActivityManager( 895): Start proc com.google.android.partnersetup for broadcast com.google.android.partnersetup/.PhoneStateReceiver: pid=3030 uid=10013 gids={50013, 9997, 3003} abi=armeabi-v7a
I/ActivityManager( 895): Killing 2526:com.android.managedprovisioning/u0a15 (adj 15): empty #17
I/ActivityManager( 895): Recipient 2526
W/libprocessgroup( 895): failed to open /acct/uid_10015/pid_2526/cgroup.procs: No such file or directory
I/ActivityManager( 895): Start proc eu.chainfire.supersu for broadcast eu.chainfire.supersu/.UserPresentReceiver: pid=3054 uid=10050 gids={50050, 9997} abi=armeabi-v7a
I/ActivityManager( 895): Killing 2548:com.ota.updates/u0a17 (adj 15): empty #17
I/ActivityManager( 895): Recipient 2548
W/libprocessgroup( 895): failed to open /acct/uid_10017/pid_2548/cgroup.procs: No such file or directory
I/ActivityManager( 895): Killing 2088:com.google.android.apps.walletnfcrel/u0a26 (adj 15): empty #17
I/ActivityManager( 895): Recipient 2088
W/libprocessgroup( 895): failed to open /acct/uid_10026/pid_2088/cgroup.procs: No such file or directory
Hopefully these are innocuous or at this point I have to suspect a hardware problem.

Related

Motorola Milestone Multitouch Browser on AOSP 2.0 Rom

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

After recompiling HTC Music FC's

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

FC at sound options

Hi,
I just did a wipe and installed CM 6.1 RC again, hoping to get rid of FCs when trying to access the sound options. After flashing, it worked fine, then i restored my files with Titanium and rebooted, and now I'm getting the FC again. Here's the log, maybe anyone can figure out what's causing that problem?
I/power ( 166): *** set_screen_state 1
D/SurfaceFlinger( 166): Screen about to return, flinger = 0x124ea8
D/WifiService( 166): ACTION_SCREEN_ON
D/AK8973 ( 127): Compass Start
D/dalvikvm( 1407): GC_FOR_MALLOC freed 7909 objects / 514632 bytes in 30ms
I/ActivityManager( 166): Starting activity: Intent { act=android.settings.SETTI
NGS flg=0x10200000 cmp=com.android.settings/.Settings }
I/ActivityManager( 166): Start proc com.android.settings for activity com.andro
id.settings/.Settings: pid=1647 uid=1000 gids={3003, 3002, 3001, 1015}
W/InputManagerService( 166): Window already focused, ignoring focus gain of: co
[email protected]
I/ActivityManager( 166): Displayed activity com.android.settings/.Settings: 346
ms (total 71251 ms)
I/ActivityManager( 166): Starting activity: Intent { act=android.intent.action.
MAIN cmp=com.android.settings/.SoundSettings }
D/AndroidRuntime( 1647): Shutting down VM
W/dalvikvm( 1647): threadid=1: thread exiting with uncaught exception (group=0x4
001d7e8)
E/AndroidRuntime( 1647): FATAL EXCEPTION: main
E/AndroidRuntime( 1647): java.lang.RuntimeException: Unable to start activity Co
mponentInfo{com.android.settings/com.android.settings.SoundSettings}: java.lang.
ClassCastException: java.lang.Boolean
E/AndroidRuntime( 1647): at android.app.ActivityThread.performLaunchActiv
ity(ActivityThread.java:2663)
E/AndroidRuntime( 1647): at android.app.ActivityThread.handleLaunchActivi
ty(ActivityThread.java:2679)
E/AndroidRuntime( 1647): at android.app.ActivityThread.access$2300(Activi
tyThread.java:125)
E/AndroidRuntime( 1647): at android.app.ActivityThread$H.handleMessage(Ac
tivityThread.java:2033)
E/AndroidRuntime( 1647): at android.os.Handler.dispatchMessage(Handler.ja
va:99)
E/AndroidRuntime( 1647): at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 1647): at android.app.ActivityThread.main(ActivityThrea
d.java:4627)
E/AndroidRuntime( 1647): at java.lang.reflect.Method.invokeNative(Native
Method)
E/AndroidRuntime( 1647): at java.lang.reflect.Method.invoke(Method.java:5
21)
E/AndroidRuntime( 1647): at com.android.internal.os.ZygoteInit$MethodAndA
rgsCaller.run(ZygoteInit.java:868)
E/AndroidRuntime( 1647): at com.android.internal.os.ZygoteInit.main(Zygot
eInit.java:626)
E/AndroidRuntime( 1647): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 1647): Caused by: java.lang.ClassCastException: java.lang.Bool
ean
E/AndroidRuntime( 1647): at android.app.ContextImpl$SharedPreferencesImpl
.getString(ContextImpl.java:2700)
E/AndroidRuntime( 1647): at android.preference.Preference.getPersistedStr
ing(Preference.java:1249)
E/AndroidRuntime( 1647): at android.preference.ListPreference.onSetInitia
lValue(ListPreference.java:278)
E/AndroidRuntime( 1647): at android.preference.Preference.dispatchSetInit
ialValue(Preference.java:1172)
E/AndroidRuntime( 1647): at android.preference.Preference.onAttachedToHie
rarchy(Preference.java:984)
E/AndroidRuntime( 1647): at android.preference.PreferenceGroup.addPrefere
nce(PreferenceGroup.java:156)
E/AndroidRuntime( 1647): at android.preference.PreferenceGroup.addItemFro
mInflater(PreferenceGroup.java:97)
E/AndroidRuntime( 1647): at android.preference.PreferenceGroup.addItemFro
mInflater(PreferenceGroup.java:38)
E/AndroidRuntime( 1647): at android.preference.GenericInflater.rInflate(G
enericInflater.java:488)
E/AndroidRuntime( 1647): at android.preference.GenericInflater.inflate(Ge
nericInflater.java:326)
E/AndroidRuntime( 1647): at android.preference.GenericInflater.inflate(Ge
nericInflater.java:263)
E/AndroidRuntime( 1647): at android.preference.PreferenceManager.inflateF
romResource(PreferenceManager.java:251)
E/AndroidRuntime( 1647): at android.preference.PreferenceActivity.addPref
erencesFromResource(PreferenceActivity.java:262)
E/AndroidRuntime( 1647): at com.android.settings.SoundSettings.onCreate(S
oundSettings.java:110)
E/AndroidRuntime( 1647): at android.app.Instrumentation.callActivityOnCre
ate(Instrumentation.java:1047)
E/AndroidRuntime( 1647): at android.app.ActivityThread.performLaunchActiv
ity(ActivityThread.java:2627)
E/AndroidRuntime( 1647): ... 11 more
W/ActivityManager( 166): Force finishing activity com.android.settings/.Sound
Settings
W/ActivityManager( 166): Force finishing activity com.android.settings/.Setti
ngs
W/ActivityManager( 166): Activity pause timeout for HistoryRecord{44528308 com.
android.settings/.SoundSettings}
I/Process ( 1647): Sending signal. PID: 1647 SIG: 9
I/ActivityManager( 166): Process com.android.settings (pid 1647) has died.
I/WindowManager( 166): WIN DEATH: Window{44567e18 com.android.settings/com.andr
oid.settings.Settings paused=true}

Issue with new Theme

So I am useing the new 2.3.4 Sense 3.0 ROM http://forum.xda-developers.com/showthread.php?t=1191936 and I am trying to get my theme to work on it. The issue that I have is with the weather widget. With the new verision of Sense they have a completly new weather animation. I get FC's all the time and here is what the logcat says.
Code:
E/AndroidRuntime( 7192): FATAL EXCEPTION: main
E/AndroidRuntime( 7192): android.content.res.Resources$NotFoundException: File res/raw/sound_clouds.wav from drawable resource ID #0x2060023
E/AndroidRuntime( 7192): at android.content.res.Resources.openRawResourceFd(Resources.java:869)
E/AndroidRuntime( 7192): at com.htc.Weather.SoundEffect.createPlayerbyRes(SoundEffect.java:96)
E/AndroidRuntime( 7192): at com.htc.Weather.SoundEffect.startMediaPlayer(SoundEffect.java:82)
E/AndroidRuntime( 7192): at com.htc.Weather.WeatherActivity.playSound(WeatherActivity.java:1402)
E/AndroidRuntime( 7192): at com.htc.Weather.WeatherActivity.access$1000(WeatherActivity.java:64)
E/AndroidRuntime( 7192): at com.htc.Weather.WeatherActivity$2.handleMessage(WeatherActivity.java:887)
E/AndroidRuntime( 7192): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 7192): at android.os.Looper.loop(Looper.java:143)
E/AndroidRuntime( 7192): at android.app.ActivityThread.main(ActivityThread.java:4293)
E/AndroidRuntime( 7192): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 7192): at java.lang.reflect.Method.invoke(Method.java:507)
E/AndroidRuntime( 7192): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
E/AndroidRuntime( 7192): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
E/AndroidRuntime( 7192): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 7192): Caused by: java.io.FileNotFoundException: This file can not be opened as a file descriptor; it is probably compressed
E/AndroidRuntime( 7192): at android.content.res.AssetManager.openNonAssetFdNative(Native Method)
E/AndroidRuntime( 7192): at android.content.res.AssetManager.openNonAssetFd(AssetManager.java:465)
E/AndroidRuntime( 7192): at android.content.res.Resources.openRawResourceFd(Resources.java:866)
E/AndroidRuntime( 7192): ... 13 more
W/ActivityManager( 2188): Force finishing activity com.htc.Weather/.WeatherActivity
D/SensorService( 2188): enable: get sensor name = BMA150 3-axis Accelerometer
D/Sensors ( 2188): Enable akm: en = 1
D/SensorService( 2188): pid=2188, uid=1000
D/AK8973 ( 85): Compass Start
I have checked and that wav file is in the correct location. For some reason it says that it cannot open it as it might be compressed? I did not modify that apk. I only did some xml edits to framework-res.apk. The wav files are located in com.htc.resource/res/raw if anyone could help me out I would appreciate it alot.

[CM11] Apps keeps crashing at open, caused by no external storage inserted?

Hi all, I've just installed CM11 (LegacyXperia) on my Xperia Play for using it as MP4, but I have a little problem: looks like every app which checks for external storage crashes. I've reached that conclusion after taking a logcat and seeing what causes the crash: accessing to na empty array returned during a call to getExternalCacheDir() function.
My device does not have a SD Card inserted because the slot is broken and I can't find anyone selling the replacement.
Is there something that I can do to fix this? Or should change to another ROM?
See the logcat below:
Code:
I/ActivityManager( 546): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.android.gallery3d/.app.GalleryActivity} from pid 1476
V/StateManager( 3437): startState class com.android.gallery3d.app.AlbumSetPage
V/NFC ( 3437): this device does not have NFC support
D/AndroidRuntime( 3437): Shutting down VM
W/dalvikvm( 3437): threadid=1: thread exiting with uncaught exception (group=0x416b0ce0)
E/AndroidRuntime( 3437): FATAL EXCEPTION: main
E/AndroidRuntime( 3437): Process: com.android.gallery3d, PID: 3437
E/AndroidRuntime( 3437): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.android.gallery3d/com.android.gallery3d.app.GalleryActivity}: java.lang.ArrayIndexOutOfBoundsException: length=0; index=0
E/AndroidRuntime( 3437): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2212)
E/AndroidRuntime( 3437): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2271)
E/AndroidRuntime( 3437): at android.app.ActivityThread.access$800(ActivityThread.java:144)
E/AndroidRuntime( 3437): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1205)
E/AndroidRuntime( 3437): at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime( 3437): at android.os.Looper.loop(Looper.java:136)
E/AndroidRuntime( 3437): at android.app.ActivityThread.main(ActivityThread.java:5146)
E/AndroidRuntime( 3437): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 3437): at java.lang.reflect.Method.invoke(Method.java:515)
E/AndroidRuntime( 3437): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:732)
E/AndroidRuntime( 3437): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:566)
E/AndroidRuntime( 3437): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 3437): Caused by: java.lang.ArrayIndexOutOfBoundsException: length=0; index=0
E/AndroidRuntime( 3437): at android.app.ContextImpl.getExternalCacheDir(ContextImpl.java:969)
E/AndroidRuntime( 3437): at android.content.ContextWrapper.getExternalCacheDir(ContextWrapper.java:235)
E/AndroidRuntime( 3437): at com.android.gallery3d.app.AbstractGalleryActivity.onStart(AbstractGalleryActivity.java:170)
E/AndroidRuntime( 3437): at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1171)
E/AndroidRuntime( 3437): at android.app.Activity.performStart(Activity.java:5241)
E/AndroidRuntime( 3437): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2178)
E/AndroidRuntime( 3437): ... 11 more
W/ActivityManager( 546): Force finishing activity com.android.gallery3d/.app.GalleryActivity
I/WindowManager( 546): Screenshot max retries 4 of Token{420b55a8 ActivityRecord{41efdcd0 u0 com.android.gallery3d/.app.GalleryActivity t19 f}} appWin=Window{41fdd190 u0 Starting com.android.gallery3d} drawState=4
W/WindowManager( 546): Screenshot failure taking screenshot for (854x480) to layer 21020
W/ActivityManager( 546): Activity pause timeout for ActivityRecord{41efdcd0 u0 com.android.gallery3d/.app.GalleryActivity t19 f}
I/Timeline( 1476): Timeline: Activity_idle id: [email protected] time:1453928
I/Timeline( 546): Timeline: Activity_windows_visible id: ActivityRecord{41d48ec8 u0 com.cyanogenmod.trebuchet/org.cyanogenmod.trebuchet.CustomHomeLauncher t3} time:1454349
D/AudioFlinger( 235): start(4098), calling pid 546 session 945
D/AudioFlinger( 235): ? => ACTIVE (4098) on thread 0x7d6820
I/Process ( 3437): Sending signal. PID: 3437 SIG: 9
I/ActivityManager( 546): Process com.android.gallery3d (pid 3437) has died.

Categories

Resources