GPS don't work - Galaxy S Advance I9070 Q&A, Help & Troubleshooting

hi,
GPS does not work on my I9070, when activated gps, not even the icon appears on the top bar.
Using the CW 10.2 to about 8 months, I have never used the GPS and then I never realized until now that did not work.
Today I put the CW 11 but the problem persists, it looks like a driver issue.
Can you help?

gabar82 said:
hi,
GPS does not work on my I9070, when activated gps, not even the icon appears on the top bar.
Using the CW 10.2 to about 8 months, I have never used the GPS and then I never realized until now that did not work.
Today I put the CW 11 but the problem persists, it looks like a driver issue.
Can you help?
Click to expand...
Click to collapse
Go back to stock and see if it works there. I was using GPS on CM11.

shut_down said:
Go back to stock and see if it works there. I was using GPS on CM11.
Click to expand...
Click to collapse
with the original version of the GPS worked
I had similar problems with the data connection, I had to flash the modem drivers after the cyano past.

Speeding up GPS/AGPS
One of the main reasons to root an Android phone is to speed up the GPS lock. This happens by changing some text in a file called gps.conf in /etc/ or /system/etc/.
1. Get a file explorer with root support (root explorer, ES file explorer is good too). You'll have to replace your gps.conf with a new, tweaked one.
2. Go "app.box.com/s/w57s1v1n3hie7l5lk28i", pick your country, and download the file inside the folder. If you didn't find your country, pick the country that is the closest to yours.
3. Put it on your sdcard.
4. Open up your root explorer.
5. Copy the file.
6. Go to /system/etc/.
7. Mount system as R/W.
8. Paste the file, and overwrite it with the old one.
9. Now change it's permissions to rw-r--r-- by holding on it, and clicking permissions. Change both owners to 0-root.
The main purpose of the test is to make Android learn the new gps.conf file. This happens by using an app that controls GPS and AGPS.
1. Download GPS test from Google Play Store, and install it.
2. Open it, go to menu-settings, and press clear AGPS (OPTIONAL: reboot).
3. After clearing AGPS, and while connected to the internet, press Update GPS.
4. You'll get a GPS lock in about 5 seconds
5. Leave the GPS locked for about 10 minutes for Android to learn how it works. This method will get you a lock in 5-15 seconds with or without internet connection.

I am on CM10.1 and GPS works ( even somewhat better than it did on stock 4.1.2).
When I install a new application, Privacy Guard blocks by default GPS access for it.
Don't know if this a default setting or not, but this could be your problem.
Check your Privacy Guard settings...

Related

GPS Fix for Shadowmod b6

Ok before we get started i must told you im no Pro so if it doesnt work dont kill me
I've installed the shadowmod b6 gingerbread 2.3 on my milestone.
Everything works great except one thing, GPS.
After many tries i came to a solution.
First off all my way isnt easy so i try to explain with my words.
1.Download GAPPS, im new so i cant post links find it in google,
gapps-gb-20110503-signed.zip
2.This is the easy way, open the zip with winrar or something else, than go to system (gapps-gb-20110503-signed.zip\system) there is a folder called app,
delete this folder without extracting the archive. (in winrar mark the folder and press DEL)
(we do so because I have updated the hole gapps with the app folder, after that my market wont work anymore, so i have to find any app in gapp and replace them with the original shadowmod app)
3.To update the zip file you need open recovery (my way), put the zip file into the openrecovery updates folder on your sd card and than simply start your phone into recovery mod (hold down camery button and power for 5 seconds release them and slide your keyboard to navigate, use openrecovery and go to apply update, now apply the gapps.zip and reboot).
4. After that im able to activate the gps (without 3g or any data connection) and after a few seconds i have a signal.
5. Now the bad news, shadowmod b6 is well done and the memory fix worked better than in b3. but after this gapps update it seems that the memory tweaks are replaced, my phone now begans to lack when im running out of memory, it hangs up in apps and at the screen ect, i must push the power button once wait the time the phone needs to turn off the display, turn it on and it worked again. (this was happened many times in b3 and after update to b6 it never happened again, now its back xD)
But this is not a big problem for me.
Automatic Display turn off after 15 seconds
so if it hangs up i press the off button wait 15 seconds turn the display on and everything is working again, sometimes over 2 days.
How this can be fixed dont ask me i dont know it.
Greetings from Germany hope it will solve many GPS Problems ^^

[SOLVED] GPS problems after GB update

Got GPS problem after the update with my LG o2x.
It cant seem to find any sats. Done everything thats been said on other threads nothing helps.
Any one with the same problem ?
Me 2. I get fix for about 2 sec. Then its stuck afterwards.
I don't even get a lock
Try clearing AGPS data with GPS Status
doesn't help. Can people please post their settings in hidden menu. All of them please
http://forum.xda-developers.com/showpost.php?p=19002334&postcount=41
some people said it work some said not work so try as your choice.
do you disable gps if you don't use it?
in official froyo and officeal gingerbread (v20l)
gps need to be enable on boot if you want good signal , otherwise you will always lose it
so try this
enable gps
reboot phone
turn on mobile data ( no wifi !)
open your gps app
I got my first fix in about 30 secs (cold start)
second on in 5 sec
Same problem as some of us had with previous leaked GB roms. Topogigi fixed the problem by tweaking service.jar file, that's the only thing I know. He talked about way of calling hardware that was wrong and explained that after a lock the GPS vanished..
You should search in Topogigi thread, there is a workaround in the beginning pages that could work (setting a new server in hidden menu).
That's why I'll stay with my ROM for now... It is perfectly working.
+1 from me, davjan. Seems to work for me. Thanks.
+1 here! Thanks for your trick davjan,works!
Sent from my LG-P990 using XDA App
+ Working for me !!!
file is allot bigger so whats the difference with stock v20L ?
thanks anyway !!
k101d said:
http://forum.xda-developers.com/showpost.php?p=19002334&postcount=41
some people said it work some said not work so try as your choice.
Click to expand...
Click to collapse
This works for me thanks a lot!
send from galaxy 3
davjan said:
do you disable gps if you don't use it?
in official froyo and officeal gingerbread (v20l)
gps need to be enable on boot if you want good signal , otherwise you will always lose it
so try this
enable gps
reboot phone
turn on mobile data ( no wifi !)
open your gps app
I got my first fix in about 30 secs (cold start)
second on in 5 sec
Click to expand...
Click to collapse
This worked for me!, however the srs level for each sat is not greater then 40 for some reason :S
I'm also experiencing this: as soon as the GPS gets a fix, the gps device itself seams to disappear. The Nav-app does get a valid location for one second and then the gps icon disappears.
This problem was not present in 10D and it does seem to happen when I activate the GPS later. If I boot with GPS enabled, the problem doesn't seem to occur.
Can this be fixed with the custom Jar file from Topogigi? Or is that for a different problem (no fix at all or something else - I do get a fix quickly but the GPS device seems to disappear then).
If so, how can I install it on my stock 20L? Some post talks about mounting a folder. How can I do that? I guess I need to root first and then use some kind of program on my pc or....?
I'm sorry if this has been covered before but I'm new to all this and there is so much information and a lot is hard to understand if you're new to this.
k101d said:
http://forum.xda-developers.com/showpost.php?p=19002334&postcount=41
some people said it work some said not work so try as your choice.
Click to expand...
Click to collapse
This got me into a bootloop...
Have you tried using the nokia servers, that cured my problem not getting a lock with froyo.
Sent from my LG-P990 using Tapatalk
Dkzs said:
This got me into a bootloop...
Click to expand...
Click to collapse
Let me gues..you deleted the services.jar and put the downloaded ZIP file in the framework folder without unpacking/renaming the file to services.jar ??
These are basic things to check but this could better be mentioned in the thread...
KillerbeeNL said:
Let me gues..you deleted the services.jar and put the downloaded ZIP file in the framework folder without unpacking/renaming the file to services.jar ??
These are basic things to check but this could better be mentioned in the thread...
Click to expand...
Click to collapse
Actually no. I copy/paste the unziped jar file using esfile explorer. Got a message files were merged. Then bootloop.
Tried with the help of thansen to recover the file via clockwokmod but that didnt work aswell. So I reflashed the v20l kdz and rerooted.
Sent from my LG-P990 using XDA App
Dkzs said:
Actually no. I copy/paste the unziped jar file using esfile explorer. Got a message files were merged. Then bootloop.
Tried with the help of thansen to recover the file via clockwokmod but that didnt work aswell. So I reflashed the v20l kdz and rerooted.
Sent from my LG-P990 using XDA App
Click to expand...
Click to collapse
To bad, i did exacly the same only i used rootexplorer
Dkzs said:
Actually no. I copy/paste the unziped jar file using esfile explorer. Got a message files were merged. Then bootloop.
Tried with the help of thansen to recover the file via clockwokmod but that didnt work aswell. So I reflashed the v20l kdz and rerooted.
Sent from my LG-P990 using XDA App
Click to expand...
Click to collapse
Just simplify set /system/framework folder into RW mode then delete the old one and then copy the file that extract from zip file into /system/framework then change file permission to 644 (rw-r--r--) --> reboot OR
Here the method from origin
1- Just mount your "/system/framework" folder writeable.
2- Then overwrite the existing "services.jar" with the attached one.
3- Reboot your phone and your gps will get its fix in only some seconds.

Wiimote Support!

So I somewhat got Wiiremote support on the Vivid. I extracted the Bluetooth.apk from a Cyanogenmod rom.
1.) you need to have a odexed rom (I used rumraider b3)
2.) install the attached file by putting it in /System/app (i put it on my sd card and used root explorer)
3.) install Bluez IME and the HID addon (google it )
4.) follow the IME's instuctions and select Wiimote (HID) for the device.
known problems:
lights continue to blink, it's connected and won't turn off but the lights blink instead of show the 1
use at your own risk, this worked for me, no one else has tested it. Let me know how it works for you
Sry if this is off topic ,will this work for ps3axis controller
Sent from my HTC PH39100 using Tapatalk
i'm not sure you can try? i don't see why it wouldn't.
The HTC Sense bluetooth apk is the "roadblock" for pairing the remotes. swapping it out should solve problems for all the pairing problems.
You know, I never would have thought of trying this on my own. I've got a bluetooth device that won't sync properly with anything stock on the vivid but I had GB ROM that I think used the telstra bluetooth stack that worked perfectly. Since going to ICS it had stopped working again but after reading this post I decided to pull the Bluetooth.apk off that old ROM and it works perfectly again.
Thanks for the tip.
Is this possible on the new stock ATT ICS rom? How can I backup or get the original installer for bluetooth on this rom? Thank you.
Rictamilk said:
Is this possible on the new stock ATT ICS rom? How can I backup or get the original installer for bluetooth on this rom? Thank you.
Click to expand...
Click to collapse
You can use a file browsing app like Root Explorer.
The Bluetooth.apk will be in system/apps. Mount system to R/W
move the original file to your sdcard somewhere.
And take the one posted in op's post up above.
And paste and install it in system/apps.
You need root permissions to do this though. Good luck.
Sent from my HTC Vivid.
haggardh said:
You can use a file browsing app like Root Explorer.
The Bluetooth.apk will be in system/apps. Mount system to R/W
move the original file to your sdcard somewhere.
And take the one posted in op's post up above.
And paste and install it in system/apps.
You need root permissions to do this though. Good luck.
Sent from my HTC Vivid.
Click to expand...
Click to collapse
It looked like I was able to just open the apk file posted and install it. Do you think this is possible? I didn't want to screw up my phone if I didn't have the original to replace it. Thanks.
Rictamilk said:
It looked like I was able to just open the apk file posted and install it. Do you think this is possible? I didn't want to screw up my phone if I didn't have the original to replace it. Thanks.
Click to expand...
Click to collapse
it has to be put in the system apps folder because that's where the phone looks for the bluetooth support. also it needs some elevated permissions and isn't made to comply with superuser.
you can make a backup just in case
Had it sync fine the first time I tried it, and then my dad called and my screen off profile was too low so my phone restarted lol. Now I can't get it to sync again! When I Activate Bluetooth with Bluez IME selected I get a "pairing request," and if I choose it from the notification menu it says to enter a PIN on the phone and device (which I can't because you can't enter a PIN on the wiimote, plus the IME isn't touch input anymore).
My steps:
Activate Bluetooth
Scan for devices - Nintendo RVL-CNT-01
Select Device Driver - Wiimote (HID)
Select IME - Bluez IME
Anddd the wiimote just times out. Any insight?
try uninstalling the apk that you installed via installer (not dropping in system/app) if you haven't already
then maybe try reinstalling bluez IME?
i wish i could be more help!
Keep getting a "Disconnected: Software Interference" Are there limitations on a per-app basis as far as functionality is concerned?

[GPS] T959 4.2 JB GPS Reset / Fix [GPS]

Looking around in various threads I found numerous gps fixes. In some (most) the files are not original T959 files. While they may work, since they are not T959 KB5 files the possibility of 911 working diminishes. I set out to find any gps fix out there and build a flash-able package that would reset everything back to the proper (or as close to) files for our phones (T959).
Also I have found some ROMs utilized the SUPL port of 7276. This port was found to create gps log-spam and the "fix" was to reset the port to 7275. This IMO also resulted in quicker locks.
See HERE and HERE for more info.
For the 911 info go HERE (or just click it in FaultException's signature)
What this tells me is you want matched GPS libraries with the proper T959 RIL.
So I have searched a few threads and found 1 GPS fix so far and built mine to reset or undo any possible mismatched files flashed. If you find any GPS fix that some might use for CM10.1 please post it an I shall try to adapt mine to reset it to the proper files.
I have made:
North American version (NA)
Europe Version (EU)
Global Version (GL)
USA Version (US)
Asia Version (AS)
YMMV between USA and North America if you live in the states.
2nd post I will also post my custom version with some extra advice and good signal locks. What I need is for people to nanadroid first and test it. Also to post / link and GPS fixes they may have come across so I can check them. Point to note is I am attempting to fix non T959 GPS fixes as much as make a good GPS fix for our phones. Posting links to other "fixes" will help. Thanks
With any JB / ICS ROM you have taken the responsibility of possible breaking 911. No difference here. Flash at own risk.
NANDROID FIRST!!!
Big thanks to FaultException for the time, info, and files required for our phones.
Original version may mute calls > Revert to nanadroid if the case. V2 shouldn't effect calls. Please test.
Checking original Froyo gps files here is the the MD5's Ive found so far:
JFD (558kb)
0F3376A81E85AE6044D2BF68D63E2A55
JI6 (554kb)
4761E7B01E0A71A048458F50DE64BC62
KB1 (554kb)
870A5D6F3542FD7421B215FCB37D884C
KB5 (554kb)
870A5D6F3542FD7421B215FCB37D884C
(KB5 is what is in CM10.1 also)
Ok here is the file for my custom GPS setup. I have not had and deep-sleep issues (DS). Some of the following may work, or not. Its just some tips and stuff I do.
Zip file attached. NTP is set to north america so you can edit as needed.
This will also install Angrygps app for you. When you boot up open the app and set the following:
Settings > General Settings > Operation Mode = "MSBASED"
Settings > SUPL Settings > Server = supl.sonyericsson.com and PORT = 7275
Also I suggest you install an app called LeoAGPS injector. Found HERE
Install it like any normal app (no push), open the app and select "Pop-up message". After that go to your home screen and app the LeoAGPS widget. Click the widget to inject AGPS data. Wait a few seconds then reboot.
Try out the GPS and see how it goes.
Version 1 broke sound on the RemICS ROMs so I pulled the RIL files out. Now just custom gps files / fixes
Change log:
Added a USA version. May or may not work better than the North America version.
1/10/2013 - Since it appears the version 1 broke phone sound on the RemICS builds I removed the RIL files. Now v2 will only fix / replace gps files and not RIL files.
1/18/2014 - Added some MD5's of gpsd/agpsd files Ive extracted from Samsung dumps.
GPS fixes reset:
http://forum.xda-developers.com/showpost.php?p=33575684&postcount=504
If you want to try and adapt it to your specific country:
Open in a text editor: /system/etc/gps.conf
Change the NTP server line (top line) to your country. Country list found HERE
Edit / reboot / check
I do suggest the LeoAGPS app in post #2. It has seemed to work well for me.
Moped_Ryder said:
Ok here is the file for my custom GPS setup. I have not had and deep-sleep issues (DS). Some of the following may work, or not. Its just some tips and stuff I do.
Click to expand...
Click to collapse
Thanks for this awesome post! I know I'm suppose to test these files before asking but you might already have the answer: with these fixes, in your experience, do you still need to get a lock before DS in order to prevent issues after DS? Or after you reboot and getting into DS before locking first, you are able to get GPS to lock after DS?
Thanks for all your help!
davidgs said:
Thanks for this awesome post! I know I'm suppose to test these files before asking but you might already have the answer: with these fixes, in your experience, do you still need to get a lock before DS in order to prevent issues after DS? Or after you reboot and getting into DS before locking first, you are able to get GPS to lock after DS?
Thanks for all your help!
Click to expand...
Click to collapse
It was not addressed to me, my 5 cents anyway. I think it's more a kernel issue, at least it was so on ICS until the great SubZero came into play. You should try his GPS-wrapper, I think it could help (preventing the GPSD getting incidentally corrupted) - find the flashable zip in the "3 files fix" post of Jrafael (see post No 3 above).
I am also very interested in getting our Vibrant's GPS as much functional as it can be. My own "fix" (check for Igps.zip) was giving me best results for accuracy (down to 3 m!) on some ROMs (JB 4.1 and 4.1.2, but not 4.2.1). I found out that there are many useless files (such as gps.xml or secgps.conf), and that GPS will still lock and pretty quickly even without gps.conf tweaks (and even without this file). However I don't have coding skills to organize my empirical findings.
@ MR - where did you get your RIL files from, with the Europe fix file I have no sound on phone call (I use instead the MP's RIL files, working fine for me).
Got the RIL from KB5 / CM10.1 - same boat here about sound. Gonna pull the downloads and check on it. If anything Ill re-up without the RIL and just GPS files and try again. Im getting what looks to by Bluetooth errors when trying to connect. Even when BT is turned off with the RemICS ROMs.
Whenever able CM10.1 use the Froyo KB5 RIL / Drivers and such. Some times it just doesn't work. The RIL and AGPS files from Froyo KB5 match the CM10.1 ROMS.
Testing my original fixes - the following so far are the outcomes:
RemICS-JB: Breaks sound. Version 1 RIL and GPS doesnt match CM10.1 / KB5.
Slimbean: No issues - Sound works fine. Confirmed the base RIL / AGPS files in ROM match CM10.1
HellyBean: No issues - Sound works fine. Confirmed the base RIL / AGPS files in ROM match CM10.1
CM10.1: No issues - Sound works fine. Confirmed the base RIL / AGPS files in ROM match CM10.1
FIRST
I will apologize to those who flash the original version on RemICS ROMs. It broke your call sound. Return to your nandroid and all should be well. For those on Slim / Helly / CM10.1 you are fine.
The RemICS ROM is very smooth but the RIL / GPS files don't match the Samsung T959 KB5 (also in CM10.1) files. Replacing 3 of the RIL files with the proper KB5 ones broke the sound. Ill keep at it.
For now - Version2 no longer replaces and RIL files. All the above GPS fixes will replace gps files / remove un-needed gps files.
First I want to thanks Mr. Moped for jb GPS fix great job.I am using remics jb 4.2 and moped GPS files NA-Version 2 it works good, I lost signal than it reconnect so that issue is fixed in Version 2 and sound is working also thanks .
Sent from my SGH-T959 using xda app-developers app
Gps works good sound also ,only sound is bad when I put on speaker when i am on phone call to much noise . we used to control mic from in call volume control feature in advance setting and now we are missing that feature in 4.2.
Sent from my SGH-T959 using xda app-developers app
Moped_Ryder, I just flashed 4.2.1 and flashed your USA version GPS fix after flashing GAPPs. I'm coming from 4.1.2, and only got locks down to 30m intermittently. The norm was 800 m accuracy (vik5 responded to some of my posts). More importantly, thank you for doing this post (clicked the Thanks) and appreciate you explaining the reasoning behind your updates as well.
*Update* First lock in GPS Checker occurred after 31s with 8 "fixed satellites". Marked improvement over GPS performance on Team RemICS 4.1.2 (highest I ever got was 3 satellites, lock took 242 s). Thanks Moped!!
Cap'nO said:
Moped_Ryder, I just flashed 4.2.1 and flashed your USA version GPS fix after flashing GAPPs. I'm coming from 4.1.2, and only got locks down to 30m intermittently. The norm was 800 m accuracy (vik5 responded to some of my posts). More importantly, thank you for doing this post (clicked the Thanks) and appreciate you explaining the reasoning behind your updates as well.
*Update* First lock in GPS Checker occurred after 31s with 8 "fixed satellites". Marked improvement over GPS performance on Team RemICS 4.1.2 (highest I ever got was 3 satellites, lock took 242 s). Thanks Moped!!
Click to expand...
Click to collapse
Do me a favor if you have time. Do a Nandroid and try my Custom fix in post #2 (to include AngryGPS settings). Also combine that with the LeoGPS I linked as well.
See if that works any better for you. Revet back to your Nandroid after if you wish.
Moped_Ryder said:
Do me a favor if you have time. Do a Nandroid and try my Custom fix in post #2 (to include AngryGPS settings). Also combine that with the LeoGPS I linked as well.
See if that works any better for you. Revet back to your Nandroid after if you wish.
Click to expand...
Click to collapse
Will do
Sent from my SGH-T959 using xda app-developers app
Moped_Ryder said:
If you want to try and adapt it to your specific country:
Open in a text editor: /system/etc/gps.conf
Change the NTP server line (top line) to your country. Country list found HERE
Edit / reboot / check
I do suggest the LeoAGPS app in post #2. It has seemed to work well for me.
Click to expand...
Click to collapse
Hi, I tried to edit gps.conf file as mentioned. But whether I changed the supl_port to 7275 it remains 7276 it asks me to save the changes but doesnt save
Probably /system is not set for read/write.
Ill make ya a Flashable zip tonight if you give me the country you want from that list.
Moped_Ryder said:
Probably /system is not set for read/write.
Ill make ya a Flashable zip tonight if you give me the country you want from that list.
Click to expand...
Click to collapse
I don't suppose I could request a flashable zip for New Zealand (Oceania) gps settings?
I flashed from 2.3 to Cyanogen 10 then 10.1 and now have no gps when I did initially have it working in 2.3
Moped_Ryder said:
Probably /system is not set for read/write.
Ill make ya a Flashable zip tonight if you give me the country you want from that list.
Click to expand...
Click to collapse
Hi,
Thanx for the reply Moped I am using root explorer and set the r/o to r/w and opened the conf file in text editor.. I can edit the file but changes wont stick
I am living in sri lanka which comes under Asia — asia.pool.ntp.org Sri Lanka — lk.pool.ntp.org
Thank you again.
EDIT: I edited the gps.conf file using the es explorer (with root access enabled). there is a new file created inside root explorer gps.conf.bak and theres nothing inside gps.conf file (inside root explorer).
BUT gps.conf file (inside es explorer) has the changes I made. I rebooted but still the same
EDIT (update): Set the permission READ for all USER, GROUP, OTHERS and voila gps.conf file has the changes
Hope these info will help anyone having this issue
I can take care of it tonight.
If anyone wants to do it themselves its not hard.
1. Download and install a program called 7zip
2.. Download any of my GPS fixes
3. Right click on it (GPS fix). Browse thru 7zip to the /system/etc folder and drag the gps.conf file out to desktop (or somewhere).
4. Dont close the 7zip yet
5. Open the gps.conf file you just extracted and edit the NTP line to suit your needs. Save it.
6. With the archive still open in 7zip drag the edited gps.conf file into the /system/etc folder in 7zip. Overright old file.
7. Close zip. Its ready to transfer to your phone and flash it.
...You may be abnle to edit the gps.conf file right from 7zip (cant test Im at work right now)
I can always help someone with it. Just though peopl would like to try it out themselves too.
Moped_Ryder said:
I can take care of it tonight.
If anyone wants to do it themselves its not hard.
1. Download and install a program called 7zip
2.. Download any of my GPS fixes
3. Right click on it (GPS fix). Browse thru 7zip to the /system/etc folder and drag the gps.conf file out to desktop (or somewhere).
4. Dont close the 7zip yet
5. Open the gps.conf file you just extracted and edit the NTP line to suit your needs. Save it.
6. With the archive still open in 7zip drag the edited gps.conf file into the /system/etc folder in 7zip. Overright old file.
7. Close zip. Its ready to transfer to your phone and flash it.
...You may be abnle to edit the gps.conf file right from 7zip (cant test Im at work right now)
I can always help someone with it. Just though peopl would like to try it out themselves too.
Click to expand...
Click to collapse
One can make a custom flashable zip right on his/her phone.
1. Use a file explorer which has archiving function (I have Solid Explorer) and unzip any flashable zip you want to change.
2. Make your changes.
3. Compress to zip again. IMPORTANT: you must ONLY include the content itself and NOT the uppest folder (if your zip has two folders, META-INF and System, first select the two and compress these two in a single archive). Otherwise it won't be cwm flashable.
To change the gps.conf file on the go use Faster GPS (NOT Faster fix) free in Playstore.
Moped...i tried the other zip; No good lock on this one. Flashed Custom zip file and changed settings in Angry GPS as instructed. No lock..no satellite signals. Reverting back to old setup..using your US version, which worked perfect.
Sent from my SGH-T959 using xda app-developers app

Anyone want to test some tweaks? GPS update, Sprint/CDMA, etc.

The first tweak/fix is for a GPS update/change.
Starting with Android 5.0, GPS has been flaky for a lot of people. The device picks up satellites, gets a lock, but then loses the lock. Sometimes it then gets a lock again and holds it, sometimes it just drops it again.
This was not fixed with 5.0.1, 6.0, or 6.0.1. It took Google over a year to even acknowledge it was an issue.
A user suggested a fix in the official bug report thread:
https://code.google.com/p/android/issues/detail?id=81140#c695
They suggest telling the device to not attempt a Mobile Station Based update of GPS information.
This can be done by changing the "CAPABILITIES" value in /system/etc/gps.conf.
I've made a file to automate this. It can be flashed from TWRP.
Nexus_5_GPS_Update_0.1.zip changes /system/etc/gps.conf to not use "MSB" updates.
Nexus_5_GPS_Restore_0.1.zip changes /system/etc/gps.conf back to the default of using "MSB" updates.
-----
The second tweak/fix is for CDMA users. I use my Nexus 5 on FreedomPop (a Sprint MVNO), and on almost every boot I'm greeted with this lovely message:
"Unfortunately, Update Device has stopped."
Its crash message mentions this:
java.lang.IllegalArgumentException: You cannot keep your settings in the secure settings.
From what I've read, moving an app from /system/app to /system/priv-app is supposed to fix this. The two problem files (OmaClient.apk and UpdateSetting.apk) are both located in /system/app, not /system/priv-app.
I figured, "why not move them to priv-app?"
So I've made a file to automate this. It can be flashed from TWRP.
Nexus_5_Sprint_Update_0.1.zip moves the apps from /system/app to /system/priv-app
Nexus_5_Sprint_Restore_0.1.zip moves the apps back from /system/priv-app to /system/app
-----
I tested these on CyanogenMod 13 (May 10th nightly build). There is no binary in the zip, each just contains a script to update the system, so you can easily view them in plain-text. Since both of the issues experienced seem to be impossible to purposely reproduce, I cannot say for sure if these fix the issue.
That's why I wanted to see if the files work or help others.
You can boot to TWRP and flash the zip files there. If you use something like CM Downloader, you can add them as additional zips to flash after any ROM update.
Let me know!
My GPS has been really useless these days. I guess I have to root my phone to try this out..
If I want to do it manually, what do I have to change it to?
ashirviskas said:
If I want to do it manually, what do I have to change it to?
Click to expand...
Click to collapse
Open /system/etc/gps.conf
Change this:
CAPABILITIES=0x33
To this:
CAPABILITIES=0x31

Categories

Resources