Many iPad jailbreaker reported broken location services after using spirit on their iPad WiFi, i.e. if you jailbreak a WiFi iPad and then attempt to use an app that wants to prompt you to use your location, you get a failure message. The problem is due to an unfixed bug in OpenSSH.
You need a Mac to run following commands from Mac OS, every time you restart your iPad repeat the same process (thanks to DarkMalloc for pointing out)
1) Open SBSettings and make sure SSH toggle is activated (green) and note the Wi-Fi IP address of the iPad.
2) Open Terminal , and type in:
ssh root@xxx.xxx.x.xxx (Replace xxx.xxx.xxx.xxx with your iPad WiFi address) and it should be like ssh root@192.168.1.101
3) You will be prompted to enter your password. If you have not changed the default password is alpine.
4) Now execute following commands
launchctl unload /System/Library/LaunchDaemons/com.apple.locationd.plist
Press enter
launchctl load /System/Library/LaunchDaemons/com.apple.locationd.plist
5) That’s it! The location Services will work again.
Follow us on twitter @ipadintosh and stay tuned with the latest of iPad tweaks.







{ 20 comments… read them below or add one }
the password is… alpine (No capital A)
> 3) You will be prompted to enter your password. If you have not changed the default password is Alpine.
Is there a way for Windows user, too? Would be greatly appreciated!
putty
If youre using Windows download Putty and connect through that. I have tried this using Putty, Mac Terminal, and iSSH through the device and my location services still do not work.
Hopefully they come out with an update soon.
I hate to sound stupid…..where or what is SBSettings?
I have no issue with location service after jailbreak(Spirit).
The solution to this looked rather simple, it is just a restart of this service. I don’t think it is a true solution.
And the way this post said, rather amateur, Both Mac and Windows could do such task as long as it had ssh client.
For windows, you just install putty/securecrt and so on to login your ipad.
Tried twice but it’s not working.
Everything seems to occur as described above but nothing changed location still not working
works fine! THANKS!
just a short question: in case I have no Wifi Signal at the moment of reenabling location service, can I use root@127.0.0.1 instead??????
I have released a Cydia package that fixes the location services issue caused by the Spirit jailbreak.
1. In Cydia, add the source http://cydia.pushfix.info/
2. Install the package “iPad Location Services Fix”
That’s it. It restarts locationd on install and on every boot after the SpringBoard finishes loading. You should have no more problems with location services after install.
Thanks now it works perfect
It worked for me with Putty on Windows and issh on iPad, but then it stopped working again. So it obviously is not a permanent solution.
Tried this solution on my jailbroken iPhone 3G (3.1.3) and it worked the first time but the GPS only worked 1 time thereafter.. Back to not being able to locate my coordinates. Anyone have a permanent fix for this?
I can’t locate my phone and can only use the maps if I have the address of my current location … pretty irritating.
I removed Openssh and haven’t had the problem again. Since Openssh was required to to the above fix, then fix is part of the problem. I removed bit the Makeitmine and Openssh and location services have been fine since.
The fix worked for me, on an iPad Wifi broken with Spirit. To avoid the need to have access to a computer after a restart (i.e., if you are travelling), put the commands in a bash scriptfile like this:
launchctl unload /System/Library/LaunchDaemons/com.apple.locationd.plist
sleep 5
launchctl load /System/Library/LaunchDaemons/com.apple.locationd.plist
Change the permissions (i.e., chmod 755 filename) , then upload the script to your iPad. Next time location services stop working, open an terminal on your iPad and run the script. No need for a computer. I found the sleep command was necessary to allow enough time for the service to stop before restarting.
hope this helps,
Gunwalebobber
Sorry folks how can i changed my password with ssh?
Thanks for this!!! IT WORKS FLAWLESS
hi, there is an other (permanent!) solution
- I read it on a german side, not tested by me but comments by others “works perfecly”
modify (copy from ipad to .. edit, copy back)
file: /System/Library/LaunchDeamons/com.apple.locationd.plist
entry
from: OnDemand
to: OnDemand
copy back the file to ipad, reboot
sorry, the page interpret the < and > as html …
I try it now with html esc sequences
the key is:
from: <key\>OnDemand</key\> <false/>
to: <key\>OnDemand</key\> <true/>
Google Maps becomes normal once I remove OpenSSH (and MobileTerminal). THANK YOU VERY MUCH!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
I have an ipad 64..wifi only….the current location worked for about 2 months form my home wireless, work wireless and every wireless where i could log on…now it wont find my location. says that my current location can not be determined. my location services are turned on. any idea?