magnetometer problem - Wildfire General

Hello,
I have a problem with magnetometer / compass on my wildwire (htc fw rom 1.37.xxx)
I have installed "Bussola" from Market (or any other compass, the problem is the same...).
Using it, I noticed it doesn't work correctly and then it says there is an "incorrect magnetic field".
If I recalibrate it (moving wildfire to design an "8" ) , it then works but only if the screen is on.
If I press on power button to go to stand-by, when I unlock the phone there is the same problem and I have to recalibrate it; I didn't notice this problem when I buyed my Wildfire, It worked ...
Is it a possible problem of the new Htc rom? or is it an hardware problem? (I think no, as it shouldn't work anymore...)
Can you help me? is there any file on filesystem to wipe?
thank you.

anyone can test it?

Hi, Don't expect too much from me but I'm using wildfire and I'm used to "GPS Status" which test GPS, Magnetic field and the compass. I haven't experienced any problem with that.
I hope it's not hardware problem for your handset.

SOLVED!!
I have removed
/data/misc/ak8973prms.txt
Wildfire recreated it, and now works!

I can't try girello71's suggestion, as I've not rooted my wildfire yet (someone please tell me if I'm wrong on that !). But here is some more information that might be useful:
- my problems began (I think) when I installed "Satellite AR" and recalibrated using it. Prior to that, Google Sky Maps etc all worked very well. After the Satellite AR recalibration, Google Sky Maps and other similar things (e.g. compass apps) did not sense the phone attitude properly. Teeter was fine though. This confirms that it is a magnetometer rather than accelerometer problem ?
- despite being broken, all apps seem to respond temporarily to a recalibration, using the "waving around in a figure of 8" approach (this seesm to recalibrate in all the apps I've tried, despite them not documenting it - perhaps it is an OS thing). This allows, for example, Google Sky Maps to work in automatic mode, and compass apps to work, UNTIL you switch apps or sleep. Then you'll have to repeat the process.
Hope this helps.
Wildfire running Android 2.2.

girello71 said:
SOLVED!!
I have removed
/data/misc/ak8973prms.txt
Wildfire recreated it, and now works!
Click to expand...
Click to collapse
I have the same problem, & not rooted. Any way to clear this file without root?

I think there is no other method to remove this file... other than a factory reset!
ps: you can try with Android SDK and using this: "adb shell rm /data/misc/ak8973prms.txt" but I don't know if it works without a rooted phone

Related

Compass erratic behaviour realised

After trying a lot of the latest builds the only thing I can't seem to get working properly is the compass. It is not smooth and accurate like the like it is in WM.
After trying a few different compass apps I realised what was happening. Rather than using the compass sensor it seems to be using the g sensor. North actually follows the direction of tilt!
Any ideas?
Sent from my HTC HD2 using XDA App
Yes, compass is a bit shaky.
However, it seems to get better when you play around some time with it or move it in a figure 8 pattern.
hinky said:
Yes, compass is a bit shaky.
However, it seems to get better when you play around some time with it or move it in a figure 8 pattern.
Click to expand...
Click to collapse
For me it is not a calabration issue. No matter how many times I figure of 8 it it never calibrates or aknowledges calibration. North exactly matches the direction of tilt every time regardless of the direction I have standing or rotation of the device.
I can't believe no one else has had this issue.
I'm right there with you. I just hadn't realized the strong correlation with tilt. I also feel the 'figure 8' improves the compass, but it is still unusable.
Hopefully, this is enough to make one of the devs look at the compass driver code, slap his/her forehead, change a '3' to '7', submit to git, and we'll all have perfect compasses within 2 days.
Here's to hopin' !
This might help. Quote is Hastarin's.
NOTE: To get your compass working with r7+ you may need to do the following via adb shell (or GScript Lite), you will need to su:
killall akmd
mv /data/misc/AK8973Prms.txt /data/misc/AK8973Prms.bak
Then restart your phone.
If calibrated g by mistake:
http://forum.xda-developers.com/showpost.php?p=8526598&postcount=10
Sorry guys I missed your replies as this thread was unsubscribed for me.
Mariad said:
This might help. Quote is Hastarin's.
NOTE: To get your compass working with r7+ you may need to do the following via adb shell (or GScript Lite), you will need to su:
killall akmd
mv /data/misc/AK8973Prms.txt /data/misc/AK8973Prms.bak
Then restart your phone.
If calibrated g by mistake:
http://forum.xda-developers.com/showpost.php?p=8526598&postcount=10
Click to expand...
Click to collapse
I think this is on the right lines as the g sensor calibration fix seems to be related.
A couple of days back I nievely calibrated the g sensor. Realising my mistake I looked for the fix. I applied it and it worked. Yesterday I downloaded an app which had a feature that used the compass and it seemed to be working ok. I tried a compass app and low and behold it seemed to be accurate and no tilt behaviour.
Then just out of curiousity I tried to calibrate it and not only would it not aknowledge a calibration the the tilt behavior returned.
I did not try the g sensor reset fix again but I did reboot the phone and calibrate the compass in WM. Booting back into droid I found it was working again!
Interesting?
There is definitely some correlation between the compass and the g sensor and calibration of either.

[Q] Gps problem. Despite detected Satellites .

Hello everyone !
I'm a proud owner of an HTC Wildfire with Cyanogen 6.1.0 ROM.
But I have a problem, I don't think it's related to the rom because I had this problem before I flashed my phone.
So, no GPS software can get my position. (Copilot, OSMand...). i'm only using GPS, not aGPS.
I'm using "GPS test" from the market to see if any satelite is detected. And they are detected ! I get a good signal ! But...my GPS software keep saying that they can't get the position. I almost hear a laugh everytime.
Actuallty, it worked a couple of times before. Very randomly. I don't know why. But now...it never works...what's going on ?
Hello, had similar problem with some of the versions of Sygic, with other versions of Sygic it worked well. However Sygic kept crashing and therefor I removed them.
I recently installed Co-pilot 8.2.0.368 without problems.
Alternatively do a soft and hard reset (back-up all your data!).
Well i'm already using Copilot. It doesn't work. And i've done an hard reset twice. It still doesn't work.
Hx00R said:
Well i'm already using Copilot. It doesn't work. And i've done an hard reset twice. It still doesn't work.
Click to expand...
Click to collapse
I use CoPilot as well.
Does your GPS Test indicate there is a 3Dfix?
Because there needs to be atleast 3-4 satellites with a sufficient signal available.
Well, maybe that's the problem. GPS Test tells me that there are 7 Satellites in view but 0 in use and 0 in accuracy. I don't know if that's a clue.
Still, Everywhere I go, it's always the same. I've gone to places where I could manage to make it work once but it never worked again.
Could a damaged SD card cause this ?
Hx00R said:
Well, maybe that's the problem. GPS Test tells me that there are 7 Satellites in view but 0 in use and 0 in accuracy. I don't know if that's a clue.
Still, Everywhere I go, it's always the same. I've gone to places where I could manage to make it work once but it never worked again.
Click to expand...
Click to collapse
Apparently where you are located there are enough satellites but you get no fix. And since you tried various GPS apps without success it seems like a hardware issue (gps chipset). Would contact HTC service.
Well it's fixed. I've reloaded a ROM manager backup and everything works now. I had already done that but it worked this time...I don't know why...
thanks for the help !

How to solve phone unresponsiveness after using GPS??

Hello everyone, i've my SG3 flashed with Gsam101 ultraclean SPF rom + modified JPB kernel + lagfix v2!
I've solved the GPS slowness using the post http://forum.xda-developers.com/showpost.php?p=10385614&postcount=43
The main issue is that opening googlemaps already slows down the phone (cause it's kind of heavy application!) then with this software glitch it becomes even more slow... it's a sort of 3310 with froyo on it! :-(
I've kind of few applications installed btw and NO services started at boot, so i would exclude the cause of 3rd party applications causing this...
Did you actually fix the unresponsiveness? Or just the GPS fix time? I've managed to get the GPS fix to work, but the phone becomes very slow, even after the GPS is turned off.
exactly my problem, the gps fix with the method posted before is really fast!!
The phone becomes slow though, as you said :S
Ok I think I've found the problem. The stock GPS I5800XXJPF actually works really well. With a fresh install, my GPS would lock on for the first time within 20 seconds or so, and the phone would work fine. However, after reinstalling all my stuff with Titanium, the GPS went back to being very slow, and the phone would remain slow (laggy) until reboot.
So... I checked my GPS settings and I had 'Use sensor aiding' checked. Unchecked it, reboot and voila! No GPS problems. I still use GPS toolkit to make the first fix, but that is the only thing different from stock. GPS works great now and phone runs at full speed.
Does this make a difference for you guys?
You're my new hero...this "fix" works and gpsfix it's still fast and stable!
Sent from my GT-I5800 using XDA App
disabled "sensor aiding" on Galaxy-3 i5800
Hi,
I was planning to make a new thread on the lagging behaviour of the galaxy-3 i-5800 when i found this thread.
problem I had for long time :
My phone went to 100% cpu after "closing/ending" an application which uses gps, like g-maps,copilot,lattitide etc. It took me many weeks to pinpoint the problem, when it happened. Reason it took so long is that i found by accident, the 'remedy' , which is switching off the display and switch it on again. This interfered with the root-cause analysis , because when the screen went out automatically, the problem dissappeared :-S
"Finally" yesterday i found the root-cause of the lag.
It was "sensor aiding" in location and security setting. After disabling this setting, the lag problem is gone.
In dutch the setting is called "sensorondersteuning", which is located under "locatie en beveiliging".
So I want to spread the word to many galaxy-3 owners (i-5800/5801) to NOT use this feature (even not in the lates JPM firmware).
From yesterday, I'm a happy galaxy-3 owner again
enjoy it.
its JPF not SPF and its kinda stock like, many stock apps are removed, social hub etc. I dont think any are added, besides superuser since i suspect its prerooted

wildfire compass problem

because i cant root my wildfire (yet, even im not a fan of rooting) im still trying to fix my compass.
the problem started a few days ago when my compass for no apparent reason at all started pointing to left (west) and it points there no mater how i rotate the phone. and when i rotate it to 180 degrees from the direction its pointing it just goes wild.
the problem seems to be in the system calibration of the magnetometer. the magnetometer chip is ak8973 (i even found a datasheet for that chip) and system has a calibration (or something) data in a few files in the /data/misc/ and they are called..
rild_nitz_short_name_20404
rild_nitz_long_name_20404
AK8973Prms.txt.tmp
AK8973Prms.txt
but because i dont have root access i cant even confirm that they are there. can someone confirm that with a rooted wildfire please? .
now, the problem wouldn be that annoying if i could calibrate it once for all, but every single time i open some app that uses compass i need to calibrate it (like gps essentials).. and even if calibrate it it forgets that calibration the moment the screen goes off.
but even worse problem is google maps what dosent have any calibration, so i need to swing it all around a minute or so until it starts to work.. and again, when screen goes if it looses itself.
something like this..
youtube.com/watch?v=AqOmnI8A9Zg
i tried to get into safe mode (htc sent me the procedure) but i get into it for like 30 seconds, and then the phone reboots itself and gets into normal mode, so i cant confirm that its a system error. can someone help me whit this too?
im searching for a solution for days now, but without any luck.
did someone fixed this problem without rooting it (or factory reset because im in a lot of work these days so i dont have time to set up the whole phone and all app settings.. or is there a way to save all app settings and just put them back in?)
THE PROBLEM IS FIXED!!!!!!!!!!!!
tomorow ill login to this forum with my real nickname, not this temporary one (i see that this comunity is great!! ) and then ill write a tortorial how to fix compass problem on non rooted htc wildfire with stock android 2.2.1 .
i see that adb isnt so complicated when you know what your doing, and its easy to learn .
excuse me, and could you please post a so wanted tutorial here.

Quick question re Accelerometer

Good day XDA. I just noticed that my N7 is having problems with its accelerometer. I was playing temple run and mutant road kill and the characters always veer to the right.
Question is: is this a software or a hardware issue?
also, is there a fix/app if this is indeed a software issue?
thanks
well, i know that there is apps for calibrate the accelerometer, i can´t remember now the name, sorry, but i´m sure that you can find it on the market o google.
Anyways, did you try in diferents places? i mean, maybe the surface where you try wasn´t flat...
thanks for the reply man.. anyway, i already found a way to fix it and it's been holding up.
juanito05 said:
thanks for the reply man.. anyway, i already found a way to fix it and it's been holding up.
Click to expand...
Click to collapse
What's the fix?
What did you do to fix the issue?
Sent from my Paranoid Nexus 7
well first you have to confirm that you indeed have the gyro/accelerometer problem. you guys could download an app for that (i used Android Sensor Box). once that is confirmed, download the app "GPS Status". Run it and go to tools, then calibrate pitch and roll and just follow the instructions. I suggest you guys do this while your device is lying flat on a surface.
after trying this fix, i uninstalled GPS Status, rebooted my device and it held up. played temple run and the character started right smack in the middle lol. also tried checking the sensors using Android Sensor Box and it was calibrated. i just reinstalled GPS Sensor just in case i might need it down the road but im hoping this fix will be permanent. if it isnt, im pretty sure that this is a software problem and an update could give a permanent solution.
let me know if you guys get the same result i had with this.
Thanks
juanito05 said:
well first you have to confirm that you indeed have the gyro/accelerometer problem. you guys could download an app for that (i used Android Sensor Box). once that is confirmed, download the app "GPS Status". Run it and go to tools, then calibrate pitch and roll and just follow the instructions. I suggest you guys do this while your device is lying flat on a surface.
after trying this fix, i uninstalled GPS Status, rebooted my device and it held up. played temple run and the character started right smack in the middle lol. also tried checking the sensors using Android Sensor Box and it was calibrated. i just reinstalled GPS Sensor just in case i might need it down the road but im hoping this fix will be permanent. if it isnt, im pretty sure that this is a software problem and an update could give a permanent solution.
let me know if you guys get the same result i had with this.
Thanks
Click to expand...
Click to collapse
That was amazing man. I have been swearing over this accelerometer issue ever since I got the device, and now it's perfect. :beer:
Sent from my SGH-I747M using xda app-developers app
Had exactly same issues on all three units I have purchased. GPS Status app does fix the problem. Thanks for the solution.
GPS status did nothing for me.
Same problem veering to the right
Held n7 landscape
Reboot
After reboot accelerometer is working fine
Sent from my Nexus 7
bagofcrap24 said:
GPS status did nothing for me.
Same problem veering to the right
Held n7 landscape
Reboot
After reboot accelerometer is working fine
Sent from my Nexus 7
Click to expand...
Click to collapse
This didn't do the thIng for me neither
But I did the job like this.
Open an app that uses the compass. You can use GPS Status, Android Sensor Box or whatever app you like that uses a compass.
twist/turn your device 3 times around each of all the three axes
FINISH
Even after a reboot it works great.
But if you flash a new rom this fix will be broken

Categories

Resources