This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
manual:faq:use_sdcard_on_kitkat [2016/11/07 11:13] – mstupka | manual:faq:use_sdcard_on_kitkat [2020/11/26 15:54] (current) – [Rooted devices - warranty-void solutions] mstupka | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Locus Map on SD card ====== | + | ====== Locus data on external |
---- | ---- | ||
- | ===== Preliminary information | + | |
- | In the beginning, 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. All worked flawlessly until Android OS version 4.4.2. | + | |
- | - **disabled | + | <WRAP center round important> |
- | - **disabled | + | ===== Important! |
- | ==== Who is involved ==== | + | 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 |
- | | + | - **random reading** of any place in a file stored on SD card was **disabled** |
- | * The issue does not occur on devices with custom ROM until Android 6 | + | - **random writing** at any place in a file stored on SD card was **disabled** |
+ | Without | ||
For more information please see: | For more information please see: | ||
Line 15: | Line 15: | ||
* [[http:// | * [[http:// | ||
* [[http:// | * [[http:// | ||
- | ===== Android 4.4.2. ===== | + | </ |
- | Beginning with Android 4.4.2. you have following options: | + | Locus Map installs itself |
- | === A. Locus Map in internal memory | + | ===== Locus in internal |
- | During installation Locus installs itself | + | |
- | | + | |
- | | + | |
- | | + | |
- | {{ :manual: | + | 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: |
- | {{ :manual:faq:sdcard_on_kitkat_a_02_copy_locus_folder.png? | + | * **raster maps** - map tiles downloaded by Locus or from external sources |
+ | * **vector maps** - e.g. LoMaps or OpenAndroMaps | ||
+ | | ||
+ | * **SRTM data** - elevation data from online or offline sources | ||
- | * Copy whole Locus folder to the internal storage | + | ==== Raster maps ==== |
- | * Navigate to the internal memory (often marked as sdcard0) and Paste Locus folder | + | |
- | {{ | + | All maps you are downloading by Locus from online sources or from Locus Store are stored by default in /// |
- | * Paste Locus folder | + | ==== Vector maps ==== |
- | * Check that process was successful | + | LoMaps or other vector maps are stored by default in ///Locus/ |
- | * Pull out the external | + | * create a new folder for your vector maps on the external |
+ | * 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 " | ||
+ | </ | ||
- | * Rename | + | ===== Locus and all its data on SD card ===== |
- | * Remove (or rename for safety) Locus folder on external SDcard. The goal is to have only one folder Locus that is located on internal storage | + | |
- | **Your downloaded maps and other personal offline maps from other sources can be kept on SD card and defined | + | Every app on Android has its own special folder on the external |
- | === B. Locus and all its data in a package-specific directory on SD card === | + | |
- | Every app on Android has its own special folder on SDcard which is writable only for this app. So it seems like the best solution how to place map on SD card on KitKat. But Locus (in default) does not use it because there are two main weaknesses: | + | * Locus Map performance |
+ | * External | ||
+ | * All content of this folder, including your purchased maps, recorded tracks or downloaded geocaches will be automatically **deleted when you uninstall Locus**. | ||
- | * All content of this folder will be automatically deleted when you uninstall Locus. So all your maps will be deleted when you decide to uninstall Locus app | + | Anyway, if you decide to use this option, follow these steps: |
- | * Locus Free and Locus Pro can not share data because every app has separate folder | + | |
- | Anyway if you decide to use it follow these steps: | + | |
- | + | * Select path which ends with " | |
- | | + | * Move whole " |
- | * Select path which contains | + | * Restart |
- | + | ||
- | {{ : | + | |
- | + | ||
- | * Connect SD card to the PC and move whole " | + | |
- | * Start Locus | + | |
- | === C. Locus application in internal memory and maps on external SD card === | + | |
- | + | ||
- | Locus offline raster maps can be stored (not downloaded into) in external directory on SD card. Please follow steps bellow: | + | |
- | + | ||
- | * Connect card to the PC and create arbitrary folder on the SDcard for your maps e.q. MyLocusExternMaps | + | |
- | * Move maps from folder Locus/maps to the folder MyLocusExternMaps | + | |
- | * Move folder Locus from SDcard to the internal memory (without map files) | + | |
- | * Start Locus (choose internal folder) | + | |
- | * Open Menu > Maps > Tap on blue " | + | |
- | + | ||
- | The result is that the Locus working directory will be placed on internal memory and all maps will be located in external folder on SDcard. This issue is also described in article: [[http:// | + | |
- | + | ||
- | === D. Use rooted devices === | + | |
+ | ===== 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 | * In case that your device is rooted you can fix it by editing the system configuration | ||
- | * Install application SDFix and perform the system changes | + | * Install application |
- | * After that simply start Locus | + | * Restart |
+ | === 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. | 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. | ||
- | ===== Android 5.0+ ===== | ||
- | Android 5.0 partially loosens strict permissions of applications writing on SD cards stated in Android 4.4.2. It is possible to move **vector maps, SRTM data and backups on SD card**. All other Locus folders must remain in the internal memory, it is not possible to run them on SD card without issues. | + | === TWRP + ExtSD Fix === |
- | + | ||
- | <wrap info> | + | |
- | + | ||
- | If you have a device with SD card and want to save some storage space, follow these instructions: | + | |
- | + | ||
- | * go to <wrap box>Menu > Settings > Miscellaneous > Default directories</ | + | |
- | * set new location of Locus/ | + | |
- | * move contents of the folders to the new location and delete original folders | + | |
- | * restart Locus Map | + | |
- | + | ||
- | If you had set these directories earlier in 3.10.x versions or older, it is necessary to perform the setting once again as the new Locus Map needs a new permission to write on SD card from the operation system. **Otherwise the SD directories will not be activated!** | + | |
- | ===== Android 6 ===== | + | |
- | Beginning with Android 6 **not even rooted devices can acquire the full access to SD card.** All other options are the same as in Android 5+. | + | |
- | ===== Advanced ===== | + | |
- | <WRAP center round important> | + | |
- | This method should be tried only if you are an experienced Android user. It is not tested on ALL devices so it might not work for everyone. | + | |
- | </ | + | |
- | === Quick instructions | + | |
* Install [[http:// | * Install [[http:// | ||
* Open " | * Open " | ||
- | === Important for TWRP === | + | Install only with " |
- | Only install | + | |
It works fine with Samsung Galaxy S5 SM-G900F (TouchWiz) with Stock ROM (without Provider Branding) Android 6.0.1 (Marshmallow, | It works fine with Samsung Galaxy S5 SM-G900F (TouchWiz) with Stock ROM (without Provider Branding) Android 6.0.1 (Marshmallow, | ||
Line 108: | Line 83: | ||
[[http:// | [[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 " |