[Q] Backing up and restoring using ADB - OnePlus 3T Questions & Answers

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,
HTML:
<pre>adb backup -all -apk</pre>
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?
Thanks in advance!

Related

Relocking pre rooted stock without losing data

Hello i have one question : if on pre rooted stock rom 230, is it possible to relock bootloader without losing data and installed apps? And if, then how?
Thanks
You will not loose anything if you relock the bootloader
Xperia™ Z (C6602) with Tapatalk
I tried to lock my bootloader and the result was a factory reset.
thunder141 said:
Hello i have one question : if on pre rooted stock rom 230, is it possible to relock bootloader without losing data and installed apps? And if, then how?
Thanks
Click to expand...
Click to collapse
For personal data , copy paste data in PC.
For applications. Backup the applications using this and copy the folder to PC

[Q] Nandroid Backup

So i've been thinking about re-unlocking my bootloader. If I do a nandroid backup now, with my bootloader locked, and unlock it, will I be able to restore the backup without any hassle? I wanna try X-honami kernel so bad but I don't wanna wipe my phone again :crying:
You have asked this question here
http://forum.xda-developers.com/showpost.php?p=54982606&postcount=405
Please do not make multiple threads
Thread closed

Re Locking Bootloader

I'm just wondering if it's possible to like...
Unlock bootloader then restores your Titanium backup apps and then relock.. or no?
Because as far as I know there's no twrp that can read the encrypted memory and MIUI automatically encrypts the system right?
So basically there's no way to install Magisk ..
If anyone know if it's possible let me know please
I don't understand your question.
I have unlocked my Mi9, installed TWRP,deleted DATA partition, flashed xiaomi.eu,flashed magisk than restored a titanium backup taken from my old phone simply by transfer the folder with pc....
And I don't understand why people wanna relock bootloader!? In most cases you brick your phone, because it's not stock.
Guys I mean with stock global ROM not with xiaomi.eu or any other none official ROM.
I wanna lock bootloader in case my device gets stolen, lost etc.
You never know on which hands it can end.
Relock bootloader only if you flash the stock untouched image. It'useless to have a rooted locked device.... And you may cause a brick.
Yeah as we said... Don't do it if you rooted your device or flashed TWRP or anything. Relock only if it's totally stock. You may risk to brick your phone otherwise.
I was asking if it's possible to root only to being able to restore titanium apps, then remove root and then somehow restore default boot img and re lock bootloader.
PriPhaze said:
I was asking if it's possible to root only to being able to restore titanium apps, then remove root and then somehow restore default boot img and re lock bootloader.
Click to expand...
Click to collapse
I wouldn't try that. It's maybe possible but it's also possible to brick phone while there is something more changed after root and twrp. I don't know I'm not a Dev.
PriPhaze said:
I was asking if it's possible to root only to being able to restore titanium apps, then remove root and then somehow restore default boot img and re lock bootloader.
Click to expand...
Click to collapse
I think you will mess the storage due to encription....

how to keep data while unlocking bootloader

hi, i wanted to unlocked the bootloder of my note 8,
is there any way to retain data and unlock bootloader?
or create a image of /data to restore later?
i just need my data to survive any how.
Not really, you need good backups.
AFAIK you need a custom recovery, meaning an unlocked bootloader, to create a full partition backup, there are people claiming you can make a partial backup through adb but I've never tried it.
Just back as much of your data as you can to google and make a local backup file from settings and every app that has that option and hope you won't loose much.
vinay said:
hi, i wanted to unlocked the bootloder of my note 8,
is there any way to retain data and unlock bootloader?
or create a image of /data to restore later?
i just need my data to survive any how.
Click to expand...
Click to collapse
Simple answer: NO.
Bootloader is locked for security purpose. When you unlock it you get a back door(kind of). Which gives you access to data and other stuffs. That is why backing up data before unlocking bootloader is not possible.
But you can backup photos, videos, whatsapp chat things like these.

How do I backup LITERALLY EVERYTHING?

so, I want to unlock bootloader but that will erase all my data, I haven't found a good way to backup the whole phone (all settings, all files, all photos, etc...), MIUI's built in backup doesn't do ****.
thanks in advance
Rooting is the only way.
VD171 said:
Rooting is the only way.
Click to expand...
Click to collapse
I want to backup before rooting I just have to lose my data?
XDAC1234 said:
I want to backup before rooting I just have to lose my data?
Click to expand...
Click to collapse
Not exactly.
You lose data if you unlock/relock bootloader.
But the device has already unlocked bootloader, you can already root it without losing data.
If the device is not rooted, so you can backup non-root things only.

Categories

Resources