yashsingh1/xdaforums huggingface dataset:
[Android Q&A, Help & Troubleshooting] idumych:
So I'm a bit of a paranoid guy, and I like to use security extensions in my browser to keep companies from spying on me, such as Ghostly and Adblock Plus. I'm also concerned about AT&T tracking my browsing history and so on.

What are some good security apps for Android? I found Adblock Plus but I can't seem to find anything like Disconnect + and so on, the kind of stuff they have listed here http://donttrack.us/
[Android Q&A, Help & Troubleshooting] sepehrthegreat-iran:
Read my article here about orbot.i think it will keep you safe enough;)

http://xdaforums.com/showthread.php?t=2088703

♥gt-n7000 galaxy note 4.0.4 using xda premium♥
[Android Q&A, Help & Troubleshooting] bleggy:
you would probably be better served w/ adaway since it blocks via hosts. you'll need to be rooted, of course.

and if you're serious about privacy, read up about tor.
[Android Q&A, Help & Troubleshooting] idumych:
I've tinkered with Orbot before, but how well does it keep the connection to the other nodes when you switch between GSM and WiFi?:confused:
[Android Q&A, Help & Troubleshooting] coolsandie:
Naked Browser seems secure enough browser as it demands.
[Vibrant Android Development] Moped_Ryder:
Looking around in various threads I found numerous gps fixes. In some (most) the files are not original T959 files. While they may work, since they are not T959 KB5 files the possibility of 911 working diminishes. I set out to find any gps fix out there and build a flash-able package that would reset everything back to the proper (or as close to) files for our phones (T959).

Also I have found some ROMs utilized the SUPL port of 7276. This port was found to create gps log-spam and the "fix" was to reset the port to 7275. This IMO also resulted in quicker locks.

See HERE and HERE for more info.

For the 911 info go HERE (or just click it in FaultException's signature)

What this tells me is you want matched GPS libraries with the proper T959 RIL.

So I have searched a few threads and found 1 GPS fix so far and built mine to reset or undo any possible mismatched files flashed. If you find any GPS fix that some might use for CM10.1 please post it an I shall try to adapt mine to reset it to the proper files.

I have made:

North American version (NA)

Europe Version (EU)

Global Version (GL)

USA Version (US)

Asia Version (AS)

YMMV between USA and North America if you live in the states.

2nd post I will also post my custom version with some extra advice and good signal locks. What I need is for people to nanadroid first and test it. Also to post / link and GPS fixes they may have come across so I can check them. Point to note is I am attempting to fix non T959 GPS fixes as much as make a good GPS fix for our phones. Posting links to other "fixes" will help. Thanks

With any JB / ICS ROM you have taken the responsibility of possible breaking 911. No difference here. Flash at own risk.

NANDROID FIRST!!!

Big thanks to FaultException for the time, info, and files required for our phones.

Original version may mute calls > Revert to nanadroid if the case. V2 shouldn't effect calls. Please test.

Checking original Froyo gps files here is the the MD5's Ive found so far:

JFD (558kb)

0F3376A81E85AE6044D2BF68D63E2A55

JI6 (554kb)

4761E7B01E0A71A048458F50DE64BC62

KB1 (554kb)

870A5D6F3542FD7421B215FCB37D884C

KB5 (554kb)

870A5D6F3542FD7421B215FCB37D884C

(KB5 is what is in CM10.1 also)

:eek:
[Vibrant Android Development] Moped_Ryder:
Ok here is the file for my custom GPS setup. I have not had and deep-sleep issues (DS). Some of the following may work, or not. Its just some tips and stuff I do.

Zip file attached. NTP is set to north america so you can edit as needed.

This will also install Angrygps app for you. When you boot up open the app and set the following:

Settings > General Settings > Operation Mode = "MSBASED"

Settings > SUPL Settings > Server = supl.sonyericsson.com and PORT = 7275

Also I suggest you install an app called LeoAGPS injector. Found HERE

Install it like any normal app (no push), open the app and select "Pop-up message". After that go to your home screen and app the LeoAGPS widget. Click the widget to inject AGPS data. Wait a few seconds then reboot.

Try out the GPS and see how it goes.

Version 1 broke sound on the RemICS ROMs so I pulled the RIL files out. Now just custom gps files / fixes
[Vibrant Android Development] Moped_Ryder:
Change log:

Added a USA version. May or may not work better than the North America version.

1/10/2013 - Since it appears the version 1 broke phone sound on the RemICS builds I removed the RIL files. Now v2 will only fix / replace gps files and not RIL files.

1/18/2014 - Added some MD5's of gpsd/agpsd files Ive extracted from Samsung dumps.

GPS fixes reset:

http://xdaforums.com/showpost.php?p=33575684&postcount=504
[Vibrant Android Development] Moped_Ryder:
If you want to try and adapt it to your specific country:

Open in a text editor: /system/etc/gps.conf

Change the NTP server line (top line) to your country. Country list found HERE

Edit / reboot / check

I do suggest the LeoAGPS app in post #2. It has seemed to work well for me.
[Vibrant Android Development] davidgs:
Thanks for this awesome post! I know I'm suppose to test these files before asking but you might already have the answer: with these fixes, in your experience, do you still need to get a lock before DS in order to prevent issues after DS? Or after you reboot and getting into DS before locking first, you are able to get GPS to lock after DS?

Thanks for all your help!
[Vibrant Android Development] ioancr:
It was not addressed to me, my 5 cents anyway. I think it's more a kernel issue, at least it was so on ICS until the great SubZero came into play. You should try his GPS-wrapper, I think it could help (preventing the GPSD getting incidentally corrupted) - find the flashable zip in the "3 files fix" post of Jrafael (see post No 3 above).

I am also very interested in getting our Vibrant's GPS as much functional as it can be. My own "fix" (check for Igps.zip) was giving me best results for accuracy (down to 3 m!) on some ROMs (JB 4.1 and 4.1.2, but not 4.2.1). I found out that there are many useless files (such as gps.xml or secgps.conf), and that GPS will still lock and pretty quickly even without gps.conf tweaks (and even without this file). However I don't have coding skills to organize my empirical findings.

@ MR - where did you get your RIL files from, with the Europe fix file I have no sound on phone call (I use instead the MP's RIL files, working fine for me).
[Vibrant Android Development] Moped_Ryder:
Got the RIL from KB5 / CM10.1 - same boat here about sound. Gonna pull the downloads and check on it. If anything Ill re-up without the RIL and just GPS files and try again. Im getting what looks to by Bluetooth errors when trying to connect. Even when BT is turned off with the RemICS ROMs.

Whenever able CM10.1 use the Froyo KB5 RIL / Drivers and such. Some times it just doesn't work. The RIL and AGPS files from Froyo KB5 match the CM10.1 ROMS.

Testing my original fixes - the following so far are the outcomes:

RemICS-JB: Breaks sound. Version 1 RIL and GPS doesnt match CM10.1 / KB5.

Slimbean: No issues - Sound works fine. Confirmed the base RIL / AGPS files in ROM match CM10.1

HellyBean: No issues - Sound works fine. Confirmed the base RIL / AGPS files in ROM match CM10.1

CM10.1: No issues - Sound works fine. Confirmed the base RIL / AGPS files in ROM match CM10.1
[Vibrant Android Development] Moped_Ryder:
FIRST

I will apologize to those who flash the original version on RemICS ROMs. It broke your call sound. Return to your nandroid and all should be well. For those on Slim / Helly / CM10.1 you are fine.

The RemICS ROM is very smooth but the RIL / GPS files don't match the Samsung T959 KB5 (also in CM10.1) files. Replacing 3 of the RIL files with the proper KB5 ones broke the sound. Ill keep at it.

For now - Version2 no longer replaces and RIL files. All the above GPS fixes will replace gps files / remove un-needed gps files.
[Vibrant Android Development] vik5:
First I want to thanks Mr. Moped for jb GPS fix great job.I am using remics jb 4.2 and moped GPS files NA-Version 2 it works good, I lost signal than it reconnect so that issue is fixed in Version 2 and sound is working also thanks .
[Vibrant Android Development] vik5:
Gps works good sound also ,only sound is bad when I put on speaker when i am on phone call to much noise . we used to control mic from in call volume control feature in advance setting and now we are missing that feature in 4.2.
[Vibrant Android Development] Cap'nO:
Moped_Ryder, I just flashed 4.2.1 and flashed your USA version GPS fix after flashing GAPPs. I'm coming from 4.1.2, and only got locks down to 30m intermittently. The norm was 800 m accuracy (vik5 responded to some of my posts). More importantly, thank you for doing this post (clicked the Thanks) and appreciate you explaining the reasoning behind your updates as well.

*Update* First lock in GPS Checker occurred after 31s with 8 "fixed satellites". Marked improvement over GPS performance on Team RemICS 4.1.2 (highest I ever got was 3 satellites, lock took 242 s). Thanks Moped!!
[Vibrant Android Development] Moped_Ryder:
Do me a favor if you have time. Do a Nandroid and try my Custom fix in post #2 (to include AngryGPS settings). Also combine that with the LeoGPS I linked as well.

See if that works any better for you. Revet back to your Nandroid after if you wish.
[Vibrant Android Development] Cap'nO:
Will do
[Vibrant Android Development] haarsh:
Hi, I tried to edit gps.conf file as mentioned. But whether I changed the supl_port to 7275 it remains 7276 :( it asks me to save the changes but doesnt save :(
[Vibrant Android Development] Moped_Ryder:
Probably /system is not set for read/write.

Ill make ya a Flashable zip tonight if you give me the country you want from that list.
[Vibrant Android Development] .produkt-R:
I don't suppose I could request a flashable zip for New Zealand (Oceania) gps settings?

I flashed from 2.3 to Cyanogen 10 then 10.1 and now have no gps when I did initially have it working in 2.3 :(
[Vibrant Android Development] haarsh:
Hi,

Thanx for the reply Moped :) I am using root explorer and set the r/o to r/w and opened the conf file in text editor.. I can edit the file but changes wont stick :(

I am living in sri lanka which comes under Asia — asia.pool.ntp.org Sri Lanka — lk.pool.ntp.org

Thank you again.

EDIT: I edited the gps.conf file using the es explorer (with root access enabled). there is a new file created inside root explorer gps.conf.bak and theres nothing inside gps.conf file (inside root explorer).

BUT gps.conf file (inside es explorer) has the changes I made. I rebooted but still the same

EDIT (update): Set the permission READ for all USER, GROUP, OTHERS and voila gps.conf file has the changes :)

Hope these info will help anyone having this issue :)
[Vibrant Android Development] Moped_Ryder:
I can take care of it tonight.

If anyone wants to do it themselves its not hard.

1. Download and install a program called 7zip

2.. Download any of my GPS fixes

3. Right click on it (GPS fix). Browse thru 7zip to the /system/etc folder and drag the gps.conf file out to desktop (or somewhere).

4. Dont close the 7zip yet

5. Open the gps.conf file you just extracted and edit the NTP line to suit your needs. Save it.

6. With the archive still open in 7zip drag the edited gps.conf file into the /system/etc folder in 7zip. Overright old file.

7. Close zip. Its ready to transfer to your phone and flash it.

...You may be abnle to edit the gps.conf file right from 7zip (cant test Im at work right now)

I can always help someone with it. Just though peopl would like to try it out themselves too.
[Vibrant Android Development] ioancr:
One can make a custom flashable zip right on his/her phone.

1. Use a file explorer which has archiving function (I have Solid Explorer) and unzip any flashable zip you want to change.

2. Make your changes.

3. Compress to zip again. IMPORTANT: you must ONLY include the content itself and NOT the uppest folder (if your zip has two folders, META-INF and System, first select the two and compress these two in a single archive). Otherwise it won't be cwm flashable.

To change the gps.conf file on the go use Faster GPS (NOT Faster fix) free in Playstore.
[Vibrant Android Development] Cap'nO:
Moped...i tried the other zip; No good lock on this one. Flashed Custom zip file and changed settings in Angry GPS as instructed. No lock..no satellite signals. Reverting back to old setup..using your US version, which worked perfect.
[Vibrant Android Development] Moped_Ryder:
Sounds good. Yea our GPS is a pain in the backside. Each phone is different.
[Vibrant Android Development] .produkt-R:
Can I get some clarification? I'm just being cautious here.

The following file is to be flashed via Clockworkmod recovery and renamed to update.zip "	T959JB-GPS_Reset_GL_v2.zip - "

If this doesn't work, use root explorer to edit file permissions as per post #4

and then;

post #17?

Also, why does the sgs-t959 need to be such a pain in the arse?
[Vibrant Android Development] Moped_Ryder:
LOL - no problem.

You can just flash one the the files listed in the first post and it should work. The other posts were to change the ntp servers to your country if you wanted to. For most the GLobal should work fine though.
[Vibrant Android Development] Moped_Ryder:
Check OP (post #1) I made the Asia version for you. ("AS" version)
[Vibrant Android Development] .produkt-R:
Hey :)

Yes I am very very happy now, Flashed GL and have working GPS that has 8 satelites locked in New Zealand and an 8m accuracy or so (only quickly tested this)

Thanks for your help, I really need navigation on my phone when heading out to customers homes for my job :)
[Vibrant Android Development] Moped_Ryder:
You should try the LeoAGPS widget app found in post #2. It works for me (at least it seems like it does)
[Vibrant Android Development] Speedy5150:
Good Job Moped_Ryder.! Locks great :good:
[Vibrant Android Development] ioancr:
@ MR

Are you willing to test out the other working GPSD files (attached, just rename first), I've grabbed them from Stock JFD (gpsd-1) and from a custom CM7 vibrant ROM (gpsd-2). However I don't know their impact on 911 calling. I use them for somewhile for testing with varying results, just curious if GPSD binaries could be further improved.
[Vibrant Android Development] .produkt-R:
I am in New Zealand ($1 freedom country in the world :P) - would be of any use if i tested this ^^^?

Our emergency number is 111, and you get fined if you dail it and it's not an emergency lols - not sure i can test this aspect!
[Vibrant Android Development] ndwgs:
Moped,

Niicceee fix!

Sent from my OG Zenned Vibrator!
[Vibrant Android Development] closedcircuit:
Sound issues such as, mute/unmute needed before other party can hear, and too high of a speakerphone mic sensitivity are present for me when installing T959JB-GPS_Reset_NA_v2.zip. GPS is more accurate after installation, went from ~150ft to ~35ft accuracy. Used LEOAgps but kept GPS on Standalone. Rom used cm-10.1-20130105-NIGHTLY-vibrantmtd & hardware GPS mod.
[Vibrant Android Development] henkohan:
Deep Sleep problem solved

My PA-running-Vibrant used to have problem with GPS after deep sleep. I followed your instruction on post #2 and it works like a charm. Deep sleep problem solved. Thank you very much Moped_Ryder!
[Vibrant Android Development] testomat:
I have slim beta 1 and semaphore 2. 95sv. I can't get a lock.

Flashed europe reset file. No locking

Flashed your custom file. No locking

Can't see any satellites. Tried also change port number to 7275 and msbased.

My best gps i got with iczen and Mr. Psychos kernel. Is it possible to used there files on jb Moped? Maybe as a flashable file.
[Vibrant Android Development] Moped_Ryder:
I'm sorry that is not what I set out to do here really. Quick GPS locks are really secondary to me. I was seeing too many GPS "fixes" that didn't use the correct (or should I say KB5) GPS files. From what I understand is the GPS and phone RIL divers are interconnected, so to me its best to keep the Samsung T959 drivers together whenever possible to have the best chance of keeping that functionality.

Looking at my previous downloads of ICzen some of the GPS drivers are not (or dont match) the Samsung T959 KB5 (or CM10.1) files.
[Vibrant Android Development] testomat:
Thanks for your effort. Maybe the next rom versions will be better for me to get a gps lock.
[Vibrant Android Development] renegadedj:
GPS Locked IN MY OFFICE. I'm inside a concrete box. hahhaaha! I flashed the USA specific file first. Then I flashed the Moped Ryder v2 zip, rebooted. Applied settings recommended for AngryGPS. installed Leo's injecter, and used the widget to inject, waited for 15 seconds, then rebooted. I'm getting better locks than ever, I think even better then when i was on 2.3 or 2.1 stock or whatever.

THANK YOU MOPED!
[Vibrant Android Development] Gysper:
Hey Moped Ryder,

Tried you fix using the CM 10.1 nightlies. First I flashed your US fix and it didnt work so i went ahead and flashed your own custom fix with angrygps and the leo injector.

Little did I know it would work only if I had the wifi & mobile network location checked but I haven't gotten a lock by just using GPS satellites. The noyl time i've had this work was using bionix's fishman rom but nvr in any ICS or JB rom.

So just wondering if your fix is suppose to work only with gps satellites checked or also with wifi & mobile network location checked as well.
[Vibrant Android Development] Moped_Ryder:
I set out to find any gps fix out there and build a flash-able package that would reset everything back to the proper (or as close to) files for our phones (T959).

That said it should work with just GPS on and nothing else.
[Vibrant Android Development] Moped_Ryder:
Sure I can try them out.

I can tell you with little doubt that the gpsd-1 is not from the Samsing original JFD. Here is what I have from Samsung dumps:

MD5's

JFD - 0F3376A81E85AE6044D2BF68D63E2A55 (558kb)

JI6 - 4761E7B01E0A71A048458F50DE64BC62 (554kb)

KB1 - 870A5D6F3542FD7421B215FCB37D884C (554kb)

KB5 - 870A5D6F3542FD7421B215FCB37D884C (554kb)

Your MD5's

GPSD-1 - 1CA20E4E0A819675AD9DC799CFF33DD6 (558kb)

GPSD-2 - 70ADEF9F235B31CA3BFAA66B6E3B5685 (518kb)

Do you have any clue where they came from? I also have another GPSD from an old "GPS fix" with the MD5 of 70ADEF9F235B31CA3BFAA66B6E3B5685 < That matches yours. Never knew where it originally came form. We have a lot of T959V and I9000 GPS files tested on ours.
[Vibrant Android Development] Dave08:
I used the US fix version from the OP on a CM 10.1 nightly (1/13) and it worked great. Probably the fastest lock that I've ever had, or at least since stock 2.2. It literally was within a matter of seconds. It locked on on at least 8 sats (10 or 12 in view) and with about 40 feet accuracy. It also locked as quickly after deep sleep (both of a couple hours and over night). I was very pleased and impressed. Thanks Moped!
[Vibrant Android Development] ioancr:
The 518 kb file I found in the package "Vibrant_CM7_GPSFix_V1.5.1-CWM-newgpsd-signed", the other one inside a ICS kernel zip by Eugene 373 (for Vibrant) AND in the One-Click Heimdall aio package, which has stock UK Eclair 2.1 (?)

Worth to mention is these are along with 554 kb GPSD the only working alternatives on Vibrant that I could get. In fact, the 518 kb seems a little better on my phone.
[Vibrant Android Development] Moped_Ryder:
Odd to say the least. I grabbed my AIO 2.5 and extracted the .exe (didn't install just extract). Then extracted "PDA.tar" within it, and finally extracted the agps file from the factory.rfs.

558kb - MD5:0F3376A81E85AE6044D2BF68D63E2A55

I would recheck your AIO toolbox like I did just to be sure. To date I've only found 3 different agps files issued by Samsung: JFD, JI6, and KB1 (KB5).

I have also found an old Froyo "GPS Fix" called "s.gps" and another "s.gps2" that had the I9000 gpsd in it:

gpsd (1.23mb) MD5: A94EE43DE5C0B2CCD0DE45D9C404E9F9
[Vibrant Android Development] ioancr:
Here is the link to Heimdall aio One-click package: Link. In the original thread it’s no longer available.
[Vibrant Android Development] Moped_Ryder:
Thanks - Ill check it out tonight when I get home from work.
[Vibrant Android Development] Moped_Ryder:
Your link is to a well known JFD 1-click package by Adam Outler.

I extracted the .jar

then navigated to:

/com/AdamOutler/HeimdallOneClick/resources/ROMPackage

Extracted the "HeimdallPackage.tar.gz" then extracted the "HeimdallPackage.tar". Within that folder was "factoryfs.rfs" so I extracted that (basically the /system tree)

then navigated to /system/bin/agps

Here is what I got:

agpsd (558kb) MD5: 0F3376A81E85AE6044D2BF68D63E2A55

Didnt match your md5. Im confused.
[Vibrant Android Development] Supersega8:
GPS reboot

Hello Moped rider,

Thus is a great fix so thank you for that. However, sometimes the GPS shuts off and I have to reboot for it to work again. I live in the us and I used both your custom fix and the us version with the same result. Do you know how to solve this problem? I would greatly appreciate it. Thank you. I also tried the Leogps but it didnt help me with this issue.
[Vibrant Android Development] ioancr:
@ MR

Mmmm. I checked them again and... you are right! The MD5 corresponds indeed to the JFD. But the truth is we still have another file to explain, the one from Eugene's package.
[Vibrant Android Development] Moped_Ryder:
It's the dreaded deep sleep issue. It's an ongoing problem with our phones. What ROM / kernel are you using may I ask?
[Vibrant Android Development] Moped_Ryder:
Eugene was, shall we say ahead of his time when it came to the Vibrant. He was able to get the GPD to work on beta Froyo builds before anyone else if I remember quickly. He probably spent more time on GPS than anyone else. Who knows where that agpsd came from.
[Vibrant Android Development] hendykhanh:
I have problem GPS with kernel Semaphore 2.9.5 and [ROM][OFFICIAL][4.2.1] CyanogenMod 10.1 Nightly Builds for the Samsung Vibrant 19/01

It work great before DS but then open GPS again also show GPS icon but it don't get satellite . And turn off display and on i lost GPS on status .

I'm using KB5 .
[Vibrant Android Development] Supersega8:
Rom

Moped Ryder,

Thanks for the reply. I am currently running RemICS-JB-v1.00 and have Semaphore Kernel 3.0.57 Semaphore_JB_2.9.0v
[Vibrant Android Development] Moped_Ryder:
For deep sleep issues why not try some testing?

When you get time do aq nandroid backup of your setup. Then flash the ROM you are currently one with the kernel that you use.

Boot it up. Dont install gapps / dont even put your account on it. Skip it all. Reboot a second time after about 5-10min and then test it out. After that boot to recovery and try my personal setup in the 2nd post. Test deep sleep again.

If it doenst have any issue s then you are looking at a app issue that you have installed. The track down process may take some time. If it still has issues then is a bit harder of an issue to resolve.

Please remember folks our phones last offical update was KB5 Froyo 2.2. We are now on 4.2.1. Its amazing we even have it. I look at it as installing Windows98 drivers into a Windows8 platform and make it work. What the devs have done is amazing IMO.
[Vibrant Android Development] clocinnorcal:
Awesome work MP! One question since I am not too versed in the GPS arena. I flashed the NA reset zip, then your custom setup waited for boot then applied the config settings in AngryGPS from post 2. I installed the GPSinjector widget and injected, followed by a reboot. After reboot I got a lock on 10 out of 12 birds in 13 seconds. My question is when is it necessary to use the injector widget? Was it a one time thing or do you use it before using GPS every time?
[Vibrant Android Development] Moped_Ryder:
One time thing. If I haven't used my gps in a while Ill inject agps data again.
[Vibrant Android Development] hendykhanh:
But i have issue stock kernel of Rom work great for DS but semaphore .... don't work .
[Vibrant Android Development] clocinnorcal:
Awesome, thank you very much!