CyanogenMod 10.1.3+ - Backup ClockworkMod to PC
Jul 16, 2015

After a few months of waiting I decided to root my HTC One and install the latest CyanogenMod 10.1.3 stable release. I first, of course, backed up the stock ROM to the internal sd-card. Now after installing CyanogenMod I was unable to view any of the contents of the root sd-card partition because it had created a new folder or “profile” called “0” in the sd-card and mounted that instead.

Option 1 (Windows)

  1. Download the Android SDK so you have adb

  2. Extract the downloaded file

  3. Open a command prompt and cd over to the “adt folder/sdk/platform-tools”

  4. Plug in your phone and enable USB debugging

  5. Pull the backup folder using adb pull (/data/media is the location of the root sd-card)

    adb root
    adb pull /data/media/clockworkmod/backup .

Multiple folders will be created for each backup directory

  1. To restore, simply execute an adb push
    adb root
    adb push [local folder] /data/media/clockworkmod/backup/

Option 1 (Ubuntu/Kubuntu)

  1. Install adb sudo apt-get install android-tools-adb

  2. Follow steps 4 through 6 from the Windows guide above

Option 2 (may not work)

  1. Visit the Play Store and install “Root Browser”

  2. Move to the /data/media/clockworkmod/backup folder

  3. Copy the backups

  4. Paste them in /storage/sdcard0

  5. Change the ownership of the folder – I am not sure what to change it to since this does not work on my phone

  6. Go to your PC and copy the backups

If you wipe your sd-card follow this guide: