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/08/03 13:31] – 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. options ===== | + | </ |
- | === A. Move Locus to the internal storage | + | Locus Map installs itself in the **internal memory** of your device. During the installation a default directory structure //"/Locus/.."// is created in the internal |
- | | + | ===== Locus in internal |
- | | + | |
- | | + | |
- | {{ :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 |
- | === B. Move Locus and maps into 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: | + | * Open //Locus > Menu > Settings > Miscellaneous > Default directories > Set Root directory// |
+ | * Select path which ends with " | ||
+ | * Move whole " | ||
+ | * Restart Locus | ||
- | * Open Locus > Menu > Settings > | + | ===== Advanced methods ===== |
- | * Select path which contains " | + | ==== 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. | ||
- | * Connect SD card to the PC and move whole " | + | === TWRP + ExtSD Fix === |
- | * Start Locus | + | |
- | === C. Store your maps on external SD card === | + | |
- | Locus offline raster maps can be stored | + | * Install [[http:// |
+ | * Open " | ||
- | * Connect card to the PC and create arbitrary folder on the SDcard for your maps e.q. MyLocusExternMaps | + | Install only with " |
- | * 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 | + | |
- | + | ||
- | === D. Use rooted devices === | + | |
- | + | ||
- | * In case that your device is rooted you can fix it by editing | + | |
- | * Install application SDFix and perform | + | |
- | * After that simply start Locus | + | |
- | + | ||
- | 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 | + | |
- | + | ||
- | <WRAP center round alert> | + | |
- | Beginning with Android 6 not even rooted devices can acquire the full access to SD card. | + | |
- | </ | + | |
- | ===== Android | + | It works fine with Samsung Galaxy S5 SM-G900F (TouchWiz) with Stock ROM (without Provider Branding) |
- | 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 | + | [[http:// |
- | <wrap info> | + | === XPosed module XInternalSD === |
- | If you have a device with SD card and want to save some storage space, follow these instructions: | + | This app has an option |
- | * go to <wrap box>Menu > Settings > Miscellaneous > Default directories</ | + | If you cannot install Xposed because it is not supported by your Android version there is another way to make your external |
- | * set new location of Locus/ | + | |
- | * move contents of the folders to the new location and delete original folders | + | |
- | * restart Locus Map | + | |
- | <WRAP center round important> | + | You have to modify 2 jar files on the /system |
- | ===== Android 6 ===== | + | === FolderMount |
- | Beginning with Android 6 **not even rooted devices can acquire | + | * Install from [[https:// |
+ | * Add a folder pair. Source is the internal sdcard and destination is your extSdCard | ||
+ | * After adding, FM offers | ||
+ | | ||
+ | * 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 " |