Related
UPDATE: htcclay has a fix that works included in FastClean v1.2. Yay! I'm looking forward to seeing it filter back into FastTest.
**********************************************************************************************************
There is minor issue remaining. The maps in Wifi Tracker and My Tracks do not draw completely. This bug also exists in SuperD, but you do not see it in Cyanogen Mod v4.2.14.1, so it isn't the apps. You also do not see it in GMaps 4.0 on any of these ROMs, All maps are good. So it probably isn't the 10MB RAM hack either.
The same chunk in both remains "grid". Details and screenshots in this thread. Post #157.
***********************************************************************************************************
I've renamed the thread as Cal-El put it to me quite reasonably that the title I was using (which included the words "infecting like a virus") would frighten some people. I accept I was wrong in using words that could be misunderstood. Particularly as some here do not have English as their first language.
I'm sorry I caused some people confusion. I hope the new title is a better fit.
The Bug Details
This missing method bug is infecting more and more ROMs, perhaps as dev's copy each other's code.
ROMs known (by me) to be affected so far are:
FastTest (v2.4 to 2.6.1 - have not tested prior) - Verified personally and notified the dev providing logcat.
Complete Eclair v1.1 - Verified personally and notified the dev providing logcat.
Open Eclair v1.1.5 (Issue 147 New and still open) UPDATE: The bug is NOT seen in OE v1.2.1.
KingKlick AOSP2.1 v1.6.1 (post #2678)
SYMPTOM: The missing method is: android.view.ScaleGestureDetector.onTouchEvent
Can we please fix it and stop it spreading? It break apps like My Track, Wifi Tracker and CoPilot has also begun crashing but I haven't verified that one personally.
This is the error - same in all instances. It looks like Android's gesture support has been partially broken, though may just be a symptom of some other problem.
I/dalvikvm( 517): Could not find method
android.view.ScaleGestureDetector.onTouchEvent, referenced from method
com.google.android.maps.MapView.onTouchEvent
W/dalvikvm( 517): VFY: unable to resolve virtual method 231:
Landroid/view/ScaleGestureDetector;.onTouchEvent (Landroid/view/MotionEventZ
D/dalvikvm( 517): VFY: replacing opcode 0x6e at 0x001e
D/dalvikvm( 517): Making a copy of
Lcom/google/android/maps/MapView;.onTouchEvent code (96 bytes)
E/dalvikvm( 517): Could not find class
'android.view.ScaleGestureDetector', referenced from method
com.google.android.maps.MapView.setup
W/dalvikvm( 517): VFY: unable to resolve new-instance 84
(Landroid/view/ScaleGestureDetector in Lcom/google/android/maps/MapView;
D/dalvikvm( 517): VFY: replacing opcode 0x22 at 0x0065
D/dalvikvm( 517): Making a copy of Lcom/google/android/maps/MapView;.setup
code (272 bytes)
D/AndroidRuntime( 517): Shutting down VM
i can verify this is an issue on King's 1.6.1
here's the logcat when launching MyMaps Editor
HTML:
I/ActivityManager( 2730): Starting activity: Intent { act=android.intent.action.
MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.google.androi
d.apps.mymaps/.MyMapsMain bnds=[3,338][77,417] }
I/ActivityManager( 2730): Start proc com.google.android.apps.mymaps for activity
com.google.android.apps.mymaps/.MyMapsMain: pid=3700 uid=10085 gids={3003, 1015
}
I/ActivityManager( 2730): Process com.android.settings (pid 3683) has died.
D/dalvikvm( 2714): GC freed 308 objects / 11736 bytes in 194ms
V/RenderScript_jni( 2855): surfaceDestroyed
V/RenderScript( 2855): setSurface 0 0 0x0
D/dalvikvm( 2714): GC freed 57 objects / 2624 bytes in 477ms
D/dalvikvm( 2714): GC freed 2 objects / 48 bytes in 229ms
I/dalvikvm( 3700): Could not find method android.view.ScaleGestureDetector.onTou
chEvent, referenced from method com.google.android.maps.MapView.onTouchEvent
W/dalvikvm( 3700): VFY: unable to resolve virtual method 231: Landroid/view/Scal
eGestureDetector;.onTouchEvent (Landroid/view/MotionEvent;)Z
D/dalvikvm( 3700): VFY: replacing opcode 0x6e at 0x001e
D/dalvikvm( 3700): Making a copy of Lcom/google/android/maps/MapView;.onTouchEve
nt code (96 bytes)
E/dalvikvm( 3700): Could not find class 'android.view.ScaleGestureDetector', ref
erenced from method com.google.android.maps.MapView.setup
W/dalvikvm( 3700): VFY: unable to resolve new-instance 84 (Landroid/view/ScaleGe
stureDetector;) in Lcom/google/android/maps/MapView;
D/dalvikvm( 3700): VFY: replacing opcode 0x22 at 0x0065
D/dalvikvm( 3700): Making a copy of Lcom/google/android/maps/MapView;.setup code
(272 bytes)
D/dalvikvm( 3700): GC freed 7520 objects / 432488 bytes in 99ms
D/AndroidRuntime( 3700): Shutting down VM
W/dalvikvm( 3700): threadid=3: thread exiting with uncaught exception (group=0x4
001e180)
E/AndroidRuntime( 3700): Uncaught handler: thread main exiting due to uncaught e
xception
E/AndroidRuntime( 3700): java.lang.RuntimeException: Unable to start activity Co
mponentInfo{com.google.android.apps.mymaps/com.google.android.apps.mymaps.MyMaps
Main}: android.view.InflateException: Binary XML file line #8: Error inflating c
lass com.google.android.maps.MapView
E/AndroidRuntime( 3700): at android.app.ActivityThread.performLaunchActiv
ity(ActivityThread.java:2496)
E/AndroidRuntime( 3700): at android.app.ActivityThread.handleLaunchActivi
ty(ActivityThread.java:2512)
E/AndroidRuntime( 3700): at android.app.ActivityThread.access$2200(Activi
tyThread.java:119)
E/AndroidRuntime( 3700): at android.app.ActivityThread$H.handleMessage(Ac
tivityThread.java:1863)
E/AndroidRuntime( 3700): at android.os.Handler.dispatchMessage(Handler.ja
va:99)
E/AndroidRuntime( 3700): at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 3700): at android.app.ActivityThread.main(ActivityThrea
d.java:4363)
E/AndroidRuntime( 3700): at java.lang.reflect.Method.invokeNative(Native
Method)
E/AndroidRuntime( 3700): at java.lang.reflect.Method.invoke(Method.java:5
21)
E/AndroidRuntime( 3700): at com.android.internal.os.ZygoteInit$MethodAndA
rgsCaller.run(ZygoteInit.java:860)
E/AndroidRuntime( 3700): at com.android.internal.os.ZygoteInit.main(Zygot
eInit.java:618)
E/AndroidRuntime( 3700): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 3700): Caused by: android.view.InflateException: Binary XML fi
le line #8: Error inflating class com.google.android.maps.MapView
E/AndroidRuntime( 3700): at android.view.LayoutInflater.createView(Layout
Inflater.java:513)
E/AndroidRuntime( 3700): at android.view.LayoutInflater.createViewFromTag
(LayoutInflater.java:565)
E/AndroidRuntime( 3700): at android.view.LayoutInflater.rInflate(LayoutIn
flater.java:618)
E/AndroidRuntime( 3700): at android.view.LayoutInflater.inflate(LayoutInf
later.java:407)
E/AndroidRuntime( 3700): at android.view.LayoutInflater.inflate(LayoutInf
later.java:320)
E/AndroidRuntime( 3700): at android.view.LayoutInflater.inflate(LayoutInf
later.java:276)
E/AndroidRuntime( 3700): at com.android.internal.policy.impl.PhoneWindow.
setContentView(PhoneWindow.java:198)
E/AndroidRuntime( 3700): at android.app.Activity.setContentView(Activity.
java:1622)
E/AndroidRuntime( 3700): at com.google.android.apps.mymaps.MyMapsMain.onC
reate(MyMapsMain.java:124)
E/AndroidRuntime( 3700): at android.app.Instrumentation.callActivityOnCre
ate(Instrumentation.java:1047)
E/AndroidRuntime( 3700): at android.app.ActivityThread.performLaunchActiv
ity(ActivityThread.java:2459)
E/AndroidRuntime( 3700): ... 11 more
E/AndroidRuntime( 3700): Caused by: java.lang.reflect.InvocationTargetException
E/AndroidRuntime( 3700): at com.google.android.maps.MapView.<init>(MapVie
w.java:238)
E/AndroidRuntime( 3700): at java.lang.reflect.Constructor.constructNative
(Native Method)
E/AndroidRuntime( 3700): at java.lang.reflect.Constructor.newInstance(Con
structor.java:446)
E/AndroidRuntime( 3700): at android.view.LayoutInflater.createView(Layout
Inflater.java:500)
E/AndroidRuntime( 3700): ... 21 more
E/AndroidRuntime( 3700): Caused by: java.lang.NoClassDefFoundError: android.view
.ScaleGestureDetector
E/AndroidRuntime( 3700): at com.google.android.maps.MapView.setup(MapView
.java:368)
E/AndroidRuntime( 3700): at com.google.android.maps.MapActivity.setupMapV
iew(MapActivity.java:187)
E/AndroidRuntime( 3700): at com.google.android.maps.MapView.<init>(MapVie
w.java:280)
E/AndroidRuntime( 3700): at com.google.android.maps.MapView.<init>(MapVie
w.java:255)
E/AndroidRuntime( 3700): ... 25 more
I/Process ( 2730): Sending signal. PID: 3700 SIG: 3
I/dalvikvm( 3700): threadid=7: reacting to signal 3
I/dalvikvm( 3700): Wrote stack trace to '/data/anr/traces.txt'
W/ActivityManager( 2730): Launch timeout has expired, giving up wake lock!
W/ActivityManager( 2730): Activity idle timeout for HistoryRecord{4403e008 com.g
oogle.android.apps.mymaps/.MyMapsMain}
ya know I noticed something with CoPilot on Sunday Morning, just plain old wouldnt work! i was kinda pissed. I think i was using OpenEclair sunday morning
How bad is this?? Is this something that can be fixed, or our we screwed?
nicknowsky said:
ya know I noticed something with CoPilot on Sunday Morning, just plain old wouldnt work! i was kinda pissed. I think i was using OpenEclair sunday morning
How bad is this?? Is this something that can be fixed, or our we screwed?
Click to expand...
Click to collapse
If this is that bad then someone should warn the developers about this.
Although i dont use any of the Forementioned apps =/
Looking at the error (specifically the mention of "com.google.android.maps.MapView.setup"), this is possibly related to OpenEclair http://code.google.com/p/openeclair/issues/detail?id=24Issue 24. It was a case of the wrong version of /system/framework/com.google.android.maps.jar file being shipped with earlier OpenEclair versions that should've been resolved in 1.2.1. Try the solution from this post and see if it fixes it for you.
If they really were "developers". Whats the point in copying someone else's BAD code. If they have done it, why do you need to do it as well and clutter this world with irrelevant ****.
Bavilo said:
If they really were "developers". Whats the point in copying someone else's BAD code. If they have done it, why do you need to do it as well and clutter this world with irrelevant ****.
Click to expand...
Click to collapse
Just let them be, it will be moved or locked as usual if a mod thinks this is also irrelevant. When I heard virus I thought they meant a real virus was in the ROMs.
oh man i dont want a virus on my g1.....does norton make a antivirus for it? lol.
hope this code thing gets looked at tho
surely the "like a virus" bit should have made it apparent that it wasnt actually a virus...but it was spreading through 'direct contact' so to speak...
The dude should really change that so as to not scare anyone lol
Chahk said:
Looking at the error (specifically the mention of "com.google.android.maps.MapView.setup"), this is possibly related to OpenEclair http://code.google.com/p/openeclair/issues/detail?id=24Issue 24. It was a case of the wrong version of /system/framework/com.google.android.maps.jar file being shipped with earlier OpenEclair versions that should've been resolved in 1.2.1. Try the solution from this post and see if it fixes it for you.
Click to expand...
Click to collapse
thanks for this. i can verify that pushing this jar file fixed MyMaps Editor.
edit: also fixed My Tracks and OpenTable. Thanks again.
Macrophage001 said:
The dude should really change that so as to not scare anyone lol
Click to expand...
Click to collapse
Someone in another thread actually was scared. He was asking if it could infect other system processes.
Macrophage001 said:
The dude should really change that so as to not scare anyone lol
Click to expand...
Click to collapse
i mean really! we already have the whole " does video work on this 2.1" rage and now we'll have "is that virus in this ROM" rage
kathi17 said:
Someone in another thread actually was scared. He was asking if it could infect other system processes.
Click to expand...
Click to collapse
lol see what i mean
thanks for the find. the king 1.6.1 is lagging the crap out of my fone ..
kathi17 said:
Someone in another thread actually was scared. He was asking if it could infect other system processes.
Click to expand...
Click to collapse
LOL! not to infect!... more likely to "affect"
How were you guys never concerned about viruses before?
I always scan the files before I put them on my phone anyway.
Chahk said:
Looking at the error (specifically the mention of "com.google.android.maps.MapView.setup"), this is possibly related to OpenEclair http://code.google.com/p/openeclair/issues/detail?id=24Issue 24. It was a case of the wrong version of /system/framework/com.google.android.maps.jar file being shipped with earlier OpenEclair versions that should've been resolved in 1.2.1. Try the solution from this post and see if it fixes it for you.
Click to expand...
Click to collapse
Well, this actually worked for me as well... thank you!
josevtome said:
Well, this actually worked for me as well... thank you!
Click to expand...
Click to collapse
Thank Shafty, not me
Chahk said:
Thank Shafty, not me
Click to expand...
Click to collapse
hehehe right!... well you got the credit for the reference!
All of a sudden, spare parts force closes! How can I get it working again?
-------------------------------------
Sent via the XDA Tapatalk App
Have you tried uninstall and reinstall?
I did. I might try uninstall and reboot before reinstall.
EDIT: no good. Sigh...
-------------------------------------
Sent via the XDA Tapatalk App
Punnisher_42 said:
I did. I might try uninstall and reboot before reinstall.
EDIT: no good. Sigh...
-------------------------------------
Sent via the XDA Tapatalk App
Click to expand...
Click to collapse
Maybe the best way is to post a copy of the logcat when this happens. This happened to me as well and I tried uninstall/reinstall, but then it stopped happening so I cannot reproduce it anymore.
For logcat you will have to install the Android SDK and run ddms.bat with the phone connected to the PC via USB. Make sure that the phone as USB Debugging enabled (Settings->Applications->Development->USB Debugging), the use Device->Run Logcat on the ddms main window.
Another way that I found to inspect the logcat is via Android System Info app (free from Android Market).
j4mm3r said:
Maybe the best way is to post a copy of the logcat when this happens. This happened to me as well and I tried uninstall/reinstall, but then it stopped happening so I cannot reproduce it anymore.
For logcat you will have to install the Android SDK and run ddms.bat with the phone connected to the PC via USB. Make sure that the phone as USB Debugging enabled (Settings->Applications->Development->USB Debugging), the use Device->Run Logcat on the ddms main window.
Another way that I found to inspect the logcat is via Android System Info app (free from Android Market).
Click to expand...
Click to collapse
logcat comes up with the following when i click on spare parts:
I/WindowManager( 960): onOrientationChanged, rotation changed to 0
E/dun_service( 1776): Unable to open external port /dev/ttyHSUSB0 : No such device
W/InputManagerService( 960): Window already focused, ignoring focus gain of: [email protected]
E/dun_service( 1779): Unable to open external port /dev/ttyHSUSB0 : No such device
E/dun_service( 1781): Unable to open external port /dev/ttyHSUSB0 : No such device
I/ActivityManager( 960): Starting activity: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.androidapps.spare_parts/.SpareParts }
I/ActivityManager( 960): Start proc com.androidapps.spare_parts for activity com.androidapps.spare_parts/.SpareParts: pid=1784 uid=10100 gids={3003, 1015}
D/ddm-heap( 1784): Got feature list request
W/System.err( 1784): android.provider.Settings$SettingNotFoundException: always_finish_activities
W/System.err( 1784): at android.provider.Settings$System.getInt(Settings.java:631)
W/System.err( 1784): at com.androidapps.spare_parts.SpareParts.readAlwaysFinishesPreference(SpareParts.java:354)
W/System.err( 1784): at com.androidapps.spare_parts.SpareParts.onResume(SpareParts.java:451)
W/System.err( 1784): at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1225)
W/System.err( 1784): at android.app.Activity.performResume(Activity.java:3560)
W/System.err( 1784): at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2838)
W/System.err( 1784): at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:2866)
W/System.err( 1784): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2420)
W/System.err( 1784): at android.app.ActivityThread.access$2100(ActivityThread.java:116)
W/System.err( 1784): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1794)
W/System.err( 1784): at android.os.Handler.dispatchMessage(Handler.java:99)
W/System.err( 1784): at android.os.Looper.loop(Looper.java:123)
W/System.err( 1784): at android.app.ActivityThread.main(ActivityThread.java:4203)
W/System.err( 1784): at java.lang.reflect.Method.invokeNative(Native Method)
W/System.err( 1784): at java.lang.reflect.Method.invoke(Method.java:521)
W/System.err( 1784): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:799)
W/System.err( 1784): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:557)
W/System.err( 1784): at dalvik.system.NativeStart.main(Native Method)
W/dalvikvm( 1784): threadid=3: thread exiting with uncaught exception (group=0x2aadda10)
E/AndroidRuntime( 1784): Uncaught handler: thread main exiting due to uncaught exception
E/AndroidRuntime( 1784): java.lang.RuntimeException: Unable to resume activity {com.androidapps.spare_parts/com.androidapps.spare_parts.SpareParts}: java.lang.ArrayIndexOutOfBoundsException
E/AndroidRuntime( 1784): at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2851)
E/AndroidRuntime( 1784): at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:2866)
E/AndroidRuntime( 1784): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2420)
E/AndroidRuntime( 1784): at android.app.ActivityThread.access$2100(ActivityThread.java:116)
E/AndroidRuntime( 1784): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1794)
E/AndroidRuntime( 1784): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 1784): at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 1784): at android.app.ActivityThread.main(ActivityThread.java:4203)
E/AndroidRuntime( 1784): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 1784): at java.lang.reflect.Method.invoke(Method.java:521)
E/AndroidRuntime( 1784): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:799)
E/AndroidRuntime( 1784): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:557)
E/AndroidRuntime( 1784): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 1784): Caused by: java.lang.ArrayIndexOutOfBoundsException
E/AndroidRuntime( 1784): at android.preference.ListPreference.setValueIndex(ListPreference.java:136)
E/AndroidRuntime( 1784): at com.androidapps.spare_parts.SpareParts.readWifiSleepPolicyPreference(SpareParts.java:344)
E/AndroidRuntime( 1784): at com.androidapps.spare_parts.SpareParts.onResume(SpareParts.java:453)
E/AndroidRuntime( 1784): at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1225)
E/AndroidRuntime( 1784): at android.app.Activity.performResume(Activity.java:3560)
E/AndroidRuntime( 1784): at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2838)
E/AndroidRuntime( 1784): ... 12 more
E/http ( 1784): Cannot get NetworkInfo, act as Wifi.
Click to expand...
Click to collapse
Punnisher_42 said:
logcat comes up with the following when i click on spare parts:
Click to expand...
Click to collapse
Hmm, clearly looks like the application craps out when initializing its settings. Usually an uninstall/reinstall should clear out any corrupted settings and let the app start again with defaults, but clearly this is not the case.
By the way, try this:
Uninstall spare parts and use Any Cut or something similar to create a short cut to the activity called Battery History (Settings - BatteryHistory), launch it and you will find that it gives you access to the same Battery History information as you would have got from Spare Parts (Spare Parts probably uses the same thing). After that reinstall Spare Parts and see if it can start.
I'm also trying to figure out some kind of manual way of clearing out application data on the internal storage. Maybe some of the devs can help and give some hints?
/j4mm3r
No joy j4mm3r. But at least I now can access the battery history which was basically the only reason I needed spate parts.
-------------------------------------
Sent via the XDA Tapatalk App
Hey guys, just found some awesome Leak R2D2 Live wallpaper!
You can download from the link below! Enjoy!
www.droid-life.com/2010/09/08/download-leaked-r2-d2-live-wallpapers/
A controllable R2D2, that's pretty cool. It's like a 3d shake them all.
Force closes on my N1 with KOR.
I'm getting fc's also...
Here is the trace I am getting. The thing is trying to allocate memory and dalvik wont allow it. I am running CM6 stable.
Code:
E/dalvikvm-heap( 9594): Try and trim Heap Source
E/dalvikvm-heap( 9594): Heap Massage was unsuccessful for 388800-bytes!
E/dalvikvm-heap( 9594): Heap Massage has failed...
E/GraphicsJNI( 9594): VM won't let us allocate 388800 bytes
D/AndroidRuntime( 9594): Shutting down VM
W/dalvikvm( 9594): threadid=1: thread exiting with uncaught exception (group=0x4001d7e8)
E/AndroidRuntime( 9594): FATAL EXCEPTION: main
E/AndroidRuntime( 9594): java.lang.OutOfMemoryError: bitmap size exceeds VM budget
E/AndroidRuntime( 9594): at android.graphics.Bitmap.nativeCreate(Native Method)
E/AndroidRuntime( 9594): at android.graphics.Bitmap.createBitmap(Bitmap.java:468)
E/AndroidRuntime( 9594): at android.graphics.Bitmap.createBitmap(Bitmap.java:435)
E/AndroidRuntime( 9594): at android.graphics.Bitmap.createScaledBitmap(Bitmap.java:340)
E/AndroidRuntime( 9594): at android.graphics.BitmapFactory.finishDecode(BitmapFactory.java:488)
E/AndroidRuntime( 9594): at android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:462)
E/AndroidRuntime( 9594): at android.graphics.BitmapFactory.decodeResourceStream(BitmapFactory.java:323)
E/AndroidRuntime( 9594): at android.graphics.BitmapFactory.decodeResource(BitmapFactory.java:346)
E/AndroidRuntime( 9594): at android.graphics.BitmapFactory.decodeResource(BitmapFactory.java:372)
E/AndroidRuntime( 9594): at com.verizon.android.wallpaper.graphics.Asset.importAssets(Asset.java:32)
E/AndroidRuntime( 9594): at com.verizon.android.wallpaper.graphics.Asset.<init>(Asset.java:28)
E/AndroidRuntime( 9594): at com.verizon.android.wallpaper.r2d2.R2D2.onCreate(R2D2.java:101)
E/AndroidRuntime( 9594): at android.app.ActivityThread.handleCreateService(ActivityThread.java:2959)
E/AndroidRuntime( 9594): at android.app.ActivityThread.access$3300(ActivityThread.java:125)
E/AndroidRuntime( 9594): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2087)
E/AndroidRuntime( 9594): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 9594): at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 9594): at android.app.ActivityThread.main(ActivityThread.java:4627)
E/AndroidRuntime( 9594): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 9594): at java.lang.reflect.Method.invoke(Method.java:521)
E/AndroidRuntime( 9594): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
E/AndroidRuntime( 9594): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
E/AndroidRuntime( 9594): at dalvik.system.NativeStart.main(Native Method)
I/Process ( 9594): Sending signal. PID: 9594 SIG: 9
W/InputManagerService( 124): Window already focused, ignoring focus gain of: [email protected]
I/ActivityManager( 124): Process com.verizon.android.wallpaper.r2d2 (pid 9594) has died.
W/ActivityManager( 124): Scheduling restart of crashed service com.verizon.android.wallpaper.r2d2/.R2D2 in 5000ms
Anything we can do to correct it?
staulkor said:
Here is the trace I am getting. The thing is trying to allocate memory and dalvik wont allow it. I am running CM6 stable.
Code:
E/dalvikvm-heap( 9594): Try and trim Heap Source
E/dalvikvm-heap( 9594): Heap Massage was unsuccessful for 388800-bytes!
E/dalvikvm-heap( 9594): Heap Massage has failed...
E/GraphicsJNI( 9594): VM won't let us allocate 388800 bytes
D/AndroidRuntime( 9594): Shutting down VM
W/dalvikvm( 9594): threadid=1: thread exiting with uncaught exception (group=0x4001d7e8)
E/AndroidRuntime( 9594): FATAL EXCEPTION: main
E/AndroidRuntime( 9594): java.lang.OutOfMemoryError: bitmap size exceeds VM budget
E/AndroidRuntime( 9594): at android.graphics.Bitmap.nativeCreate(Native Method)
E/AndroidRuntime( 9594): at android.graphics.Bitmap.createBitmap(Bitmap.java:468)
E/AndroidRuntime( 9594): at android.graphics.Bitmap.createBitmap(Bitmap.java:435)
E/AndroidRuntime( 9594): at android.graphics.Bitmap.createScaledBitmap(Bitmap.java:340)
E/AndroidRuntime( 9594): at android.graphics.BitmapFactory.finishDecode(BitmapFactory.java:488)
E/AndroidRuntime( 9594): at android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:462)
E/AndroidRuntime( 9594): at android.graphics.BitmapFactory.decodeResourceStream(BitmapFactory.java:323)
E/AndroidRuntime( 9594): at android.graphics.BitmapFactory.decodeResource(BitmapFactory.java:346)
E/AndroidRuntime( 9594): at android.graphics.BitmapFactory.decodeResource(BitmapFactory.java:372)
E/AndroidRuntime( 9594): at com.verizon.android.wallpaper.graphics.Asset.importAssets(Asset.java:32)
E/AndroidRuntime( 9594): at com.verizon.android.wallpaper.graphics.Asset.<init>(Asset.java:28)
E/AndroidRuntime( 9594): at com.verizon.android.wallpaper.r2d2.R2D2.onCreate(R2D2.java:101)
E/AndroidRuntime( 9594): at android.app.ActivityThread.handleCreateService(ActivityThread.java:2959)
E/AndroidRuntime( 9594): at android.app.ActivityThread.access$3300(ActivityThread.java:125)
E/AndroidRuntime( 9594): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2087)
E/AndroidRuntime( 9594): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 9594): at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 9594): at android.app.ActivityThread.main(ActivityThread.java:4627)
E/AndroidRuntime( 9594): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 9594): at java.lang.reflect.Method.invoke(Method.java:521)
E/AndroidRuntime( 9594): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
E/AndroidRuntime( 9594): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
E/AndroidRuntime( 9594): at dalvik.system.NativeStart.main(Native Method)
I/Process ( 9594): Sending signal. PID: 9594 SIG: 9
W/InputManagerService( 124): Window already focused, ignoring focus gain of: [email protected]
I/ActivityManager( 124): Process com.verizon.android.wallpaper.r2d2 (pid 9594) has died.
W/ActivityManager( 124): Scheduling restart of crashed service com.verizon.android.wallpaper.r2d2/.R2D2 in 5000ms
Click to expand...
Click to collapse
try increasing your VM max heap size to 32MB (CM settings->preformance)
works for sense roms! thanks
I'm using evil's sense rom... It's running fine for me.
anyone get sound to work? if so which sound file and where (running eViL's rom FYI).
They crash on my n1 and my heap is at 32
Sent from my Nexus One using XDA App
FC as well. CM6 Stable with max heap.
Also crashes after disabling jit ....
Everything works here. CM6 Stable with Heap Size 32
Increased my heap size to max, rebooted, and now works fine.
If your getting FC you have to reboot for it to work runs fine on cm6 stable
How do i get sound to work on boot in eViL's ROM, anyone know?
How do i increase the Heapsize on Enomther's ROM? (2.12)
EDIT: Thank's figured it out for myself, but i have another Problem.. when i'm tilting my Nexus One, the Door at the R2-D2 LWP isn't opening ):
salamandar said:
How do i get sound to work on boot in eViL's ROM, anyone know?
Click to expand...
Click to collapse
i'm on evil's 1.11SE rom.... the sound is working for me...
ironslaya said:
How do i increase the Heapsize on Enomther's ROM? (2.12)
EDIT: Thank's figured it out for myself, but i have another Problem.. when i'm tilting my Nexus One, the Door at the R2-D2 LWP isn't opening ):
Click to expand...
Click to collapse
you gotta shake it. tilting doesn't open the door
It was still not working for me even after several reboots. I had to go into cm settings -> performance, set heap to 24m, then back to 32m, and then reboot.
Now it works perfectly.
CM6 Stable
Just wondering if anyone has gotten google now to work on cm 9 yet?
Yes, but I heard voice search fails with Now.
xpmode said:
Yes, but I heard voice search fails with Now.
Click to expand...
Click to collapse
is this with the online only or offline google now.
Im using this slimmed down version of g apps in order thyo make space on / system http://search.4shared.com/q/1/gapps-ics-small+02_06-20120429
ok so i installed now and when it trys to run im getting the message "unfortunately google search has stopped"
did a logcat to see what was causing this, so far as i can make out its this bit
E/dalvikvm( 2009): Dex cache directory isn't writable: /cache/dalvik-cache
I/dalvikvm( 2009): Unable to open or create cache for /system/app/Velvet.apk (/cache/dalvik-cache/[email protected]@[email protected])
D/AndroidRuntime( 2009): Shutting down VM
full logcat below.
Anyone have any idea what is happening and how i might begin to fix this.
nager( 267): Lock screen displayed!
D/AccelerometerListener( 460): enable(false)
D/SurfaceFlinger( 205): Screen about to return, flinger = 0x99918
I/AudioPolicyManager( 208): startOutput() output 1, stream 1, session 35
I/AudioHardwareMSM76XXA( 208): do output routing device 2
I/AudioHardwareMSM76XXA( 208): Routing audio to Speakerphone
D/PhoneStatusBar( 396): disable: < expand icons alerts ticker system_info BACK HOME recent* CLOCK >
D/PhoneStatusBar( 396): disable: < expand icons alerts ticker system_info back* home* recent clock* >
W/InputManagerService( 267): Window already focused, ignoring focus gain of: [email protected]
I/ActivityManager( 267): START {act=android.intent.action.SEARCH_LONG_PRESS flg=0x10000000 cmp=android/com.android.internal.app.ResolverActivity} from pid 471
I/ActivityManager( 267): Displayed android/com.android.internal.app.ResolverActivity: +158ms (total +58s450ms)
I/AudioPolicyManager( 208): startOutput() output 1, stream 1, session 36
I/AudioHardwareMSM76XXA( 208): do output routing device 2
I/AudioHardwareMSM76XXA( 208): Routing audio to Speakerphone
I/ActivityManager( 267): START {act=android.intent.action.SEARCH_LONG_PRESS flg=0x13000000 cmp=com.google.android.googlequicksearchbox/.SearchActivity} from pid 267
I/ActivityManager( 267): Start proc com.google.android.googlequicksearchbox for activity com.google.android.googlequicksearchbox/.SearchActivity: pid=2009 uid=10017 gids={3003, 1007, 3002, 1015}
D/OpenGLRenderer( 471): Flushing caches (mode 1)
D/OpenGLRenderer( 471): Flushing caches (mode 0)
D/dalvikvm( 267): GC_CONCURRENT freed 1308K, 28% free 7866K/10887K, paused 7ms+30ms
E/dalvikvm( 2009): Dex cache directory isn't writable: /cache/dalvik-cache
I/dalvikvm( 2009): Unable to open or create cache for /system/app/Velvet.apk (/cache/dalvik-cache/[email protected]@[email protected])
D/AndroidRuntime( 2009): Shutting down VM
W/dalvikvm( 2009): threadid=1: thread exiting with uncaught exception (group=0x40a651f8)
E/AndroidRuntime( 2009): FATAL EXCEPTION: main
E/AndroidRuntime( 2009): java.lang.RuntimeException: Unable to instantiate application com.google.android.velvet.VelvetApplication: java.lang.ClassNotFoundException: com.google.android.velvet.VelvetApplication
E/AndroidRuntime( 2009): at android.app.LoadedApk.makeApplication(LoadedApk.java:482)
E/AndroidRuntime( 2009): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4089)
E/AndroidRuntime( 2009): at android.app.ActivityThread.access$1300(ActivityThread.java:132)
E/AndroidRuntime( 2009): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1195)
E/AndroidRuntime( 2009): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 2009): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 2009): at android.app.ActivityThread.main(ActivityThread.java:4575)
E/AndroidRuntime( 2009): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 2009): at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime( 2009): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:789)
E/AndroidRuntime( 2009): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:556)
E/AndroidRuntime( 2009): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 2009): Caused by: java.lang.ClassNotFoundException: com.google.android.velvet.VelvetApplication
E/AndroidRuntime( 2009): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:61)
E/AndroidRuntime( 2009): at java.lang.ClassLoader.loadClass(ClassLoader.java:501)
E/AndroidRuntime( 2009): at java.lang.ClassLoader.loadClass(ClassLoader.java:461)
E/AndroidRuntime( 2009): at android.app.Instrumentation.newApplication(Instrumentation.java:942)
E/AndroidRuntime( 2009): at android.app.LoadedApk.makeApplication(LoadedApk.java:477)
E/AndroidRuntime( 2009): ... 11 more
W/ActivityManager( 267): Force finishing activity com.google.android.googlequicksearchbox/.SearchActivity
I/Process ( 267): Sending signal. PID: 2009 SIG: 3
I/dalvikvm( 2009): threadid=3: reacting to signal 3
I/dalvikvm( 2009): Wrote stack traces to '/data/anr/traces.txt'
Click to expand...
Click to collapse
Try Google now in new build
http://forum.xda-developers.com/showthread.php?p=31218293
Hit thanks if helped
How to make Voice search work in MIUIv4?
I searched many places but couldn't find any solution...
hope someone can help
thanks in advance!!
Logcat while trying to access voice search on MIUIv4 ayushrox build #3:
Code:
I/RecognitionControllerImpl( 2380): State change: STARTING -> STARTING
I/RecognitionControllerImpl( 2380): New mic stream.
I/AudioHardwareMSM76XXA( 113): do input routing device 400000
I/AudioHardwareMSM76XXA( 113): Routing audio to Speakerphone
W/AudioHardwareMSM76XXA( 113): rpc_snd_set_device(1, 1, 1)
E/BTFMPinSwitching( 113): switch mode failed because QCOM_FM feature is not ava
ilable
I/AudioHardwareMSM76XXA( 113): do input routing device 400000
I/AudioHardwareMSM76XXA( 113): Routing audio to Speakerphone
I/MicrophoneInputStream( 2380): #new 1
W/dalvikvm( 2380): Exception Ljava/lang/UnsatisfiedLinkError; thrown while initi
alizing Lcom/google/android/voicesearch/endpointer/EndpointerInputStream;
W/dalvikvm( 2380): threadid=11: thread exiting with uncaught exception (group=0x
40a6b1f8)
E/AndroidRuntime( 2380): FATAL EXCEPTION: RecognitionControllerThread
E/AndroidRuntime( 2380): java.lang.ExceptionInInitializerError
E/AndroidRuntime( 2380): at com.google.android.voicesearch.speechservice.
MicrophoneManagerImpl.getMicInputStream(MicrophoneManagerImpl.java:127)
E/AndroidRuntime( 2380): at com.google.android.voicesearch.speechservice.
MicrophoneManagerImpl.setupMicrophone(MicrophoneManagerImpl.java:91)
E/AndroidRuntime( 2380): at com.google.android.voicesearch.speechservice.
RecognitionControllerImpl.startRecognition(RecognitionControllerImpl.java:403)
E/AndroidRuntime( 2380): at com.google.android.voicesearch.speechservice.
RecognitionControllerImpl.access$300(RecognitionControllerImpl.java:86)
E/AndroidRuntime( 2380): at com.google.android.voicesearch.speechservice.
RecognitionControllerImpl$1.handleMessage(RecognitionControllerImpl.java:263)
E/AndroidRuntime( 2380): at android.os.Handler.dispatchMessage(Handler.ja
va:99)
E/AndroidRuntime( 2380): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 2380): at android.os.HandlerThread.run(HandlerThread.ja
va:60)
E/AndroidRuntime( 2380): Caused by: java.lang.UnsatisfiedLinkError: Couldn't loa
d speech: findLibrary returned null
E/AndroidRuntime( 2380): at java.lang.Runtime.loadLibrary(Runtime.java:36
5)
E/AndroidRuntime( 2380): at java.lang.System.loadLibrary(System.java:535)
E/AndroidRuntime( 2380): at com.google.android.voicesearch.endpointer.End
pointerInputStream.(EndpointerInputStream.java:129)
E/AndroidRuntime( 2380): ... 8 more
W/ActivityManager( 183): Force finishing activity com.google.android.voicesea
rch/.RecognitionActivity
W/InputManagerService( 183): Window already focused, ignoring focus gain of: co
[email protected]
W/ActivityManager( 183): Force finishing activity com.google.android.googlequ
icksearchbox/.SearchActivity
V/PhoneStatusBar( 401): setLightsOn(true)
D/libEGL ( 2380): loaded /system/lib/egl/libGLES_android.so
D/libEGL ( 2380): loaded /system/lib/egl/libEGL_adreno200.so
D/libEGL ( 2380): loaded /system/lib/egl/libGLESv1_CM_adreno200.so
D/libEGL ( 2380): loaded /system/lib/egl/libGLESv2_adreno200.so
D/OpenGLRenderer( 2380): Enabling debug mode 0
I/Process ( 183): Sending signal. PID: 2380 SIG: 3
I/dalvikvm( 2380): threadid=3: reacting to signal 3
I/dalvikvm( 2380): Wrote stack traces to '/data/anr/traces.txt'
D/dalvikvm( 634): GC_EXPLICIT freed 262K, 22% free 8000K/10247K, paused 3ms+19m
s
I/RecognitionControllerImpl( 2380): State change: STARTING -> CANCELED
W/ActivityManager( 183): Duplicate finish request for ActivityRecord{410607f8 c
om.google.android.voicesearch/.RecognitionActivity}
I/AudioService( 183): AudioFocus abandonAudioFocus() from android.media.Audio
[email protected]
D/androidNetworkLocationListeners( 634): Still have listener com.google.android
[email protected]
D/PhoneStatusBar( 401): disable: < expand icons alerts ticker system_info back
home recent clock >
W/ResourceType( 183): Skipping entry 0x7f050000 in package table 0 because it i
s not complex!
D/OpenGLRenderer( 1126): Flushing caches (mode 1)
D/CellLocator( 634): Primary cell miss in cache. Need server request.
D/NetworkLocator( 634): New location significantly newer than previous. Reporti
ng it.
D/RPC ( 183): 3000008c:00050000 sending call (XID 53).
D/RPC ( 183): 3000008c:00050000 received REPLY (XID 53), grabbing mutex to
wake up client.
any solution?
Lennox Alexion said:
How to make Voice search work in MIUIv4?
I searched many places but couldn't find any solution...
hope someone can help
thanks in advance!!
Logcat while trying to access voice search on MIUIv4 ayushrox build #3:
Code:
I/RecognitionControllerImpl( 2380): State change: STARTING -> STARTING
I/RecognitionControllerImpl( 2380): New mic stream.
I/AudioHardwareMSM76XXA( 113): do input routing device 400000
I/AudioHardwareMSM76XXA( 113): Routing audio to Speakerphone
W/AudioHardwareMSM76XXA( 113): rpc_snd_set_device(1, 1, 1)
E/BTFMPinSwitching( 113): switch mode failed because QCOM_FM feature is not ava
ilable
I/AudioHardwareMSM76XXA( 113): do input routing device 400000
I/AudioHardwareMSM76XXA( 113): Routing audio to Speakerphone
I/MicrophoneInputStream( 2380): #new 1
W/dalvikvm( 2380): Exception Ljava/lang/UnsatisfiedLinkError; thrown while initi
alizing Lcom/google/android/voicesearch/endpointer/EndpointerInputStream;
W/dalvikvm( 2380): threadid=11: thread exiting with uncaught exception (group=0x
40a6b1f8)
E/AndroidRuntime( 2380): FATAL EXCEPTION: RecognitionControllerThread
E/AndroidRuntime( 2380): java.lang.ExceptionInInitializerError
E/AndroidRuntime( 2380): at com.google.android.voicesearch.speechservice.
MicrophoneManagerImpl.getMicInputStream(MicrophoneManagerImpl.java:127)
E/AndroidRuntime( 2380): at com.google.android.voicesearch.speechservice.
MicrophoneManagerImpl.setupMicrophone(MicrophoneManagerImpl.java:91)
E/AndroidRuntime( 2380): at com.google.android.voicesearch.speechservice.
RecognitionControllerImpl.startRecognition(RecognitionControllerImpl.java:403)
E/AndroidRuntime( 2380): at com.google.android.voicesearch.speechservice.
RecognitionControllerImpl.access$300(RecognitionControllerImpl.java:86)
E/AndroidRuntime( 2380): at com.google.android.voicesearch.speechservice.
RecognitionControllerImpl$1.handleMessage(RecognitionControllerImpl.java:263)
E/AndroidRuntime( 2380): at android.os.Handler.dispatchMessage(Handler.ja
va:99)
E/AndroidRuntime( 2380): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 2380): at android.os.HandlerThread.run(HandlerThread.ja
va:60)
E/AndroidRuntime( 2380): Caused by: java.lang.UnsatisfiedLinkError: Couldn't loa
d speech: findLibrary returned null
E/AndroidRuntime( 2380): at java.lang.Runtime.loadLibrary(Runtime.java:36
5)
E/AndroidRuntime( 2380): at java.lang.System.loadLibrary(System.java:535)
E/AndroidRuntime( 2380): at com.google.android.voicesearch.endpointer.End
pointerInputStream.<clinit>(EndpointerInputStream.java:129)
E/AndroidRuntime( 2380): ... 8 more
W/ActivityManager( 183): Force finishing activity com.google.android.voicesea
rch/.RecognitionActivity
W/InputManagerService( 183): Window already focused, ignoring focus gain of: co
[email protected]
W/ActivityManager( 183): Force finishing activity com.google.android.googlequ
icksearchbox/.SearchActivity
V/PhoneStatusBar( 401): setLightsOn(true)
D/libEGL ( 2380): loaded /system/lib/egl/libGLES_android.so
D/libEGL ( 2380): loaded /system/lib/egl/libEGL_adreno200.so
D/libEGL ( 2380): loaded /system/lib/egl/libGLESv1_CM_adreno200.so
D/libEGL ( 2380): loaded /system/lib/egl/libGLESv2_adreno200.so
D/OpenGLRenderer( 2380): Enabling debug mode 0
I/Process ( 183): Sending signal. PID: 2380 SIG: 3
I/dalvikvm( 2380): threadid=3: reacting to signal 3
I/dalvikvm( 2380): Wrote stack traces to '/data/anr/traces.txt'
D/dalvikvm( 634): GC_EXPLICIT freed 262K, 22% free 8000K/10247K, paused 3ms+19m
s
I/RecognitionControllerImpl( 2380): State change: STARTING -> CANCELED
W/ActivityManager( 183): Duplicate finish request for ActivityRecord{410607f8 c
om.google.android.voicesearch/.RecognitionActivity}
I/AudioService( 183): AudioFocus abandonAudioFocus() from android.media.Audio
[email protected]
D/androidNetworkLocationListeners( 634): Still have listener com.google.android
[email protected]
D/PhoneStatusBar( 401): disable: < expand icons alerts ticker system_info back
home recent clock >
W/ResourceType( 183): Skipping entry 0x7f050000 in package table 0 because it i
s not complex!
D/OpenGLRenderer( 1126): Flushing caches (mode 1)
D/CellLocator( 634): Primary cell miss in cache. Need server request.
D/NetworkLocator( 634): New location significantly newer than previous. Reporti
ng it.
D/RPC ( 183): 3000008c:00050000 sending call (XID 53).
D/RPC ( 183): 3000008c:00050000 received REPLY (XID 53), grabbing mutex to
wake up client.
any solution?
Click to expand...
Click to collapse
[Solved] few library files were missing
Sent from my HTC Explorer A310e using xda premium