This shows you the differences between two versions of the page.
Previous revision | |||
— | manual:faq:use_sdcard_on_kitkat [2022/04/07 14:08] (current) – mstupka | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Locus data on external SD card ====== | ||
+ | ---- | ||
+ | |||
+ | <WRAP center round important> | ||
+ | ===== Important! ===== | ||
+ | Before Android 4.4.2., Locus Map was designed to work with SDcard as external storage space for all data related to the application - downloaded SQLite maps, point databases, SRTM data etc. After KitKat came on stage SD card reading/ | ||
+ | - **random reading** of any place in a file stored on SD card was **disabled** | ||
+ | - **random writing** at any place in a file stored on SD card was **disabled** | ||
+ | Without these permissions any database is useless and that is why **it is not possible to have your tracks, points, downloading directory of online maps, online maps cache and lots of other DTB-related files on the external SD card root directory**. | ||
+ | |||
+ | For more information please see: | ||
+ | |||
+ | * [[http:// | ||
+ | * [[http:// | ||
+ | * [[http:// | ||
+ | </ | ||
+ | Locus Map installs itself in the **internal memory** of your device. During the installation a default directory structure //"/ | ||
+ | ===== Locus in internal and some data in external storage - RECOMMENDED ===== | ||
+ | |||
+ | The best solution you can get is to have Locus installed in the inner storage and some of your data placed in the external SD card: | ||
+ | * **raster maps** - map tiles downloaded by Locus or from external sources | ||
+ | * **vector maps** - e.g. LoMaps or OpenAndroMaps | ||
+ | * **backup files** - created by the [[manual: | ||
+ | * **SRTM data** - elevation data from online or offline sources | ||
+ | |||
+ | ==== Raster maps ==== | ||
+ | |||
+ | All maps you are downloading by Locus from online sources or from Locus Store are stored by default in /// | ||
+ | |||
+ | ==== Vector maps ==== | ||
+ | LoMaps or other vector maps are stored by default in /// | ||
+ | * create a new folder for your vector maps on the external SD card, e.g. " | ||
+ | * move contents (if there are any) of / | ||
+ | * define a new path to your vector maps in //Locus settings > Miscellaneous > Default directories > Set ' | ||
+ | * restart Locus | ||
+ | <WRAP center round alert> | ||
+ | **This method works on Android 5.0 and higher only. If you use Android 4.4.x, follow the same instructions as for raster maps!** | ||
+ | </ | ||
+ | |||
+ | ==== Backup files and elevation (SRTM) data ==== | ||
+ | These data have their folders in the internal storage basic structure /// | ||
+ | <WRAP center round important> | ||
+ | **Do not name your new folder on external SD card " | ||
+ | </ | ||
+ | |||
+ | ===== Locus and all its data on SD card ===== | ||
+ | |||
+ | Every app on Android has its own special folder on the external SD card which is writable only for this app and as such can be used as the only storage space for the app. However, **we do NOT recommend it**, because: | ||
+ | |||
+ | * Locus Map performance on SD card is slower than in the inner storage | ||
+ | * External SD cards get easily malfunctioned and you can **lose all your maps/ | ||
+ | * All content of this folder, including your purchased maps, recorded tracks or downloaded geocaches will be automatically **deleted when you uninstall Locus**. | ||
+ | |||
+ | Anyway, if you decide to use this option, follow these steps: | ||
+ | |||
+ | * Open //Locus > Menu > Settings > Miscellaneous > Default directories > Set Root directory// | ||
+ | * Select path which ends with " | ||
+ | * Move whole " | ||
+ | * Restart Locus | ||
+ | |||
+ | ===== Advanced methods ===== | ||
+ | ==== Rooted devices - warranty-void solutions ==== | ||
+ | |||
+ | <WRAP important round>A few tips from Locus users how to tackle full access to external SD card on rooted devices. **None of these methods are fully tested and may not work on all devices** or, in case of inexperienced manipulation, | ||
+ | === SDfix === | ||
+ | * In case that your device is rooted you can fix it by editing the system configuration | ||
+ | * Install application **[[https:// | ||
+ | * Restart Locus. It can write on your external SD card as it could in Android 4.3. | ||
+ | |||
+ | === FAT32 formatting === | ||
+ | Another option for rooted devices is to format your SD card in FAT32 system in your PC. That eliminates the file system rights. If you use a SD card larger than 64 GB you need a tool like H2format for Windows to format the SD card with FAT32. Be aware that this does not support files larger than 4 GB. | ||
+ | |||
+ | === TWRP + ExtSD Fix === | ||
+ | |||
+ | * Install [[http:// | ||
+ | * Open " | ||
+ | |||
+ | Install only with " | ||
+ | |||
+ | It works fine with Samsung Galaxy S5 SM-G900F (TouchWiz) with Stock ROM (without Provider Branding) Android 6.0.1 (Marshmallow, | ||
+ | |||
+ | [[http:// | ||
+ | |||
+ | === XPosed module XInternalSD === | ||
+ | |||
+ | This app has an option to grant full access to the external SD, just like in prior to 4.4.2. [[http:// | ||
+ | |||
+ | If you cannot install Xposed because it is not supported by your Android version there is another way to make your external SD read-write (root is required too!). | ||
+ | |||
+ | You have to modify 2 jar files on the /system partition. This can be done with a patch apk. For details [[https:// | ||
+ | === FolderMount === | ||
+ | * Install from [[https:// | ||
+ | * Add a folder pair. Source is the internal sdcard and destination is your extSdCard | ||
+ | * After adding, FM offers to move the files for you. Click yes. | ||
+ | * Wait until the moving operation is done, then click on the PIN. If PIN turns green, you are all set. | ||
+ | * The files will exist in both the source and destination after moving. This is expected and is normal. The files you see in your internal sdcard actually reside in your external sdcard now and if you " |