After doing something wrong while installing CyanogenMod 13, I flashed a google marshmallow stock rom. I wanted to go back to CyanogenMod 12, so I backed up my data using CWM recovery, factory reset, and installed CM12. After making sure it was working, I flashed Gapps and restored from my recovery. My apps were back, but I was also back with the google stock rom. Is there any way to only back up the app data?
2 Answers
As mentioned in the comments by Firelord and me, there are multiple approaches:
- you could use Titanium Backup
- you could use ES File Manager, which includes an app manager capable of backing up apps and their data
- you could use ADB backup
- You could use Adebar to make the previous step easier
TiBu and ES File Manager require root to work. ADB and Adebar don't.
Adebar a.o. creates a script to backup each of your (user) apps into a separate archive using adb backup
(and another one for the data of system apps, and two others for restore). While you could do a similar thing with TiBu (which uses its own backup format), Adebar runs from the command line while with TiBu you must use a GUI. Side effect from using Adebar: you'll have your device documented: tech specs, apps installed, etc :)
Adebar is pretty easy to install, but will require adb to be available on your computer (see our adb tag-wiki for details on that). It runs fine on Linux, and recently was reported to run on Windows as well via Cygwin.
Disclaimer: I'm the dev of Adebar.
-
Ok, i used adb backup because i just wanted it to work quickly, but i might take a look at Adebar later Dec 14, 2015 at 18:24
-
Anytime! Always glad to help. If you've got any issues with Adebar, you know where to find me :)– Izzy ♦Dec 14, 2015 at 18:39
You can use Titanium Backup Pro to backup the apk file as well as data of your apps.Otherwise, if you want to backup just the apk files, you can use App Backup Restore.You can also copy the apk files from \data\app to your SD card via a suitable file explorer like Root Explorer or ES File Explorer.
/data/data/
directories of all the apps.