[Q] GPS does not work entirely - AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin

Hello,
First of all, I need to say I searched for weeks to solve this issue. I found no other way than posting a question. I hope someone could help me solve it. I checked the logs using "aLogcat" but nothing is relevant to the GPS. Any kind of help is welcome, I am not asking for a full step-by-step guide
* Issue: GPS cannot find my location, even when kept for long periods under clear sky (20 minutes). I tried "Faster GPS" and "GPS Status" apps to debug the thing, but useless. I simply can't get a fix.
* Infos:
Device: SGH-I337M
OS: Android 4.4.2 (Samsung Stock ROM)
Baseband: I337MVLUFNE1
Kernel: 3.4.0-1529758
Build: KOT49H.I337MVLUFNE1
Location: France
* /etc/gps.conf
##################################################
ENABLE_WIPER=1
LPP_PROFILE=0
DEFAULT_AGPS_ENABLE=TRUE
A_GLONASS_POS_PROTOCOL_SELECT=0
SUPL_VER=0x10000
CAPABILITIES=0x37
NTP_SERVER=fr.pool.ntp.org
INTERMEDIATE_POS=1
XTRA_SERVER_1=(a link to xtra1 (dot) gpsonextra (dot) net (slash) xtra2.bin
XTRA_SERVER_2=(a link to xtra2 (dot) gpsonextra (dot) net (slash) xtra2.bin
XTRA_SERVER_3=(a link to xtra3 (dot) gpsonextra (dot) net (slash) xtra2.bin
ERR_ESTIMATE=0
DEBUG_LEVEL=4
CURRENT_CARRIER=common
NMEA_PROVIDER=0
##################################################
Thank you

Ever since I upgraded to KitKat months ago I've had the same problem. Location is found, but satellite will never fix which means no turn by turn navigation.
I've downloaded every GPS app that exists, calibrated the compass countless times...and still nothing. In that time, I've installed and run at least 10 different ROMs and odined to stock as well.
I'm thinking it's a hardware problem and might exchange my phone for a replacement S4. Searched for GPS/KitKat/S4 problem, but never found anything significant.

kevinco1 said:
Ever since I upgraded to KitKat months ago I've had the same problem. Location is found, but satellite will never fix which means no turn by turn navigation.
I've downloaded every GPS app that exists, calibrated the compass countless times...and still nothing. In that time, I've installed and run at least 10 different ROMs and odined to stock as well.
I'm thinking it's a hardware problem and might exchange my phone for a replacement S4. Searched for GPS/KitKat/S4 problem, but never found anything significant.
Click to expand...
Click to collapse
Normally, the GPS should be able to fix satellites even without Data (In Airplane mode) and without AGPS data also. But I get zero fixes whatever I try. I am trying to keep the "hardware possibility" a last resort. I am trying to find a software solution to a software triggered problem (the upgrade, it seems...).

koutheir said:
Normally, the GPS should be able to fix satellites even without Data (In Airplane mode) and without AGPS data also. But I get zero fixes whatever I try. I am trying to keep the "hardware possibility" a last resort. I am trying to find a software solution to a software triggered problem (the upgrade, it seems...).
Click to expand...
Click to collapse
The fact that I have done everything possible and it still will not fix to any satellite makes me convinced this is a hardware problem.
However, since this only started when I first upgraded to KitKat (didn't take any OTAs) I'm holding out hope there is some type of fix that we're overlooking.
Any additional help or advice from anyone else would be much appreciated, thanks in advance!

I finally resolved my issue
Current situation: GPS fixes 8 satellites out of 25 even between high buildings.
Short solution: set the right CSC for your device.
Advice: Always set the right CSC for your device, even if you happen to mess with it (which is arguably your own right as you own the device...).
Long solution:
- Backup your data and your apps. During the procedure, the device !!!WILL PERFORM A FACTORY RESET!!!
- Root your device.
- Open a terminal emulator on the device.
- Type the following commands (let the terminal application gain root access when you get prompted):
$ su
# am start -a android.intent.action.MAIN -n com.sec.android.Preconfig/com.sec.android.Preconfig.Preconfig
- You will get a window with a list of CSC codes. Select the one corresponding to your device and stock firmware, and push the button INSTALL.
- The device will reboot, and !!!WILL PERFORM A FACTORY RESET!!!
- That's all folks.
- (Now go mess up things again, and again...)

koutheir said:
I finally resolved my issue
Current situation: GPS fixes 8 satellites out of 25 even between high buildings.
Short solution: set the right CSC for your device.
Advice: Always set the right CSC for your device, even if you happen to mess with it (which is arguably your own right as you own the device...).
Long solution:
- Backup your data and your apps. During the procedure, the device !!!WILL PERFORM A FACTORY RESET!!!
- Root your device.
- Open a terminal emulator on the device.
- Type the following commands (let the terminal application gain root access when you get prompted):
$ su
# am start -a android.intent.action.MAIN -n com.sec.android.Preconfig/com.sec.android.Preconfig.Preconfig
- You will get a window with a list of CSC codes. Select the one corresponding to your device and stock firmware, and push the button INSTALL.
- The device will reboot, and !!!WILL PERFORM A FACTORY RESET!!!
- That's all folks.
- (Now go mess up things again, and again...)
Click to expand...
Click to collapse
Thanks Bro. Appreciate your help.

ive been having gps issues as well and attempted to fix by using the android terminal csc but nothing comes up after i enter those lines..

Anybody?
Sent from my SAMSUNG-SGH-I337 using XDA Free mobile app

GPS Fix
koutheir said:
Hello,
First of all, I need to say I searched for weeks to solve this issue. I found no other way than posting a question. I hope someone could help me solve it. I checked the logs using "aLogcat" but nothing is relevant to the GPS. Any kind of help is welcome, I am not asking for a full step-by-step guide
* Issue: GPS cannot find my location, even when kept for long periods under clear sky (20 minutes). I tried "Faster GPS" and "GPS Status" apps to debug the thing, but useless. I simply can't get a fix.
* Infos:
Device: SGH-I337M
OS: Android 4.4.2 (Samsung Stock ROM)
Baseband: I337MVLUFNE1
Kernel: 3.4.0-1529758
Build: KOT49H.I337MVLUFNE1
Location: France
* /etc/gps.conf
##################################################
ENABLE_WIPER=1
LPP_PROFILE=0
DEFAULT_AGPS_ENABLE=TRUE
A_GLONASS_POS_PROTOCOL_SELECT=0
SUPL_VER=0x10000
CAPABILITIES=0x37
NTP_SERVER=fr.pool.ntp.org
INTERMEDIATE_POS=1
XTRA_SERVER_1=(a link to xtra1 (dot) gpsonextra (dot) net (slash) xtra2.bin
XTRA_SERVER_2=(a link to xtra2 (dot) gpsonextra (dot) net (slash) xtra2.bin
XTRA_SERVER_3=(a link to xtra3 (dot) gpsonextra (dot) net (slash) xtra2.bin
ERR_ESTIMATE=0
DEBUG_LEVEL=4
CURRENT_CARRIER=common
NMEA_PROVIDER=0
##################################################
Thank you
Click to expand...
Click to collapse
Install SELinuxModeChanger app from google play and change the permission from enforcing to permissive. Should fix your gps problem.

Related

HTC Stocks currency problem

The HTC Stocks app has the best widget of all other currency apps, so I was using it on my 1.5 Hero for displaying the EURO/GBP (EURGBP=X) rate.
After the 2.1 rom update I have a strange problem. When I try to add a new ticker for "eurgbp=x", I get the error message: "Unable to recognize the company name or stock symbol you typed. Please try again." However, this worked in the past like a charm. I have to note that adding "gbp=x" or "usd=x" works fine, with no problem at all.
Maybe this problem is related to an updated version of the Stocks app in the new rom. Is anyone experiencing the same problem? I haven't found a similar thread for a Sense Android phone. The same problem exists in the latest rom of HD2, but people have figured a work-around, by changing a file under "Application Data\HTC\", but this file doesn't exist on Android.
Any help would be more than welcome!
I experience the same problem (although I'm on VillainRom12). Previously adding currencies (EURUSD=X etc) was working, but right now I am unable to find it. This could be HTC problem as it was working fine on 1.5, but this could be also some Yahoo search glitch (I am unable to search for that quotes on mobile version of the Yahoo Finance page, while the desktop version works fine). The only workaround to that was to edit manually SQLite database of Stocks application (but this may require root - I can provide details if necessary). Once I added appropriate entries to the list of stocks, it seems to be working fine (it is displaying my currencies, but the search still does not work).
One other deficiency I found was the fact that graphs are not cached anymore - If I open the application and check for example a daily graph, I need to update it in order to see any chart - each time, even if I switch from 1D to 5D and back. It is also automatically updated each time I visit given tab, if I enable the automatic updates. Previously this app displayed previously cached graph. I'm not sure whether this happens also on stock 2.1 ROM.
Now that you mention it, I have the same problem with the graphs in the 2.1, too. It worked (showed the cashed graph) in the 1.5, but not any more. Blank graph until it updates.
Can you provide me some guidance about how to edit the Stocks' database? At least a link to something similar would be much appreciated. Can I access the phone's system folder without rooting it, through my PC (Win, Linux, whatever)?
eeVoskos said:
Can you provide me some guidance about how to edit the Stocks' database? At least a link to something similar would be much appreciated. Can I access the phone's system folder without rooting it, through my PC (Win, Linux, whatever)?
Click to expand...
Click to collapse
I'm new in the business, so I'm not sure if the root is necessary. You can try it, anyway to see if you will be able to push and pull files from the directory where Stocks stores its database.
Here's what I did:
Enable USB Debugging in Settings -> Applications -> Development -> USB Debugging
Download Android SDK from http://developer.android.com/sdk/index.html
In command line go to subdirectory tools of Android SDK
Close Stocks app and remove Stocks widget from the screen
Connect Phone via USB
... (Beginning of the optional part) ...
Go to Android shell
Code:
adb shell
List any processes to see if there's a com.htc.android.Stock process (like in this case)...
Code:
ps | grep Stock
7605 10007 130m S com.htc.android.Stock
7619 0 2156 S grep Stock
Kill any Stock processes (using the value in the first column):
Code:
kill 7605
Exit to command line
Code:
exit
... (End of the optional part) ...
Pull the Stock database:
Code:
adb pull /data/data/com.htc.dcs.service.stock/databases/stock.db stock.db
Sample output:
Code:
d:\Projects\Android\tools>adb pull /data/data/com.htc.dcs.service.stock/databases/stock.db stock.db
568 KB/s (5120 bytes in 0.008s)
Backup, just in case:
Code:
copy stock.db stock_backup.db
Run sqlite3
Code:
sqlite3 stock.db
Enable headers in sqlite:
Code:
.headers on
List contents of quotes table:
Code:
select * from quotes;
Sample output:
Code:
sqlite> select * from quotes;
_id|_name|_symbol|_price|_change|_percent|_open|_high|_low|_volume|_link|_type|_sequence|_updatetime
2|CHF/PLN|CHFPLN=X|3.08299994468689|0.0116999996826053|0.381900012493134|3.07209992408752|3.08550000190735|3.07010006904602|0|http://m.yahoo.com/htcwf/search?p=CHFPLN=X||0.0|1278490511305
3|USD/PLN|USDPLN=X|3.27649998664856|0.0200999993830919|0.617200016975403|3.25550007820129|3.27959990501404|3.24499988555908|0|http://m.yahoo.com/htcwf/search?p=USDPLN=X||100.0|1278490511305
4|EUR/PLN|EURPLN=X|4.1217999458313|0.0151000004261732|0.367700010538101|4.11250019073486|4.12349987030029|4.10799980163574|0|http://m.yahoo.com/htcwf/search?p=EURPLN=X||200.0|1278490511305
5|EUR/USD|EURUSD=X|1.25789999961853|-0.00469999993219972|-0.376199990510941|1.26170003414154|1.26259994506836|1.25689995288849|0|http://m.yahoo.com/htcwf/search?p=EURUSD=X||300.0|1278490511305
6|EUR/CHF|EURCHF=X|1.33689999580383|-0.000899999984540045|-0.0710000023245811|1.33879995346069|1.33910000324249|1.33609998226166|0|http://m.yahoo.com/htcwf/search?p=EURCHF=X||400.0|1278490511305
sqlite>
Note the last _id (here 6) and add new currency with _id higher by 1 (so here, 7):
Code:
insert into quotes (_id, _name, _symbol) values (7, "EUR/GBP", "EURGBP=X");
Check if it has been added:
Code:
select * from quotes;
Sample output:
Code:
sqlite> select * from quotes;
_id|_name|_symbol|_price|_change|_percent|_open|_high|_low|_volume|_link|_type|_sequence|_updatetime
2|CHF/PLN|CHFPLN=X|3.08299994468689|0.0116999996826053|0.381900012493134|3.07209992408752|3.08550000190735|3.07010006904602|0|http://m.yahoo.com/htcwf/search?p=CHFPLN=X||0.0|1278490511305
3|USD/PLN|USDPLN=X|3.27649998664856|0.0200999993830919|0.617200016975403|3.25550007820129|3.27959990501404|3.24499988555908|0|http://m.yahoo.com/htcwf/search?p=USDPLN=X||100.0|1278490511305
4|EUR/PLN|EURPLN=X|4.1217999458313|0.0151000004261732|0.367700010538101|4.11250019073486|4.12349987030029|4.10799980163574|0|http://m.yahoo.com/htcwf/search?p=EURPLN=X||200.0|1278490511305
5|EUR/USD|EURUSD=X|1.25789999961853|-0.00469999993219972|-0.376199990510941|1.26170003414154|1.26259994506836|1.25689995288849|0|http://m.yahoo.com/htcwf/search?p=EURUSD=X||300.0|1278490511305
6|EUR/CHF|EURCHF=X|1.33689999580383|-0.000899999984540045|-0.0710000023245811|1.33879995346069|1.33910000324249|1.33609998226166|0|http://m.yahoo.com/htcwf/search?p=EURCHF=X||400.0|1278490511305
7|EUR/GBP|EURGBP=X|||||||||||
sqlite>
Quit sqlite:
Code:
.quit
Push the file back to the phone:
Code:
adb push stock.db /data/data/com.htc.dcs.service.stock/databases/stock.db
Sample output:
Code:
d:\Projects\Android\tools>adb push stock.db /data/data/com.htc.dcs.service.stock/databases/stock.db
341 KB/s (5120 bytes in 0.014s)
Restart phone.
See if that worked
I hope HTC (or Yahoo) will be able to fix that, because the above is really a long process...
Anyway, I can't make it work. Entering "ps | grep Stock" gives me a "grep: permission denied" error message. I did some searching and I believe this is what people mean by saying "you need root access", right? I'll come back when I'm rooted (i.e. when I find a decent guide for rooting 2.1).
Thanks for your time & effort man. I really appreciate it.
eeVoskos said:
Anyway, I can't make it work. Entering "ps | grep Stock" gives me a "grep: permission denied" error message.
Click to expand...
Click to collapse
You can try to omit the "optional" part (steps 6-9) - the ps thing was just to make sure that Stock isn't running. But I noticed anyway that it never ran in the background when I closed it on the phone. Try to adb pull and adb push and see if you'll get any permission issues. If you do, then you indeed need a root (sorry I can't check that as I'm rooted)
A couple of days ago I updated the ROM of my HTC TD2, with the most recent one of HTC (WM6.5, Sense 2.5.20113030.0). Afterwards I noticed that I also could not get the stock app to accept the code EURUSD=X.
You mention the following
The same problem exists in the latest rom of HD2, but people have figured a work-around, by changing a file under "Application Data\HTC\", but this file doesn't exist on Android.
Click to expand...
Click to collapse
Can you tell me what that work-around is or point me to it? Hopefully this can help me.
Thank you in advance.
Check this thread:
http://forum.xda-developers.com/showthread.php?t=706732
eeVoskos said:
Check this thread:
Click to expand...
Click to collapse
Thank you for the link (which I am not allowed to repost ).
Last Monday I wrote an e-mail to HTC about this problem and a couple of days later I got a reply. They told me they tried to search for the currency rate (eurusd) and that they got a result. So I tried again and lo and behold I got a result as well. Searching for eurusd=x gave me a result while last weekend it was not working.
So I tried several other currency rates and they all rendered a result, also eurgbp=x. Perhaps it is also fixed for the Android app.
[Extra information added below]
Tried again and nothing
I was connected with a data connection to my carrier, so I switched to my wifi connection. Tried again and... result.
So it seems to be a difference in communication between an ordinary data connection and a wifi connection. Maybe this will help someone
Wird problem. I tried it too on both UK and Greek carriers and on WiFi, but nothing. No result for either of them: "eurgbp=x", "eurgbp", "eurusd=x", "eurusd". I have been trying occasioanly more than one month now.
I think I should drop them an email too...
Why don't you do a soft (temporary) root and make the database entries as described in here? I did it and now I got all the stuff I need, and no trace of root on the device.

For slow fix gps [moved from dev]

with the cm7, my gps are very slow, +/- 5 -> 10 minutes for fixing, event with ten satellites 'green' on gps status.
With the "Ogo rom" ( thx man ) this operation is realized in ....5 secs !
with the help of "google" and this adress : http://android.modaco.com/topic/331446-mod-all-roms-gps-fix/
i have made a gps.conf for my usage in Belgium : here is :
NTP_SERVER=0.be.pool.ntp.org
NTP_SERVER=1.be.pool.ntp.org
NTP_SERVER=2.be.pool.ntp.org
NTP_SERVER=3.be.pool.ntp.org
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 LEVELS: 0 - none, 1 - Error, 2 - Warning, 3 - Info
# 4 - Debug, 5 - Verbose
DEBUG_LEVEL =0
# Intermediate position report, 1=enable, 0=disable
INTERMEDIATE_POS=1
# Accuracy threshold for intermediate positions
# less accurate positions are ignored, 0 for passing all positions
ACCURACY_THRES=5000
# Report supl ref location as position, 1=enable, 0=disable
REPORT_POSITION_USE_SUPL_REFLOC=1
# Wiper (wifi positioning), 1=enable, 0=disable
ENABLE_WIPER=1
################################
##### AGPS server settings #####
################################
# FOR SUPL SUPPORT, set the following
SUPL_HOST=supl.google.com
SUPL_PORT=7276
SUPL_NO_SECURE_PORT=7276
SUPL_SECURE_PORT=7276
# FOR C2K PDE SUPPORT, set the following
# C2K_HOST=c2k.pde.com or IP
# C2K_PORT=1234
#################################
##### AGPS Carrier settings #####
#################################
CURRENT_CARRIER=common
DEFAULT_AGPS_ENABLE=TRUE
DEFAULT_SSL_ENABLE=FALSE
# TRUE for "User Plane", FALSE for "Control Plane"
DEFAULT_USER_PLANE=TRUE
the result is a fix in 10 secs ! the important parameters in this case is ACCURACY_THRES=5000 and INTERMEDIATE_POS=1, it decrease the necessary time to fix completly.
These parameters reduce the precision to make a faster fix but the precision grows after this.
It's not a scientific approach, but it works on this config :
Legend [email protected]
CM7 nightly 125
Radio rom : 47.51.35.17U_7.13.35.05
If that help anyone, is cool , sorry for my (very) bad English !
Alain
Used it and work´s very good!
I have Root Explorer , navigate to \system\etc , mount r/w and open in text editor, and i am able i edit the gps.conf file, saved the file and everytime it crashes the os and reboots me... when i check again , it didnt save my changes...
Using GPS Faster Fix utility also gives me the same problem.. it let me chose the server but when i save, it reboots...
I am running Blayo ROm with the A2SD with data ext... not sure if this is related.
Any ideas
Thanks
well, try with adb to push this file on the system !
I open the file zip on my computer. Then edit the gps.conf by inserting my local servers. Then save changes and put zip file on sdcard and in cwm recovery choose zip from sdcard and just flash.
Went ok. Just try.
Cheers
Sent from my Legend using XDA App
I couldnt edit while the phone was on... and i tried using the flashing method to install it.
I couldnt find any difference with the new gps.conf though...
My test was to open GPS Status and Reset the aGPS Data, then reboot the phone to make sure im testing the GPS without any aGPS or wifi.
Once rebooted, first thing i open the GPS Status, it took forever to get a fix... at least 15 mins... i had a blue sky ...
Is this how you guys test to see if it is quick?
But once fixed, it is quick for subsequent tries... as long i do not reset the aGps data.
It's perfect, finally working as it should. Getting a fix in 3 seconds
The easiest way is just install the .zip by cwm recovery, instead of editing gps.config manually.
sirpasztet said:
It's perfect, finally working as it should. Getting a fix in 3 seconds
The easiest way is just install the .zip by cwm recovery, instead of editing gps.config manually.
Click to expand...
Click to collapse
can you tell mw when you said getting a fix in 3 seconds... how you timed/test it?
1. Did you use GPS Status apk from the market?
2. Did you delete all AGPS Data (Menu>AGPS>Reset AGPS data)
3. Reboot phone and try GPS Status and get your fix in 3 secs?
I downloaded the .zip and modified it to accommodate my location: ca.pool.ntp.org. I then flashed it (also cleared my dalvik cache, this may help) and booted into CM7.1, like usual.
Then I went into my GPS test app, GPS Test and it got a lock instantly. What baffled me however was that it locked me to 0m accuracy and no satellites were in view. I was indoors. I then went into Google Maps and once again it locked me instantly, but to Winnipeg, Manitoba, a city 1500km away from Edmonton, my city.
Then I rebooted once more and went back into GPS Test. The GPS lock icon was flashing for a few seconds, trying to acquire a fix, but then stopped altogether.
This is strange, and doesn't work for me apparently.
EDIT: Figured out the solution to my latter problem, the permissions were all effed up. I'm still instantly locked to Winnipeg though.
EDIT2: Nope, both problems still persist. Permissions did nothing.
EDIT3: Oh God, I left my GPS to fix all by itself and when I came back, the accuracy is getting less accurate! It was 1700m when I started typing, now it's at 2700m! WTF IS GOING ON?
EDIT4: It lost its fix after 4996m accuracy, it's finding some satellites now and will probably do the same damn thing again! "Fix-loop" is what I'm starting to call it. For now, I'm gonna download my Stock ROM (unrooted) and find the gps.conf file in there, then flash it.
QkSi1ver said:
can you tell mw when you said getting a fix in 3 seconds... how you timed/test it?
1. Did you use GPS Status apk from the market?
2. Did you delete all AGPS Data (Menu>AGPS>Reset AGPS data)
3. Reboot phone and try GPS Status and get your fix in 3 secs?
Click to expand...
Click to collapse
First I cleared and downloaded new agps data, using GPS Test app. Then I launched Google Maps and my accurate location has been set in few seconds.
Asovse1 said:
I downloaded the .zip and modified it to accommodate my location: ca.pool.ntp.org. I then flashed it (also cleared my dalvik cache, this may help) and booted into CM7.1, like usual.
Then I went into my GPS test app, GPS Test and it got a lock instantly. What baffled me however was that it locked me to 0m accuracy and no satellites were in view. I was indoors. I then went into Google Maps and once again it locked me instantly, but to Winnipeg, Manitoba, a city 1500km away from Edmonton, my city.
Then I rebooted once more and went back into GPS Test. The GPS lock icon was flashing for a few seconds, trying to acquire a fix, but then stopped altogether.
This is strange, and doesn't work for me apparently.
EDIT: Figured out the solution to my latter problem, the permissions were all effed up. I'm still instantly locked to Winnipeg though.
EDIT2: Nope, both problems still persist. Permissions did nothing.
EDIT3: Oh God, I left my GPS to fix all by itself and when I came back, the accuracy is getting less accurate! It was 1700m when I started typing, now it's at 2700m! WTF IS GOING ON?
EDIT4: It lost its fix after 4996m accuracy, it's finding some satellites now and will probably do the same damn thing again! "Fix-loop" is what I'm starting to call it. For now, I'm gonna download my Stock ROM (unrooted) and find the gps.conf file in there, then flash it.
Click to expand...
Click to collapse
once you get the gps.conf of the stock rom, post it here.. i want to compare with the modded one... is it a bell/virgin legend?
than ks
QkSi1ver said:
once you get the gps.conf of the stock rom, post it here.. i want to compare with the modded one... is it a bell/virgin legend?
than ks
Click to expand...
Click to collapse
It's a Bell Legend. And this is from the Eclair ROM (so I couldn't get Froyo's, doubt there would be updates/changes to gps.conf):
Code:
NTP_SERVER=north-america.pool.ntp.org
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
SUPL_HOST=supl.wireless.bell.ca
SUPL_PORT=7275
SUPL_TLS_HOST=supl.wireless.bell.ca
SUPL_TLS_CERT=/etc/SuplRootCert
Haven't tried it yet, I haven't been able to find the time. How did modifying it work for you if you've tried it already?
By the way, Bell and Virgin probably used the same Eclair ROMs, a Virgin CSR told me that they both had the same Froyo, so I'm thinking that 2.1 would also be identical.
mmm i may change mine to add those instead... because when i reset the gps cache it takes forever to get a fix... like 15 - 30 mins...
Asovse1 said:
It's a Bell Legend. And this is from the Eclair ROM (so I couldn't get Froyo's, doubt there would be updates/changes to gps.conf):
Code:
NTP_SERVER=north-america.pool.ntp.org
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
SUPL_HOST=supl.wireless.bell.ca
SUPL_PORT=7275
SUPL_TLS_HOST=supl.wireless.bell.ca
SUPL_TLS_CERT=/etc/SuplRootCert
Haven't tried it yet, I haven't been able to find the time. How did modifying it work for you if you've tried it already?
By the way, Bell and Virgin probably used the same Eclair ROMs, a Virgin CSR told me that they both had the same Froyo, so I'm thinking that 2.1 would also be identical.
Click to expand...
Click to collapse
I have instaled the last cm7 nightly and the gps.cnf back to original state. i have now the new cwm i i get a error. cant flash. now i dont know if is the cwm mod who does not support or if is the nightly. anyone knows something?
Hmm, let me get this straight. You get a big red sign over the whole screen saying just:
ERROR
Hmm, weird
BlaY0 said:
Hmm, let me get this straight. You get a big red sign over the whole screen saying just:
ERROR
Hmm, weird
Click to expand...
Click to collapse
LOLOL... i will write in here what was saying!
Edit: here we go!
"Amend scripting (update-script) is no longer supported. Amend scripting was deprecated by Google in Android 1.5. It was necessary to remove it when upgrading to the Clockworkmod 3.0 Gingerbread based recovery. Please switch to Edify scripting (updater-script and update-binary) to create working update zip packages."
So i believe that when update cmw from 2.x.x to 3.x.x is no longer possible to flash that gpsfix.zip. If that so, anyone with older version to do fake flash to try again this fix.
You can use both fake-flash versions whenever you like. Just copy the old one (2.5.x) to SD card naming it update-old.zip instead of update.zip. Boot to recovery, load 3.x fake flash update.zip (standard procedure). After that load update-old.zip from 3.x recovery and you'll end up with 2.5.x. Load update.zip from 2.5.x again and you'll be back on 3.x.
BlaY0 said:
You can use both fake-flash versions whenever you like. Just copy the old one (2.5.x) to SD card naming it update-old.zip instead of update.zip. Boot to recovery, load 3.x fake flash update.zip (standard procedure). After that load update-old.zip from 3.x recovery and you'll end up with 2.5.x. Load update.zip from 2.5.x again and you'll be back on 3.x.
Click to expand...
Click to collapse
But i have deleted the old cwm. i need the zip file to do that. can you get that for me? i can´t find it!
thanks in advance!
Edit: i think i´ve found in this threath: http://forum.xda-developers.com/showthread.php?t=1057072
Edit2: try to fake flash the that and receive a message saying that original recovery was changed by this one. Of course, does not.
I need cwm 2.5.x zip file to work.
Anyone?
ICavalera said:
But i have deleted the old cwm. i need the zip file to do that. can you get that for me? i can´t find it!
thanks in advance!
Edit: i think i´ve found in this threath: http://forum.xda-developers.com/showthread.php?t=1057072
Click to expand...
Click to collapse
Old CWM? 2.5 something? That comes with the ROM Manager app in the Market, doesn't it? (nooby answer )
Are you saying to open rom manager, flash the recovery menu, and then install zip from sdcard?
Sent from my Legend using XDA App

[Q] Google Now always says "Location Service is off."

Hi guys.
I've flashed PURE Android image on Nexus 4.
The image is that I've built from AOSP. (branch: android-4.2.2_r1.2)
And I've flashed CWM recovery and install GAPPS. (gapps-jb-20130301-signed.zip from goo.im/gapps)
Everything is OK.
But I have some problems about the Network Location.
Google Now always says "Location Service is off."
And 3rd-party maps cannot find my location.
I checked the following.
Settings > Location access
- Access to my location is ON
- GPS satellites is CHECKED
- Wi-Fi & mobile network location is CHECKED
Settings > Accounts (Google)
- Maps & Latitude > All items are CHECKED
- Location > Let Google apps access your location is ON
I attach Log.
W/LocationProviderProxy(526): com.google.android.location resolves service com.android.location.service.v2.NetworkLocationProvider, but has wrong signature, ignoring
W/LocationManagerService(526): no network location provider found
W/GeocoderProxy(526): com.google.android.location resolves service com.android.location.service.GeocodeProvider, but has wrong signature, ignoring
How can I fix it ?
Thank you
Hi,
Apply the following patch in frameworks/base:
diff --git a/core/res/res/values/config.xml b/core/res/res/values/config.xml
index cb7804c..9b91387 100755
--- a/core/res/res/values/config.xml
+++ b/core/res/res/values/config.xml
@@ -645,7 +645,8 @@
-->
<string-array name="config_locationProviderPackageNames" translatable="false">
<!-- The standard AOSP fused location provider -->
- <item>com.android.location.fused</item>
+ <item>com.android.location.fused</item>
+ <item>com.google.android.location</item>
</string-array>
<!-- Boolean indicating if current platform supports bluetooth SCO for off call
This will allow the framework to use NetworkLocation.apk from gapps as well as the AOSP FusedLocation.apk.
medialaxis said:
Hi guys.
I've flashed PURE Android image on Nexus 4.
The image is that I've built from AOSP. (branch: android-4.2.2_r1.2)
And I've flashed CWM recovery and install GAPPS. (gapps-jb-20130301-signed.zip from goo.im/gapps)
Everything is OK.
But I have some problems about the Network Location.
Google Now always says "Location Service is off."
And 3rd-party maps cannot find my location.
I checked the following.
Settings > Location access
- Access to my location is ON
- GPS satellites is CHECKED
- Wi-Fi & mobile network location is CHECKED
Settings > Accounts (Google)
- Maps & Latitude > All items are CHECKED
- Location > Let Google apps access your location is ON
I attach Log.
W/LocationProviderProxy(526): com.google.android.location resolves service com.android.location.service.v2.NetworkLocationProvider, but has wrong signature, ignoring
W/LocationManagerService(526): no network location provider found
W/GeocoderProxy(526): com.google.android.location resolves service com.android.location.service.GeocodeProvider, but has wrong signature, ignoring
How can I fix it ?
Thank you
Click to expand...
Click to collapse
Sorry for the late reply.
It's perfect on android 4.3
Thank you!!!
Sent from my AOSP on Mako using Tapatalk 2
medialaxis said:
Sorry for the late reply.
It's perfect on android 4.3
Thank you!!!
Sent from my AOSP on Mako using Tapatalk 2
Click to expand...
Click to collapse
Can you describe the procedure to patch frameworks/base? Also will it work on a nexus s with the same problem?
antipasti said:
Can you describe the procedure to patch frameworks/base? Also will it work on a nexus s with the same problem?
Click to expand...
Click to collapse
1.
you can just modify config.xml using your editor directly.
and rebuild, flash, check whether it is working
2.
i don't have nexus s.
but i believe it will work.
good luck
medialaxis said:
1.
you can just modify config.xml using your editor directly.
and rebuild, flash, check whether it is working
2.
i don't have nexus s.
but i believe it will work.
good luck
Click to expand...
Click to collapse
Hi, I can't seem to find that config.xml file. Where is it? After editing it, should I flash the ROM and gapps again?
Thanks, i'm new to that stuff
filipeglfw said:
Hi, I can't seem to find that config.xml file. Where is it? After editing it, should I flash the ROM and gapps again?
Thanks, i'm new to that stuff
Click to expand...
Click to collapse
1. you can find here. $AOSP_PROJECT/frameworks/base/core/res/res/values/config.xml
2. i think you don't need to do. just update system image. but i don't know exactly... sorry

[Q] S4 i9505 CM10.1 - wifi won't turn on, has no MAC

Hello,
To start off, I have a USCellular S4 w/ CM10.1, currently the 7/9 nightly. I am running baseband version R970VXUAMDL and have not modified the kernel.
I am unable to enable WiFi at all on CM10.1 and haven't been able to since initially flashing CM10.1.
Under the Settings menu, I am unable to enable WiFi - it's greyed out.
Under the WiFi menu, I can enable the toggle but it does nothing.
Under the Advanced menu, MAC address shows 'unavailable' and the Wi-Fi region code is set to 'Europe' and will not remember changes.
sylvisj said:
Hello,
To start off, I have a USCellular S4 w/ CM10.1, currently the 7/9 nightly. I am running baseband version R970VXUAMDL and have not modified the kernel.
I am unable to enable WiFi at all on CM10.1 and haven't been able to since initially flashing CM10.1.
Under the Settings menu, I am unable to enable WiFi - it's greyed out.
Under the WiFi menu, I can enable the toggle but it does nothing.
Under the Advanced menu, MAC address shows 'unavailable' and the Wi-Fi region code is set to 'Europe' and will not remember changes.
Click to expand...
Click to collapse
Have you tried removing the .cid.info file ?
Using a terminal app type the following:
Code:
su
rm /data/.cid.info
On some ROM's have have to do this after every time I have rebooted the phone, not quite sure why but it works for me.
TrallaP said:
Have you tried removing the .cid.info file ?
Using a terminal app type the following:
Code:
su
rm /data/.cid.info
On some ROM's have have to do this after every time I have rebooted the phone, not quite sure why but it works for me.
Click to expand...
Click to collapse
Hello,
Thanks for the suggestion. I fired up Terminal Emulator, su'd, and it doesn't look like there is a .cid.info in /data/. There is a .psm.info, though, and .npswifi_stream - I don't know if they're related at all.
sylvisj said:
Hello,
Thanks for the suggestion. I fired up Terminal Emulator, su'd, and it doesn't look like there is a .cid.info in /data/. There is a .psm.info, though, and .npswifi_stream - I don't know if they're related at all.
Click to expand...
Click to collapse
Here's the 'ls -a' output for /data:
Code:
[email protected]:/data # ls -a
.container_1
.container_2
.container_3
.layout_version
.mtp_stream
.npswifi_stream
.pcsync_stream
.psm.info
.socket_stream
.ssh
anr
app
app-asec
app-lib
app-private
audio
backup
bcmnfc
bluetooth
cam_socket0
cam_socket1
container
dalvik-cache
data
dontpanic
drm
fota
hostapd
local
log
lost+found
media
misc
nfc
property
qcks
radio
resource-cache
security
shared
ssh
system
time
tombstones
user
wiper
wpstiles
Bump.
I have the same problem......
ninne1 said:
I have the same problem......
Click to expand...
Click to collapse
Bump again.
i think it's missing IMEI and EFS. Try this http://forum.xda-developers.com/showthread.php?t=1264021
r47z said:
i think it's missing IMEI and EFS. Try this http://forum.xda-developers.com/showthread.php?t=1264021
Click to expand...
Click to collapse
I dunno about EFS, but I know the IMEI is already correct - *#06* is showing the same IMEI as the label on the back of my phone.
My phone is work well after flashing CM, but no WIFI.
No /data/.cid.info file!
*#06# - show IMEI.
Did we ever get to the bottom of this?
Im having exactly the same problem, so bump. Its been like that for 6 months, my workaround so far was getting a bigger data subscribtion since 4g is working fine
sylvisj said:
Hello,
To start off, I have a USCellular S4 w/ CM10.1, currently the 7/9 nightly. I am running baseband version R970VXUAMDL and have not modified the kernel.
I am unable to enable WiFi at all on CM10.1 and haven't been able to since initially flashing CM10.1.
Under the Settings menu, I am unable to enable WiFi - it's greyed out.
Under the WiFi menu, I can enable the toggle but it does nothing.
Under the Advanced menu, MAC address shows 'unavailable' and the Wi-Fi region code is set to 'Europe' and will not remember changes.
Click to expand...
Click to collapse
Hi sylvis,
I realize that this is an old post. However. perhaps this thread will help someone else:
I flashed a Samsung Galaxy S4 (T-mobile SGH-M919) to CyanogenMod (CM11) this weekend. It worked ok for a couple days. The owner then said that they can't get any WI-FI. I found your post here and read with optimism that I might be able to fix this problem. Our problem was exactly "word for word" the same problem as you described in your original post. (Well almost exactly; we couldn't get "USA" to stick as the region code)
Before flashing the phone, I did install Philz ClockworkMod and did do a backup of the OEM ROM before flashing to CM11. That said, I found that I did not have to go down the road of restoring a missing IMEI file (as other threaders here describe). Here's what worked for me:
I dialed *#06# on the phone to see if there was an IMEI number present, and there was. I wrote down that number. So I decide to see if that number matched the printed number on the phone, that we can find under the battery.
Before I do a power off of the phone, I recall that I had turned OFF both Bluetooth and Mobile Networks. WI-FI was still turned ON, but in it's non-functional "greyed out" state like you and I both experienced.
Now I power off the phone, take off the back cover, and take out the battery to have a look at the printed IMEI number. Yes, it does march the number that I saw via *#06#.
I had to get up to do something, then returned a couple minutes later. I popped in the battery and restarted the phone. To my utter surprise, WI-FI was back up! In "Advanced" I now see the MAC address and the region is locked on USA
I turn on Mobile Networks, and WI-FI's still working. Being the fool that I am, I have to test this further. So I power off the phone again and just let it sit there for a couple minutes. I power back on and there is still JOY. Problem resolved and happy customer.
In closing: I don't think that the removal and reinsertion of the battery was the total solution, because the owner had already tried that. However, the owner did not let the phone sit with the battery removed for very long. They just popped it out, waited a couple seconds, then popped it back in. I think the total solution was having WI-FI enabled, Bluetooth and Mobile disabled, then doing a power off, with an extended wait time before reinserting the battery.
Hope that helps.
Regards,
Brcobrem

[Q] G900F HOSTS FILE is normal but couldn't add a Google account

Hi,
Dear All,
Ok, the problem is very famous i.e. i factory reset my device and when powered one like a fresh piece, i cannot add google account on my G900F (can't establish a reliable connection to the server).
i have searched a lot over the internet. Read about the HOSTS files description as well. All i found was the modification of the "etc/hosts" with the clients.google.... following "#" so that 127.0.0.1 localhost is only the operational entity.
My device is un-rooted and just for the confirmation of the above mentioned, i opened the hosts file via HTML Viewer (just readonly) and found that the etc/hosts file on my S5 has 127.0.0.1 localhost only and no any other information, which i think should be available for your device to work normal and google accounts can be added. See attached screenshot.
Need your kind help in resolving my issue please.
Try clearing caches from recovery
Still same issue...
Might be worth factory resetting again
How did you access the HOSTS files without being rooted?
did the factory reset 3 times but nothing, issue stands unresolved.
i opened the HOSTS file through RARLAB. Actually it allows you to view the root folder and all of its contents even if your phone is un-rooted.
Could try removing the device from Google Play
https://support.google.com/googleplay/answer/2407656?hl=en-GB
Create a new Google account as a test to see if the issue is the phone or the account
If that doesn't help, Id flash a stock ROM through ODIN, this will NOT trip KNOX if you are still 0x0
Are you sure all your data connections are working properly, WiFi/3/4G ?
*Detection* said:
Could try removing the device from Google Play
https://support.google.com/googleplay/answer/2407656?hl=en-GB
Create a new Google account as a test to see if the issue is the phone or the account
If that doesn't help, Id flash a stock ROM through ODIN, this will NOT trip KNOX if you are still 0x0
Are you sure all your data connections are working properly, WiFi/3/4G ?
Click to expand...
Click to collapse
ok here are some interesting occurrences:
Worth mentioning that i was operating over Wi-Fi.
1) - i flashed a stock Kitkat ANG2 ROM via odin and the problem still persists.
2) - Then i flashed stock Lollipop BOB7 and still the same.
3) - Then i created a new account via the first sign in page on the phone (after flashing the new ROM), and i was able make a new account(through my phone) but still it was unable to login on the phone.
4) - Then i installed a Proxy/VPN betternet and then i was able add an account successfully and also Play store is working fine.
5) - Means there is some issue with my wi-fi adapter routing (may be inside the phone or the carrier) etc.
6) - Then i switched off the wi-fi and enabled LTE (of my SIM card provider) and connected my phone through it, say what! its working fine.
7) - again i tried over the wi-fi and the issue started to happen again
Well, one important thing, i am using wi-fi which is also a LTE carrier (having the google issues) and the second LTE (which worked fine) is by the SIM card operator.
So , is there any problem with my wi-fi (inside the phone) or may be with the operator from which i am getting my services??
its quite confusing at the moment. well i am going to try the whole thing over the Wi-Fi of another operator and will feedback the results.
Mean while any suggestions ??
Reboot the router you are connected to WiFi from?
Doesn't sound like the phones fault, unless you have a proxy enabled in WiFI settings or something, sounds like the issue is with your ISP/Router

Categories

Resources