HopelessFantasy / openetna

Automatically exported from code.google.com/p/openetna
0 stars 0 forks source link

GPS is not working #354

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Download "GPS Test" by "Chartcross Limited" from Android Market.
2. Turn the GPS on and enable options "Use GPS Satellites", "Use assisted GPS" 
and "Use wireless networks".
3. Go back to GPS test, there should be a list of the found satellites and 
information recovered from them, but there's none.

What is the expected output? What do you see instead?
GPS should detect satellites and information should be recovered from them.

What version of the boot.img and system.img are you using?
bootV2.4.4.img
systemV6.1-rc5

Can you provide logcat output during that error?
Not available

Please provide any additional information below.
As requested

Original issue reported on code.google.com by juanca...@gmail.com on 4 Jan 2011 at 6:37

GoogleCodeExporter commented 9 years ago
same issue.
It works once then you need to reboot to make it working.
otherwise the GPS symbol not visible on top status bar

Original comment by niranjan...@gmail.com on 6 Jan 2011 at 12:43

GoogleCodeExporter commented 9 years ago
Same issue, but so far never got a GPS fix. left phone in car in open field, 
clear skies twice until battery drained (ca. 3hrs in total).

Original comment by kerschis...@gmail.com on 8 Jan 2011 at 3:04

GoogleCodeExporter commented 9 years ago
SAME ISSUE with bootV2.4.4.img
systemV6.1-rc5

Original comment by Qinian.X...@gmail.com on 19 Jan 2011 at 2:41

GoogleCodeExporter commented 9 years ago
same for me :(

Original comment by AVEMA...@gmail.com on 21 Jan 2011 at 1:30

GoogleCodeExporter commented 9 years ago
I remembered it working with 6.1rc5, but when i needed it today, it doesn't 
work!

Original comment by hnass...@gmail.com on 29 Jan 2011 at 5:05

GoogleCodeExporter commented 9 years ago
Please check if this is working in 6.3-rc2.

Original comment by trmfrei...@gmail.com on 8 Feb 2011 at 12:28

GoogleCodeExporter commented 9 years ago
The GPS work great, more good than 6.1 version

Original comment by frchas...@gmail.com on 8 Feb 2011 at 12:41

GoogleCodeExporter commented 9 years ago
With 6.3-rc2 I don't get gps to work. I use copilot and with 6.1 rc5 it worked. 
I dont see the gps icon in the status bar aftter it should and don't have a gps 
signal... does anyone else have this problem ? After multiple reboots, stil 
don't work

Original comment by dieter.b...@gmail.com on 8 Feb 2011 at 12:50

GoogleCodeExporter commented 9 years ago
Please test with another application. Check if you dont have any application 
disabling gps.

Original comment by trmfrei...@gmail.com on 8 Feb 2011 at 1:05

GoogleCodeExporter commented 9 years ago
I've tested it with google maps and gps tester. its like the service won't 
start.

Original comment by dieter.b...@gmail.com on 8 Feb 2011 at 4:20

GoogleCodeExporter commented 9 years ago
It's working for me.
Check if you dont have any application disabling gps.
Did you fasboot -w?

Original comment by trmfrei...@gmail.com on 8 Feb 2011 at 4:23

GoogleCodeExporter commented 9 years ago
I just installed open systemV6.3-rc4.img and bootV6.3-rc4.img. I Did a fastboot 
-w for last update to V6.3-rc2. I have no luck making the GPS to work. I tested 
it through "GPS Test" and Google Maps, and I'm not able to get any signal or 
location.

Original comment by juanca...@gmail.com on 9 Feb 2011 at 1:10

GoogleCodeExporter commented 9 years ago
I tested gps today with google maps and it worked fine.

GPS icon appears and there is a gps fix after some minutes.

Original comment by trmfrei...@gmail.com on 9 Feb 2011 at 9:53

GoogleCodeExporter commented 9 years ago
I also wont't get a fix and the icon doesn't appears. :(
V6.3-rc4
Isn't it courios?

Original comment by andre%ma...@gtempaccount.com on 9 Feb 2011 at 11:07

GoogleCodeExporter commented 9 years ago
If you don't get the icon please make sure that GPS is really enabled.
Please attach a logcat of the problem.

Original comment by trmfrei...@gmail.com on 9 Feb 2011 at 11:11

GoogleCodeExporter commented 9 years ago
GPS is enabled.
Here's my logcat

Original comment by andre%ma...@gtempaccount.com on 9 Feb 2011 at 12:08

Attachments:

GoogleCodeExporter commented 9 years ago
My icon is enabled, but no luck on getting the GPS to work

Original comment by juanca...@gmail.com on 9 Feb 2011 at 1:21

GoogleCodeExporter commented 9 years ago
Please test with an open sky and without touching your phone.
Also, please use gps test.

Original comment by trmfrei...@gmail.com on 9 Feb 2011 at 1:39

GoogleCodeExporter commented 9 years ago
This may well be related to AMSS.

Did anyone of you flash lg's froyo with the modified kdz by raburton? That 
updates the AMSS, and that may be needed for gps.

Original comment by polyth...@gmail.com on 9 Feb 2011 at 4:12

GoogleCodeExporter commented 9 years ago
No. I used the images of boot and system from lg.

LG's official firmware includes an option to download a file valid for a week 
with ?satellites location? that supposedly will reduce "time for fix". 
Can this be supported in OpenEtna? Is AMSS related to it?

Original comment by trmfrei...@gmail.com on 9 Feb 2011 at 4:17

GoogleCodeExporter commented 9 years ago
I also used the images not the kdz.
So do i need the update for the AMSS, or not?

I tried it yesterday sunny weather no cloud was visible, but no fix.

Original comment by andre%ma...@gtempaccount.com on 10 Feb 2011 at 7:33

GoogleCodeExporter commented 9 years ago
I am using the LG's official firmware (flashed using images)
And Gps works (Gps test). So i don't think that is necessary to update AMSS 
using kdz

I had some problem whit NDrive (view 
http://forum.openetna.com/index.php?topic=533.msg5130#msg5130) is had a bad 
implementation of detecting fix and like this one other applications cude have 
the same problem, if some one that is having this problem is using NDrive, i 
made a fix and is here fore download 
http://forum.openetna.com/index.php?topic=604.0

Original comment by ivolu...@gmail.com on 10 Feb 2011 at 11:52

GoogleCodeExporter commented 9 years ago
I use NDRive and I have that problem. WHat I do is restart the application / 
getting a fix first with google maps.

Original comment by trmfrei...@gmail.com on 10 Feb 2011 at 1:22

GoogleCodeExporter commented 9 years ago
Also, I am using the official application. Could you please explain what you 
did in order to solve the problem with the NDrive no fix?

Original comment by trmfrei...@gmail.com on 10 Feb 2011 at 1:27

GoogleCodeExporter commented 9 years ago
You start whit NDrive.apk file

Use the android-apktool to unpack the application an decompile to smali.

Them you will have to open this file smali/com/ndrive/android/GpsReceiver.smali

Replace:
    Landroid/location/GpsSatellite;->usedInFix()Z
by
    Landroid/location/GpsSatellite;->hasEphemeris()Z

Use the android-apktool to pack the application.

Use some tool to sine the apk (i use Apk Manager from XDA) and is done :)

PS: I send a email to NDrive about this.

Original comment by ivolu...@gmail.com on 10 Feb 2011 at 2:28

GoogleCodeExporter commented 9 years ago
Thank you very much for providing that information. 

:)

Did you receive an answer from NDrive?

Original comment by trmfrei...@gmail.com on 10 Feb 2011 at 2:34

GoogleCodeExporter commented 9 years ago
Support say that will contact me wen they have new's.

I do not have much hope that they will correct the problem. But who knows

Original comment by ivolu...@gmail.com on 10 Feb 2011 at 4:35

GoogleCodeExporter commented 9 years ago
I tested yesterday outdoor, without touching the phone, and IT WORKED!!

I've tried several times before with no luck, but for some reason is woking :)

Original comment by juanca...@gmail.com on 10 Feb 2011 at 4:48

GoogleCodeExporter commented 9 years ago
Ok.

Thank you juanca.

Will need to wait for a response from an...@maring... before closing this issue.

Original comment by trmfrei...@gmail.com on 10 Feb 2011 at 4:58

GoogleCodeExporter commented 9 years ago
In 6.3-rc5 GPS still doesn't work.

Original comment by emiron...@gmail.com on 10 Feb 2011 at 5:04

GoogleCodeExporter commented 9 years ago
Please read the comments. In 6.3-rc5 GPS is Working.

Please explain why you say it's not working and what have you tried.

Original comment by trmfrei...@gmail.com on 10 Feb 2011 at 5:06

GoogleCodeExporter commented 9 years ago
I also had no luck! It wont work.
Any ideas?

Original comment by andre%ma...@gtempaccount.com on 10 Feb 2011 at 7:37

GoogleCodeExporter commented 9 years ago
>Please explain why you say it's not working and what have you tried.

I'm saying that isn't working because neither GPS Test and GPS Status 
applications can find any sattellites.

And there is no gps icon in the notification bar.

Btw, Google Maps app shows my location, but with 100-150 meters radius, it 
seems my position is detected by cell towers and wi-fi access points, not by 
GPS.

In the original froyo firmware everything was ok.

Original comment by emiron...@gmail.com on 10 Feb 2011 at 7:57

GoogleCodeExporter commented 9 years ago
If there is no GPS icon then GPS is not enabled probably.
Did you fastboot -w ?
Do you have GPS enabled in setting > locations ... ?

Original comment by trmfrei...@gmail.com on 10 Feb 2011 at 9:19

GoogleCodeExporter commented 9 years ago
>Did you fastboot -w ?
Yes, before switching back from original froyo to OE i wiped my phone with 
fastboot -w

>Do you have GPS enabled in setting > locations ... ?
Yes, of course!

Original comment by emiron...@gmail.com on 10 Feb 2011 at 9:49

GoogleCodeExporter commented 9 years ago
Excuse me if you are feeling I am calling you idiot.

I am just trying to understand how you don't have the GPS icon enabled.
That's very strange.

Please enable GPS (if not already enabled), reboot phone, open google maps,
let it sit for a bit.

Obtain a logcat and a dmesg.

Original comment by trmfrei...@gmail.com on 10 Feb 2011 at 9:57

GoogleCodeExporter commented 9 years ago
Could this be a reason that the Basbandversion is "unknown"?
With the original 2.2 is something like AMSS...

Original comment by andre%ma...@gtempaccount.com on 11 Feb 2011 at 9:58

GoogleCodeExporter commented 9 years ago
The GPS icon is a bit broken with lg's libgps. It's only shown when the gps 
driver reports back for the first time.

I really think that this could have something to do with the AMSS.
You may try flashing http://dl.dropbox.com/u/5500141/10g+10uamss.cab with 
version V10G_00 (howto is in the project page's wiki). Its the 10g firmware (so 
it has fastboot) with the 10u's amss. Raburton stiched it together :-)
Updating did solve some gps related error for me.

The second thing is probably a change to the framework, which will be included 
in the next version (if it's working).

Original comment by polyth...@gmail.com on 11 Feb 2011 at 11:38

GoogleCodeExporter commented 9 years ago

Original comment by polyth...@gmail.com on 11 Feb 2011 at 11:39

GoogleCodeExporter commented 9 years ago
Yay, it worked! Fix in 3 seconds!
I will release 6.3-rc6 in some minutes, which will include the fix to the 
framework.

If that does not work, please provide an "adb logcat | grep libloc" from the 
beginning of the boot until running google maps for some seconds.
I should be able to see from the log if the risk of updating the amss is 
necessary.

Original comment by polyth...@gmail.com on 11 Feb 2011 at 11:58

GoogleCodeExporter commented 9 years ago
Using version 6.3 RC6.
I can not turn off the GPS.

Original comment by DavidGF....@gmail.com on 11 Feb 2011 at 5:22

GoogleCodeExporter commented 9 years ago
Oh God!

After updating AMSS and flashing 6.3RC6 GPS worked for me. Everything is 
perfect!
Thanks a lot for that fix!

Original comment by emiron...@gmail.com on 12 Feb 2011 at 8:49

GoogleCodeExporter commented 9 years ago
From what I understand this should become FAQ.

Original comment by trmfrei...@gmail.com on 12 Feb 2011 at 11:26

GoogleCodeExporter commented 9 years ago
It isn't working for me.
Once 1 saw one satellite and thats it.

@emiron
Is the GPS icon flashing in the statusbar?

Because the positioning via triangulation between the celltowers works for me, 
but
if I use for an app for eg. GPS Status I can't see any satellite.

Original comment by andre%ma...@gtempaccount.com on 12 Feb 2011 at 8:53

GoogleCodeExporter commented 9 years ago
Did you do what emiron said? updating AMSS?

Original comment by trmfrei...@gmail.com on 12 Feb 2011 at 9:28

GoogleCodeExporter commented 9 years ago
yes i did the amss update. Nothing changed :(

Original comment by andre%ma...@gtempaccount.com on 12 Feb 2011 at 10:33

GoogleCodeExporter commented 9 years ago
Please provide the output of 'adb shell dmesg | less libloc' from the very 
beginning of the boot until launching of Google Maps.

Original comment by polyth...@gmail.com on 13 Feb 2011 at 5:49

GoogleCodeExporter commented 9 years ago
# dmesg | less libloc
dmesg | less libloc
less: can't open 'libloc': No such file or directory
write: Broken pipe
# 

Original comment by andre%ma...@gtempaccount.com on 14 Feb 2011 at 8:19

GoogleCodeExporter commented 9 years ago
I'm sorry, the right command is "adb shell logcat | grep libloc".

Original comment by polyth...@gmail.com on 14 Feb 2011 at 1:45

GoogleCodeExporter commented 9 years ago
Ok! Here is the output. But I had to change the NTP Server settings in gps.conf 
because time injection failed with xtra1.gpsonextra.net now I use 
0.de.pool.ntp.org But also no satellite 8(

Original comment by andre%ma...@gtempaccount.com on 14 Feb 2011 at 2:27

Attachments: