Author Topic: [Coding]Compass tweaking  (Read 25142 times)

Online motafoca

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 0
  • -Receive: 10
  • Posts: 1903
  • Reputation: +1657/-6
    • View Profile
[Coding]Compass tweaking
« on: February 02, 2011, 08:31:34 AM »
Edit by psyke83: Please note that this fix is only for Motafoca's 2.0.9 ROM. CyanogenMod, and newer Froyo ROMs by DashBlack and Motafoca, already contain this fix. If you try to install it on these newer ROMs, your phone will not work properly.

Latest: You are not allowed to view links. Register or Login

-------------------------------------------------------------------------------------------
Hi guys,

I tried changing libs, changing kernel source code, lots of other stuff
The compass on froyo just doest work
Any other ideas?
Another thing, does the compass on i5508 Work?

Thanks
« Last Edit: September 09, 2011, 05:58:14 PM by psyke83 »
Follow madteam on Twitter!
@mad_team

Offline Shunz

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 40
  • Reputation: +9/-0
    • View Profile
[Coding]Compass tweaking
« Reply #1 on: February 03, 2011, 04:35:16 AM »
You are not allowed to view links. Register or Login
Hi guys,

I tried changing libs, changing kernel source code, lots of other stuff
The compass on froyo just doest work
Any other ideas?
Another thing, does the compass on i5508 Work?

Thanks
i5508 already get the official froyo by updating through KIES
Compass works

MADTeam Forum

[Coding]Compass tweaking
« Reply #1 on: February 03, 2011, 04:35:16 AM »
Your Ad Here

Offline andikasuhendar

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 8
  • Reputation: +0/-0
    • View Profile
[Coding]Compass tweaking
« Reply #2 on: February 03, 2011, 08:33:11 PM »
hi mota, does the compass have anything relate with the value from /sys/devices/virtual/accelerometer/accelerometer and /sys/devices/virtual/magnetic/magnetic?

Offline Shunz

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 40
  • Reputation: +9/-0
    • View Profile
[Coding]Compass tweaking
« Reply #3 on: February 06, 2011, 10:15:48 AM »
You can take a look at the i5508 latest firmware from samfirmware
User at hiapk(china android community) reported they already get the official froyo update through KIES and compass is working

Offline Gabriel

  • Jr. Member
  • **
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 56
  • Reputation: +13/-0
    • View Profile
[Coding]Compass tweaking
« Reply #4 on: February 06, 2011, 11:24:04 AM »
You are not allowed to view links. Register or Login
You can take a look at the i5508 latest firmware from samfirmware
User at hiapk(china android community) reported they already get the official froyo update through KIES and compass is working
I think the compass is in the kernel though Register or Login<#EMO_DIR#>/sad.gif\' class=\'bbc_emoticon\' alt=\':(\' />

Offline Hixin

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 3
  • Reputation: +0/-0
    • View Profile
[Coding]Compass tweaking
« Reply #5 on: February 07, 2011, 07:56:47 PM »
My compass works fine using 2.0.7 mind you...

Offline Nikhil

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 9
  • Reputation: +0/-0
    • View Profile
[Coding]Compass tweaking
« Reply #6 on: February 08, 2011, 01:07:32 PM »
compass working but only north-south directions are correct..east-west are opposite in 2.0.8..  Register or Login<#EMO_DIR#>/tongue.gif\' class=\'bbc_emoticon\' alt=\':P\' />
nice work motafaco.. love MAD team..  Register or Login<#EMO_DIR#>/biggrin.gif\' class=\'bbc_emoticon\' alt=\':D\' /> Register or Login<#EMO_DIR#>/smile.gif\' class=\'bbc_emoticon\' alt=\':)\' />

Offline In©ž

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 20
  • Reputation: +-3/-0
    • View Profile
[Coding]Compass tweaking
« Reply #7 on: February 16, 2011, 05:26:02 AM »
hey i found this:

Fix the GPS
Applies to 2.1 not-updated. Source: You are not allowed to view links. Register or Login...ad.php?t=728611
The GPS/GPS Compass has problem, namely, the Spirent GPS testing server that Samsung is using no longer exists. This may not work if you are not in 'Merica ('Merica must be said with heavy American accent, usually refers to the contiguous 48 United States) This procedure does not require root.

If you do have root, flash this file (You are not allowed to view links. Register or Login...ad.php?t=782242) instead. (The 2.1-update GPS fix, without the 2.1-update)

1. Go to Settings > Location & Security > "Use Wireless Networks" > Disable it

2. Start the Dialer/Phone > Dial *#*#1472365#*#* (more star codes: You are not allowed to view links. Register or Login...n-secret-codes/). This will send you to the LbsTestMode menu

The LbsTestMode Menu is disabled in 2.1update1 because the "official" GPS patch is in place. If you read this far and hit this problem, you should check the "applies to" lines I keep putting at the top of sections. Pay attention next time.

3. Go to Application settings > "Operation Mode" > Change it to MS Based.

4. Hit Back, and go to SUPL/CP Settings > Server: > Change it to supl.google.com . Don't put www in front of supl. Also note, this is why it may only work in the United States, since Google may not have network data for other countries.

5. Right under that, Port > Change to 7276

6. Back out to the Home Screen and reboot.

7. Turn Use Wireless Networks back on to submit your location data to your Google Overlords. The way MS Based works, it uses your network location to "hone in" on your GPS location, so you will need to turn it on to see good things happen (and not break it even more).

8. IT'S GPS TIME. If it's still wonky, restart again to make sure.

Default settings if you jacked it up:
Operation Mode: Standalone
Server: You are not allowed to view links. Register or Login (if you try going there, it's a parked domain)
Port: 7275

The Next (Optional) Step: Reset Your GPS Data
Same source as above. Once again, this may not work if you are not in 'Merica ('Merica must be said with heavy American accent)

9. Dial *#*#1472365#*#* to get back into the LbsTestMode menu

10. Go outside. Make sure you aren't under anything or next to anything that might impede your GPS fix (you should be able to look straight up and see sky.

11. Hit Delete GPS Data, then hit Get Position Test and stand still, preferably in a stupid pose so passerby will look at you funny.

12. Wait until your location data populates and you have an accuracy measurement around or smaller than 20 meters. You usually get that once you have 10+ fixes. You may get fewer fixes if you are outside at a bad time. If that bothers you, wait for the planet to rotate/GPS satellites to move, which means you may be outside for another 5 minutes.

13. Get back into air-conditioned-comfort before you suffer a heat stroke in the mid-day Texas heat. Restart your phone while you're at that.

Offline OuNao

  • Global Moderator
  • Full Member
  • *****
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 186
  • Reputation: +484/-0
    • View Profile
[Coding]Compass tweaking
« Reply #8 on: February 19, 2011, 07:26:23 PM »
Há relatos que o gt-i5508 funciona o compass. O driver realmente é um pouco diferente do nosso. You are not allowed to view links. Register or Login esse é o driver do 5508... Talvez usando esse driver funcione...

Offline lopiumy

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 16
  • Reputation: +7/-0
    • View Profile
[Coding]Compass tweaking
« Reply #9 on: March 02, 2011, 08:21:55 PM »
Does anybidy manage to solve the compass problem? I'm using motafoca 2.0.7 now still have problem, the problem is

When u move right the compass should turn left but it won't, it turn right also. How to solve? I saw on other forum calibrate the compass but i dunno how to calibrate, i got GPS status.

Online motafoca

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 0
  • -Receive: 10
  • Posts: 1903
  • Reputation: +1657/-6
    • View Profile
[Coding]Compass tweaking
« Reply #10 on: March 09, 2011, 02:12:59 PM »
Calibration doesnt work
Its a froyo problem unfortunaty
Follow madteam on Twitter!
@mad_team

Online motafoca

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 0
  • -Receive: 10
  • Posts: 1903
  • Reputation: +1657/-6
    • View Profile
[Coding]Compass tweaking
« Reply #11 on: March 10, 2011, 04:55:23 PM »
"Ounao" Managed to make a big inprovement on compass
Its not 100% but alot better
Here is the link
Just flash over 2.0.9 FINAL using odin 1 Package

THANK YOU "OUNAO"!!

You are not allowed to view links. Register or Login
Follow madteam on Twitter!
@mad_team

Offline Morts

  • Jr. Member
  • **
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 74
  • Reputation: +39/-0
    • View Profile
[Coding]Compass tweaking
« Reply #12 on: March 10, 2011, 07:01:54 PM »
I need to select .OPS file too or only flash this file?

I did the download of 2.0.9 final. When I dis-compact the file I have a .tar.md5 file. Do I have to erase the .md5 or do something else?

Thank's!

Online motafoca

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 0
  • -Receive: 10
  • Posts: 1903
  • Reputation: +1657/-6
    • View Profile
[Coding]Compass tweaking
« Reply #13 on: March 10, 2011, 07:07:01 PM »
Use same .ops
just open the .md5 with "one package"
Follow madteam on Twitter!
@mad_team

Offline dadonolde

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 0
  • Reputation: +0/-0
    • View Profile
[Coding]Compass tweaking
« Reply #14 on: March 10, 2011, 07:08:28 PM »
Can i flash over 2.0.9 beta3 ?

MADTeam Forum

[Coding]Compass tweaking
« Reply #14 on: March 10, 2011, 07:08:28 PM »
Your Ad Here

Tags:
 

Your Ad Here
SimplePortal 2.3.5 © 2008-2012, SimplePortal