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)
-
Download the Android SDK so you have adb http://developer.android.com/sdk/index.html
-
Extract the downloaded file
-
Open a command prompt and cd over to the “adt folder/sdk/platform-tools”
-
Plug in your phone and enable USB debugging
-
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
- To restore, simply execute an adb push
adb root adb push [local folder] /data/media/clockworkmod/backup/
Option 1 (Ubuntu/Kubuntu)
-
Install adb
sudo apt-get install android-tools-adb
-
Follow steps 4 through 6 from the Windows guide above
Option 2 (may not work)
-
Visit the Play Store and install “Root Browser”
-
Move to the
/data/media/clockworkmod/backup
folder -
Copy the backups
-
Paste them in
/storage/sdcard0
-
Change the ownership of the folder – I am not sure what to change it to since this does not work on my phone
-
Go to your PC and copy the backups
If you wipe your sd-card follow this guide: http://forum.xda-developers.com/showthread.php?t=2317989