User-agent: Mediapartners-Google Disallow: User-agent: * Disallow: /search Allow: / Sitemap: http://nano7mobile.blogspot.com/sitemap.xml Nano Mobile: [Q] Compass not working (Motorola RAZR HD) topic

[Q] Compass not working (Motorola RAZR HD) topic






Motorola RAZR HD (XT925)
CM 11-20140104-SNAPSHOT-M2-xt925
SELinux Permissive

GPS is working fine. But compass isn't working at all. Three or four compass apps that I tried (and which I have successfully used in older phones) either crash or show a frozen needle pointing up as North. Tried for weeks to see compass working and nothing.

Researched and found no plausible solution.

To make things weirder, yesterday, only once, compass worked perfectly in SatStat app. I did nothing different and am now unable to reproduce it. Yes, trying it outdoors, but although one should be able to get compass from GPS, AFAIK it should be available directly from the phone sensors with no need for GPS. Then again, except for yesterday's fluke, it's working neither way.


Code:


adb logcat

for Nice compass shows this:


Code:


W/dalvikvm(26147): threadid=11: thread exiting with uncaught exception (group=0x419eec80)
E/AndroidRuntime(26147): FATAL EXCEPTION: Thread-1273
E/AndroidRuntime(26147): Process: com.digitallizard.nicecompass, PID: 26147
E/AndroidRuntime(26147): java.lang.IllegalStateException: Underflow in restore
E/AndroidRuntime(26147):        at android.graphics.Canvas.restore(Native Method)
E/AndroidRuntime(26147):        at com.digitallizard.nicecompass.CompassSurface.onDraw(CompassSurface.java:366)
E/AndroidRuntime(26147):        at com.digitallizard.nicecompass.CompassSurface.triggerDraw(CompassSurface.java:289)
E/AndroidRuntime(26147):        at com.digitallizard.nicecompass.CompassSurface.run(CompassSurface.java:489)
E/AndroidRuntime(26147):        at java.lang.Thread.run(Thread.java:841)
W/ActivityManager(  853):  Force finishing activity com.digitallizard.nicecompass/.CompassActivity
W/InputMethodManagerService(  853): Focus gain on non-focused client com.android.internal.view.IInputMethodClient$Stub$Proxy@41f4f068 (uid=10007 pid=26147)
I/ActivityManager(26147): Timeline: Activity_idle id: android.os.BinderProxy@41c8ee18 time:169910140
I/WindowManager(  853): Screenshot max retries 4 of Token{42279828 ActivityRecord{420661c8 u0 com.digitallizard.nicecompass/.CompassActivity t117 f}} appWin=Window{420128b0 u0 Starting com.digitallizard.nicecompass} drawState=4
I/ActivityManager(  853): Process com.digitallizard.nicecompass (pid 26147) has died.


What would you do to try to fix that?

Thank you!






Aucun commentaire:

Enregistrer un commentaire