Related
EDIT FOUR: With the introduction of Froyo and the highmem kernel, this is no longer an issue for those who are not rooted. This makes this issue completely and totally fixed. Enjoy.
EDIT THREE: (March 17, 2010) It is clear that this issue is completely fixed. I have experienced a force close here and there but I doubt it's related to this issue.
EDIT TWO: (Feb. 17, 2010) According to Cyanogen and as confirmed by my rigorous testing, this issue appears to have been completely fixed in the latest version of CyanogenMod 5.0.2. I confirmed this is working with and without apps2sd enabled. I tested it in the following manner. I installed over 250 apps. I filled all five of my home screens with widgets (over 25, various sizes), eight folder, tons of icons, etc. I kept it that way for nearly 24 hours, really pushing it and trying to get a force close. All of this was done while using my phone for normal, everyday use. I can honestly say that I tried so hard to get a force close. To my pleasant surprise I did not receive a single force close. For the record, I tested it so much my battery has been through two and a half charges. The stock launcher appears to be working fine. A buddy of mine has confirmed this as well in similar testing, his being done over the course of several days. For the record, the N1 ran incredibly smoothly with no lag (really, no lag at all). Tons of running apps, jammed packed home screens and it held up like a champion. I will continue testing and report back if something changes.
EDIT ONE: A member of the Android development team has confirmed that this is a known issue and will be fixed in a future release of Android. I suspect that once the source code is released that the wonderful developers at XDA will fix it first. Here's the quote:
Long pressing a widget just triggers an out of memory error. A solution (unfortunately) is to uninstall a few apps. It's a known issue that will be fixed in a future version of Android.
Click to expand...
Click to collapse
While I'm not happy about this, and many are simply using alternative home screen apps, I'm thrilled to finally have official confirmation that this is a known issue and will eventually be fixed. Thanks to everyone who sent me their list of apps. It turns out not to be one specific app as I've always suspected.
EDIT 2: After much thought, and after not being able to install all my apps on the phone for which I paid $575 is a bit unacceptable. If Google is aware of that this is an issue then an update should be pushed out immediately. It is unacceptable to tell users (not actually tell them because I had to post an issue in a place I'm sure 99.9% of users will never find) to "uninstall a few apps." Seriously? That's the answer? Imagine Apple told users to "uninstall a few apps." I wonder what hard working developers think of that answer. Actually, since I am one, I can tell you. It sucks. It's not like I have that much space in the first place. Simply ridiculous.
---- Original Post ----
Hey All,
With no Nexus One Q&A section yet, I figure this is the best place to post this since I didn't want to post in the dev section. I am getting a force close on my launcher when I long press a widget. It doesn't happen every time. It usually happens after I wake up the phone. I can replicate on command by repeatedly long-pressing a widget. While it happens on built-in widgets, I can more easily replicate it on third-party widgets (or while third-party widgets are loaded) such as Pure Calendar and Android Agenda Widget. The logcat is below.
Code:
E/dalvikvm-heap( 6214): 625920-byte external allocation too large for this process.
E/ ( 6214): VM won't let us allocate 625920 bytes
E/dalvikvm-heap( 6214): 625920-byte external allocation too large for this process.
E/ ( 6214): VM won't let us allocate 625920 bytes
THESE LAST TWO LINES ARE REPEATED ABOUT 50 TIMES
D/AndroidRuntime( 6214): Shutting down VM
W/dalvikvm( 6214): threadid=3: thread exiting with uncaught exception (group=0x4001b178)
E/AndroidRuntime( 6214): Uncaught handler: thread main exiting due to uncaught exception
E/AndroidRuntime( 6214): java.lang.NullPointerException
E/AndroidRuntime( 6214): at android.graphics.Bitmap.createBitmap(Bitmap.java:358)
E/AndroidRuntime( 6214): at com.android.launcher2.DragController.getViewBitmap(DragController.java:258)
E/AndroidRuntime( 6214): at com.android.launcher2.DragController.startDrag(DragController.java:169)
E/AndroidRuntime( 6214): at com.android.launcher2.Workspace.startDrag(Workspace.java:996)
E/AndroidRuntime( 6214): at com.android.launcher2.Launcher.onLongClick(Launcher.java:1528)
E/AndroidRuntime( 6214): at android.view.View.performLongClick(View.java:2383)
E/AndroidRuntime( 6214): at com.android.launcher2.LauncherAppWidgetHostView$CheckForLongPress.run(LauncherAppWidgetHostView.java:81)
E/AndroidRuntime( 6214): at android.os.Handler.handleCallback(Handler.java:587)
E/AndroidRuntime( 6214): at android.os.Handler.dispatchMessage(Handler.java:92)
E/AndroidRuntime( 6214): at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 6214): at android.app.ActivityThread.main(ActivityThread.java:4363)
E/AndroidRuntime( 6214): at java.lang.reflect.Method.invokeNative(NativeMethod)
E/AndroidRuntime( 6214): at java.lang.reflect.Method.invoke(Method.java:521)
E/AndroidRuntime( 6214): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)
E/AndroidRuntime( 6214): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
E/AndroidRuntime( 6214): at dalvik.system.NativeStart.main(Native Method)
I/Process ( 78): Sending signal. PID: 6214 SIG: 3
I/dalvikvm( 6214): threadid=7: reacting to signal 3
E/dalvikvm( 6214): Unable to open stack trace file '/data/anr/traces.txt': Permission denied
I/DumpStateReceiver( 78): Added state dump to 1 crashes
W/WindowManager( 78): No window to dispatch pointer action 1
D/NetworkLocationProvider( 78): onCellLocationChanged [52188,72181909]
I/Process ( 6214): Sending signal. PID: 6214 SIG: 9
I/WindowManager( 78): WIN DEATH: Window{44d442a0 SurfaceView paused=false}
I/ActivityManager( 78): Process com.android.launcher2 (pid 6214) has died.
I/WindowManager( 78): WIN DEATH: Window{44c27d48 com.android.launcher2/com.android.launcher2.Launcher paused=false}
I/ActivityManager( 78): Start proc com.android.launcher2 for activity com.android.launcher2/.Launcher: pid=6276 uid=10035 gids={}
D/dalvikvm( 52): GC freed 277 objects / 10560 bytes in 97ms
I/UsageStats( 78): Unexpected resume of com.android.launcher2 while already resumed in com.android.launcher2
D/dalvikvm( 52): GC freed 42 objects / 1856 bytes in 77ms
I/ActivityThread( 6276): Publishing provider com.android.launcher2.settings: com.android.launcher2.LauncherProvider
D/dalvikvm( 52): GC freed 2 objects / 48 bytes in 64ms
V/RenderScript_jni( 6276): createRenderScript
D/dalvikvm( 6276): Trying to load lib /system/lib/librs_jni.so 0x0
I/dalvikvm( 6276): Debugger has detached; object registry had 1 entries
D/dalvikvm( 6276): Added shared lib /system/lib/librs_jni.so 0x0
V/RenderScript( 6276): RS Launching thread
D/dalvikvm( 6276): GC freed 2651 objects / 151768 bytes in 37ms
W/InputManagerService( 78): Got RemoteException sending setActive(false) notification to pid 6214 uid 10035
V/RenderScript_jni( 6276): surfaceCreated
V/RenderScript_jni( 6276): surfaceChanged
V/RenderScript( 6276): setSurface 480 762 0x36bd30
V/RenderScript( 6276): initEGL start
D/libEGL ( 6276): loaded /system/lib/egl/libGLES_android.so
D/libEGL ( 6276): loaded /system/lib/egl/libEGL_adreno200.so
D/libEGL ( 6276): loaded /system/lib/egl/libGLESv1_CM_adreno200.so
D/libEGL ( 6276): loaded /system/lib/egl/libGLESv2_adreno200.so
V/RenderScript( 6276): GL Version OpenGL ES-CM 1.1
V/RenderScript( 6276): GL Vendor Qualcomm
V/RenderScript( 6276): GL Renderer Adreno
I/ActivityManager( 78): Displayed activity com.android.launcher2/.Launcher: 1057 ms (total 1057 ms)
D/dalvikvm( 6276): GC freed 1902 objects / 173712 bytes in 63ms
I/jdwp ( 6276): Ignoring second debugger -- accepting and dropping
D/dalvikvm( 78): GC freed 21940 objects / 1485992 bytes in 139ms
D/ViewFlipper( 6276): updateRunning() mVisible=false, mStarted=true, mUserPresent=true, mRunning=false
D/ViewFlipper( 6276): updateRunning() mVisible=true, mStarted=true, mUserPresent=true, mRunning=true
D/dalvikvm( 6276): GC freed 12905 objects / 608184 bytes in 52ms
D/dalvikvm( 6276): GC freed 5662 objects / 315688 bytes in 37ms
D/dalvikvm( 6276): GC freed 321 objects / 15168 bytes in 47ms
D/dalvikvm( 6276): GC freed 922 objects / 44992 bytes in 50ms
D/dalvikvm( 6276): GC freed 360 objects / 19328 bytes in 78ms
D/NetworkLocationProvider( 78): onCellLocationChanged [52188,72181908]
D/dalvikvm( 6276): GC freed 1404 objects / 69440 bytes in 71ms
D/dalvikvm( 6276): GC freed 598 objects / 35664 bytes in 73ms
D/dalvikvm( 6276): GC freed 714 objects / 39776 bytes in 70ms
D/dalvikvm( 6276): GC freed 802 objects / 44584 bytes in 61ms
So
Another logcat
Seriously, no one else had this issue? I can't be the only one since I have two friends who have the same problem. I at least hope a knowledgable dev can take a look.
Code:
E/AndroidRuntime( 888): Uncaught handler: thread Thread-15 exiting due to uncaught exception
E/AndroidRuntime( 888): java.lang.NullPointerException
E/AndroidRuntime( 888): at com.google.android.apps.genie.geniewidget.utils.FileCache.commit(FileCache.java:99)
E/AndroidRuntime( 888): at com.google.android.apps.genie.geniewidget.miniwidget.MiniWidgetController.loadNewsImages(MiniWidgetController.java:338)
E/AndroidRuntime( 888): at com.google.android.apps.genie.geniewidget.GenieRefreshService$RefreshThread.run(GenieRefreshService.java:252)
E/dalvikvm-heap( 1192): 1301760-byte external allocation too large for this process.
E/( 1192): VM won't let us allocate 1301760 bytes
E/dalvikvm-heap( 1192): 1301760-byte external allocation too large for this process.
E/( 1192): VM won't let us allocate 1301760 bytes
E/AndroidRuntime( 1192): Uncaught handler: thread main exiting due to uncaught exception
E/AndroidRuntime( 1192): java.lang.NullPointerException
E/AndroidRuntime( 1192): at android.graphics.Bitmap.createBitmap(Bitmap.java:358)
E/AndroidRuntime( 1192): at com.android.launcher2.DragController.getViewBitmap(DragController.java:258)
E/AndroidRuntime( 1192): at com.android.launcher2.DragController.startDrag(DragController.java:169)
E/AndroidRuntime( 1192): at com.android.launcher2.Workspace.startDrag(Workspace.java:996)
E/AndroidRuntime( 1192): at com.android.launcher2.Launcher.onLongClick(Launcher.java:1528)
E/AndroidRuntime( 1192): at android.view.View.performLongClick(View.java:2383)
E/AndroidRuntime( 1192): at com.android.launcher2.LauncherAppWidgetHostView$CheckForLongPress.run(LauncherAppWidgetHostView.java:81)
E/AndroidRuntime( 1192): at android.os.Handler.handleCallback(Handler.java:587)
E/AndroidRuntime( 1192): at android.os.Handler.dispatchMessage(Handler.java:92)
E/AndroidRuntime( 1192): at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 1192): at android.app.ActivityThread.main(ActivityThread.java:4363)
E/AndroidRuntime( 1192): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 1192): at java.lang.reflect.Method.invoke(Method.java:521)
E/AndroidRuntime( 1192): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)
E/AndroidRuntime( 1192): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
E/AndroidRuntime( 1192): at dalvik.system.NativeStart.main(Native Method)
E/dalvikvm-heap( 1647): 1301760-byte external allocation too large for this process.
E/( 1647): VM won't let us allocate 1301760 bytes
E/AndroidRuntime( 1647): Uncaught handler: thread main exiting due to uncaught exception
E/AndroidRuntime( 1647): java.lang.OutOfMemoryError: bitmap size exceeds VM budget
E/AndroidRuntime( 1647): at android.graphics.Bitmap.nativeCreate(Native Method)
E/AndroidRuntime( 1647): at android.graphics.Bitmap.createBitmap(Bitmap.java:468)
E/AndroidRuntime( 1647): at android.graphics.Bitmap.createBitmap(Bitmap.java:423)
E/AndroidRuntime( 1647): at android.graphics.Bitmap.createBitmap(Bitmap.java:374)
E/AndroidRuntime( 1647): at android.graphics.Bitmap.createBitmap(Bitmap.java:358)
E/AndroidRuntime( 1647): at com.android.launcher2.DragController.getViewBitmap(DragController.java:258)
E/AndroidRuntime( 1647): at com.android.launcher2.DragController.startDrag(DragController.java:169)
E/AndroidRuntime( 1647): at com.android.launcher2.Workspace.startDrag(Workspace.java:996)
E/AndroidRuntime( 1647): at com.android.launcher2.Launcher.onLongClick(Launcher.java:1528)
E/AndroidRuntime( 1647): at android.view.View.performLongClick(View.java:2383)
E/AndroidRuntime( 1647): at com.android.launcher2.LauncherAppWidgetHostView$CheckForLongPress.run(LauncherAppWidgetHostView.java:81)
E/AndroidRuntime( 1647): at android.os.Handler.handleCallback(Handler.java:587)
E/AndroidRuntime( 1647): at android.os.Handler.dispatchMessage(Handler.java:92)
E/AndroidRuntime( 1647): at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 1647): at android.app.ActivityThread.main(ActivityThread.java:4363)
E/AndroidRuntime( 1647): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 1647): at java.lang.reflect.Method.invoke(Method.java:521)
E/AndroidRuntime( 1647): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)
E/AndroidRuntime( 1647): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
E/AndroidRuntime( 1647): at dalvik.system.NativeStart.main(Native Method)
E/dalvikvm-heap( 1688): 689472-byte external allocation too large for this process.
E/( 1688): VM won't let us allocate 689472 bytes
E/AndroidRuntime( 1688): Uncaught handler: thread main exiting due to uncaught exception
E/AndroidRuntime( 1688): java.lang.OutOfMemoryError: bitmap size exceeds VM budget
E/AndroidRuntime( 1688): at android.graphics.Bitmap.nativeCreate(Native Method)
E/AndroidRuntime( 1688): at android.graphics.Bitmap.createBitmap(Bitmap.java:468)
E/AndroidRuntime( 1688): at android.graphics.Bitmap.createBitmap(Bitmap.java:435)
E/AndroidRuntime( 1688): at com.android.launcher2.DragView.<init>(DragView.java:78)
E/AndroidRuntime( 1688): at com.android.launcher2.DragController.startDrag(DragController.java:232)
E/AndroidRuntime( 1688): at com.android.launcher2.DragController.startDrag(DragController.java:176)
E/AndroidRuntime( 1688): at com.android.launcher2.Workspace.startDrag(Workspace.java:996)
E/AndroidRuntime( 1688): at com.android.launcher2.Launcher.onLongClick(Launcher.java:1528)
E/AndroidRuntime( 1688): at android.view.View.performLongClick(View.java:2383)
E/AndroidRuntime( 1688): at com.android.launcher2.LauncherAppWidgetHostView$CheckForLongPress.run(LauncherAppWidgetHostView.java:81)
E/AndroidRuntime( 1688): at android.os.Handler.handleCallback(Handler.java:587)
E/AndroidRuntime( 1688): at android.os.Handler.dispatchMessage(Handler.java:92)
E/AndroidRuntime( 1688): at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 1688): at android.app.ActivityThread.main(ActivityThread.java:4363)
E/AndroidRuntime( 1688): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 1688): at java.lang.reflect.Method.invoke(Method.java:521)
E/AndroidRuntime( 1688): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)
E/AndroidRuntime( 1688): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
E/AndroidRuntime( 1688): at dalvik.system.NativeStart.main(Native Method)
E/dalvikvm-heap( 1731): 1435392-byte external allocation too large for this process.
E/ ( 1731): VM won't let us allocate 1435392 bytes
E/AndroidRuntime( 1731): Uncaught handler: thread main exiting due to uncaught exception
E/AndroidRuntime( 1731): java.lang.OutOfMemoryError: bitmap size exceeds VM budget
E/AndroidRuntime( 1731): at android.graphics.Bitmap.nativeCreate(Native Method)
E/AndroidRuntime( 1731): at android.graphics.Bitmap.createBitmap(Bitmap.java:468)
E/AndroidRuntime( 1731): at android.graphics.Bitmap.createBitmap(Bitmap.java:435)
E/AndroidRuntime( 1731): at com.android.launcher2.DragView.<init>(DragView.java:78)
E/AndroidRuntime( 1731): at com.android.launcher2.DragController.startDrag(DragController.java:232)
E/AndroidRuntime( 1731): at com.android.launcher2.DragController.startDrag(DragController.java:176)
E/AndroidRuntime( 1731): at com.android.launcher2.Workspace.startDrag(Workspace.java:996)
E/AndroidRuntime( 1731): at com.android.launcher2.Launcher.onLongClick(Launcher.java:1528)
E/AndroidRuntime( 1731): at android.view.View.performLongClick(View.java:2383)
E/AndroidRuntime( 1731): at com.android.launcher2.LauncherAppWidgetHostView$CheckForLongPress.run(LauncherAppWidgetHostView.java:81)
E/AndroidRuntime( 1731): at android.os.Handler.handleCallback(Handler.java:587)
E/AndroidRuntime( 1731): at android.os.Handler.dispatchMessage(Handler.java:92)
E/AndroidRuntime( 1731): at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 1731): at android.app.ActivityThread.main(ActivityThread.java:4363)
E/AndroidRuntime( 1731): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 1731): at java.lang.reflect.Method.invoke(Method.java:521)
E/AndroidRuntime( 1731): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)
E/AndroidRuntime( 1731): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
E/AndroidRuntime( 1731): at dalvik.system.NativeStart.main(Native Method)
E/RenderScript( 1748): rsAssert failed: mTextures[ct]->getTextureID() != 0, in frameworks/base/libs/rs/rsProgramFragment.cpp at 69
E/RenderScript( 1748): rsAssert failed: mTextures[ct]->getTextureID() != 0, in frameworks/base/libs/rs/rsProgramFragment.cpp at 69
E/dalvikvm-heap( 1748): 1301760-byte external allocation too large for this process.
E/( 1748): VM won't let us allocate 1301760 bytesE/AndroidRuntime( 1748): Uncaught handler: thread main exiting due to uncaught exception
E/AndroidRuntime( 1748): java.lang.OutOfMemoryError: bitmap size exceeds VM budget
E/AndroidRuntime( 1748): at android.graphics.Bitmap.nativeCreate(Native Method)
E/AndroidRuntime( 1748): at android.graphics.Bitmap.createBitmap(Bitmap.java:468)
E/AndroidRuntime( 1748): at android.graphics.Bitmap.createBitmap(Bitmap.java:423)
E/AndroidRuntime( 1748): at android.graphics.Bitmap.createBitmap(Bitmap.java:374)
E/AndroidRuntime( 1748): at android.graphics.Bitmap.createBitmap(Bitmap.java:358)
E/AndroidRuntime( 1748): at com.android.launcher2.DragController.getViewBitmap(DragController.java:258)
E/AndroidRuntime( 1748): at com.android.launcher2.DragController.startDrag(DragController.java:169)
E/AndroidRuntime( 1748): at com.android.launcher2.Workspace.startDrag(Workspace.java:996)
E/AndroidRuntime( 1748): at com.android.launcher2.Launcher.onLongClick(Launcher.java:1528)
E/AndroidRuntime( 1748): at android.view.View.performLongClick(View.java:2383)
E/AndroidRuntime( 1748): at com.android.launcher2.LauncherAppWidgetHostView$CheckForLongPress.run(LauncherAppWidgetHostView.java:81)
E/AndroidRuntime( 1748): at android.os.Handler.handleCallback(Handler.java:587)
E/AndroidRuntime( 1748): at android.os.Handler.dispatchMessage(Handler.java:92)
E/AndroidRuntime( 1748): at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 1748): at android.app.ActivityThread.main(ActivityThread.java:4363)
E/AndroidRuntime( 1748): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 1748): at java.lang.reflect.Method.invoke(Method.java:521)
E/AndroidRuntime( 1748): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)
E/AndroidRuntime( 1748): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
E/AndroidRuntime( 1748): at dalvik.system.NativeStart.main(Native Method)
I'm getting this A LOT. It doesn't affect apps that I'm currently using, but obviously its restarting the homescreen way too often for my tastes.
Same here i get it every now and then. Gonna wipe and see if that helps any.
Haven't had any issues with FC's on the Launcher.. if anything *knocks on wood* I've yet to have any serious issues or even minor issues. The touchscreen seems to act funny if I'm holding the phone with my fingers too close to the edge of the screen.. but if I move them it works fine.
Jak Crow said:
I'm getting this A LOT. It doesn't affect apps that I'm currently using, but obviously its restarting the homescreen way too often for my tastes.
Click to expand...
Click to collapse
I'm desperately looking for a solution to this issue. I've had it since the beginning.
Ryanmo5 said:
Same here i get it every now and then. Gonna wipe and see if that helps any.
Click to expand...
Click to collapse
Wiping will "solve" the problem but it will come back once you add your apps again. This issue needs to be elevated because I guarantee that more people have this problem and just don't know it. I have spent so much time on this that I've yet to completely build my N1 to the way I like it.
eJLIFe said:
Haven't had any issues with FC's on the Launcher.. if anything *knocks on wood* I've yet to have any serious issues or even minor issues. The touchscreen seems to act funny if I'm holding the phone with my fingers too close to the edge of the screen.. but if I move them it works fine.
Click to expand...
Click to collapse
This is because you are used to holding it like you hold your myTouch (or other touch screen device) and the inside of your thumb at the bottom where it meets your hand is touching the screen at the same time. It took me some time to realize why it acted funny when using with one hand and not at all when using two hands.
yeah i get this too, maybe a common app or widget we have running? It refreshes so fast that its not that annoying and doesnt happen too often but still strange.
Looks like a bug in here:
E/AndroidRuntime( 1192): at android.graphics.Bitmap.createBitmap(Bitmap.java:358)
Click to expand...
Click to collapse
or somewhere along the callstack.
Anyway, it's in the Android Stack, and as there's no AOSP 2.1 yet, we just have to hope the Google Devs already saw it...
JoshHart said:
yeah i get this too, maybe a common app or widget we have running? It refreshes so fast that its not that annoying and doesnt happen too often but still strange.
Click to expand...
Click to collapse
I've been working to figure out if it is an app and while it's a possibility, you have no idea how tedious it is. I've been installing one app at a time and testing after each (almost 200 apps and widgets), even rebooting and saving nandroids of working installs to revert and continue. But I end up thinking there's nothing wrong and then it suddenly starts happening (I can replicate as often as I need to). So I started reversing the process by uninstalling and testing. Nothing so far. BTW, a fix permission in recovery does not help. I truly believe it is an error on Google's end and that it is an "easy" fix for someone who knows how. I'm done testing. I put more hours into this than I care to admit (believe me, you don't want to know).
I wiped my phone and the problem has gone away, so its definitely an app causing the problem. I don't have a lot of apps so I may discover the one causing my issue sooner.
Jak Crow said:
I wiped my phone and the problem has gone away, so its definitely an app causing the problem. I don't have a lot of apps so I may discover the one causing my issue sooner.
Click to expand...
Click to collapse
Please do. If you'd like, download aTrackDog (if you don't have it already) and PM your list of apps so I can compare against my apps. I've been at it for so long that I can't do it anymore and have given up for the time being. In aTrackDog, click Menu > Export Apps List. I need to get my N1 set up and then I'll look at it again. If anyone else wants to PM me their app list, I'd appreciate it (only if you have the FC, of course).
Are you guys that have the problem using Live Wallpapers? If so which ones?
I've tried both live wallpapers and regular ones. The laucher close was happening with either.
Jak Crow said:
I've tried both live wallpapers and regular ones. The laucher close was happening with either.
Click to expand...
Click to collapse
The Live Wallpaper (Polar Clock) is a known issue. Google is even aware of it and is supposed to eventually offer an update. I'm still hoping people will send me a list of their installed apps (using aTrackDog) so I can try and figure out which app is the offender. It's nearly impossible without another app list.
Can't Test Anymore
I can't test this issue anymore. I've spent too much time on it and I just don't care that much anymore. I'm not sure what app, if any, is causing the problem. Hopefully someone can come up with something more concrete and post it here.
I had the same problem with MyTouch, after many tests it seemed it not was an app in particular, but the number of apps running together.
Every time I back to the home, it restarted the launcher.
I supposed it was the lack of memory of the MyTouch device, but if it happens with the nexus too maybe it's the concomitance running of two apps.
I've MyTouch broken, so I cannot send you the apps list, but as soon I'll receive the nexus I'll install the same apps and we can begin to compare.
poisons said:
I had the same problem with MyTouch, after many tests it seemed it not was an app in particular, but the number of apps running together.
Every time I back to the home, it restarted the launcher.
I supposed it was the lack of memory of the MyTouch device, but if it happens with the nexus too maybe it's the concomitance running of two apps.
I've MyTouch broken, so I cannot send you the apps list, but as soon I'll receive the nexus I'll install the same apps and we can begin to compare.
Click to expand...
Click to collapse
Restarting the launcher and force closing the launcher are two different things. Restarts on the MT3G are from lack of memory.
Here's my logcat from getting a launcher FC
Code:
I/ActivityManager( 71): Displayed activity com.android.browser/.CombinedBookmarkHistoryActivity: 677 ms (total 677 ms)
D/NetworkLocationProvider( 71): addListener(): browser
D/NetworkLocationProvider( 71): setMinTime: 0
I/XT9IME ( 144): [finishInput]
D/LocationManager(24208): removeUpdates: listener = [email protected]
D/NetworkLocationProvider( 71): removeListener(): browser
D/NetworkLocationProvider( 71): setMinTime: 300000
D/dalvikvm(24208): GC freed 1544 objects / 158240 bytes in 44ms
D/WifiService( 71): releaseWifiLockLocked: WifiLock{NetworkLocationProvider type=2 [email protected]}
I/ActivityManager( 71): Start proc com.android.voicedialer for broadcast com.android.voicedialer/.VoiceDialerReceiver: pid=
24230 uid=10019 gids={3002}
W/ResourceType( 71): Resources don't contain package for resource number 0x7f080000
W/ResourceType( 71): Resources don't contain package for resource number 0x7f020047
W/ResourceType( 71): Resources don't contain package for resource number 0x7f020048
W/ResourceType( 71): Resources don't contain package for resource number 0x7f0700e5
W/ResourceType( 71): Resources don't contain package for resource number 0x7f020031
W/ResourceType( 71): Resources don't contain package for resource number 0x7f020030
W/ResourceType( 71): Resources don't contain package for resource number 0x7f050000
W/ResourceType( 71): Resources don't contain package for resource number 0x7f050000
W/ResourceType( 71): Resources don't contain package for resource number 0x7f020005
W/ResourceType( 71): Resources don't contain package for resource number 0x7f020004
W/ResourceType( 71): Resources don't contain package for resource number 0x7f080001
E/dalvikvm-heap(22856): 65536-byte external allocation too large for this process.
I/dalvikvm(24230): Debugger thread not active, ignoring DDM send (t=0x41504e4d l=38)
I/dalvikvm(24230): Debugger thread not active, ignoring DDM send (t=0x41504e4d l=50)
D/VoiceDialerReceiver(24230): onReceive Intent { act=android.intent.action.PACKAGE_CHANGED dat=package:com.amazon.mp3 flg=0x20000000 cmp=com.android.voicedialer/.VoiceDialerReceiver (has extras) }
D/Sources ( 198): Creating external source for type=com.facebook.auth.login, packageName=com.facebook.katana
D/dalvikvm(24208): GC freed 5381 objects / 1180520 bytes in 216ms
E/ (22856): VM won't let us allocate 65536 bytes
D/AndroidRuntime(22856): Shutting down VM
W/dalvikvm(22856): threadid=3: thread exiting with uncaught exception (group=0x4001b170)
E/AndroidRuntime(22856): Uncaught handler: thread main exiting due to uncaught exception
E/AndroidRuntime(22856): java.lang.OutOfMemoryError: bitmap size exceeds VM budget
E/AndroidRuntime(22856): at android.graphics.Bitmap.nativeCreate(Native Method)
E/AndroidRuntime(22856): at android.graphics.Bitmap.createBitmap(Bitmap.java:468)
E/AndroidRuntime(22856): at com.android.launcher2.Utilities.createAllAppsBitmap(Utilities.java:223)
E/AndroidRuntime(22856): at com.android.launcher2.AppInfoCache.updateTitleAndIcon(AppInfoCache.java:171)
E/AndroidRuntime(22856): at com.android.launcher2.AppInfoCache.update(AppInfoCache.java:92)
E/AndroidRuntime(22856): at com.android.launcher2.AllAppsList.updatePackage(AllAppsList.java:155)
E/AndroidRuntime(22856): at com.android.launcher2.LauncherModel.onReceive(LauncherModel.java:298)
E/AndroidRuntime(22856): at android.app.ActivityThread$PackageInfo$ReceiverDispatcher$Args.run(ActivityThread.java:754)
E/AndroidRuntime(22856): at android.os.Handler.handleCallback(Handler.java:587)
E/AndroidRuntime(22856): at android.os.Handler.dispatchMessage(Handler.java:92)
E/AndroidRuntime(22856): at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime(22856): at android.app.ActivityThread.main(ActivityThread.java:4363)
E/AndroidRuntime(22856): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime(22856): at java.lang.reflect.Method.invoke(Method.java:521)
E/AndroidRuntime(22856): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)
E/AndroidRuntime(22856): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
E/AndroidRuntime(22856): at dalvik.system.NativeStart.main(Native Method)
I/Process ( 71): Sending signal. PID: 22856 SIG: 3
I/dalvikvm(22856): threadid=7: reacting to signal 3
I/DumpStateReceiver( 71): Added state dump to 1 crashes
I/dalvikvm(22856): Wrote stack trace to '/data/anr/traces.txt'
D/dalvikvm(24208): GC freed 7330 objects / 769056 bytes in 84ms
D/dalvikvm(24208): GC freed 11713 objects / 1901496 bytes in 99ms
D/dalvikvm(24208): GC freed 14587 objects / 1681168 bytes in 69ms
D/ForecastProvider( 439): query() with uri=content://com.androidapps.widget.weather2/appwidgets/3
D/ForecastProvider( 439): query() with uri=content://com.androidapps.widget.weather2/appwidgets/3
W/ActivityManager( 71): Launch timeout has expired, giving up wake lock!
W/ActivityManager( 71): Activity idle timeout for HistoryRecord{449759d0 com.android.browser/.BrowserActivity}
D/ForecastProvider( 439): query() with uri=content://com.androidapps.widget.weather2/forecasts/3
E/dalvikvm-heap(22856): 204000-byte external allocation too large for this process.
E/ (22856): VM won't let us allocate 204000 bytes
E/JavaBinder(22856): *** Uncaught remote exception! (Exceptions are not yet supported across processes.)
E/JavaBinder(22856): java.lang.OutOfMemoryError: bitmap size exceeds VM budget
E/JavaBinder(22856): at android.graphics.Bitmap.nativeCreateFromParcel(Native Method)
E/JavaBinder(22856): at android.graphics.Bitmap.access$000(Bitmap.java:29)
E/JavaBinder(22856): at android.graphics.Bitmap$1.createFromParcel(Bitmap.java:897)
E/JavaBinder(22856): at android.graphics.Bitmap$1.createFromParcel(Bitmap.java:903)
E/JavaBinder(22856): at android.widget.RemoteViews$ReflectionAction.<init>(RemoteViews.java:333)
E/JavaBinder(22856): at android.widget.RemoteViews.<init>(RemoteViews.java:540)
E/JavaBinder(22856): at android.widget.RemoteViews$1.createFromParcel(RemoteViews.java:982)
E/JavaBinder(22856): at android.widget.RemoteViews$1.createFromParcel(RemoteViews.java:985)
E/JavaBinder(22856): at com.android.internal.appwidget.IAppWidgetHost$Stub.onTransact(IAppWidgetHost.java:53)
E/JavaBinder(22856): at android.os.Binder.execTransact(Binder.java:287)
E/JavaBinder(22856): at dalvik.system.NativeStart.run(Native Method)
W/dalvikvm(22856): threadid=19: thread exiting with uncaught exception (group=0x4001b170)
E/AndroidRuntime(22856): Uncaught handler: thread Binder Thread #5 exiting due to uncaught exception
E/AndroidRuntime(22856): java.lang.OutOfMemoryError: bitmap size exceeds VM budget
E/AndroidRuntime(22856): at android.graphics.Bitmap.nativeCreateFromParcel(Native Method)
E/AndroidRuntime(22856): at android.graphics.Bitmap.access$000(Bitmap.java:29)
E/AndroidRuntime(22856): at android.graphics.Bitmap$1.createFromParcel(Bitmap.java:897)
E/AndroidRuntime(22856): at android.graphics.Bitmap$1.createFromParcel(Bitmap.java:903)
E/AndroidRuntime(22856): at android.widget.RemoteViews$ReflectionAction.<init>(RemoteViews.java:333)
E/AndroidRuntime(22856): at android.widget.RemoteViews.<init>(RemoteViews.java:540)
E/AndroidRuntime(22856): at android.widget.RemoteViews$1.createFromParcel(RemoteViews.java:982)
E/AndroidRuntime(22856): at android.widget.RemoteViews$1.createFromParcel(RemoteViews.java:985)
E/AndroidRuntime(22856): at com.android.internal.appwidget.IAppWidgetHost$Stub.onTransact(IAppWidgetHost.java:53)
E/AndroidRuntime(22856): at android.os.Binder.execTransact(Binder.java:287)
E/AndroidRuntime(22856): at dalvik.system.NativeStart.run(Native Method)
I/Process ( 71): Sending signal. PID: 22856 SIG: 3
I/dalvikvm(22856): threadid=7: reacting to signal 3
W/ActivityManager( 71): Process com.android.launcher2 has crashed too many times: killing!
D/ActivityManager( 71): Force finishing activity com.android.launcher2/.Launcher
D/ActivityManager( 71): Force removing process ProcessRecord{44bd1590 22856:com.android.launcher2/10035} (com.android.launcher2/10035)
I/Process ( 71): Sending signal. PID: 22856 SIG: 9
W/browser (24208): Console: Unsafe JavaScript attempt to access frame with URL http://www.engadget.com/ from frame with URL http://digg.com/tools/diggthis.php?u=http%3A//digg.com/gadgets/Phishing_Android_apps_explain_our_maxed_out_credit_cards&t=Engadget. Domains, protocols and ports must match.
W/browser (24208): :1
W/InputManagerService( 71): Window already focused, ignoring focus gain of: [email protected]
I/DumpStateReceiver( 71): Added state dump to 1 crashes
D/ActivityManager( 71): Received spurious death notification for thread [email protected]
I/WindowManager( 71): WIN DEATH: Window{44a579f8 com.android.launcher2/com.android.launcher2.Launcher paused=true}
I/WindowManager( 71): WIN DEATH: Window{44a688c0 SurfaceView paused=false}
D/dalvikvm(24208): GC freed 16616 objects / 1622888 bytes in 101ms
D/dalvikvm( 439): GC freed 1401 objects / 612200 bytes in 625ms
W/browser (24208): Console: Unsafe JavaScript attempt to access frame with URL http://at.atwola.com/adiframe/3.0/5113.1/221794/0/-1/size=300x250;noperf=1;alias=93304232;cfp=1;noaddonpl=y;artexc=all;artinc=art_image%2Cart_img1x1%2Cart_3pimg%2Cart_text%2Cart_imgtrack;kvmn=93304232;target=_blank;aduho=360;grp=257572649;misc=257572649 from frame with URL http://www.engadget.com/. Domains, protocols and ports must match.
W/browser (24208): :1
W/browser (24208): Console: Unsafe JavaScript attempt to access frame with URL http://digg.com/tools/diggthis.php?u=http%3A//digg.com/gadgets/Phishing_Android_apps_explain_our_maxed_out_credit_cards&t=Engadget from frame with URL http://www.engadget.com/. Domains, protocols and ports must match.
W/browser (24208): :1
W/browser (24208): Console: Unsafe JavaScript attempt to access frame with URL http://s7.addthis.com/static/r07/sh09.html#swfp=0 from frame with URL http://www.engadget.com/. Domains, protocols and ports must match.
W/browser (24208): :1
D/dalvikvm(24208): GC freed 15930 objects / 2113152 bytes in 53ms
W/ActivityManager( 71): Activity destroy timeout for HistoryRecord{44a019d8 com.android.launcher2/.Launcher}
D/dalvikvm( 198): GC freed 2875 objects / 163056 bytes in 70ms
Happens to me as well. I haven't noticed it recently, but definitely when I first got the phone. If I see it happen again, I'll make sure and get my list of apps from aTrackDog
Here too. I noticed it right away, but then I added apps right away...
I get it when I wake it up, when I launch apps, every few seconds to minutes. I'm hoping google is aware of it and fixes it. I don't mind it other then it shouldn't happen and that it delays me when I return to the home screen.
are you guys using any task managers?? I had the problem with advanced task manager when it did auto end running apps. I had to exclude the launcher and android live wallpapers so that I wouldn't get the launcher to restart on me. I hope I helped.
hello all
want to know if possible to increase mic volume of phone app. want to recompile packages/apps/Phone/src/com/android/phone and replace com.android.phone on milestone
A set volume with int like setStreamVolume
B manual amplitude akkumulation on raw byte stream
1st question where to find the point where the stream of the mic is requested in com/android/phone. If sb can tell, i will find the rest
2nd question is it possible to replace com.android.phone or have to parallel
...no problemo
searched the source
searched google
searched this forum
searched the source
nothing found
please answer solution, no ask why or say its wrong what i try
thx
will try to recompile and replace com.android.phone next weekend, if i find time. will then post the exact result of my attemts
no success to replace the phone app. is it possible?
since i noticed, that nobody has answered yet, i will try to figure out my idea in other words:
the original phone app for android has currently no functionality to set the microphone sensitivity directly. this is a problem if sb. wants to call another person who has a low speaker.
to solve this, i want to increase the microphone sensitivity by simply multiply the amplitude of the input stream (microphone stream).
Code:
0x20, 0x00, 0x7F, 0x00, 0x20, 0x00, 0x7F, 0x00
will be multiplied by 2 with saturation to
Code:
0x40, 0x00, 0x7F, 0x00, 0x40, 0x00, 0x7F, 0x00
expecting signed bytes as data format.
this will simulate that i will speak very clear even if i would speek normal. the saturation effect could be post processed to reduce crackling, but this is not high priority.
could anybody help me to start this? it will be grateful, even if it is a litte urgent.
Have you looked at AudioFlinger?
I"ve been studying HTC FM Tuner, and I noticed that AudioFlinger set the volumes to my audio streams (represented as threads). If you could find a way to access the "recording" thread from mic, then maybe you can increase volume. AudioFlinger is low level stuff, and I don't know how to access it, but that could be a possibility for you.
Here's more info on it.
http pdk.android.com |online-pdk|guide|audio.html
Look at my log for FM Radio
.774: DEBUG/FmReceiverService(101): ******* ******* Processing job:FM_SET_VOLUME TimeSent:11:58:06 PM
07-15 23:58:06.774: DEBUG/FmReceiverService(101): ***** ***** processCommands:[]
07-15 23:58:06.824: INFO/global(1108): Default buffer size used in BufferedReader constructor. It would be better to be explicit if an 8k-char buffer is required.
07-15 23:58:06.824: DEBUG/AudioHardwareQSD(55): FM radio started.
07-15 23:58:06.824: DEBUG/AudioHardwareQSD(55): FM: Set Aux Gain 0 success
07-15 23:58:06.824: DEBUG/AudioFlinger(55): setStreamVolume(), stream:2, value:0.019055, output:1
07-15 23:58:06.824: DEBUG/AudioFlinger(55): setStreamVolume(), stream:4, value:0.501187, output:1
07-15 23:58:06.824: DEBUG/AudioFlinger(55): setStreamVolume(), stream:5, value:0.263027, output:1
07-15 23:58:06.824: DEBUG/AudioFlinger(55): setStreamVolume(), stream:7, value:1.000000, output:1
hello
does anybody know a good android developer forum ?
Hey all,
Can anybody here confirm whether they can upload from the image gallery to Picasa?
On the upload page the account box populates correctly, but the album list never does... if I hit upload (or use 'quick upload) it says 'Failed to retrieve account information'.
I am not sure if this is because of the number of albums in my picasa account or what, but it works fine on my old HTC Dream
In the below logcat I got frustrated and eventually hit 'upload' hence the 'bailed out' error.
This was tested on the Optus Australia SBF and the UK Retail SBF with the same results.
===============================================================================
===============================================================================
01-30 10:52:03.621 2336 2336 D ViewImage: ViewImage onPause
01-30 10:52:03.621 2336 2336 D ViewImage HDMI: onPause
01-30 10:52:03.621 2336 2336 D ViewImage HDMI: Send >>> EXTDISP_CONTROL_DISPLAY hdmi= false tvout = false
01-30 10:52:03.629 2336 2336 D ViewImage HDMI: Send : com.motorola.intent.action.EXTDISP_CONTROL_DETECTIONhdmi = false tvout = false
01-30 10:52:03.684 1324 1468 W InputManagerService: Window already focused, ignoring focus gain of: [email protected]
01-30 10:52:03.942 1324 1347 I ActivityManager: Displayed activity android/com.android.internal.app.ChooserActivity: 315 ms (total 315 ms)
01-30 10:52:04.824 1324 1464 I ActivityManager: Starting activity: Intent { act=android.intent.action.SEND typ=image/jpeg flg=0x3000000 cmp=com.google.android.apps.uploader/.clients.picasa.PicasaSettingsActivity (has extras) }
01-30 10:52:04.848 1854 1854 D MediaUploader: Creating SettingsActivity.
01-30 10:52:04.856 2336 2336 D ViewImage: ViewImage onStop
01-30 10:52:04.856 2336 2336 V ImageDecoderLoader: cancelAllTasks
01-30 10:52:04.856 2336 2336 D ImageProcessor-JNI: time elapsed 0.000000000 in timer ImageProcessor_release
01-30 10:52:04.856 2336 2336 D ImageProcessor-JNI: time elapsed 0.000214000 in timer ImageProcessor_release
01-30 10:52:04.856 2336 2336 D ImageProcessor-JNI: time elapsed 0.000000000 in timer ImageProcessor_release
01-30 10:52:04.856 2336 2336 D ImageProcessor-JNI: time elapsed 0.000153000 in timer ImageProcessor_release
01-30 10:52:04.856 2336 2336 D ImageProcessor-JNI: time elapsed 0.000000000 in timer ImageProcessor_release
01-30 10:52:04.856 2336 2336 D ImageProcessor-JNI: time elapsed 0.000183000 in timer ImageProcessor_release
01-30 10:52:04.856 2336 2336 D ImageProcessor-JNI: time elapsed 0.000000000 in timer ImageProcessor_release
01-30 10:52:04.856 2336 2336 D ImageProcessor-JNI: time elapsed 0.000183000 in timer ImageProcessor_release
01-30 10:52:04.950 1505 1505 D GoogleLoginService: onBind: Intent { act=android.accounts.AccountAuthenticator cmp=com.google.android.gsf/.loginservice.GoogleLoginService }
01-30 10:52:05.223 1324 1347 I ActivityManager: Displayed activity com.google.android.apps.uploader/.clients.picasa.PicasaSettingsActivity: 388 ms (total 388 ms)
01-30 10:52:10.262 1854 1854 D MediaUploader: Got 1 accounts
01-30 10:52:20.481 1854 2521 W MediaUploader: Upload clicked but no account information, bailing out.
01-30 10:52:20.520 2336 2336 D ViewImage: Start onStart
01-30 10:52:20.520 2336 2336 D ViewImage: mSlideshowInterval=3000
01-30 10:52:20.520 2336 2336 D ViewImage: mShuffleSlideshow=false
01-30 10:52:20.520 2336 2336 V ViewImage: fillImageCache
01-30 10:52:20.520 2336 2336 D ViewImage: fillImageCacheItem (1, 33)
===============================================================================
===============================================================================
Shellite, I can only confirm my picasa upload is also toast. Mine went into an upload loop even after I bailed so I had to locate the process and clear the cache to correct.
Yeah, I didnt even achieve a single upload, I've tried 3 clean SBF flashes, Optus, UK and French, all with the same problem. Motorola employee on the motorola forums is looking into it now, my albums list etc never populates.
Perhaps its due to the quantity of albums (17) which totals around 210 images, not sure.
Here is my problem. I use the Play Music app frequently while driving to play my music from the cloud. It normally works just fine, but every once in a while I get to this state where it is completely locked and will not continue streaming. You can't switch to another song or anything. I looked in logcat, and when I press Pause then Play, I get:
Code:
D/MediaPlaybackService(14694): Event logging MUSIC_PAUSE_PLAYBACK_REQUESTED: [58
1, DEFAULT]/7e690cf3-6886-3072-ae4a-a046f47f0fad
D/BluetoothA2dpService( 1498): PlayState changed 0
I/ ( 1437): odm_disp_esd_thread starting loop dispInit=1 state=1
I/ ( 1437): odm_disp_esd_thread is running(0) state=1
I/AudioService( 1498): AudioFocus requestAudioFocus() from android.media.Audio
[email protected][email protected]
I/AudioService( 1498): Remote Control registerMediaButtonEventReceiver() for
ComponentInfo{com.google.android.music/com.google.android.music.MediaButtonInte
ntReceiver}
D/BluetoothA2dpService( 1498): PlayState changed 0
And as you can see the PlayState is changed to 0 however the equalizer is never initialized and the audio is never sent to output as it normally is.
If I kill the process, I get:
Code:
E/MediaPlaybackService(14694): Service being destroyed while still playing.
D/dalvikvm(26494): GC_CONCURRENT freed 304K, 43% free 3728K/6535K, external 5036
K/5996K, paused 2ms+2ms
I/ ( 1437): odm_disp_esd_thread is running(137) state=1
D/dalvikvm( 426): GC_EXPLICIT freed 867K, 52% free 3515K/7239K, external 2688K/
2922K, paused 28ms
I/ ( 1437): odm_disp_esd_thread is running(13) state=1
D/dalvikvm( 1880): GC_EXPLICIT freed 887K, 50% free 5755K/11335K, external 4120K
/4293K, paused 94ms
W/ActivityManager( 1498): Timeout executing service: ServiceRecord{40ae46b8 com.
google.android.music/.MusicPlaybackService}
Then
Code:
E/ActivityManager( 1498): ANR in com.google.android.music:main
E/ActivityManager( 1498): Reason: Executing service com.google.android.music/.Mu
sicPlaybackService
Then
Code:
W/AudioService( 1498): AudioFocus audio focus client died
I/AudioService( 1498): AudioFocus abandonAudioFocus(): removing entry for andr
[email protected][email protected]
06b5850
I/ActivityManager( 1498): Process com.google.android.music:main (pid 14694) has
died.
I/ActivityThread( 426): Removing dead content provider: com.google.android.musi
c.MusicContent
W/ActivityManager( 1498): Scheduling restart of crashed service com.google.andro
id.music/.MusicPreferenceService$MusicPreferenceServiceBinder in 5000ms
I/ActivityManager( 1498): Kill com.google.android.music:ui (pid 426): provider c
om.google.android.music.store.MusicContentProvider in dying process com.google.a
ndroid.music:main
I/ActivityManager( 1498): Process com.google.android.music:ui (pid 426) has died
.
And that's that.
If I try to start the app again I get:
Code:
I/ActivityManager( 1498): Starting: Intent { act=android.intent.action.MAIN cat=
[android.intent.category.HOME] flg=0x10200000 cmp=com.gau.go.launcherex/com.jiub
ang.ggheart.apps.desks.diy.GoLauncher } from pid 1498
I/ggheart ( 1880): onNewIntent
I/DemoService( 1880): DiyScheduer.onStart
I/ggheart ( 1880): onStart
I/ActivityManager( 1498): Starting: Intent { act=android.intent.action.MAIN cat=
[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.google.android.music/c
om.android.music.activitymanagement.TopLevelActivity bnds=[110,583][220,701] } f
rom pid 1880
I/ActivityManager( 1498): Start proc com.google.android.music:ui for activity co
m.google.android.music/com.android.music.activitymanagement.TopLevelActivity: pi
d=4465 uid=10070 gids={3003, 1015}
D/libgps ( 1498): GpsInterface_inject_location( 40.427273, -111.754816, 55.000
)
D/dalvikvm( 4465): GC_CONCURRENT freed 142K, 47% free 3032K/5639K, external 0K/0
K, paused 2ms+2ms
D/libgps ( 1498): MPDINJPOS_REQ msg id 12015
D/szipinf ( 4465): Initializing inflate state
I/AsyncCursor1:1( 4465): Initialized for content://com.google.android.music.Musi
cContent/playlists, proj:_id#name, sel: 'null', args: null, order: null
I/dalvikvm( 4465): Could not find method android.widget.PopupMenu.dismiss, refer
enced from method com.google.android.music.activitymanagement.TopLevelActivity.c
loseOptionsMenu
W/dalvikvm( 4465): VFY: unable to resolve virtual method 1293: Landroid/widget/P
opupMenu;.dismiss ()V
D/dalvikvm( 4465): VFY: replacing opcode 0x6e at 0x000c
I/dalvikvm( 4465): Could not find method android.app.Activity.invalidateOptionsM
enu, referenced from method com.google.android.music.activitymanagement.TopLevel
Activity.invalidateOptionsMenu
W/dalvikvm( 4465): VFY: unable to resolve virtual method 27: Landroid/app/Activi
ty;.invalidateOptionsMenu ()V
D/dalvikvm( 4465): VFY: replacing opcode 0x6f at 0x0010
D/dalvikvm( 4465): VFY: dead code 0x0013-0013 in Lcom/google/android/music/activ
itymanagement/TopLevelActivity;.invalidateOptionsMenu ()V
E/dalvikvm( 4465): Could not find class 'android.widget.PopupMenu', referenced f
rom method com.google.android.music.activitymanagement.TopLevelActivity.openOpti
onsMenu
W/dalvikvm( 4465): VFY: unable to resolve new-instance 298 (Landroid/widget/Popu
pMenu;) in Lcom/google/android/music/activitymanagement/TopLevelActivity;
D/dalvikvm( 4465): VFY: replacing opcode 0x22 at 0x000a
I/dalvikvm( 4465): Could not find method android.widget.PopupMenu.getMenu, refer
enced from method com.google.android.music.activitymanagement.TopLevelActivity.o
penOptionsMenu
W/dalvikvm( 4465): VFY: unable to resolve virtual method 1294: Landroid/widget/P
opupMenu;.getMenu ()Landroid/view/Menu;
D/dalvikvm( 4465): VFY: replacing opcode 0x6e at 0x0033
D/dalvikvm( 4465): VFY: dead code 0x000c-002f in Lcom/google/android/music/activ
itymanagement/TopLevelActivity;.openOptionsMenu ()V
D/dalvikvm( 4465): VFY: dead code 0x0036-0042 in Lcom/google/android/music/activ
itymanagement/TopLevelActivity;.openOptionsMenu ()V
I/ActivityManager( 1498): Start proc com.google.android.music:main for service c
om.google.android.music/.MusicPreferenceService$MusicPreferenceServiceBinder: pi
d=4477 uid=10070 gids={3003, 1015}
D/dalvikvm( 4465): GC_EXTERNAL_ALLOC freed 186K, 46% free 3197K/5895K, external
0K/0K, paused 39ms
D/dalvikvm( 4477): GC_FOR_MALLOC freed 134K, 47% free 3040K/5639K, external 0K/0
K, paused 24ms
D/dalvikvm( 4465): GC_EXTERNAL_ALLOC freed 31K, 45% free 3284K/5895K, external 5
00K/516K, paused 55ms
E/dalvikvm( 4465): Could not find class 'android.widget.ListPopupWindow', refere
nced from method com.google.android.music.widgets.TopBarDisplayModeSelector.<ini
t>
W/dalvikvm( 4465): VFY: unable to resolve new-instance 295 (Landroid/widget/List
PopupWindow;) in Lcom/google/android/music/widgets/TopBarDisplayModeSelector;
D/dalvikvm( 4465): VFY: replacing opcode 0x22 at 0x0009
D/dalvikvm( 4465): VFY: dead code 0x000b-0038 in Lcom/google/android/music/widge
ts/TopBarDisplayModeSelector;.<init> (Landroid/content/Context;Landroid/util/Att
ributeSet;)V
E/dalvikvm( 4465): Could not find class 'android.widget.ListPopupWindow', refere
nced from method com.google.android.music.widgets.TopBarDisplayModeSelector.onIt
emClick
W/dalvikvm( 4465): VFY: unable to resolve check-cast 295 (Landroid/widget/ListPo
pupWindow;) in Lcom/google/android/music/widgets/TopBarDisplayModeSelector;
D/dalvikvm( 4465): VFY: replacing opcode 0x1f at 0x0008
D/dalvikvm( 4465): VFY: dead code 0x000a-001b in Lcom/google/android/music/widge
ts/TopBarDisplayModeSelector;.onItemClick (Landroid/widget/AdapterView;Landroid/
view/View;IJ)V
E/dalvikvm( 4465): Could not find class 'android.widget.ListPopupWindow', refere
nced from method com.google.android.music.widgets.TopBarDisplayModeSelector.show
ModeSelectorMenu
W/dalvikvm( 4465): VFY: unable to resolve check-cast 295 (Landroid/widget/ListPo
pupWindow;) in Lcom/google/android/music/widgets/TopBarDisplayModeSelector;
D/dalvikvm( 4465): VFY: replacing opcode 0x1f at 0x000c
D/dalvikvm( 4465): VFY: dead code 0x000e-0017 in Lcom/google/android/music/widge
ts/TopBarDisplayModeSelector;.showModeSelectorMenu ()V
I/dalvikvm( 4465): Could not find method android.widget.LinearLayout.<init>, ref
erenced from method com.google.android.music.widgets.DisplayModeSelector.<init>
W/dalvikvm( 4465): VFY: unable to resolve direct method 1230: Landroid/widget/Li
nearLayout;.<init> (Landroid/content/Context;Landroid/util/AttributeSet;I)V
D/dalvikvm( 4465): VFY: replacing opcode 0x70 at 0x0000
D/dalvikvm( 4465): VFY: dead code 0x0003-0003 in Lcom/google/android/music/widge
ts/DisplayModeSelector;.<init> (Landroid/content/Context;Landroid/util/Attribute
Set;I)V
D/dalvikvm( 4477): GC_CONCURRENT freed 33K, 45% free 3139K/5703K, external 0K/0K
, paused 2ms+4ms
D/szipinf ( 4477): Initializing inflate state
I/ActivityThread( 4477): Pub com.google.android.music.MusicContent: com.google.a
ndroid.music.store.MusicContentProvider
I/ggheart ( 1880): onStop
I/MusicStore( 4477): Database version: 37
I/AsyncCursor1:1( 4477): Initialized for content://com.google.android.music.Musi
cContent/playlists, proj:_id#name, sel: 'null', args: null, order: null
D/dalvikvm( 4465): GC_EXTERNAL_ALLOC freed 79K, 44% free 3354K/5959K, external 8
64K/1032K, paused 41ms
D/dalvikvm( 4465): GC_CONCURRENT freed 7K, 44% free 3356K/5959K, external 1191K/
1689K, paused 2ms+1ms
D/TopLevelActivity( 4465): Using 3D on phone in landscape...
E/dalvikvm( 4477): Could not find class 'android.app.Notification$Builder', refe
renced from method com.google.android.music.MusicPlaybackService.alertFailureIfN
ecessary
W/dalvikvm( 4477): VFY: unable to resolve new-instance 20 (Landroid/app/Notifica
tion$Builder;) in Lcom/google/android/music/MusicPlaybackService;
D/dalvikvm( 4477): VFY: replacing opcode 0x22 at 0x003b
D/dalvikvm( 4477): VFY: dead code 0x003d-0073 in Lcom/google/android/music/Music
PlaybackService;.alertFailureIfNecessary (I)V
D/TopLevelActivity( 4465): action com.google.android.music.PLAYBACK_VIEWER
D/AudioHardwareMot( 1363): bufSize = 8192
D/dalvikvm( 4477): GC_EXTERNAL_ALLOC freed 227K, 46% free 3310K/6023K, external
0K/0K, paused 49ms
D/SyncManager( 1498): setSyncAutomatically: , provider com.google.android.music.
MusicContent -> false
D/SyncManager( 1498): setSyncAutomatically: already set to false, doing nothing
D/SyncManager( 1498): setIsSyncable: Account {[email protected], t
ype=com.google}, provider com.google.android.music.MusicContent -> 0
D/SyncManager( 1498): setIsSyncable: already set to 0, doing nothing
D/SyncManager( 1498): setSyncAutomatically: , provider com.google.android.music.
MusicContent -> false
D/SyncManager( 1498): setSyncAutomatically: already set to false, doing nothing
D/SyncManager( 1498): setIsSyncable: Account {[email protected], type=com
.google}, provider com.google.android.music.MusicContent -> 0
D/SyncManager( 1498): setIsSyncable: already set to 0, doing nothing
D/dalvikvm( 4465): GC_EXTERNAL_ALLOC freed 80K, 43% free 3463K/6023K, external 1
606K/1689K, paused 45ms
D/SyncManager( 1498): setSyncAutomatically: , provider com.google.android.music.
MusicContent -> false
D/SyncManager( 1498): setSyncAutomatically: already set to false, doing nothing
D/SyncManager( 1498): setIsSyncable: Account {[email protected], t
ype=com.google}, provider com.google.android.music.MusicContent -> 0
D/SyncManager( 1498): setIsSyncable: already set to 0, doing nothing
D/SyncManager( 1498): setSyncAutomatically: , provider com.google.android.music.
MusicContent -> false
D/SyncManager( 1498): setSyncAutomatically: already set to false, doing nothing
D/SyncManager( 1498): setIsSyncable: Account {[email protected], type=com
.google}, provider com.google.android.music.MusicContent -> 0
D/SyncManager( 1498): setIsSyncable: already set to 0, doing nothing
I/CheckMusicStoreAvail( 4465): Starting account signup check
I/AudioService( 1498): Remote Control registerMediaButtonEventReceiver() for
ComponentInfo{com.google.android.music/com.google.android.music.MediaButtonInte
ntReceiver}
D/dalvikvm( 4465): GC_EXTERNAL_ALLOC freed 54K, 43% free 3523K/6087K, external 2
144K/2374K, paused 24ms
D/dalvikvm( 4465): GC_EXTERNAL_ALLOC freed 0K, 43% free 3523K/6087K, external 36
81K/4597K, paused 25ms
I/ActivityManager( 1498): Displayed com.google.android.music/com.android.music.a
ctivitymanagement.TopLevelActivity: +1s391ms
D/dalvikvm( 4477): GC_CONCURRENT freed 222K, 44% free 3454K/6151K, external 3K/5
15K, paused 3ms+3ms
I/AsyncCursor2:11( 4477): Initialized for content://com.google.android.music.Mus
icContent/audio, proj:_id#duration, sel: 'null', args: null, order: null
I/ ( 1437): odm_disp_esd_thread is running(92) state=1
D/BluetoothA2dpService( 1498): Meta data info is trackname: Numb [Live] artist:
Linkin Park
D/BluetoothA2dpService( 1498): mMediaNumber: 2688 mediaCount 0
D/BluetoothA2dpService( 1498): mPostion 0 album: Live In Texasduration 0
E/MusicDL ( 4477): DownloadManager.getStreamingDownload([2688, DEFAULT]) could n
ot find item in mPredictiveSongList
D/BluetoothA2dpService( 1498): Meta data info is trackname: Numb [Live] artist:
Linkin Park
D/BluetoothA2dpService( 1498): mMediaNumber: 2688 mediaCount 0
D/BluetoothA2dpService( 1498): mPostion 0 album: Live In Texasduration 0
D/BluetoothA2dpService( 1498): Meta data info is trackname: Numb [Live] artist:
Linkin Park
D/BluetoothA2dpService( 1498): mMediaNumber: 2688 mediaCount 0
D/BluetoothA2dpService( 1498): mPostion 0 album: Live In Texasduration 0
D/BluetoothA2dpService( 1498): Meta data info is trackname: Numb [Live] artist:
Linkin Park
D/BluetoothA2dpService( 1498): mMediaNumber: 2688 mediaCount 0
D/BluetoothA2dpService( 1498): mPostion 0 album: Live In Texasduration 0
D/BluetoothA2dpService( 1498): Meta data info is trackname: Numb [Live] artist:
Linkin Park
D/BluetoothA2dpService( 1498): mMediaNumber: 2688 mediaCount 0
D/BluetoothA2dpService( 1498): mPostion 0 album: Live In Texasduration 0
E/MusicDL ( 4477): DownloadManager.getStreamingDownload([2688, DEFAULT]) could n
ot find item in mPredictiveSongList
D/dalvikvm( 4477): GC_CONCURRENT freed 309K, 44% free 3628K/6471K, external 0K/5
12K, paused 2ms+2ms
I/MediaStoreImporter( 4477): Update: incremental Added music: 0 Updated music: 0
Deleted music: 0 Created playlists: 0 Updated playlists: 0 Deleted playlists: 0
Inserted playlist items: 0 Deleted playlist items: 0 Removed orphaned playlist
items: 0
Then, later:
Code:
E/NetworkMonitorServiceConn( 4465): NetworkMonitorServiceConnection not unbinded
cleanly
E/NetworkMonitorServiceConn( 4465): java.lang.Throwable
E/NetworkMonitorServiceConn( 4465): at com.google.android.music.NetworkMonit
orServiceConnection.finalize(NetworkMonitorServiceConnection.java:142)
E/NetworkMonitorServiceConn( 4465): at dalvik.system.NativeStart.run(Native
Method)
If I have waited long enough, the app will probably work. It's about a 50/50 chance. If I haven't waited for the "service died" message above, then the app will freeze and I have to reboot to get Play Music working again.
Does anyone know what is going on and/or how I can fix it? It drives me nuts and it always happens while I'm on data. On wifi, it works just fine almost all of the time.
Okay, I have Tasker, and my hope is to make my Nexus 4 autoconnect to my ptv3000 miracast adapter. I can manually connect just fine, but I want to find a command that will make the Nexus connect to the miracast automatically instead of having to navigate to display, wireless display, and then click on the adapter name... Quite tedious everytime I start my car... Even a shortcut directly to the wireless display section in settings is a start. I ran logcat recording while I manually connected, but I didn't see what I was hoping to.
04-26 16:18:56.362 I/wpa_supplicant(10288): p2p0: P2P-DEVICE-FOUND 22:e5:2a:71:00:eb p2p_dev_addr=22:e5:2a:71:00:eb pri_dev_type=7-0050F204-1 name='Push2TV 7100EB-PTV3000' config_methods=0x88 dev_capab=0x25 group_capab=0x0 wfd_dev_info=0x000006015d022a0032
04-26 16:18:58.244 I/wpa_supplicant(10288): p2p0: P2P-FIND-STOPPED
04-26 16:18:58.244 I/WifiDisplayController(10176): Connecting to Wifi display: Push2TV 7100EB-PTV3000
04-26 16:18:58.274 I/WifiDisplayController(10176): Initiated connection to Wifi display: Push2TV 7100EB-PTV3000
04-26 16:19:01.117 I/wpa_supplicant(10288): p2p0: P2P-INVITATION-RESULT status=0 22:e5:2a:71:00:eb
04-26 16:19:02.819 I/EventLogService(10647): Aggregate from 1367009342688 (log), 1367009342688 (data)
04-26 16:19:02.919 I/ServiceDumpSys(10647): dumping service [account]
04-26 16:19:03.830 D/HeadsetPhoneState(12798): sendDeviceStateChanged. mService=1 mSignal=3 mRoam=0 mBatteryCharge=2
04-26 16:19:07.123 I/wpa_supplicant(10288): p2p0: Trying to associate with 22:e5:2a:71:00:eb (SSID='DIRECT-Xb' freq=2412 MHz)
04-26 16:19:07.224 I/wpa_supplicant(10288): p2p0: Associated with 22:e5:2a:71:00:eb
04-26 16:19:07.224 I/wpa_supplicant(10288): p2p0: CTRL-EVENT-EAP-SUCCESS EAP authentication completed successfully (based on lower layer success)
04-26 16:19:07.234 I/wpa_supplicant(10288): p2p0: WPA: Key negotiation completed with 22:e5:2a:71:00:eb [PTK=CCMP GTK=CCMP]
04-26 16:19:07.234 I/wpa_supplicant(10288): p2p0: CTRL-EVENT-CONNECTED - Connection to 22:e5:2a:71:00:eb completed (reauth) [id=2 id_str=]
04-26 16:19:07.244 I/wpa_supplicant(10288): p2p0: P2P-GROUP-STARTED p2p0 client ssid="DIRECT-Xb" freq=2412 psk=96402cc994e104e7f7f6686715510a91eacf149f127b62cd3098903db915bf77 go_dev_addr=22:e5:2a:71:00:eb [PERSISTENT]
04-26 16:19:07.254 I/wpa_supplicant(10288): wpa_s->ifname p2p0 cmd SET p2p_group_idle 10
04-26 16:19:07.564 D/HeadsetPhoneState(12798): sendDeviceStateChanged. mService=1 mSignal=4 mRoam=0 mBatteryCharge=2
04-26 16:19:10.697 I/wpa_supplicant(10288): wpa_s->ifname p2p0 cmd P2P_SET ps 1
04-26 16:19:10.697 I/WifiDisplayController(10176): Connected to Wifi display: Push2TV 7100EB-PTV3000
04-26 16:19:10.707 E/MonoPipe(9945): Failed to fetch local time frequency when constructing a MonoPipe (res = -32). getNextWriteTimestamp calls will be non-functional
04-26 16:19:10.707 I/AudioFlinger(9945): HAL output buffer size 1024 frames, normal mix buffer size 1024 frames
04-26 16:19:10.707 I/AudioMixer(9945): found effect "Multichannel Downmix To Stereo" from The Android Open Source Project
04-26 16:19:10.707 I/AudioFlinger(9945): HAL output buffer size 1024 frames, normal mix buffer size 1024 frames
04-26 16:19:10.707 I/AudioMixer(9945): found effect "Multichannel Downmix To Stereo" from The Android Open Source Project
04-26 16:19:10.707 D/ALSAStreamOps(9945): setParameters(): keyRouting with device 0x0
04-26 16:19:10.707 D/ALSAStreamOps(9945): setParameters(): keyRouting with device 0x0
04-26 16:19:10.717 I/AudioFlinger(9945): AudioFlinger's thread 0x40082008 ready to run
04-26 16:19:10.717 I/AudioFlinger(9945): AudioFlinger's thread 0x4121e008 ready to run
04-26 16:19:10.717 I/r_submix(9945): out_standby()
04-26 16:19:10.717 I/WifiDisplayController(10176): Listening for RTSP connection on 192.168.157.100:7236 from Wifi display: Push2TV 7100EB-PTV3000
04-26 16:19:13.981 I/NetworkSession(9945): incoming connection from 192.168.157.1:52634 (socket 34)
04-26 16:19:13.981 I/NetworkSession(9945): added clientSession 2
04-26 16:19:13.981 I/WifiDisplaySource(9945): We now have a client (2) connected.
04-26 16:19:14.041 I/WifiDisplaySource(9945): Using AAC audio.
04-26 16:19:14.061 I/WifiDisplaySource(9945): Initiating HDCP negotiation w/ host 192.168.157.1:1189
04-26 16:19:14.071 I/WifiDisplaySource(9945): Deferring SETUP trigger until HDCP initialization completes.
04-26 16:19:14.081 D/QSEECOMAPI: (9945): QSEECom_start_app sb_length = 0x480
04-26 16:19:14.091 D/QSEECOMAPI: (9945): App is not loaded in QSEE
04-26 16:19:14.091 E/QSEECOMAPI: (9945): Error::Cannot open the file /system/etc/firmware/dxhdcp2.mdt
04-26 16:19:14.091 E/QSEECOMAPI: (9945): Error::Loading image failed with ret = -1
04-26 16:19:14.091 D/QSEECOMAPI: (9945): QSEECom_start_app sb_length = 0x480
04-26 16:19:14.091 D/QSEECOMAPI: (9945): App is not loaded in QSEE
04-26 16:19:14.181 D/QSEECOMAPI: (9945): Loaded image: APP id = 1
04-26 16:19:14.301 D/DxHDCP (9945): AKE_SEND_CERT received
04-26 16:19:14.321 D/DxHDCP (9945): AKE_RECEIVER_INFO received
04-26 16:19:14.401 D/DxHDCP (9945): AKE_SEND_RRX received
04-26 16:19:14.461 D/DxHDCP (9945): AKE_SEND_H_PRIME received
04-26 16:19:14.471 D/DxHDCP (9945): AKE_PAIRING_INFO received
04-26 16:19:14.481 D/DxHDCP (9945): LC_L_PRIME received
04-26 16:19:14.511 D/DxHDCP (9945): REPEATERAUTH_STREAM_READY received
04-26 16:19:14.561 D/DxHDCP (9945): REPEATERAUTH_SEND_RECEIVERID_LIST received
04-26 16:19:14.611 D/DxHDCP (9945): RECEIVER_AUTHSTATUS received
04-26 16:19:15.272 I/wpa_supplicant(10288): wlan0: CTRL-EVENT-DISCONNECTED bssid=68:7f:74:97:25:10 reason=65534
I too have been trying to get this to work in Tasker but so far no luck. A few months back I ran across a thread on Reddit from a user who was able to get Tasker to work along with an add-on package. At the time I tried the same technique but couldn't get it to work. Unfortunately, I can't seem to find that thread again. Once my Google-Fu regains full strength and I find the thread again I will post it and it might give you some clues.
Tim
If this goofy slimport adapter wasn't so marked up right now... Bought miracast for cheaper! Now I almost wish I would have paid the $80 for slimport
tschallb said:
I too have been trying to get this to work in Tasker but so far no luck. A few months back I ran across a thread on Reddit from a user who was able to get Tasker to work along with an add-on package. At the time I tried the same technique but couldn't get it to work. Unfortunately, I can't seem to find that thread again. Once my Google-Fu regains full strength and I find the thread again I will post it and it might give you some clues.
Tim
Click to expand...
Click to collapse
Is it possible that the WiFiDisplay.APK might launch Miracast connection more efficiently when combined with Tasker?
Here's a Reddit thread that discussed stripping the APK from the ROMs that use it.
Apparently, it's pretty simple to do.
There's also Android Transporter, which may provide the same thing as WiFiDisplay.APK.