Home User CP Donate Chat Register Today!  
  Get New posts Faq / Help?
   


Go Back   Hackint0sh > Projects and Hacks > iPhone > Applications & Development > Free Toolchain Software

Reply
 
LinkBack (3) Thread Tools Display Modes
  1 links from elsewhere to this Post. Click to view. #61 (permalink)  
Old 08-17-2008, 05:13 PM
Dhalilahma's Avatar
Dhalilahma
Status: Offline
Supporter
 
Join Date: Dec 2007
Location: London
Posts: 376
Rep Power: 34
Dhalilahma is a jewel in the roughDhalilahma is a jewel in the roughDhalilahma is a jewel in the rough
Default

Not me, I tried the python fix and it didnt work. Also looking at offline maps, its not the greatest way of doing things. What it does (like MapsOffline) is copy the whole damn cache across everytime. The problem with that is it doubles the required storage, it takes ages and it will often crash (educated guess) The symlink method is much better, and I'm working on a method that will be the best of both. Unfortunately an app called Touchcmd is unavailable in my Installer/Cydia so it wont work for me at the moment I've got really bad luck or something). If you have access to that app just drop a post and I will give you the required steps.

edit: To undo the symlink you just delete everything in the cache folder. I am using DiskAid, its more reliable than doing it over wireless, but you still have to set permissions in Terminal.

Last edited by Dhalilahma; 08-17-2008 at 05:18 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #62 (permalink)  
Old 08-17-2008, 05:39 PM
to1337ca
Status: Offline
Member
 
Join Date: Aug 2008
Posts: 39
Rep Power: 0
to1337ca is on a distinguished road
Default

i see, good point,

give i am a complete n00bie at this, how would i do this using cuteftp (the only method i know to work reliably to ssh to my iphone)? can you post some steps on doing this symlink (as well as undoing it)? i am not keen of using any terminal command. please be explicit.

also, even if you delete everything in the cache folder, are you sure the symlink relationship is completely reversed by the iPhone OS? i thought the pointer setting (the target) of the symlink would still be there, it is just that it cannot find anything to link to so it just gives up. is there a "unsymlink" command?

thanks in advance for your help.

Last edited by to1337ca; 08-17-2008 at 05:42 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #63 (permalink)  
Old 08-17-2008, 07:00 PM
Dhalilahma's Avatar
Dhalilahma
Status: Offline
Supporter
 
Join Date: Dec 2007
Location: London
Posts: 376
Rep Power: 34
Dhalilahma is a jewel in the roughDhalilahma is a jewel in the roughDhalilahma is a jewel in the rough
Default

If you look at previous posts you will realize that I also have very little knowledge of unix commands. I am not entirely sure whether deleting everything in the cache folder will completely reverse everything you do with symlinks, I just know that Maps will work just as it did before if you do. Basically the symlink method works great for me, but when I reach an area that has not been downloaded before and it starts to download, then the cache stops working. What I'm having to do every time that happens is re-issue the symlink command in terminal, which is a bit time consuming. What Touchcmd does is let you save that command, so that everytime i need to redo the symlink its just a few button presses. I will re-phrase volkspost's method.

SFTP into
/private/var/mobile/Library/Caches/MapTiles and delete anything inside.

Then copy the custom map (like MapTiles.sqlitedb.nyc) inside this folder.

Make sure the file has 644 permission, if not change it

I use MobileTerminal for commands, but you can use Terminal (Mac) or PuTTY (Windows) you can get MobileTerminal from Cydia.
Type:
cd /private/var/mobile/Library/Caches/MapTiles/ then press enter
Type:
ln -s MapTiles.sqlitedbnyc MapTiles.sqlitedb
Note that the first letter is small cap L, not I or 1. And remember the spaces.



In TouchCMD you will be able to save those commands so that it is only a few button presses.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Sponsored links Remove advertisements
Advertisement
Advertisement

  #64 (permalink)  
Old 08-17-2008, 11:23 PM
volkspost
Status: Offline
iPhone Moderator
 
Join Date: Aug 2007
Posts: 3,576
Rep Power: 212
volkspost is a name known to allvolkspost is a name known to allvolkspost is a name known to allvolkspost is a name known to allvolkspost is a name known to allvolkspost is a name known to all
Default

Just to add one thing here: You can just delete the complete MapTiles folder with all of it's content and you will be back to factory settings. Next time you start Maps it will create the folder and content new (MapTiles.sqlitedb contains the location cache then of the area you just visited).
The whole symlink trick is pretty simple. Maps looks for that cache in the file called MapTiles.sqlitedb. usually in there are the maps for the location(s) you visited the last time using Maps.
By deleting this original (the "real" cache file) and creating a symlink (like an alias in Mac OS X) with this name (MapTiles.sqlitedb) that is pointing (opening) a custom map cache, you trick Maps.
As Dhalilahma pointed out: the backdrop is, whenever you want to use a different "premade" location (a custom map cache file) you have to symlink this one to MapTiles.sqlitedb to make it work.
In a no-limit-ram-world you would create a custom map cache file of the complete world and do a symlink once - done forever.
Since this is more than future talk a solution with a GUI that would let you just point-click to the location you want to use and create the symlink would be the best solution indeed.
__________________
Read the stickies and search the forum before posting!
If you want to become a Hackint0sh supporter click here
----------
iPhone 3GS factory unlocked (3.1.2; Blackra1n, Cydia, OpenSSH, custom 3.0 ipcc file (no sig), tethering hack by Dev team, 32 GB)
iPhone 3G (3.0.1; Redsn0w 0.8, Cydia, OpenSSH) 16 GB
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #65 (permalink)  
Old 08-17-2008, 11:38 PM
TwistyValhalla's Avatar
TwistyValhalla
Status: Offline
Respected Member
 
Join Date: Sep 2007
Posts: 645
Rep Power: 37
TwistyValhalla will become famous soon enough
Default

Any way the get search and routing working with offline maptiles?
__________________

iPhone (OTB 1.1.1 / Currently 3.1)
Unlock, activation, jailbreak: PwnageTool 3.1
City Fido, Vancouver
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #66 (permalink)  
Old 08-17-2008, 11:59 PM
volkspost
Status: Offline
iPhone Moderator
 
Join Date: Aug 2007
Posts: 3,576
Rep Power: 212
volkspost is a name known to allvolkspost is a name known to allvolkspost is a name known to allvolkspost is a name known to allvolkspost is a name known to allvolkspost is a name known to all
Default

Quote:
Originally Posted by TwistyValhalla View Post
Any way the get search and routing working with offline maptiles?
i just gave it a brief try. Seems not to work. I have looked up a short route around my location, just two blocks. It's saved in the Maps cache file then. After that I shut off any data connection on the iPhone and tried to route again - no way. Should be the same with custom made maps. i guess once you search and route Maps needs at least some internet information like transforming an address into lon and lat.
__________________
Read the stickies and search the forum before posting!
If you want to become a Hackint0sh supporter click here
----------
iPhone 3GS factory unlocked (3.1.2; Blackra1n, Cydia, OpenSSH, custom 3.0 ipcc file (no sig), tethering hack by Dev team, 32 GB)
iPhone 3G (3.0.1; Redsn0w 0.8, Cydia, OpenSSH) 16 GB
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Sponsored links Remove advertisements
Advertisement
Advertisement

  #67 (permalink)  
Old 08-18-2008, 12:17 AM
TwistyValhalla's Avatar
TwistyValhalla
Status: Offline
Respected Member
 
Join Date: Sep 2007
Posts: 645
Rep Power: 37
TwistyValhalla will become famous soon enough
Default

We need a native app with built in offline search feature and routing algorithm. Otherwise I don't see the point of putting a very lage sqlite database when a jpg image would effectively perform the same job.
__________________

iPhone (OTB 1.1.1 / Currently 3.1)
Unlock, activation, jailbreak: PwnageTool 3.1
City Fido, Vancouver

Last edited by TwistyValhalla; 08-18-2008 at 12:50 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #68 (permalink)  
Old 08-18-2008, 04:50 AM
to1337ca
Status: Offline
Member
 
Join Date: Aug 2008
Posts: 39
Rep Power: 0
to1337ca is on a distinguished road
Default

excellent point, rumors have it that tomtom is making an app for this.

in the meantime, however, this is a viable solution, if only the kinks has been worked out. even without the routing function, the current location functionality with agps is enough of interest to many users to deserve attention.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #69 (permalink)  
Old 08-18-2008, 02:50 PM
to1337ca
Status: Offline
Member
 
Join Date: Aug 2008
Posts: 39
Rep Power: 0
to1337ca is on a distinguished road
Default

for those who are trying out the offlinemaps on cydia, can you please report your feedback on whether or not your map apps slows down or freezes if you turn on GPS or wireless and locate your current location?

in other words, is your offlinemaps working when you are using your GPS function?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Sponsored links Remove advertisements
Advertisement
Advertisement

  #70 (permalink)  
Old 08-28-2008, 02:32 PM
Numl0ck
Status: Offline
Senior Member
 
Join Date: Sep 2007
Posts: 192
Rep Power: 0
Numl0ck is an unknown quantity at this point
Default

I use an iPhone 3G and while with my 2G everything's just fine, mapsoffline just crashes on me with the 3G...is there any news or a solution for the 3G?

Thanks!

PS: In which repo I get "TouchCMD" ?

Last edited by Numl0ck; 08-28-2008 at 02:34 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


LinkBacks (?)
LinkBack to this Thread: http://www.hackint0sh.org/f126/22320.htm
Posted By For Type Date
jasonkit - Google Code This thread Refback 01-14-2009 07:12 PM
Global Map Download Tool - Wikibooks, collection of open-content textbooks This thread Refback 01-14-2009 06:59 PM
Tips and Tricks iPhone Software This thread Refback 01-14-2009 11:57 AM



All times are GMT +2. The time now is 02:14 AM.



Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.2 Ad Management by RedTyger
follow us on Twitter!

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105