i don't get it..so it only affects your wifi location? my gps and 3g triangulation works fine!
Navigon and google maps works fine outdoors
So is it possible that Apple's own Wi-Fi locations database is so ass-tastic that it's locating my router in Chicago, whereas my old iPhone, using Skyhook's database and location services, correctly found the exact same router correctly, in Florida?
Or is Apple no longer using Wi-Fi in its location triangulation scheme at all, hence my phone shows itself a few streets over when 3G & Wi-Fi are turned on vs. just about dead-on with my old phone when 3G & Wi-Fi were on?
#!/bin/bash
sleep 15
launchctl unload /System/Library/LaunchDaemons/com.apple.locationd.plist
sleep 10
launchctl load /System/Library/LaunchDaemons/com.apple.locationd.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.ikyo.loc.Startup</string>
<key>UserName</key>
<string>root</string>
<key>Program</key>
<string>/usr/sbin/locd</string>
<key>RunAtLoad</key>
<true/>
</dict>
</plist>
Wirelessly posted (iPhone 4 (32GB, JB): Mozilla/5.0 (iPhone; U; CPU iPhone OS 4_0_1 like Mac OS X; en-us) AppleWebKit/532.9 (KHTML, like Gecko) Version/4.0.5 Mobile/8A306 Safari/6531.22.7)
I'd love to use this script but I have no (or very little) idea how. Would it be a hassle to write a quick tutorial?
It may have worked for you, but any chance we can still get a writeup? I'd love to see a fix for this.
#!/bin/bash
sleep 15
launchctl unload /System/Library/LaunchDaemons/com.apple.locationd.plist
sleep 10
launchctl load /System/Library/LaunchDaemons/com.apple.locationd.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.ikyo.loc.Startup</string>
<key>UserName</key>
<string>root</string>
<key>Program</key>
<string>/usr/sbin/locd</string>
<key>RunAtLoad</key>
<true/>
</dict>
</plist>
Create each of those files in a text editor. Remember the files are locd and com.ikyo.loc.Startup.plist (no .txt at the end of those files).It may have worked for you, but any chance we can still get a writeup? I'd love to see a fix for this.
Create each of those files in a text editor. Remember the files are locd and com.ikyo.loc.Startup.plist (no .txt at the end of those files).
Copy locd to /usr/sbin
Copy com.ikyo.loc.Startup.plist to /System/Library/LaunchDaemons
ssh into your phone, and change the permissions on locd: chmod +x /usr/sbin/locd
While you're ssh'd into the phone, run /usr/sbin/locd ... it'll take 25 seconds. If you did everything correctly your location services will work right again.
If all the above works, reboot your phone, and verify that it works properly.
This issue has suddenly appeared for me now. With openSSH installed my phone can no longer locate me inside buildings, where it could before (presumably using the router location). And now I struggle to connect to certain wifi networks. Settings will say I'm connected and I'm assigned an IP address but the wifi symbol doesn't appear and it will take a minute or so to connect, sometimes not connecting at all. Removing openSSH stops this behaviour and installing it again brings it back. I'm going to email Saurik about this.