yashsingh1/xdaforums huggingface dataset:
[Samsung Infuse 4G] ProtestElOso:
Yeah, the inverted Google Now doesn't seem to work quite right. People have said that it's supposed to look like that, but if you look in the inverted gapps thread you can see it isn't. Also, the Messaging app doesn't appear correct either, as I believe there is supposed to be a black gradient background(like there is in the settings page) behind the message list instead of just solid black. I don't think the inverted gapps are working as flawlessly as people have been suggesting. At least in my experience. I just switched back to regular gapps.
[Samsung Infuse 4G] scott.hart.bti:
Entropy... The following change to the boardconfig file in our device tree: "BOARD_LEGACY_NL80211_STA_EVENTS := True" half fixed tethering. We can now use it if we set it to open. IF we set any security, it will not connect... Looks like something else is missing.... I found a change that pershoot had used... he basically changed the init.aries.rc file a bit to correct tethering.... i tried what he used also and did not make a difference..

Edit: Im sure it doesnt make a difference, but i tried it in the aries-common tree also... just additional info.

Double Edit: And no i havent made any personal changes that would mess anything up.. Ive stuck pretty much on the path that JT has layed... Except little things here and there. I have not added his latest changes though... as far as using the aries-common updater and the no more prebuilt crap for the kernel... For whatever reason when i build with those changes included, when you make a call the screen goes black and stays that way unless you hold your finger over the proximity sensor for a moment and then remove it.
[Samsung Infuse 4G] showdowknigh:
I have been trying to use the GPS for 25 minutes i cant find any Satellite i live in the Philippines is there something i need to edit in the GPS.conf
[Samsung Infuse 4G] jfromh:
There's a Q&A thread for that http://xdaforums.com/showthread.php?t=1797978 :D
[Samsung Infuse 4G] jimlmackjr:
NEe some help

Ok i tried this morning like 3 times

i connected my phone to my computer to DL some files to it and everything i go to UBS mode the phone Reboots

im not sure how i need to get it to USB mode

and my GPS locks but it not where i am at any info to correct this
[Samsung Infuse 4G] PoXFreak:
FYI, it had nothing to do with social media and everything to do with an app using battery in a strange way.

I simply stated that in my over 2 years of using G+, I had never seen it do what it did, which was run overnight restoring contacts and pics.

Today its been great, got 1/2 hour of use this morning and only used 8% of battery, all with normal settings.
[Samsung Infuse 4G] wdouglass:
Same thing happened to me as soon as i switched to CM10 and installed G+. maybe it's just a jellybean thing? G+ seems to more tightly integrate with everything these days. It's been working great since.
[Samsung Infuse 4G] PoXFreak:
Same here, not one problem since install (back on 8/11) except for some GPS issues which I fixed with the gps.conf file swap.

The guys at CM just keep pumping them out, getting new builds out almost daily.
[Samsung Infuse 4G] scott.hart.bti:
I would look into the apps u have installed as no one else has reported the issue with USB causing reboots every time they connect and its working as it should.... or... make sure u completely wipe and reflash... follow instructions in op. As for GPS.... well... do a search... its been discussed a lot.
[Samsung Infuse 4G] Goneeuro:
Just a quick update with the gps.config file that was uploaded. I am testing it in germany. It has been sitting where i had almost instant lock on GB. With the new config file I can see one sat (number 16) with a SNR of about 20. It has been sitting there untouched from a fresh restart for 30 minutes. With the original file I was hopping around between 1 and 11 sats and everything in between. No locks though. Thats why i switched to the new file. I am gonna switch back and see if anything changes.

One quick question. Should i be changing any other settings while testing this.
[Samsung Infuse 4G] scott.hart.bti:
Nothing else should NEED to be changed, but that doesnt mean that playing around with the settings is something you shouldnt consider. Your not going to break anything... Try to get a lock by checking the internal option for GPS source... If it is already checked, uncheck it and try. Try to toggle the GPS location service on and off... This is basic troubleshooting stuff that should be tried... Im not just saying this for you, but for everyone else that has had issues... It just seems that some people are very quick to give up and consider things broken instead of actually helping themselves by trying things to troubleshoot.
[Samsung Infuse 4G] redgrass83:
Too true.
[Samsung Infuse 4G] Goneeuro:
ok. Ill try messing with that stuff too. Im not afraid to break it. haha. Ive gone back to stock more than once. If it is nice this weekend, Im gonna go sit by the Isar (major river that runs through munich) and test some more with wide open sky. GPS isnt a huge deal to me. I was just trying to get more info out there than questions. I jut figured my playing around might help someothers.
[Samsung Infuse 4G] Kdog71588:
I tried the GPS fix but I still can't even get a lock after 20 min of waiting I did a fresh install and everything, also side note any idea when we will have a working flashlight?? Thanks Scott for all the hard work your a beast
[Samsung Infuse 4G] indymx:
While at work last night, I had a bit of downtime waiting on an aircrew to deplane, so I fired up GPS test.

First lock happened in about 2 minutes. Not horrible. Accuracy was bouncing between 20 ft and 200 feet.

So I tried Google Earth. It showed me so close to my actual position that it sorta scared me. The blue ball was almost dead nuts next to the jet bridge I was sitting by.

Good enough for me... ;)
[Samsung Infuse 4G] ppalbicke:
It may not be the the torch app embedded in the rom, but Max Flash in the app store works fine.
[Samsung Infuse 4G] scott.hart.bti:
Flashlight already works... Unfortunately its buggy and only certain applications/versions of flashlight work for our phone as of now. The color flashlight HD works, but you need an earlier version... Please do a search as i believe one of the people posted a link for the version that will work with this ROM... BAM! You have flashlight. :D. As for when it will be fixed, thats a question that cannot be answered...

If you keep trying it WILL work... unfortunately it can take a long time first go around...
[Samsung Infuse 4G] droiduzr2:
If someone finds that post or has the file, perhaps you can send it to Scott and he can post a link to it in the OP:good:
[Samsung Infuse 4G] hardslog:
This version works for me.

Don't update it though if Google Play wants you to.
[Samsung Infuse 4G] scott.hart.bti:
Thanks... I will update OP when i get a chance.... Please let it up for a bit.

FYI... I think that Dani897 has found a fix to greatly improve GPS lock time and accuracy... ALL CREDIT GOES TO HER.

Holy SH**!!!! I edited the gps.conf file like you instructed but instead set the agps line from = TRUE to = FALSE and rebooted... My phone would nomrally take 5 - 10 minutes and be around 130 and very slowly get better... When i rebooted with agps = False, i had a lock on 8 out of 12 satellites within a minute and was at 90 feet!!! Having a few others test this... but i think Dani is 100 percent correct about agps being the culprit.

Can someone that was having issues test this please?
[Samsung Infuse 4G] hardslog:
Any help I can provide I will GLADLY do it.

In terms of that GPS test. I tried it last night as well. Seems that when I am stationary it gets a lock to within 10 feet. As soon as you start moving it goes up above 100. Not sure if that was common on ROMS of past, but it seems to be at least in a functioning state where I can use Google Nav again!
[Samsung Infuse 4G] scott.hart.bti:
Did you set the AGPS to = FALSE?
[Samsung Infuse 4G] hardslog:
I didn't. I just turned off Google location services in the settings.

Before that I wouldn't even connect to a single Sat. I could see them but not connect.
[Samsung Infuse 4G] scott.hart.bti:
If you dont mind, Try setting it to false and leave location services on and reboot.... and let me know how it goes.
[Samsung Infuse 4G] Jamieb88:
Hey if you told me how to do it if gladly test it for you Scott. Loving the new update!
[Samsung Infuse 4G] scott.hart.bti:
You need root explorer installed or some other file browser equivalent... navigate to system/etc .... Long press the gps.conf file and scroll down and select the option to open in text editor.. Change the line from this:

DEFAULT_AGPS_ENABLE=TRUE

TO

DEFAULT_AGPS_ENABLE=FALSE

Save and reboot... then open GPS test that you can download from market and let me know how long it takes to get a lock and how accurate it gets. At first its still probably going to be crappy, but should get alot better.
[Samsung Infuse 4G] hardslog:
Took a good 10+ minutes but I'm locked on to 4 satellites with 150ft accuracy. I turned all of the google location crap back on, and edited to gps.conf file setting AGPS to FALSE.
[Samsung Infuse 4G] scott.hart.bti:
Did you reboot?
[Samsung Infuse 4G] scott.hart.bti:
- THIS was about 2 - 3 minutes after turning it on... and not to mention i had a solid lock within a minute... Normally it would take 5 just to get anything.
[Samsung Infuse 4G] hardslog:
Sorry. Yea I did reboot after editing the gps.conf

I should have mentioned that before.....derp

Adding a Screenie of me doing it the second time. Faster lock time but still around the same accuracy, which isn't too concerning (my phone is by a window, not out in the middle of a field LOL!)

I can confirm that editing gps.conf and disabling agps created a SIGNIFICANT improvement.
[Samsung Infuse 4G] Goneeuro:
I'm testing this from indoors right now. About 5 feet from an open window. I would go outside but its 1am. Haha. I changed GPS.conf just like you put, then shut off all Google services, then rebooted. I have Google nav running in the back round while I post this. The gps is still searching. I can see 2 SATs as of now. 10 min and counting.
[Samsung Infuse 4G] mrhaddan:
I got first lock after just over a minute, and after another minute I had locked onto 7 out of 8 sats with accuracy at 20 feet. That's the best it has ever been. Setting agps to false worked awesome.

Edit: I did get locks before, but it would be anywhere from 5-15 minutes, and accuracy only got around 150 feet or so.

Sent from my Jelly Bean'd Infuse!
[Samsung Infuse 4G] Jamieb88:
Hey Scott did it and within 6 minutes I got this outside semi cloudy skies :D

Edit: and before this I could see SAT's but not connect to them. So it must be the agps huh
[Samsung Infuse 4G] MattSoRaven:
It might be helpful for everyone to also mention whether or not they were getting a lock before this recent fix.
[Samsung Infuse 4G] Jamieb88:
I did look at my edit haha :D
[Samsung Infuse 4G] Goneeuro:
Well after some research online. I'll post the links in a second. I changed my config file to this. I am in Europe so the america stuff was making it load soooo slooowww. What is better the Nokia supl or the Google supl? Also, I tried out the GPS status & tools app. It let's you cold start the GPS without having to reboot and there is a download agps data button built in. I cleared the data then hit download. It downloaded 10 SATs in about 2 seconds from hitting the button. Only 3 had any snr strenth , but I'm thinking that's cause I'm in doors.

http://android.igameilive.com/2012/06/how-to-make-android-gps-locks-faster.html?m=1

http://www.pool.ntp.org/en/

NTP_SERVER=0.de.pool.ntp.org

NTP_SERVER=1.de.pool.ntp.org

NTP_SERVER=2.de.pool.ntp.org

NTP_SERVER=3.de.pool.ntp.org

NTP_SERVER=0.europe.pool.ntp.org

NTP_SERVER=1.europe.pool.ntp.org

NTP_SERVER=2.europe.pool.ntp.org

NTP_SERVER=3.europe.pool.ntp.org

XTRA_SERVER_1=http://gllto.glpals.com/7day/latest/lto.dat

XTRA_SERVER_2=http://gllto.glpals.com/7day/latest/lto.dat

XTRA_SERVER_3=http://gllto.glpals.com/2day/latest/lto.dat

INTERMEDIATE_POSITION=1

ACCURACY_THRES=5000

SUPL_HOST=supl.google.com

SUPL_PORT=7275

CURRENT_CARRIER=common

DEFAULT_AGPS_ENABLE=TRUE

DEFAULT_SSL_ENABLE=FALSE

Oh well, I tried to post a screenshot or two but for some reason I can't upload with the xda app. I hit tapatalk hosted and it just sits at 0/100.
[Samsung Infuse 4G] Jamieb88:
Yeah might want to try it outside to get accurate locks.
[Samsung Infuse 4G] alarmguy48195:
Was able to see 7 sat's and locked on to 5 within 2 minutes, the phone was inside my house sitting on the window ledge. Had 8 sat's locked with accuracy of 19 feet within 3 minutes
[Samsung Infuse 4G] eric7:
Just noticed that ringer not working while listening to music with earplugs.
[Samsung Infuse 4G] benbos_06:
Changing agps to false cut my lock time in half from about 10 mins to 5. Also, I usually am only able to lock on to maybe 3 sats and this time I locked on to 8.

This was from inside my apartment building.
[Samsung Infuse 4G] xxxSuperserieSxxx:
Same here changing agps to FALSE notice lock more faster here is my gps.conf

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

DEBUG_LEVEL = 3

INTERMEDIATE_POS=1

ACCURACY_THRES=5000

SUPL_HOST=supl.nokia.com

SUPL_PORT=7275

CURRENT_CARRIER=common

DEFAULT_AGPS_ENABLE=FALSE

DEFAULT_SSL_ENABLE=FALSE

DEFAULT_USER_PLANE=TRUE
[Samsung Infuse 4G] scott.hart.bti:
Yea... Thinking that the agps = FALSE is the trick... Its scary... its working almost as it should! :laugh:

THANKS DANI!
[Samsung Infuse 4G] tehtrk:
I was going to suggest setting NTP servers that are appropriate to your region. This ROM as well as the GPS.conf with the glpals.com XTRA_SERVER entries both specify north-america time servers. Those in a different hemisphere could be getting time data so far off from what the satellites have that it's hindering locks. Time is the same everywhere, but if it takes 1.3 seconds to get your time from the NTP server, well your time is now off by about half as much.

Good call on the NTP server values Goneeuro.

With agps=false, is the agps service actually disabled as indicated or is there a parsing bug or what? I haven't been able to do any GPS testing or work on this thing much at all lately, so pardon my ignorance.
[Samsung Infuse 4G] hollywood528:
gps.conf - 1.39 KB

Here's the GPS.conf file for (North America - United States) already done and ready to copy to the /etc folder.

This is from http://sysapp.blogspot.com/2012/03/how-to-speed-up-your-gps.html.
[Samsung Infuse 4G] tehtrk:
Thanks!

Double-edit: that blog post does a really good job explaining how you should determine which ntp servers to use. I should have read that as well. It's still worth mentioning that the attached gps.conf isn't valid for all regions without tweaking the NTP servers.
[Samsung Infuse 4G] hollywood528:
I apologize. I updated my post to show the region to avoid confusion
[Samsung Infuse 4G] droiduzr2:
Just a thought but instead of trying all of these what if's, how about someone that has a Nexus unit and compare the file on that to ours.:good:
[Samsung Infuse 4G] scott.hart.bti:
Or you could simply download a nexus JB ROM from the nexus forum and navigate to the system/etc and look at the gps.conf yourself...
[Samsung Infuse 4G] droiduzr2:
lol, true...I did not think of that.:laugh:

I don't really have an issue with GPS...for now
[Samsung Infuse 4G] stratatak7:
I'm downloading the stock Galaxy Nexus GSM JellyBean (mouthfull) firmware right now. I'll take a look and report back.

Edit: This is all that I found in the gps.conf file. It appears the only difference is that they're obviously using the Google server for supl instead of Nokia.

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.google.com

SUPL_PORT=7276
[Samsung Infuse 4G] threi_:
NTP_SERVER=north-america.pool.ntp.org

XTRA_SERVER_1=http://gllto.glpals.com/7day/latest/lto.dat

XTRA_SERVER_2=http://gllto.glpals.com/7day/latest/lto.dat

XTRA_SERVER_3=http://gllto.glpals.com/2day/latest/lto.dat

This is all that's in the gps.conf for the nexus 7 stock jellybean rom.
[Samsung Infuse 4G] Rayk1080:
Just a report, I don't need GPS that much so not desperate for a fix lol:

The above is exactly what my screen says on 8/16 CM10. I'd get a screenie but my Infuse isn't being exactly coooperative lol.

Anyway, through Root Explorer: system/etc/long pressed gps.conf and found that exactly. Wasn't gonna mention it before since no one else had the problem LOL but it seems relevant. I'm probably gonna reflash or hold out until the next update, not too picky lol
[Samsung Infuse 4G] jdsatyr:
also found an app in the app store called Flashlight HD LED works very well as well. and yes I need to update my signature to reflect JB..LOL
[Samsung Infuse 4G] stratatak7:
Interesting, because when I open gps.conf from a freshly downloaded 8/16 build on my PC I get this:

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

INTERMEDIATE_POSITION=1

ACCURACY_THRES=5000

SUPL_HOST=supl.nokia.com

SUPL_PORT=7275

CURRENT_CARRIER=common

DEFAULT_AGPS_ENABLE=TRUE

DEFAULT_SSL_ENABLE=FALSE

Did you not do a clean install, modify the file, or download an app that edits the gps.conf? Maybe a reflash would be a good idea :cool:
[Samsung Infuse 4G] tankmorph:
Lol
[Samsung Infuse 4G] redgrass83:
This IS what it's supposed to look like.

---------- Post added at 04:51 AM ---------- Previous post was at 04:49 AM ----------

Big time. !!! It needs to be tried on a fresh install without ever having activated gps whatsoever, let alone already having acquired a lock. Pertinent satellite information has already been downloaded to your handset during the first acquisition. Second attempt is ALWAYS gonna be faster in all cases, whether you've pasted that new config file or modified the agps line to false or left everything as is.I've done it correctly and found absolutely no difference. Only people that *should* have troubles don't live in north America , in which case I'd then go ahead and modify the config to reflect the region they inhabit.

I go with the old adage , don't fix it guys if it ain't broken. Just my two pesos though everybody. Save your energies for tougher obstacles. I really believe there isn't one here.
[Samsung Infuse 4G] Rayk1080:
Manually wiped everything (data wipe/factory reset, cache, dalvik cache, formatted system) forgot I had Qskter's wipe script zip, then flashed that too LOL (just because I wanted to see how it loaded in CWM, weird I know).

Then installed CM 10 and the GAPPS and had no other problems. Have some recent Wi-Fi/Data being grayed out problems, so I think a reflash is necessary too, didn't know a double wipe could do that lol.

Only downloaded GPS test, so I don't think so. And no I've never modified the file before. As to whether or not I've gotten a lock: never tried LOL

Either way, I may have screwed up, but I thought that it was worth reporting.
[Samsung Infuse 4G] redgrass83:
I may be mistaken , I haven't looked at them because the links were down the other night but doesn't one of qksters scripts modify the gps.config? Believe that's your culprit. Slipped through. I've never ever had the need to wipe more than recovery covers for successful flashing.
[Samsung Infuse 4G] stratatak7:
My point, exactly
[Samsung Infuse 4G] Rayk1080:
WOW! I am such a NOOB lol. :eek: :o :silly: :cool: Thanks a lot, red. Wonder what else that thing did...LOL

Gonna reflash if I find I miss GPS and if my gray problems persist lol, or else I'll just wait for the next build whenever that may be :D :good:

Thanks guys...gonna go crawl in a hole now...
[Samsung Infuse 4G] PoXFreak:
I may need a script or something...

Root explorer won't let me mod ANY of my gps.conf files! Not in /system/etc, not in /etc, not even the one on the SD card!

I've reset permissions, renamed, changed ownership, cut and paste, even emailed it to myself and tried to edit it from there, you name it... just can't get it to stick. Always comes right back to TRUE.
[Samsung Infuse 4G] mcala:
Are you pressing the button on the top right in Root Explorer to mount as R/W then making your changes?

Help me help you get more DROPBOX space...

http://db.tt/aVgBbhXk
[Samsung Infuse 4G] Demonic240:
Try ES File Explorer. It's free and allows root.
[Samsung Infuse 4G] Goneeuro:
I 2nd es file explorer.
[Samsung Infuse 4G] redgrass83:
Rest assured Scotty's brewing up mods 24/7. Won't be a long wait.

Grin , and no worries friend. No need to go hide.
[Samsung Infuse 4G] wickedninjalo:
Yes'ir changing agps from true to false in the config file worked like a charm. I got 9 birds with six locked in 20 seconds
[Samsung Infuse 4G] kitarodo:
It's hard to download and install apps from google play. I must reboot phone to download and install apps. Can anyone help me ?
[Samsung Infuse 4G] prince11592:
clear data for google services framework then reboot and try...........
[Samsung Infuse 4G] PoXFreak:
Yezzir! Not like I haven't been using root explorer for a long time.

I think the next trick will be to change perms on the host .zip file. If that won't work, an adb push/pull might need to happen.

Of course... when I get home today.
[Samsung Infuse 4G] whois.christopher:
Nah, you don't need anything like that. Just have Root Explorer or ES File Explorer mount /system as RW (it's mounted RO by default), and you will be able to make changes to the gps.conf file.
[Samsung Infuse 4G] araemo:
NTP server isn't terribly important. If you want, pick a stratum-2 or stratum-3 server for your region, but as long as you can actually ping the NTP server listed from your phone, you're fine. The NTP protocol has built-in methods for correcting for long ping times. And it's only really needed to get your device time close to GPS time, not exact.
[Samsung Infuse 4G] whois.christopher:
And if you are so inclined, go to http://www.pool.ntp.org/en/ and click on the appropriate region/zone on the right side of the page to get the "optimal" ntp config for your region/zone. Generally speaking, the latency isn't that bad (a few seconds at most) even when you try to get time from a far away NTP server.

Or you can keep things simple and point your NTP servers to the following and ntp.org will assign you random ntp servers.

0.pool.ntp.org

1.pool.ntp.org

2.pool.ntp.org

3.pool.ntp.org
​

But, like Araemo said, NTP is just getting your phone's time close to the GPS time and you don't need to be exact (and in fact, you can't be exact as there is always going to be some latency involved).
[Samsung Infuse 4G] araemo:
Latency adjustment is built into NTP. When you get NTP time, part of the process involves measuring the latency and adjusting for it before you get your 'final' answer.

It's certainly not perfect, since no two packets are going to take the EXACT same amount of time between your phone and the server, but it takes that into account.