yashsingh1/xdaforums huggingface dataset:
[Vibrant Android Development] Globespy:
This is not my work.

Found these cwm flashable files in the Experia ROM thread, and since I've tried about everything possible to fix the GPS death after deep sleep, I figured I'd try flashing these before going back to froyo and a consistently reliable GPS fix.

Well, they worked for me. I'm currently on slim 3.1, subzero's build 34 kernel as the stock kernel didn't work for me after deep sleep. It has worked for others, but even if it did work for me, I can't live without voodoo sound, and that doesn't work on stock kernels. Plus you can undervolt with something like subzero's kernels which extends battery life.

I was never even able to get a lock before on slim, but after flashing and rebooting I locked 10 birds in 20 seconds. After a 25 minute deep sleep (93% according to CPU spy) I was able to lock again albeit it took about 40 seconds.

Thought I'd post these since so many others have same issues.

Credit goes to the dude (kchau15) in the experia rom dev.

Files:

http://db.tt/K8r6SZNQ - Yag2

http://www.mediafire.com/?7wjfloa7lfih43d - Experia Files

http://db.tt/ykBYNwL9 - ultimate cleaning script

UPDATE : Seems these work well on latest subzero kernels also - tested v26 and v34 and v80.. I'm using v80 with consistent results on AOKP 35. Initial lock is very fast under 10 seconds, subsequent locks after deep sleep is 40-60 seconds but will always find it, just a little more patience.

Best results when you flash the ultimate kernel cleaning script in recovery before installing a new kernel, then allow phone to boot normally before rebooting back to the recovery and flashing the GPS files. Yaggf2 first and then experia before rebooting phone normally.
[Vibrant Android Development] chrisjs81:
Thanks I'll try this out on my wife's Vibrant later and report back. Right now it's running teamhacksung's CM9 with the Glitch kernel and the full yagf2 change. Initial GPS locking is incredibly fast since yagf2 but deep sleep still kills the GPS.

Update: Nope. Still lose GPS once the Vibrant going into deep sleep. Using Icy Glitch V14B5, I'll have to try another kernel.

Update 2: Works now after switching to the Kiss 2.2 kernel.
[Vibrant Android Development] Globespy:
I decided to change modem from kb1 to ka6 and had to flash both the yag and then the experia fix one after the other before rebooting , and still working after deep sleep! Been 3 hours since last used and locked within 30 seconds!
[Vibrant Android Development] ginzberg:
I'll give this a try and report back shortly.

Update: Was unsuccessful on CM9 alpha build 17, stock kernel. Would not lock after deep sleep (verified sleep with cpu spy).
[Vibrant Android Development] kobesabi:
what were your steps to install it?
[Vibrant Android Development] hurtz777:
I took a close look at these GPS files and they are the exact same GPS files as ICZen v1.3 except for the gps.xml. I tested these GPS files with ICZen v1.3 and the SubZero Build#21 with voodoo color and the GPS still doesn't lock after deep sleep. The GPS not locking after deep sleep has to be kernel related if the stock ICS Slim v2.8 kernel locks after deep sleep and no other kernel except Kiss v2.2 will lock after deep sleep. I just tested the the stock ICS Slim v2.8 on ICZen v1.3 and the sure enough after 30 seconds or so the GPS locks perfect after deep sleep with 7-9m accuracy just like before deep sleep. Now hopefully MP can figure out what code in the Slim ICS kernel is different then his SubZero kernel code and fix GPS after deep sleep for good!
[Vibrant Android Development] greeneyes513:
I couldn't get the gps symbol to appear, let alone have working gps on ics. I tried it and not only did my gps symbol appear, I got a lock in 30 sec. Thanks for sharing. Using icssgs rom btw.
[Vibrant Android Development] mikka06:
simply flash the file
[Vibrant Android Development] :
If you read iczen op I sent them the files lol
[Vibrant Android Development] Globespy:
It only works on stock slim ics install. I tried with other custom kernels and no lock after deep sleep. But stock works every time.

After allowing rom to install and settle, just flash the yag and then the experia GPS files in recovery one after the other.

Only downside is.that stock kernel can't really use voodoo sound. Its kinda usable via DSL manager but sounds like ****.

Its a decision between voodoo sound and GPS for me! Hopefully soon we won't have to choose.
[Vibrant Android Development] kobesabi:
Still no worky aftet 20min deep sleep on euphoria + kernel 4.1...i'll try experia later
[Vibrant Android Development] Globespy:
This only works on slim ICS with stock kernel.
[Vibrant Android Development] mattb6288:
this prevented my phone from going into deep sleep on euphoria. besides that it made my gps get high accuracy in about 5 seconds. probably won't use it though
[Vibrant Android Development] joroboyvn:
Works great on euphoria.. phone goes into deep sleep, and GPS works afterwards, thx it solved my GPS problems..
[Vibrant Android Development] kobesabi:
Was the deep sleep more than 20 min before trying again?

Which kernel did you use with euphoria?

Did you do anything else other than flashing?
[Vibrant Android Development] kobesabi:
What kernel did you use?
[Vibrant Android Development] joroboyvn:
Stock kernel.... and yes more than 20 min, in fact as I waked up checked the CPU spy and the phone was in deep sleep whole night, and the GPS locked in about 45sec using Google Maps.
[Vibrant Android Development] dark79:
Getting the same results as jorobovyn. Euphoria + GPS fix + KA6 Modem. Only other change I made was to the GPS.conf file to add more ntp servers.
[Vibrant Android Development] Globespy:
Are you using Google stock kernel also? I'm only getting it working on kiss V2.2 (eww now I'm all sticky), and stock kernel. Consistent with stock kernel, sometimes loose GPS after very long deep sleep with Kiss.. Interested to see if other kernels also work.

BTW - can you post links to how you changed the GPS config file?

Thanks!
[Vibrant Android Development] kobesabi:
Update: euphoria + kiss 2.2 kernel + this fix = working GPS even after 20 min. After 2hr, it takes about 30 sec to get it see the birds...much better than before...i didn't have to reboot. If you retried again after that, it locks within 5sec.

I wanna try stock kernel without flashing from scratch and restore all the apps again. Anybody have a link for just only the stock kennel to euphoria?
[Vibrant Android Development] dark79:
I didn't change the kernel that comes with Euphoria.GPS worked just by flashing the fix over a clean iinstall of Euphoria.

Editing the conf file doesnt make the fix work, it just makes locks faster. So if you can't get it to work after wake from sleep, editing the file won't help you. Anyways, I used Root Explorer to edit the GPS.conf file. You can find the info at: http://xdaforums.com/showthread.php?t=1060963 I only edited the server list.

But I would worry about getting GPS to work after wake from sleep first.
[Vibrant Android Development] mryounghc:
i think its something in the slim kernel. im using just slim kernel on iczen with ka6 and i get locks after ds, hours after and no more than about 30-35sec inside. of course first lock could take couple minutes. while traveling i have locks in no more then 15 sec and many times lower. i installed this rom and kernel on Saturday around 9am and since haven't rebooted up until about an hour ago and gps worked every time. even if you exit before getting a lock it will still fire up next time without reboot. something i haven't experienced since passion v12 with v11 kernel.especially after exiting without a lock. i haven't tried this kernel on euphoria or passion though. i would recommend you guys use "gps monitor free" from the market because the gps icon never flashes but it puts an icon in the status bar to let you know it is searching and how many sats in use. on the other roms the icon would never come back after ds so i know gps was not going to work again. but as long as it pops up you know gps is going to work again. ill try to get some screen shots
[Vibrant Android Development] mryounghc:
there is the icon. red means i see sats but not locked yet. green mean its locked and the number is how many locked to

notice the time difference in the pics. this is in my bedroom too
[Vibrant Android Development] clocinnorcal:
Bravo, first gps fix that has ever worked for me with GB or ICS roms. To be fair I haven't made it a personal vendetta to get it to work either. Running SlimICS with stock kernel.

I was playing around, and after 56 mins in DS, fired up GPS test and it locked 8 birds with 14 in view in around 20-30 seconds. Accuracy around 20 meters give or take.

*edit

I was using the ka7 modem to begin with and had great results as far as GPS. Flashed kb5 and while the GPS seemed to function on and off I couldn't get a lock. Waited about 5 mins. There were never any birds in sight. Anyone using kb5 on ics slim with stock kernel?
[Vibrant Android Development] clocinnorcal:
Btw mryoung, thanks for the tip GPS monitor:)
[Vibrant Android Development] dark79:
For people having issues with wakelocks and battery drain:

What works best for me is to open GPS Status right after a reboot and get a GPS lock. Once that's done, I can exit the app and use the phone normally, let it deep sleep, etc.

If I don't do this and the phone goes to sleep (or the screen shuts off) before getting a solid GPS lock (NOT WIFI LOCK), then you end up with a partial GPS-location wakelock that for me was draining the battery at a rate of 15% an hour.

If you have to reboot the phone and aren't somewhere you can get a lock, just turn off GPS. Reboot and GPS lock later when you're in an area that can.
[Vibrant Android Development] Globespy:
Guys....there is a kernel that in connection with these GPS files will work guaranteed.

I've been running for several days without rebooting the phone, it deep sleeps and always finds a lock. Thanks to MP's amazing subzero kernel v26.

There are two versions, one with voodoo color fixes (denoted by VC - many have said screen colors are richer, but I've read one report saying screen brightness was very low, YMMV), I'm using the non VC one and it works fantastic. Allow a few battery cycles to bed in and battery is amazing, like easily 30 hours with light to moderate use.

Anyway, go to recovery, run the kernel cleaning script, flash subzero, then the 2 GPS fix files (not everyone needs to do this but I chose to as first time without the lock was slow) and reboot. Say hello to always functional GPS regardless of which ROM you choose.

Big thanks to MP!

http://www.mediafire.com/?fy8z8f3r89zk4
[Vibrant Android Development] HeavyA:
I tried installing the sub zero kernel on Euphoria RC2.1 and it wouldn't boot past the kernel splash.

Maybe that kernel being CM9 based prevents it from being used on AOKP ROMs? Anyways, I re ran the kernel cleaner script and reflashed the stock Kissed 5.1 to get back to where I was. I'm still in the process of testing GPS on that kernel, but kissed 2.2 was the best GPS kernel I have seen so far on ICS with the passion/euphoria roms at least.
[Vibrant Android Development] Globespy:
Sorry my friend, I didn't think that it would have issues on different ROMs? I've never had such issues.

PS - there will be a new ICZEN (brick'd), release on Saturday or Sunday that will likely have MP's kernel and all the GPS fixes baked in. Might want to try a zenwich. :)

Best rom out there IMHO, and I've tried them all.
[Vibrant Android Development] HeavyA:
hey, it was worth a try, and it was easy enough to get it back the way it was before I tried. Thanks for the heads up, I think I just may give zen a try.

//edit//

turns out is is possible to install sub zero after all!

I saw in another thread to install glitch first and then flash sub zero and it worked. Now it is time to try it out for a day or two and see how it goes.

Amazingly, this dub zero kernel allows me to actually turn off the GPS and turn it back on later and still get it to work after doing so and after deep sleep.

Color me impressed!
[Vibrant Android Development] idinaxui:
Installing glitch and afterwards sub zero kernel works, but GPS still dies after deep sleep. Running Euphoria RC2.1, flashed kernel cleanup script, wiped caches, install glitch, in the same session installed sub zero, wiped caches again, fixed permissions.

Edit:Found a Solution! The problem was caused by CPU Spy. Who suffer with nonfunctional GPS after deep sleep try this way: reboot phone, DO NOT RUN cpuspy, let the phone to switch off the screen, wait about half a minute, the phone surely goes to deep sleep. Then unlock screen, turn gps on and use any software to check the locks. Works well for me, I've tried several times.
[Vibrant Android Development] dark79:
Did you make sure to get a solid GPS lock with GPS Status right after boot up BEFORE the screen shut off or the phone went into deep sleep? If not you end up with a partial wakelock and the battery will drain quickly.

I personally had too many issues with Euphoria RC2 so I haven't tried 2.1. I've switched to AOKP b28 + Subzero kernel and it works great for GPS after deep sleep. But just like the previous fix, you have to get a solid GPS lock right after boot, or GPS will break and you'll end up with a battery draining wakelock.

Turn off Wifi during the initial lock. I use GPS Status and changed the setting to keep the screen on while it's running. Once I get green bars / dots showing a solid lock, I exit the app and everything works perfectly until I reboot again.

NOTE: On my phone, the first time I start up GPS Status, the accelerometer and compass are frozen, but if I exit and enter the app again, it's fine. Not sure why it does this, but it does. Could just be my phone though.
[Vibrant Android Development] serendipityguy:
What app is that with the Red 7 Green icons that denote the locking of birds?

What app is that with the Red 7 Green icons that denote the locking of birds?

Thanks for the beautiful post! :D
[Vibrant Android Development] HeavyA:
RC2 was released OCed to 1300. That may have been the bigger issue with the battery, especially when many people had vibrants that couldn't handle that clock speed. Mine seemed to handle it ok, but I prefer not to OC it.

RC2.1 seems to work pretty well so far for me, and the sub zero kernel works nicely as well.
[Vibrant Android Development] kobesabi:
How do you upgrade from RC2 to RC2.1? Is it just flashing kernel or download the rom and reflash it over then restore all data again from titanium backup? If so, any other shortcut to get around it without having to restore and reconfigure everything again?
[Vibrant Android Development] HeavyA:
I think you can flash out over RC2, but you may need to refer to the euphoria OP just to be sure. I did a full wipe.

Also, I tried to get locks in the car on my way home from work but no luck with sub zero and the GPS fix. Looks like I'm headed back to kissed 2.2 for now. I really like the other aspects of sub zero though.
[Vibrant Android Development] reVox_77:
I can confirm this fix works on ICZen rc1.4 - Royale with Cheese - 3-24-12 subZero Kernel Build 33 on Samsung T959 Vibrant. Big thanks for the fix/thread. I've never had such great GPS on this phone.
[Vibrant Android Development] kobesabi:
After hearing consistent working gps report about icz and subzero even after deep sleep, I decided to try out icz and subzero 34... however I'm not get same result after deep sleep...

what kernel cleaning script?

what 2 GPS fix files are you talking about? Experia file in your 1st post?

I'm using ICZen 1.4 + subzero 34...it seems I still have GPS deep sleep issue. I was on euphoria
[Vibrant Android Development] reVox_77:
I can't speak for Globespy or the files he's linked to. I had success flashing the .zip in the OP this link, specifically: http://www.mediafire.com/?7wjfloa7lfih43d

I did edit the gps.conf file to reflect the NTP address for my region, saved (file remains a .zip) reboot into CMW and install .zip from SD card.

Let us know how you go and best of luck.
[Vibrant Android Development] Stevethegreat:
Hmm, that's weird...

Most people in this thread report success even those who were unable to have a working gps before that. Unfortunately I seem to belong to the third category, of those to whom this fix neither works nor did they (I) ever had a working GPS. In fact the last time my GPS worked was about a year ago, on Froyo days... barely.

I'm using SLIM ICS (latest) with it's stock kernel. Oh also I'm currently residing to Europe, I hope that is not what causes me the issue.

If anyone could help I would welcome it very much because as it stands I cannot even see any birds.
[Vibrant Android Development] mikesdot:
this fix really worked for me...even when I'm indoors as well...kudos on the find my friend...
[Vibrant Android Development] convotutor:
I just installed the 3 files and it seems to be working.

I will be keeping an eye on it this week to see if gps works after deepsleep.

I'm hoping for the best then my phone is really going to be nearly perfect!
[Vibrant Android Development] chadhoard:
Do I flash this zip file or do I need to push these files some where?
[Vibrant Android Development] Globespy:
Follow my instructions I am the OP.

You do everything from within cwm recovery.

Kernel cleaning script then immediately after flash subzero's build 34 kernel.

Reboot your phone and let boot normally into ICS.

Then reboot back into recovery and flashing yaggf2 followed immediately by experia and reboot phone. When booted use gps status or gps test app to get a lock, ideally outside with a good view of the sky.
[Vibrant Android Development] michaelh99:
Thought I'd reply here since it's less likely to get buried than on the Slim thread.

The latest kernel + clean + gps flash is working well from a gps and deep sleep standpoint. Can't comment on battery life yet.

Only problem I've seen so far is that auto brightness doesn't work with the latest subzero kernel. It seems there's always something that doesn't work on this phone :-(

---------- Post added at 07:41 AM ---------- Previous post was at 07:17 AM ----------

Unfortunately I've found another problem that's a killer. With this kernel the phone runs at full speed while charging. It's eating power almost as fast as the charger supplies it. I've gone back to slim and verified that it doesn't do this. It deep sleeps while charging.
[Vibrant Android Development] chadhoard:
Just flashed the kernel clean and the latest Sub Zero kernel. It is stuck on the kernel splash screen. What did I do wrong?
[Vibrant Android Development] Richcar:
You have glitch cm9 kernel frist them in cwm/ advance/reboot into recovery and then flash sub-zero kernel.
[Vibrant Android Development] Globespy:
Yes, depending on the ROM, some don't like various kernels.

If you get a stuck screen, boot back in to recovery and flashing icy glitch, then flash subzero on top.

BTW - subzero's build 61 kernel has gps working much better out of the box. But I still got an improvement flashing the GPS files.
[Vibrant Android Development] denny_1986:
so the first link seems to be broken. Can someone re-up it again? Want to give this a shot. Thumbs up :)
[Vibrant Android Development] Globespy:
I'm not sure what happened, but I put up a new link for the first file, the Yag2 file.

OP is updated and link works again.

Good luck!
[Vibrant Android Development] macanazo:
Link for kernel cleaner is dead.
[Vibrant Android Development] Globespy:
fixed it. not sure why it died, maybe dropbox links only last a month?
[Vibrant Android Development] zxevik:
confirmed this morning - 3 cold boots w/locks in under 10sec

this appears to be a working fix on nightshack0's WEUI (miuiv4) using the latest subzero kernel (80 i think?). kudos mate :D
[Vibrant Android Development] denny_1986:
didn't work for me :confused:
[Vibrant Android Development] Sincitybronze:
Still recommending the KA6 modem or will any modem work?
[Vibrant Android Development] kaiser_bun:
These files were a great fix to get some functionality out of the GPS when I was trying out ICZen and Slim over the past few months. First lock off of a boot/reboot was quick (~20s) and was really accurate (within 20ft according to GPS Test).

But they weren't enough to solve my idle problem. I didn't have the deep sleep issues some have mentioned where the GPS didn't work at all, but there is a huge difference between lock times on first boot and after the phone has been idle for a half hour or an hour (sometimes 3 minutes for a lock).

I'm hoping things get a little better with each kernel and ICS build, but big thanks for these as a place to start.
[Vibrant Android Development] Globespy:
Yes, unfortunately the lock after prolonged DS can take more time (I usually get a lock within 80 seconds), but it depends on where you are (inside a building won't help) and the weather. It's not ideal but a step in the right direction.

As for whether it will improve, I am unsure if it every will with AOSP ICS. The only hope is either AOKP or CM9 as they are built from the ground up and there's more hope that the devs can figure out the drivers that initiate GPS, but it doesn't look great as it's not improved in a while.

Most people don't care about GPS, but I find that incredulous when there are so many apps and services that require an accurate location to provide relevant information.

I'm actually on the verge of going back to Froyo......GPS was rock solid and to be honest I'm getting sick of flashing ICS ROM's that ALL have one issue or another. I'd rather just have something that just works. For a phone I use daily, and regularly, it's crucial to have it work all the time.
[Vibrant Android Development] TimelesslyPrecise:
Kb5 working perfect for me
[Vibrant Android Development] TimelesslyPrecise:
Try slim ics ROM, with this fix...

Works prefect :)
[Vibrant Android Development] Sincitybronze:
I have found decent GPS performance with slim and these files as well but I do get a kernel wakelock of GPS that I can't seem to stop unless I reboot. Any suggestions?
[Vibrant Android Development] kaiser_bun:
That's a bummer to hear about the delayed DS lock not having all that bright a future of being resolved :( I was hoping it would be something relatively simple (granted I'm not a coder) since the functionality is there after first boot, and locks still occur after DS albeit delayed.

I'm with you that while everything else was very workable for a daily driver in the ICS builds I've tried, the GPS deal was a killer for me. I went back to Bionix-V 1.3.1 with OverStock (my goto default combo), and it's so refreshing to get cold locks in 15 seconds or so consistently. I miss all the UI goodness in ICS, but I'll be on this for a few weeks until some new ICS builds come out to test out :D

Hmmm... I'll wait until 3.8 or so before flashing up again. I tried 3.7, and it was a little better than ICZen as far as lock times, but it was still over a minute for me after deep sleep. Plus I almost always had to use GPS Status or Test to get a lock first and then going to whatever app (maps, yelp, etc.) to hot start from that lock. It was workable, but annoying to do all the time.
[Vibrant Android Development] Shiv4m:
Someone give a tutorial on how to apply these scripts please. I have no idea what to do with them.
[Vibrant Android Development] kaiser_bun:
Do you know how to boot into Clockwork Recovery (CWR)? If you're running a custom ROM pretty much all of them have that option when you hold the power button down on the phone for your shutdown/reboot options.

You just go to the zip install line in CWR, and run them there. I always do a fix permissions (in CWR) after running them as well.
[Vibrant Android Development] TimelesslyPrecise:
Or, if you are on a stock ROM but can't remember the key combination, just download ROMmanager.. You will have the option to reboot into recovery from there..