[Q] Complete Backup possible (Stock)? - OnePlus 6 Questions & Answers

Hello ,
I want to ask if it is possible to do a complete backup with stock OxygenOS of the OP6?
I don't want to unlock the BL before the backup because if something goes wrong I really want to go back to the current untouched state.
This is because I want a phone which passes the safetynet check

Engelm said:
Hello ,
I want to ask if it is possible to do a complete backup with stock OxygenOS of the OP6?
I don't want to unlock the BL before the backup because if something goes wrong I really want to go back to the current untouched state.
This is because I want a phone which passes the safetynet check
Click to expand...
Click to collapse
It is possible yes, via ADB;
Code:
adb backup -apk -shared -all -f backup-file.adbl
You can then restore it via ADB again with
Code:
adb restore backup-file.adb
OR with Titatium backup!

Solution6996 said:
It is possible yes, via ADB;
Code:
adb backup -apk -shared -all -f backup-file.adbl
You can then restore it via ADB again with
Code:
adb restore backup-file.adb
OR with Titatium backup!
Click to expand...
Click to collapse
Thanks, I will try this
But for titanium Backup I will need to root/to unlock before?

Engelm said:
Thanks, I will try this
But for titanium Backup I will need to root/to unlock before?
Click to expand...
Click to collapse
You'd need root to make/restore it with titanium backup yeah, but ADB doesn't require that

The ADB backup method is by no means a "complete backup". It backs up apps and their settings (doesn't work for all apps) + optionally a few system settings. It's not like a Nandroid backup which is a complete system image.

Related

[WITHOUT ROOT] adb backup???

I am trying to backup my game data in android device (move from old device to new device)
I currently HAVE NO ROOT on BOTH DEVICES.
I just need to backup the game data and the app data.
I googled the adb backup but there is no documentation from android SDK site.
but in some other forum someone said I can use the following script to backup "JUST DATA"
and I wish to confirm it once more before I move
adb backup -apk <packageName> -f <DirectoryAndFileName.ab>
Click to expand...
Click to collapse
and for restore JUST
adb restore <DirectoryAndFileName.ab> (
Click to expand...
Click to collapse
I also wish to know what parameters can be added to adb backup ?? there is NO OFFICIAL DOCUMENTATION to support
THANKS
Try this - http://forum.xda-developers.com/showthread.php?t=2091047

ADB backup incomplete

In the aim of disabling encryption on my stock Nexus 5 I had to wipe the device. To not lose my data I researched backups and I came across the ADB method. I did several updates using different commands as I was never sure if the backup completed. The command did return however (i.e. the cursor appeared on CMD).
I ran the following:
Code:
adb backup -apk -shared -all -f C:\backup\backup.ab
Code:
adb backup -apk -shared -all -nosystem -f C:\backup\backup.ab
The end result is me having 4 backup files in the 2.8GB to 2.9GB range.
After trying ADB restore on two of them, most of my applications are not restored. I can live with that, but I would prefer if there is a way to restore my whatsapp data.
To try and diagnose the problem ibought Titanium Backup Pro to use their Extract from ADB backup option. That way I could tell what applications made it through. I unpacked then repacked the .ab file to remove the encryption by following this guide. Once I put the .ab on my phone, Titanium Backup said the backup file isn't supported.
Any thoughts ? I'm working on Windows 10 but I also dual boot with Ubuntu.
Hi
Try using the <packages...> tag
http://forum.xda-developers.com/google-nexus-5/general/guide-backup-data-root-t2824790

restore backup from adb

last time before i flash my phone im tried to use adb to backup my phone data,and im using this command "adb backup -apk -all -f backup20160118.ab". now im trying to restore that data back to my phone n i dont know how...can someone tell me how to doit.tq

adb backup on a rooted lg g stylo?

if you were to use
Code:
adb backup -all -apk -system -shared
would it also backup super su and the root binary?
so that a adb restore would bring back root?
or would it not back up or restore that information?
never used anything but titanium backups or nandroid backups. which require rooting then restoring of data.
i tried searching for a thread that explained what all the adb backup method restored but found no mention of it restoring su binary files or not.

persist.img backup and restore

Hey guys! I was doing some forum surfing and I heard about this image called persist.img. I found out that it's specific to each device and you lose widevine if you flash a generic one. So I have 2 questions to ask you guys.
1. If I have a backup of my own persist.img, can I flash it and not lose widevine?
2. How do I actually back up the image?
Thanks on advance guys! ⊂((・▽・))⊃
1. not sure honestly, but I backup anyway to try if it does when time comes.
(Root is needed)
From computer:
adb shell dd if=/dev/block/bootdevice/by-name/persist of=/tmp/persist.img
adb pull /tmp/persist.img persist.img
Or from phone from terminal emulator;
su
dd if=/dev/block/bootdevice/by-name/persist of=/sdcard/persist.img
Make a copy of this to somewhere else(drive/pc etc).
Not completely sure about restoring it, I think you can just flash it via fastboot.
Lossyx said:
1. not sure honestly, but I backup anyway to try if it does when time comes.
(Root is needed)
From computer:
adb shell dd if=/dev/block/bootdevice/by-name/persist of=/tmp/persist.img
adb pull /tmp/persist.img persist.img
Or from phone from terminal emulator;
su
dd if=/dev/block/bootdevice/by-name/persist of=/sdcard/persist.img
Make a copy of this to somewhere else(drive/pc etc).
Not completely sure about restoring it, I think you can just flash it via fastboot.
Click to expand...
Click to collapse
That's great! Thanks for the help
Hey. How can we backup it without root?
Lossyx said:
1. not sure honestly, but I backup anyway to try if it does when time comes.
(Root is needed)
From computer:
adb shell dd if=/dev/block/bootdevice/by-name/persist of=/tmp/persist.img
adb pull /tmp/persist.img persist.img
Or from phone from terminal emulator;
su
dd if=/dev/block/bootdevice/by-name/persist of=/sdcard/persist.img
Make a copy of this to somewhere else(drive/pc etc).
Not completely sure about restoring it, I think you can just flash it via fastboot.
Click to expand...
Click to collapse
where can i find the persist.img file in the device ? i search using google files app and it wasnt there.
Kagetane Hiruko said:
where can i find the persist.img file in the device ? i search using google files app and it wasnt there.
Click to expand...
Click to collapse
There is a app from play store called partitions backup it shows all partitions including persist and let's u make a copy for back up
hammered58 said:
There is a app from play store called partitions backup it shows all partitions including persist and let's u make a copy for back up
Click to expand...
Click to collapse
Needs root though.
You could do an msmtool readback i think it's called using msmtool. to backup without root. you do need windows for it though.

Categories

Resources