I9100 SGS II GPS problem with fix!!! Please help. - Galaxy S II Q&A, Help & Troubleshooting

Hi lads.
I haven't found similar thread.
I have huge problem with my gps. I want to catch fix without WiFi, without network support - just GPS. But I found it impossible since I have cm9.. It shows error that my current location is unavailable at the moment.. And it never caught my location without network. I need to do it without network data because I'm leaving my country in a few days and I don't want to pay for network data in roaming..
Sent from my black, powerful, beautiful GT-I9100.
Bless from Poland !

Hey,
I had the same problem with my phone. I tried to search for help in this forum yesterday and found out about GPS Status and Toolbox on Google Play. I got it and calibrated compass and pitch and roll. I feel like these calibrations should have nothing to do with GPS but afterwards my GPS worked. Give it a shot?
Hope this helps

To be able to follow the guide, it must necessarily be a device with root permissions, otherwise it will not be precisely you can not even begin.
What we need:
1 File manager as Root Explorer
2 GPS application Status can be downloaded for free from Google Play Store : https://play.google.com/store/apps/...wsMSwxLDEsImNvbS5lY2xpcHNpbS5ncHNzdGF0dXMyIl0.
3 a little time and patience to arrangement
First step:
1 Open the file manager and go to the folder /etc
2 to go to the file gps.conf and save a copy to SD
3 go on this site http://www.pool.ntp.org/en/
from the site, to the right, choose the region and subsequently the nation : open each of the links in a new browser tab to have everything an eyes
Second step:
Open from your PC the Application Block notes and write, in place of COUNTRY, the country code, and instead of REGION, the region code :
NTP_SERVER=COUNTRY.pool.ntp.org
NTP_SERVER=0.COUNTRY.pool.ntp.org
NTP_SERVER=1.COUNTRY.pool.ntp.org
NTP_SERVER=2.COUNTRY.pool.ntp.org
NTP_SERVER=3.COUNTRY.pool.ntp.org
NTP_SERVER=0.REGION.pool.ntp.org
NTP_SERVER=1.REGION.pool.ntp.org
NTP_SERVER=2.REGION.pool.ntp.org
NTP_SERVER=3.REGION.pool.ntp.org
Save the file as gps.conf (.conf should be the file extension)
now write down in your file that is written below:
XTRA_SERVER_1=http://xtra1.gpsonextra.net/xtra.bin
XTRA_SERVER_2=http://xtra2.gpsonextra.net/xtra.bin
XTRA_SERVER_3=http://xtra3.gpsonextra.net/xtra.bin
DEBUG_LEVEL =0
INTERMEDIATE_POS=0
ACCURACY_THRES=0
REPORT_POSITION_USE_SUPL_REFLOC=1
ENABLE_WIPER=1
SUPL_HOST=supl.google.com
SUPL_PORT=7276
SUPL_NO_SECURE_PORT=3425
SUPL_SECURE_PORT=7275
SUPL_TLS_HOST=FQDN
SUPL_TLS_CERT=/etc/SuplRootCert
C2K_HOST=c2k.pde.com
C2K_PORT=1234
DEFAULT_AGPS_ENABLE=TRUE
DEFAULT_SSL_ENABLE=FALSE
DEFAULT_USER_PLANE=TRUE
Once done, save the new file gps.conf and copy it into your /etc first, colloquy to replace the old file gps.conf enabling Mount R/W in the file manager. Once the file is copied, be sure that it has permissions set in the following manner:
r w -
r – -
r – -
Now enable the GPS settings. Then restart the terminal with GPS on. It is important, do it!
Just restarted, open the GPS application Status first installed. Go to:
Tools -> Manage was A-GPS -> Restore.
Then, go back to:
Tools - >Manage was A-GPS -> download.
Now restart the terminal ...Reopen the GPS application Status and wait for that face the fix of the satellites. The guide is finished!

i will try
Will2000 said:
Hey,
I had the same problem with my phone. I tried to search for help in this forum yesterday and found out about GPS Status and Toolbox on Google Play. I got it and calibrated compass and pitch and roll. I feel like these calibrations should have nothing to do with GPS but afterwards my GPS worked. Give it a shot?
Hope this helps
Click to expand...
Click to collapse
I tried this program but I will try again with calibration..maybe
devid801 said:
To be able to follow the guide, it must necessarily be a device with root permissions, otherwise it will not be precisely you can not even begin.
......
Now restart the terminal ...Reopen the GPS application Status and wait for that face the fix of the satellites. The guide is finished!
Click to expand...
Click to collapse
Sounds good - I will try without a doubt.
I'll give you info about my work.
UPDATE ::
I DID IT !! It's working well - thanks devid801 - you're the man
peace

Related

[Q] Toshiba AC100 and Android Market

Hi,
I own a toshiba ac100-10d which is the model with only wifi (no 3g) and android 2.1, which unfortunately comes with no android market preinstalled. I tried to install one using one of the many packages which you can found online. The problem comes, when I try to login in my gmail account. It says "can't extablish a reliable data connection" and it doesn't login into the account. If I try to login via youtube it creates the account but it doesn't sync it. I have moderate experience with android so you can easily tell me what I have to do. Do you think it would be possible to install the market on this ac100?
Thanks to anyone who will help me!
pipposanta said:
Hi,
I own a toshiba ac100-10d which is the model with only wifi (no 3g) and android 2.1, which unfortunately comes with no android market preinstalled. I tried to install one using one of the many packages which you can found online. The problem comes, when I try to login in my gmail account. It says "can't extablish a reliable data connection" and it doesn't login into the account. If I try to login via youtube it creates the account but it doesn't sync it. I have moderate experience with android so you can easily tell me what I have to do. Do you think it would be possible to install the market on this ac100?
Thanks to anyone who will help me!
Click to expand...
Click to collapse
It would be possible if I can get him into recovery menu. Just working on it as if it could still do that I have uploaded some files to the inside. Root can be done by z4Root 1.3.0.apk. Can be downloaded here http://forum.xda-developers.com/showthread.php?t=834428
I've made some headway
I have installed some files from cyanogenmods tegra compiled gapps + a newer vending.apk(Market) and a diffrent Google Talk app.
I had the same problem you have, but this suddently resolved itself for reasons unknown
Gmail Works and syncs
Google Maps works
Market starts and is stable without forced close, but I can't download apps, and I get Google Talk Authentication errors wich I belive are related to the market issue (the error also appears without the talk.apk installed)
I've got a new talk.apk from a samsung galaxy s, but it will not complete the sign in process
I feel I am really close to cracking this one, but I'm really stuck.
If anyone is interested, I can post which apk files I've installed in the /system/app folder.
Oh, I forgot to say:
I've got the same 10d version without 3g, but mine runs the updated Android 2.2
So it appears that sometimes market init it works, sometimes not ... Strange
I played and did many factory resets to find the right way and now it works (triple checked!)
I have a ac100-114 (French, no 3g), with android 2.2 and rooted with z4root.
(For anyone playing with adb : before doing anything, make backups with the tegra tools, and be careful with this powerful tool!)
I also used a package from cyanogenmod : the gApps from tegra. (http://wiki.cyanogenmod.com/index.php?title=Gapps#Google_Apps)
I looked into gAppsInstaller (here:
http://code.google.com/p/archos-apps-installer/downloads/list and here : http://forum.xda-developers.com/showthread.php?t=867303) to find what are the mandatory apps to install from the gApps cm package:
Into /system/app/
GenieWidget
GoogleBackupTransport
GoogleCalendarSyncAdapter
GoogleContactsSyncAdapter
GoogleFeedback
GoogleServicesFramework
MarketUpdater
MediaUploader
NetworkLocation
Talk
Vending
Youtube *
Into /system/framework/
com.google.android.maps.jar
Into /system/lib/
libspeech.so
libvoicesearch.so
Into /system/etc/permissions/
features.xml
com.google.android.maps.xml
* I had to replace Youtube.apk (in attachment) : I don't know why, but the one from cm is not working and prevent, even without launching it, the login into the market. I retrieved it from my hd2 running android ;-)
Installing maps in /system/app prevents Market initialization.
Then I did a factory reset, followed by the Toshiba first init and wifi configuration.
Now start the Market : nothing else or you might have to factory reset to start over!
Enter a random username (very important!), a random password and click next.
The market should start checking and then tell you the login is wrong : good, it connected !
Now click back, then enter your google account and click next : the Market should accept it and show the license page.
Accept it, the market should appear a few seconds before foreclosing. Launch it again, it will forceclose again.
The third launch should be the right one !
You will get forcecloses right after each app installation, but nothing to worry about : the app stays and appears in the download section of the market
Gmail can be installed from the market.
Your contacts should be synchronized, Talk and Youtube should work.
Problems:
For maps you will have to get the apk somewhere else.
The calendar is missing.
@tharf
Your method works perfectly .. Thx for that. Only problem is that the service framework starts some kind of messaging service and that wakes the ac100 from standby every couple minutes.... I tried fixing that but couldn´t do it... ;0(
So this fix is kind auseless for me...
But keep up the good work... ;0)
FC reason is a
Code:
E/DatabaseUtils( 1547): java.lang.SecurityException: Permission Denial: writing com.google.android.gsf.settings.GoogleSettingsProvider uri content://com.google.settings/partner from pid=10019, uid=10069 requires com.google.android.providers.settings.permission.WRITE_GSETTINGS
for com.android.vending.
Does anyone has an idea how to fix android permissions, as it recreates /data/system/packages.xml if i change it?
Thanks for pointing out where is the FC cause !
I did some more tests, and it seems that if the packages.xml gets modified, followed by sync (just in case, I don't know anything about caching on the ac100), and then a kill -9 -1 is executed, the added permission stays, even if the packages.xml gets scrambled after reboot
For me it works : no more FCs
I found another thing : in order to see apps in the market that asks for the gps (maps, catch notes ...), just had this line to /system/etc/permissions/android.hardware.location.xml, in the <permissions> tag :
<feature name="android.hardware.location.gps" />
(Make a backup of the file first )
So the bottom part of the file should look like :
<permissions>
<feature name="android.hardware.location" />
<feature name="android.hardware.location.network" />
<feature name="android.hardware.location.gps" />
</permissions>
But in order to get it working, you will need to login to the market for the first time, so a factory reset is required
hey, sorry for the dumb question..
i´ve downloade z4root and clicked on temporarly root...after a few
secs the progress ran through and the ac100 rebooted.
now i tried to install the gAppsInstaller v5 for arcors but got the error message, that no files were copied.
how did you do this?
can you please poste a howto for dummies q.q?
you wrote"
Then I did a factory reset, followed by the Toshiba first init and wifi configuration.
Now start the Market : nothing else or you might have to factory reset to start over!"
didnt you install the googlemarket after the reset, did it remain :O?
thanks
Hi,
Good job at first for trying this amazing way to install gapps into Ac100.
In my experience, that method worked well, but it seems, after pushing the mandatory apk files to the system partition, and factory resetting, in the Toshiba device initiation settings, turning on wifi will keep the Google account settings connection from working.
I've been trying many times, only turning on wifi when google login process begins will work.
No idea why that happens.
Regards.
hey gus,
i´ve come this far
ehhm..the files you mentionend.. i have copied them into the right folders, but the won´t get installed, i get parsing errors..
can someone please upload the working files?
working apps:
maps.apk
youtube.apk
..
market on toshiba AC100
Hi Guys
I can confirm that google market is possible on AC100. Also Gmail, Talk and Maps is working fine :
Can anyone please post a guide to get gApps working? (Gmail / Vending) Maps works standalone, but as far as i can see, the others need something!
Like a user above, i can't root my ac-100, it freezes and restart. If it's not rooted, i can't access the folders tharf was talking about in a previous post.
Thanks
Ok, i've managed to solve somethings (hopefully everything)
Unfortunately to root my AC100, i used ADB (I installed SuperOneClick in a previous try, don't know if it helped or not).
ADB is a tool developed inside Android project, that allows developers to test their apps directly on their phones, rather than an emulator. There are plenty of tutorial to get it started, just google it! It's not easy at first, but was the only thing allowed me to copy the files.
For those familiar with this development tool, just plug the device (ac100) in and execute
"adb remount"
in a "cmd" shell (i worked under windows). it magically remounts your system partition in RW, instead of default RO. This way you can "adb push" the files tharf listed in his first post!
Next, follow his indications:
-factory reset (HOME button+POWER button), follow the system reset, press 1 to continue, wait a few minutes and it will reboot on his own, give it time.
-configure ac100, like the first time
-connect it to wifi
-open Market App (you'll find it on the Toshiba Home menu, in the end)
-connect with random user, let it fail the authentication, the use a real one, and you're good to go!
I installed a few apps, so far so good. Only thing to keep in mind: Market launches an error after installing an app. No worries, it's fine: just press OK and go on.
I was interested in Gmail app, so i "adb push"ed it from the beginning, and it worked at first try. Same for Talk, Contacts, Youtube and Maps (find the apk, it's not hard )
Thanks to all, hope this could help.
Toshiba AC100
I've afforded this laptop two days and so far where i updated and hadded
the portuguese language, but when i when in settings->language it simples does not exist.
I dont have anything against english, but i need at least the ortography.
I could use spannish but i rather have english
Every time I run market/gtalk,I get this Message:
"Can't establish a reliable data connection to the server. If it continues, call Customer Care."
Thnx a lot - got Market, Gmail, Maps, ... working too. Have only tested it for some minutes - but hope it will work forever
Very good especially as the Toshiba AC100 10V with UMTS is now really cheap here.
Still have the Market problem with crash after install/deinstall of an app.
Anyone tried the newer GoogleApps for Tegra from here? http://forum.xda-developers.com/showthread.php?t=912633
I tried to get rid of the market crash. So I did the following:
adb shell connect to /data/system after root
chmod 777 packages.xml
sync
kill -9 -1
But that didn't work I still get the crashes. Can you help me with more details what you mean with 'the added permission stays'?
Thanx in advance.
Firmware from the Russian community users of the AC100 Toshiba (android 2.2) All Google applications work fine(Market+Gmail+Tack)!
Different from the standard:
1. Root
2. Busybox 1.19
3. Google Apps, including the latest market (by 116(Toshiba AC 100-116- russian 3G+Wi-Fi+32Gb model) runs without any problems), SetupWizard works too
4. Jorte - perfect replacement calendar from Google, beautiful, seeing all the calendars
5. Ad Blocking
6. Titanium Backup
7. Terminal Emulator
8. New splash screen
9. Spare Parts
10. Easy selection of widgets
Installation in Windows:
1. Download the firmware
2. Unpack
3. Translating the device in boot mode (turn off, esc + control + power)
4. Install the driver from the archive
5. Run bat file from the archive (ac100flash.cmd)
6. We are waiting for the end of the loading and turning off the device while holding the button 10 seconds
7. Turn device, answer all the questions for 116 checking in via 3G.
8. Enjoy.
Torrent: ****://rutracker.org/forum/viewtopic.php?t=3498125
Firmware+drivers ****://narod.ru/disk/8503508001/ac100_flash.rar.html
Firmware(update) ****://narod.ru/disk/8819504001/ac100flash_v2.rar.html
Спасибо форуму ****://4pda.ru/forum/index.php?showtopic=226289&st=40#entry7000473

[Q] can someone please clarify steps to get Android Market on my G Tablet for dummies

just bought a G Tablet and it only has Google Market which is some Hadongo bs or something.. It's brand new out the box.
anyways, can someone please help me get android market on it.
so here is the steps I saw on XDA(http://forum.xda-developers.com/showthread.php?t=861044) to get android market:
0) Backup in Clockwork Mod. Please. I don't want you mad at me if this messes up your ROM.
1) Get the paid version of Root Explorer installed on your G Tablet. Apparently the free version lacks a text editor. If you only have the free version, the text editing step will need to be done in a separate program, or you will need to copy build.prop to your desktop, edit it there, and copy it back. Or use adb to push an edited build.prop to your tablet. Just buy Root Explorer though, it makes this very easy.
2) Browse in Root Explorer to /system. Then click on Mount R/W.
3) Long click on build.prop and click on Open In Text Editor.
4) Scroll down to the line ro.build.fingerprint=....
You are going to replace that with the following text:
ro.build.fingerprint=google/passion/passion/mahimahi:2.2/FRF91/43546:user/release-keys
5) Now you are going to click on Save and Exit. And then remount the /system directory as R/O.
6) Now you are going to re-do the original Market Fix. I used the simple version illustrated here: http://www.youtube.com/watch?v=7l-ny...eature=related First, make sure Market is running, and browse around in it for a few seconds. If you don't do this, there may be no cache to clear and for some reason the market fix may not work. Then, go to Settings->Applications->Manage Applications->Running and scroll down to Market. Then hit Clear Cache, followed by Force Stop **DO NOT CLEAR DATA FOR MARKET, JUST CACHE**. Then go back, scroll down to Google Services Framework, hit Clear Data, then Force Stop.
7) Now try starting Market again and you get the famous Market Error. Now shut down the G Tablet, then turned it back on. Wait for Wifi to connect to your network before doing anything! I forgot to do that on the first try, so I rebooted again, waited for wifi to connect this time.
8) Now restart Market again. It seems to have sourced the fingerprint from build.prop somewhere in steps 6-7. Searches for previously missing apps now show up. Voila! A truly full market!
the first thing I don't understand is Long click on build.prop and click on Open In Text Editor.
When I try to edit build.prop it says "YOUR DEVICE MUST BE ROOTED"
the second thing: Now you are going to re-do the original Market Fix. I used the simple version illustrated here: http://www.youtube.com/watch?v=7l-nySibzeA&feature=related
The youtube video was removed....
if someone can please fix the steps for dummies i would really appreciate it!
thank you guys so much!

MTK 6589 GPS FIXED/stopped working need help - Haipai

Hi all - FINALLY got gps to work (for one day). I user root explorer to rename my old gps.conf file and uploaded one from the net for the UK. I got it working and was VERY excited after struggling for weeks.
ALot of the tuts I saw use mobileuncle tools for the engineer mode.. and I must be honest I felt like I was going in circles not quite understanding what does what and what actually finally made it work - now that it doesnt work anymore im a bit stumped as to why.
I know some of the gps apps actually reset your gps.conf to the ones that actually wont work so ive avoided those and checked my file contains the one that worked.
Some questions to help me understand -
When I turn on gps and go into mobile uncle - the GPS is off, why is this? shouldnt it be on??
Can someone (briefly) explain the what the following do and what the settings should be / when to use. IE should this always be on or put on during fixing/off after fixing etc
Mobile Uncle:
A-GPS reset w/o SI_REQ
A-GPS (on/off) -
EPO
EPO auto download
is there a 5 step process to reset the parameters/data (except for replacing the gps.conf cos mine works)..
like for example:
overwrite gpd.conf with correct location
Open mobile uncle -
enable gps
Epo / download
set gps data / reboot
thanks!
look there
http://forum.xda-developers.com/showpost.php?p=54090947&postcount=79

[GPS] Fix for LTO AGPS

Problem
Start an app that uses GPS (such as Maps), and then use a root file explorer to look in /data/gps/ , you will see the file gldata.sto, but you will not see lto.dat. This contains long term orbit data used to speed up a GPS fix from a cold start. If you see this file, then the fix posted here is not needed.
Cause
If you enable logging and look in the log file, you will see a line like this: LBS: Error resolving address from bcmls2.glpals.com. I have no idea why it can't resolve the DNS, but this prevents the file from being downloaded. This address is stored in the /system/etc/gps_brcm_conf.xml file. You will see the following: LbsServer="BCMLS2.glpals.com"
Fix
Simply change this to the resolved IP address and it should resolve the problem. I have attached a zip that you can install from recovery so you don't need to make the modification manually.
I have tested this on P769. Please give feedback on whether this works for you, and whether this helps for other L9 models.
Thanks, testing today with endomondo running...
After test, working fine for me on P760 with cm11.
Thanks so much

[Magisk Module] Step By Step Definitive GPS Solution (Global)

*This module also works for any another device with Qualcomm Snapdragon chipset based, so feel free to test it on another device that have Magisk and recommend for your friends that want a better GPS experience and functionality.
The original gps.conf file present in any version of MIUI is very wrong, it has a lot of bad information and settings for the correct operation of the GPS and A-GPS. But on most Custom ROMs it was solved, however, I believe the changes I've made for a better optimization has the best results.
A little reflection tested and proven by myself: If you have a nice FW version with wrong gps.conf you won't have good results with the GPS, but if you have any FW version with gps.conf file correctly edited, maybe you might get better results.
Then we can finally conclude that, the Xiaomi Mi5 don't have any HW problem with GPS. What happens is that the firmware works in conjunction with the file.
There's not much difference with the default file included in LOS or other ROMs but let me explain about some of my relevant changes:
1 - Now basically the A-GPS data files are XTRA 3.0 files (It provides GPS, GLO and BDS assistance data) served over HTTPS with SSL and without # preceding the address lines while the default on MIUI ROMs was XTRA 2.0 (provides only GPS and GLO) served over HTTP without SSL, this allows an attacker to mount a MITM attack on the network level and modify the GPS assistance data while in transit.
2 - I switched the XTRA_VERSION_CHECK from 0 to 3 because it's obvious that xtra3grc.bin are XTRA 3.0 files.
3 - I included the address servers from pool.ntp.org as the main NTP server because it's global, the system will try finding the closest available servers for you
4 - I set SUPL_HOST google.com as default, before was qxwz.com on MIUI and this is an A-GPS server in China. Google server is more "Global" and can do the job very well.
5 - I updated the SUPL version from 2.0 to 3.0
6 - I changed the SUPL_MODE from 3 (so bad, this option doesn't even exist) to 0x2 (MSA), under normal circumstances, the MSA method is applicable to situation which the satellite signal is poor, to achieve a single positioning.
7 - Changed the value of GPS CAPABILITIES from 0x37 to 0x35 for correctly MSA mode functionality.
8 - Changed the LTE Positioning Profile Settings from 0 (RRLP) to 3 (LPP_User_Plane and LPP_Control_Plane)
9 - Changed the A-GLONASS Positioning Protocol from 0 to 0x4 (LLP Uplane)
The reason for the 8 and 9 changes is because SUPL 3.0 doesn't support RRC and RRLP anymore.
[Step By Step]
It's Magisk install-able, don't install it by TWRP but with Magisk instead!
1 - Go on Magisk > Modules > Click on "+" yellow button > Search and find this "optimizedgpsconf.zip" file (Now this one and only works fine for both Nougat and Oreo and also is correctly replacing the gps.conf file), long press on it and select open and after installed then reboot your device.
2 - Make sure your location settings is setup on mode "High accuracy"
3 - Skirt outdoors, can be in the yard of your house or anywhere else with a line of sight to the sky, download some Compass app on Google Play Store (I recommend the Compass Steel 3D) and then calibrate the compass.
4 - Stay in that outdoor place and download GPS Locker on Google Play Store and open the app and wait for the first time fix/lock. This is necessary and essential because the app will recognize some GPS satellites signals for the very first time.
*Note 1 - Location mode "Battery saving" is gone due to Google's location accuracy is now a binary setting.
*Note 2 - Consider using the GPS Locker app because it is much better than the GPS Test and GPS Data. You just need to open it once and wait for fix, then your gps signal is locked and when you close it the app keep awake running in the background. (press Cancel in "Unlock GPS on exit" message). GPS was made to work on outdoor places. For indoor/enclosed places such as inside of your house don't forget that, it will take a few minutes to fix. It drains more battery, but is required if you're an advanced user that use gps all the time.
Whenever I'm on the street I keep the GPS Locker and Cellular data open because I use Cerberus antitheft, so if I get mugged or if I lose my phone I can track him down and retrieve it.
I hope I've helped. Please, give me some feedback if it worked for you.
ianhughes74 said:
Guys let me tell you, I'm currently using the FW v7.10.12 with ViperOS v3.1.1 ROM and the gps.conf file edited by myself.
The original gps.conf file present in any version of MIUI is very wrong, it has a lot of bad information and settings for the correct operation of the GPS. But on most of Custom ROMs it was solved, however, I believe the changes I've made for a better optimization in my country have the best results.
A little reflection tested and proven by myself: If you have a nice FW version with wrong gps.conf you won't have good results with the GPS, but if you have any FW version with gps.conf file correctly edited, maybe you might get better results.
Then we can finally conclude that, the Xiaomi Mi5 don't have any HW problem with GPS. What happens is that the firmware works in conjunction with the file.
Extract the file "gps.zip" and copy the gps.conf file and paste and replace on the root>system>etc folder and then reboot your device.
Make sure your location settings is setup on mode high accuracy.
Download some Compass app on Google Play Store (I recommend the Compass Steel 3D) and then calibrate the compass.
Skirt outdoors, can be in the yard of your house or anywhere else with a line of sight to the sky, download GPS Locker on Google Play Store and open the app.
Please, give me some feedback if it worked for you.
Click to expand...
Click to collapse
Thanks a lot, Ian. Still haven't gotten around to try it, but will do it tomorrow morning and report back.
Just did a diff with the gps.conf included in LOS 14.1; there are some minor differences (I suspect much less than when compared with MIUI) but will try it anyway to see if it makes a a difference. Just for the record, I don't have terrible GPS performance (it takes a while to lock, and accuracy could be better) but any improvement would be welcome.
Just tried your gps.conf; copied it into /system/etc using TWRP, rebooted, recalibrated compass and cleared and updated AGPS (I used the "GPS Test" app). I'm using 7.9.22 dev firmware and LineageOS 14.1, latest build (10.24).
The performance for me was about the same than with the default LineageOS gps.conf, both in accuracy and 3D Lock time; I suspect the change might be more spectacular for MIUI users, so I'd give it a try if I had severe GPS problems. As I told before, my GPS performance is not great, but not terrible either.
Anyway, thanks a lot, @ianhughes74 for your work!
e_jim said:
Thanks a lot, Ian. Still haven't gotten around to try it, but will do it tomorrow morning and report back.
Just did a diff with the gps.conf included in LOS 14.1; there are some minor differences (I suspect much less than when compared with MIUI) but will try it anyway to see if it makes a a difference. Just for the record, I don't have terrible GPS performance (it takes a while to lock, and accuracy could be better) but any improvement would be welcome.
Just tried your gps.conf; copied it into /system/etc using TWRP, rebooted, recalibrated compass and cleared and updated AGPS (I used the "GPS Test" app). I'm using 7.9.22 dev firmware and LineageOS 14.1, latest build (10.24).
The performance for me was about the same than with the default LineageOS gps.conf, both in accuracy and 3D Lock time; I suspect the change might be more spectacular for MIUI users, so I'd give it a try if I had severe GPS problems. As I told before, my GPS performance is not great, but not terrible either.
Anyway, thanks a lot, @ianhughes74 for your work!
Click to expand...
Click to collapse
Yes, you're right. I made minor changes with the default file included in LOS.
Now basically the data files are served over HTTPS with SSL while the default was served over HTTP without SSL, this allows an attacker to mount a MITM attack on the network level and modify the GPS assistance data while in transit.
I switched the XTRA_VERSION_CHECK from 0 to 3 because it's obvious that xtra3grc.bin are XTRA 3.0 files.
And I includes the address pool.ntp.org as the main NTP server because it's global, the system will try finding the closest available servers for you. However, this is a dynamic IP server, so, a fixed time reference becomes more reliable, fast and secure. If your country have a NTP server with a static IP, please consider adding the address to the file.
But for now you can try to replace the lines to:
NTP_SERVER=cl.pool.ntp.org
NTP_SERVER_1=south-america.pool.ntp.org
NTP_SERVER_2=gpsntplpsc.duckdns.org
NTP_SERVER_3=time.izatcloud.net
But consider using the GPS Locker app because it is much better than the GPS Test and GPS Data. You just need to open it once and wait for fix, then your gps signal is locked and the app keep awake running in the background.
It drains more battery, but is required if you're an advanced user that use gps all the time. Whenever I'm on the street I keep the GPS Locker and Cellular data open because I use Cerberus antitheft, so if I get mugged or if I lose my phone I can track him down and retrieve it.
I hope I've helped.
Quick update: I was on 7.9.22 firmware before. Just to be sure, I flashed a newer FW (7.10.19) together with your gps.conf, and GPS lock times improved drastically! Accuracy also improved a good bit. Thanks a lot again!
I'll have to remember to copy your file over the default one each time I flash a LOS weekly, but it's worth it
can you please modify for indonesia? thx u
kemalafiantoro said:
can you please modify for indonesia? thx u
Click to expand...
Click to collapse
Please, edit by yourself. Open the file that I attached using Solid Explorer File Manager or ES File Explorer as Text Editor and replace the following lines below and then save the file.
NTP_SERVER=asia.pool.ntp.org
NTP_SERVER_1=id.pool.ntp.org
NTP_SERVER_2=0.id.pool.ntp.org
NTP_SERVER_3=1.id.pool.ntp.org
NTP_SERVER_4=2.id.pool.ntp.org
NTP_SERVER_5=3.id.pool.ntp.org
compatible for malaysia ?
Please provide the file for India.
Great work @ianhughes74 !
It really helped my gps signal on AEX rom, not that it was bad but now it's more consistent. Thanks a lot
Now only if we had someone who knows a thing or two about flashable zips to make this process more automated, but never the less, good job on the detailed guide and thanks for help
qiie95 said:
compatible for malaysia ?
Click to expand...
Click to collapse
Please, edit by yourself. Open the file that I attached using Solid Explorer File Manager or ES File Explorer as Text Editor and replace the following lines below and then save the file.
NTP_SERVER=asia.pool.ntp.org
NTP_SERVER_1=my.pool.ntp.org
NTP_SERVER_2=0.asia.pool.ntp.org
NTP_SERVER_3=1.asia.pool.ntp.org
NTP_SERVER_4=2.asia.pool.ntp.org
NTP_SERVER_5=3.asia.pool.ntp.org
Phillen13 said:
Please provide the file for India.
Click to expand...
Click to collapse
Please, edit by yourself. Open the file that I attached using Solid Explorer File Manager or ES File Explorer as Text Editor and replace the following lines below and then save the file.
NTP_SERVER=asia.pool.ntp.org
NTP_SERVER_1=in.pool.ntp.org
NTP_SERVER_2=1.in.pool.ntp.org
NTP_SERVER_3=1.asia.pool.ntp.org
NTP_SERVER_4=3.asia.pool.ntp.org
and for Italy please?
0ther said:
and for Italy please?
Click to expand...
Click to collapse
Please, edit by yourself. Open the file that I attached using Solid Explorer File Manager or ES File Explorer as Text Editor and replace the following lines below and then save the file.
NTP_SERVER=europe.pool.ntp.org
NTP_SERVER_1=it.pool.ntp.org
NTP_SERVER_2=0.it.pool.ntp.org
NTP_SERVER_3=1.it.pool.ntp.org
NTP_SERVER_4=2.it.pool.ntp.org
NTP_SERVER_5=3.it.pool.ntp.org
work wich oreo?
For everyone that needs a flashable zip of that *fantastic* mod, see below:
Here
Note that this is an Italian optimized version
If you want to use your gps.conf, just replace the file within the folder /system/etc inside the zip
It's magisk install-able, do not install it by twrp but with magisk instead!
thanks to Dusan for this!
sys01 said:
For everyone that needs a flashable zip of that *fantastic* mod, see below:
Here
Note that this is an Italian optimized version
If you want to use your gps.conf, just replace the file within the folder /system/etc inside the zip
It's magisk install-able, do not install it by twrp but with magisk instead!
thanks to Dusan for this!
Click to expand...
Click to collapse
Hi thanks for your reply, I just have to launch magisk and select this archive file to install it?
OT. Ciao compaesano
Inviato dal mio MI 5 utilizzando Tapatalk
toketin said:
Hi thanks for your reply, I just have to launch magisk and select this archive file to install it?
OT. Ciao compaesano
Inviato dal mio MI 5 utilizzando Tapatalk
Click to expand...
Click to collapse
Go on Magisk -> module -> click on "+" yellow button -> long press on that .zip file and select open
Then after it finishes click reboot and enjoy :fingers-crossed:
Ciao!
sys01 said:
Go on Magisk -> module -> click on "+" yellow button -> long press on that .zip file and select open
Then after it finishes click reboot and enjoy :fingers-crossed:
Ciao!
Click to expand...
Click to collapse
Ok thanks, it should works also under Lineage right?
Edit: flashed on Los and working fine, i've installed also gps locker with the autostart setting on the GPS turn on.
Inviato dal mio MI 5 utilizzando Tapatalk
I have installed your gps.conf file on my Mi5 running AospExtended ROM with 7.10.12 FW.
It didn't change a single thing. With or without the mod I am seeing satellites but signal is almost null. Only in VERY open spaces I am able to fix GPS.
This is the situation indoor compared to a Galaxy A5 2016.
I also have changed FW to 7.10.19, no profit
If I get next a window, it gets enough signal strenght to fix, but is still considerably less than the Samsung.
olivercervera said:
I have installed your gps.conf file on my Mi5 running AospExtended ROM with 7.10.12 FW.
It didn't change a single thing. With or without the mod I am seeing satellites but signal is almost null. Only in VERY open spaces I am able to fix GPS.
This is the situation indoor compared to a Galaxy A5 2016.
I also have changed FW to 7.10.19, no profit
If I get next a window, it gets enough signal strenght to fix, but is still considerably less than the Samsung.
Click to expand...
Click to collapse
Im in the same situation as yours
The thing i'll try to see if i can fix that is to revert back to 6.11.10 that is the last miui7 for mi5 (people says that GPS there is perfect)
if it'll wont work, then i'll try to clean flash with MiFlash some Stable MM roms and see

Categories

Resources