whenever i use high accuracy gps my phone reboots. whenever any app uses it it does this; maps, snapchat, anything. the only thing i can do to stop it is keep gps off high accuracy. haven't used high accuracy in months because of this. tried many clean installs with total wipes to fix it, no success.
also get this error when i install cm or lineage roms, but it just carries on with the rest of the install:
mount: failed to mount /dev/block/bootdevice/by-name/modem at /firmware: Device or resource busy
Click to expand...
Click to collapse
not very fun having a phone with no gps in 2017.
Related
I start this thread as I would like to find out how it works and why I have a problem with it.
A-GPS in maniac's built CM7 nightly 20120616 seemed to me a great feature in case we have no data connection and need GPS.
It downloads lto.dat file to /data/location/
All other files, like gpsdata.nvs for ephemeries, LEARN_STORE.bin for last fixes, location.cfg are updated after each use of the GPS.
What I checked earlier with CM 7.2 official, with no data connection, it took ca 3 minutes for the fix (and it does not use lto.dat file)
With data connection for both builds it is only ca 10 s to fix.
But with no data connection and after downloading lto.dat file my defy with CM7 nightly 20120616 cannot fix at all - it shows up to 2 sattelites in the center of the radar, with almost the same position.
So my question would be: if there is no data connection is the device somehow forced to use lto.dat? Could be that lto.dat file somehow 'fools' the device for any reason?
You probably didn't initialize the lto.dat.
You have to do a fix after every lto-Download and after every reboot in order to initialize the lto.dat.
What i want to say is: The lto.dat doesn't work and also isn't used for the first fix after download or reboot.
You can do a fix with A-GPS (DATA ON) to speed up the process. After that, the lto.dat will be used in offline mode.
I don't know why you can't get an offline-fix after downloading as the lto-file isn't being used then. Could be coincidence.
It works for me in about 30 seconds although it is true that GPS Status shows the first 2-3 satellites in the middle with the same positions.
If you download the 30-day file and initialize it before leaving your country it should easily last for a vacation.
It works perfectly for me. After initializing an offline-fix usually takes about ten seconds...
Greetz, Unr3aL67
Sent from my Defy via Tapatalk
GPS is only reason I left cyanogen. I use car navigation often, in roaming too, and I run into BIG problems. Miui has maybe even bigger problems.
Interesting in every stock and derative ROMs GPS run perfect. Everything is is seconds, with or without data. And GPS status program find more satellites.
I would really love someone deal with this problem seriously. But I think, untill Quarx need GPS badly, this problem will not be solved completely
Questions go in the Q&A section
Thanks a lot for some explanation. Problem is now solved and in my case it turned out that the main cause was use of GPSEssentilas to check how fast I can get a fix.
And after each start of the apk it stopped working and I had to start it second time but with no success in fixing the position (I was wiping its data, reinstalling, but nothing helped).
And when I forced it to close and checked with any other map apk I use, I get a fix quite fast.
I wouldn't say that stock ROMs find more sattelites, I usually have 6 - 8 in less then 30s, no matter now with or without data transfer on - the fact is that my MTK Qstarz module have cold start up to 1min 30s without any data preloaded, but it is a better chip than defy's Broadcom and what I observed its max sattelites found was 9.
And when driving I usually use a car navigation, but in many daily cases like looking for sg during a walk or trying to meet friends phone gps is a must ;-)
Check this link for automatic lto.dat download:
http://forum.xda-developers.com/showpost.php?p=29490347&postcount=54
It works well with froyo.
In cm7/9/10, insert the code to a right file.
When I go in Google Maps, and I try to do navigation to a place, it says "No GPS Hardware - Turn-by-turn navigation is only available on devices with GPS hardware." I have my phone on high accuracy mode, and it even did this in battery saving mode. I run Cyanogenmod, so could this be the reason? I recently updated it, and then once I saw the error, I tried updating it again to the latest nightly, but I still have the error today.
Oh yeah, and I tried downloading another map app and it doesn't seem to be working either. When trying to locate me in Google Maps, the location is sort of off, by around a mile.
I have the same problems ,had to go back to m10 version and it work again
I've played Ingress for several months. One thing I do daily is recharging 20~30 portals during my commute by bus -- open Ingress after getting on a bus, waiting for the GPS to get fix, and collect XMs and recharge.
However, in the recent one or two months, my phone's not able to get me GPS fix near my home -- even on a square. GPS status shows many sats in yellow, but none becomes green. Rebooting the phone doesn't solve it.
When I get to another place, two or three kms from my home, my phone still can't get fix. What's strange is, if I reboot my phone there, and try GPS again, it usually gets instant fix.
Also, I can always get instant fix anywhere near my working place.
I have two questions:
1. Which of the software parts affects GPS performance? I switched among multiple ROMs during these months, but I should be always on cloudyfa's KK baseband.
2. Anyone else has encountered the situation that you stand on a square on a not-so-cloudy day, with no high building around, 24 sats in sight, but your phone just can't connect to any? Has anyone solved it? How?
Try using faster fix app and change the ntp to your location and see if that helps
danial.aw said:
Try using faster fix app and change the ntp to your location and see if that helps
Click to expand...
Click to collapse
Thanks. That didn't make any difference.
coolcfan said:
Thanks. That didn't make any difference.
Click to expand...
Click to collapse
Download GPS Test from the Play Store, go to the app settings and press Update A-GPS while your data connection is on. Wait a few moments and the app should lock on to GPS satellites. You should be good to go from there.
robogo1982 said:
Download GPS Test from the Play Store, go to the app settings and press Update A-GPS while your data connection is on. Wait a few moments and the app should lock on to GPS satellites. You should be good to go from there.
Click to expand...
Click to collapse
GPS Status from play store also has that A-GPS downloading feature, and that's not helping me either.
If not changed nothing in software that can cause bad reception (build prop edit, rom, ...) try something hardware
RĂ©parer en 5 minutes le GPS LG g2: http://youtu.be/UdDJqFxpRy8
siggey said:
If not changed nothing in software that can cause bad reception (build prop edit, rom, ...) try something hardware
RĂ©parer en 5 minutes le GPS LG g2: http://youtu.be/UdDJqFxpRy8
Click to expand...
Click to collapse
Thank you! Good video. I will try it after having tried all software ways.
Which properties in build.prop affects GPS performance? I'd like to check them first.
Also, try TopNTP app before opening up the phone.
I've been through a few smartphones and running various ROMs on each, here's my observation.
a. If the phone's gps takes long time but eventually locked then those apps mentioned above do help.
b. If the phone's gps take long time and never locked then those apps above are useless, they won't do a thing.
My advice 1: restart the phone and see the gps gets locked reasonable fast, if not
My advice 2: changing ROM. Do focus on firmware first before touching hardware.
Long time means 15' or more.
any thoughts on what is causing gps to not work on custom roms?
only device mode works, and takes a lot to get a fix on sattelites... already tried Agps download/reset and faster gps apps
i'm only using stock rom on my redmi 2 pro because i play Ingress and i'm very dependant of gps in it and in many ways.
any idea will be nice
First of all,on custom roms the gps.conf is not proper,you just have to remove a "#"(depends on your region).
most of the custom ROMs are CM based which have inbuilt permissions settings.Me myself is trying to figure some
things out.
second is to make sure that Google Play Services is given location permission(i don't know the relation)
use GPS test app (a gray icon one) to find if the satellites are straight up(it should be) not on horizon)
GeorZ said:
First of all,on custom roms the gps.conf is not proper,you just have to remove a "#"(depends on your region).
most of the custom ROMs are CM based which have inbuilt permissions settings.Me myself is trying to figure some
things out.
second is to make sure that Google Play Services is given location permission(i don't know the relation)
use GPS test app (a gray icon one) to find if the satellites are straight up(it should be) not on horizon)
Click to expand...
Click to collapse
after some testing, i found that the gps works fine with Ingress, at the first boot. if i reboot the phone it stops working, and if i reboot it only works at very first seconds after going on. this only happens with wifi gps, device works fine. Maps also seems to work with wifi gps.
i tried to set permissions for everything from location, battery optmization, privacy, copying stock gps.conf. i dont know what to try anymore xD
igorinolw said:
after some testing, i found that the gps works fine with Ingress, at the first boot. if i reboot the phone it stops working, and if i reboot it only works at very first seconds after going on. this only happens with wifi gps, device works fine. Maps also seems to work with wifi gps.
i tried to set permissions for everything from location, battery optmization, privacy, copying stock gps.conf. i dont know what to try anymore xD
Click to expand...
Click to collapse
check if adding this help http://www.pool.ntp.org/zone/br not to ntp.conf(you wont find it) but to gps.conf
nxt step would be to check gps activity by some app(GPS status GPS Test...)
Try connecting with GPS and then start the game.
I just recently installed Lineage OS v16 on my N910V using lineage-16.0-20190912-UNOFFICIAL-trlte. I also installed the nano version of GApps. I did a 100% complete & clean install of the firmware. Wiped all the partitions, dalvik cache, even my data, and even formatted just as the instructions asked.
Every thing seemed to work great until I noticed the GPS was not working or maybe only partially working, I'm not sure. I installed GPS Test to test my GPS. The app is highly confusing but it does show much activity. The 'In View' value always fluctuates between about 15-20. The 'In Use' value always displays 0. The visual bar graphs below theses values are almost always fluctuating up and down and changing their positions. The 'GNSS Status' box always says "No Fix". The 'Accuracy' value fluctuates usually between 9-13 ft.
So I figured if the bar graphs are present and moving consistently, shouldn't that mean my GPS element is at least detected? I'm not sure if it's working correctly, since it keeps saying No Fix, but the GPS element itself must be present for it to even show any results, correct?
I ask this because I installed MapQuest and it said "No GPS available: Since this device doesn't have a GPS element, we'll do the best we can to find your location using Wi-Fi. However, somethings like turn-by-turn will not be available. " Google Maps had the same issue, though it doesn't inform you like MapQuest does. The only reason I know the GPS isn't working properly in Google Maps is because it wouldn't give me turn-by-turn directions.
Any suggestions? I have root, so is there anything I need to check or modify?
I've uploaded a logfile from LogCat. I turned on Location immediately after starting LogCat, so hopefully it helps in troubleshooting.
I 'd appreciate any feedback or suggestions.
I noticed a few errors relating to GPS right off:
09-15 19:04:11.698 756:770 E/LocSvc_eng]
E/int loc_eng_init(loc_eng_data_s_type&, LocCallbacks*, LOC_API_ADAPTER_EVENT_MASK_T, loc_core::ContextBase*): log_eng state error: instance already initialized
[09-15 19:04:11.698 756:770 E/]
E/open failed: /dev/mdm: No such file or directory
[09-15 19:04:11.698 756:770 E/LocSvc_eng]
E/void loc_eng_agps_init(loc_eng_data_s_type&, AGpsExtCallbacks*): log_eng state error: agps instance already initialized
[09-15 19:04:11.718 1340:2195 E/inertial-anchor]
Called Stop() before session has started.
[09-15 19:04:11.784 756:1154 E/LocSvc_EngAdapter]
E/void LocEngAdapter::setXtraUserAgent()::LocSetXtraUserAgent::saveUserAgentString(const char*, int) const:149]: make XTRA_FOLDER failed
Strange: Good GPS function but no "lock" reported
I have the same issue with my Note 4 910T. I never see lock on GPS Test or any other app. But: I tested the gps in airplane mode along with another Note4 (Stock 6) I have (which shows lock and about 20 satellites), and they give identical tracks (distances identical to 0.01 mile) even up narrow canyons. So I think it's a problem of the GPS reports somehow not the function.