Jump to content

Welcome to CyanogenMod

Welcome to our forum. Like most online communities you must register to post, but don't worry this is a simple free process that requires minimal information for you to signup. Be a part of the CyanogenMod Forum by signing in or creating an account. You can even sign in with your Facebook or Twitter account.
  • Start new topics and reply to others
  • Subscribe to topics and forums to get automatic updates
  • Get your own profile and make new friends
  • Download files attached to the forum.
  • Customize your experience here
  • Share your CyanogenMod experience!
Guest Message by DevFuse
 

GPS Broken - Since 6.1.1


  • Please log in to reply
67 replies to this topic

#21 Guhl

Guhl
  • Members
  • 5 posts
  • Device Model:|2|
  • MOD Version:5.0.9
  • Recovery Image:ClockworkMod

Posted 09 April 2011 - 08:31 AM

Hi!

The GPS - issue (GPS searching forever, no fix, status bar does not even show the gps-icon) can be fixed by wiping the efs data.
This data is stored in partition 13 and partition 14 on the G2/DZ/DHD/MT4G.

To do this you have to get a root shell on your phone (either using adb shell or a terminal app) and then use the following command (as always: do not type the # it only indicates the root prompt in the shell)
If your prompt is not # but $ then first do:
$ su
and answer the question of Superuser. (Well you should all know this by now :-) )

# stop rmt_storage
# dd if=/dev/zero of=/dev/block/mmcblk0p13
# dd if=/dev/zero of=/dev/block/mmcblk0p14
# reboot

After this you should have your gps back working.
To wipe the efs is general a good idea if you switched radio-firmware or the ril-libs (which might happen when you switch from one rom to another)

have fun - Guhl

#22 Obidoub

Obidoub
  • Members
  • 1 posts
  • Country:fr
  • Device Model:HTC Desire Z
  • MOD Version:7 RC3
  • Recovery Image:ClockworkMod

Posted 10 April 2011 - 03:39 PM

Thanks a million, Guhl!

I have an "FR" version of Desire Z (standalone), and GPS never worked with CyanogenROM 7RC2/3. I didn't flashed radio because my phone was not listed as compatible.

I tried your solution and now I have the GPS icon in status bar, GPS Status is able to lock and Google Maps (after erasing cache) can locate me.

#23 revwillie

revwillie
  • Members
  • 40 posts
  • Country:us
  • Device Model:G2
  • MOD Version:CM 7.1
  • Recovery Image:ClockworkMod

Posted 11 April 2011 - 04:07 PM

Hey, thanks!  I'll test a little later today, but this seems to get my gps indicator flashing.  I had been replacing gps.vision.so with an old file on all of the RCs.  I wonder why some people see this problem and others dont.

#24 mdavis

mdavis
  • Members
  • 104 posts
  • LocationNew York CITY
  • Country:hm
  • Device Model:Tmobile G2
  • MOD Version:CM Nightlies (248+) SD32G
  • Recovery Image:Cyanogen

Posted 11 April 2011 - 08:50 PM

I have the latest 7 stable as expected, no gps went back to 6.1 stable and works better than stock. Tried rc4 a few weeks ago same problem. I'd love to get this 7 but without it it's a nogo. Can't we get a stable 7 WITH gps?

#25 xBooMx

xBooMx
  • Members
  • 19 posts
  • LocationColumbus, OH.
  • Country:us
  • Device Model:HTC G2
  • MOD Version:CyanogenMod v7.0 RC4
  • Recovery Image:Cyanogen

Posted 11 April 2011 - 09:14 PM

I haven't experienced any GPS nor wifi issues in the past couple nightlies and cm7 stable(which I'm running)....


Phone: HTC Vision (G2)
MOD: CyanogenMod v7.0 (Final)
Kernel: CM7 Kernel
Radio: 26.08.04.16
CPU: ARMv7 Processor Rev. 1 (v71)
OC'd: 1.5ghz

Sent from my HTC Vision using Tapatalk.

Edited by xBooMx, 11 April 2011 - 09:19 PM.


#26 mdavis

mdavis
  • Members
  • 104 posts
  • LocationNew York CITY
  • Country:hm
  • Device Model:Tmobile G2
  • MOD Version:CM Nightlies (248+) SD32G
  • Recovery Image:Cyanogen

Posted 11 April 2011 - 09:18 PM

View PostxBooMx, on 11 April 2011 - 09:14 PM, said:

I haven't experienced any wifi issues in the past couple nightlies and cm7 stable(which I'm running)....


Hmmm...if this responding to me? The problem is not wifi it's gps.

Phone: HTC Vision (G2)
MOD: CyanogenMod v7.0 (Final)
Kernel: CM7 Kernel
Radio: 26.08.04.16
CPU: ARMv7 Processor Rev. 1 (v71)
OC'd: 1.5ghz

Sent from my HTC Vision using Tapatalk.


#27 mdavis

mdavis
  • Members
  • 104 posts
  • LocationNew York CITY
  • Country:hm
  • Device Model:Tmobile G2
  • MOD Version:CM Nightlies (248+) SD32G
  • Recovery Image:Cyanogen

Posted 12 April 2011 - 01:00 AM

Well, I'll be damned! About a month ago, as I mentioned more cryptically above, I installed ver 7 RC4 but simply couldn't get GPS to budge. After a day or two I reverted back to stock, then, homesick for Cyanogenmod, flashed 6.1.1 stable release, and I was happily surprised to have GPS work better than stock, with no further modifications. Then yesterday I saw 7 stable was issued, and I was tempted but told myself all that flashing and rebooting, backing and restoring, was just not an adult thing to do. But this afternoon I couldn't resist, flashed 7 stable, and...unfortunately no GPS. Not a sign of it (although the icon was there...nothing to show there was even a blip of a signal. GPS Status software showed zero, zip, nada. Grrrrr!!!! Went back to 6 and was kind of happy, but tonight again temptation called, especially after what seemed like the simple fix just above one or two posts, so I just flashed 7 again and voila, gps is working. All I did obviously was back up to 6, then reflash 7, but it is working like a charm, and just as with 6, at better than stock speeds.

I don't know about all the other fixes out there, it just seems this is a bit batty. I still can't figure out how a radio would alter GPS reception.

Oh by the way I did all this with ROM manager. None of the technical stuff for me. If had I had to start pushing files, I don't think I would have turned the damn phone on. This was pretty easy, but frustrating too.

So, my fix? From a truly ignorant, flash revert and flash a few times. It shouldn't have worked...but it did. Thanks Cyanogen! Now I gotta figure out how to give something to him/them....

#28 db1911

db1911
  • Members
  • 2 posts
  • Device Model:T Mobile G2
  • MOD Version:CM7 RC2
  • Recovery Image:ClockworkMod

Posted 12 April 2011 - 02:30 PM

View PostGuhl, on 09 April 2011 - 08:31 AM, said:

Hi!

The GPS - issue (GPS searching forever, no fix, status bar does not even show the gps-icon) can be fixed by wiping the efs data.
This data is stored in partition 13 and partition 14 on the G2/DZ/DHD/MT4G.

To do this you have to get a root shell on your phone (either using adb shell or a terminal app) and then use the following command (as always: do not type the # it only indicates the root prompt in the shell)
If your prompt is not # but $ then first do:
$ su
and answer the question of Superuser. (Well you should all know this by now :-) )

# stop rmt_storage
# dd if=/dev/zero of=/dev/block/mmcblk0p13
# dd if=/dev/zero of=/dev/block/mmcblk0p14
# reboot

After this you should have your gps back working.
To wipe the efs is general a good idea if you switched radio-firmware or the ril-libs (which might happen when you switch from one rom to another)

have fun - Guhl

Thanks so much. I've been without a working gps since I first loaded CM 7 RC 2 (my first ROM), even 7 stable didn't fix it, but this did the trick. Works beautifully. Thanks again.

#29 phaedrus

phaedrus
  • Members
  • 1 posts
  • Device Model:HTC Dream
  • MOD Version:CM 6.0
  • Recovery Image:Amon_RA

Posted 12 April 2011 - 04:27 PM

Thank you very much Guhl.  Your adb commands did the trick and now my GPS is acquiring signal again on CM7 stable.  It previously hadn't worked while using any of the nightly CM7s.

View PostGuhl, on 09 April 2011 - 08:31 AM, said:

Hi!

The GPS - issue (GPS searching forever, no fix, status bar does not even show the gps-icon) can be fixed by wiping the efs data.
This data is stored in partition 13 and partition 14 on the G2/DZ/DHD/MT4G.

To do this you have to get a root shell on your phone (either using adb shell or a terminal app) and then use the following command (as always: do not type the # it only indicates the root prompt in the shell)
If your prompt is not # but $ then first do:
$ su
and answer the question of Superuser. (Well you should all know this by now :-) )

# stop rmt_storage
# dd if=/dev/zero of=/dev/block/mmcblk0p13
# dd if=/dev/zero of=/dev/block/mmcblk0p14
# reboot

After this you should have your gps back working.
To wipe the efs is general a good idea if you switched radio-firmware or the ril-libs (which might happen when you switch from one rom to another)

have fun - Guhl


#30 mdavis

mdavis
  • Members
  • 104 posts
  • LocationNew York CITY
  • Country:hm
  • Device Model:Tmobile G2
  • MOD Version:CM Nightlies (248+) SD32G
  • Recovery Image:Cyanogen

Posted 12 April 2011 - 05:34 PM

Can anybody offer an opinion on why Aura doesn't work on 7 but did on 6? It doesn't even start and when you try to open from market it says, "no applications can perform this action"  HELP! Note my gods works but not the software it runs!

#31 theratdude64

theratdude64
  • Members
  • 45 posts
  • Country:us
  • Device Model:|2|
  • MOD Version:Cyanogen 6.1.1 G2
  • Recovery Image:ClockworkMod

Posted 12 April 2011 - 09:45 PM

View PostSangruria, on 31 March 2011 - 03:02 PM, said:

Radio Vision_RADIO_12.50.60.24_26.08.04.16 fixed my GPS Problem.

That did it! I tried the gps.vision.so file and no luck, so I tried the radio.  There's so many arguments that radio doesn't effect other stuff, but wow this without a doubt fixed my problem :)

#32 Tryzik

Tryzik
  • Members
  • 2 posts
  • Country:us
  • Device Model:HTC G2
  • MOD Version:Cyanogen 6.1.1
  • Recovery Image:TWRP

Posted 12 April 2011 - 10:03 PM

Thanks Guhl!  Fixed my problem perfectly too!

View PostGuhl, on 09 April 2011 - 08:31 AM, said:

Hi!

The GPS - issue (GPS searching forever, no fix, status bar does not even show the gps-icon) can be fixed by wiping the efs data.
This data is stored in partition 13 and partition 14 on the G2/DZ/DHD/MT4G.

To do this you have to get a root shell on your phone (either using adb shell or a terminal app) and then use the following command (as always: do not type the # it only indicates the root prompt in the shell)
If your prompt is not # but $ then first do:
$ su
and answer the question of Superuser. (Well you should all know this by now :-) )

# stop rmt_storage
# dd if=/dev/zero of=/dev/block/mmcblk0p13
# dd if=/dev/zero of=/dev/block/mmcblk0p14
# reboot

After this you should have your gps back working.
To wipe the efs is general a good idea if you switched radio-firmware or the ril-libs (which might happen when you switch from one rom to another)

have fun - Guhl


#33 catzilla

catzilla
  • Donators
  • 161 posts
  • Country:us
  • Device Model:i747 (d2att)
  • MOD Version:CM10
  • Recovery Image:ClockworkMod

Posted 12 April 2011 - 10:38 PM

I had this problem on a freshly rooted G2 on CM7 stable. Flashed radio 26.06.02.27 and it works. Nothing else needed.

#34 ptown77

ptown77
  • Donators
  • 74 posts
  • Country:us
  • Device Model:T-Mobile G2
  • MOD Version:CM 7.0.2
  • Recovery Image:ClockworkMod

Posted 13 April 2011 - 02:49 AM

Well I haven't had stable GPS since I installed CM7. I tried the process above by wiping efs via terminal emulator. There is a message saying something like "write error- not enough space left on device" and then some input/output stuff. On the "mmcblk0p13" in that 0 an is zero or O as in a capital letter? I was inputting a zero as it seemed to make sense.

Also what was strange is I tried wiping my phone, including the Dalvic Cache, then reinstalling CM7 Stable. I turned on GPS and it actually worked. I got a fix and the GPS symbol in my notification bar. However, it didn't last long. Now I'm back to disabled GPS. Any suggestions? I'm half-tempted to flash a new radio but I don't know how to use adb shell on my PC and it people say it's pretty much like throwing your phone against a wall and hoping it will survive. Just trying to exhaust all options before having to restore the stock ROM as I need the GPS function to work.

#35 bouncing

bouncing
  • Donators
  • 45 posts
  • Twitter:SwimsAfterEatin
  • LocationDenver
  • Country:us
  • Device Model:G2 and Nexus One
  • MOD Version:Cyanogen 7rc4
  • Recovery Image:ClockworkMod

Posted 13 April 2011 - 03:02 AM

View Postptown77, on 13 April 2011 - 02:49 AM, said:

Well I haven't had stable GPS since I installed CM7. I tried the process above by wiping efs via terminal emulator. There is a message saying something like "write error- not enough space left on device" and then some input/output stuff. On the "mmcblk0p13" in that 0 an is zero or O as in a capital letter? I was inputting a zero as it seemed to make sense.

Also what was strange is I tried wiping my phone, including the Dalvic Cache, then reinstalling CM7 Stable. I turned on GPS and it actually worked. I got a fix and the GPS symbol in my notification bar. However, it didn't last long. Now I'm back to disabled GPS. Any suggestions? I'm half-tempted to flash a new radio but I don't know how to use adb shell on my PC and it people say it's pretty much like throwing your phone against a wall and hoping it will survive. Just trying to exhaust all options before having to restore the stock ROM as I need the GPS function to work.

I wouldn't say that, but make sure you know how to use adb shell, and that you're comfortable flashing using it.

If you flash a radio correctly, and you use the right image, it's perfectly safe. If something bad happens, then yes, you've bricked it.

#36 bouncing

bouncing
  • Donators
  • 45 posts
  • Twitter:SwimsAfterEatin
  • LocationDenver
  • Country:us
  • Device Model:G2 and Nexus One
  • MOD Version:Cyanogen 7rc4
  • Recovery Image:ClockworkMod

Posted 13 April 2011 - 03:08 AM

View PostGuhl, on 09 April 2011 - 08:31 AM, said:


After this you should have your gps back working.
To wipe the efs is general a good idea if you switched radio-firmware or the ril-libs (which might happen when you switch from one rom to another)

have fun - Guhl

Thanks, Guhl. What exactly are the EFS partitions? From Googling around, they appear to hold a lot of information and everyone is saying to make sure you back them up. So, uh, what's going on here?

#37 ptown77

ptown77
  • Donators
  • 74 posts
  • Country:us
  • Device Model:T-Mobile G2
  • MOD Version:CM 7.0.2
  • Recovery Image:ClockworkMod

Posted 13 April 2011 - 03:23 AM

View Posttheratdude64, on 12 April 2011 - 09:45 PM, said:

That did it! I tried the gps.vision.so file and no luck, so I tried the radio.  There's so many arguments that radio doesn't effect other stuff, but wow this without a doubt fixed my problem :)

OK so I don't need to use adb shell to flash a new radio? Also I see people here flashed a few different radios. For clarification, I have a US G2 with the official update that included the following radio: (Baseband Version) 12.28b.60.140eU_26.03.02.26_M

So can I just download and flash the same radio and be in good shape? I know it's risky but only if the wrong radio is flashed or you drop the phone while it's flashing the new radio... (not likely!)

#38 theratdude64

theratdude64
  • Members
  • 45 posts
  • Country:us
  • Device Model:|2|
  • MOD Version:Cyanogen 6.1.1 G2
  • Recovery Image:ClockworkMod

Posted 13 April 2011 - 03:32 AM

View Postptown77, on 13 April 2011 - 03:23 AM, said:

OK so I don't need to use adb shell to flash a new radio? Also I see people here flashed a few different radios. For clarification, I have a US G2 with the official update that included the following radio: (Baseband Version) 12.28b.60.140eU_26.03.02.26_M

So can I just download and flash the same radio and be in good shape? I know it's risky but only if the wrong radio is flashed or you drop the phone while it's flashing the new radio... (not likely!)


I have flashed my G2 over USB with Fastboot before, but feels less scary when ya just flash it the bootloader from a .zip.   I used this thread
http://forum.xda-dev...ad.php?t=970809
and downloaded the top one, rename the file to the PC10IMG.zip and put it on root.  Reboot into bootloader, I believe select top option, and it'll say "Radio file, wanna flash it?" confirm and good to go, thats what I did today.

#39 ptown77

ptown77
  • Donators
  • 74 posts
  • Country:us
  • Device Model:T-Mobile G2
  • MOD Version:CM 7.0.2
  • Recovery Image:ClockworkMod

Posted 13 April 2011 - 03:45 AM

View Posttheratdude64, on 13 April 2011 - 03:32 AM, said:

I have flashed my G2 over USB with Fastboot before, but feels less scary when ya just flash it the bootloader from a .zip.   I used this thread
http://forum.xda-dev...ad.php?t=970809
and downloaded the top one, rename the file to the PC10IMG.zip and put it on root.  Reboot into bootloader, I believe select top option, and it'll say "Radio file, wanna flash it?" confirm and good to go, thats what I did today.

OK, that seems easy enough. I guess my question is, which radio did you flash? I would think if you have a G2 with the official update that dropped last November, then whatever radio fixed your problem should fix mine. Again, I know some people here flashed a few different ones, but trying to get an idea.....

#40 theratdude64

theratdude64
  • Members
  • 45 posts
  • Country:us
  • Device Model:|2|
  • MOD Version:Cyanogen 6.1.1 G2
  • Recovery Image:ClockworkMod

Posted 13 April 2011 - 03:51 AM

View Postptown77, on 13 April 2011 - 03:45 AM, said:

OK, that seems easy enough. I guess my question is, which radio did you flash? I would think if you have a G2 with the official update that dropped last November, then whatever radio fixed your problem should fix mine. Again, I know some people here flashed a few different ones, but trying to get an idea.....


I flashed Vision_RADIO_12.50.60.24_26.08.04.16 ,  I didn't really experiment with them but that one did the trick for me.  It wasn't that I just didn't get any locks with the GPS before, I had no GPS icon on the status bar, no signs the GPS even functioned.  After flashing, I got an accurate lock in GPS Status app within 12 seconds.  My old G2 I experimented with different radios but I never encountered any GPS related issues when doing so.  I got my replacement G2 from UPS yesterday, rooted/CM7'd it and had no GPS.  For kicks I played with MIUI last night, still no GPS.  This G2 came with Base band 12.28b.60.140eU_26.03.02.26_M.  Today flashed the radio and got it back.