yashsingh1/xdaforums huggingface dataset:
[G2 and Desire Z General] infinitron:
I tried swapping from CM 7.0.3 to the suggested ROM in your post. I tried both the 213 and 216 roms and neither worked. I did full super wipes between, re-ran the efs_wipe and even tried pushing in different gps.vision.so files as per the other long GPS fix thread. Nothing works.

I am amazed that there is a full on release of CM7 when this feature is clearly broken with no easy fix for so many users. I am downgrading back to CM6.1.1 until either there's a REAL gps fix for everyone or CM8 gets released.
[G2 and Desire Z General] Ditamae:
Did you specify the stock HTC GPS drivers on the ILWT.txt? And did you switch to radio 4.30 first? 4.03 should work too. The EFS wipe tool is included in his ROM version 213 and up. It should work...

So you would first wipe dalvik cache/cache... then flash either of those radios (I used 4.30), then make sure the ILWT.txt is on the root of your SD card with the stock HTC GPS drivers uncommented... then flash tsubus' ROM. 213+ all have the EFS wipe tool embedded with the ROM.
[G2 and Desire Z General] infinitron:
I went through and re-did everything as per your instructions to make sure I didn't miss anything.

Here was my order of operations:

1. Wiped Cache and Dalvik Cache

2. 30 radio was already installed

3. Installed 213 with the htc gps drivers uncommented in the ILWT.txt

4. Installed gmaps

5. Got no gps signal

6. re-ran the efs wipe

7. ran gmaps

8. got no gps signal

Am I missing something? Your kernel is listed as ILWT CM7 Kernel v1.1.2, but I don't see an option to install that kernel. Mine is as listed below.

Android Version: 2.3.7

Baseband Version: 12.52.60.25U_26.08.04.30_M3

Kernel Version: 2.6.35.14-ILWT-v1.1.1+pawn@ILWT#1

Mod Version: ILWT-CM7-20111001
[G2 and Desire Z General] EdKeys:
The kernel version shouldn't matter. Does the gps icon appear in the status bar? If so and you are outside you need to wait up to 60 seconds for the gps to lock for the first time after doing the efs wipe. Open navigation too and click through any of the first time message windows that might appear.
[G2 and Desire Z General] infinitron:
FINALLY!

Thank you EdKeys and Ditamae! It finally works.

I walked around outside with google maps trying to find my location and on top of it started google navigation between two random points. After literally over 3 minutes of waiting, the navigation found my location and then started giving me directions.

Now it finds me in seconds and I can finally see satellites in Turbo GPS. The amount of time I had to wait for it to find me was so much greater than I had ever thought it would be.

You guys were right and I just needed to be patient. I think key ingredients to having this method work were:

1. Right radio (for me the 26.08.04.30) with the right gps.vision.so file (built into tsubus ROMs)

2. Be outside (moving around didn't seem to hurt)

3. Be extremely patient (over 3 minutes to get a lock and several times it told me my position was temporarily unavailable!)

This problem has been driving me crazy over the last month and now I'm glad to have it resolved.
[G2 and Desire Z General] Ditamae:
Good, I'm glad you got it working... I guess I should have mentioned that the first lock can take some time. I also went outside and ran an app called U-Center (a good GPS tool) and waited a good 5 minutes for a lock. But after that initial test, it locks fast and stays put.
[G2 and Desire Z General] mikef:
Thank You, Thank You, Thank You

I had been unable to get a GPS lock after loading ARHD 3.6.x on my Sensation 4G, and your dd commands did the trick. A simple reboot wasn't enough though, I had to power off and pull the battery for a few seconds. After powering back up, I got a lock within 30 seconds to 10 meter accuracy!
[G2 and Desire Z General] vittogn:
Working combination for my Desire Z

GPS update: 10.04.03

Radio: 12.57.60.25U_26.10.04.12_M

CM7.1

Previously (with all radios including 0.3) I had often the GPS not wake at all, without even showing the blinking notification icon (with whatever navigation sw or GPS testing).

I tested for 2 days. Good accuracy. Cold lock in 10-12 seconds. Warm lock in 3 seconds.

Thanks a lot.
[G2 and Desire Z General] daskeks:
I can confirm this (HTC Vision, CM 7.1).

After flashing Radio 12.62.60.27_26.13.04.19 (from here) it's the first time my GPS works fine without connection problems.

Other Radio versions (including 0.3, too) or other trys to fix it (like only wiping or installing other gps drivers) doesn't really fix the GPS problem on my phone (GPS lost connection after just about 20 minutes and then every 2 minutes).

Now it works fine - yea! :)

(Sorry for bad English)
[G2 and Desire Z General] Zendarino:
Hi guys! I have a problem with elitemod 244! Gps don't work! I have changed a lot of radio but nothing!! The gps icon doesn't appears on status bar! Sorry for my bad english, i m italian!!
[G2 and Desire Z General] yassine_le_boss:
I tried both methods on my HD2 but none of them works. do you have any idea how to make it works?
[G2 and Desire Z General] yassine_le_boss:
error in "Method 1"

Hi guys,

I'm using HTC HD2.

I tried "Method 1" (in post 1) and I got this error when executing

"# /data/local/tmp/vision_wipe_efs" :

Backing up partition /dev/block/mmcblk0p13 to /sdcard/part13backup-1323793237.bin ...
Error openning input file.

any idea about this error ?
[G2 and Desire Z General] Ditamae:
Have you heard of "DIEM's fix?" It's something I came across over in the HD2 radio thread. I guess it's supposed to fix GPS if you're running a Gingerbread ROM. It's flashable thru CWM. Here's a link to one the posts in the radio thread: http://xdaforums.com/showpost.php?p=10936742&postcount=2205

Check out the rest of the thread and make sure it's for your device before you go ahead and try flashing it. Good luck.
[G2 and Desire Z General] timmiii:
Hey, I'm getting the exact same error on my HTC Sensation and I have even unplugged my phone so that my SD card can be fully mounted. Is there any other way to wipe the efs partition other than using the more risky method?

Edit: So I tried it using the dd method, however after each line i would get a "write error: no space left on device". So was the efs data even wiped or touched?
[G2 and Desire Z General] killswitch11:
I can't attest to GPS working for me with CM7 yet. It never has worked but have not tried lately. I'm on MIUI and ever since the HTC GPS .SO files have been built in and I flashed the newest official radio, my GPS problems are no more.

One more thing I find useful: On the occasion that I cannot get a lock, it's possible to "force" a GPS fix by disabling the Wireless Networks location function. This forces the phone to find location by GPS signal rather than leaning on wireless networks by default. Has worked for me every time.
[G2 and Desire Z General] mikef:
Yes, this error means that you wrote from/ dev/zero to the GPS partition and filled it. Exactly what it was supposed to do.
[G2 and Desire Z General] timmiii:
Thanks!

I noticed my GPS working in NYC last night however it doesn't work in NJ now. I'm getting really tired of this thing.
[G2 and Desire Z General] jethro650:
No problems here with GPS with same set up...
[G2 and Desire Z General] ifti_a:
i tried the dd command on my sensation

seems to have messed somthing up as i get a red blue white andriod screen at startup.....phone boots fine though

need help to restore the backups of the blocks 13 and 14. they were created cause i trued the script first....

can someone tell me the commands to do that ?

---------- Post added at 12:58 AM ---------- Previous post was at 12:23 AM ----------

about to have a sleepless night lol

but searched the net and heres what i did

Type su first to get superuser privileges

Then

# stop rmt_storage

# dd if=/mnt/scdard/part13backup-******* of=/dev/block/mmcblk0p13

# dd if=/mnt/scdard/part14backup-******* of=/dev/block/mmcblk0p14

# reboot

Replace ******* with your own numbers from the files....

closed the windows and rebooted and its fine HTC back up....

is this correct ?

Just found out I had a error in the commands I posted,

thanks cogency for showing me the error.
[G2 and Desire Z General] allholy1:
I got this same screen too. I think it's due to having flashed the 10.58.9035.00U_10.15.9035.02_2 radio. Someone please correct me if I'm wrong
[G2 and Desire Z General] No-New-Phone:
I have a HTC desire S using Virtuous Unity 2.39 and since I have tested a variety of different custom ROMS, I am suffering a lot with superpoor GPS. So I have thought that efs-wipe might help:

(from 1st post)

Well, it doesn't, at least not for me. And it has not worked with MIUI-Rom (CM-based kernel). Instead of heaving a poor GPS-signal, I now have no signal at all, rest works fine.

Now my general question: does the efs-wipe work the same on any device? Does it work on any ROM, or just on CM? If so, I might change to CM.
[G2 and Desire Z General] xdadevolpers:
thanks for this!
[G2 and Desire Z General] ifti_a:
Wats the solution ?

I restored mine is it ok to.use the script ?
[G2 and Desire Z General] mikef:
This is normal as the boot splash screen is kept in the same partition as the GPS data. Wiping this partition causes the default boot splash to come up. You can reflash it unless you have upgraded to the new ICS firmware with hboot 1.20
[G2 and Desire Z General] TramainM:
I keep getting a Not permitted when i type reboot! can you help?
[G2 and Desire Z General] MrShack:
wow. that was really the sollution.

i have the latest miui.us rom for sensation. (2.2.3)

earlier i flashed basebands / firmwares and after that had some problems with some versions of faux and bricked kernel. with some versions the call was hung up when the screen went off (moved phone near ear). or the gps thing, couldn't enable / disable gps.

now after that fixing method both calling and gps are working perfectly with any kernel!

thanks!
[G2 and Desire Z General] michael.ihrig:
Works

Thanks for this, worked perfectly the first time. :)
[G2 and Desire Z General] ominion:
Thanks for the guide. Method 1 worked at the first try. Now I can use GPS again!
[G2 and Desire Z General] angusc:
maybe the OP should add to the method 1 instructions that it is normal to get the "failed to open input" message so that others know to go to the "reboot" command straight after that error message.

EDIT: still does not seem to make a faster fix here in China.....no lock after multiple tries, could just be my location.....
[G2 and Desire Z General] orestlenczyk:
i think i had same issue with gps. after turning it on, gps icon blink once and it was turned off until i stop and start gps again. applications like "GPS TEST" was not working at all. it was quite annoying. i thought it might be correlated with juice defender and energy saving. so i uninstalled juice defender and now gps is working fine. but i think problem was more complicated, and i resolved it by accident :D strange is, that even when juice defender was disabled gps was still not working. just second after uninstalling JD gps was working perfectly.
[G2 and Desire Z General] rirozizo:
Ok... I don't know how to say this... but...

THANK YOU THANK YOU THANK YOU THANK YOU THANK YOU!!!!!

Running audacity, my gps icon was not even showing up... after doing method 1, I got a fix after 3-5 seconds, with 9-11 satellites, and I'm in my room, with 2 floors above me, and all the windows closed... AWESOME!!

—————

|RIROZIZO|

—————
[G2 and Desire Z General] Deviom:
help

i used this method "method 2) on my htc sensation and it worked perfectly but now i have an image on boot composed by 4 colored bars "blue, red, yellow, green " and it last for 2 second , it appears only when i reboot. did you palce that on the script?

thanx
[G2 and Desire Z General] ahmedrzvi:
GPS Problem

Hey can you tel me where will i get this gps.vision.so my phone is on CM Built 125 jb..

---------- Post added at 05:37 PM ---------- Previous post was at 05:27 PM ----------

can you tel me how to replace the kernal with pershoots my phone is on desire z CM 10 built 125 JB... i have Gps problem on my phone
[G2 and Desire Z General] Warbuff:
Pershoot kernel is for cm7 roms.
[G2 and Desire Z General] smotocix:
ooops

i did the 1. method

and after reboot i got a loop on LG screen. i have a LG Optimus Sol E730 phone. did this method not working on my phone? i brick-ed?
[G2 and Desire Z General] pedrocfernandes:
Does it work with any device? I have a Samsung Galaxy S3 and my GPS is not ok since I messed with my EFS.
[G2 and Desire Z General] Zanys:
When I change rom from CM to http://xdaforums.com/showthread.php?t=2545611 GPS WORKING! ;)
[G2 and Desire Z General] monkmandolins:
Hi- Brand new to this and freshly bricked Droid Incredible 2 Verizone with CM7. I tried the OP suggestion for wiping EFS. It worked, but now I have no cell service. Like an idiot, I did not back up the EFS files. I simply used ADB to input those few lines.

Is there anything I can do to regain Verizon service? According to them, they can "see my phone just fine".

Thanks, and so sorry to bother.
[G2 and Desire Z General] Warbuff:
Not sure. These instructions were meant for the g2.
[G2 and Desire Z General] renedrive:
How to understand why it did not work

I tried this patch on my DHD with CM11 but it did not work.

The method with the script generates error trying to write to the SD card, even if the sd card is available.

The dd method from ADB generate a permission denied error.

The dd method from a terminal session on the phone seems to have worked correctly.

But the GPS is not available, however,

There is some system of control that the patch has worked?

Thanks
[G2 and Desire Z General] renedrive:
I have no idea of the reason, but a second attempt worked.

Always with a terminal session by phone.

Exactly the same procedure.

I do not understand but I adapt.

The important thing is that now the GPS is working properly.

Cheers!! :good: :good:

Thanks.
[G2 and Desire Z General] mrfarnhigh:
I have Asus TF101G and I tried method 1 after line 3 it says an error and the gps is still cannot find even 1 satellite
[G2 and Desire Z General] dragokld:
Ty

Thank you so much it worked :D
[G2 and Desire Z General] neonlite:
great! enjoy :)
[G2 and Desire Z General] Staudamm:
I'm starting to give up here.

Changed to Radio 26.08.04.16_M

Switched the gps.vision.so file

Wiped the EFS Data as mentionned by the OP

Google Navigation won't get a fix on my location

...

nevermind after switching gps.vision.so back and forth and wiping EFS several times it works oO

Regards,
[G2 and Desire Z General] Blades:
That's not true. I'm pretty sure that means the init/ramdisk/kernel started up ok.. this is only on certain radios... so that might be the difference you are seeing.

My GPS works fine and I have second vibration upon boot. However, I have not had that vibration when I messed something up with a boot.img repack, and it just hung there at the white htc screen.
[G2 and Desire Z General] S3BAZ10:
uhm did i mention i love you?! i worked!! ah!!! after sooo long!!!
[G2 and Desire Z General] Wicked68:
I'm new to rooting, did it 2 days ago, loading up CM7, and noticed that GPS does have problems. I don't even know what purpose switching kernels and radios serves. Don't want to mess anything up, hahaha
[G2 and Desire Z General] JaMoFo:
I had the no GPS icon in status bar problem. I flashed 3 roms this week to test them out. Running CM7 now.

I wiped EFS data, fixed permissions and rebooted and it works better than ever. i had a fix in like 3 seconds.

Just wanted to say thanks and let others know. :)
[G2 and Desire Z General] Wicked68:
Thats /mmcblk(zero)p13, right?
[G2 and Desire Z General] Wicked68:
I got the nerve up to do these dd codes and....it worked. Thanks so much. Will, subscribe to this thread for future reference. Pow
[G2 and Desire Z General] Warbuff:
So I was at a party last night and was typing the dd codes on a friends phone. I missed the p13 and p14 parts. The phone rebooted and nothing turns on not even charging ligt. I'm pretty sure its bricked. I already bought him a new one. Just wanted to confirm that nothing can be done?
[G2 and Desire Z General] guhl99:
OMG!

I am so sorry to hear that.

No nothing can be done! If you can not change it back for a warranty replacement this is an unrecoverable brick if you don't find someone with pbl-tools for the Vision (don't know if someone but HTC would have them)

You could donate it to scotty2 (scott dot walker at gmail dot com) as he is looking for a pbl-brick like this for experimenting with the pbl.

Sorry Guhl
[G2 and Desire Z General] Warbuff:
Hey dude don't be sorry its my fault.

Should have focused more on what I was doing instead of what was going on around me.

I already purchased a new phone for him as a replacement. Ill tell my friend and ask if he wants to donate it to scotty 2 for a good cause.
[G2 and Desire Z General] wilnotdie:
Dam that really sucks ass!

I would encourage him to donate it to scotty2. He played a big part in rooting our phones to begin with. If anyone can do it, I have my money on him and the rest of the g2root team.
[G2 and Desire Z General] revwillie:
Guhl, it's awesome that you made an executable to do this with reduced user error (fat finger brick).

I tried reading your source code, but that's not my strength. Is it OK to run the file off sdcard or do you have to run it out of data/local/tmp? It looks like the difference is just where the backup files are written. CORRECTION: no, I see now that backups are always written to the sdcard root.

Thanks.
[G2 and Desire Z General] xsteven77x:
Not true. Mine has done that since I flashed the leaked gingerbread radio no matter what radio its on now, and gps works on all roms.
[G2 and Desire Z General] xsteven77x:
I would recommend to stop using that gps status toolbox app on this rom. After reading all this I tried that app just for the fun of it, and THAT broke my gps. Had to do this fix now everything works. I have read on more than one occassion that people were using that app when this problem started...just putting my findings up.
[G2 and Desire Z General] raitchison:
I have an older version of the GPS Status app (version 2 before they added the "& toolbox" (or ads)) but don't normally use it. I have found on a couple of occasions when my GPS is stuck on the only way I can turn it off (short of a reboot) is to fire up GPS Status, wait for it to recognize the lock, then exit and the GPS will (sometimes) turn off.
[G2 and Desire Z General] guhl99:
Hi!

Might well be that this has an influence but I never used GPS-Status and had the issue.

Have fun - Guhl
[G2 and Desire Z General] xsteven77x:
I am really in no way in a position to be knowledgable enough to state any of this as fact, but my guess is it has something to do with the way the gps toolbox app handles downloading and copying the XTRA data. That seems to be the only operation that the app handles that makes system changes just using the normal functions/routine use. I have not dived deep enough nor did I actually do anything with the app other than look at the radar and allow it to dwnload and install XTRA data. Never EVER had any gps issues whatsoever on any rom, any radio, any kernel with my g2 prior to this. Always 1-2 meter accuracy and zero drift. Immediately after opening gps toolbox and performing that one operation, my gps would not only not display the icon in the statusbar, in addition the actual functionality was broke too. Could not even see a satellite in the gpstest app.

I immediately tried to restore a nandroid backup taken moments before installing gps toolbox (had a bad feeling from reading all these threads and seeing gps TOOLBOX), and after the restore gps was STILL borked. So it does appear the damage from the app is beyond just the rom, and actually affecting these other partitions on our phones. As soon as I used this fix, everything was working 100% again. to be sure, I downloaded and installed gps toolbox, opened it and allowed it to download xtra data, same thing, gps immediately broke.

Even if its not only this app (some people may have never used it and also had this problem), may be doing something else that is messing with the gps/radio config in a similar fashion as to what the gps toolbox app is doing when it downloads and installs XTRA data. IMHO, our g2s do not even need any of these extra supplicants. I have had a captivate and a vibrant, and anyone who has owned those knows samsung borked them BEYOND repair. I actually had to take the entire phone apart and fix the actual gps prong, which did improve gps functionality somewhat. But in general, you can never get a lock under ten meters, and not drift off the road and into fields etc., and that is WITH all these gps apps to aid in it working. Our phones plain and simply do not need an app to force download xtra data cause in general our phones usually do that on its own from what I have seen.

Sorry for rambling but just wanted to share my experience in hopes that someone else will read this and be able to piece something together like I have myself many times!
[G2 and Desire Z General] guhl99:
Hi!

Your definitely not rambling. I will definitely pick up on your observations and analyze the effect of the app and xtra date on our devices.

Have fun - Guhl
[G2 and Desire Z General] EdKeys:
I agree with xsteven77x. I've noticed the relationship between gps status and the gps lockups and have posted about this in the past. Finally someone else is seeing the same pattern.

http://xdaforums.com/showpost.php?p=11852453&postcount=4

http://xdaforums.com/showpost.php?p=12467006&postcount=7
[G2 and Desire Z General] xsteven77x:
I'm glad someone else noticed this also! After browsing the forum on this topic for awhile this afternoon, it seems most issues at least with cm7 and gps have to do with this app. Wonder if we should contact app dev?
[G2 and Desire Z General] EdKeys:
I think we should along with anyone else that has had a problem with gps status. I'll send an email to the dev. as soon as I'm back on my home computer.
[G2 and Desire Z General] philicibine:
My mate.. running cm7 and also has the gps status app... has not had working sat nav for ages.

Will try this shortly and report back.

Thanks!

EDIT : confirmed working here... maybe this should be incorporated into the radio ril Matcher??
[G2 and Desire Z General] lioks:
The dd commands did the trick for me :-)

FYI, I use Vision_RADIO_12.28h.60.140f_26.06.02.27 on a French debranded Desire Z and did a fresh CM7 install before doing this (with FULL wipe : data / cache / battery stats).

I really need GPS and that was preventing me to use CM7 as a daily ROM.

Thank you for sharing ! :-)
[G2 and Desire Z General] emwonktnoduoY:
Cache/Data wiped

I've tried the dd commands, radio upgraded (would trying a different one be worth while?)

Where can I find the info to update the kernel? - Never mind found that :)

That is my last resort for now unless anyone else has any other ideas?

12.50.60.24U_26.08.04.16_M

Kernel 2.6.32.28

Thanks in advance
[G2 and Desire Z General] djfoo000:
I used the .zip amazinglarry311 had at the other thread. OMG it worked like a charm. Before applying EFS wipe the GPS icon just wouldn't show up, and GPS Test will not detect any satellites. After applying zip, GPS icon popped up, and locked within like 2 minutes!

Please continue with what you guys are doing with software development, coz you're doing an awesome job at it.
[G2 and Desire Z General] meepmopmop:
Alright sorry but I'm a bit confused.

The instructions for method 1; you want us to unzip the file, and then run command prompt. But it's telling me that "'adb' is not recognized as an internal or external command.."

Wat do.