yashsingh1/xdaforums huggingface dataset:
[Hero CDMA Android Development] theimpaler747:
Agreed, but both are nice ;) :D :cool:
[Hero CDMA Android Development] alexthearmo:
I'll take function AND form. Imagine all the function we have on our 2.2 roms, with a really sleek interface. YES PLEASE! :D
[Hero CDMA Android Development] eliseexige:
It's very sleek. Like I said, I'm interested in the performance vs the other 2.2 ROMs out there. The jump in FPS on the N1 was markedly higher, so I'm curious to see what the increase will be on ours, if at all.
[Hero CDMA Android Development] theimpaler747:
Impaled Themes are slick :p :D
[Hero CDMA Android Development] moxlon69:
lol

Seriously though, I'd try it. I'm not a coder, nor an artist, so I'm not useful for much other than testing. Wonder if this would require custom mtd sizes like Sense 2.2 did for the first few test roms.
[Hero CDMA Android Development] massia:
Can't wait to see it on my hero
[Hero CDMA Android Development] Hackmodford:
This is going to be awesome!
[Hero CDMA Android Development] dshook19:
Well im gonna b that guy and ask, is there any progress on this? Sorry not meaning to b pushy just can't wait to run this on my phone :)
[Hero CDMA Android Development] mrinehart93:
Apparently Decad3nce has a friend who will be able to get the boot.img working for us (according to the first post). Dec is just waiting to hear back from him.
[Hero CDMA Android Development] andronut:
Not enough to announce it....

Sent from my super sick HERO running faster than Sprint thinks it can! Take that!
[Hero CDMA Android Development] dshook19:
Well thanx for the update..lol. better than nothing
[Hero CDMA Android Development] andronut:
True that....true that

Sent from my super sick HERO running faster than Sprint thinks it can! Take that!
[Hero CDMA Android Development] alexthearmo:
Nothing to report right now. The devs are all busy. Most of them juggle multiple projects. Hopefully we will hear back from deca s friend soon. Thanks for keeping the interest alive!
[Hero CDMA Android Development] AshleyLikesCouture:
This rom looks so awesome, I can't wait to try this. It will be awesome when I go back to my hero, it will be like having a whole new phone :)
[Epic 4G Android Development] art3mis-nyc:
So after reading around and trying things and discovering that LbsTestMode.apk doesnt exist for our phone, I just editted the file directly.

So without futher ado follow the below steps to see if it fixes YOUR gps.

MOST of the credit for this goes to the guys in the captivate and vibrant forums.

1. Copy the following into a file named secgps.conf

#Generated by GpsLocationProvider.
#Thu Dec 02 13:09:21 EST 2010
SSL=1
SSL_TYPE=0
POSITION_MODE=7
OPERATION_TEST_MODE=0
ACCURACY=50
SESSION_TYPE=1
SERVER_MODE=0
ENABLE_NMEA=false
START_MODE=HOT
GPS_LOGGING=0
AGPS_MODE=0
DYNAMIC_ACCURACY=1
ADDRESS_MODE=1
TIME_BTW_FIX=2000
OPERATION_MODE=MSBASED
USE_DEFAULT=true
DYNAMIC_ACCURACY_VALUE=50
SUPL_PORT=7276
ENABLE_XTRA=true
SUPL_HOST=supl.google.com
NUM_OF_FIX=999999999
TIMEOUT=3600

2. adb push secgps.conf /sdcard/secgps.conf

3. adb shell

4. su

5. remount rw

6. cat /sdcard/secgps.conf > /data/gps/secgps.conf

or copy it with root explorer of esfile explorer

7. reboot

Secondary fix to help speed up gps locks.

Use Root Explorer or some other method (I use Root Explorer as it has a built in Text Editor and automatically backs up the altered file.) to go to here:
system/etc/gps.conf
Use the text editor to alter the gps.conf file to this (if you are in the US):

NTP_SERVER=us.pool.ntp.org
XTRA_SERVER_1=north-america.pool.ntp.org
XTRA_SERVER_2=http://xtra2.gpsonextra.net/xtra.bin
XTRA_SERVER_3=http://xtra3.gpsonextra.net/xtra.bin

Now go to some place you should normally get a gps signal and launch maps.

this should correct it.

Couple of notes, this file appears to be dynamically generated, so if we can someone get a LbsTestMode.apk that works with the epic, or a script to copy the file over cron based through to make sure the settings stick that would be best.

if your gps stops working as it did after the fix, simply copy it back to /data/gps/ and reboot.

This is entirely a beta attempt and may not correct anything..

this is also for ADVANCED people, do not bother posting if you dont understand how and what you're doing above as we're not here to hold hands we're here for a solution.
[Epic 4G Android Development] apatcas:
Lol... i'll hold ur hand. Plus it seems that the GPS locks faster now. but like u said it's temporary
[Epic 4G Android Development] plapczyn:
I was playing around with this at work yesterday (also saw this on the captivate forum), but didn't have time to give it a test last night.

Here is a reference for more info on the captivate discussion http://xdaforums.com/showthread.php?t=789383

Edit 20101203:

There are four major things going on in this fix, so lets talk about each one separately.

============================================================

1) Operation Mode - Switch to MSBASED

Standalone - The handset has no connection to the network, and uses only the GPS satellite signals it can currently receive to try and establish a location.

MS Based - The handset is connected to the network, and uses the GPS signals and a location signal from the network.

============================================================

2) Switching from WARM to HOT

Should make getting a fix faster provided you have cache money.

##GPSCLRX# if you aren't feeling as fresh as you would like to be

============================================================

3) SUPL server change for SUPL

Broadcom's Hosted Secure User Plane Location (SUPL) Location Platform (SLP) offers Mobile Network Operators (MNO) and service providers all the functionality of the most precise wireless location technologies including Assisted GPS (AGPS) without the need to make investments in Location Based Services (LBS) infrastructure.

SUPL is the emerging standard developed by the Open Mobile Alliance (OMA) for AGPS using existing IP networks as the underlying data bearer. SUPL lends itself very well to a hosted

solution where the vendor takes responsibility for providing a specified quality of service, assured by Service Level Agreement.

Doing a quick pingarooski, the google SUPL servers seem to be faster

============================================================

4) Time server

Do-whatcha-like but if you are in the US, the pool us.pool.ntp.org is probably going to be the fastest. But hey be my guest. If you want to run a time server from your phone you could always put in localhost.
[Epic 4G Android Development] fastmikey1969:
How did you switch from hot to cold start? The old dialer code doesn't work in froyo.

Is this file erased with #gpsclrx## dialercode?
[Epic 4G Android Development] brian_hoffman:
Hi, I have a broken GPS. Im running the Froyo Stock(ish) ODIN Tar that has the built in root and clockwork.

I was running 2.1 Epic Experience before and GPS worked fine. I wiped my data and cache and then used ODIN to flash the DK17 Froyo.

My GPS has not worked and I have not gone back to other roms just to perform a workaround.

I did try as you suggested with the secgps.conf file but it still will not give me a lock.

Thanks for all your efforts on this.. I really want GPS working

Brian
[Epic 4G Android Development] smeyerhuky:
Gps would not work at all, before.

This fixes it for me.

For those wondering, it didn't work until I did both fixes. do both fixes...
[Epic 4G Android Development] ZenInsight:
I had this issue. I put on stock..got a gps fix. the applied a froyo ROM Quantum over my stock..got another GPS fix. THEN I wiped the froyo ROM.

All good now. I use ##GPSCLRX# to reset the GPS if it's taking to long too lock. I get lock in about 10 seconds now. 9 satellites and more.
[Epic 4G Android Development] brian_hoffman:
I'm hesitant to format my phone.. I just got it up and going and customized and synced. Not that its THAT big of a pain..

I guess I just hoped I could run this build till the official froyo comes out without re-doing everything.

On a side note, I did try both the above fixes as it was mentioned that it worked for someone else.

I also tried your ##GPSCLRX# to clear my GPS.. But it didn't work.

At this point it may be best to start over again.

I tried downloading some GPS test app, flashing some update.zip (gps Fix) from a different thread, manually changing the files mentioned here and clearing my GPS from the dialer code.

I'm feeling defeated, I'm not sure why we need to lock in a from a different modem. I'm guessing it generates some file? that sticks on a system upgrade?

I really hope this gets resolved the right way.
[Epic 4G Android Development] styles420:
My GPS was working wonderfully using Mammon's Froyo 1.0.3 (I went through a bit of a process inspired by the first Froyo GPS fix post, involving flashing to DI18 and getting a lock before flashing Froyo)

Then today the nav program started to lose the GPS signal (going back to maps or toggling the GPS off and on seemed to get the signal back, but it was still flaky). I tried parts of this mod (I left start mode on warm and operating mode on standalone, going to experiment with each setting one at a time to look for any noticeable changes)

So the only thing I changed so far is the uml server and port, and while I am getting roughly the same performance as before the change, now my position is off - it used to be almost spot-on when reporting anything lower than 4m accuracy, but now it claims 1m and is still a good 15 feet (roughly 4 - 5m) north east of my actual position. It's still plenty accurate enough for navigation, so this is simply an observation - the google server appears to be slightly off, whether it's an (admittedly tiny) location error, or the maps aren't quite in sync with the GPS data on the server (I don't know much at all about how GPS works, so if anyone can explain the uml's role in the locating process, or anything else about how GPS works under the hood, please enlighten us)

That being said, I do think that I'm getting a lock ever so slightly quicker, but I was already getting a fairly rapid lock pre-mod so it's hard to be certain.
[Epic 4G Android Development] art3mis-nyc:
there is no dialer code(or associated program) in froyo on the epic for some reason hence the need to automate a cron to replace this file once it's been editted.

you can switch it just by editing the file directly and changing but im still not sure under what circumstance s the file gets regenerated dynamically.
[Epic 4G Android Development] art3mis-nyc:
no real reason to format the phone, give the above settings a try thoruhg whatever file explorer you use and see how it works.

if nothing else it may work for a few hours ;)
[Epic 4G Android Development] drunix:
The "gps fix" post by BThomas22 does some of this (modifies the /system/etc/gps.conf). I'm curious about "secgps.conf" as it doesn't exist on the filesystem at all typically, and there's already a "gps.conf" with those settings in it. Are you sure that tool didn't just do backups to a secgps.conf or something? Are we sure this file is actually read?

This also seems more likely to help with slow locks and cache issues some people are facing, but is almost certainly not the solution to the no GPS at all issue some people are having after flashing a froyo modem.

http://xdaforums.com/showthread.php?t=839710 has an inexplicably working solution (verified by several people including myself) for at least some of the people who get no lock ever. If you're on a froyo modem, install "GPS Status" or "GPS Test" from the market and if you don't get any sats in view, you'll likely be fixed by those steps.

I haven't had the cache/slow issue, so I can't speak to whether this helps that or not, but the AGPS parts seem as though they would.
[Epic 4G Android Development] art3mis-nyc:
Nope not at all.

That method has also not worked for a lot of people as well, so it's rather hard to say. I suspect that the only reason the modem flash "works" is because it caches data that the dk17 modem then reads as far as sat position and other things to basically give directions without actually "locking". No sats in view could also mean you just dont have a good line of site either(happens to me at work until i move near a window)

And the ntp part is meant to speed up caching and lock but the rest of it is more to configure it correctly.

I don't have the gps problem at all so couldnt say for sure.

PS: did you try this on your phone completely without other gps "fixes" or did you just come in to post a rather meaningless post about a bunch of stuff we're already aware of and attempting to dealing with, and not offer any solution or any new information or even just results?
[Epic 4G Android Development] plapczyn:
I had the same/similar issue with GPS not working at all. Sound 0 satellites. Tried all of the stuff, but the only thing that I found to fix it was to redo the ODIN flash of froyo. I hope that helps.
[Epic 4G Android Development] 1deviant:
I get a good lock as well(most of the time). How do you see how many satellites are locking? I get accuracy reading of 8ft but nowhere does it state how many satellites...
[Epic 4G Android Development] art3mis-nyc:
get the app GPS Status, that will show ya all the infos
[Epic 4G Android Development] plapczyn:
If you delete secgps.conf and reboot, the file is regenerated. This would seem to indicate that it is being used, as it is recreated upon reboot if it is missing. If it exists, it isn't overwritten however.

Also, gps.conf does not have the same settings as secgps.conf.
[Epic 4G Android Development] chillaxtodamax:
Phil, you're very smart! Thanks for the info!
[Epic 4G Android Development] plapczyn:
Thanks Yuhan. I was waiting all semester for you to tell me that.
[Epic 4G Android Development] chillaxtodamax:
No problem. See you in homeroom on Monday!
[Epic 4G Android Development] drunix:
I came to ask questions about the fix you're suggesting in order to research it more.

I also specifically posted information for brian_hoffman who likely was having the same issue as many others and I did. I posted information for him to try and my own personal results. You do not have a monopoly on gps bugs or solutions. I'm interested in your suggested solution because it is the first new technique I've seen here in a while and I think it is worth looking into. Dozens of people have reported the same issue as brian_hoffman and reported success from the solution I referenced so I was trying to be helpful and make sure he tried that solution.

I don't understand why you are being so abrasive and defensive.
[Epic 4G Android Development] BThomas22x:
Lbstestmode does exist for our phone... I have it in my 2.8 release dropping tonight :)

Sent from my VIPERrom [TRiNiTY] DK17 2.8
[Epic 4G Android Development] art3mis-nyc:
Nice, am i gonna have to rip it out myself or are ya gonna make a handy flashable apk?

as a side note does it actually function from the dialer codes?
[Epic 4G Android Development] art3mis-nyc:
Not abrasive or defensive, it's not a monopoly, the point of this thread is to fix this, not to perpetuate other discussions about other methods or what works "for you". I dont have the gps problem at all, what i want from this thread is for people to actually try the OP and report if it worked, or if there was a noticable difference at all. Not compare or link other "fixes".

As we all know right now it's not any specific thing that causes the gps issue, the goal of this is to consolidate into a single place (or post) all methods that do NOT include flashing other modems(flashing modems is fine as long as it's the same one and no other modem is booted with) and roms as those are placebo fixes and nothing more.

The reason i responded the way i did was because you came in referenced two other fixes compared them to this one as though this was ripped off from those and the proceeded to make the statement that you diodn't even try this one because you don't suffer from the gps issue YET offered nothing new, no new ideas, no new thoughts, no suggestions that hadnt been tried before.(which as mentioned above is the purpose of this in order to get this fixed ourselves since sammy ain't gonna do it.)
[Epic 4G Android Development] xyexz:
Tried both fixes at the same time with a reboot after applying and no dice.

I tried also to edit the secgps.conf file and change START_MODE=HOT to START_MODE=COLD just for the f of it, people were talking about cold start mode working for them in 2.1 roms using the dialer code to set it.
[Epic 4G Android Development] brian_hoffman:
Hi guys,

Well we can all agree there is a problem and yes these do seem like crude fixes that should not have to happen.

It also seems strange that these drivers and modems should work correctly from Sammy even in these beta releases do not. Perhaps there is crude workarounds in these final releases that "fixes or patches" the GPS.. There probably is some issue with the hardware. Maybe the have a GPS condom like the Iphone4g has to wear to get decent reception.. Lol

Thanks for all your work it is defenatly appreciated

​

while we are all waiting for the next froyo leak.
[Epic 4G Android Development] art3mis-nyc:
I had a thought earlier about that today... the only major difference between di18 and dk17 is that one has a patch delta.

So if we sort of extrapolate from there(since the settings dont seem to work for everyone) we can narrow it down to a couple of potential things..

1. the odin flash doesnt correctly flash the modem all the time, now i say this because of the hit and miss of the flash for fixing gps on ALL machines. if it flashed and should potentially wipe out the old one but perhaps didnt compeltely complete or left residual stting we werent aware of this would explain the odd behavior. it also explains why flashing the di18 modem "sometimes" works. in that it could potentially correct this issue by properly repairing the missing parts or in the case of it not working it being un able to process correctly because of residual again.

2. the other thought is that since GPS and the radio in general are pwoer hungry, there is a chance that some of the voltage to it got turned down so that it isnt as battery hungry as this would effect it's range and signal reading.

the though of why it works sometimes could be as simple as the previous di18 rom (since we had custom kernels) modified the setting on the radio itself via tweaking so the radio remains strong regardless of the modem firmware flashed to it the phone.

now easy way to check #1, get the di18 odin flash the di18 CW flashable and the dk17 flash.. and basically odin flash the modem(in the phone spot not pda) 5 times in a row, in between each flash, power up the phone turn on gps and with gps status and tools see how many sats and how long til lock.(even if you get a lock do it the full 5 times and record the effect, then wash rinse and repeat with the CW di18 flashable and the dk17 odin flash. post up the fixed/detect sat counts from each attempt.

the second is a bit different...

take odin di18 modem and flash back then CW flash a 2.1 stock rom to 2.1 then use the 4 2.1 kernels we have.

ACS's extreme, nullghosts kernel andromeda and mixup. with only the di18 modem on then boot up and test gps, mark down counts/fix then CW flash the di18 with the same kernel and test gps again, wash rinse repeat for all 4 kernels. record results and post them...

a lot of radios that were working have been failing lately so this seems like a good place to start since we all have soemthign in comon i that we flash and try out things. perhaps thers some combination that we can do via CW and odin that will make everything run fine on dk17 for everyone..

So that's the general hope of the thread now(if the first post works for you awesome! if not please read this and post your results.)
[Epic 4G Android Development] drunix:
That's a god idea... we should diff at least the etc and data folders and see what confs are different. Ill try to find time to do that this weekend.
[Hero CDMA Q&A, Help & Troubleshooting] cp0020:
ok the phone is not bricked an i know there is only one way to brick a hero blah blah blah. but i have psfmod recovery flashed to my phone and i was trying to do the firats mtd partition thing. so i did everything it said and when it came time to do adb shell,reboot recovery it wouldnt work. so after about 5 minutes i realized that the computer wasnt recognizing my phone. i guess cause of the psfmod recovery. and i had already wiped everything. so i wiped everything again and flash zenaraia rom back on. but after rebooting it just stays at the white HTC screen. waited for an hour. i tried wiping and reflashing like 20 times. and i cant mount the sdcard to put another rom on there since the computer wont recognize my phone. anybody following me? lol any suggestions?
[Hero CDMA Q&A, Help & Troubleshooting] andythegreenguy:
It seems like you might need to RUU... have you tried doing that?
[Hero CDMA Q&A, Help & Troubleshooting] kyouko:
Haha I came here just to possibly rip on the OP when I read the title but saw you already mentioned it :/ So you put it in your thread title anyway? :p

As the guy said before, try running the RUU - should be able to be done in the bootloader.

OR if you can boot up into a rom (wasn't too sure judging by what I read) just get a Dropbox, throw a rom.zip on it, get the app for the phone, sync and bam. New rom.zip on your phone to try.

If neither one can be done, you need to find another phone, camera, sdmount...something so you can add files to it. Even if its just a HERCIMG.zip to update via the bootloader (look up s-off if you don't know what that's about)

Good luck
[Hero CDMA Q&A, Help & Troubleshooting] cp0020:
thanks for your help guys. i'll try the RUU but i dont think it will work since my computer wont recognize my phone while in bootloader. im pretty sure it's just the psfmod recovery that f'd everything up. and yeah i cant boot into a rom. im hoping that somehow my rom.zip just got messed up somehow.
[Hero CDMA Q&A, Help & Troubleshooting] cp0020:
ok yeah RUU didnt work. my only other option is to find a laptop or something
[Hero CDMA Q&A, Help & Troubleshooting] kyouko:
Try getting a live Fedora or Ubuntu linux cd (or any flavor for that matter) and booting it up.
[Hero CDMA Q&A, Help & Troubleshooting] cp0020:
what would that do? i went back to the psfreedom thread and i saw that adb and usb mass storage does not work with that recovery. i should have read better lol
[Hero CDMA Q&A, Help & Troubleshooting] bebdigga:
Same thing happenned to my evo..i kept tryna flash the wrong kernel wit nym rom..all i did wuss flashed the rom without da kernel and walla...it started workin again..thnx god..idk if dis would help but it worked for me..
[Hero CDMA Q&A, Help & Troubleshooting] cp0020:
ok i got it to work. i was talking to nfinitfx45 on google talk and he said to boot up in fastboot and then plug the phone into the computer and then i can run the RUU and it worked like a charm :) now i just gotta re root :/
[Hero CDMA Q&A, Help & Troubleshooting] hfelton:
yay !!! im just quoting this because this bears repeating...

1 - if recovery is not working, go into fastboot to get pc to recognize phone...

2 - if roms (recovery or whatnot) are not working, reflash to RUU to start fresh...

(and adding)

3 - once youve started fresh, then flash a working-recovery and go back to your latest [nandroid] backup...

(you always have a good backup to use, right ?) :cool: h.
[Hero CDMA Q&A, Help & Troubleshooting] laie1472:
I think all you had to do was flash a different recovery from terminal if you were able to boot up the reason y I didn't use that mod was the fact you can't use adb wen u flash that recovery in that post I think the op posted the link to the old recovery that allowed you to use adb good luck

Root-Hack-Mod-Always™
[Hero CDMA Q&A, Help & Troubleshooting] cp0020:
that was the problem. i couldnt boot to a rom cause i had erased all data and my rom.zip had got corrupted somehow. and with that recovery you couldnt do adb or usb mass storage. so i started freaking out lol. thanks again nfinite