Hi Guys.
Excuse my english
I have with ADB and the command
adb backup -all -apk -shared -f d: \ backup.ab
created a backup of my phone. According to the phone in the end, this backup was also made.
I also find under the drive D made the backup.
Then I had to reset the same phone to factory settings.
So again I have with ADB and the command.
adb restore d: \ backup.ab
The recovery started.
This can be tracked on the phone also, you can see how he restores the backup.
At the end, the message "Backup successfully recovered" appears on the phone.
But there is no change on the phone.
What am I doing wrong?
Or what can I do? In order not to have to do everything again from scratch.
Thank you for your help.
Related
Is there a way to store all sms in sdcard and recover them after you have wiped your phone? I know there are some apps but they are so slow. In nandroid it backs up the whole system in like 30 seconds. But I cant use nandroid because I want to use a new rom.
Aside from apps like my backup pro from the market, you can do it through terminal. If you know how to create scripts or use GScript, its even simpler. What you can do is backup the mms/sms app database, then restore it after you flash the new rom.
Note: this method may not always work and you may need to reboot before it shows up in your app so keep that in mind.
In summary with the first step, you're backing up the database to your sdcard, and in the second you're restoring it to phone memory (after a new rom)
TO BACKUP:
Go into terminal and type:
Code:
su
busybox cp /data/data/com.android.providers.telephony/databases/mmssms.db /sdcard/mmssms.db
TO RESTORE: - once you flash a different rom, or wipe
Go into terminal and type:
Code:
su
busybox cp /sdcard/mmssms.db /data/data/com.android.providers.telephony/databases/mmssms.db
Then reboot.
Hope that helps.
Hello to all.
My phone is locked on by forcing me to remove the battery. I rebooted the phone and you are stuck at the loading screen.
I reloaded the OS (version JW7_JW2_JW1) and recovery(version CF-Root-v4.4-XX_OXA_JW4-CWM3RFS) through ODIN, but the phone still does not start.
I booted the phone into recovery and made a backup. I was able to manually copy all the documents.
From the backup of the recovery, through the tool unyaffs, I recovered the contact database (contacts2.db).
Now I started the trouble because I can not find the message database. I have read that you should find in the folder com.android.providers.telephony, but the folder is empty.
Fearful of losing these files, I used the tool ddrescue as follows:
Code:
sudo ddrescue -r 3 /dev/sdb /my_path/image /my_path/logfile
I then mounted the file image with the command:
Code:
sudo mount image /mnt
To my surprise, I do not see all the hidden files that is able to recover the recovery.
Do you think that I've lost forever the phone's message?
Thanks in advance for any help you will be able to provide me, hello to everyone.
PS: I apologize for any inaccuracies or technical errors, but they are new to this type of work.
===================================================================
Hello to all.
I was able to recover and restore the data of the Memo. The database is located in the folder com.sec.android.app.memo
No one has an idea on how to restart the phone and try to recover / export of SMS?
Thank you all.
Hey guys... This is probably my first flashable zip and I created it because I was annoyed due to this wrong pin error whenever I flash a new rom in multirom or restore my backup. So here it is... . Just flash it whenever you want to go back to your previous rom or after restoring the backup.. It will remove your lockscreen but you can set it again in the security settings.
Thanks
Thank you! Not all heroes wear a cape!
You can also run this command manually in recovery instead.
From computer:
Code:
adb shell rm /data/system/locksettings.db
From phone:
Code:
rm /data/system/locksettings.db
Hi everyone,
I wanted to unlock the bootloader on my OP3T but I don't want to lose all the data. So I wondering if I could back my phone with the command,
adb backup -all -apk
and then unlock the bootloader and then restore the backup that I made. Are there any disadvantages to this? Will I lose out on updates? Will I lose any data? Anything else I should know?
I think you will in the end need root via adb to accomplish this. Imagine this, if without unlocking phone you can use adb to make a backup then anyone can do that(who have enough knowledge) and this can be a major security concern.
Soo I think it is not possible.
It is possible. As stated on Titanium Backup's webpage:
1. How to make your first backup WITHOUT root:
Before beginning, you need to setup your ADB and have your device detected. You must also running Android version 4.0 and above. Also, make sure you have a file manager installed. Our favorite is the ES File Explorer.
Connect your device and make sure its listed with the following command:
Code:
adb devices
Run a FULL backup with the following command:
Code:
adb backup -f FullBackup.ab -apk -all
This will create a “package” called “FullBackup.ab” on the current location in your command prompt. This is your backup package.
Now you can root your phone.
Once finished rooting, insert the “FullBackup.ab” package on your sdcard
Hit the menu button and look for “Extract from ADB backup” option. This will prompt you to search for the file. Use the file manager that you installed earlier and navigate to the directory and select the FullBackup.ab file.
Now restore like as if the backup was made with Titanium Backup. Don’t forget to make a fresh copy of the backup using Titanium Backup. You’re Done!
Click to expand...
Click to collapse
I'm trying to do a backup using this adb command:
Code:
adb backup -apk -noshared -all -nosystem
I need to make an adb backup so that I can restore the backup on a non-rooted phone.
However, when I enter the command, the cmd window only gives an output saying "Now unlock your device and confirm the backup operation", and then ends immediately, leaving a blank (0 kb) backup file.
I then checked the logcat and saw an error message saying "unable to launch full backup confirmation".
I've tried rebooting and still, no luck.
Does anyone know why the backup confirmation screen just wouldn't show up on the phone? I really need to backup my apps and restore them on a non-rooted device so adb backup is my only option.
The rom I'm using is Candy5 ( https://forum.xda-developers.com/xpe...andy5-t3196185 )
Solved by myself.
It turns out the rom doesn't have the package 'com.android.backupconfirm' installed. So what I did was doing a twrp backup first, flashed the last snapshot version of CM 12.1, used 'adb pull' to pull 'BackupRestoreConfirmation.apk' from '/system/priv-app/BackupRestoreConfirmation', restored the backup, copied the apk to the same directory and rebooted. The backup confirmation screen finally shows up and I can do backups now.