How to use Linux and adb to backup the MK808B apps and data

Last Modified: Tue, 09 Jul 2013 15:46:34 +0000 ; Created: Tue, 09 Jul 2013 15:46:34 +0000

I wanted a backup of the OEM apps and data since the manufacturer of the device doesn't have an official support site with original ROM downloads. There were some sites that sold the devices that provided some factory update ROMs, but I wanted a sure backup of how my device shipped. I also wanted to do it from Linux using adb. Android 4 makes doing app and data backups easy as adb supports it built-in. adb does not make a complete backup of the ROM itself nor image partitions.

I used Ubuntu 13.04 LTS 64-bit Server Edition running inside a VMWare Workstation VM on my Windows 7 64-bit system. You do NOT need Windows drivers for this to work. Just attach the device to the VM under Removable Devices.

  1. Get the Android ADT Bundle
  2. which includes adb in platform-tools
  3. For Ubuntu 64-bit you will probably need the 32-bit multi-libs installed. apt-get install ia32-libs
  4. On your MK808B device go into Settings, {} Developer Options, USB debugging (checked)
  5. On your MK808B device go into Settings, USB, Connect to PC (checked)
  6. Connect the OTG port of your MK808B to a USB 2.0 port on your computer
  7. How to get adb to recognize under Linux
    1. /etc/udev/rules.d/51-android.rules
    2. SUBSYSTEM=="usb", ATTR{idVendor}=="2207", MODE="0666", GROUP="plugdev"
    3. chmod a+r /etc/udev/rules.d/51-android.rules
    4. udevadm control --reload-rules
    5. $HOME/.android/adb_usb.ini
    6. Add to the end "0x2207" (without quotes)
    7. adb kill-server && adb start-server
  8. adb devices
  9. adb backup -f ~/MK808B_Factory_App_Data_Backup__2013-07-08.ab -apk -shared -all -system