[BUG] EACCESS (permission denied) when downloading maps.

346 views
Skip to first unread message

Giuseppe Giardina

unread,
Apr 16, 2015, 10:29:51 AM4/16/15
to osm...@googlegroups.com
OSMAND+ 1.9.5:
it is impossible to use the program.
it is impossible to download and install maps.

From a brand new installation (no previous installation) it is simply impossible to download and install maps, both on the local memory and remote sd card.

path_sd: /storage/MicroSD/Android/data/net.osmand.plus/files
path_local: /storage/emulated/0
The complete error is: (path_to_download) download: open failed: EACCESS (permission denied).

Path: tested on local memory and remote sd card. set the path into the settings, but I have the same error.
tested on asus KE00 (intel: kernel 3.10.20-i386) non-rooted phone (android 5.0).
tested on samsung note 3 non-rooted phone (android 4.4).
tested on samsung galaxy pad g3 non-rooted phone (android 4.4).

All those system have the same problem.
And, yes, there is enough space for the maps.

john whelan

unread,
Apr 16, 2015, 10:39:57 AM4/16/15
to osm...@googlegroups.com
You can always use BTsync to get the maps on a PC then copy the files over to the device.  Your device might even run it but be careful of the bandwidth and disk space required.

Cheerio John

Quote:
@@@@
Hi,

Since this topic was created BTSync has evolved a lot... there is an Android app, so it is possible to keep android devices up-to-date.
I've created a folder containing all obf maps. I have a script that periodically checks for updates and downloads new maps.
Use the following secret: BZVMBM27I7ASB4673MZDJYENGLTYXWJLA
This secret is read-only! Meaning that with that secret, users can only download files and cannot modify them or add.

For those that do not want to have 50gb of maps, you can create a text file named ".SyncIgnore" in the share folder. Each line should contain the file names that you do not want to download. For instance, the following file will ignore several continents except europe:
### START OF .SyncIgnore
*_asia_*
*_northamerica_*
*_centralamerica_*
*_southamerica_*
*_africa_*
### END OF .SyncIgnore
 
Note that my connection is not the best, but the share is online 24/7. If you already have some files you can place them in the share folder, and BTSync will index them.
Also, some files are still downloaded from osmand servers, and in the next couple of hours will be complete.

Miguel D.

@@@@@


--
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 osmand+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Hugo Barrocas

unread,
Apr 17, 2015, 3:16:43 AM4/17/15
to osm...@googlegroups.com
It's a known problem with KitKat and newer Androids, it does not allow free write access to SDcard storage as it did before 4.4

You can either change the data folder, or install a patch to be able to use free access to storage.

https://code.google.com/p/osmand/issues/detail?id=2257

https://code.google.com/p/osmand/wiki/FAQ#OsmAnd+_installation_on_the_USB_memory_or_SD_card_failed

Giuseppe Giardina

unread,
Apr 22, 2015, 8:58:35 AM4/22/15
to osm...@googlegroups.com
Dears,
Your suggestion DOES NOT WORK!
I say:

"it is simply impossible to download and install maps, both on the local memory and remote sd card."

So, also on the LOCAL storage doesn't work.

Any suggestion that could work (beside rooting the phone)?

Max

unread,
Apr 24, 2015, 4:00:36 PM4/24/15
to osm...@googlegroups.com
Hi,

this is a very strange issue!


tested on samsung note 3 non-rooted phone (android 4.4).

I tested with OsmAnd 1.9.5 on a non-rooted Samsung Galaxy Note 3 (Android 4.4.2) and I can't reproduce this issue.
It is working with internal and also with external SD card.

Does it work with latest nightly build (upcoming version 2.0):
http://download.osmand.net/latest-night-build/OsmAnd-default.apk

Regards,
Max

ede

unread,
Dec 16, 2015, 6:16:53 PM12/16/15
to Osmand

Hi,

 

I had the same problem. Just after installing OSMand I could download the files.

One day later I got a problem with this  eacces  error message.

I solved the problem (it is in german, for translating I use the words from the phones english modus)

 

1  Entwicklermodus einschalten

 

Einstellungen 

   -> Über das Telefon   -> Build-Nummer   4 mal tippen (nur einmalig)

 

 

2  Entwicklermodus benutzen

Einstellungen 

   -> Entwickleroptionen 

   -> Entwickleroptionen aktivieren   -> USB-Debugging aktivieren   

 

 

 

1  Activating Developer mode 

 Settings  

   -> About phone   -> Build number   4 times (only one time)

 

 

2  Using or controlling Developer mode

Seettings 

    -> Developer Options 

    -> Developer Options   activate   -> USB debugging activate  

 

After this I could download all the files on the SD-card.

 

Without Developer mode OSMand is was also imposible to store favourites. I could use them but the file favourites.gpx was not in the folder.

 

Android 5.1.1, OSMand 2.2.3

Huawei Y6 (SCL L21)

Reply all
Reply to author
Forward
0 new messages