HOW-TO:Change data location for Android

From Official Kodi Wiki
Revision as of 10:00, 3 March 2015 by Ned Scott (talk | contribs) (credit goes to Koying)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

As of v14, Kodi supports a backdoor to specify the location of your settings folder, which includes the userdata folder and add-ons.


To do so, create a file name xbmc_env.properties in the root of your external storage (normally, "/sdcard"). Its content is simply:


xbmc.data=<path to the xbmc data root>
e.g. xbmc.data=/storage/sdcard0/external_sdcard/xbmc_data


Inside this, a directory ".kodi" will be created which contain the well-known xbmc structure ("addons", "userdata", ...).


Currently, the specified path must be an android file path and not a typical network path. i.e. no "smb://" or "nfs://". To use a network file path you must first mount the file share in Android, and then point to that mount path.