yashsingh1/xdaforums huggingface dataset:
[Galaxy S II General] segelfreak2:
And for the usage of the "MI_GetStaticNav" and "MI_SetStaticNav" functions see:

read.pudn.com/downloads28/sourcecode/embed/88065/SDK%20Users%20Guide%20Part%201%20-%20Software.pdf

Page Nr. 196

Is it possible to use the functions defined within the .so file from your own programs???
[Galaxy S II General] aerobahn:
Yes, it is possible and easily done.
[Galaxy S II General] Entropy512:
Not Applicable.

The GS2 has a GSD4t, not a GSD4e. It's the "crippled" version of the Star IV that uses the host processor to do all the work.
[Galaxy S II General] segelfreak2:
Hello Entropy512,

thank you for your comment. I know that the SGS2 has a GSD4t unit. But despite the document is named GSD4e OSP Manual... it is also applicable to the GSD4t version. So it is written in the document. And as I posted, there is a .so file who has all these functions in it. We just need to use it. And I think that the functions provided within gps.s5pc210.so are really worth a try.

Hello aerobahn,

many thanks also to you for your input. Your answer sounds great in my ears :) . I think it should be worth a try if it is really so easy to use functions defined within a .so library file. I do not have any experience in programming for android, but if someone who has would try it I would appreciate that. Because without static navigation the SGS2 would be a very good GPS logger too. And this can be somtimes very valuable, for geocaching, hiking tours, even low speed navigation...

Best regards,

Chris
[Galaxy S II General] segelfreak2:
No one who wants to try? Please. If you succeed I'm willing to honor your effort.
[Galaxy S II General] zymmer:
I have no programming skills at all but i am able to test whatever lib is generated :)

I can test daily in a 30 Km path (and 30 Km back).
[Galaxy S II General] steffato:
segelfreak2, what you really want is to enable satic navigation and not disable it, as it is already disabled by Samsung. Static navigation disabled means filtering is ON. Static navigation enabled means filtering OFF. It is a common misconception.

Nevertheless, I have developed a tool called GPS Control for SGS2. You can check it out on market. It does exactly what you need. Just remember to reboot after changing Static Navigation config. It requires root access and works only on I9100.

You are welcome to propose any additions you might want in future versions.
[Galaxy S II General] Raudi1:
The app doesn't work with CM7. I'd like to know if static navigation is enabled in CM7 by default.
[Galaxy S II General] steffato:
Yes, it is not supposed to work with CM (yet). Just send me your gps library file (.so) and I can update the app so that it works with CM also. (or I'll just send you a modified .so)
[Galaxy S II General] TheSniperFan:
It's not working with MIUI too. If you tell me which file(s) you need, I would give them to you. At the moment it just says unknown driver.
[Galaxy S II General] steffato:
In recent stock firmwares the file is /system/lib/hw/gps.s5pc210.so

In older ones the file was /system/lib/hw/gps.GT-I9100.so
[Galaxy S II General] mengsuan:
I'm curious, why did Samsung disable static navigation by default?

I think this would be good for those who uses the phone to track their marathons etc
[Galaxy S II General] Raudi1:
As long as you don't walk the marathon, you should be fine ;)

@ steffato: I've sent you a pm with the .so files
​
[Galaxy S II General] steffato:
Just updated the app in the market. It now should support both MIUI and CM. Try it and I 'm waiting for results. Thanks for your input.

Please be patient. The update may take some time to show up in the market.
[Galaxy S II General] mengsuan:
I tried endomondo on the phone. It does "pause" my location and then update seconds later. Average speed is 9-10km/h
[Galaxy S II General] steffato:
Don't forget to reboot after changing setting. It's required or there will be no change. On some cases the phone may crash and reboot on its own, unless you rebooted after changing settings.

If you want to check your gps behaviour after enabling static navigation, you should try disabling any filtering options that you app might have. I test with locus after disabling filters.

Don't test it with googlemaps. There is filtering in that app, therefore gps behaves the same either with sn enabled or disabled.
[Galaxy S II General] tomeks:
thank you.

your program is working quite good.

mayby you should create a separate topic in the original dev forum?

the question is how it influence battery life?
[Galaxy S II General] steffato:
It shouldn't have any impact on battery life. The only case that I can image that would affect very very slightly the battery life is the following:

You are standing still and you use an application that doesn't do any filtering and as a result redraws the screen every second (with sn disabled it wouldn't redraw after finding a good fix). Even in this case the difference in battery usage would be negligible.
[Galaxy S II General] TheSniperFan:
Well, unfortunately it doesn't work for me.

I think it may be due to the version of MIUI I use.

I use Galnet MIUI 2.11.26, which is based on Android 4.0.1.

I checked the "/system/lib/hw" folder and cannot find the file from your post. However I found those:

"gps.goldfish.so"

"gps.smdkv310.so"

"vendor-gps.smdkv310.so"

Your app gives me the incompatible device error. It says that my device is no I9100.
[Galaxy S II General] Raudi1:
On CM7 there are the same files (at least the names are the same). So the app probably has a problem with ICS.
[Galaxy S II General] TheSniperFan:
It seems to be a problem with the detection of the device. I hope the developer of the app can resolve the problem.
[Galaxy S II General] :
No problem.Got it.
[Galaxy S II General] steffato:
Here it is:

http://market.android.com/details?id=com.fatdroid.android.gpscontrols2ad

I will remove the device check in the following update, so that more people can test this on their phones. If it doesn't work on your phone (Sirf star only phones) then pm me and I will support your device.
[Galaxy S II General] JAmerican:
Could you add support for the Epic 4G Touch. It's hardware is quite close to the European Galaxy S 2
[Galaxy S II General] steffato:
I updated the app. Version 1.02 adds support for Galaxy Nexus and improves support for CM/MIUI.

Unfortunately for Epic 4G users, it seems that there is no SiRF chip in your phones, so I cannot support it.

Please be patient. It may take up to 2 hours for the update to show up in market.

Waiting feedback. Thank you all guys.
[Galaxy S II General] segelfreak2:
steffato,

thank you so much for your help. I lost track of this thread for quite a long time now. And yesterday I stumbled upon my thread again and couldn't believe my eyes that there was a solution to my problem.

So, I tested your app and it worked great! So I bought your donation app to support your great work. Keep on this good work. I love it!

Thank you very very very much :)

You made my day!

Best regards,

chris
[Galaxy S II General] Crescendo Xenomorph:
The SiRF site mention about SiRFHost™ software to control the SiRF chip.

Forgive me if I wrong, I got impression that SiRFHost™ is the control panel of the chipset. And it also mention that SiRFHost™ software is residing in host processor.

So the question is: What's host processor? How to access those SiRFHost™?

BTW, long ago I created thread about SiRF config file inside stock i9100 ROM (/etc/sirfgps.conf) here: http://xdaforums.com/showthread.php?t=1322765 which now can be configured via latest version of Ondoteam's GPS-Aids.
[Galaxy S II General] tower27:
Hi,

when I start your app, I always get the error:

"Backup available: Failed"

What can I do now?

Thanks

Thomas
[Galaxy S II General] Mechdave:
URL no longer working

I have chased around the internet and tried to find the above pdf file to no avail. Could someone post a working link to it so I can use it please? read.pudn.com no longer exists according to my whois searches

Cheers,

Mechdave
[Galaxy S II General] Mechdave:
Now found file again

G'day All,

After much searching I have found this manual once again. The domain has changed but it has exactly the same server path as the old domain. Here is the address -->

read.programsalon.com/downloads28/sourcecode/embed/88065/SDK%20Users%20Guide%20Part%201%20-%20Software.pdf

Thoughtg I might report back in case anyone else is looking for it too :)

Cheers,

Mechdave
[Galaxy S II General] Entropy512:
The CPU is similar, but many of the peripherals are vastly different. As far as I can tell, it uses a Qualcomm or Broadcom baseband solution, and the baseband chip happens to include GPS - so instead of using a SiRF Star IV, it uses GPS capability from the baseband chipset.
[Galaxy S II General] tower27:
Can anybody help me to solve this problem?

----------------

Hi,

when I start your app, I always get the error:

"Backup available: Failed"

What can I do now?

Thanks

Thomas
[Galaxy S II General] bkf1:
I tap ENABLE, restart but after restart it is still disabled :(

I have stock XWKI4 2.3.4 (rooted).
[Galaxy S II General] bkf1:
Can somebody please post me EDITED and ORIGINAL (to compare) file gps.s5pc210.so?
[Galaxy S II General] bkf1:
Can somebody advice any SGS2 firmware with what is "GPS Control SiRF StarIV" WORKING please?
[Galaxy S II General] segelfreak2:
Currently I have Android 2.3.6 (Gingerbread) Build LA4, and all is working fine.

Ah, and I think you need root access. So your device also needs to be rooted.
[Galaxy S II General] bkf1:
Thanks for a reply (FINALLY someone responds:)). I will try XWLA4 (with root) ;-)

BTW do you know any 2.3.5/2.3.4 firmware on what is this tool working too please? I think 2.3.6 firmwares cannot be rooted "easy way" (by SuperOneClick etc.) but there is mess with CF-Root kernel flashing (I really don't want to tease my warranty).
[Galaxy S II General] segelfreak2:
Oh, before I switched to LA4 I was on KI4 (Android 2.3.4), and as far as I can remember I already used this GPS hack on KI4, so I think it should also work on a rooted KI4. At this time I rooted via the ZergRush Exploit, which did not increase my Custom Kernel Counter. After ICS, which was a total disaster, I reverted back to LA4, which is for me currently, in regard of speed, undervolting abilities and reliability the best choice.

At this time I started to flash via Odin and using the CF Kernels to root, and afterward other Kernels like Speedmod or Phenomenal for the daily usage. In my eyes there is no need to worry about loosing warranty. I bought a USB JIG (4$), so that I can reset the Custom ROM Counter if I ever need to return the device to Samsung. So they will never know what was on the device before. It's just a simple procedure:

1) Flashing a former 3 parted firmware like the KDF version

2) Reset the counter by using the USB JIG

3) Flashing the next higher Kies supported Firmware + setting the right CSC

4) Updating via Kies to the actual release

5) Returning the device :-)

So have fun with your SGS2. Life is to short to worry about warranty :-)
[Galaxy S II General] bkf1:
So If I understand it right, you have LA4 ROOTed right? Could you PLEASE send me original gps.s5pc210.so file and "tweaked" version of this file (stored in /system/lib/hw/)? :-P

BTW thank you very much for the guide how to root it but I would like to try safe way without JIG :)
[Galaxy S II General] bkf1:
Have someone at least old version of GPS Control SiRF StarIV please? It seems that latest version 1.31 is NOT WORKING on Gingerbread firmwares :-(
[Galaxy S II General] wanansmile:
:laugh:very good. 哈哈....
[Galaxy S II General] bkf1:
very fu*king not working on EVERY gingerbread firmware :laugh:
[Galaxy S II General] :
Hi,

The tool is also not working under the current ICS 4.0.4 Sammy ROM for Germany (XWLPW). The buttons are greyed out, even after a fresh installation.

Cheers

Zap
[Galaxy S II General] superdog404:
I have a SGSII I777 and the program is not working when on Jelly Bean 4.1.1. I reloaded ICS the other day and it was working on it. It is the Semi v17 rom by AJ Newkirk. When I went back to ICS the static navigation was still set so maybe it is still set being back on Jelly Bean. The Jelly Bean version is Slim Bean. I also tryed emailing the author with no return email.
[Galaxy S II General] bkf1:
Author is not responding and there is no chance to contact him. BTW I would like to know, on what firmware this app worked :-/ Maybe it requires some other way of rooting... I don't know...

TRUE is that if Samsung wouldn't make GPS like sh*t we wouldn't need this not-working app...
[Galaxy S II General] Namoi:
I use it on stock xwlpg.
[Galaxy S II General] bkf1:
And what root method have you used please?

BTW anyone with Gingerbread version on what this app is working?
[Galaxy S II General] Namoi:
I 'm on International GS2. Phone was first rooted using the standard Odin method with unsecure Kernel.

But when i installed that app i was already using Siyah Kernel...

I 've just upgraded to Neat UHLPS and the app doesn't work anymore ... as expected.
[Galaxy S II General] Sergiosaa:
What about for SGS2 SGH-T989???

What about for SGS2 SGH-T989? Is it possible to make it work and enable Static Navigation? Thanks !
[Galaxy S II General] tsukeh:
Temporary solution for enabling static navigation in JB ( RootBox-JB-i9100-V3.1.zip ):

Replace /system/lib/hw/gps.exynos4.so file with my modified attachment and no need to install GPS Control SiRF StarIV at all.

After replacing it, make sure it has right permissions (chmod 644) and reboot... :cool:

It might work with other roms as well. Check if the MD5 checksum of your gps.exynos4.so file is same...

MD5 of original library: 2712A60CFDDF95D5F4F61F41A1EBEA97

MD5 of modified library: B9F844182BB19680B867D052EAA325D1
[Galaxy S II General] Parrillo:
Thank you very much. I tried enable the Static Navigatin (in RootBOX 3.1 and 3.2) changing the sirfgps.conf in /etc but after reboot the GPS no more enable (stop working).

This file solve this issue. Thanks a lot.

The "GPS Control SiRF StarIV" start in RootBOX but not working.
[Galaxy S II General] tsukeh:
...and here is modified gps.exynos4.so, taken from [I9100][ROM 4.1.2] Stock 4.1.2 JB - real deal

I haven't tested it, but it is modified the same way as previous so it should work.. :fingers-crossed:

MD5 of original library: CCBBBBB5023EC7C815807D37AAC65FFB

MD5 of modified library: AB05F04F1CE238083DAB33BC753BCA88
[Galaxy S II General] Sardunya:
http://market.android.com/details?id=com.fatdroid.android.gpscontrols2ad

--

I want to download from goggle play.

But I'm getting a message that says;

"Your device is not compatible with this version"

My device: Galaxy S2. JB 4.1.2

Can you give us a link.

Thanks.
[Galaxy S II General] tsukeh:
There is no point to install current version of it, because it's incompatible with newer gps.exynos4.so...
[Galaxy S II General] Parrillo:
tsukeh,

I tried with XXLSJ but the gps not get better. With me the original file is better than this.

In CM10 (Rootbox) with the last file was perfect, gps fix with some seconds.

I'll make some more tests.

Thanks for your work.
[Galaxy S II General] lukesan:
@tsukeh any way to create one for GB roms?

@Parrillo This does not help the gps fix or time to get a fix at all. There is a sort of filtering that is enabled so if you walk (less than 5kmh) the position doesn't update properly. The advantage of this is when you use the GPS in the car that when standing in front of a red light the car keeps on standing still on the screen while the data might move around a bit. But if you go hicking or so you don't really want this to happen.
[Galaxy S II General] tsukeh:
Please upload the gps library somewhere so I can try.. It may be named otherwise than gps.exynos4.so.
[Galaxy S II General] lukesan:
Here you go.
[Galaxy S II General] tsukeh:
@lukesan Try the library from my first post, because the MD5 checksums are same. :)
[Galaxy S II General] lukesan:
Aha it seems to work. Was not to sure since it mentioned JB.

Any hint on how you altered the settings?
[Galaxy S II General] tsukeh:
Well, I took it from RootBox-JB-i9100-V3.1.zip, so I didn't know where else it would work. :o

I did a little investigation with [root] GPS Control SiRF StarIV + some old (compatible) library and found out that it changes only 3 bytes on specific offsets from 1 to 0.
[Galaxy S II General] bkraptor:
Would you be able to modify the stock XWLSD library (MD5: 79afaa9a4900866b43cc1af8fc7ebd3b)?

Or maybe share with us the changes required to enable static navigation.
[Galaxy S II General] tsukeh:
I got a different MD5 checksum.. :confused:

and it seems to be the same as here.. so, please try it :)
[Galaxy S II General] bkraptor:
Thanks. I used an online MD5 cheker to get the MD5 checsum, but apparently that was wrong. I will try it and post back.

<edit>

After flashing the modified library, GPS stopped working.
[Galaxy S II General] tsukeh:
Strange.. can you confirm that it has a correct permissions ( rw- r-- r-- ) and MD5 ( ab05f04f1ce238083dab33bc753bca88 ), like with ES File Explorer.. ?
[Galaxy S II General] bkraptor:
You are right. It was a permission issue. I figured it was something like that once I copied the original file and GPS still was not working.

The modified file is working as expected. Thanks.
[Galaxy S II General] tsukeh:
Here is a little script that can be run through CWM recovery (install zip from sdcard..).

It toggles between enabling/disabling Static navigation and it currently supports those few libraries I have modified. :)
[Galaxy S II General] LikeM8:
How to you use this fonction and do you use seria /dev/ttyO0 port to perform communication with the GPS chip?
[Galaxy S II General] ink0gnito:
i applied the zip via cwm and it ran w/o problems, confirming that it was successful.

i'm curious if it works as expected. will test it soon ;)

thx for your work.

edit 2013/03/24: works perfect! that's what i was looking for :)
[Galaxy S II General] bkraptor:
XWLSJ (the new Nordic ROM) has the same GPS library file as the one in this post. I confirm it works.

Thanks.
[Galaxy S II General] Saiyajin:
Thanks a lot - seems to be the right file. Using with siyah Kernel and NeatRom
[Galaxy S II General] edzamber:
Thanks a lot, works great !

Posté via Vanilla Rootbox
[Galaxy S II General] Klocek94:
How to disable static navigation on Cyanogenmod?
[Galaxy S II General] roxetak:
Sorry, but is there some simple way, method to enable/disable static navigation. Samsungs developers are so stupid? They could put this function directly to menu with new droid. Or to secret menu. If the same problem got a samsung xcover 1 or 2. Then is not a outdoor phone, is only a f***ing brick. So I must root my phone (i am lazy, i dont want), then use some application (i am not sure if work oon ics android 4.0.4), or rewrite some system files, install some script. Why so complicate, samsung employers, developers are so lazy and doesnt want to solve this stupid problem with sirf IV? I am only asking, sorry. Somebody send response to developers. If not I could. Maybe today when I come home. Because I am so sad and angry when I want to find some geocaches with this "iron" phone. Thanx.
[Galaxy S II General] pen²:
Any zips like that (or hints which bytes to change) for a gnex gsm (maguro) jb 4.2.2. with a gps driver called gps.goldfish.so in system/lib/hw?
[Galaxy S II General] tsukeh:
Share your lib and I will check if I can modify it.
[Galaxy S II General] pen²:
Ok thanks :) Lib can be downloaded from

https://dl.dropboxusercontent.com/u/86505156/gps.goldfish.so

md5=610146c65bb...

From Maguro, jb 4.2.2, recent paranoid android (although cm/aokp share the same lib)
[Galaxy S II General] tsukeh:
It's totally different than S2 gps library (10kB vs 1700kB). I have no clue... :(
[Galaxy S II General] pen²:
Damn - but thanks for taking the time to have a look at it
[Galaxy S II General] tsukeh:
Btw, have you seen/tried this?
[Galaxy S II General] pen²:
Yup, thanks - unfortunately it doesn't work for maguro either
[Galaxy S II General] iNDEX3:
Hi all!

How can i use this solution in Samsung s7710 (Galaxy Xcover2)?
[Galaxy S II General] tsukeh:
Can you upload the gps library of your device to somewhere, so I can check if there is anything I can do?

It should be named as: /system/hw/lib/gps.montblanc.so

EDIT: Xcover2 GPS library seems to be similar with S2, so I think it's possible to modify... :)
[Galaxy S II General] iNDEX3:
maybe /system/lib/hw/gps.montblanc.so ?
[Galaxy S II General] tsukeh:
[MENTION=2766389]iNDEX3[/MENTION]

Ok, please try this... make sure it has same permissions as before and reboot.

!!! THIS IS FOR S7710 - SAMSUNG GALAXY XCOVER2 !!!

MD5 of original library: 1d4caca376e093eb972715027fbf33b2

MD5 of modified library: 82bad2522c5c1d3db8203cbea9f64a1b
[Galaxy S II General] iNDEX3:
Thank you very much!

It's working! The track was smooth. Tomorrow will check in forest.
[Galaxy S II General] LibertyO:
Hi Gyus,

First of all - its realy nice thread.

I have got the S7710 Xcover 2. I bought it becouse of glonass in order to record my run tracks. Gps is getting fix in seconds, so thats no problem... but the problem is in accuracy.

Im not sure why that happens. Looks like GPS has some miscalculations (approximations?) - creates offsets and cuts corners on tracks (simplifies them). I tried many configurations (also new gps.montblanc.so), but to be honest - no much improvement.

I made a comparison between xcover 2 and my old HTC Legend. One run, two phones. As you can see the HTC is much closer to the actual track while xcover2 is lost somewhere in the forest :). Im aware that the terrain was quite dificult to GPS (hills and forest)... but conditions were equal for both phones. Anyway this has been made on a good weather conditions. On cloudy day Xcover2 can lose 1km out of 10km...

And my question is... it can be fixed or its a hardware issue (for example worse gps antenna etc)?
[Galaxy S II General] edzamber:
@ tsukeh,

Hi,

Do you have a solution for i9300 ?

Thanks a lot :)

Posté via Vanilla Rootbox
[Galaxy S II General] tsukeh:
Share the lib and we will see.. :)
[Galaxy S II General] edzamber:
Ok thanks. Do you need everything in hw folder ?

Posté via Vanilla Rootbox
[Galaxy S II General] tsukeh:
Does it have anything with *gps*?
[Galaxy S II General] edzamber:
Here is files from system/lib/hw (Vanilla Rootbox, i9300)

gps.exynos4.so : https://www.dropbox.com/s/uosptvjk4zio9n1/gps.exynos4.so

gps.goldfish.so : https://www.dropbox.com/s/k31npe5b5z6juwm/gps.goldfish.so

Thanks a lot for your good job. I use it for my i9100 and works perfectly, i can fix in 3 seconds :)
[Galaxy S II General] tsukeh:
Totally different than S2, so I can't help you.. :(

but are you sure, that static navigation thing affects i9300?
[Galaxy S II General] edzamber:
I don't know, it was to test if this mod can works on my S3 as far than on my S2...

Posté via Vanilla Rootbox
[Galaxy S II General] marc.knuckle:
hey guys.

i am using resurrection remix 4.0.4 currently but installed the patch and sirfIV app while on 4.0.3 and it worked fine. now i am on 4.0.4 i tried to install the patch (i presumed it was needed again but i am not sure as i installed 4.0.4 over 4.0.3 without a wipe) but the flash of the zip failed. maybe i didnt need to.

when going into the app i saw this screen which clearly shows neither white box is clickable, both are greyed out and the error came up saying cant write to external storage.

what am i doing wrong?
[Galaxy S II General] tsukeh:
GPS Control SiRF StarIV app haven't been updated for a while, so it only works with older GPS libraries.

You should use this, until the app gets an update.
[Galaxy S II General] marc.knuckle:
thanks. will i still use the sirfIV app along with this new script?
[Galaxy S II General] tsukeh:
There is no reason to use it, because it doesn't currently recognize the newer GPS libraries.
[Galaxy S II General] bkraptor:
The script fails to set the correct permissions on the file. Instead of 644, the resulting permissions are 600, which breaks GPS. Can a new revision of the script also perform the correct permissions change?