[Q] compass fix in ROMs or in app? - XPERIA X8 Q&A, Help & Troubleshooting

i have this bug in mostly all the CM7 ROMs i have used.
the compass in gps test application works great but when i open google maps or novicorp when i rotate my mobile clockwise the needle should stay still i.e. compass needle should rotate in anticlockwise direction which is not the case in google maps which in turn gives me wrong direction and navigation is useless.
please report if you get this bug also.
and i wanted to know about how to fix it.
thank you.

solved
mayurcools said:
i have this bug in mostly all the CM7 ROMs i have used.
the compass in gps test application works great but when i open google maps or novicorp when i rotate my mobile clockwise the needle should stay still i.e. compass needle should rotate in anticlockwise direction which is not the case in google maps which in turn gives me wrong direction and navigation is useless.
please report if you get this bug also.
and i wanted to know about how to fix it.
thank you.
Click to expand...
Click to collapse
i am so sorry for creating thread but i found the fix now.
http://www.mediafire.com/?jsy39xy1n31ogf8
this will reverse compass rotation and everything works now.

Related

Need Help: Application Testing for Nexus S

I had extended the compass sample in the SDK to include the gyroscope. However, as I do not have a Nexus S, I was not able to try it at all.
Would anyone please check that the attached apk works properly in the nexus S for me.
It is a very simple application which does not read/write anything to the phone (just listens to sensors and plots a cube to the screen according to your orientation).
The compass part works properly (i checked it on my phone). I wonder whether it works or not when you toggle to gyroscope by clicking the toggle button on the screen.
I do appreciate any help.
who has balls to test this?
I sure dont
EDIT:
This guy below me does
retigi said:
I had extended the compass sample in the SDK to include the gyroscope. However, as I do not have a Nexus S, I was not able to try it at all.
Would anyone please check that the attached apk works properly in the nexus S for me.
It is a very simple application which does not read/write anything to the phone (just listens to sensors and plots a cube to the screen according to your orientation).
The compass part works properly (i checked it on my phone). I wonder whether it works or not when you toggle to gyroscope by clicking the toggle button on the screen.
I do appreciate any help.
Click to expand...
Click to collapse
Installs and gyro works fine while in landscape/portrait
But if you switch portait to landscape or landscape to portrait, it resets to the accelerometer.
I never realized how twitchy our accelerometer was. The gyroscope is amazing stable in comparison.
Thank you my friend.
You can't imagine how grateful I am.
Thank you very much.
PS: Thanks to your note, I realized that I forgot to disable the orientation in the manifest. (I had disabled it from the settings in my phone. That is why, I could not notice that).
Why does your app want to access Storage and Phone calls?
Also, do you mind trying to test the rotation vector sensor? I tried to do so, but it seems to lock up and turn into NaNs...
retigi said:
Thank you my friend.
You can't imagine how grateful I am.
Thank you very much.
PS: Thanks to your note, I realized that I forgot to disable the orientation in the manifest. (I had disabled it from the settings in my phone. That is why, I could not notice that).
Click to expand...
Click to collapse
Sure thing, let me know if I can be of any further help to ya.
I found this video today
http://www.youtube.com/watch?v=5JQz7EOHAwE
I would like to know what these guys are using to test the gyro on the NS.. Actually I am not sure this app is actually testing the app or the compass / accelorometer.
any ideas?
retigi said:
I had extended the compass sample in the SDK to include the gyroscope. However, as I do not have a Nexus S, I was not able to try it at all.
Would anyone please check that the attached apk works properly in the nexus S for me.
It is a very simple application which does not read/write anything to the phone (just listens to sensors and plots a cube to the screen according to your orientation).
The compass part works properly (i checked it on my phone). I wonder whether it works or not when you toggle to gyroscope by clicking the toggle button on the screen.
I do appreciate any help.
Click to expand...
Click to collapse
Works fine here. When changing the orientation. It resets back to ac c + compass.
Gyro so much smoother
Sent from my Nexus S
as everyone mentioned, its working well on Nexus S!
the gyro working is very fluid! if possible, can you please share the source code? i am mostly interested in how you filtered (low pass filter, kalman filter,etc?) the gyro data and how you mapped the gyro reading to the rotation of the cube? did you use the raw gyro data, or any of the other android function like getRotationMatrix(), get AngleChange(), etc.?

Anybody using their note as a GPS?

anyone using the note as a GPS?
Any recommendation for GPS software?
the in built navigation does not seem to work as a GPS.
i have no problems using it for navigation as a sat nav if you mean that?
use it as sat nav everyday at work wih the built in app
its suppose to have the best satnav on the market even rivalling dedicated sat navs
ChimpNippl3s said:
i have no problems using it for navigation as a sat nav if you mean that?
use it as sat nav everyday at work wih the built in app
Click to expand...
Click to collapse
i can't get the nav to direct me.. it just work like a map and not like a GPS..
for instance, the GPS will get me some advise like please left and turn left in 200meter etc..
the built in nav does not seem to have this function. correct me if i am wrong.
You're using Google Maps.
For navigation, you must use Google Nav
you need to use the navigation app not maps
In Maps tap the menu button then select directions
Once you have entered your destination tap the symbol at the bottom left of the screen then the blue arrow at the top right.
helmetbox said:
anyone using the note as a GPS?
Any recommendation for GPS software?
the in built navigation does not seem to work as a GPS.
Click to expand...
Click to collapse
I've bought NDrive but there are quite a few other GPS turn-by-turn navigation apps available. The one advantage of these they store the maps locally so no need to run up the data bill. Although Google maps does do pre-caching of map areas if you enable it in the labs.
GPS is pretty good and much better then S2... it`s logged in very quick. i used different GPS-Software my favorite for navigation is Sygic.
Sygic and Navigon both have pretty good reputations, I've used Sygic before and was happy.
GPS performance is excellent with the GLONASS support.
NZtechfreak said:
Sygic and Navigon both have pretty good reputations, I've used Sygic before and was happy.
GPS performance is excellent with the GLONASS support.
Click to expand...
Click to collapse
I used it in this way:
Hardware:
Samsung original carcradle
Blutehooth via Parrot
Navigation:
connect bluethooth
start Musik
start navigation
adjust spoken navigation volume
an everything is fine in my opinion it works better then iPhone and/or HTC
NZtechfreak said:
Sygic and Navigon both have
pretty good reputations, I've used Sygic before and was happy.
GPS performance is excellent with the GLONASS support.
Click to expand...
Click to collapse
Thanks dude! I will try it out!
NZtechfreak said:
Sygic and Navigon both have pretty good reputations, I've used Sygic before and was happy.
GPS performance is excellent with the GLONASS support.
Click to expand...
Click to collapse
Hi, I tried install Sygic on my note but it doesn't work! It keep crashing!
Maybe you did not download a MAP via Sygic downloader ?
You need a map first otherwise the software won't work (well)
Sygic rules. (coming from TomTom, it's just as good)
lucid said:
Maybe you did not download a MAP via Sygic downloader ?
You need a map first otherwise the software won't work (well)
Sygic rules. (coming from TomTom, it's just as good)
Click to expand...
Click to collapse
i have downloaded the map through Sygic Down. Both Singapore and Malaysia maps..
do i need to load them first?
I'm succesfully usually Sygic: it's fantastic with the HD screen of the Note.
If it keeps crashing during start up, this can be the same problem that there is with the Galaxy S2 and other phone. Try to enable the wifi connection and then start the sw. Sometime it works. Anyway in the Sygic forum there are beta version of the sw that are fixing the various problem. Have a look at it because the beta are not relase to the market until they become stable version.

problem with s-pen

hello ,,
i have problem with s-pen
when using s-note the pen is away 2-mm from actual typing
i was searching to some solution for calibration and test and disable auto rotate and make it right hand from display setting .
but nothing get fix for that issue.
any help ?
i'm using ics 4 .
Try touchscreen tune from the market. There is a trial version in the market.
Sent from who knows where... I sure don't
noa.tranter said:
Try touchscreen tune from the market. There is a trial version in the market.
Sent from who knows where... I sure don't
Click to expand...
Click to collapse
thank you for post
i was downloaded it but still have the problem
I am also having this problem.
I don't understand why there isn't a calibration built into the stock system.
Its rather irritating.
any update
you need to keep the pen at 45 degrees angle, this is strange but Samsung made this by default without any calibration setting

[Update]Proximity Fix for Kexec Kernels! - All Sensors

First things first, I'd like to wish you all hello, as this is my first post here and to XDA in general.
That being said, after getting much out of XDA over the years I figured I would try to give something back while experimenting with android!
I give you..
Droid 3 Custom Sensors Module
This enables/fixes our proximity sensor on hashcode's awesome kexec kernel so the phone screen blanks during calls!
The issue is with the sensors.solana.so proprietary library that comes with our phones from motorola.
So I compiled for us a new sensors.solana.so to use which is compatible with Kexec kernels.
Note: This library only controls accerometer sensor, light/prox sensor and orientation/magnet sensor so theoretically it should work the same, just with proximity working. But without more use I can't be sure.
Also in theory this should work for any flavor of Kexec releases, but I can only confirm cm10 currently...
Update[12/13/12]:
-Akm module is now working (Magnetic Field sensor / compass)
-Why is this useful?
Google maps should work better in terms of orientation
Compass apps should work now, along with any others that use rotation vector
-This required a driver edit to get it pointing in the right direction, so v2 includes newest hashcode kernel with the edit. i sent the code to hashcode, so hopefully if he incorporates these changes then this will no longer be needed.
Installation:
1. Download Custom-SolanaModule-v2[Kexec].zip
2. Install it like any other zip in ss3
Removal:
2. Download Stock-SolanaModule [Kexec].zip
2. Install it like any other zip in ss3
More Notes:
Attached also is the source code I used. I cannot claim writing most of it, as its more of a collaboration of various files that I found online for our sensors with a couple various tweaks.
Edit[12/13/2012] For anyone looking to implement this, just unzip v2 source code into root directory of your repo, files should go where needed.
Obviously a big shoutout/thanks to Hashcode/dhacker/jonpry and everyone else that got our D3's to the place they are now. This is just one more step in the right direction hopefully.
Thanks dudeeeee!! Someone should pm this to hash! It's great!
Enviado desde mi DROID3 usando Tapatalk 2
Confirmed. Good work.
Sent from my XT862 using xda app-developers app
Nice, one step closer.
Who twittered Hash?
I tweetered.
Thank you Jarveson!
I'll get this into new builds w/ a credit to you for getting this together.
Sweet! Good to hear that it works for you guys also! Ill try to see if I can get magnet and orientation working when I get some more free time.
Also, Thanks Hash! I forgot to say that it would be awesome if you were able to incorporate this in your new builds, it was really late/early when I typed that up initially
jarveson said:
Sweet! Good to hear that it works for you guys also! Ill try to see if I can get magnet and orientation working when I get some more free time.
Click to expand...
Click to collapse
Orientation is already working not sure about magnet
DoubleYouPee said:
Orientation is already working not sure about magnet
Click to expand...
Click to collapse
Is the magnet the way the dock is detected? If so, it's working. Both my car and home dock are detected that the appropriate app (CarHome Ultra or Bedside) are launched.
hm, I dont believe orientation and magnetometer sensors work, at least not fully, here's why
If you download for example android sensor toolbox or elixir 2 you can go to sensors and see that magnetometer isn't reporting anything, which orientation relies on, which the rotation vector relies on. Unless i completely screwed up my test build ive been using :/
djbolden said:
Is the magnet the way the dock is detected? If so, it's working. Both my car and home dock are detected that the appropriate app (CarHome Ultra or Bedside) are launched.
Click to expand...
Click to collapse
Thats actually really interesting, but it might be that there is a separate magnet relay/switch used for docks
I almost have them working, issue currently is getting the compass to flop its yaw values, some reason magnetmeter x and y is swapped. Fairly certain its going to require a kernel/driver patch
jarveson said:
hm, I dont believe orientation and magnetometer sensors work, at least not fully, here's why
If you download for example android sensor toolbox or elixir 2 you can go to sensors and see that magnetometer isn't reporting anything, which orientation relies on, which the rotation vector relies on. Unless i completely screwed up my test build ive been using :/
Thats actually really interesting, but it might be that there is a separate magnet relay/switch used for docks
I almost have them working, issue currently is getting the compass to flop its yaw values, some reason magnetmeter x and y is swapped. Fairly certain its going to require a kernel/driver patch
Click to expand...
Click to collapse
Well, when I tick auto-rotation it works for me on CM10. But yeah the magnet might be broken.
I do want to add that the qwerty landscape/portrait mode is buggy. When I open my keyboard sometimes it's still in portrait mode.
DoubleYouPee said:
Well, when I tick auto-rotation it works for me on CM10. But yeah the magnet might be broken.
I do want to add that the qwerty landscape/portrait mode is buggy. When I open my keyboard sometimes it's still in portrait mode.
Click to expand...
Click to collapse
Oh yes, that mode uses the acceleration sensor, which shows how tilted the phone is. Think of orientation sensor more of a compass.
I dont think ive experienced the issue you are talking about, I know some apps dont flip when you open the keyboard, but thats the app. Any specific times it does it ?
jarveson said:
Oh yes, that mode uses the acceleration sensor, which shows how tilted the phone is. Think of orientation sensor more of a compass.
I dont think ive experienced the issue you are talking about, I know some apps dont flip when you open the keyboard, but thats the app. Any specific times it does it ?
Click to expand...
Click to collapse
Ye sometimes when I wake the screen it's in landscape. Or other way around when I open the keyboard it doesn't wake. If I then press a key it wakes but is still in portrait.
Btw, I also need to reapply auto brightness occasionally because it doesn't stick to my custom light sensor settings. But that might be some bug because the sensor itself works fine
Oh, thanks for the work btw. Only camera "sensor" left now
Ok, i can see the magnet works now in GPS toolbox, thanks!
I should've mentioned that I'm not using auto-rotate - so the problem I described is probably not related to these sensors.
It seems that sometimes, it doesn't recoqnize that the QWERTY keyboard got closed or got opened, and therefore it sticks the either landscape or portrait.
This doesn't happen in GB, so it's not a hardware fault on the slide mechanism.
What is libsensors? and do I need to install libsensors to use your custom proximity sensor?
Own Demon said:
What is libsensors? and do I need to install libsensors to use your custom proximity sensor?
Click to expand...
Click to collapse
Libsensors in a nutshell is basically a translation library that takes readings from some various sensors on your phone and translates it into android events.
Any recent cm10/cm10.1 build should have all this built in at this point so manually installing this isnt needed anymore
jarveson said:
Libsensors in a nutshell is basically a translation library that takes readings from some various sensors on your phone and translates it into android events.
Any recent cm10/cm10.1 build should have all this built in at this point so manually installing this isnt needed anymore
Click to expand...
Click to collapse
Thanks for the information. But I think yesterday or day before yesterday hash himself said that he will include all these addition in his next build( If I read carefully).
Own Demon said:
Thanks for the information. But I think yesterday or day before yesterday hash himself said that he will include all these addition in his next build( If I read carefully).
Click to expand...
Click to collapse
Coming after the 1/23 nightlies or do we know when?
Well actually i think nxt build well include this.
Sent from my XT862 using xda app-developers app

Compass not working

I have flashed some ROM as the picture shows but I don't have a stable compass working now. In apps such as Ingress and Gmaps I only got 2 pointable directions, like a very bad approximation. Some simple compass apps works normally, but the detailed ones are "buggy" as well. I tried calibrating gps and posted about in in ROM thread. Do u guys have any recommendation? Thanks in advance from Brazil!

Categories

Resources