Change Location of Non Jailbroken iPhone / iPad (Releasing Personal App)

Download here

I wrote a thing.
It works on Windows.
I'm a shitty coder and am stuck writing GUI stuff in Visual Basic 6. As a result, Windows Defender SmartScreen will intervene until you tell it not to.
I'm not interested in hax0ring you, but you should probably wait until someone else verifies this is safe (it is, I wrote it, but I get it, you don't trust me).
Requires iTunes to be installed first.
Extract the contents of the zip first before running. App will require write access to the folder it's in.
It's a front end to libimobiledevice but I doubt most people know how to compile it nor know how to use it.
Will enable developer mode on your iDevice.
7/11 Fuel App Watch - Nationwide

Happy to answer questions about it here.

It's not possible to fake location directly on your device without a computer.
I do not have a Mac version.
Wifi syncing will cause funny behavior. I haven't gotten around to properly detecting/handling connections via wifi.

Comments

  • +1

    I would have thought the easiest way to change the location of an iPad was to… pick it up and move it? :P

    reads the rest

    Ah. Location spoofing.

    Use a cheap/secondhand Android phone instead, running the 7/11 app, and spoof the location that way? Then you can leave the spare phone in you car all the time specifically for buying cheap fuel.

    • +3

      Yeah certainly an option. Just posting an alternative solution.

  • Thanks OP, looks really useful! Can you put the source code on github etc so we can have a look at what it does?

    • +1

      It's really just a front end for the libimobiledevice binaries, automating
      * Detect if developer mode is active (by trying to spoof location)
      * Upload developer disk image if not (downloads from some guy's github if you don't have the image) (this is the bulk of the code)
      * Reverse geo location via google maps api
      * Spoof location

      https://pastebin.com/E4VX0D39 (please don't laugh)

  • +2

    Had a bit of a poke around, looks like a thin wrapper around Google Maps API (to convert a given address to latitude and longitude) and then feeds them into the utilities in the tools folder which are all completely open source (ideviceinfo & idevicelocation).

    https://github.com/libimobiledevice/libimobiledevice
    https://github.com/JonGabilondoAngulo/idevicelocation

    Probably safe, haven't tested it personally.

  • Damn VB6… you should get onto Xamarin and get it onto any device.

    • I doubt libimobiledevice would compile, and likely wouldn’t work anyway trying to connect to localhost.

      But yes. Damn VB6.

  • Hey if you made something and it works that's all that matters.

    Have you considered learning c#? I went from VB .net years ago to c# and haven't looked back. It made me more employable also lol.

    • I only code for a hobby… I learnt a bit of objC and iOS development and forgot it all when I couldn't think of stuff to actually make.

      And I've learnt Python too, which is great for everything except releasing stuff to friends/public.

  • So how does this work?

    Connect iPhone
    Start program, refresh devices, and set location
    then run 7/11 app in phone?

    I did that and it didnt work

    Edit: worked, put the phone in offline mode first, the app "downloaded" some stuff and then set the location, then opened the app and it was Fairfield. Opened up my data and locked in the price.

    • I think my app was trying to connect to your phone via Wifi (as well as cable) and it stuffed up because I haven't built in handling of that properly yet.

      As long as you found a way I'm glad :)

  • I’m getting error downloading signature file for [device name]

    iPhone X running 12.1

  • +1

    Why not just use Nox on desktop?

    • Just another alternative, and some people may find Nox 'too hard'. Yes, some may find this too hard too.

      Also, location spoofing has other uses too beyond 7-Eleven :)

  • Hi OP
    I'm getting an error when i clicked 'refresh device'.
    It says Runtime error 340, control array element 3 doesnt exist.

    Please help, thanks.

    • Can you post a screenshot showing the coloured bars?
      Do you have multiple devices plugged in?

  • I'm getting run-time error '5': Invalid procedure call or argument
    iPhone 7, ios 12.2

    • When does it come up?

      Can you post a screenshot?

      • it comes up when I click on refresh devices, I see my device name but it's coloured in yellow
        https://gyazo.com/032030a66f75f4e381bfb2bcf8e1ebbb

        • I meant of the interface

          Are there other blank but coloured boxes?

          Have you tried running as admin?

          • @cooni: no, just one yellow coloured box, have tried running as admin but it doesn't change anything. btw was working before updating to ios 12.2

            • @Jaso n: Ohhh! You need to add these two lines to devimages.txt:

              https://pastebin.com/3EFtDLRE

              (tried to paste here but auto formatting stuffs it)

              You'll need to do this manually each time a new .1 iOS update is released.

              • @cooni: thanks, also are there any ways for it to work with ios beta 12.3? iPhone xs

                • @Jaso n: Only if you can locate the developer disk image for it. It should be around somewhere.
                  The format I use for devimages.txt should be pretty self explanatory - or you can save the image/sig yourself to the tools folder with appropriate names

                • @Jaso n: Just Googled, you can use the same links for 12.2 for 12.3 beta so just add:
                  https://pastebin.com/Wci33SLn

Login or Join to leave a comment