Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to run it in Windows? #10

Open
munge83 opened this issue Apr 20, 2011 · 27 comments
Open

how to run it in Windows? #10

munge83 opened this issue Apr 20, 2011 · 27 comments

Comments

@munge83
Copy link

munge83 commented Apr 20, 2011

When I run te index.html it onely shows the mub al loading is yust spining and spining and spining , what to do ? Help !

@parkr
Copy link

parkr commented Apr 20, 2011

This app is Mac only.

@parkr
Copy link

parkr commented Apr 20, 2011

Sorry about your wasted time, but it's common knowledge that Objective-C is a language created for Mac Cocoa development.
You could take more of your time to go through your backups.

@parkr
Copy link

parkr commented Apr 20, 2011

It's true. If I had the power, I would add them right now!

@hyperflux7
Copy link

Question - where do the files live on a Windows machine, and can Windows people not take the 'MobileSync' folder from their Win machine (assuming it has one) and then drop it into a replicated folder system in OSX to run the program?

@pbj
Copy link

pbj commented Apr 21, 2011

I'm guessing C:\Users(user name)\AppData\Roaming\Apple Computer\SyncServices\Local\

@grhodes
Copy link

grhodes commented Apr 21, 2011

You can check the longitudes and latitudes on windows by doing the following:

  1. Download and run iphonebackupbrowser (http://code.google.com/p/iphonebackupbrowser/)
  2. When it opens select your backup from the drop down in the top left.
  3. Select the first entry in the top grid ("---- System")
  4. Find the entry "Library/Caches/locationd/consolidated.db" and double click it.
  5. This will open up an explorer window with the file selected.
  6. Copy and paste this file to your documents and rename it with ".sqlite"
  7. Download and install the firefox plugin (https://addons.mozilla.org/en-US/firefox/addon/sqlite-manager/)
  8. Open the file you just copied to your documents
  9. Select the "CellLocation" table

Hope this helps

EDIT: found this application to do it for you (http://www.redcode.nl/blog/2011/04/reading-iphone-gps-data-from-backup-with-java/)

@pbj
Copy link

pbj commented Apr 21, 2011

Rock and roll! Thanks!

@sandco
Copy link

sandco commented Apr 21, 2011

Im prob stupid and not doing something properly. I have followed the 9 steps above and can now see the information.
How do I now export the SQL data into a mapping format?
Thanks in advance.

@tmcw
Copy link

tmcw commented Apr 23, 2011

Here's a converter to shapefiles: https://gist.github.com/932879
(note: requires OGR library, isn't tested on Windows, isn't thoroughly tested)

@jamesbrowneuk
Copy link

Try this : http://www.iphonelocationtracker.co.uk/

@petewarden
Copy link
Owner

We haven't created a Windows version of the application ourselves. We have
seen quite a few versions by other people appear, that you should be able to
find by googling, but since we haven't checked them out personally it's hard
to vouch for any particular one. Sorry about that!

cheers,
Pete

On Wed, Apr 20, 2011 at 1:36 PM, munge83 <
[email protected]>wrote:

When I run te index.html it onely shows the mub al loading is yust spining
and spining and spining , what to do ? Help !

Reply to this email directly or view it on GitHub:
#10

@jamesbrowneuk
Copy link

Not sure if anyone is still looking for a windows version, but I have updated my version a few times over the last few days. It now uses both OpenHeatMap and GoogleMaps, will auto-detect the back ups that are on your PC and let you filter the visible data by start and end date.

http://www.iphonelocationtracker.co.uk/

@pbj
Copy link

pbj commented Apr 25, 2011

Hi Jay. I'm getting an error:

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.BadImageFormatException: Could not load file or assembly 'System.Data.SQLite, Version=1.0.66.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139' or one of its dependencies. An attempt was made to load a program with an incorrect format.
File name: 'System.Data.SQLite, Version=1.0.66.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139'
at iPhoneLocationTracker.Form1.backupListBox_SelectedIndexChanged(Object sender, EventArgs e)
at System.Windows.Forms.ListBox.OnSelectedIndexChanged(EventArgs e)
at System.Windows.Forms.ListBox.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value HKLM\Software\Microsoft\Fusion!EnableLog to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5444 (Win7SP1GDR.050727-5400)

CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll

iPhoneLocationTracker
Assembly Version: 0.4.4131.29561
Win32 Version: 0.4.*

CodeBase: file:///C:/Users/Peter/Desktop/iphone/_Downloads_iphonelocationtracker_v04/iPhoneLocationTracker.exe

System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)

CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)

CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll

System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)

CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

System.Core
Assembly Version: 3.5.0.0
Win32 Version: 3.5.30729.5420 built by: Win7SP1

CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

I'm running Windows 7 - 64 bit and Version 4 of .NET

@jamesbrowneuk
Copy link

Hi pbj - thanks for the feedback.

Do you have the "System.Data.SQLite.dll" file located at the same level as the "iPhoneLocationTracker.exe" file ? This is required, as SQLite is the format of the "consolidated.db" that hold the location data.

I am about to upload a new release, so will include the JIT part too :)

Let me know how you get on!

Thanks

James

@jamesbrowneuk
Copy link

pbj - how did you get on ?

As mentioned, I have just uploaded v0.5 - this now makes use of the "Horizontal Accuracy" data so that you can filter out the "bad" data.

http://www.iphonelocationtracker.co.uk/

Thanks

James

@wgongora
Copy link

Dear friend pbj & other fellow mates;

I was digging n googling around in order to make my app run properly. It couldn't load the DLL -- doesn't matter where i tried to place it.

When I saw pbj's problem (exactly identical as mine), I noticed a small detail that didn't leave me any doubts of what was going wrong: we r both running a 64bit machine.

Assuming that I had a wrong version of the DLL, I went to http://system.data.sqlite.org/index.html/doc/trunk/www/downloads.wiki and downloaded its x64 version.

It would all be great IF it got to work after that, but still same shit is going on. I wonder if the app is still looking for a specific version of the DLL, and doesn't matter which one I get to install, it's still only gonna look towards the 32bit one?

Thanks in advance

@jamesbrowneuk
Copy link

hi wgongora - thanks for the feedback.

I will have a look into this and get back to you - hopefully with a fix!

Thanks

James

@wgongora
Copy link

Ah, a little question just in time; I dont honestly think that's the problem, once it specifically mentions the DLL file on the error message, but... ...do we must have a jailbroken backup set o files in order to have it all working?

My backup sets are all of a non-jailbroken iOS 4.2 version.

Thanks in advance for all ur support Jamie.

@jamesbrowneuk
Copy link

The issue IS the 64-bit processor - you don't need jailbroken backups to get this working. The only other thing that will stop it working is if you choose to encrypt you backups - but the error your getting it becasue the SQLite dll is a 32-bit version.

I have created a test harness and got it working on both 32-bit and 64-bit - just need to update the main app and upload to the site - will post here once done.

@jamesbrowneuk
Copy link

Right done (that was easy - hopefully!).

I have uploaded a 64-bit version to the site : http://www.iphonelocationtracker.co.uk/Downloads.aspx

Please let me know how you get on!

@wgongora
Copy link

HOLY ****! YOU MADE IT!

Thanks a lot man.

@jamesbrowneuk
Copy link

Excellent! - Tell your friends / like the site on Facebook :)

@pbj
Copy link

pbj commented Apr 27, 2011

Sorry for the delayed response James.

In response to your first question, yes, it was in the same folder.

I have downloaded the x64 version and I still get error messages. It's not the same as the x86 version though.
Screen shot: http://bit.ly/kpJRxs
And my backups are NOT encrypted.

@jamesbrowneuk
Copy link

hi pbj - ok the issue is a locale issue with the dates - I will investigate and upload a fix.

@jamesbrowneuk
Copy link

Hi pbj - now updated and fixed in v0.6 : http://www.iphonelocationtracker.co.uk/Downloads.aspx

@pbj
Copy link

pbj commented Apr 27, 2011

It works! OpenMap does not work though. It asks if I have flash player and then it says: blank?hasFlash=true&

I have absolutely no clue, but could this be a conflict due to no 64-bit version of flash?

@wgongora
Copy link

jaybee -- pbj's right. I'm also on 64bit, and OpenMap doesn't work at all -- It asks if I have flash player and then it says: blank?hasFlash=true& ....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

10 participants