[Completed] Compass not working (Motorola RAZR HD) - XDA Assist

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.
adb logcat for Nice compass (which crashes) typically shows this:
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 [email protected] (uid=10007 pid=26147)
I/ActivityManager(26147): Timeline: Activity_idle id: [email protected] 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!

Related

[APP] CSDevCTRL 4.1 (05/10/2013)

Offers functionality to enjoy more your android device:
A. Bluetooth CTRL
No need to worry for turning on/off bluetooth while making calls.
Just let the app, toggle automatically the bluetooth for you based on your own settings.
Using Samsung S3 stock rom with the known autoconnection problem ? Just enable the workaround to fix this problem.
B. Sound Volume CTRL
If you find that the ringer volume is been reduced accidentally too often, then just let the app automatically adjust it for you when ringing.
The app can also synchronize the media volume mute state with the ringer mute state.
C. Call CTRL
Let the app speak aloud an incoming call using your own custom message so you can tell who's is calling easily.
Change on the fly before dialing, the prefix of a contact number (no need to update your contacts manually).
D. SMS CTRL
Let the app speak aloud an incoming SMS using your own custom message so you can tell who's is messaging you easily.
E. Camera Flash Led CTRL
Camera Flash can be made to blink on receiving a call or new SMS.
F. WIFI CTRL
Want to get a notification if WIFI is on but not connected ?
Would you like to toggle WIFI based on screen being on/off ?
Wish to turn off WIFI if no longer connected ?
Then check out these options.
G. Screen CTRL
You find that the screen turns-off too quickly ? Just let the app increase the screen time-out when using your favorite apps.
The app can also set the screen to Landscape when HDMI connection is detected.
H. Share With CTRL
Let the app, send a web site to Google translate to be translated to your language.
Tested on 2.2/2.3/4.0/4.1 android, does not require root access.
Permissions Explanation
---
- Your messages
Be able to announce the reception of an SMS
- Your personal information
Be able to announce the contact name when receiving an SMS or a Call
- Network Communication
Be able to detect Wifi/Bluetooth connection
- Phone Calls and Services that cost you money
Be able to add a prefix in-front of the number being dialed
- Hardware controls
Be able to use the camera Flash
- System tools
Be able to toggle WiFi/Bluetooth
-Your personal information
Be able to identify the caller
-Services that cost you money
Be able to append infront of the number the prefix
History of changes:
---
Version 4.1:
> Removed ClipBoard and Location CTRLs (they are now standalone apps).
> Various fixes.
Doesn't work. Starting with a black screen and after pops up a dialog to forse close app.
here is the logcat code:
Code:
I/ActivityManager( 186): Start proc com.csdevctrl for activity com.csdevctrl/.CSDevCTRL: pid=1110 uid=10118 gids={3002, 3001
, 1006}
D/dalvikvm( 107): GC_EXPLICIT freed 12K, 54% free 2478K/5379K, external 0K/0K, paused 73ms
D/dalvikvm( 107): GC_EXPLICIT freed <1K, 54% free 2478K/5379K, external 0K/0K, paused 90ms
D/szipinf ( 1110): Initializing inflate state
D/dalvikvm( 107): GC_EXPLICIT freed <1K, 54% free 2478K/5379K, external 0K/0K, paused 550ms
D/dalvikvm( 1110): GC_EXTERNAL_ALLOC freed 51K, 54% free 2487K/5379K, external 0K/0K, paused 74ms
D/AndroidRuntime( 1110): Shutting down VM
W/dalvikvm( 1110): threadid=1: thread exiting with uncaught exception (group=0x40018560)
E/AndroidRuntime( 1110): FATAL EXCEPTION: main
E/AndroidRuntime( 1110): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.csdevctrl/com.csdevctrl.CSDev
CTRL}: java.lang.NullPointerException
E/AndroidRuntime( 1110): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1752)
E/AndroidRuntime( 1110): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1768)
E/AndroidRuntime( 1110): at android.app.ActivityThread.access$1500(ActivityThread.java:123)
E/AndroidRuntime( 1110): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:936)
E/AndroidRuntime( 1110): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 1110): at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 1110): at android.app.ActivityThread.main(ActivityThread.java:3812)
E/AndroidRuntime( 1110): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 1110): at java.lang.reflect.Method.invoke(Method.java:507)
E/AndroidRuntime( 1110): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:841)
E/AndroidRuntime( 1110): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:599)
E/AndroidRuntime( 1110): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 1110): Caused by: java.lang.NullPointerException
E/AndroidRuntime( 1110): at com.csdevctrl.CSDevCTRL.onCreate(CSDevCTRL.java:482)
E/AndroidRuntime( 1110): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
E/AndroidRuntime( 1110): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1706)
E/AndroidRuntime( 1110): ... 11 more
W/ActivityManager( 186): Force finishing activity com.csdevctrl/.CSDevCTRL
W/ActivityManager( 186): Activity pause timeout for HistoryRecord{40816c40 com.csdevctrl/.CSDevCTRL}
I/dalvikvm( 587): Jit: resizing JitTable from 2048 to 4096
^C
Hi dancer,
what can i say ... it crashes as there are no paired devices on your device.
I apologize for this, forgot to try a case like this on my phone as its not possible to test on the simulator.
Anyway, i have uploaded the 1.3.1 so if you want to try it please downloading it again.
Yes, I changed my rom recently and I haven't pair my bluetooth.
I will try the new version.
Ευχαριστώ.
EDIT:
Works fine now.
Μιας και είναι ελληνική ή εφαρμογή, γιατί να μην είναι και στα ελληνικά?
Ευχαριστω για τα σχολια dancer.
Its a good suggestion to support other languages than englsh.
I am going to upload the xml file with the strings and anyone will be welcome to change it and match his/her mother language.
It appears to be working on Gingerbread, on my HD2.
This app will come in very handy, as GB on the HD2 has a 60mA idle drain with Bluetooth, and I use Bluetooth in my car, so this will help alot.
I will test it over the next day or 2 and report back.
Thanks for the work
Awesome App! Love the bluettoth features and how the flash will blink on an incomming call if turned over.
One request would be to have wifi turn off once no longer in range/connected for like 5 minutes.
TIA
Nice app. i just have 1 suggestion, it would be nice i the wifi turn off came maybe 1
minute after screen turn off
Something kind of weird happened. I had my phone on vibrate, and when the call finally connected to the phone, the vibrate started and there was no light, and then when the light started, the vibrate stopped. Is there any ways to have both or is there a specific reason you chose one at a time?
Awesome feature though. Thanks for the hard work. Keep it up.
wow this is a great tool! i have only tried the incoming call flash feature and it works great. I have not tested the blue tooth function tho.
Tested on Dell Streak with DJSteve's 1.8.1 rom.
keep up the dev!
Evo4g here, I just installed your app and I was wondering how do i know if the bt settings are actually working? The bt connected icon stays on all of the time.
Wow, this is going to be great!
Just one question: in a screenshot on this site i saw "Turn off bluetooth if not connected to paired device", but I can't find it on the app. Is this feature missing or what?
Great work anyway!
ilhe1s said:
Awesome App! Love the bluettoth features and how the flash will blink on an incomming call if turned over.
One request would be to have wifi turn off once no longer in range/connected for like 5 minutes.
TIA
Click to expand...
Click to collapse
Thanks for the comments, am actually working on this and i hope i will add it soon.
clemme01 said:
Nice app. i just have 1 suggestion, it would be nice i the wifi turn off came maybe 1
minute after screen turn off
Click to expand...
Click to collapse
Sure i will see what i can do, thanks for the comments.
unknownrebelx said:
Something kind of weird happened. I had my phone on vibrate, and when the call finally connected to the phone, the vibrate started and there was no light, and then when the light started, the vibrate stopped. Is there any ways to have both or is there a specific reason you chose one at a time?
Awesome feature though. Thanks for the hard work. Keep it up.
Click to expand...
Click to collapse
really weird but to be honest i did not try this case.
Thanks for the comments, i will test it to figure a way to have both enabled as the intention was to add the flash functionality on top of any existing.
2sslow said:
Evo4g here, I just installed your app and I was wondering how do i know if the bt settings are actually working? The bt connected icon stays on all of the time.
Click to expand...
Click to collapse
Well the purpose of this program is:
- Turn on the bluetooth when making/receiving a call
- Turn it off only if it was turned on due to the above statement.
So if the bluetooth was already on , then the program will not interfere with it and it will not turn it off.
So to test it, make sure that bt is off and then try making a call (it should turn bt on) then hang up (it should turn it off) assuming the relevant options are selected.
cm0901 said:
Wow, this is going to be great!
Just one question: in a screenshot on this site i saw "Turn off bluetooth if not connected to paired device", but I can't find it on the app. Is this feature missing or what?
Great work anyway!
Click to expand...
Click to collapse
Thanks for the comment, the paired devices option will appear only if you have already paired BT devices before running the program.
chrisstavrou said:
Thanks for the comment, the paired devices option will appear only if you have already paired BT devices before running the program.
Click to expand...
Click to collapse
Sweet! I'l try as soon as I can, thanks in the meantime!
Well, i've been testing it for the last day, and it works great - Well done.
Only thing for me, is my stereo doesn't connect fast enough to the Bluetooth for me to use the handsfree... But obviously, thats not a fault of this program, it's the stereo.
testing right now! nice to see that we have more Cy users welcome aboard to the Android scene

[Q&A] CyanogenMod 11.0 for Photon Q

Q&A for CyanogenMod 11.0 for Photon Q
Some developers prefer that questions remain separate from their main development thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by the developer. Thanks for understanding and for helping to keep XDA neat and tidy! :smile:
CM11 - XT897 WiFi issue
I recently flashed my XT897 with CM11-jbbl and I cannot connect to my WiFi. I did a bit searching but I cannot find a solution. I was hoping someone could point me in the right direction.
The XT897 uses only 2.4GHz.
It's possible that it also can only connect in channels 1-11. <- needs confirmation, didn't test that.
Stupidrak said:
I recently flashed my XT897 with CM11-jbbl and I cannot connect to my WiFi. I did a bit searching but I cannot find a solution. I was hoping someone could point me in the right direction.
Click to expand...
Click to collapse
Loader009 said:
The XT897 uses only 2.4GHz.
It's possible that it also can only connect in channels 1-11. <- needs confirmation, didn't test that.
Click to expand...
Click to collapse
Also, make sure you clean flash.
arrrghhh said:
Also, make sure you clean flash.
Click to expand...
Click to collapse
By this do you mean wipe everything prior to flashing? If so, then I did so everything should be good.
Thanks for the swift replies.
Stupidrak said:
By this do you mean wipe everything prior to flashing? If so, then I did so everything should be good.
Thanks for the swift replies.
Click to expand...
Click to collapse
Yes, that's what I mean.... doing at least a factory reset before installing. Wiping /system before flashing is also a good idea, if you're going between custom ROM's and don't want the gapps to be backed up.
Can you explain more about your wifi setup... anything special? What frequency? Encryption type?
Also what happens on the phone?
Have you tried rebooting?
Which CM are you installing - nightly or snapshot? Have you tried different versions?
arrrghhh said:
Yes, that's what I mean.... doing at least a factory reset before installing. Wiping /system before flashing is also a good idea, if you're going between custom ROM's and don't want the gapps to be backed up.
Can you explain more about your wifi setup... anything special? What frequency? Encryption type?
Also what happens on the phone?
Have you tried rebooting?
Which CM are you installing - nightly or snapshot? Have you tried different versions?
Click to expand...
Click to collapse
Sorry for the lack of details thus far. Here we go:
2.4Ghz WPA-PSK
The phone only allows me to input a password and then simply states it has the network info saved. No wifi is connected.
I have tried rebooting but no change
I have attempted to wipe the wifi settings in the data folder but no changes
I have reviewed my routers settings and changed the broadcast channel as well as the frequency.
I have tried using two releases so far for the moto_msm8960_jbbl rom. 10-08 snapshot and the 10-11 Nightly.
Which channel is your AP using?
Is your AP hidden?
AP = Access Point = WLAN-Router
Also, what happens if you tap on the AP (on the PQ) and select "connect"?
try to switch to WPA2-PSK , I did read somwhere that this could be the issue.
I managed to find a "problem" or "bug" (or "missfunction of the SoC/driver") by accident.
When I try to rebuild a thumbnail for one video (with MX Player), the landscape mode is malfunctioning.
If I force close MX Player (in portrait mode), the malfunction doesn't go away. (Landscape mode is "crippled".)
I have to do a cold boot.
I have a log with "only" crippled landscape mode: (the [...] represents the line before for a dozen times; 10-300 times)
Code:
10-24 13:03:15.239 W/ResourceType(7029): Invalid package identifier when getting bag for resource number 0xffffffff
10-24 13:03:16.721 W/Adreno200-GSL(1473): <gsl_ldd_control:359>: ioctl fd 15 code 0xc0140910 (IOCTL_KGSL_RINGBUFFER_ISSUEIBCMDS) failed: errno 22 Invalid argument
[...]
10-24 13:03:16.731 I/configuration_changed(7029): 1152
10-24 13:03:16.721 W/Adreno200-GSL(1473): <gsl_ldd_control:359>: ioctl fd 16 code 0xc0140910 (IOCTL_KGSL_RINGBUFFER_ISSUEIBCMDS) failed: errno 22 Invalid argument
[...]
10-24 13:03:16.731 I/ActivityManager(7029): Config changes=480 {0.90000004 262mcc7mnc de_DE ldltr sw360dp w598dp h334dp 240dpi nrml land finger qwerty/v/h dpad/h s.16 themeResource=null}
10-24 13:03:16.741 I/InputReader(7029): Reconfiguring input devices. changes=0x00000004
10-24 13:03:16.741 I/InputReader(7029): Device reconfigured: id=1, name='atmxt-i2c', size 540x960, orientation 3, mode 1, display id 0
10-24 13:03:16.741 I/InputReader(7029): Reconfiguring input devices. changes=0x00000004
10-24 13:03:16.801 D/PhoneStatusBar(10288): mSettingsPanelGravity = 55
10-24 13:03:16.801 W/Adreno200-GSL(1473): <gsl_ldd_control:359>: ioctl fd 15 code 0xc0140910 (IOCTL_KGSL_RINGBUFFER_ISSUEIBCMDS) failed: errno 22 Invalid argument
[...]
10-24 13:03:16.841 D/GeckoApplication(10638): onConfigurationChanged: de_DE, background: false
10-24 13:03:16.841 D/GeckoLocales(10638): No selected locale. No correction needed.
10-24 13:03:16.841 W/Adreno200-GSL(1473): <gsl_ldd_control:359>: ioctl fd 15 code 0xc0140910 (IOCTL_KGSL_RINGBUFFER_ISSUEIBCMDS) failed: errno 22 Invalid argument
[...]
10-24 13:03:17.021 I/Timeline(7029): Timeline: Activity_windows_visible id: ActivityRecord{42ba64a0 u0 com.nolanlawson.logcat/.LogcatActivity t3} time:813069
10-24 13:03:17.021 W/Adreno200-GSL(1473): <gsl_ldd_control:359>: ioctl fd 15 code 0xc0140910 (IOCTL_KGSL_RINGBUFFER_ISSUEIBCMDS) failed: errno 22 Invalid argument
[...]
10-24 13:03:17.422 I/WindowManager(7029): Screen frozen for +786ms due to Window{42bdeeb0 u0 StatusBar}
10-24 13:03:17.462 W/Adreno200-GSL(1473): <gsl_ldd_control:359>: ioctl fd 15 code 0xc0140910 (IOCTL_KGSL_RINGBUFFER_ISSUEIBCMDS) failed: errno 22 Invalid argument
[...]
10-24 13:03:18.002 I/InputReader(7029): Reconfiguring input devices. changes=0x00000004
10-24 13:03:18.002 I/InputReader(7029): Device reconfigured: id=1, name='atmxt-i2c', size 540x960, orientation 0, mode 1, display id 0
10-24 13:03:18.012 I/ActivityManager(7029): Config changes=480 {0.90000004 262mcc7mnc de_DE ldltr sw360dp w360dp h566dp 240dpi nrml port finger qwerty/v/h dpad/h s.17 themeResource=null}
10-24 13:03:18.002 I/configuration_changed(7029): 1152
10-24 13:03:18.062 D/PhoneStatusBar(10288): mSettingsPanelGravity = 55
10-24 13:03:18.092 D/GeckoApplication(10638): onConfigurationChanged: de_DE, background: false
10-24 13:03:18.102 D/GeckoLocales(10638): No selected locale. No correction needed.
10-24 13:03:18.403 I/Timeline(7029): Timeline: Activity_windows_visible id: ActivityRecord{42ba64a0 u0 com.nolanlawson.logcat/.LogcatActivity t3} time:814439
10-24 13:03:18.753 I/WindowManager(7029): Screen frozen for +775ms due to Window{42bdeeb0 u0 StatusBar}
10-24 13:03:18.783 W/Adreno200-GSL(1473): <gsl_ldd_control:359>: ioctl fd 15 code 0xc0140910 (IOCTL_KGSL_RINGBUFFER_ISSUEIBCMDS) failed: errno 22 Invalid argument
[...]
10-24 13:03:19.173 E/ViewRootImpl(10781): Attempting to destroy the window while drawing!
10-24 13:03:19.173 E/ViewRootImpl(10781): [email protected], title=Toast
10-24 13:03:19.254 W/ResourceType(7029): Invalid package identifier when getting bag for resource number 0xffffffff
10-24 13:03:19.264 I/sf_frame_dur(1473): [Toast,13,0,1,0,0,0,1]
If you need a log, when I redo the "bug" or "malfunction", please say so.
This bug has to be for a few month in CM11 now. I noticed it earlier but I didn't manage to repeat it.
PS: Please keep in mind, that this might be a faulty device. I have random reboots and after a reboot, the phone-function doesn't work. I have to cold boot several times.
Also the WLAN seems to hang, but this might be the fault of titanium backup. I tested it and it hung everytime it backups the WLAN-data (because of this, WLAN is no longer backed up).

[Q] Compass not working (Motorola RAZR HD)

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[email protected] (uid=10007 pid=26147)
I/ActivityManager(26147): Timeline: Activity_idle id: [email protected] 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!
Fixed
Fixed after I updated the ROM, see here http://forum.xda-developers.com/showpost.php?p=58210524&postcount=4
The compass apps I was using still don't work, but that's because they are old, I think, and SatStat compass works fine even without a GPS fix.

Compass freezes sporadically

Hey,
i have postet this question already in Xperia Forum, but there came no answers, hope someone here has an idea.
i´ve got problems with the compass.
After booting, everything works fine, but after a while (some hours) the compass freezes.
i´v tried it also with the *#*#7378423#*#* all the Values are freezed.
So i decided to contact sony and report this behaviour, i still have warranty.
Sony gave me some advices like start in Safe mode and make a factory reset, but nothing helped.
So they said i should send it to Sony service, and i did so.
Sony made a check, but couldnt reproduce the Error and sent it back to me.
I can comprehend that, because you have to wait a while untill you notice the compass is not working.
So, i decided to conact sony again, but the service guy only told me, that there is no more help for me, i can send it to the service again, or i can send a complainment to sony.
I decided to first check again the Phone, in the hope to find out when the error occur.
And indeed i get a little bit closer.
The error occures only if somehing interrupts the currrent running App (or Activity).
Something like a Push-notification or if one clicks on the App-Switcher.
If made a Logcat from the moment when the compass freezes.
While recording the Logcat i used the App Sky map which is called Stardroid in the Logcat.
I changed the color in the logcat to red, when the error occures.
I used sky map, because while using it the display isnt shut down, so you can run it all the time.
Good for long term tests.
Code:
09-07 08:21:52.670 837-5234/? D/audio_hw_primary: enable_audio_route: apply mixer and update path: low-latency-playback
09-07 08:21:52.670 9629-9629/? I/Stardroid.DynamicStarMapActivity: Resuming
09-07 08:21:52.671 9629-9629/? I/Stardroid.DynamicStarMapActivity: Starting view
Starting controller
09-07 08:21:52.671 9629-9629/? I/Stardroid.ControllerGroup: Starting controllers
09-07 08:21:52.671 9629-9629/? D/Stardroid.LocationController: LocationController start
09-07 08:21:52.671 837-5234/? D/audio_hw_primary: select_devices: usecase->type:0, usecase->id:1
select_devices: done
09-07 08:21:52.672 9629-9629/? D/Stardroid.LocationController: Got location provider network
09-07 08:21:52.673 1687-3024/? D/LocSvc_HIDL_IzatProvider_jni: Provider Type: 2; Num Updates : 2147483647; Interval : 600000Displacement : 2000.000000; Accuracy : 1
09-07 08:21:52.673 1687-3024/? V/LocSvc_HIDL_IzatProvider_jni: [onAddRequest][316] [HC] =>> [HS]
09-07 08:21:52.673 1321-1321/? V/LocSvc_HIDL_IzatProvider: [onAddRequest][174] [HS] <<<<= [HC]
09-07 08:21:52.673 9629-9629/? D/Stardroid.LocationController: Location not changed sufficiently to tell the user
LocationController -start
09-07 08:21:52.673 9629-9629/? D/Stardroid.SensorOrientationController: Using rotation sensor
09-07 08:21:52.673 1687-2108/? V/LocSvc_HIDL_OsNpGlue_jni: [onSetRequest][56] [HC] <<= [HS]
09-07 08:21:52.676 9629-9629/? D/Stardroid.SensorOrientationController: Registered sensor listener
09-07 08:21:52.676 9629-9629/? D/Stardroid.SensorAccuracyMonitor: Starting monitoring compass accuracy
[COLOR="Red"]09-07 08:21:52.680 852-1150/? E/qti_sensors_hal: processInd: Unknown message ID = 6
09-07 08:21:52.682 852-1114/? E/qti_sensors_hal: processBufferingResp: Result: 1, Error: 5
processBufferingResp: 10 Error: 4 Reason: 0
09-07 08:21:52.682 852-852/? E/qti_sensors_hal: enable:sensor(android.sensor.magnetic_field) Failed for handle 10 @ samp 14.999925 Hz rpt 0 Hz batched 0
Activate the handle 10 is not successful
09-07 08:21:52.682 1687-1699/? E/SensorService: Error activating sensor 3 (Operation not permitted)[/COLOR]
09-07 08:21:52.682 9629-9629/? D/Stardroid.DynamicStarMapActivity: -onResume at 1536301312682
09-07 08:21:52.687 1687-1698/? I/InputDispatcher: Focus entered window: Window{fc04736 u0 com.google.android.stardroid/com.google.android.stardroid.activities.DynamicStarMapActivity}
09-07 08:21:52.694 9629-9661/? D/SkyRenderer: surfaceCreated
09-07 08:21:52.694 9629-9661/? I/SkyRenderer: GL extensions: GL_EXT_debug_marker GL_AMD_compressed_ATC_texture GL_AMD_performance_monitor GL_APPLE_texture_2D_limited_npot GL_ARB_vertex_buffer_object GL_EXT_texture_filter_anisotropic GL_EXT_texture_format_BGRA8888 GL_EXT_texture_type_2_10_10_10_REV GL_OES_blend_equation_separate GL_OES_blend_func_separate GL_OES_blend_subtract GL_OES_compressed_ETC1_RGB8_texture GL_OES_compressed_paletted_texture GL_OES_depth_texture GL_OES_depth24 GL_OES_draw_texture GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_framebuffer_object GL_OES_matrix_palette GL_OES_packed_depth_stencil GL_OES_point_size_array GL_OES_point_sprite GL_OES_read_format GL_OES_rgb8_rgba8 GL_OES_stencil_wrap GL_OES_texture_cube_map GL_OES_texture_env_crossbar GL_OES_texture_float GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_texture_npot GL_OES_texture_mirrored_repeat GL_QCOM_extended_get GL_QCOM_tiled_rendering
Model: G8141
VBOs disabled
After rebooting the Compas is okay again.
So i tried to use the compass again with sky map.
And then i closed sky map and wait some time, opens it again o see if it still working.
After some tries i noticed, that it is again freezed.
So its not relevant if you are currently running the App, or if its running in the backround.
To proof i rebeootet again, so everything is working fine again.
And now i made the same tests like before, but this time i killed Sky map after every try.
So nothing is activly using the compass. And as you may have guessed, he compass works fine.
Has anyone an Idea, what i could do now?
What can i do about Sony, and how can i fix my mobile phone?
Best regards
Tim
When your compass is freezing, have you tried to kill every Apps, and do not reboot the phone, if the compass works after that?
If it works, maybe it is the problem of the app.
Yes, I tried. And I also tried to delete cache.
Did not work.

Question Android freezes when using wired headphones after upgrading to Android 13

Hello all,
I am having problems with my Android and am a software engineer (but not an Android engineer), so I thought I'd post here.
After upgrading to Android 13, my phone often freezes, goes blank, and then restarts. It always relates to starting audio while wired headphones are plugged in. For example, if I start a call with the headphones plugged it, the phone freezes and crashes, but if I plug it in while the call is in progress, there is no problem. So, I tried running
Bash:
adb logcat
in TCP mode and using wired headphones and I noticed the following things:
It seems to be related to an "audio policy". I'm not sure what that is, but it says the following many times repeated:
Code:
04-05 13:17:24.006 3560 4672 W ServiceManager: Service media.audio_policy didn't start. Returning NULL
04-05 13:17:24.006 3560 4672 W AudioSystem: AudioPolicyService not published, waiting...
A nearby error (also repeated, although less) is:
Code:
04-05 13:17:22.010 1505 1777 E AudioSystem-JNI: Command failed for android_media_AudioSystem_checkAudioFlinger: -32
04-05 13:17:22.010 1505 1777 E AS.AudioService: Audioserver died.
Eventually the logcat ends with a message like this:
Code:
04-05 13:22:10.407 526 526 I lowmemorykiller: lmkd data connection dropped
04-05 13:22:10.408 526 526 I lowmemorykiller: closing lmkd data connection
Please let me know if anyone has any ideas on how I can bypass this bug and listen to music/calls in peace!
Thanks,
Abe
Does changing Default USB Configuration [under Developer Options] to No Data Transfer do any good?
Thank you so much for responding! I tried a few calls and YouTube, and so good so far. However, the problem is not completely reproducible all the time, so I'll have to let you know in a few days whether the problem returns. Thanks again!
binary**# said:
Does changing Default USB Configuration [under Developer Options] to No Data Transfer do any good?
Click to expand...
Click to collapse
It still appears fixed. If I didn't make it clear from my previous message, your solution worked! Thank you so much for your help. I will follow up again if something breaks!

Categories

Resources