Hi,

I may have a solution.

This solution is using the fact, that one download server is fast and the 
others are not. You "just" have to get your phone using a fast download 
server by manipulation the DNS (link all download server host names to one 
fast download servers IP address).

Finding a fast download server

At the moment, I found these domains linking to a download server (tried to 
find them here <https://hackertarget.com/find-dns-host-records/>):

   - 
   - dl2.osmand.net
   - dl6.osmand.net
   - dl7.osmand.net
   - dl8.osmand.net
   - dl9.osmand.net

In my tests, the dl2.osmand.net provides the fastest performance (also 
depends on your location). You can try for yourself with the following 
links:

   - dl2 
   
<https://dl2.osmand.net/download?standard=yes&file=Afghanistan_asia_2.obf.zip>
   - dl6 
   
<https://dl6.osmand.net/download?standard=yes&file=Afghanistan_asia_2.obf.zip>
   - dl7 
   
<https://dl7.osmand.net/download?standard=yes&file=Afghanistan_asia_2.obf.zip>
   - dl8 
   
<https://dl8.osmand.net/download?standard=yes&file=Afghanistan_asia_2.obf.zip>
   - dl9 
   
<https://dl9.osmand.net/download?standard=yes&file=Afghanistan_asia_2.obf.zip>

Now, you know which download server performs well for you and via the 
subdomain finder website you know its IP address (or make a ping to the 
domain).

Get your  phone using only this one
This is the tricky part.

Option a: changing your phone
There is the option to change your hosts file. It's possible on rooted or 
"old" devices. Please google that for yourself how to achieve this (start 
here <https://www.google.com/search?q=android+change+hosts+file>).

Option b: changing your network settings
This functions only if you have access to your network infrastructure.

*Option b.1:* If you have a DNS server (you probably have not), you can add 
entries for the osmand.net domain and link all download server host names 
to the fast download server.

*Option b.2:* If you have a router with additional settings available, you 
can change the domain name resolution. E.g. with a Fritz!.Box you have to 
change the text based settings like described here 
<https://adrian-jagusch.de/2015/03/domains-abfangen-mit-der-fritzbox-als-dns-server/>
 (sry 
it's german).


Additional warning
Be aware, that other download servers with other domain names might appear 
in the future or that IP addresses may change.

Hope this helps someone.

Frank


On Tuesday, May 14, 2019 at 11:58:59 AM UTC+2, fraz wrote:
>
> Hi,
>
> I love the app, but I'm just looking into a problem I've had for years:
> Downloading the maps in OsmAnd is very slow, which I can cope with, and 
> often takes many hours for a 500MB map (at full speed on 2MBit line I'd 
> calculate it would be ~30 mins). 
> However if there's any network interruption the download fails and can't 
> be resumed, So there's lots of unnecessary attempts by me trying to get a 
> whole map to download.
>
> I found the map directory on my phone. And I'm thinking of manually 
> putting maps in there. But I can't find anywhere online to directly 
> download the nautical maps with my computer. Anyone know where direct 
> downloads are?
> Also could you add a resume download function? I'm sure your server 
> bandwidth and bills will thank you too!
>
> Even better would be a bittorrent like download plugin, and I'm sure 
> people would happy serve back updates while their phones are plugged in, on 
> wifi and charging at night. We could serve an upload maybe x2 then drop out 
> of the pool. It would be great for speed for everyone, and help take the 
> load off the server too.
>
> Thanks
>

-- 
You received this message because you are subscribed to the Google Groups 
"Osmand" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/osmand/8c8f871a-22d7-460c-ad38-b30b15b13d81%40googlegroups.com.

Reply via email to