Guide to Fix iPad Location Services Bug after Jailbreak

by admin on May 10, 2010

in iPad Guides

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

2qa0ged thumb Guide to Fix iPad Location Services Bug after Jailbreak5)  That’s it! The location Services will work again.

Follow us on twitter @ipadintosh and stay tuned with the latest of iPad tweaks.

Related posts:

  1. How To : Change Your iPad Default SSH Password
  2. How to Access iPad File System via SSH on Windows Mac
  3. Guide to Enable Voice Control On Your iPad
  4. Guide to make iPhone apps Compatible with iPad
  5. Fix Apple iPad WiFi issue, Fix iPad not Join known WiFi after Sleep

Leave a Comment

{ 20 comments… read them below or add one }

Biver May 11, 2010 at 6:08 pm

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.

Reply

Leave your interesting are creative comments in the comment secation beeeeelooooow May 11, 2010 at 6:13 pm

Is there a way for Windows user, too? Would be greatly appreciated!

Reply

David May 13, 2010 at 1:48 am

putty

Reply

Josh May 13, 2010 at 12:35 pm

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.

Reply

Barry May 11, 2010 at 7:29 pm

I hate to sound stupid…..where or what is SBSettings?

Reply

Albert May 12, 2010 at 7:28 am

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.

Reply

Chemellier May 13, 2010 at 1:17 am

Tried twice but it’s not working.

Everything seems to occur as described above but nothing changed location still not working

Reply

Viennaboy May 28, 2010 at 12:53 pm

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??????

Reply

Pushfix May 21, 2010 at 3:48 am

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.

Reply

Fab September 10, 2010 at 8:43 am

Thanks now it works perfect

Reply

Carl June 7, 2010 at 10:05 pm

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.

Reply

Michelle June 19, 2010 at 5:36 am

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.

Reply

Carl Brooks June 19, 2010 at 6:50 pm

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.

Reply

Gunwalebobber June 27, 2010 at 2:36 am

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

Reply

Jonathan July 1, 2010 at 9:58 am

Sorry folks how can i changed my password with ssh?

Reply

Nenad July 19, 2010 at 5:10 pm

Thanks for this!!! IT WORKS FLAWLESS

Reply

tomtoron July 31, 2010 at 3:07 pm

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

Reply

tomtoron July 31, 2010 at 3:17 pm

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/>

Reply

ken August 19, 2010 at 3:14 pm

Google Maps becomes normal once I remove OpenSSH (and MobileTerminal). THANK YOU VERY MUCH!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Reply

steve hicks November 9, 2010 at 5:04 pm

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?

Reply

Previous post:

Next post: