Fail to restore using adb restore - Samsung Galaxy S7 Edge Questions and Answers

Hi, I was trying to backup and restore a single app. adb backup works for me (it created a backup.ab) but when I did adb restore, on my phone it shows the backup screen instead:
imgur.com/OGmMa
When I tap on "Back up my data", on my bottom of my phone it shows "Restoration started" but when I check back on that app, it wasn't restored at all.
Note: After running adb backup, I did some changes in the app so that when I did adb restore, I can see if those changes are undid.
My friend who uses OnePlus 3 could get the backup and restore working and we tried to match our settings to the same as much as possible but still didn't work.
I was wondering if anybody had the same issue as I did? Backup screen shows up when restoring?

I also got the backup page when restoring. when I accepted the prompt and a toast message said restoring. I just finished restoring my phone. seems that there is no restore page just the backup page. click backup my files and it will work.

Related

Nandroid 2.2 Restore Troubles

Hey guys, im trying to do a nandroid restore from recovery and i keep getting the Error: run 'nandroid-mobile.sh restore' via console!
Did i misunderstand or something about the process? If i had a backup in sd/nandroid/"my model#" where i backed up an older restore at stock with MR. and I start "Nandroid v2.2 restore" it should simply restore it or am i missing something? BTW i have no other backups in that folder.
I had the same issue after I copied the backups to another sdcard. I was not able to get around the error. I just booted into recovery mode and then used the adb shell to run the backup command. No errors whatsoever when I use this method to restore.
Well does anyone else have the same problem or know what the issue/fix might be? Cause its really annoying if this restore feature won't work.

Cant restore nandroid backup with CWM (solved)

Hello,
When I try to resore my nandroid backup with the google nexus 7 toolkit (by mskip) after the files are pushed It says that i must click on "backup and resore" and than "restore" (in cwm recovery). When i do that I get the error "could't open directory. No files found". I tried to reboot into recovery a couple of times, but nothing changed. I also clicked on "fix permissions", but that didn't help too. Could someone please help a poor noob trying to restore his nandroid backup?:fingers-crossed:
Anyone?
Where are the files being pushed? I believe CWM needs them in /data/media/clockworkmod, not /sdcard/clockworkmod.
Thanks for your reply,
After looking at your reply, I put my backup in the folder you mentioned and tried to do the restore. Sadly, that did not work. So I tried to make a backup of the rom I was currently running to see where that gets saved. Seems to be a "backup" folder in the folder you mentioned. after moving the backup there it worked fine, thanks.

[Q] App Restore Issue

Quick background:
I was running stock Android 4.2.1 with a custom kernel & recovery (TWRP) and decided to install CM's latest rom. I forgot to make a backup before installing the new rom and, because I didn't want to lose all of my app data, I did not do a factory reset after installing the CM rom. This caused me to end up in a broken state with Android being stuck at the boot animation. To prevent myself from breaking anything else, I made a backup of this broken state using TWRP. I then proceeded to factory reset which got Android working again.
Question:
I have some app data (read: game saves) in the broken TWRP backup that I would like to recover. Is there a way to pull app data from the TWRP backup that I can use to restore the app using Titanium, TWRP, or something else?
Thanks in advance!
Titanium Backup > Menu > Extract apps/data from Nandroid Backup.
Username invalid said:
Titanium Backup > Menu > Extract apps/data from Nandroid Backup.
Click to expand...
Click to collapse
Thanks for the reply! I just tried doing that and the backup is detected, but no apps/app data show up. The list is blank.
Is there anything else I should try or is my data just gone?
eurasianboy1112 said:
Thanks for the reply! I just tried doing that and the backup is detected, but no apps/app data show up. The list is blank.
Is there anything else I should try or is my data just gone?
Click to expand...
Click to collapse
Was the backup compressed?

How to restore from google backup

I have an issue. I wiped my phone, and my titanium backup got wiped with it. I reinstalled or3o 0.5 and I logged in to google. I did not select restore from the set up menu. There were backups but I decided to skip it. Is there a way for me to restore after I have passed the initial menu and am on the home screen?

Full Backup

How can I run a full backup of my phone without TWRP? I hate setting up everything after I try a new rom and go back. I've tried every TWRP and I can't restore backups. Is there like a fastboot command or adb command to backup everything?
nima0003 said:
How can I run a full backup of my phone without TWRP? I hate setting up everything after I try a new rom and go back. I've tried every TWRP and I can't restore backups. Is there like a fastboot command or adb command to backup everything?
Click to expand...
Click to collapse
I use Titanium Backup.
nima0003 said:
How can I run a full backup of my phone without TWRP? I hate setting up everything after I try a new rom and go back. I've tried every TWRP and I can't restore backups. Is there like a fastboot command or adb command to backup everything?
Click to expand...
Click to collapse
when restoring, are you using _image options? also, are you restoring everything except data and then restoring data? that was the caveat i noticed users reporting in TWRP threads. some still couldn't, but if not, try it like that.
kitcostantino said:
when restoring, are you using _image options? also, are you restoring everything except data and then restoring data? that was the caveat i noticed users reporting in TWRP threads. some still couldn't, but if not, try it like that.
Click to expand...
Click to collapse
I tried but that doesn't work either, I get error 255
nima0003 said:
I tried but that doesn't work either, I get error 255
Click to expand...
Click to collapse
Did you followed this? It's easy to forget....
"Warning: before you make a backup with TWRP you must remove all Lockscreen Security. If you do not do this you will not be able to unlock your device after restoring your backup (entering your pin/pattern/password will result in an "incorrect pin/pattern/password" message), you'll be forced to perform a factory reset to boot into Android.
To remove lockscreen security go to
Settings > Security > Screen Lock and set it to Swipe/None." https://forum.xda-developers.com/showpost.php?p=77982197&postcount=7
F5:ed said:
Did you followed this? It's easy to forget....
"Warning: before you make a backup with TWRP you must remove all Lockscreen Security. If you do not do this you will not be able to unlock your device after restoring your backup (entering your pin/pattern/password will result in an "incorrect pin/pattern/password" message), you'll be forced to perform a factory reset to boot into Android.
To remove lockscreen security go to
Settings > Security > Screen Lock and set it to Swipe/None." https://forum.xda-developers.com/showpost.php?p=77982197&postcount=7
Click to expand...
Click to collapse
No I didn't, I'll try that next time.
nima0003 said:
How can I run a full backup of my phone without TWRP? I hate setting up everything after I try a new rom and go back. I've tried every TWRP and I can't restore backups. Is there like a fastboot command or adb command to backup everything?
Click to expand...
Click to collapse
Try migrate app from playstore, magisk needed.
I am trying to backup with adb (not rooted), but I never get the prompt on my phone. The backup file is created with zero bytes, and nothing more happens.
Any suggestions please? USB debugging is turned on, and USB mode is file transfer.

Categories

Resources