app-data backup & restore without root - RAZR i Q&A, Help & Troubleshooting

Hi guys,
so I'm trying to backup and restore all my apps+data from my Defy (with root) to my Razr I JB (without root, locked BL)
Since Titanium Backup doesn't work without root, I installed Helium on both of my phones.
Now backing up works fine on my defy, also verifying it by deinstalling an app with tianium backup afterwards and restoring the app+data via helium gives me the app+data again.
Now when I try to restore my app+data on my Razr I it only restores the app, but not the data.
I also tried to use the manual way via adb backup and adb restore as posted here:
https://plus.google.com/+RichHyndman/posts/b9ejZegfw8p
but no luck, the backup works fine again, but when restored to the Razr I, no data is included.
What can I do?

I don't really care about most of the apps, but I do need some app data for certain apps that I don't want to lose..

dagoban said:
I don't really care about most of the apps, but I do need some app data for certain apps that I don't want to lose..
Click to expand...
Click to collapse
Not possible, only if rooted.
(Only way known is using Helium, but that won't work in stock motorola roms)

dagoban said:
Hi guys,
so I'm trying to backup and restore all my apps+data from my Defy (with root) to my Razr I JB (without root, locked BL)
Since Titanium Backup doesn't work without root, I installed Helium on both of my phones.
Now backing up works fine on my defy, also verifying it by deinstalling an app with tianium backup afterwards and restoring the app+data via helium gives me the app+data again.
Now when I try to restore my app+data on my Razr I it only restores the app, but not the data.
I also tried to use the manual way via adb backup and adb restore as posted here:
https://plus.google.com/+RichHyndman/posts/b9ejZegfw8p
but no luck, the backup works fine again, but when restored to the Razr I, no data is included.
What can I do?
Click to expand...
Click to collapse
did you try this: http://forum.xda-developers.com/showthread.php?t=1844032
or that? http://www.android-hilfe.de/android...root-durchfuehren-per-adb-ab-android-4-x.html
but no guarantee that it will work. There seems to be issus with motorola-devices. for me it didn't worked, but for other razr i owner it worked fine

ICuaI said:
did you try this: http://forum.xda-developers.com/showthread.php?t=1844032
Click to expand...
Click to collapse
yep, that one didn't work at all, only showed 2 gapps as backups on my defy
ICuaI said:
or that? http://www.android-hilfe.de/android...root-durchfuehren-per-adb-ab-android-4-x.html
but no guarantee that it will work. There seems to be issus with motorola-devices. for me it didn't worked, but for other razr i owner it worked fine
Click to expand...
Click to collapse
thx for that link, but already tried to backup it up via adb package name....

How about, another way.
Could I pull the app data via adb pull and then push it on my Razr I via adb push? Would that work?

dagoban said:
How about, another way.
Could I pull the app data via adb pull and then push it on my Razr I via adb push? Would that work?
Click to expand...
Click to collapse
is it also possible to pull/push an entire folder or do I have to push every file by itself?
What I did now is that I copied the app-data from my old phone with the root explorer to my sdcard, now I want to push it to my Razr I, but I only get permission denied. I thought adb commands are always under root? Or do I have to mount anything?
This is what I tried:
adb push 1.txt /data/user/0/com.xxxxxxxxx/database/1.txt

Hey guys,
just giving an update on that issue.
So we all now that adb backup and adb restore works on all phones starting Android 4.x but not on Motorola's phone.
So I wrote couple emails with the Motorola support back and forth and sent them a detailed description of the bug.
They forwarded it to the dev team and hopefully this will be fixed in the next update.

Related

Rename my Nandroid backups?

i thought you could rename the folder of each nandroid backup, but after searching i read that now they might not restore anymore. is this true? i havent tried to restore any of them.
i used the time stamp of each folder to rename them based on the order of first to last because i didnt pay attention that the folder name was actually the date. so i dont know if i named them correctly, i.e. stock rom, cyan #1, etc.
are my restore files now trashed? also i havent done a restore yet cause i wasnt sure how much re-installing i would have to do. what exactly does nandroid restore, is it just the OS and all settings, but no apps? thanks!
Nandroid is basically an image or 'Snapshot' of your phone i.e. everything from your applications to your settings to the bootloader animation. As for renaming them, I think you need to keep the same folder structure but you can rename the 'BDES-20100430-1259' part to something more user-friendly.
nDrg said:
Nandroid is basically an image or 'Snapshot' of your phone i.e. everything from your applications to your settings to the bootloader animation. As for renaming them, I think you need to keep the same folder structure but you can rename the 'BDES-20100430-1259' part to something more user-friendly.
Click to expand...
Click to collapse
Wait it grabs everything including apps, OS settings, even my desire black notification bar, etc?
I'm totally noob so I wanna do my first restore but don't know what if anything I'll lose and if its worth it to even restore. I'm wondering how feasible it is to bounce around between nanDroid backups and I always hear about titanium backup but don't understand the difference and why to use that or just the recovery. Thanks
I rename my nandroid backup folders on a regular basis, so I can quickly find a backup for any stage of modification I'd like to go back to. ORIGINAL, CYAN-506-BARE, CYAN-506-LOADED, FROYO-BARE, FROYO-LOADED, etc....
And it SHOULD backup everything (well, except for the radio image), and it generally does. I have done a few restores where it misses an app or setting or two but the majority of everything is there.
mine works restoring when renaming folders. i label mine using the rom versions (kang/cyan/etc)
And you don't lose root if you flash back to stock ROM, the one I made right after I first rooted?
RogerPodacter said:
And you don't lose root if you flash back to stock ROM, the one I made right after I first rooted?
Click to expand...
Click to collapse
If the backup was created while you had root access, then you should still have root access. Those permissions will be copied as a part of the backup.
crap my restore just failed. It said:
Error: run 'nandroid-mobile.sh restore ' via adb
Are my backups lost forever? I tried all of them and all gave that error.
That's beyond me. The only time I've had an issue with nandroid backups was when my SD card was close to full. My troubleshooting skills on that are limited, I'm afraid.
I rename all mine according to ROM/kernel...etc and yes nandroid backsup everything to the "T" the way it was when u aplly the backup. You should always keep more than one nandroid on ur card or save them on ur computer. They are known to sometimes not work. It has happened to me.
Ok I'm really having some problems. I just now created another brand new nand backup and didn't rename itand tried to restore it and get the same error. Google has tons of info on this with a million different answers. I tried removing all spaces in my backup name with no luck.
codesplice said:
I rename my nandroid backup folders ... ORIGINAL, CYAN-506-BARE, CYAN-506-LOADED, FROYO-BARE, FROYO-LOADED, etc ...
Click to expand...
Click to collapse
hahaha, ****t codesplice, you and I do it the exact same way!!!
Since I've been playing with different kernels for Froyo, I now have to include the kernel name in my backups.
crap my restore just failed. It said:
Error: run 'nandroid-mobile.sh restore ' via adb
Are my backups lost forever? I tried all of them and all gave that error.
Click to expand...
Click to collapse
Make sure your battery has greater than 50% - best if on a full charge.
-------------------------------------
Sent via the XDA Tapatalk App

Helium (formerly Carbon) - Backup/Restore

Hi folks,
I've done a fair bit of searching and although it has been briefly discussed before I can't see any recent mentions about Helium (aka Carbon) from clockworkmod (https://play.google.com/store/apps/details?id=com.koushikdutta.backup&hl=en).
The Google Play store page for the app mentions that the app doesn't work on the Xperia S and Z due to some changes Sony made, however when I first got my Xperia Z (at launch in the UK), I was able to backup app data (and some apks) from my Galaxy S3 and restore them onto the Xperia Z without any issues.
Given there have been a few software updates from Sony since launch, does anyone have any recent experience with Helium, specifically whether it works correctly to backup and restore to the Xperia Z? I couldn't find a suitable thread or forum to try to ask the developer directly what the specific issues were with the Xperia S and Z that led to the warning on the app page.
I had a problem restoring Apps with this app after full factory reset. It always crashed. Tried to restore from SD card and CLOUD. on my galaxy s3 it works fine. The build in sony's backup and restore app is doing great.
neoxkid said:
I had a problem restoring Apps with this app after full factory reset. It always crashed. Tried to restore from SD card and CLOUD. on my galaxy s3 it works fine. The build in sony's backup and restore app is doing great.
Click to expand...
Click to collapse
Thanks for the reply. What does the Sony app actually backup? Does it include some/all apks and the actual app data too (e.g game progress)?
Yes, it includ app+data, even clock alarms
Hi. Why doesn't work the program to NOT ROOT galaxy s2 with android 4.1.2?
It bring me that message
"An error occured while perfoming your app backup. A log of the error has been sent to ClockworkMod. Clock Backup to attempt to backup the remaining apps."
I have do ALL the steps you are describe but the program DOESN'T WORK..... Can you please suggest me something?
Helium kept telling me that I had a backup password which I had never set.
fits79 said:
Hi. Why doesn't work the program to NOT ROOT galaxy s2 with android 4.1.2?
It bring me that message
"An error occured while perfoming your app backup. A log of the error has been sent to ClockworkMod. Clock Backup to attempt to backup the remaining apps."
I have do ALL the steps you are describe but the program DOESN'T WORK..... Can you please suggest me something?
Click to expand...
Click to collapse
Hi, the problem is your rom
No it ISN'T the my rom.
And that is because i try it into to galaxy s2.
01. With Oficial and NOT root 4.0.3 sales code eur
02. With oficial 4.1.2 nordic sales code nee
So........
I decided to unlock and root my phone. So I did some backups with mybackup pro and decided to give a try to helium (because I never managed to restore the data of the apps with mybackup pro, just with root). I did the backup, saved it on the internal storage, copied it on my computer, unlocked my phone, rooted it, installed helium, copied the backup to the internal storage and... when i try to restore the backup from the internal storage it doesn't find it... I am now trying to reinstall it, don't give it su and see if I see the backup... if I don't see it... well.. idk what to say... I do a backup and then I cannot restore it? nice (sarcastic)
Edit: no.. I cannot find the backup
dreamxp said:
Helium kept telling me that I had a backup password which I had never set.
Click to expand...
Click to collapse
yes same problem here, it seems the devs of this app are idiots
I started using this for the first time last week. Now I'm making a new backup and it is asking me to connect my phone to the computer again. do I need this each time I create a backup to my external sd card?
Samribi said:
I decided to unlock and root my phone. So I did some backups with mybackup pro and decided to give a try to helium (because I never managed to restore the data of the apps with mybackup pro, just with root). I did the backup, saved it on the internal storage, copied it on my computer, unlocked my phone, rooted it, installed helium, copied the backup to the internal storage and... when i try to restore the backup from the internal storage it doesn't find it... I am now trying to reinstall it, don't give it su and see if I see the backup... if I don't see it... well.. idk what to say... I do a backup and then I cannot restore it? nice (sarcastic)
Edit: no.. I cannot find the backup
Click to expand...
Click to collapse
I have the same problem... Hi%5... hope somebody will look into this matter ...
---------- Post added at 11:20 AM ---------- Previous post was at 11:03 AM ----------
If you're still interested.. (if u want the app data. i.e : savegames) I found a way.. Just keep those backup files in your computer. And then download the apps you want to restore.. Then make backups of them again.. Then they will have those backup up files in the "Carbon" folder. Then copy the folders inside without the "nomedia" file. It then the app will show the backup & viola... Apps restored...
Sent from my Xperia V using xda app-developers app
fits79 said:
Hi. Why doesn't work the program to NOT ROOT galaxy s2 with android 4.1.2?
It bring me that message
"An error occured while perfoming your app backup. A log of the error has been sent to ClockworkMod. Clock Backup to attempt to backup the remaining apps."
I have do ALL the steps you are describe but the program DOESN'T WORK..... Can you please suggest me something?
Click to expand...
Click to collapse
Same issue for me
Helium works fine for me, only problem is that messages are stored 'the wrong way' in Sony stock-ROM's last time i tried one of those.
Urticant2 said:
Hi, the problem is your rom
Click to expand...
Click to collapse
I had the same problem, just unplug your phone from the usb and it works
mljjlm said:
Helium works fine for me, only problem is that messages are stored 'the wrong way' in Sony stock-ROM's last time i tried one of those.
Click to expand...
Click to collapse
Is there something weird about the way messages are stored in general? Everything else seemed to work - the one thing I can't seem to figure out is how to restore text messages (com.android.providers.telephony.ab) - I've tried to do it as a whole app using the PC interface, tried copying the folder as a replacement via Android File Transfer to the 'carbon' folder, etc.
When I try to restore via helium server, it quickly shows me everything as restored but I don't see the messages. When I try to do it manually (e.g. force copy), I don't see an option under "Restore and Sync" to actually select messaging.
Am I missing something stupid / obvious? The raw data seems to be there (for example, call logs were uploaded just fine, text messages seem to have an issue).
--Dan
bfettd said:
Is there something weird about the way messages are stored in general? Everything else seemed to work - the one thing I can't seem to figure out is how to restore text messages (com.android.providers.telephony.ab) - I've tried to do it as a whole app using the PC interface, tried copying the folder as a replacement via Android File Transfer to the 'carbon' folder, etc.
When I try to restore via helium server, it quickly shows me everything as restored but I don't see the messages. When I try to do it manually (e.g. force copy), I don't see an option under "Restore and Sync" to actually select messaging.
Am I missing something stupid / obvious? The raw data seems to be there (for example, call logs were uploaded just fine, text messages seem to have an issue).
--Dan
Click to expand...
Click to collapse
Hmm.. I just used the SD-card backup, so I don't know about other stuff
mljjlm said:
Hmm.. I just used the SD-card backup, so I don't know about other stuff
Click to expand...
Click to collapse
So I came up with a solution based on what works for others. Why this works when it didn't previously is beyond me, but hopefully someone else can use it if individual parts of their Helium backup don't work properly (in theory it should work for any app / SQL dataset). The whole point of Helium is that we're running non-rooted phones and so Titanium Backup or the like aren't applicable. For reference, I'm running an N4 to OSX 10.7.x
1. Use the Helium Server to create a full backup.
2. Wipe phone or whatever you need to do (I had to do a factory reset for Google since it's an N4 and my proximity sensor is dead).
3. Install the apps you had previously via Play Store (pain in the a**).
4. Run Helium server and upload the backup data.
5. Update apps as needed (should be auto but who knows for individual stuff).
6. Check app data in apps. Texts are obviously easy to see for me. Hopefully everything restored nicely for you here.
***Now for the bit for people who got corrupted restores.
7. Unzip the backup file on your computer, select the .ab files that correspond to the missing / corrupted restores and then zip those into a new file on your computer (for step 9). Keep these files handy in unzipped form as well for step 10.
8. Perform a new Helium backup of those sections onto the internal SD card (yes it will be blank, worry not).
9. (Optional step): Run Helium server and upload that new zip file (with the stuff that didn't make it) alone. Try restore. Unlikely to work but worth a shot.
10. Running Android File Transfer, find the SD card, find the folder 'carbon' and then find the corresponding sub-folders that have the modules that were corrupted. Replace the SD card backups of the broken modules with the good ones from your computer.
11. Run Helium restore again, but only for the sections you want (I swear, for me Messaging didn't show up the first few times but after step 10 it did).
12. Wait, hoepfully it works well. I would reboot after running the restore to a) kill Helium and b) confirm functionality.
FWIW, my telephony.ab was 1.8MB and took SIX hours to restore. Seriously. Yeah yeah, that's a lot of texts but six hours? I've since added "SMS Backup & Restore" to my phone and will probably just use that, map out my phone layout and functionality and just manually replace apps from now on since most data is in the cloud. You lose some stuff, but prima facie it's boat tons easier.
Hopefully that helps someone else who had the same issues.
--Dan
Somehow my phone got soft factory reset (lost all the apps but the files) when i tried to install the apps that I had before it throws a play store error while installing saying it couldnt be installed because of an unkown error "-24" plz helpp
Why are you mocking Koush? Yes the Koush. He made this app. He specifically said in the app description that:
Note: Helium is NOT available to Motorola devices. This is because Motorola phones have a bug that break Android's backup mechanism. Until this is fixed by Motorola, Helium will not work on those Androids. You can download Helium manually here:
http://download.clockworkmod.com/apks/Backup.apk
If you find that Helium *does* work on your Motorola Android, please notify me.
Note: Some Sony devices have issues with Helium. This includes the Xperia S and Xperia Z. Sony has *disabled* backup on these devices completely.
Click to expand...
Click to collapse

ADB restore problem

Hi,
Does any one of you have a problem with ADB restore? It looks like it restores APKs, but freezes trying to restore data. Doesn't matter if I use ADB or Helium.
EDIT:
Ok, just read that other transformers tablets have this problem too
How do they expect us not to root their devices, if they break basic functionality.....
Sent from my K00C using Tapatalk
Same problem here. I tried to backup app data from my old Samsung 10.1 and restore on TF701: no chance, no matter what I tried... :crying:
Well, I thought I could take DataBackup.apk and odex from tf701t and put it in \system\app on my rooted xperia z and try to make a backup that can be recovered to the tablet, but unfortunately "App backup" doesn't show in my app drawer on XZ. Any one have an idea why? Or maybe someone know how to do it, or is it even possible?
I doubt you will be able to restore app data without root. That is what you are trying to do - write to the /data partition over adb?
sbdags said:
I doubt you will be able to restore app data without root. That is what you are trying to do - write to the /data partition over adb?
Click to expand...
Click to collapse
ADB backup/restore doesn't require any special permisions. It's a native function built into Android since JB (or ICS, I don't remember).
Sent from my K00C using Tapatalk 4
Same problem on my TF701 - restore starts and hangs. It actually restores the app, but fails to restore data. The app will crash on first run, then reset the data and fix itself on the 2nd run, but with data reset.
All Transformers apparently suffer from this. WTF, ASUS.

[Q] Using old rom ADB file on new rom?

Hi Guys!
I've just flashed my HTC One to the ViperOne ROM. And since i backed up all my apps beforehand with ADB i was wondering if i could use the backup file that i have on my PC taken with the stock ROM, on my new rom?
Cheers!
What do you mean by 'backed up using adb'? Did you copy files from your phone to your computer?
deeevan said:
What do you mean by 'backed up using adb'? Did you copy files from your phone to your computer?
Click to expand...
Click to collapse
Thanks for the fast reply!
I've followed this vid through the root process where it was suggested to do a backup as seen here: http://youtu.be/qpj6dEMn9dw?t=2m45s
So i basically used ADB to backup apps settings etc and it saved a file on my comp. And i was wondering if i could use that even if made on a different ROM.
I'm out and on my phone, don't really want to watch a video to find out what command you ran. I assume it was a whole system backup like a nandroid.
Because you've now installed a different ROM, you only want to restore certain parts of your backup ie. You just want your user apps and data restored. If you restored your whole backup, you'd wipe Viper ROM and be back where you started.
Have a look at TitaniumBackup and Helium which will allow you to just backup and restore apps. I use Titanium and it has options to extract from a nandroid or adb backup.
I ran it and it seems to have worked. Still on the Viper rom atleast!
But thanks for the help!
Just read up about adb backup. Thanks, learnt something new today.
You should look at Titanium as it will give you finer grain control over restoring.

Using Helium to restore backup. How?

Good evening.
I tried to restore my apps from the old HTC One S (with root), to the new Z3 Compact (without root) ugins Helium, but didnt' worked.
-I did a backup on the One S, next I did a backup of a dummy app on the Z3C, so it created a folder called "carbon".
-I put the folders from the carbon folder on the One S to that on the Z3C.
The problem is that when I try to restore the app, Helium doesn't find any backup.
Anyone can help? Thanks...
Alan Slade said:
Good evening.
I tried to restore my apps from the old HTC One S (with root), to the new Z3 Compact (without root) ugins Helium, but didnt' worked.
-I did a backup on the One S, next I did a backup of a dummy app on the Z3C, so it created a folder called "carbon".
-I put the folders from the carbon folder on the One S to that on the Z3C.
The problem is that when I try to restore the app, Helium doesn't find any backup.
Anyone can help? Thanks...
Click to expand...
Click to collapse
Have you tried rebooting and then trying?
mattdm said:
Have you tried rebooting and then trying?
Click to expand...
Click to collapse
Yes.. But nothing changed
I believe Helium mentions in their description that Sony disabled the features needed for the program to work.
I experienced the same thing coming from a One Mini (rooted). Couldn't get anything to work properly. So I opted to just install everything again. I did manage to get the call logs and SMS / MMS messages to the new phone by using My Backup Pro. I purchased it, and clicked on the migrate button (both connected to the same WiFi), didn't need to physically connect anything and all the call logs and messages transferred over.
you can do as i did,
1. back up the apps on your old phone
2. install the apps on your new phone and back them up with helium
3. copy the .ab file from the old phone to the new one
4. restore the backup on the new phone.
i know it seems like a lot of work, but at least it's working
Thanks, but I already reinstalled everything from 0.
It took some time, but now I have a clean phone.
The problem are all the unwanted apps. I miss my rooted HTC

Categories

Resources