yashsingh1/xdaforums huggingface dataset:
[Captivate Android Development] Krynn!:
For everyone asking about GPS

First off, thanks, DG!!!! Each time I tell myself I'm going to stick with what I've got for a bit, you release another awesome build!

Anyway, I installed P10 this afternoon and decided to do a little testing with the GPS.

For those of you who don't feel like reading the whole thing, here's a good summary:

If you've got to depend on a GPS, get a bluetooth GPS. Or dedicated navigation device.

As for the rest of this, keep in mind it's not overly precise. I was taking notes, but not doing any serious logging.

Time to first lock: I have never had my phone get a GPS lock faster. The longest it's taken so far is 11 seconds, and that was inside my house. The fastest was less than 2. Average so far is around 7.

Signal strength: Since I don't have any logging from the GPS daemon enabled, I wasn't able to record these levels as I was driving around - it's just what I saw from static tests from both inside my house and in my driveway. Depending on how I hold the phone, my SNR averages from 18 to 34. Here's a tip... hold the phone by the lower half (near the capacitive buttons). With it sitting in a holder, I averaged 34. With my hand covering the whole back of the phone, 18. With my hand on just the lower half on the back of the phone, 31.

Reported accuracy: Again, no logging, so I'm having to guess at where it topped out... and it's kind of hard to tell from the little blue circle in My Tracks. With that in mind, what I saw varied from 5 meters through 25 meters, depending on motion and signal strength.

Accuracy on My Tracks: Not great. Better than I usually have, but still far from acceptable. During a short (3 mile) test, there were 3 deviations in excess of 200 feet off the track and 9 deviations where the track continued after I came to a stop, failed to track a corner properly, or wandered slightly off the road.

Overall, the GPS is better than any of the other roms I've tried, but Samsung still has a good way to go before I'm happy. On the other hand, the only roms I've played with have been the various Perception roms, so there might be something out there with better GPS support.
[Captivate Android Development] CuriousTech:
FWIW, I'm pretty sure the GPS antenna is in the top right corner.

Oh, TV Out doesn't work at all. :)
[Captivate Android Development] mjgunn:
Tyvm for the help. After the install should I follow the steps in dg's cognition install info and delete batterystats.bin?
[Captivate Android Development] Keland44:
looks like pretty good stuff DG lookin forward to checking this out
[Captivate Android Development] tazman171:
Turn off use wireless networks and sensor aiding, turn SUPL secure socket on, AGPS mode to Control pane and see how your accuracy is then. For me I'm usually at 48 to 16 ft with these settings, sat strength is usually between 42 to 24 for the locked sats. Locks might be a bit longer for the first one, but after that they are almost instant.

These quick locks are mis-leading anyway, yet to use a TomTom or Magellan that takes less than 1 to 2 mins for the first sat locks, then they are quick after that.

It has nothing to do with Samsung, the gps is using Da_Gs gps fixes, specifically his google version. P9.5 had his At&t version. Da_G knows his stuff and has figured out more than a few things for the GPS. :cool:
[Captivate Android Development] chibixzero:
Did you addicts get your fix? Thanks DG awesome job like always.
[Captivate Android Development] Haloruler64:
Great ROM, getting good battery life, good GPS performance indoors, and great speed. Except for a 3 hour period where it was unbearably laggy sliding down the windowshade, everything is crazy fast.
[Captivate Android Development] mjgunn:
Is there an up to date mirror around anywhere?
[Captivate Android Development] TorqueWrench001:
Trying to download patch no luck. Is there a mirror for the patch or the latest updated rom?

Samsung Captivate SGH-i897

Perception 10
[Captivate Android Development] ajm786:
Going to have to disagree with this. With the advent of Perception, where DG had integrated CLShortFuses's GPS fix, I've switched from using my Garmin GPS to primarily my phone; I no longer use my standalone GPS. And it works great. If you disable "Use Wireless Networks", you pretty much get locks immediately. When I'm indoors, I switch that on, so that my weather apps can get updated; when I'm out I switch it back off.

What difference is CLShortFuse's GPS from Da_Gs? Is Da_Gs's version better?
[Captivate Android Development] Milkshakes00:
Same as above.. Can't download it. Keep getting an "awaiting data connection." :'(
[Captivate Android Development] bradleyG:
do i flash the patch through cwm over the ROM?
[Captivate Android Development] jhernand1102:
Yes................:)
[Captivate Android Development] bradleyG:
Thank you :)
[Captivate Android Development] Cboss:
Ummm....mirror mirror on the xda?:o
[Captivate Android Development] bradleyG:
Yeah, now that I know how to fix my external SD problem, I can't download the patch :( waiting for a mirror? :)
[Captivate Android Development] Krynn!:
Ok, sorry if I didn't make that clear... Every one of my locks is fast. The slowest has been 11 seconds. And once you're locked in, SUPL, Control Plane, startup mode, none of that matters.

In addition, Use Wireless Networks and Sensor Aiding were both disabled for my test.

You're right, though... Da_G seems to be the expert on this stuff. On the other hand, it has everything to do with Samsung. From the drivers we have available to the design of the antennas, we're depending on what they release. Community experts like Da_G can only work within those constraints.

I'll have to tear into it a bit more, as I thought Da_G's mods turned off smoothing and interpolation, both of which I saw occurring as I was doing my testing.

There are a fair number of people who've reporting having phones that seem to perform perfectly well. I'm glad to hear that you're one of them... Jealous, too! Just be aware that if you end up having to exchange your phone, odds are that the next one you get won't work as well.

Da_G's version is based off of what was released for the Nexus S, combined with settings that he found worked best for him. For those of us with borked GPSs, his stuff seems to be the best currently available.
[Captivate Android Development] USHERROB:
i shall put a link up for rom w/ the fixes already implemented inna few min
[Captivate Android Development] tbong777:
Anyone have a copy of Fix.04? The link is broken....

Seems to be going to Superfish.com
[Captivate Android Development] bradleyG:
can i flash that directly over the current ROM? the computer I am on right now doesnt have all my tools and i cant seem to get the drivers working, so I am looking to be able to do everything through my phone.
[Captivate Android Development] fadetoblack2104:
I have gotten my data partially working now. I am using these APN settings:

ATT WAP

wap.cingular

wireless.cingular.com

80

not set

not set

not set

http://mmsc.cingular.com

wireless.cingular.com

80

310

410

none

internet + mms

I set the network mode to GSM only and can only use the internet/data services on edge. When I set the network mode to anything else I get the H and 3G symbol constantly switching between each other and the arrows showing like data is flowing, but pages wont load. I have tried pretty much every other apn I could find for ATT. Could someone please help, I really like how this ROM is running, but I cannot keep it if my data is not going to work properly.
[Captivate Android Development] USHERROB:
you should be able to, it MIGHT wipe data and cache and stuff like normal (AKA backup apps & messages n stuff if you havent already).. but you dont hafta flash back to stock via odin or anything
[Captivate Android Development] USHERROB:
My APN is as follows:

NAME AT&T 310 410 (or whatever really)

APN wap.cingular

PROXY Not Set

PORT Not Set

USER NAME Not Set

PASSWORD Not Set

SERVER Not Set

MMSC http://mmsc.cingular.com

MMS PROXY wireless.cingular.com

MMS PORT 80

MCC 310

MNC 410 (if that doesnt work, try just 41)

AUTH TYPE None

APN TYPE internet + mms

**EDIT - or try disabling data via power button and put into airplane mode...then reboot and re-enable both
[Captivate Android Development] Cboss:
c'mon usherrob...........thanks!:D
[Captivate Android Development] tazman171:
What other info after install?

You can do the bat stats through CWM or just run with it for a few days and the stats will sort themselves out, or that's how it works for me. I've always had good battery life, except bone stock, and I've never done the battery reset stat crap on my phone. After 2 or 3 days of normal use it is always great.

Of course, that's IME, results could differ as always. :cool:.
[Captivate Android Development] bradleyG:
Okay so just download the .zip and flash through cwm and everything should go smoothly? sorry about all the questions, I'm new to flashing on this captivate coming from an htc dream/G1
[Captivate Android Development] louiscyphere13:
Thanks 2 the user.who posted ,This rom and this theme...i.had some bugs (couldn't adjust my brightness) now that I have the gingermix theme build 10 seems to be working great!,..i noticed on the screen shot it says kernel version firebird 24, mine says 28 ..is this correct?
[Captivate Android Development] USHERROB:
yup!! :D ...and wont worry, i came from the G1 era as well :p ....just hackin and flashing ppls phones are my forte lol, so im really comfortable lol
[Captivate Android Development] Krynn!:
I'm pretty sure that just means you have patch v0.4 of P10. It's what I'm showing as well, and that's what I'm running.
[Captivate Android Development] USHERROB:
Perception-Build-10.zip w/ fixes already in ROM...flash via CWM

http://www.mediafire.com/file/fhn1qiqxzzm8q2z/Perception-Build-10.zip
[Captivate Android Development] whhuang:
Is the website down? I can't download the ROM. The site is very slow at this time.
[Captivate Android Development] USHERROB:
look one post up :cool:
[Captivate Android Development] fadetoblack2104:
I tried your APN and also what you posted in your edit. . . still no data connection.
[Captivate Android Development] TorqueWrench001:
Thanks USHERROB

flashing now
[Captivate Android Development] tbong777:
Can't DL Fix either....
[Captivate Android Development] USHERROB:
Did you try switching back to auto mode?

and is "use packet data" box checked?

if not, maybe you should wipe all settings and reflash??
[Captivate Android Development] designgears:
Server is back up!
[Captivate Android Development] USHERROB:
np, its what im here for :D lol
[Captivate Android Development] USHERROB:
orrrrrrrrr that works too :P ....grrrr, and just when i was getting thanked!! :P haha lmao
[Captivate Android Development] fadetoblack2104:
Use packet data is checked and I did set it back to auto mode. This is my 3rd flash today trying to fix this problem. If I cant find a solution by tomorrow evening then I am going to have to flash a different ROM.
[Captivate Android Development] StealthViper:
Anyone have a mirror to just the fixes.zip? Still can't get it from the ponak site :(
[Captivate Android Development] tbong777:
Fixes link broken...
[Captivate Android Development] tazman171:
Totally agree, my phone with CoPilot is rarely ever off track, when it does, 2 or 3 secs top till it puts itself onto the route.

Second Question: Short answer Yes. If you go to his thread and Cl's thread and compare the write ups, files and feedback you'll see, really it's apparent from the first page.

But in use shows all and I think a lot of people have had better GPS with P9 up. I always used CL's files until I saw that Da_G had opened his experiments with his captivate. He did some really good work for WinMo so I of course tried his Captivate settings out. His files are very well written with remarked notes above each setting section explaining what is what.

Go there and see for yourself. SGS, glgps, jupiter.xml, and you (how we can control the GPS behavior better) Read up on his info, methods and knowledge and then wonder why he's not working for Samsung on this.

Having said all that, it has been shown that many phones don't work the same with the same settings which is an even bigger problem in the end. :cool:
[Captivate Android Development] designgears:
working fine here
[Captivate Android Development] TorqueWrench001:
just downloaded from USHERROBS link a few posts back, and the .04 fix and the perception file itself from the first page. flashed to phone already so far so good :D
[Captivate Android Development] xdahgary:
Hello, I saw the new ROM has a "Modified Phone.apk (no ascending ring)." I am wondering if there is anyway to get that on to the Cog ROM? Thanks in advance.
[Captivate Android Development] tbong777:
Yep your right....open in Explorer and DLed fine......Firefox issue
[Captivate Android Development] StealthViper:
Ditto. Tried IE and it worked fine.
[Captivate Android Development] USHERROB:
works fine, i just redownloaded it...but i will re-upload fix v4 and rom w/ fixes included via mediafire and multi-upload...if dg wants, he can add them to OP..or delete my posts lol :D

**EDIT -

Fixes V4...flash via CWM = http://www.mediafire.com/file/s27lstugy7rgbj5/fixes.zip

http://www.multiupload.com/D7MOOA1ZBU

Perception B10 w/ fixes already in ROM...flash via CWM = http://www.mediafire.com/file/fhn1qi...n-Build-10.zip

http://www.multiupload.com/1E0AOT7WH5
[Captivate Android Development] razortech:
Any idea why this is happening?

Hey guys,

During the installation I get this error:

E: Cant chown/mod /data/

(I/0 error)

E: Failure at line 69:

set_perm_recursive 0 0 0777 0777 DATA:

Installation aborted

First time I am getting this since I started flashing...any idea wats wrong? and also after that clockwork recovery seems to be updated and the phone wont boot up past the boot up logo, but I can access clockwork
[Captivate Android Development] ~Reaper~:
guys i need some help i tried odin it didnt take and now i have a picture of a phone with an error sign and a computer what is that did i brick my phone

please help
[Captivate Android Development] Phoenix-Lead:
Get a jig!
[Captivate Android Development] norcal einstein:
Build/buy a JIG!
[Captivate Android Development] ~Reaper~:
what the hell is that
[Captivate Android Development] norcal einstein:
A little MicroUSB dongle that has 301kohm of resistance between MicroUSB pins 4&5
[Captivate Android Development] Phoenix-Lead:
Use the nifty search feature. It uses resistors tired into the usb power cable to give an extra jolt of juice to kick the phone into dl mode.
[Captivate Android Development] Gr8Danes:
Whoa, don't jump the gun yet. DG posted what to try here first:

http://xdaforums.com/showthread.php?t=731989&highlight=odin+click
[Captivate Android Development] USHERROB:
DG!! you are an amazing dev! ...just booted up Perception 10 and its running BEAUTIFULLY!! :) thanks for all your work!!!
[Captivate Android Development] Phoenix-Lead:
That's an idea as well.
[Captivate Android Development] waiting4gingerbread:
downloading now

gonna theme this with pure black notification bars though
[Captivate Android Development] ntdb:
Search for it. Do the research now that you should have done before flashing.

I do not, however, see why a jig is everyone's first answer. Do you have button access to download mode? Take out your SIM card and SD card (if you have one); hold down both volume buttons (NOT power) while plugging in your USB cable. You should boot into download mode. From there it would be appropriate to use Odin3 to restore your phone to stock. If nothing happens, research a jig. It is your only hope.
[Captivate Android Development] Mac11700:
Did you read any of all those post when you downloaded the ODin 3 ? It talks all about it It's not very far into it...on the 2nd page...Here...http://xdaforums.com/showpost.php?p=7288593&postcount=12

Try that...and see if it helps..If not..try this...it's on page 15 http://xdaforums.com/showpost.php?p=7359995&postcount=143

Mac
[Captivate Android Development] ~Reaper~:
that did it i am back in dload mode but odin just sits there on don't turn off target but no progress i have never had it do that
[Captivate Android Development] apewall:
http://xdaforums.com/showthread.php?t=775911

Try this method first, follow it -precisely-. If odin still fails you, GL with that resistor:P

http://xdaforums.com/showthread.php?t=889128
[Captivate Android Development] ~Reaper~:
how do i get out of download mode without screwing my phone up
[Captivate Android Development] Gr8Danes:
Get into download mode with the phone disconnected, with odin open, plug in the usb and it should recognize it. Or, if it doesn't see the phone right away in the port, then unplug the usb and replug it in. Then flash. Works every time for me.
[Captivate Android Development] RuizGT:
Downloading/tibuing right meow. I'll give it a try.
[Captivate Android Development] born_fisherman:
^^ruff ruff

Downloaded but battery is at 5%
[Captivate Android Development] opcow:
You probably did. Stop using Odin (especially the one-click brick machine).
[Captivate Android Development] PAulyhoffman:
on the test perception JPY my bc scanner and all 3rd party camera apps worked like qik and Layar.
[Captivate Android Development] designgears:
Looks like a bigger issue... flash stock first.
[Captivate Android Development] nh5:
been using the rom for almost 24 hours now, haven't seen another sleep of death, but did lose data earlier, went into network settings disabled and reenabled data and I'm back to normal. Battery use isn't bad. Plus I normally carry a second battery with me for this power hog lol.
[Captivate Android Development] tazman171:
Disable voodoo next time maybe but like DG said, flash back to stock unlees you have a good nandroid you can restore too from CWM. I had to do that once with the same error you have; I forgot to disable voodoo; and I was OK after that. :cool:
[Captivate Android Development] Luken10:
I am coming from a stock rom, so I don't know if this is a common issue or not for common roms so bear with me please. I tend to use my eaphones alot while talking on the phone. In this rom no sound from the call is routed to the earphones. It will only stay on the internal speaker no matter the status of the headphones being plugged in. Also had the same issue in the latest cognition rom. I can not find a setting to change this, so any help would be greatly appreciated.

The rom it did work in was JF6 eclair I believe if that helps at all.
[Captivate Android Development] Haloruler64:
Works for me on every Perception build I've used (except 3, which had no calling :P). Did it this morning.
[Captivate Android Development] bradleyG:
Just a note, after flashing the ROM including the new fixes the messaging center number for texts was mysteriously gone on my phone. I dont know about everybody else but I would like to put the number out there just in case.

This worked for me, I think its for AT&T anywhere in the U.S. but I'm not sure.

+13123149810

^the plus sign MUST be there
[Captivate Android Development] eramming:
Just installed and working beautifully! Downloaded using my phone.took less than 5 minutes.opened it up with rom manager and a few minutes later I was up and running. Restored all my apps now it's time to play!2 thumbs up!
[Captivate Android Development] Luken10:
Well at least there is hope that it does work, because I would really like to keep this rom. So just to be clear you could hear the call audio through your headphones? And had you done anything else to your phone?
[Captivate Android Development] Haloruler64:
I can hear the call through headphones, the headphone mic works, the button works, no mods needed. Just flash P10.
[Captivate Android Development] Luken10:
Could there be a difference in regular headphones compared to a set of headphones with a built in mic? I am simply using headphones and speaking in to the phone. So possibly only headphones with the built in mic work. Would be strange, but I guess I will try flashing back to stock to see if the problem persists. I am also running perception 10. If anyone else has some spare time, your input on if regular headphones work during a call would be greatly appreciated.
[Captivate Android Development] froli13:
Just flashed P10 and I love it so far! Love the lockscreen chooser and love the new bootscreen! It seems fast too!

Good work again DG! ;)
[Captivate Android Development] tazman171:
OK, I wasn't saying they weren't, I actually said that with the settings I was using they would be a little slower. I also didn't know what settings you had that's why I threw all of them out there. ;)

Once locked none of those are supposed to matter, but when moving your locks are changing and some of the settings interfere with what the gps is actually seeing less than others.

Quote: "The glgps daemon attempts to do post processing on the data received in the stream from the GPS chip. Because the data received is generally already incorrect, this further compounds the issue. My jupiter.xml already has these post processing algorithms disabled." Which is what my logs showed too, errors get amplified badly

Disabling use wireless networks works for you and me because there is interference with the gps chip under load for some reason, shielding/ ic quality issue IMO, not on all of the phones but I know on mine for sure.

Biigest culprit in my gps is right here quoted from Da_Gs thread;

"Wireless networks causes nearby WiFi access point info to be used for a faster first fix, and Use sensor aiding attempts to save power by putting the GPS in low power mode when it sees you moving in a straight line, and shutting off entirely when the accelerometer detects that the phone is stationary. This can cause issues when the compass or accelerometer are providing false values (due to interference, mismatched kernel, etc.)"

Like I said, different from phone to phone to beat all. :cool:
[Captivate Android Development] designgears:
Patch v0.5 is live!

changelog in op, all changes added to full rom as well
[Captivate Android Development] froli13:
Sorry if it's a dumb question but, do I need to go back to stock if I am running P10 patch 04 ?
[Captivate Android Development] opcow:
No, just install the patch.
[Captivate Android Development] mjgunn:
Install the fixes just like we installed the rom originally, with clockwork?

This is my first jump into a custom rom, been using it for about 2 hours and loving it so far, think I picked the right rom for my first attempt at using a customized one.
[Captivate Android Development] Adam Raines:
I'm quite excited as well. I saw that 99 didn't have GPS. Since it isn't mentioned here, is that to imply that 10 does in fact have GPS?
[Captivate Android Development] sinichi21:
Does this have the battery meter problem like it does not go up to 100% example when your full charge then u remove the USB the battery states it only have 98 or 99%, and another question does this alter you IMEI? I think i saw someone on perception 9.5 99 said something like that and DG said he will look into it just want to make sure ;) Thanks
[Captivate Android Development] opcow:
Yeah, just copy it to the sdcard, reboot to recovery, choose the fixes.zip and install.
[Captivate Android Development] Slowb00st:
Yup, best part of P10 or shall we call it P10.0.5 :D:D
[Captivate Android Development] USHERROB:
as stated earlier, it is a common problem w/ 2.2.1 roms.. solution is still being looked into AFAIK
[Captivate Android Development] tazman171:
Mine was just at 100% unplugged for 20 mins or so, now its doing the 98% thing again, lol, but meh.. battery life seems good so far. I usually wait a few days before reporting on it though as it usually gets better. :cool:
[Captivate Android Development] breakthru_sep:
Hi everybody,

I applied the latest fix with voodoo disabled, but wanted to ask if I could install the upcoming fixes.zip files with voodoo enabled? I know I have to keep it disabled when I install a complete ROM, is it the same for fixes/patches that don't do any formatting?

Thanks,

B.