2024-11-09, 17:24
Henceforth, this shall be called:
The Diamond/Slick Solution.
So let it be written
So let it be done:
### Step-by-Step Guide: Moving Kodi to a New Location on Android 10+
#### Explanation
Starting with Android 10, the Android/data folder where Kodi typically stores its data is restricted. This guide will help you change Kodi’s data location to a more accessible folder: /storage/emulated/0/Kodi/.
---
#### Step 1: Create the New Kodi Data Folder
1. Open a file manager app on your device.
2. Navigate to Internal Storage (or /storage/emulated/0/).
3. Create a new folder named Kodi.
---
#### Step 2: Set Up the xbmc_env.properties File
1. In Internal Storage (the main storage directory), create a new file named:
xbmc_env.properties
2. Open the file and add the following line:
xbmc.data=/storage/emulated/0/Kodi/
3. Save and close the file.
> Note: This file tells Kodi to use /storage/emulated/0/Kodi/ as its new data location, instead of Android/data.
---
#### Step 3: Launch Kodi to Initialize the New Folder
1. Open Kodi to allow it to create the necessary subfolders in the new location (/storage/emulated/0/Kodi/).
2. Close Kodi. This will create the default subfolders in the new data directory.
---
#### Step 4: Open Kodi and Confirm the Setup
1. Restart Kodi. It should now use the data from the new location.
### Summary
- New Folder: Kodi is now set to use /storage/emulated/0/Kodi/ as its new data directory,
At this point you are done you now have a fresh install of Kodi in a unrestricted location of Android, you can now install your build and our add-ons as you would any normal install of Kodi,
-------
Step 5 below is for advanced users, if you wish to transfer some add-ons and are any files from the old location to the new location step 5 will allow you to do that, but if you don't know what you're doing you're going to run into Old path to New path issues and dependencies issues if you don't know what files to transfer, so I recommend guest proceeding as you would with a normal kodi install, Do Not Do Step 5 unless you fully understand what you are doing and absolutely need to do that, step 5 is offered for advanced users that understand kodi directory structure and associated add-on-dependencies, you have been warned.
-
#### Step 5: optional Transfer of Existing Data from old location to New location (Optional)
> Step 5 Important Note: Manually moving files from Old Kodi Data to New Kodi Data may not fully work, as some settings or add-ons may still reference the original Android/data path.
Data Transfer: Use Kodi’s File Manager in split view to copy files from Old Kodi Data (left) to New Kodi Data (right).
1. Open Kodi and go to Settings > File Manager.
2. In File Manager, add the old and new data locations as sources:
- Old Kodi Data: Select Add Source and enter this path:
special://home/
Name this source Old Kodi Data.
- New Kodi Data: Add another source with the path:
/storage/emulated/0/Kodi/
Name this source New Kodi Data.
3. Once both sources are added, Kodi’s File Manager will display them in a split view:
- Left Side: Select Old Kodi Data to view your original Kodi data.
- Right Side: Select New Kodi Data as the location for the transferred files.
4. Transfer the Files:
- On the left side (Old Kodi Data), select the folders and files you want to move.
- Use Kodi’s context menu (press and hold or right-click on the files) and select Copy.
- Move to the right side (New Kodi Data) and paste the files.
The Diamond/Slick Solution.
So let it be written
So let it be done:
### Step-by-Step Guide: Moving Kodi to a New Location on Android 10+
#### Explanation
Starting with Android 10, the Android/data folder where Kodi typically stores its data is restricted. This guide will help you change Kodi’s data location to a more accessible folder: /storage/emulated/0/Kodi/.
---
#### Step 1: Create the New Kodi Data Folder
1. Open a file manager app on your device.
2. Navigate to Internal Storage (or /storage/emulated/0/).
3. Create a new folder named Kodi.
---
#### Step 2: Set Up the xbmc_env.properties File
1. In Internal Storage (the main storage directory), create a new file named:
xbmc_env.properties
2. Open the file and add the following line:
xbmc.data=/storage/emulated/0/Kodi/
3. Save and close the file.
> Note: This file tells Kodi to use /storage/emulated/0/Kodi/ as its new data location, instead of Android/data.
---
#### Step 3: Launch Kodi to Initialize the New Folder
1. Open Kodi to allow it to create the necessary subfolders in the new location (/storage/emulated/0/Kodi/).
2. Close Kodi. This will create the default subfolders in the new data directory.
---
#### Step 4: Open Kodi and Confirm the Setup
1. Restart Kodi. It should now use the data from the new location.
### Summary
- New Folder: Kodi is now set to use /storage/emulated/0/Kodi/ as its new data directory,
At this point you are done you now have a fresh install of Kodi in a unrestricted location of Android, you can now install your build and our add-ons as you would any normal install of Kodi,
-------
Step 5 below is for advanced users, if you wish to transfer some add-ons and are any files from the old location to the new location step 5 will allow you to do that, but if you don't know what you're doing you're going to run into Old path to New path issues and dependencies issues if you don't know what files to transfer, so I recommend guest proceeding as you would with a normal kodi install, Do Not Do Step 5 unless you fully understand what you are doing and absolutely need to do that, step 5 is offered for advanced users that understand kodi directory structure and associated add-on-dependencies, you have been warned.
-
#### Step 5: optional Transfer of Existing Data from old location to New location (Optional)
> Step 5 Important Note: Manually moving files from Old Kodi Data to New Kodi Data may not fully work, as some settings or add-ons may still reference the original Android/data path.
Data Transfer: Use Kodi’s File Manager in split view to copy files from Old Kodi Data (left) to New Kodi Data (right).
1. Open Kodi and go to Settings > File Manager.
2. In File Manager, add the old and new data locations as sources:
- Old Kodi Data: Select Add Source and enter this path:
special://home/
Name this source Old Kodi Data.
- New Kodi Data: Add another source with the path:
/storage/emulated/0/Kodi/
Name this source New Kodi Data.
3. Once both sources are added, Kodi’s File Manager will display them in a split view:
- Left Side: Select Old Kodi Data to view your original Kodi data.
- Right Side: Select New Kodi Data as the location for the transferred files.
4. Transfer the Files:
- On the left side (Old Kodi Data), select the folders and files you want to move.
- Use Kodi’s context menu (press and hold or right-click on the files) and select Copy.
- Move to the right side (New Kodi Data) and paste the files.