Kodi Helix (XBMC) backup & restore using Android Debug Bridge (ADB)

4,610 views · Published 22 March 2015 · 3:26 · Indexed 20 September 2026

Channel: AintBigAintClever · 2015 · Science & Technology

Watch on YouTube

NOTE: A newer version of these instructions, tailored to the Amazon Fire TV, can be found here: https://www.youtube.com/watch?v=PvgBzWbF8hk

Kodi can be backed up (and restored) using the same Android Debug Bridge normally used for "sideloading" applications, useful if you need to clone a Kodi installation onto several boxes. Here's a video showing how it's done. These instructions apply to version 14 of Kodi (Helix) and are likely to apply to newer versions as well.

BACKUP COMMAND (backs up to a "kodi" subfolder)
./adb pull -p -a /sdcard/Android/data/org.xbmc.kodi/files/.kodi kodi

RESTORE COMMAND (restores from a "kodi" subfolder)
./adb push -p kodi /sdcard/Android/data/org.xbmc.kodi/files/.kodi/

For Windows versions of the above commands simply remove the ./ from the start of the command

LINUX/OSX BULK SIDELOADER SCRIPT (expects APK files in an "install" subfolder, run the adb connect command first):
#!/bin/bash
for file in ./install/*.apk
do
 ./adb install -r "$file"
done

WINDOWS BULK SIDELOADER SCRIPT (expects APK files in an "install" subfolder, run the adb connect command first):
forfiles /p install /m *.apk /c "cmd /c ..\adb install -r @file"

INSTRUCTIONS FOR INSTALLING ADB:
http://kodi.wiki/view/HOW-TO:Install_Kodi_on_Fire_TV

If you want the latest version of ADB (you may need it for connecting to devices running Android 4.2.2 or newer) you'll need to download the Software Development Kit (SDK) from Google, instructions are here: http://www.howtogeek.com/125769/how-to-install-and-use-abd-the-android-debug-bridge-utility/