Solved Location of system files
#1
Hi, 
Just installed Kodi Nexus final on my OnePlus 5T running Lineageos 20, Android 13. The phone is rooted but, for the life of me, I cannot find where Kodi puts its settings files. I have a centralised Mysql database and need to edit advancedsetting.xml in the userdata folder. Even after adding a video source from within Kodi, I cannot find the sources.xml file. Can anyone help me in sorting this out? Thank you in advance.
Reply
#2
(2023-01-29, 01:14)nanouk76 Wrote: I cannot find where Kodi puts its settings files
Does this help... https://kodi.wiki/view/Kodi_data_folder
My Signature
Links to : Official:Forum rules (wiki) | Official:Forum rules/Banned add-ons (wiki) | Debug Log (wiki)
Links to : HOW-TO:Create Music Library (wiki) | HOW-TO:Create_Video_Library (wiki)  ||  Artwork (wiki) | Basic controls (wiki) | Import-export library (wiki) | Movie sets (wiki) | Movie universe (wiki) | NFO files (wiki) | Quick start guide (wiki)
Reply
#3
also https://kodi.wiki/view/Userdata
Reply
#4
(2023-01-29, 01:37)Karellen Wrote:
(2023-01-29, 01:14)nanouk76 Wrote: I cannot find where Kodi puts its settings files
Does this help... https://kodi.wiki/view/Kodi_data_folder
Thank you for taking the time but I had already checked. Image
The search continues...
Reply
#5
org.xbmc.kodi sits in Android/obb but is empty Confused
Image
Reply
#6
(2023-01-29, 01:14)nanouk76 Wrote: and need to edit advancedsetting.xml in the userdata folder ... sources.xml file

These are not in the system/application folder. They are in Kodi's "profile" aka userdata folder.
For Android (unless some things changed with Android 11-12-13 and later), you should find them in /Android/data/org.xbmc.kodi/files/.kodi/userdata/.
Reply
#7
(2023-01-29, 11:10)Klojum Wrote:
(2023-01-29, 01:14)nanouk76 Wrote: and need to edit advancedsetting.xml in the userdata folder ... sources.xml file

These are not in the system/application folder. They are in Kodi's "profile" aka userdata folder.
For Android (unless some things changed with Android 11-12-13 and later), you should find them in /Android/data/org.xbmc.kodi/files/.kodi/userdata/.
I am very much aware of where files should be on Android platforms (long time Kodi user here, on Linux, Android, and Windows before I switched to Linux) but as I illustrated with a screenshot in post #4, /Android/data/org.xbmc.kodi is empty. The strangest thing is that if I add a source, the setting is persistent (as the following screenshot shows) but where is it stored?
Image
So something must have changed. Maddening...
Reply
#8
(2023-01-29, 11:33)nanouk76 Wrote: but where is it stored?

Sorry, but that last screenshot is totally worthless. Try editing the video source location of "films", it should give you the full path.
Reply
#9
Sorry to say but it is absolutely not worthless as the source "films" would not be there if I had not put it there... but I am happy to oblige :
Image
Tells me nothing of where the setting is stored ...
Reply
#10
Also on Android the data folder (.kodi) is a hidden folder - note the dot before kodi.

So ensure that whatever file manager you are using is set to display hidden files and folders.
|Banned add-ons (wiki)|Forum rules (wiki)|VPN policy (wiki)|First time user (wiki)|FAQs (wiki) Troubleshooting (wiki)|Add-ons (wiki)|Free content (wiki)|Debug Log (wiki)|

Kodi Blog Posts
Reply
#11
File manager is already set to display hidden files and folders as per the below screenshot
Image
Reply
#12
@nanouk76 What if you use Kodi's built-in file manager and browse to the Profile directory there? You should be able to see the .xml configuration files then.
Reply
#13
Built-in file manager indeed lists modified sources.xml. Still no idea where the xml files are ... Now to import my advancedsettings.xml, I will have to jumps through hoops. So impractical ... I would have imagined an easier access to the userdata folder, through a regular file manager, as used to be the case.
Reply
#14
OK, found the location:
/root/data/media/0/Android/data/org.xbmc.kodi/files/.kodi/userdata, not /Android/data/org.xbmc.kodi/files/.kodi/userdata which is in Internal Storage and is empty.
Good to know for future reference.
Reply

Logout Mark Read Team Forum Stats Members Help
Location of system files0