yashsingh1/xdaforums huggingface dataset:
[Epic 4G General] drunkskunk:
Really? That explains why my 4g tweaks stick like change asking hobos. Thanks for that info, you were actually useful. Hehe.

Just buggin out, me an my eye balls.
[Epic 4G General] lattisimo:
I could get a gps lock in airplane mode when we were on froyo. I thought this problem came from the gingerbread kernel.
[Epic 4G General] samep:
I was on CM7, flashed CleanGB, modded both prl and gps. Flashed to Marcusant Revival 3 and found dialer works on that ROM, too. Went back to CM7, then a couple of days ago back to ODIN pre-rooted stock to get EL30 modem and back to CM7, nightly 24. No problems I've seen but still seems I need to flash the gps fix for gps test and fix permissions in framework for google maps to acquire indoors. Permissions are not holding fast.

My last indoor test, I had 8 sats located and using all 8. I've yet to venture out and try autonymous/standalone gps. But I did go back and read from phone to see that setup was still in-tack; my PRL is holding fast as well.
[Epic 4G General] flastnoles11:
Nope... as long as you do it right you're good... many people have done it, including myself, without a hitch
[Epic 4G General] drunkskunk:
I need to do this mod asap. How long does it take to do. 5 minutes?

Just buggin out, me an my eye balls.
[Epic 4G General] flastnoles11:
Do it and find out...
[Epic 4G General] jayharper08:
Don't forget about mcdaddie. We are working on it. Just ignore him till i can work a little more on it.
[Epic 4G General] flastnoles11:
THANK YOU!!!!
[Epic 4G General] bender beerman:
thanks for the advice; i updated my prl, set my gps for autonomous, and fixed my cm7 rotation lag all at the same time!!! :)
[Epic 4G General] KennyG123:
I say they ban him, then move the entire thread before he makes a new user name...LOL.
[Epic 4G General] jnadke:
DO NOT attempt to modify the PDE settings.

I put settings in there from the WM devices. Completely b0rked GPS. Wouldn't work at all.

Had to Odin back to EC05 with full EFS clear. Works now.

I was mostly tinkering for the sake of tinkering. You don't really need PDE, it's essentially where your phone collects a bunch of data, sends it to the cell tower, and the cell tower figures out your position. Modern cell phone GPS chips are so powerful that they'll get a fix faster than this round-trip process.
[Epic 4G General] RyleyinSTL:
^^ I put some settings in there I found elsewhere (Sprint Pre settings) and they did nothing. In fact, the next time I went in there to change things, these settings had been cleared.

Who knows....
[Epic 4G General] PG101:
Moderator Warning!

Thread cleaned!! I see the troll is gone now.. so can we get back on topic?

More OT will only result in official warnings/infractions and thread closure..
[Epic 4G General] zman519:
I just did this & i tryed reRSF insted of ODIN & it works also (if your on BLM)
[Epic 4G General] TACO33:
I want to thank RyleyinSTL for this info. I'm a total NOOB at this stuff and other than running into a battle with my laptop and QPST to recognize my phone, this is a breeze. For whatever reason after I went through this process the GPS still didn't work in Airplane mode, so I went through the process again. Still didn't work and I was sure that I did something wrong. So I re-rooted and installed CleanGB1.1.2 along with GPS Fix and BOOM GPS in Airplane Mode worked perfectly.

I have noticed that on my phone: if I run navigation, maps, geocaching, GPS status, or any other app that runs off GPS with Airplane mode OFF then switch to Airplane mode ON the GPS still runs flawlessly. Or if I turn GPS ON along with GPS status, then turn Airplane mode ON the GPS still runs flawlessy. Point being, I haven't had to reboot yet to make the GPS run autonomously. Just play with the configuration of turning things on and off may prevent you from having to reboot to get your GPS run in Airplane Mode. Not sure if any of this will help anyone but just thought I would share my experience with everyone.

By the way HUGE RESPECT FOR TOADLIFE!!!! CleanGB1.1.2 is AMAZING and I truly appreciate all the hard work that goes into making these phones just work properly.
[Epic 4G General] jackal516:
Great mod!

I've been looking for something like this for a long time. I havent done this yet, but OP maybe you would like to put this link up.

http://xdaforums.com/showthread.php?t=1296069&highlight=msl+code

Its would just help out people... maybe save a noob from posting a new thread.
[Epic 4G General] slwelsh:
Just made this mod and I thought I would share my observations.

1. Getting the USB port on the phone to be recognized by QPST configuration was finicky. I had to fiddle with turning the USB from PDA to Modem and back a couple times, while connected to the PC, to finally get the device to load. I connected twice (the second time to verify my changes took), and it happened both times. YMMV; this was on the CleanGB ROM.

2. I used QPST 2.7.366. When I selected "Write to phone" the phone rebooted almost immediately, and QPST then said there was no longer a phone connected. Not a problem, but it surprised me, which is why I went back again to verify the changes had stuck (they did).

3. I am in a good coverage area here so I can't test what would happen if I had no signal at all but was not in airplane mode. But I can say unequivocally that if I put my phone in airplane mode and then start the GPS, it never shows any birds in view. Rebooting the phone, still in airplane mode, does not correct this.

4. That said, if I start the GPS when not in airplane mode, even with "data" turned off, and then switch to airplane mode, it continues to run fine with a good lock.

It looks to me like Airplane Mode is actually disabling the GPS radio even when GPS On is selected, unless the GPS radio is already running. I am on the BLM release of CleanGB 1.1.2, so perhaps stock EL30 does not have this issue.

I remember having a similar problem with the EI22 "Mostly Stock" ROM -- Airplane Mode on that ROM disabled the WiFi radio, irrespective of the WiFi setting, whereas stock EI22 did not. Made it impossible to get the WiFi they now sell you on airplanes, at least not without breaking the cellular radio rule.

FWIW.

-Sean
[Epic 4G General] Akagami:
Sorry if this is a noob question but does this work with CM9/ICS?
[Epic 4G General] xopher.hunter:
Yes

Sent from my Nexus Slide 4G
[Epic 4G General] autoprime:
Confirmed working on the Epic 4G Touch. Thanks for the heads up OP.
[Epic 4G General] jarnow94:
Checking only "autonomous" should be sufficient for getting GPS in airplane mode or with no service, but I suppose checking the other options couldn't hurt.

Here's a bit of info on the hybrid option and the A-GPS stuff, if anyone's interested: http://www.cwins.wpi.edu/workshop08/pres/tech_3.pdf
[Epic 4G General] slwelsh:
That's what I thought, too, but it turns out that checking some of the other options created a problem for me:

After some further testing, it turned out that even though the GPS appeared to continue running in airplane mode once started in normal mode, after a few minutes, all birds would disappear from view and lock would be lost. So, on my phone, at least, going into airplane mode would kill the GPS completely, even after applying the OP's fix. I was also unable to get a fix or see any birds when starting the GPS in a no-signal area even without being in airplane mode, though I admit I only let it try for a few minutes.

I finally got the chance to do some more fiddling with this yesterday. For anyone else having this problem, what fixed it for me was to go back into QPST and un-check the two AFLT options (AFLT and AFLT/GPS hybrid). With all other options besides those two checked, the phone now gets a fast (2-5 seconds) lock with 7-10 birds in both airplane and normal modes. In case it matters, I will state that I am still on CleanGB (with GPS fix) and not FC09.

TL;DR: Follow the OP except do not check "AFLT" or "AFLT/GPS Hybrid" options. This should get you full autonomous GPS functionality without any access to cell towers or WiFi, yet still use aGPS when available.

HTH,

-Sean
[Epic 4G General] Night AoX:
Pulling My Hair Out

Okay, I entered ##8778# & set both UART & USB to Modem. I can not get the port number to show up after clicking Add New Port even after I unchecked Show Serial & USB while the phone was normally powered up. I even played around with the UART & USB combinations, still nothing. The only way I can get the port number to show up in download mode (1 & Power button). That's as far as I can go. This is what's listed in the Ports tab:

Port State Label Phone Link

COM7 Enabled COM7 No Phone USB

The info bar at the bottom reads as follows:

0 Phones 1 Ports 1 Clients Server Running...

As I attempt to move on to Step 7:

Open client QPST Service Programming, select your active phone (might take a moment to come up), click "Read from phone" (enter MSL) and then scroll over to gpsOne and select all the options on the left hand side:

The Work offline button is auto selected & the Work online button can't be selected. I waited about a good 5 minutes & still a no go so, quite obviously the program isn't recognizing the phone's existence. Anyone have any hiccups? Are there new methods I'm missing?
[Epic 4G General] slwelsh:
In QPST Configuration, delete any ports that are displayed before connecting the phone.

After you connect the phone, if the port does not show up (and you have unchecked the "Show Serial etc." box), go into the PhoneUtil menu again and try changing USB from MODEM to PDA and back again, while still connected. That's what has worked for me on several attempts.

Do not launch Service Programming until Configuration shows the port active with your phone shown as connected. You can launch Service Programming directly from the Clients menu in Configuration.
[Epic 4G General] Night AoX:
Here Goes Nothin'

Thanks. I'll try that now...

---------- Post added 13th May 2012 at 12:09 AM ---------- Previous post was 12th May 2012 at 11:56 PM ----------

There are now 2 choices in the box:

COM3 & COM4

Does it matter which one I choose?
[Epic 4G General] slwelsh:
Hmm. That does not look right. Rather than "USB/Unknown" one should say "USB/Modem" and the other "USB/QC Diagnostic". The "Modem" one disappears if you check the "Show only..." box. On mine, the Diagnostic (the one you want) comes up on COM4 and the Modem on COM3. You could select COM4 and see if your phone shows up under the "Active Phones" tab, but I doubt it will.

This looks to me like a bad cable or corrupt drivers. You are not by any chance using the cable that came with the phone, are you? These are known to be problematic.

Try a different cable, and if that does not work, re-install the Samsung USB drivers. If you have not rebooted your PC since starting this process, you might try that first, as sometimes USB drivers go wonky.

-Sean
[Epic 4G General] Night AoX:
Well...

I've actually did restart my computer & re-installed the drivers. The cable is after market, it works for data transfer to SD & charging so, I never noticed an issue. I'll try my brothers cable in addition to seeing if there's a newer driver release and restarting my computer again. Check back-in in a little...
[Epic 4G General] Night AoX:
Testing...

Alright mine finally went through. After re-installing drivers & restarting computer the COMs loaded back up as Unknown USB again only this time they were COMs 9 & 10. I just loaded both of them. Apparently if you see 2 COMs listed and they both say Unknown USB, just load both because the program only uses 1 of the COMs for programming & the other will simply not work nor will it harm anything. From what I've gathered, just about everyone here has had a little different process so future readers read back for troubleshooting. I'll put it to the test next time I'm out for a drive. If anyone can answer this before I go out on that drive, that would be most appreciated. Did the GPS lose satellite lock while going over 60 MPH? I noticed that Google's Navigation & MapQuest's GPS apps both lose signal over 60 MPH on my Epic 4G. I'll post snapshots of my process for others to compare.

---------- Post added at 03:10 AM ---------- Previous post was at 02:12 AM ----------

2 COMs should show up. Mine say 9 & 10. Those will vary for everyone. If they both say USB/Unknown, disregard. Load both of them. The programming should work as it's supposed.

You only need one COM for this programming however so, if the first one you load DOESN'T say No Phone under the Phone tab, then don't worry about the other.

And from here, it's just following the rest of RyleyinSTL's steps
[Epic 4G General] XXCoder:
Well I tried that. I still could not get epic to connect to gps without data connection. Then I decided to uncheck ALL but autonomous. Same result, must initially has data to connect, then gps works without data.

Using Cleangb with gps fix, FC09 modem.
[Epic 4G General] zman519:
Really what kinda dip**** Engs does samsuck have programing this crap, that we have 2 fidle with low leave hardware 2 get gps 2 work with out data? I mean did they never think of ppl North of the DMZ using a SGS 2 make it to the free south lol

/rant over

Sent from the Drivers Seat of my Suby txting and Driving doing 100MPH+ in a school zone! Ha.
[Epic 4G General] styles420:
Well, we are talking about GPS in a phone... it is not designed to maintain an offline database of maps large enough to be of much use, unless you always stay in the same area (in which case, why do you still need GPS so much?) But the device is designed to have a constant data connection, from which it can pull the most up-to-date maps available... I fail to see how you fail to see the logic in that?

Quick question - what does the solar system revolve around? (Hint: not you) ;)
[Epic 4G General] KennyG123:
Let's try to keep it civil.

Thanks

FNM
[Epic 4G General] nom303:
If a 50$ cricket phone can have agps. I'm sure ours should b as capable right?
[Epic 4G General] XXCoder:
Yeah it works in my case now. Its just when it INITIALLY starts gps that airplane mode must be turned off. I did not enable data, so it only connected at 2g level.

Once it is working, airplane mode can be turned. As soon as app using gps closes, or stops using gps, gps cannot be reconnected without turning airplane mode off.

I was wondering if it is some kernel issue where kernel refuses to make gps listen for signals and calculate position by itself? Or maybe it is lower level issue, like drivers.
[Epic 4G General] zman519:
Ya I see ur point & ur right they DID NOT desigen the Epic to work offline. And that's what I'm saying I do not like. There are a lot of places where u could use this phone with out data/cell signle, Boating/fishing, etc... off roading in the US south west, Nothern Wisconsin & the U.P.(no good cell up there in many parts) as a gps map.

As fare as iam consernd when engs at company's like samsung think & make there smartphones in this way they r defeeting the points & bonus of an AIO device. Becuz now we still have 2 have another stand aloan gps unit, the software can alway be made after the phone is.

As for the maping software, what about Copilot? & there are many other maping apps that do not need data

Sent from the Drivers Seat of my Suby txting and Driving doing 100MPH+ in a school zone! Ha.
[Epic 4G General] styles420:
I just thought it was a little extreme to be so shocked at the reliance on a data network that the engineers assumed would always be present (someone along the line seems to willfully neglect the possibility that their network isn't absolutely perfect). I can agree that it would have been better if Samsung had set it up for the widest set of possible circumstances, I'm just not surprised that they deemed stand-alone gps unnecessary.

No worries, though - we can fix it without Samsung's help, so we're good
[Epic 4G General] XXCoder:
Styles, you mean fix it so offline gps works, or was OP the fix? Because OP fix does not seem to work, in least at starting without any data. Once that is done, it works good on airplane mode as long as gps is on the entire time. As soon as it turns off, it can't work till data works again.
[Epic 4G General] styles420:
It's true that we can't fix it fully, because it still needs a data connection at some point. I did the fix yesterday by using the FC09 kexec package, and it does have an effect - I'm getting locks much faster, even inside the house where it normally keeps looking for gps without finding anything... so it is an improvement, but it isn't a Garmin replacement by any means.

Maybe someone who understands standard GPS units better than us can explain how those units can work without the need for agps data, or at least without the ability to update that data... that might provide a clue for an even better fix (or at least explain why a better fix isn't possible)
[Epic 4G General] zman519:
Another use for stand alone GPS is something like what happend in New Orleans with Hurricane Katrina. All the cell networks where down for the most part, or in Japan earth quake/tsunami.

I just DO NOT GET WHAT THEY WHERE THINKING:eek: its just as dumb as having a FM radio not work with out data on.

And if the phone is an old phone u have that's no longer hooked up, it COULD have been a uesful gps:(

Sent from the Drivers Seat of my Suby txting and Driving doing 100MPH+ in a school zone! Ha.
[Epic 4G General] styles420:
What good are GPS coordinates without map data to display them in terms we can understand? The Katrina victims are no more capable of navigating with raw GPS data than you or I... our phones don't retain much map data, so the best you could do would be to navigate within the last area that was stored in the cache, but this cache is periodically wiped to make room for new data. Some apps are specifically designed to store more map data, but you still need a data connection in advance to download that data - you won't be downloading the app, let alone the map data, once such an emergency has occurred. And those map packs can get kinda big, so it may not always be practical to have that much data stored for such a rare occurrence.

In my experience, the most useful improvement to be had with this is that momentary data loss no longer causes the phone to freak out as easily, so it no longer abandons whatever information it already has in favor of a fresh start that isn't always necessary or helpful...
[Epic 4G General] zman519:
CoPilot Live. ;) does NOT need any data to display maps & a point on the map. I have it & I have a 32gb sdcard so a few gigs of maps is no big deal but becuz samsung engs don't know how to make the gps work with out data it seems kinda useless to have. OurxMap, etc. Just look on the play store,

Your not understanding what I'm getting at, so we can just leave it at that, And yes I can intrepid gps data (lat lon) its not that hard. Plus u use gps data with a paper map. Trust me it can be done I teached "Land Nav" in the Army.

Sent from the Drivers Seat of my Suby txting and Driving doing 100MPH+ in a school zone! Ha.
[Epic 4G General] styles420:
I think I see your focus - it can be done, and fairly reasonably - does that cover it, roughly?

I'm just saying that it isn't as surprising as it might seem, because the accommodations needed aren't available to everyone... I suppose the newer hardware makes it much more plausible, so perhaps the issue is that, while they couldn't do it as easily on older phones, now they can - so why aren't they, yet? Does that sound like a reasonable way to put it?
[Epic 4G General] zman519:
Ya that's reasonable :)

Also after the phone is No longer in service to any cell provider the gps part of the phone becomes useless. :banghead::eek::banghead::(:(:( I don't think the data needed for gps to work could be pulled from the cell network if your not paying. When the smartphones came out I thought they would still be usefull as mp3 players web wifi browsers & as GPS maping units but that's not the case with our Epics.

Sent from the Drivers Seat of my Suby txting and Driving doing 100MPH+ in a school zone! Ha.
[Epic 4G General] Andy_nu:
so the OP is saying our phones gps doesnt work w/o cdma coverage? lol
[Epic 4G General] zman519:
What is so "lol" about that? Turn on Airplane mode reboot the phone so that its powered ON with out the cell transceiver ON & see what you get when u turn the GPS receiver ON? Or better yet take a Boat or aircraft (or car) 10 or 20 miles away from cell towers.

Let us know if you get locks?

Sent from the Drivers Seat of my Suby txting and Driving doing 100MPH+ in a school zone! Ha.
[Epic 4G General] Andy_nu:
I did not know that. hahahaha, I always wondered why when I traveled if there was no coverage and I closed maps and reopened them it wouldn't lock. perhaps its for battery savings?
[Epic 4G General] styles420:
It just comes down to current app designs, for the most part, relying on the data connection. It started this way in part because older phones couldn't store enough map data to be practical as both a GPS and smart phone, and has probably continued because the major carriers don't generally like to discuss situations where their phones don't have coverage (they all want to claim to have the best coverage)
[Epic 4G General] KennyG123:
But you do get GPS with data off. It seems airplane mode kills all. Doesn't Maps need to download data to work? I just used GPS test.
[Epic 4G General] zman519:
In any case I stand by my statment that samsung has dip**** engs that can't think outside the box (that's why they are working on phones for samsung & NOT South Korean Mil-Tech @ Samsung) what an untralite pilot, pilot, or just someone on on a smaller aircraft that's NOT going to block the Sat signle can't enjoy looking at the speed & or Lat lon of said flight.

I mean just think about what a POS the gps was on DI18. :rolleyes: YA SAMSUCK = Fail I love my Epic but when I think about all the little things they F-ked up on it makes me want to frisbie the phone out of a car windows doing 100 right into head engs face. (Or who ever at samsuck that signd off on the finle prototype)

/ranting

Ya ya sorry I'm getting this thread way OT but I just can't help but get mad about this phone any time GPS comes up. Hear when I first saw this thread I was jumping for joy "ya ya xda found a fix" for some thing that has always upset me about this phone, & then after all its NOT a total 100% fix :(

PS if it helps any one understand why I'm triping about this. I have not got any sleep last night.

Sent from the Drivers Seat of my Suby txting and Driving doing 100MPH+ in a school zone! Ha.
[Epic 4G General] KennyG123:
The other thought is that this is by design to prevent the use of this phone without a carrier. It forces you to have service on your phone for the GPS to work properly. From a Sprint POV that is actually smart and good business...from a user POV it sucks especially if you are out on a boat or something. But if I needed a dependable GPS for that I would buy a standalone unit.