yashsingh1/xdaforums huggingface dataset:
[Galaxy S II General] snalfio:
the open RIL has nothing to do with the gps issue!!!

PS: since we received the open ril my phone has a better reception

UPDATE:

i'm getting the gps fix after 3 seconds using this script:

DO THIS AT YOUR OWN RISK

-COPY AND PASTE THE SCRIPT IN /etc/gps.conf (delete the gps.conf content before pasting the script)

-PLEASE NOTE THAT X=YOUR NATION IN THE FIRST FOUR LINES (FOR EXAMPLE, IF YOU LIVE IN FRANCE->fr.pool.ntp.org)

NTP_SERVER=0.X.pool.ntp.org

NTP_SERVER=1.X.pool.ntp.org

NTP_SERVER=2.X.pool.ntp.org

NTP_SERVER=3.X.pool.ntp.org

XTRA_SERVER_1=http://xtra2.gpsonextra.net/xtra.bin

XTRA_SERVER_2=http://xtra1.gpsonextra.net/xtra.bin

XTRA_SERVER_3=http://xtra3.gpsonextra.net/xtra.bin

# DEBUG LEVELS: 0 - none, 1 - Error, 2 - Warning, 3 - Info

# 4 - Debug, 5 - Verbose

DEBUG_LEVEL =0

# Intermediate position report, 1=enable, 0=disable

INTERMEDIATE_POS=0

# Accuracy threshold for intermediate positions

# less accurate positions are ignored, 0 for passing all positions

ACCURACY_THRES=0

# Report supl ref location as position, 1=enable, 0=disable

REPORT_POSITION_USE_SUPL_REFLOC=1

# Wiper (wifi positioning), 1=enable, 0=disable

ENABLE_WIPER=1

################################

##### AGPS server settings #####

################################

# FOR SUPL SUPPORT, set the following

SUPL_HOST=supl.google.com

SUPL_PORT=7276

SUPL_NO_SECURE_PORT=7276

SUPL_SECURE_PORT=7276

# FOR C2K PDE SUPPORT, set the following

# C2K_HOST=c2k.pde.com or IP

# C2K_PORT=1234

#################################

##### AGPS Carrier settings #####

#################################

CURRENT_CARRIER=common

DEFAULT_AGPS_ENABLE=TRUE

DEFAULT_SSL_ENABLE=FALSE

# TRUE for "User Plane", FALSE for "Control Plane"

DEFAULT_USER_PLANE=TRUE

-SAVE THE CHANGES AND, IF YOU WANT, REBOOT YOUR PHONE

-ACTIVATE THE GPS AND "LE JEUX SONT FAIT" XD

VIA-->http://xdaforums.com/showthread.php?t=1060963&page=1
[Galaxy S II General] paco68:
Open RIL

Please tell me what Nightly version contains the first time Open RIL ?

Because since May 26 I have this GPS issues.

---------- Post added at 12:17 PM ---------- Previous post was at 12:11 PM ----------

Why I need to make any changes on that gps.conf if the same gps.conf working great with one ROM and with the latest don't.
[Galaxy S II General] Michael B.N.:
Did you rename the apk, delete the old gallery or anything else? I can't make it work...
[Galaxy S II General] szymko1995:
Can you prepare or anyone else make a proper gps.conf file, because I'm not at home and can't do it.

Wysłane z mojego GT-I9100
[Galaxy S II General] snalfio:
yes i can, but you have to modify it anyway with the name of your nation..!!!
[Galaxy S II General] szymko1995:
Just had a problem with making a file.

Fix works well. It gets fix in less than 30 secs.

Here is a ready file for polish people:

http://db.tt/346WkwOL

I think you should include such a fix in new build. Without it gps just don't work in most of users. [MENTION=3208754]codeworkx[/MENTION] [MENTION=2588207]kalpik[/MENTION]

Wysłane z mojego GT-I9100
[Galaxy S II General] mr.faridcom:
Never ...

Just do the following:

Place the file in system/app folder

Correct the permissions -you can look to any other app's permissions in the same folder

Reboot ..

voila, now I have tow gallery/camera apps :D

Regards
[Galaxy S II General] SimboXXX:
Not true. Don't know what's wrong with your setup but I'm in Poland too and I have no problem with GPS.
[Galaxy S II General] snalfio:
why you say not true? it's not true for you, not for him, me and many others.

anyway there's no need to add a fix in the new build. it takes just a second to edit the gps.conf in case of gps issues.
[Galaxy S II General] ciborio:
GPS FIX problem

I want to expose a problem with the GPS FIX

I tried with both the stock rom 4.1.2 with Samsung XWLSD CM10.1

Both with baseband modem XXLS8

With the Samsung stock rom, sees 6-7 satellites: the GPS fix takes 3 seconds.

With CM10.1, sees 4-5 satellites but the gps fix takes 10 to 40 minutes!

I tried to edit gps.conf (with italian and european snp servers settings) and sirfgps.conf but without changes.

I also tried other ROM: AOKP and vanilla rootbox, dorimanx kernel and has the exact same problem.

Some solution?
[Galaxy S II General] SimboXXX:
Not true that it doesn't work for 'most users'.
[Galaxy S II General] Toxic17:
Downloaded new nightly and installed over Stock 4.1.2 XEU Rom. 10.1 still uses tmobile rather than EE. Also I set network manually to Orange. and guess what, it changed again to tmobile. Also Bluetooth sound when connected to Kenwood DNX520VBT is appalling. Sounds like the caller is underwater.

Back to stock rom again...
[Galaxy S II General] snalfio:
did you read my solution? page 1619
[Galaxy S II General] Vahooli:
i was on 0501 version now i do :

nandroid backup

wipe data/factory

format data

format cache

format system

format preload

wipe delvik

installl this rom ( and another time install linaro rom )

reboot

and wifi doesnt work again

but i install 0501 and wifi is ok ...
[Galaxy S II General] choocheehaha:
My GPS is still stuffed even after trying several different NTP servers.

Does anyone have a feeling if the problem started with the recent sensor fixes to the S3 kernel we recently received? For me I think the timing coincides.

Maybe there is still a sensors issue on our device...
[Galaxy S II General] szymgio:
New gallery and camera app from Google edition phones works great on CM 10.1, photosphere works perfect :D
[Galaxy S II General] ciborio:
by editing the gps.conf, we optimize the AGPS (assisted GPS that works with

* the wifi or data connection).

I have problem with gps fix, which can be done even without AGPS.
[Galaxy S II General] Michael B.N.:
It works now with both the Google edition camera and the one from CM. My mistake was that after flashing CM I used to flash an older version of the Google camera with photosphere so I already has two cameras. Then I couldn't get the new one too, so I flashed CM again but not the camera. Then I followed your instructions and now everything is fine. Thank you :good:
[Galaxy S II General] CRXed:
You can set all these variables with this app: FasterGPS -> https://play.google.com/store/apps/details?id=org.fastergps

It will edit the gps.conf file for you :good:
[Galaxy S II General] szymko1995:
So for you gps works without any problem without this fix?

Wysłane z mojego GT-I9100
[Galaxy S II General] CRXed:
After editing with that app, it helped get a fix faster.

Lock in 18 seconds (see screenshot) when I was

INSIDE

by the window.

Running nightly 28th.
[Galaxy S II General] ciborio:
I have tried Faster GPS, but without big changes.
[Galaxy S II General] szymko1995:
Me too. This fix posted some time ago is the only way to get a working gps for me on cm 10.1.
[Galaxy S II General] Andreewww:
Is there a definite guide to solving the calling problem? I can't call anyone, the dialer either stop the call immediately or just hangs there without hearing anything or being able the stop the call. I searched everywhere already and tried quite a few solutions yet nothing fixed it. Thanks
[Galaxy S II General] lutanica:
I rarely post anything here, but I gotta know. Everybody is talking about how smooth CM10.1 is in comparison to CM10. But I see a good deal of jitter and small hiccups in CM10.1. Is it only me or other people see those too??
[Galaxy S II General] ajislav:
Would you mind telling us when was the bug patched? In other words, which older builds are affected/vulnerable?

I'm on CM10 03/12/2012 which works just fine for me, so I want to know if I should upgrade to a more recent CM10 or CM10.1...
[Galaxy S II General] AbyssTrion:
Gosh, I just installed the 10.1 from Dec 16.. But let the fun begin again :D
[Galaxy S II General] mr.raton:
I have uploaded cm-10.1-20121217-NIGHTLY-i9100 on the dropbox: http://dl.dropbox.com/u/2817145/cm-10.1-20121217-NIGHTLY-i9100.zip
[Galaxy S II General] Aroldoa:
After wipe data for superuser I still have FC ..
[Galaxy S II General] skymera:
Is multi-user feature in aosp 4.2 working on CM10.1 yet?

Had a play about but nothing seems to work and the option is greyed out for the "reboot menu"
[Galaxy S II General] Juzman:
Just flashed it. Mmm. Nightly. :)
[Galaxy S II General] codeworkx:
Only enabled on Tablets.

Do you use your phone with several users? Probably not.
[Galaxy S II General] serch826:
flash Vsync rom

With this build you can´t get this to work until codeworkx can fix it, you can flash Vsync build and you will get everything ok, i´m on this(vsync)

and works amazing.
[Galaxy S II General] nutmegy:
thought i'd ask in here too..

did start a separate thread for it but nothing of any use came out of that..

Can anyone tell me how to enable Expanded Desktop.. i know it's only for tablets... just i like an extra 5 mm of screen.. (it could be a size deficiency thing.. but hey it;s what you do with it that counts)

thank you please...

oh and try the salmon
[Galaxy S II General] galangdj:
Hate to admit this Codeworx but there are actually a lot of my friends who borrow my phone in my case. Haha. Just saying. Though nice to be enabled on phone too. :)
[Galaxy S II General] hyp3rstrike:
Just flashed it, set up my apps, personal settings and all that again.

Only issue that seemed to pick at me was the distorted sounds at higher levels (some default ringtones show this).

Question for Codeworkx, if you would indulge me one moment - what was the thoughts behind changing the overall look of the Clock application?
[Galaxy S II General] t-pip:
I'm seeing this on the Nightly. Anyone else?

Phone Details:

Phone: Samsung Galaxy SII i9100

ROM: Official CM10.1

Kernel: Dorimanx
[Galaxy S II General] voltsb333:
Superuser FC even

1. after clearing SU data/cache

2. clearing SU data - reboot

All apps requiring root elevation hangs after SU popup appears for a brief moment and disappears, before having a chance to press ALLOW button.

Might be just me, will try a fresh install and see.

GT-i9100 | CM10.1 | DXLP9
[Galaxy S II General] ottuh:
Just installed latest nightly over the latest unofficial build from Codeworkx. Superuser is forceclosing. As suggested I wiped superusers data. But, it is still forceclosing
[Galaxy S II General] meviox:
Works for me.

Perhaps an app that is requesting root rights?
[Galaxy S II General] maceddy:
I would.. 1 personal account and 1 work account.

But only if switching is easy and I don't have to use the 6 character password (#$@% Exchange policy) when I'm on my personal account.

BTW. Just installed the 16th build just before nightly came out :P
[Galaxy S II General] piddlpiddl:
Updating through CM- Updater should work as well. Just clear your cmupdater folder to make sure you aren't installing previous CM10s
[Galaxy S II General] D33PO:
Got it – cheers buddy!
[Galaxy S II General] Emporioo:
Awwww yeah official 10.1 :) this phone's still up there! :good:

Nice work as usual guys!!!
[Galaxy S II General] CRXed:
Did you try the Advanced Settings and change the values to the script that was posted?

---------- Post added at 03:02 PM ---------- Previous post was at 03:02 PM ----------

What modem are you on?

Have you used the Modem cleaner script?
[Galaxy S II General] ohwarumbloss:
Eh?

Downloaded 29th Nightly, fresh install (all wipe), installed my apps.

One App is Endomondo Sports Tracker which I always register with Facebook. After that I had a GPS fix already. But...I was indoors lol

Will test asap (weather is horrible today)

Greetings

Thomas
[Galaxy S II General] Andreewww:
Currently on XXLS8, I did try the script and it makes it stop the call immediately.
[Galaxy S II General] SimboXXX:
Yes. Cold fix 30sec. After, in 2 or 3sec.
[Galaxy S II General] CRXed:
Have you tried a factory reset?
[Galaxy S II General] ciborio:
Yes, but no changes! :crying:
[Galaxy S II General] Andreewww:
I did :/
[Galaxy S II General] doctor_droid:
Hi :)

Need to knw if I can dual boot this rom wid official stock jb rom (using siyah 6.05b)

M very new to Samsung. ..:/

Codeworkx says he wont answer questions related to custom kernels. ..besides someone else can?

Edit - also reading that past few nightlies are Givin bootloop...which one should I try ?
[Galaxy S II General] ciborio:
I just flashed the stable CM9.1 (Android 4.0.4) I tried the GPS, and takes 3 seconds to make the GPS FIX, I had the exact same result of Stock Samsung 4.1.2.

I compared the gps.conf and sirfgps.conf files of cm10.1 with those of cm9.1, and are identical.

Rule out that the problem is on these 2 files.

I can not understand what's wrong in CM10.1 that employs a lot of time to do the GPS FIX
[Galaxy S II General] schiznik:
Ask siyah questions in its own thread - the cm developers don't use it (in general, some may of course), so probably don't know the answer to your question..

As for boot loops, they are usually caused by "some-random-file-that-does-cool-stuff.zip" or similar :)

Personally I haven't had a boot loop from flashing nightlies in many many months, if ever...
[Galaxy S II General] pamarakos:
I m getting gallery fc when switching to photoshere:(

All other functions work ok!

I ll try to reflash cm and I ll return!!
[Galaxy S II General] ohwarumbloss:
FYI

GPS Lock takes 3 seconds on Endomondo Sports Tracker with Wlan off and mobile Data on. And it seems to be accurate as it recognized my moves in our Garden, which isn't very big ;)

Everything Stock on 29th build.

When turning off Wlan I had to switch to Airplane Mode once to get mobile Data back but I don't think its Rom related. (o2 Germany)

Else everything seems very fine and very smooth. Modem is XXMS2

Greetings

Thomas
[Galaxy S II General] :
Yup, this happens to me as well on o2 network (netzclub to be exact). Although i don't remember this happening on stock rom, so it could be some sort of incompatibility with cm. Wouldn't be the first time that cm roms face problems in certain networks:p
[Galaxy S II General] ohwarumbloss:
Nope, I had this on any Rom since 4.1.x

It happens only after staying a while in a Wlan. I searched the Problem and found many people having the same trouble but no solution. So the only help is to toggle Airplane Mode and back..

But there are no other Problems on 29th build so far so I am very happy :)
[Galaxy S II General] bleuxeon:
Same here : I have tried both manual editing, and Faster GPS = no luck, all I get is a random GPS FIX after more than 10 mins.

There is definitly something wrong with the GPS in latest nightlies.

Edit : I did forget to say that when I'm lucky and get fix, the accuracy is horrible : in best case, its arround 30 meters!...
[Galaxy S II General] Michael B.N.:
I also get fc - I haven't tried it before you mentioned this... I've tried a zip flashable version of the new camera and it works, but I can't fint out how to keep the CM camera together with the new one. So now I've gone back to the older version of the Google camera together with the CM camera.

If anyone knows a solution to keep the CM camera together with the new Google camera (with photosphere working) then please tell us...
[Galaxy S II General] jgcaap:
Anypne há ing problema with GPS?

Enviado do meu GT-I9100
[Galaxy S II General] ph3n0mII:
Hmmm...Interesting :cool:
[Galaxy S II General] #Umair:
People having GPS issues, can you give this a go?

https://play.google.com/store/apps/details?id=by.zatta.agps

(Original post by Berco Bosker on CyanogenMod's G+ community page)
[Galaxy S II General] bleuxeon:
zero change here (FRANCE)...

Edit : mhh...slightly better accuracy : 10 meters instead of 30 meters, but also fix seams to be faster after the first launch of GPS.
[Galaxy S II General] SimboXXX:
No one, just you.
[Galaxy S II General] RenanAZ:
GPS problem FIX

Hi,

Here is how I

fixed GPS lock problem

:

1 - Make a full backup with Titanium, and copy your data from internal SD card.

2 - Boot to CWM recovery, access "Mounts and Storage"

3 - Format all internal partitions,

4 - Flash current rom and G-apps,

5 - Boot CM, install GPS test app and GPS will lock in TWO SECONDS!

Attention, this proceedure will erase ALL YOUR DATA. Make a full backup of your data, including internal SD card and proceed at your own risk.

Tested it with two i9100, 06/22 and 06/28 builds. All good.:good:

Please give your feedback :cowboy:
[Galaxy S II General] feydakin:
Same here Gps problem with the newest nightly (gps was working fine 3-4 days ago)

Gesendet von meinem TouchPad mit Tapatalk 4 Beta
[Galaxy S II General] William_robe:
Good bye and until soon to all, mine galaxy s4 finally arrived, i will soon will be ready to test a new CM in it.
[Galaxy S II General] iamnotkurtcobain:
Cm10.1 on the 9505 is perfect :)

Gesendet von meinem GT-I9505 mit Tapatalk 2
[Galaxy S II General] CRXed:
-Uninstall/Delete CM camera (with TiBu or just remove the gallery.apk)

-Install the Google camera (no flashable zip, find an APK file, see Androidpolice)

-Now you have 1 new camera

-Flash latest nightly

-Now you have 2 cameras, old and new
[Galaxy S II General] bleuxeon:
Why do answer that?! At least 10 people allready reported that GPS behavior in lastest nightlies is not working correctly.:rolleyes:
[Galaxy S II General] jcasares:
I don't see a change with these changes. Still can't get a fix.

This seemed to fix the issue. Before this I had no fix at all even waiting for 15 minutes in an open ground.

With the changes this app does, the first time took a minute and after that in 6~10 seconds you get a fix.

What I don't understand is in what differs this from the changes on the previous script. :p

We already had an issue with GPS fix with CM9 and Entropy512 fixed it at that time. The problem is that they are now burned with the Exynos platform and they won't come to our rescue. :(

I'm definitely moving to a 9505. I retain removable battery, microSD slot and hardware buttons while being able to use CyanogenMod that IMO it's the most practical and polished ROM. I grew too accustomed to the improvements here and there.

In any case the SII is a wonderful phone, robust and comfortable. We had really nice roms to use but with CM 10.1 it feels laggy. I will most probably miss it.
[Galaxy S II General] vikashhero:
GPS issues: - Change SUPL host to: supl.nokia.com:7275

This thread: http://xdaforums.com/showthread.php?t=1821417 Which links to here has given me better results. Got a fix in my bedroom.

I connected to 5 satellites instead of just 3, and They're located and processed much faster in GPS test.

For those of you new to this issue and this thread: use FasterGPS (Requires root) to change these values and GPS Status to read.
[Galaxy S II General] pamarakos:
It works and in fact you just need to copy back gallery2.apk instead of reflashing nightly+fix permissions of course!

Thanks a lot

EDIT: New cam just stores a grey photo as soon as stock cam is back (after reflashing the nightly) although before this it s working fine:(
[Galaxy S II General] Michael B.N.:
Thank you :good: . Everything seems to work as it should.
[Galaxy S II General] GalaxyGusta:
GPS GPS GPS
[Galaxy S II General] Karpfenhai:
Afaik it doesn't work this way, it took me 2 hours today and a full restore to find a reliable way...

If you use the htc one version (normal install), your current camera will be updated / messed up..

If you flash the zip and put back the gallery2.apk from cm, it will be ignored by the system...

Maybe it's because I already had a GalleryGoogle.apk installed (4.2 camera)..

So, since this discussion is way off-topic.. if someone wants to have both apps fully working (including photo edit but with focussing crash while recording, just drop me a pm and I'll write a short tutorial, it's about one flash and 2 reboots, can easily be done within 10 minutes.

Regards.

sent from my Nexus 10
[Galaxy S II General] CRXed:
Works fine for me!

I got 2 fully functional camera's and I just freeze one that I don't want to use temporarily
[Galaxy S II General] Karpfenhai:
No question on that, I tried and I failed so I found another way, which maybe fits for others too :cool:

But let's keep the thread clean, thx.
[Galaxy S II General] don.nasco:
RIL problem

Hi,

I have problem with my phone and I think it's RIL related.

I used:

adb logcat -b radio > filename

May I help with more info?

Thanks for you time,

Atanas

Edit: Phone boot, but can't connect to mobile network and sometimes it reboots.
[Galaxy S II General] jgcaap:
GPS takes to long ti fix . I even thought was fault of hardware flashed Sammy ROM to test and with Sammy ROM it fixes quickly. I decided to restore my backup and tried some of the suggestions such of formating cache and dalvik, as using GPS test app. GPS test app does in fact show me 7 or 8 satellites. But only fixes 4 or 5 when before it fixed 8 and found 10 or 11. There must really be some issue with this ROM for some of us. Is there anything we can do to help provide with a fix? Thanks.

Enviado do meu GT-I9100
[Galaxy S II General] vikashhero:
I posted a possible solution on page 1624. There's another option on page 1619.
[Galaxy S II General] mlazzarotto91:
Hi, I have a Dropbox folder with some old CM nightlies (yes, even mid-june ones).

This is the link

db DOT tt SLASH 6Xw2zfLb

Inviato dal mio GT-I9100 con Tapatalk 4 beta
[Galaxy S II General] CRXed:
http://goo.im/devs/cm/i9100/nightly
[Galaxy S II General] choocheehaha:
I'm pretty sure the GPS fix issue is to do with the sensors fix change that was put in after we got the I9300 kernel merges.

No amount of NTP changes will get around that.

Now to somehow prove it....
[Galaxy S II General] :
Seems plausible. We need someone to test the nightly exactly before that change then.

Oh but the fixes do work, at least for me. They are not only ntp changes BTW, they also add extra parameters in the gps.conf file. Maybe those parameters are the missing link?
[Galaxy S II General] Spyr0s:
To all those with GPS problems...

Please provide a traceroute of the NTP server you are using at the time you tried to get a lock, also remember that many of the gps.conf fixes use intermediate positioning. With intermediate positioning your device can lock very fast because the device is using data from GPS satellites that are not fully locked. So in a few words you have a fake lock.

To test your GPS for the first time, enable WiFi, enable Mobile Network, go to your balcony or window, open GPS Status or similar app and wait. You should have a lock in 30 seconds more or less.

Posts like omg i have a GPS lock indoors within 3 secs, with 15 satellites and 5m error with the XYZ phone or ZXF gps.conf are crap because the methods being used is different.

Maybe there is a problem with openRiL because long time ago ad when we were still using samsung ril networklocation and geocode overlay was removed and that's why you see

"REQUEST_GET_NEIGHBORING_CELL_IDS error: com.android.internal.telephony.CommandException: REQUEST_NOT_SUPPORTED"

errors in radio logcat but that happened to save battery and i'm not an expert and i don't know if this has to be reanabled now that we use openril instead of samsung ril. Maybe codeworkx can answer this question.
[Galaxy S II General] choocheehaha:
So far I've found that with the newer builds my compass is initially off ~10° from where north is.

After a minute or two I get a GPS fix and north reports where I expect it to be.

I flashed a build from May and north is initially where it should be and GPS fix is quicker.

I'm using 'GPS Status' and 'My Android Sensors' from market to test. Now to check the recent commit for changes to the magnetic sensor...