How to backup and restore app data with or without root | NextPit
When you get a new phone, you have to re-configure all the apps on the new smartphone. Or, you could just backup your app data from the old phone, and restore it on the new one. Whether or not you’ve rooted your device, there’s a way to do this. In this article, we’ll show you how.
Jump to section:
What is app data?
How Google backs up your app data
Using Helium backup and restore
Backup app data without root access
Backup app data with root access
Restore app data, with or without root access
Alternatives to Helium
oandbackup: free and open-source backup option
What is app data? After you install an app on your Android smartphone and begin using it, you accumulate app data, which consists of particular configurations, chat profiles, login information and so on. These are stored in a separate directory. So that other apps can’t access your private information, your app data is private – but this makes backups more difficult. Without special permissions (root access) it is hard to access the private directories of the old smartphone. So, unless an app provides its own configuration backup method, your app data will be lost when you change ‘s still a way to backup your app data, though. Some apps allow access to app data via a debugging interface, and this is exactly the method Helium uses to export your app data, even without root access, and transfer it to your new ‘s own backup is getting better and betterGoogle no longer only backs up photos, e-mails, contacts and many other things, but also app data. For the majority of users, the best way to backup app data will be Google’s own backup service, often enabled by order to use it, you have to make sure that the option “Back up to Google Drive” is enabled for your account. You can find the setting under Settings>Google settings>Backup. You can view the active backups in this Google Drive you can view your backups directly, and in the package you will find the item “App data”. There you will find information about which app has saved your data on Google at what time. If you set up a new phone with your Google Account backup, the app data is ideally transferred to your phone immediately after automatic installation. It couldn’t be simpler.
Backup to Google Drive should be toggled “on”. / © NextPit
One thing is clear: The quality of Google’s app data protection depends above all on the providers of the apps. App developers need to integrate the functionality meaningfully into their applications so that Google can reliably back up and update the app data. This is not yet the case everywhere, and you may find some apps in your collection where this does not work. But over time, backup gets better and better, and it doesn’t get any more convenient than Google you don’t want to trust Google and the app developers to keep your data backed up for you, there are some alternatives for doing this yourself. One of the most popular apps for this is called Helium, described backup app data without root accessIf you want to move your app data from your old smartphone to your new on as described above, you can do it with the Helium app easily – and without having to root your phone, if you get the Helium Desktop Installer. The application is available for Windows, Mac OS X and Linux. If you use Windows, make sure you have all the relevant drivers installed. These can be found here.
Install Helium Desktop, and the relevant drivers if necessary.
Install the Helium app on your old Android device.
You’ll have to install Helium on your computer and phone. / © NextPit
Start up Helium Desktop – but don’t plug your phone into your PC just yet.
Enable USB debugging on your Android device. This is in the developer options.
Note: If your smartphone isn’t detected, USB debugging may not have been properly activated. It may also be the case that the appropriate ADB drivers aren’t installed on your computer yet. In the case of a Sony device, go to the Sony Developer website and get them from there. With other manufacturers, you solve the problem the same way.
Tap “build number” seven times to enable developer options in the Settings menu. / © NextPit
Start the Helium app on your smartphone and connect it to the PC.
Once your phone has been detected, unplug it from the PC.
Once you’ve paired the two devices you’ll have enabled Helium backups. / © NextPit
Now you can go to the app on your phone and select which apps you’d like to backup the app data for. If you want to do them all, choose Select all and tap Save.
Select all apps (right) or choose ‘app data only’ for smaller backups. / © ANDROIDPIT
Next, you decide where to save your backup to. You can choose from the internal memory, microSD or the cloud.
Backup destinations include memory, external SD cards or cloud services. / © NextPit
Next, you wait a few minutes for the backup to complete.
Once it is done, you’ll get a notification that the backup was successful.
Helium: backup app data with root accessIf your Android device has been rooted, backing up your app data is particularly easy. You don’t even have to connect to a PC.
When you start up the Helium app on your phone for the first time, it will request Superuser rights. These are necessary for backups to be created without connecting to a PC.
Then, you can follow the same process as above to select which apps to backup and where you’d like the backups to be saved.
Helium: restore app data, with or without root accessWith or without rooting your phone, the restoration process is the same.
Start Helium on your Android device and go to the Restore & Sync tab.
There, tell the app where to restore the data from. (Restoring from a cloud backup requires the Premium version. )
Then you can choose to restore app data for specific apps, or all of them. Just highlight the apps, and tap Restore.
Now, the app data will be restored. Depending on how much you backed up, this could take some time.
You can also download your backups with Helium. / © NextPit
oandbackup: free and open-source backup option Although the Play Store is lacking in freshly updated alternatives to Helium (many that allow you to back up APKs, but not app data), there’s a good option from F-Droid, a repository for free and open-source software (FOSS) oandbackup, you can make backups of selected apps on your device and restore from those backups. The key part is that it allows you to save app data to a user-accessible location. Both backup/restore of single apps and of multiple apps are supported.
A more up-to-date way to back up the data of all your apps. / © NextPit
To download and run oandbackup, you’ll first need to download F-Droid, and then download oandbackup from there. The app is still maintained and updated regularly, so it should work on newer versions of Android if Helium has let you down. You’ll need root access for this, however, but it could be your best bet if you don’t want to rely on you don’t have root but have Android 4 or higher, you can use the command-line program adb from the Android SDK platform tools to make backups with the help of a desktop computer. WARNING: this method does not work for apps which disables adb backup, or for some smartphone brands such as you have any other backup tips for Android? Share them with us in the comments.
Edit data folder on Android 11 – Rhythm Software
Android 11 Limitation
Since Android 11, application data folder is invisible to 3rd party apps according to the storage permission change. You can no longer list files directly:
Since QuickEdit 1. 7. 9, it supports to read the contents under data folder on Android 11, but needs some additional steps to grant permission to data folder.
Edit Files In Data Folder By QuickEdit
Please upgrade QuickEdit to version 1. 9 and above, then you can use following way to grant QuickEdit read/write permission to data folder:
Navigate to Data Folder
Using QuickEdit built-in file explorer to locate the data folder under internal storage, the path is similar as: /storage/emulated/0/Android/data
Grant Permission to Data Folder
In latest QuickEdit version, a permission grant dialog will show up, please go to root path to internal storage, and click “use this folder” to grant the permission.
Access Data Folder as Normal
After the grant access success, you can access data folder as normal.
Edit Files In Data Folder By QuickEdit (Legacy)
If you are using QuickEdit old version before 1. 9, or previous solution not work for you, please try following guide.
Currently system level file management app can view and edit files under data folder on Android 11. You can use system built-in file manager to open the files and assign QuickEdit to
edit the file.
Following is the steps how to do this:
Find System File Manager
Please go to Android system settings, find storage section, click it. From the storage page, find “Files” item, and click it. If there are multiple file managers to open
please make sure to choose “Open with Files” to open it, which is the system file manager app.
Please see following screenshot for the steps:
Open Data File By QuickEdit
From the files app, please navigate to Android data folder, navigate to the app and file that you want to edit, and click “Floating Action Button with Edit Icon”. From
the popup app list, choose QuickEdit to edit the file.
Edit and Save Data File using QuickEdit
Now you can edit and save the data file as other local files. If there is permission error popup when you saving your modifications, please double confirm that you choose “edit
file with” option instead of “open file with” option in the previous step.
Only “edit file with” option can give QuickEdit write permission.
How to access data/data folder in Android device? – Stack …
On a rooted device, the correct solution is this:
Change your directory and go into ‘Platform tools’
Type ‘adb shell’
Press ‘Allow’ on device
chmod 777 /data /data/data /data/data/*
Open DDMS view in Eclipse/IntelliJ and from there open ‘FileExplorer’ to get your desired file
The original solution worked, but the chmod would return unknown directory. Changing the chmod command to /data/data/* gave access to all subfolders in the data directory from DDMS in Intellij. I assume the same solution is true for Eclipse DDMS.
So, what I’ve found is strange. I’m running a Nexus 6 using DDMS in IntelliJ (Android Device Monitor). I have built a little starter app. Said app saves data to a file in data/data/
When I first started to try to access this file on my Nexus 6, I found that I have to root the device.. I could see the data folder, but trying to open it would not work. As mentioned online in other places, the expand + would vanish then reappear shortly thereafter (note, there are solutions on the web that claim to allow access to these folders without rooting, I didn’t find them till too late, and I’m not sure if I prefer not to root anyway ((I’d rather be able to do it manually than rely on an app or command prompt to give me my solutions))). I rooted my 6 and tried DDMS again.
At this point, it showed me the data folder and I could expand the folder and see the com. directories, but I could not open any of them. That is when I discovered the above solution. The initial instructions would not work on this part:
chmod 777 /data /data/data /data/data/cakage /data/data/cakage/*
That is when I tried the solution I posted:
That solution seemed to work, but only on certain folders. I now could expand my myapp folder, but could not expand the files directory in it.
At this point, I played around for a while then figured why not just try it on the directory I need rather than trying these wildcard entries.
chmod 777 /data /data/data /data/data/
These commands allowed me to expand and view the files in my app’s directory to confirm that the was being saved correctly.
Hope this helps someone. I struggled with this for hours!
(to compound on this a tad further, oddly enough, the permissions did not pass to the file that passed to the files directory. my files directory permissions read drwxrwxrwx and my file permissions read -rw-rw—-.. just fyi)
Frequently Asked Questions about how to edit app data on android without root
How can I change app data without root?
With or without rooting your phone, the restoration process is the same.Start Helium on your Android device and go to the Restore & Sync tab.There, tell the app where to restore the data from. … Then you can choose to restore app data for specific apps, or all of them. … Now, the app data will be restored.Apr 20, 2019
How do I change app data on android?
From the files app, please navigate to Android data folder, navigate to the app and file that you want to edit, and click “Floating Action Button with Edit Icon”. From the popup app list, choose QuickEdit to edit the file.
How can I access app data without root?
Without rooting you have 2 options:If the application is debuggable you can use the run-as command in adb shell adb shell run-as com.your.packagename cp /data/data/com.your.packagename/Alternatively you can use Android’s backup function. adb backup -noapk com.your.packagename.May 21, 2017