How to partially or entirely move Kodi data to external USB or MicroSD storage

kodi-logo-microsd-card-usb-drive
The Fire TV’s support for external storage is great, but it has one major flaw. You cannot move an apps “data” files to external storage. You can only move the app itself. For the case of Kodi, its “data” files include the vast majority of the storage space it uses. Luckily, Kodi supports advanced features which allow you to reassign where it stores its data files. Through these advanced settings, you can move all of Kodi’s data files to external storage. This guide will show you how to move all of Kodi’s data files to external storage, or if you prefer, just Kodi’s thumbnail directory.

Update

10/13/2015 This guide has been updated to work for both 1st-gen and 2nd-gen Fire TVs, as well as for transferring files to either a USB drive or a microSD card. Just be sure to use the commands for your specific device and external storage method.

3/5/2016 If your Kodi settings reset after update your 1st-gen Fire TV to software version 5.0.5 or greater, follow this guide to restore your Kodi data.

How to move all Kodi data to External Storage

This method will move all of Kodi’s data files to external storage. Below the guide you will find instructions to undo everything and move the files back to internal storage if you experience too much lag. This can only be done with Kodi v14 or higher.

Pros
  • Moves the most possible amount of Kodi files to external storage.
Cons
  • May result in noticeable Kodi interface lag depending on the size of your Kodi database.

Guide
  1. Ensure that your USB drive or microSD card is inserted into your Fire TV, that Kodi is installed on your Fire TV, and that you’ve launched Kodi at least once before proceeding with this guide. It does not matter if Kodi is installed on the Fire TV’s internal storage or on external storage.
  2. Force stop Kodi on your Fire TV by going to Settings > Applications > Manage Installed Applications, selecting Kodi, and selecting the Force stop option.
  3. Connect to your Fire TV via ADB.
  4. Open a Fire TV shell prompt by running the command:
    adb shell
  5. Create directories on your external storage where we will move Kodi’s files by running the command:
    For 1st-gen Fire TV on Fire OS 3…mkdir -p /storage/extUsb/Android/data/org.xbmc.kodi/files
    For 1st-gen Fire TV on Fire OS 5…mkdir -p /storage/usbdisk/Android/data/org.xbmc.kodi/files
    For 2nd-gen Fire TV using a USB Drive…mkdir -p /storage/usbotg/Android/data/org.xbmc.kodi/files
    For 2nd-gen Fire TV using a microSD card…mkdir -p /storage/sdcard1/Android/data/org.xbmc.kodi/files
  6. Copy Kodi’s files to your USB drive by running the command:
    For 1st-gen Fire TV on Fire OS 3…cp -r /sdcard/Android/data/org.xbmc.kodi/files/.kodi /storage/extUsb/Android/data/org.xbmc.kodi/files/
    For 1st-gen Fire TV on Fire OS 5…cp -r /sdcard/Android/data/org.xbmc.kodi/files/.kodi /storage/usbdisk/Android/data/org.xbmc.kodi/files/
    For 2nd-gen Fire TV using a USB drive…cp -r /sdcard/Android/data/org.xbmc.kodi/files/.kodi /storage/usbotg/Android/data/org.xbmc.kodi/files/
    For 2nd-gen Fire TV using a microSD card…cp -r /sdcard/Android/data/org.xbmc.kodi/files/.kodi /storage/sdcard1/Android/data/org.xbmc.kodi/files/

    NOTE: This step may take a long time depending on the size of your Kodi installation.

  7. Create a blank Kodi configuration file by running the command:
    touch /sdcard/xbmc_env.properties
  8. Fill the configuration file by running the command:
    For 1st-gen Fire TV on Fire OS 3…echo xbmc.data=/storage/extUsb/Android/data/org.xbmc.kodi/files > /sdcard/xbmc_env.properties
    For 1st-gen Fire TV on Fire OS 5…echo xbmc.data=/storage/usbdisk/Android/data/org.xbmc.kodi/files > /sdcard/xbmc_env.properties
    For 2nd-gen Fire TV using a USB Drive…echo xbmc.data=/storage/usbotg/Android/data/org.xbmc.kodi/files > /sdcard/xbmc_env.properties
    For 2nd-gen Fire TV using a microSD card…echo xbmc.data=/storage/sdcard1/Android/data/org.xbmc.kodi/files > /sdcard/xbmc_env.properties
  9. Launch Kodi and verify everything is working correctly.
  10. Delete Kodi’s files from your Fire TV’s internal storage by running the command:
    rm -rf /sdcard/Android/data/org.xbmc.kodi/files/.kodi
Undo Instructions

If you change your mind and want to move Kodi’s files back to internal storage, follow these steps.

  1. Force stop Kodi on your Fire TV by going to Settings > Applications > Manage Installed Applications, selecting Kodi, and selecting the Force stop option.
  2. Connect to your Fire TV via ADB.
  3. Open a Fire TV shell prompt by running the command:
    adb shell
  4. Copy Kodi’s files back to internal storage by running the command:
    For 1st-gen Fire TV on Fire OS 3…cp -r /storage/extUsb/Android/data/org.xbmc.kodi/files/.kodi /sdcard/Android/data/org.xbmc.kodi/files/
    For 1st-gen Fire TV on Fire OS 5…cp -r /storage/usbdisk/Android/data/org.xbmc.kodi/files/.kodi /sdcard/Android/data/org.xbmc.kodi/files/
    For 2nd-gen Fire TV using a USB Drive…cp -r /storage/usbotg/Android/data/org.xbmc.kodi/files/.kodi /sdcard/Android/data/org.xbmc.kodi/files/
    For 2nd-gen Fire TV using a microSD card…cp -r /storage/sdcard1/Android/data/org.xbmc.kodi/files/.kodi /sdcard/Android/data/org.xbmc.kodi/files/
    Note: This step may take a long time depending on the size of your Kodi installation.
  5. Delete the configuration file that tells Kodi to look for its files on external storage by running the command:
    rm -f /sdcard/xbmc_env.properties
  6. Launch Kodi and verify everything is working correctly.
  7. Delete Kodi’s files from your external storage by running the command:
    For 1st-gen Fire TV on Fire OS 3…rm -rf /storage/extUsb/Android/data/org.xbmc.kodi/files/.kodi
    For 1st-gen Fire TV on Fire OS 5…rm -rf /storage/usbdisk/Android/data/org.xbmc.kodi/files/.kodi
    For 2nd-gen Fire TV using a USB Drive…rm -rf /storage/usbotg/Android/data/org.xbmc.kodi/files/.kodi
    For 2nd-gen Fire TV using a microSD card…rm -rf /storage/sdcard1/Android/data/org.xbmc.kodi/files/.kodi

How to move only Kodi’s thumbnails to External Storage

This method will move only Kodi’s thumbnail files to external storage. Kodi’s thumbnail directory usually takes up the most space out of a Kodi installation. If you prefer not to move all of Kodi’s files, then this method will free up most of the space on internal storage that Kodi consumes.

Pros
  • Should not result in as much interface lag as moving all data files to external storage.
Cons
  • Only moves part of Kodi's data files to external storage.

Guide
  1. Ensure that your USB drive or microSD card is inserted into your Fire TV, that Kodi is installed on your Fire TV, and that you’ve launched Kodi at least once before proceeding with this guide. It does not matter if Kodi is installed on the Fire TV’s internal storage or on external storage.
  2. Force stop Kodi on your Fire TV by going to Settings > Applications > Manage Installed Applications, selecting Kodi, and selecting the Force stop option.
  3. Connect to your Fire TV via ADB.
  4. Open a Fire TV shell prompt by running the command:
    adb shell
  5. Create directories on your external storage where we will move Kodi’s thumbnail files by running the command:
    For 1st-gen Fire TV on Fire OS 3…mkdir -p /storage/extUsb/Android/data/org.xbmc.kodi/files/.kodi/userdata
    For 1st-gen Fire TV on Fire OS 5…mkdir -p /storage/usbdisk/Android/data/org.xbmc.kodi/files/.kodi/userdata
    For 2nd-gen Fire TV using a USB Drive…mkdir -p /storage/usbotg/Android/data/org.xbmc.kodi/files/.kodi/userdata
    For 2nd-gen Fire TV using a microSD card…mkdir -p /storage/sdcard1/Android/data/org.xbmc.kodi/files/.kodi/userdata
  6. Copy Kodi’s thumbnail files to external storage by running the command:
    For 1st-gen Fire TV on Fire OS 3…cp -r /sdcard/Android/data/org.xbmc.kodi/files/.kodi/userdata/Thumbnails /storage/extUsb/Android/data/org.xbmc.kodi/files/.kodi/userdata
    For 1st-gen Fire TV on Fire OS 5…cp -r /sdcard/Android/data/org.xbmc.kodi/files/.kodi/userdata/Thumbnails /storage/usbdisk/Android/data/org.xbmc.kodi/files/.kodi/userdata
    For 2nd-gen Fire TV using a USB Drive…cp -r /sdcard/Android/data/org.xbmc.kodi/files/.kodi/userdata/Thumbnails /storage/usbotg/Android/data/org.xbmc.kodi/files/.kodi/userdata
    For 2nd-gen Fire TV using a microSD card…cp -r /sdcard/Android/data/org.xbmc.kodi/files/.kodi/userdata/Thumbnails /storage/sdcard1/Android/data/org.xbmc.kodi/files/.kodi/userdata
    Note: This may take a long time depending on the size of your Kodi installation.
  7. Create a blank Kodi configuration file by running the command:
    touch /sdcard/Android/data/org.xbmc.kodi/files/.kodi/userdata/advancedsettings.xml
  8. Fill the configuration file by running the command:
    For 1st-gen Fire TV on Fire OS 3…echo \<advancedsettings\>\<pathsubstitution\>\<substitute\>\<from\>special://thumbnails/\</from\>\<to\>/storage/extUsb/Android/data/org.xbmc.kodi/files/.kodi/userdata/Thumbnails/\</to\>\</substitute\>\</pathsubstitution\>\</advancedsettings\> > /sdcard/Android/data/org.xbmc.kodi/files/.kodi/userdata/advancedsettings.xml
    For 1st-gen Fire TV on Fire OS 5…echo \<advancedsettings\>\<pathsubstitution\>\<substitute\>\<from\>special://thumbnails/\</from\>\<to\>/storage/usbdisk/Android/data/org.xbmc.kodi/files/.kodi/userdata/Thumbnails/\</to\>\</substitute\>\</pathsubstitution\>\</advancedsettings\> > /sdcard/Android/data/org.xbmc.kodi/files/.kodi/userdata/advancedsettings.xml
    For 2nd-gen Fire TV using a USB Drive…echo \<advancedsettings\>\<pathsubstitution\>\<substitute\>\<from\>special://thumbnails/\</from\>\<to\>/storage/usbotg/Android/data/org.xbmc.kodi/files/.kodi/userdata/Thumbnails/\</to\>\</substitute\>\</pathsubstitution\>\</advancedsettings\> > /sdcard/Android/data/org.xbmc.kodi/files/.kodi/userdata/advancedsettings.xml
    For 2nd-gen Fire TV using a microSD card…echo \<advancedsettings\>\<pathsubstitution\>\<substitute\>\<from\>special://thumbnails/\</from\>\<to\>/storage/sdcard1/Android/data/org.xbmc.kodi/files/.kodi/userdata/Thumbnails/\</to\>\</substitute\>\</pathsubstitution\>\</advancedsettings\> > /sdcard/Android/data/org.xbmc.kodi/files/.kodi/userdata/advancedsettings.xml
  9. Launch Kodi and verify everything is working correctly.
  10. Delete Kodi’s thumbnail files from your Fire TV’s internal storage by running the command:
    rm -rf /sdcard/Android/data/org.xbmc.kodi/files/.kodi/userdata/Thumbnails
Undo Instructions
  1. Force stop Kodi on your Fire TV by going to Settings > Applications > Manage Installed Applications, selecting Kodi, and selecting the Force stop option.
  2. Connect to your Fire TV via ADB.
  3. Open a Fire TV shell prompt by running the command:
    adb shell
  4. Copy Kodi’s thumbnail files back to internal storage by running the command:

    For 1st-gen Fire TV on Fire OS 3…cp -r /storage/extUsb/Android/data/org.xbmc.kodi/files/.kodi/userdata/Thumbnails /sdcard/Android/data/org.xbmc.kodi/files/.kodi/userdata/
    For 1st-gen Fire TV on Fire OS 5…cp -r /storage/usbdisk/Android/data/org.xbmc.kodi/files/.kodi/userdata/Thumbnails /sdcard/Android/data/org.xbmc.kodi/files/.kodi/userdata/
    For 2nd-gen Fire TV using a USB Drive…cp -r /storage/usbotg/Android/data/org.xbmc.kodi/files/.kodi/userdata/Thumbnails /sdcard/Android/data/org.xbmc.kodi/files/.kodi/userdata/
    For 2nd-gen Fire TV using a microSD card…cp -r /storage/sdcard1/Android/data/org.xbmc.kodi/files/.kodi/userdata/Thumbnails /sdcard/Android/data/org.xbmc.kodi/files/.kodi/userdata/
    Note: This may take a long time depending on the size of your Kodi installation.

  5. Delete the configuration file that tells Kodi to look for its thumbnails on the USB drive by running the command:
    rm -f /sdcard/Android/data/org.xbmc.kodi/files/.kodi/userdata/advancedsettings.xml
  6. Launch Kodi and verify everything is working correctly.
  7. Delete Kodi’s thumbnails from your external storage by running the command:
    For 1st-gen Fire TV on Fire OS 3…rm -rf /storage/extUsb/Android/data/org.xbmc.kodi/files/.kodi/userdata/Thumbnails
    For 1st-gen Fire TV on Fire OS 5…rm -rf /storage/usbdisk/Android/data/org.xbmc.kodi/files/.kodi/userdata/Thumbnails
    For 2nd-gen Fire TV using a USB Drive…rm -rf /storage/usbotg/Android/data/org.xbmc.kodi/files/.kodi/userdata/Thumbnails
    For 2nd-gen Fire TV using a microSD card…rm -rf /storage/sdcard1/Android/data/org.xbmc.kodi/files/.kodi/userdata/Thumbnails

ShareTweetShare+1

102 comments
  1. Thuan says:

    Is it same to Xbmc?. B/c i’m using xbmc 13.3, not kodi 14

  2. kr338r says:

    Nice write-up, saved me half a GB of internal storage. I had previous firmware w/ everything mounted (incl. system)on USB HDD and just upgraded firmware (external drive is from a 160GB PS3, housed in an external USB 3.0 case, works great, btw).

    The 51.1.5.0 upgrade was worth it for me, w/o having to worry about having to use the mounttousb script anymore(great work there as well!).
    No noticeable lag on the Amazon UI nor Kodi(although that may change with another Kodi skin)…and this is on a physical hard drive not supported by the FTV!

    Great scene the AFTV has, many thanks to the devs.
    Keep up the great work, nice site!

  3. Booyah83 says:

    Is there a way to do all this through the ES file explorer app instead of through ADB command input? Also, what if you already have an advancedsettings.xml file created? I have one for custom cache settings. Much appreciated for taking the time to do this, you rock.

  4. ultraLord says:

    I erased thumbnail folder. Wow can I recover it again?

  5. Scr4tch says:

    Does this require root?

  6. Mark says:

    Excellent! Thanks!

  7. Nicky says:

    Nice write up!!! was dreading doing do it from the instruction on XDA…it seemed so tedious….gonna push the whole data to my usb, hopefully it doesn’t lag that much…but one question what if I want to use my back up?

  8. Peter says:

    Ever since I have updated to the newest prerooted rom Netflix just gets stuck at 99% and plays audio for the first 5 sec the stops? It worked (mostly) before? with the usual clear cache and restart?

    Any suggestions

    Thanks

  9. Jae says:

    Why can’t I run external hard drive and Xbox controller at the same time?

    • RMD says:

      It’s working fine for me, playing Crossy Road with a wireless Xbox controller via the wireless dongle for Windows.

  10. Gryzor says:

    Why this instead of path substitution?

    • AFTVnews says:

      The second method of moving the thumbnails uses path substitution. The first method moves the entire data folder, which can;t be done with path substitution.

      • Gryzor says:

        Oh, apologies; I saw the shell commands and didn’t think it had to do with advancedsettings.xml! I read them now and understood it better. Thanks!

  11. RMD says:

    Thank you for this, saved me 1.5gb and I notice little to no difference!

    For those wondering I’m using an old 80gb Intel SSD inside of an old USB 2.0 (and esata) dual drive dock (ThermalTake BlacX Dual), using only first drive slot. All via an old 13 port USB 2.0 Powered Hub I had sitting around!

    My only downside is this the Touch-Pad on my Logitech k400r stopped working. Keys are fine but no mouse.

    • Noel says:

      how did you get 1.5 saved, unless you have a lot of add on’s and a lot of thumbnails and cache you’ve never cleared? I did the full data move and it only saved me less than ~800MB’s. I’m about 3.19GB of the full 5.xx of internal storage free.

      Running just a 3.0USB 16gb stick and the first run was a little slow, but once i went into the add on’s, the slight speed difference is single digit seconds before it would show up. Other than that, everything works as is. My advance settings still saves to internal storage versus the USB but it’s all good!

  12. John says:

    Anyone know how to get this to work for SPMC?

  13. G elly N says:

    I’m trying to get the path sub for thumbs working using advanced settings, i would use the way you are saying but i have other settings in my advancedsettings.xml so im try to use

    /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/userdata/Thumbnails/
    /storage/extUsb/Kodi/Thumbnails/

    But it keeps the thumbs in the original folder i have deleted my thumbs and texture db file but they keep repopulating in the original folder

    i previously had my thumbs subed to a folder on my network which worked but this aint so im wondering if the “to” path is wrong

    please help

    • G elly N says:

      odont know what happened there but my advanced settings are not showing up

      from /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/userdata/Thumbnails/

      to /storage/extUsb/Kodi/Thumbnails/

  14. jose says:

    i successfully moved my thumbnails to my extUsb but not I’m trying to increase my cachemembuffersize. How would i do this if i created the advancesetting.xml through the console. Would it be

    echo \\\\special://thumbnails/\\/storage/extUsb/kodi/Thumbnails/\\\

    \\104857600\ \ > /sdcard/Android/data/org.xbmc.kodi/files/.kodi/userdata/advancedsettings.xml

    i would really appreciate the help

    • jose says:

      i successfully moved my thumbnails to my extUsb but not I’m trying to increase my cachemembuffersize. How would i do this if i created the advancesetting.xml through the console. Would it be

      echo \\\\special://thumbnails/\\/storage/extUsb/kodi/Thumbnails/\\\

      \\104857600\ \ > /sdcard/Android/data/org.xbmc.kodi/files/.kodi/userdata/advancedsettings.xml

      i would really appreciate the help

    • AFTVNews Fan says:

      Just add this to your existing advancedsettings.xml file:

      special://thumbnails/
      /storage/extUsb/kodi/Thumbnails/

      My file now looks like this:

      special://thumbnails/
      /storage/extUsb/kodi/Thumbnails/

      1
      512000000
      8
      45

      3
      0

      true

  15. Schluda says:

    hello I moved everything to my external hard drive but now when I try to push files using adbfire it say kodi is not installed is there a way around this or fix, thanks

  16. Humberto says:

    Is anyone having issues with Kodi today?? I clicked on the kodi app that I downloaded on the amazon appstore and it is telling me that it is incompatible. So I downloaded kodi and sideloaded it thru my computer and I am getting the same response.

  17. Randall says:

    Hello, will this allow cache zero setting?
    thanks

  18. Scott Colling says:

    I am trying to do this with SPMC but when typing the copy command I get an error ‘no such file or directory, i am typing ‘cp -r /sdcard/Android/data/com.semperpax.spmc/files/.kodi/userdata/Thumbnails /storage/extUsb/kodi’. Its the existing thumbnail folder that it is saying doesnt exist. I also notice when I FTP into my AFTV it shows the /files/ directory as empty.

  19. Bill says:

    I am having problems with these procedures and I know it’s my fault. I know how to create folders and move files using esexplorer or pull/push, but I am having trouble creating the Config file without typos. Could someone show me a the contents of the xbmc-env.properties file for moving just thumbnails? I am hoping to just modify/copy this to update all my boxes

  20. Rafael says:

    Same doubt of Randall. If I entirely move Kodi data to external USB storage, Can I use 0 cache setting to cache video on usb external disk, and finally resolve may buffering issues??
    In case of yes, since the data folder is at the usb drive, the video gonna cache there too, if i choose cache zero setting?
    Thx.

    • Diego says:

      I also would like to know if this is possible, if I use 0 cache with Kofi installed with this method will the cache be downloaded to my external as well?

  21. Dabutcher says:

    Tried both methods.. 1st method was slow and many broken addons ( missing files) I tried the thumbnails but lost Tvaddons addons all together. had to use back up to get back working.
    My kodi folder is 3.5 gig on my main box. I have a huge library of music, movies and shows. I need to store thumbs on my extusb. I know this is new stuff to AFTV so all the bugs aren’t worked out yet. Who has went through this process and got it to work correctly with tvaddons?

  22. Marco says:

    Question:
    after following the steps to move Kodi to the SD/external drive
    Do we also need to select move to usb in the manage all installed application area?

  23. Alex says:

    Does anyone know if there’s a way to send files from a PC to Kodi on Amazon Fire TV, USB storage, via WiFi?

  24. astro says:

    hi can someone please explain how to do this for spmc using es-file explorer.

    Thanks

  25. astro says:

    Method 2 that is :)

  26. astro says:

    anybody help.

  27. Guest says:

    I could really use some help with this. I’m running the commands and it doesn’t seem like anything is happening in shell. I’m using abdFire. Should I try a different program?

  28. Finguz says:

    I would like to do this with TVMC, can someone tell me how to do it please?

  29. John says:

    Guys,

    How do you access the USB drive via FTP using ES File Explorer?

    I can only see my Fire TV’s local storage with ES File Explorer, but I want to access my USB drive remotely.

    Thanks!

  30. Meowzen says:

    Hey I’m trying to transfer my thumbs to usb but im getting permission denied in adb shell. I thought i didnt need to root my firetv? Can anyone help. I’m pretty new to this.
    Thanks!

  31. alex says:

    hi, i got the new fire tv with sdcard i tried to do this step to move data to my sdcard but it kodi wont load after this! then i have to undo to internal memory so it work
    any suggestions ?

  32. oscar says:

    Hello.
    Does anyone tried this on the FTV Stick?
    My whole video library is on a NAS accessed throug SMB and I would like to store all the cache also there.
    Is this possible? Anyone has any ideas?
    Thanks in advance

    According to the Kodi documentation,
    “The specified path must be a local Android file path and not a typical network path. i.e. no “smb://” or “nfs://”. To use a network file path you would need to mount the network share as a local mount, which might require root access on some Android devices.

  33. Roter says:

    I do the following steps to move Kodi to the SD/external drive. After this kodi does not start.
    Do I also need to select move to usb in the manage all installed application area?

  34. AFTVnews says:

    I’ve updated the guide to now work for 2nd-gen Fire TVs. Both USB and MicroSD storage. The guide still also works for 1st-gen Fire TVs. Just be sure you run the commands for your particular setup.

  35. The Unchosen One says:

    If I’m not mistaken, I believe you can enable Remote Manager in ES File Explorer and FTP into the FireTv and complete all of this in Windows Explorer.

    I say “I believe” because I use this method as an easy setup tool to move user profiles, advanced settings files and keymaps when I reinstall Kodi. I don’t mind CLI, but I definitely prefer the drag and drop simplicity of the FTP. Not sure if the thumbs folder is protected or not?

    Note: I’ve only used this on FireOS 3.

  36. eskay993 says:

    Great guides as always!

    One suggestion – Your method for writing to advancedsettings.xml will overwrite any existing advanced settings. This may come as a surprise to people not familiar with linux / adb commands. I nearly did before I realised it’s writing to userdata in my main kodi dir and not the sdcard1 sandbox (I have backups anyway so not a massive issue for me).

    Appreciate you want to keep the guide simple, but maybe either warn people or provide both options – e.g. “Here is what to add manually to the file, or use this command if you have never set up the file before as it will overwrite it.”

  37. Ian Sutherland says:

    UPDATE FOR 2ND GEN FIRE TV

    9. Reboot Fire TV and Launch Kodi to verify everything is working correctly

    (if you dont reboot fire tv 2 will not remount the sd or usb correctly and kodi will crash)

  38. ArcticMonkey says:

    +1 to Ian Sutherlands post above.
    I followed his recommendation at stage 9, it worked a treat.
    Thanks and thanks to AftvNews for all these great guides!

  39. Tal says:

    Just out of curiosity, if I were to move my Kodi installation completely to a micro sd card, will I need to redo my Fire Starter settings and point it to Kodi again?

    Will it appear in the Fire Stater settings as it would on internal memory?

    Primarily doing this to use cache settings. Anyone with a AFTV2 box find a decent cache setting as of yet?

  40. Sirdoo says:

    Help, I am getting alot of errors of the following type when I attempt to cp kodi files to the usb dir I created..I do have a custom build install if that makes a difference.

    cp: /storage/extUsb/Android/data/org.xbmc.kodi/files/.kodi/addons/script.extendedinfo/resources/skins/Default/media/flags/studios/Zazen Produ��es.png: Invalid argument
    cp: /storage/extUsb/Android/data/org.xbmc.kodi/files/.kodi/addons/script.extendedinfo/resources/skins/Default/media/flags/studios/Zesp�l Filmowy Oko.png: Invalid argument
    cp: /storage/extUsb/Android/data/org.xbmc.kodi/files/.kodi/addons/script.extendedinfo/resources/skins/Default/media/flags/studios/Zesp�l Filmowy Tor.png: Invalid argument

    • Ryan Schmid says:

      Sirdoo, I get similar errors too. I believe my skin, The Beast, has files with special characters. FAT32 does not like. I have tried all night to fix, but no luck. Have you found a fix?

  41. Jon says:

    Thanks for this… although failing at the first hurdle it seems…

    Trying to create the directories on the SANDISK 32GB USB – i’m getting:

    shell@android:/ $ mkdir -p /storage/usbdisk/Android/data/org.xbmc.kodi/files
    mkdir failed for /storage/usbdisk/, Read-only file system

    I’ve tried re-formatting the disk to FAT

    • James says:

      I’m getting the same error. How do you fix this?

    • Me says:

      I got the same error as well. I chose to use ES File Explorer to manually create the folders and then skipped to the next step of moving the files to the usb drive.

      • vtwaldo21 says:

        i had the same error, but then realized that the instructions for AFTVgen1 OS 5 referenced the usbstick directory but my box had the extUsb directory (as though it was OS 3). So I just followed those instructions instead and it worked a charm.

        Second the vote to remove the crazy “echo” commands and just replace with the correct xml to copy/paste into a file..

        • Harkaway says:

          I had the same error, but finally realized that I had turned on USB debugging under System>Developer Options. Once I turned it off I had no problem.

  42. Sirdoo says:

    I really like build (TBE) so I gave up and just let the firetv partially my kodi

  43. David garcia jr says:

    I accidentally clear the data what could I do to get back my stuff

  44. Me says:

    Got a PNY usb drive for cheap this BF sale. I moved all of the Kodi data to the external drive on the 1st gen Fire TV. When rebooting, Fire TV detected the new usb and gave a message all new apps will be stored in the USB drive. Is this true? I thought the instructions only applied to the Kodi app files and not all new apps downloaded from the amazon store.

    • AFTVnews says:

      The message you received has nothing to do with the steps you followed in this guide. When you have a USB drive connected to a 1st-gen Fire TV, the Fire TV will automatically install some apps you download to the USB drive instead of internal storage. The message you saw is just informing you that that’s the case.

  45. I moved everything to sd card. Should I change the setting in the AFTV under applications move to sd. All the files are on the SD card but sometimes when I start it it starts the version on the fire tv and then if i stop and start it, it starts the version on the sd card.

    • J3d1c4nn4 says:

      Hi

      I get that too. Followed all the instructions to copy to external SD card and delete local copy, but sometimes when opening kodi, it’s a totally blank version, presumably left hanging around on the internal card that runs. In the application list within the fire tv settings, if I look at kodi, it offers me the chance to move to SD card, which suggests something is still pointing at the internal version.

  46. matthew says:

    how can i add more then one build to amazon fire tv ? can i install kodi on seperate Micro Sd card or seperatte USB sticks ? and then just install the build i want on each and when i watch to change between builds i just change micro sd cards or usb sticks ?

  47. Sam Lowry says:

    I had no problem moving Kodi to my USB on my FireTV1 using the built-in app managing. Works great. It won’t move the data, so thank you for this guide.

  48. Ralf Falkenhagen says:

    thx for the good work… but I have one problem
    I used the second option and transferred only my thumbnails to SD card. I used to backup Kodi with adbfire. But when I try to backup now adbfire keeps telling me that the thumbnails could not be found. Even after telling adbfire the new location (sdcard1) it still keeps telling me that it can’t find the thumbnails folder. Is there any solution for this, because I feel a little bit lost without being able to do regular backups.

  49. Paul Lee says:

    Thanks for this guide, it works a treat.

    I have a question though. When I update Kodi, will it continue to use the data file on the USB drive on will it revert to using the FTV’s built in memory?

    If it does revert, how do I fix it, with the data from the previous install still being on the USB drive?

  50. Fred says:

    Abb shell is telling me afther step 8 that sdc Is read only? Please advise.

  51. Fred a says:

    I ignored the above and all is working oké. The only thing is that sometimes a totally blank Kodi opens. Please advise.

  52. t-jay says:

    My fire tv updated and now kodi does not seem to be loading from external as I moved all files to a usb drive. I try to make the file pointing to external again but it says that it is read only and cannot makdir

  53. Ramello says:

    How can you get your downloaded movies to save on as card and not the fire tv box I tried the commands hub in above but it just not working

  54. Berto Avalos says:

    Sorry but the above did not work for me. Fustrating

  55. nicheplayer says:

    This command:

    cp -r /sdcard/Android/data/org.xbmc.kodi/files/.kodi /storage/usbdisk/Android/data/org.xbmc.kodi/files/

    Isn’t copying any files on my first gen FTV running 5.0.5.

  56. Reader says:

    I can move thumbnails but new thumbnails write to internal storage. Any way to make the new thumbnails save to external too? Gen 1, 5.0.5.

  57. Kezm says:

    Any way to get files to save to usb card keep trying but nothing saves

  58. Hanspeter Jochmann says:

    My Kodi 16 only worked after I also copied the .smb folder to the new location.
    cp -r /sdcard/Android/data/org.xbmc.kodi/files/.smb /storage/sdcard1/Android/data/org.xbmc.kodi/files/

    Thanks for the guide. Before I had no idea how to solve the memory problem

  59. shahar Inbar says:

    I have a shared DB on a synology NAS that is being used both by FireTV 2nd Gen and FireTv 1st Gen.
    Because the External drive is called differently I cannot see the thumbnails in my FireTv 1st Gen since the paths in the Db were made with a scan that run on FireTv 2nd Gen.

    Is there a way to create a link to rename the Thumbnails path on fireTv 1st gen to look like FireTv 2nd gen – something like subst in dos ?

  60. Brian A. Bishop says:

    I just finished this and it moved all the files to u.s. drive but I think there’s something missing since I ran kodi and it was like a fresh start. Is there something I missed?

    • Bruggy says:

      I have moved kodi to the SD card on my firetv following the above directions. Here is my issue; When I launch kodi I get a fresh install with no addons or any configuration. I then need to force stop and launch kodi again in order for my skin/config to appear. It doesn’t do it every time but if I let it sit for a while and try to re-launch kodi the fresh/blank install shows again. Does anyone know of a fix our have a similar experience?

  61. Juice Miller says:

    I tried the steps to move the data to the microSD card on my 2nd-gen Fire TV and when I try to run Kodi(15.2), the loading screen for Kodi comes up for about 2 seconds and then goes back to the home screen of my Fire TV. I try opening the application again and this time I just get a blank screen and nothing happens. I tried rebooting and that did nothing. I will say that I used Fire TV’s out of the box “Move Data to SD Card” for Kodi prior to doing this, so I’m not sure if that would have any affect on this. Hoping to get some help/advice on this.

    Thanks in advance,
    Juice

    • Justin says:

      @ Jucie Miller

      Go to settings – Applications – Manage Installed Applications – Kodi

      – Force Stop

      then

      – Clear CACHE

      ****V Important – Dont select CLEAR DATA as this will wipe your Install***

      Cheers

  62. Every weekend i used to go to see this web site, for the
    reason that i wish for enjoyment, since this this web site conations actually nice funnyy information too.

  63. Justin says:

    Excellent Guide, very useful, worked eventually as had to do some tinkering but that was due to my setup and crappy sd card!

    1) If you are getting problems running the adb shell command, go to settings – Developer Options – Enable/Disable ADB debugging a couple of times then run the adb connect (Insert IP Address) then run adb devices and your device should now show as online and will allow you to run the adb shell command.

    2) Where the command is used to copy the kodi data over to the sd card, I had multiple failures and the AFTV would say sd disconnected and I would have to reboot the box reconnect adb etc, checked the file location using es file explorer and could see files were being written so ran the copy command again, and again, and again, and again!! finally it got through writing everything, again this down to a crappy sd card, if you get the same issue just re boot the box re connect adb bring adb shell back up and run the copy command line again, repeat as necessary it will work in the end!!!

  64. Justin says:

    @ Jucie Miller

    Go to settings – Applications – Manage Installed Applications – Kodi

    – Force Stop

    then

    – Clear CACHE

    ****V Important – Dont select CLEAR DATA as this will wipe your Install***

    Cheers

  65. Binge watcher says:

    If I just delete the thumbnail directory, will that free up space without harm? My Kodi data file is up to 3.3GB on my 2nd generation AFTV. I did ran an addon for additional fan art a while back and it did too good of a job. I have since disabled and deleted the addon. I have 400mb of internal storage left on my AFTV and the system feels laggy and Krypton 17.5 locks up a lot.

    I am hoping by deleting thumbnails, Kodi will regenerate them on the next scrape / update looking for new episodes and movies.

    Love this site – would love an article on best practices for periodic maintenance and storage on the AFTV and Kodi. best encoding methods would be great too and knowing what file formats Kodi plays well on the AFTV and what formats to avoid or convert using handbrake. Best hand brake settings would be good too. If I knew this stuff, I’d offer to contribute but I am more confused than ever with the myriad of options

    If I follow this guide to move thumbnails, am I better off using a thumb drive vs sd card? Is there a bid speed difference between the two? I have a few 16gb usb3 thumb drives laying around. Also later on can I switch from TD to SD if the speed is too slow?

    I have 4tb of tv episodes and around 1tb of movies, and another 5tb of “art films” that I don’t have scanned by kodi’s library.

    Thanks. Off to click on a cyber Monday sale link on this site to support Elias.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

Get notified of new posts

Enter your email address to receive notifications of new posts by email.