[Q] GPS issues on CM12 based roms - Verizon HTC One (M8)

Anyone know how to get a gps lock on CM12 based roms? I have tried using the gps.conf from a sense rom, but to no avail.

Backup aosp ROM
Clean flash sense
Get a GPS lock in maps and/or something like gps toolbox.
Wait a minute or two for good measure.
Restore aosp ROM
Lock on in maps and/or GPS toolbox.
If no lock achieved, try try try again. As per some peoples experience in threads they didn't get it until 5 or 6 times, whereas I have either had working GPS off the start or only had to do it once, so mileage varies.
I hope it works for you

This is kind of reflection as CM as a whole. It's great they support 38475728 devices now but in turn the overall quality has seemed to go south for a year or two. They almost always move on to the new version before making the current one stable.

How I fixed it
xsteven77x said:
This is kind of reflection as CM as a whole. It's great they support 38475728 devices now but in turn the overall quality has seemed to go south for a year or two. They almost always move on to the new version before making the current one stable.
Click to expand...
Click to collapse
My GPS was working on CM 11, but broke since I've gone to CM 12.1 nightlies. After quite a bit of fiddling, I got it working again but the fix is somewhat involved. I outlined it here on the CM Bug tracker, which I can't link to directly because I'm a new user. jira.cyanogenmod.org/browse/CYAN-5691?filter=-3
If you've got root access, you might be able to just drop this .conf file into /system/etc/ (if that dir exists on your CM version) or /etc/ (if /system/etc doesn't exist). Reboot your phone after putting this file in, and see if GPS works. I recommend using the app "GPS Status & Toolbox" by MobiWIA - EclipSim to test your GPS-- it will let you see what's going on with just your GPS, independently of other location services.
Edit: I was going from VZW stock software to CM 12.1, and getting a solid GPS fix on stock software before switching over did not work for me. That said, getting the GPS fix on stock software may be necessary but not sufficient to get the GPS working-- if in doubt, do both.
Good luck.

connorc0405 said:
Anyone know how to get a gps lock on CM12 based roms? I have tried using the gps.conf from a sense rom, but to no avail.
Click to expand...
Click to collapse
For a reliable GPS fix, add/replace two files: gps.conf and gps.conf_default, from a stock rom. You find these files in the system/etc directory. Fix permissions, if necessary. GPS is fixed.

GPS.conf_default file request
Hi. Can you tell me if it is possible to download this file from somewhere as it is missing on my device. I am using SM-N9005 and can't get any lock. Wondering if this file missing may be the cause. Many thanks. Karl.

jdaggar said:
My GPS was working on CM 11, but broke since I've gone to CM 12.1 nightlies. After quite a bit of fiddling, I got it working again but the fix is somewhat involved. I outlined it here on the CM Bug tracker, which I can't link to directly because I'm a new user. jira.cyanogenmod.org/browse/CYAN-5691?filter=-3
Click to expand...
Click to collapse
This has been fixed in the CM 12.1 nightlies months ago. Just validated in cm-12.1-20151010-NIGHTLY-m8.zip that PHONE_TYPE=CDMA

Related

Non-Sense rom GPS fix [Evo Style]

I was helping my brother trouble shoot his Inspire's inability to get a GPS fix when using MIUI. He told me he had tried all the driver swaps and other methods that are commonly prescribed, and that nothing had worked. However, in CM7 and sense based ROMs the GPS worked fine.
In EVO circles, this is a common problem on MIUI as well. The work around that has been developed is as follows:
1) Install a [near]stock ROM. Anything sense based should work.
2) Turn on the GPS radio
3) Leave it on, and reflash your favorite ROM (MIUI/CM7/etc)
That should fix it. It worked great on his phone, and he is happily navigating in MIUI with full accuracy and a very short acquisition time.
Enjoy!
sounds more like it was a bad flash or bad agps data left behind. but then i dont use miui. There is a bit more involved with the 'evo gps fix' and you havent done any of that. I havent seen any problems thus far with gps that wasnt fixed with the proper methods for cm. miui has its own set of problems and isnt really supported here.
Darunion said:
sounds more like it was a bad flash or bad agps data left behind. but then i dont use miui. There is a bit more involved with the 'evo gps fix' and you havent done any of that. I havent seen any problems thus far with gps that wasnt fixed with the proper methods for cm. miui has its own set of problems and isnt really supported here.
Click to expand...
Click to collapse
Well this was the method that worked for his phone, after all the other inspire fixes had failed. He'd flashed, cleared, reflashed, MIUI (various releases) and continued to have the same GPS problem. I figured I'd share in case anyone else was in a similar boat.
Cheers,
Kyle

[Resolved] [SOLVED] Maps issues on AOSP Roms HTC One m7 Sprint

Title should be GPS issues on AOSP Roms HTC One m7 Sprint. I tried a different map app with the same results.
So, there I was having a grand time with an awesomely awesome custom ROM (LiquidSmooth) and Kernel(SlipperySlothAOSPv.2), overclocked and with sweep2wake and t2w functioning perfectly and a **** eating grin on my face. Then I had to go somewhere I had never been before. Busted out Google Maps app, got a signal and a very inaccurate "lock," and then I hear "GPS signal is lost." Numerous restarts, hard resets and even trying a different Kernel and custom ROM (Beanstalk) yielded the same results: GPS is busted on all AOSP Roms for this guy. Not sure why.Any ideas on how I can get this important feature working on Liquid or BeanStalk? I tried GPS Fix and another app that erased the GPS data and downloaded updated data, but that didn't work either. Is there something out there I could try flashing after I flash one of the custom ROMS?
My device is the Sprint HTC One m7. Radios don't have anything to do with GPS do they?
MarkBell said:
Title should be GPS issues on AOSP Roms HTC One m7 Sprint. I tried a different map app with the same results.
So, there I was having a grand time with an awesomely awesome custom ROM (LiquidSmooth) and Kernel(SlipperySlothAOSPv.2), overclocked and with sweep2wake and t2w functioning perfectly and a **** eating grin on my face. Then I had to go somewhere I had never been before. Busted out Google Maps app, got a signal and a very inaccurate "lock," and then I hear "GPS signal is lost." Numerous restarts, hard resets and even trying a different Kernel and custom ROM (Beanstalk) yielded the same results: GPS is busted on all AOSP Roms for this guy. Not sure why.Any ideas on how I can get this important feature working on Liquid or BeanStalk? I tried GPS Fix and another app that erased the GPS data and downloaded updated data, but that didn't work either. Is there something out there I could try flashing after I flash one of the custom ROMS?
My device is the Sprint HTC One m7. Radios don't have anything to do with GPS do they?
Click to expand...
Click to collapse
OK. So the fix for this is to enable GPS (with High Accuracy mode selected in the sub settings) in a stock sense-based ROM before rebooting to TWRP, wiping and flashing your new ROM. I don't take credit for the fix, as I read about it somewhere else. Just can't remember where since it has been a few days.

[Q] GPS locks, then gets stuck - Lollipop/CM12 issue?

Using Google Maps with Lollipop CM12...Has anyone had the issue where they can get a GPS lock, Google even gives you the ETA of your destination, but as you drive, you lose your lock and Maps gets stuck - thinking you're on a random side street nearby while you're actually moving on course? I am using Location in high accuracy mode. I'm running the official 4.4.4 firmware posted by @Tigerstown too. Never had this issue before. Ideas anyone? Thanks!
calebcabob said:
Using Google Maps with Lollipop CM12...Has anyone had the issue where they can get a GPS lock, Google even gives you the ETA of your destination, but as you drive, you lose your lock and Maps gets stuck - thinking you're on a random side street nearby while you're actually moving on course? I am using Location in high accuracy mode. I'm running the official 4.4.4 firmware posted by @Tigerstown too. Never had this issue before. Ideas anyone? Thanks!
Click to expand...
Click to collapse
I have had this issue before. Not on cm cause I don't run that. I'm trying to think of what ROM this was on...I tried all the lock tricks I know. My maps did the same thing as yours. Only choice I had was not to run that ROM..if you get it figured out but I don't know what you can do I didn't try let me know
It looks a lot like this problem : http://forum.xda-developers.com/google-nexus-5/help/gps-dropping-signal-ota-lollipop-update-t2951515
(Also reported in AOSP : https://code.google.com/p/android/issues/detail?id=81140 )
Sadly it seems this problem has not yet been solved/acknowledged by Google...
Well that sucks, I'm looking for a fix to it. Preferably a fix that does not involve returning to stock, then reflashing to CM after I get a lock, and hoping the planets were lined up perfectly.
ieatabiscuit said:
Well that sucks, I'm looking for a fix to it. Preferably a fix that does not involve returning to stock, then reflashing to CM after I get a lock, and hoping the planets were lined up perfectly.
Click to expand...
Click to collapse
This issue has been fixed for me for quite some time now. Which device and ROM are u running? And are you 110% sure that you're using the latest firmware?
I got it fixed. Try though, and yes I'm absolutely positive that the firmware is up to date. It happened because I was messaging with a room that used a f2fs /system position, and CM needed it to be ext4, so it was formatted before installing. I just installed a known functional ROM, then installed CM with /system left as is. No Isadora since aside from CM using a newer recovery, and forcing it on us now.

GPS Doesn't Lock well

I'm on the latest TekExodus, well just now installing 3.5. The current kernel is Arter97 6.0. When I was on Stock the GPS would lock very quickly. Many times would give me decent location while inside a building. Since I've been on a custom ROM, the GPS is pretty sluggish and only occasionally will give me a location inside certain buildings. I was wondering if there was a way to change how how this is working so I could get a better GPS lock. Is the GPS covered in the Kernel or what? I could just try different Kernels? Thanks for any help.
Bowmanspeer said:
I'm on the latest TekExodus, well just now installing 3.5. The current kernel is Arter97 6.0. When I was on Stock the GPS would lock very quickly. Many times would give me decent location while inside a building. Since I've been on a custom ROM, the GPS is pretty sluggish and only occasionally will give me a location inside certain buildings. I was wondering if there was a way to change how how this is working so I could get a better GPS lock. Is the GPS covered in the Kernel or what? I could just try different Kernels? Thanks for any help.
Click to expand...
Click to collapse
Are you set to High Accuracy for GPS? That is the default on stock, and your custom ROM may default to another setting.

GPS not working, even after a "hard paper" fix

Hallo everyone,
after many years of use without problems and with the Stock Android OS my GPS stopped working. I noticed that using first Google Maps, then I had the confirmation using the app "GPS Status" (Screenshot here: https://www.dropbox.com/s/5xikt3yd4fz4sen/Screenshot_20190113-135600.png?dl=0).
I tried to use the "Hard Paper" fix under the GPS contatcs, but It didn't change anything.
Any tipps?
Update: I changed the Backcover (inclusive GPS antenna) with a new one, but It didnĀ“t change anything. Could maybe be a software problem?
The contacts may be busted. Neither NFC or GPS work on my N5 anymore. The contacts failed after the years of use/abuse. I didn't dig much deeper into fixing it than just confirming the problem as I only use my N5 as my snowboarding phone/media player.
Thanks for your answer. I checked the contacts of the Motherboard too, but the seems completely fine. I didn't had any Problem with the NFC, but the GPS still doent work. I have done a factory reset of the whole OS, hoping it was a software problem, but there's no difference and the GPS still doesn't work.
I still want find the cause of this. Any other tipps?
Maybe the gps.conf file is broken (it usually happens when you install a custom rom but maybe it happened on stock aswell)
Try to replace your gps.conf file with this one here. (need to be rooted)
Klyno said:
Maybe the gps.conf file is broken (it usually happens when you install a custom rom but maybe it happened on stock aswell)
Try to replace your gps.conf file with this one here. (need to be rooted)
Click to expand...
Click to collapse
Thanks for your tipp.
I first installed Lineage 14.1 (the OS works really well in comparison to the old Stock Rom) but the GPS still didn't work. So I tried first to install the new gps.conf via this guide, with no change. Then I tried the the app TopNTP, seems that it doens't work. So I gave a change to another App, GPS Fix/Optimzer, but even if it install of the .inf file succeded, the GPS don't work.
Im running out of ideas an hoping for a miracle. :angel:
Sorry, I thought that with the Lineage OS installation there was an automatic root of the phone. Of course I was wrong, and that's why the TopNTP and GPS Fix/Optimizer didn't work.
I rooted the phone right now, and tested the Apps in order to fix the GPS Issues, sadly without much success.
I tried different combinations with TopNTP, then used the GPS Fix/Optimizer standard options for my country. With both the Phone GPS can't reach a better accuracy of 1,5 Km. I don't remember if before was better, but the GPS is still not usable.
Still looking for help, every tipp is welcome! :good:

Categories

Resources