Hello, is it possible to take a full NANDroid backup without first unlocking the bootloader? The reason I want to do it this way is because in order to unlock the bootloader, you first must wipe the device storage, and I'd like to take a backup of all installed programs and their data as well, so that if I want to go back to the original ROM I can do it totally seamlessly. I was trying to do it by first booting into TWRP using fastboot and then take a backup onto a flash drive with an OTG adapter, but without unlocking the bootloader which kinda makes the whole backup a bit useless since it wipes all apps, I get an error in fastboot which says that 'boot is not allowed in Lock State'.
Any other way of doing this?
I'm not so sure, because from what I've known, taking a Nandroid backup only posible in a unlocked bootloader state.
OnePlus Community
Introducing our new OnePlus Community experience, with a completely revamped structure, built from the ground-up.
forums.oneplus.com
Or try this method :
How to fully backup and restore your Android device without root
One of Android’s little-known tricks is its built-in backup and restore process that allows users to save their private data...
9to5google.com
Related
Hi,
I have already unlocked the bootloader and rooted my Nexus S and am very happy with the result. My girlfriend has now seen all of the customization that I can do and is interested in doing the same. The thing that she's really worried about, however, is losing all of her settings, messages and apps, and having to re-install everything manually.
Usually I would just use Titanium Backup or do a NAND backup with clockworkmod, but to use TB effectively, the phone needs to be rooted. She has 2.3.4 on her phone, so (I believe) you can't root it without unlocking the bootloader, and unlocking the bootloader will wipe the phone. You also can't flash clockworkmod without the bootloader being unlocked.
Is there another method that I am unaware of that can reliably and completely restore all apps and settings after the phone is formatted? Or is there a way to root the phone without unlocking the bootloader so that I can install Titanium Backup and back everything up before I unlock it?
Any help is appreciated. Feel free to get as technical as you want.
Ok. The android market does not like to restore or really keep track of our free apps. I use appbrain and it keeps a list of all phones and apps. Yes you have to install one by one. Then there is two apps that back up sms and call log to your sd card. As for settings, your adding a new rom so there will be things different anyways. Plus it will have more of them. Just an idea.
Sent from my Nexus S 4G using XDA App
I'm not 100% sure, but you might be able to flash a custom recovery without unlocking the phone. Then you can
1) perform a nandroid backup
2) mount usb
3) copy your backup to your computer (make a note of the origin folder)
4) root your phone
5) go back into custom recovery
6) mount usb
7) copy your backup back to the right folder
8) restore
Your phone is rooted, and back to it's original state. You can now perform Titanium backup.
I recommend this recovery image:
http://forum.xda-developers.com/showthread.php?t=988686
You will need to use fastboot to flash the recovery image
fastboot flash recovery recovery.img
assuming that you rename whatever recovery image you've downloaded to "recovery.img" and place it in the tools folder of your android-sdk.
bigtoysrock said:
Ok. The android market does not like to restore or really keep track of our free apps. I use appbrain and it keeps a list of all phones and apps. Yes you have to install one by one. Then there is two apps that back up sms and call log to your sd card. As for settings, your adding a new rom so there will be things different anyways. Plus it will have more of them. Just an idea.
Click to expand...
Click to collapse
I know that I can restore the apps from the market, but I'm looking for a way to keep the data. She's not needing a custom ROM. The things that she's wanting to do can be done just with root access, so that's all I'm looking to do. To that end, I'm looking for the easiest way to unlock and root the phone, and then restore all of the apps and settings to exactly how they were.
Also, you mention that there are two apps to back up SMS and call logs, but you don't say what they are.
bedalus said:
I'm not 100% sure, but you might be able to flash a custom recovery without unlocking the phone.
Click to expand...
Click to collapse
Unfortunately you can't flash the recovery without unlocking. I tried to do it before I unlocked my phone, and it denied access to the recovery until I unlocked it. If I could, I would just have done a nandroid backup, unlocked, restored nandroid and then rooted, but I can't get nandroid backups without unlocking =(
Um search the market for sms and call log backup. Same person makes both.
Sent from my Nexus S 4G using XDA App
Hey folks! I completely forgot to unlock my bootloader when I first set up my phone, and now it's all set how I like it. I need to unlock the bootloader, but I don't want to lose all of my data. Do I have any options? BootUnlocker for Nexus Devices looks great, but it's not yet updated for the Nexus 5.
Not possible. Backup your data and then unlock the bootloader.
lukas_s said:
Not possible. Backup your data and then unlock the bootloader.
Click to expand...
Click to collapse
What would be the simplest way to back it up? I don't need a how-to, just the basic info. I know I can't flash custom recovery with a locked bootloader (obviously), but can I boot to TWRP using fastboot, do a backup, get the backup on my computer, unlock, then restore from that backup?
the whole point of the data wipe is to ensure that thieves can't access your data. in that vein, google has made it nigh-on impossible to unlock the bootloader without losing data. your best bet is to use a program like sms backup+ to backup your sms/call-out, and just deal with the app data loss
Sent from my Xoom
So before I unlock,root and install TWRP how can I backup my stock system so I can use it later for OTA needs?
I passed perhaps 2 hours searching for a tutorial for how to backup but all I have found is how to restore a backup and not how to do build one.
Should I use adb for backup? Should I unlock the phone with HTC then flash TWRP to backup the system using TWRP itself??
vegetaleb said:
Should I unlock the phone with HTC then flash TWRP to backup the system using TWRP itself??
Click to expand...
Click to collapse
That's actually the way they recommend in the TWRP thread(s). Obviously unlocking the phone and just installung TWRP doesn't void OTAs. The trouble with OTA starts with rooting the system - at least that's how I understood all I read about it. But I'm not 100% sure, did it that way anyway. Take care to pick the 'image backup' (or similar) in the TWRP backup options. I selected all possible backup 'creations' and have a huge backup now, didn't need it yet though .
Edit: Did you read this: http://forum.xda-developers.com/showpost.php?p=64003115&postcount=2
Beeing new to the A9 myself I found that a valuable source of infos about the abobe.
I'm going to be receiving a Nexus 5 i ordered off eBay soon and of course i want to root it and unlock everything but i'm unsure how i can back everything up just in case. I have only rooted 1 phone before and i didn't back anything up so i have no idea what the process is or what certain things i need to backup. Can anyone tell me each thing i need to backup and how to do it ? Like the bootloader, and rom/img/recovery or whatever its all called.
Unlocking the bootloader will automatically wipe the phone; therefore, unlock the bootloader, flash TWRP, set up the phone, and use TWRP to create a nandroid backup.
Check out the general forum for tutorials about unlocking the bootloader, flashing img files in fastboot, and backups.
there are official Google factory images for that, no need to backup. Only thing i would suggest to backup in twrp is EFS partition. this is unique partition for every single phone, it contains IMEI, and other connectivity stuff Good luck
In the past I've always backed up my complete ROM incl. appdata with twrp. I didn't have to competely setup my device if flashing went wrong and reverted to stock. I had some bad luck flashing roms because the A/B slots are new to me. I now have my bootloader unlocked and everything setup on stock OOS, and made a twrp backup of super, recovery and data.
Before flashing another ROM I just want to make sure I can revert easily to the previous OS without doing a complete setup of app settings and stuff
My question is
Can I wipe/factory reset and then just restore with twrp?
Do I restore when in the active slot where current os is?
Are there any issues with password/encryption when restoring?
Expected scenario;
I'm on stock OOS, wiped and want to restore appdata, settings, homescreen, etc...
I failed to install custom ROM and want to revert to stock OOS without having to redo the entire setup
I did search google and this forum for an answer or guide but couldn't find one (please correct me if I missed a thread)
yusisushi said:
In the past I've always backed up my complete ROM incl. appdata with twrp. I didn't have to competely setup my device if flashing went wrong and reverted to stock. I had some bad luck flashing roms because the A/B slots are new to me. I now have my bootloader unlocked and everything setup on stock OOS, and made a twrp backup of super, recovery and data.
Before flashing another ROM I just want to make sure I can revert easily to the previous OS without doing a complete setup of app settings and stuff
My question is
Can I wipe/factory reset and then just restore with twrp?
Do I restore when in the active slot where current os is?
Are there any issues with password/encryption when restoring?
Expected scenario;
I'm on stock OOS, wiped and want to restore appdata, settings, homescreen, etc...
I failed to install custom ROM and want to revert to stock OOS without having to redo the entire setup
I did search google and this forum for an answer or guide but couldn't find one (please correct me if I missed a thread)
Click to expand...
Click to collapse
Did you read the first 3 posts of https://forum.xda-developers.com/t/...recovery-project-8t-kebab-2022-03-09.4302449/ ?
BillGoss said:
Did you read the first 3 posts of https://forum.xda-developers.com/t/...recovery-project-8t-kebab-2022-03-09.4302449/ ?
Click to expand...
Click to collapse
HI, yes I did
I am still confused because it says before a restore I have to disable screenlock, if my phone is softbricked or has no OS does that count as not having fingerprint/lockscreen enabled?
yusisushi said:
HI, yes I did
I am still confused because it says before a restore I have to disable screenlock, if my phone is softbricked or has no OS does that count as not having fingerprint/lockscreen enabled?
Click to expand...
Click to collapse
When you start TWRP, does it prompt you for a password/pin/pattern?
If Yes, then you have a lock screen password set. And if you can't get into the system to disable it, you'll have to format data (completely wipes all data).
If No, then you're good to go.
BillGoss said:
When you start TWRP, does it prompt you for a password/pin/pattern?
If Yes, then you have a lock screen password set. And if you can't get into the system to disable it, you'll have to format data (completely wipes all data).
If No, then you're good to go.
Click to expand...
Click to collapse
Hi, first of all; thank you for taking time to help me!
I managed to completely wipe the phone including data, and afterwards I restored it by copying the backup (which was now on my computer) and restoring it. SUCCESS! All appdata seems to be there, homescreen, and after second reboot my fingerprint still worked as before.
I just have one more question if you don't mind;
Below partitions I backed up;
Data
Boot
DTBO
Super
However, I'm not able to copy over the "super" partition from my computer to my phone, is this normal? it's almost 8GB and I was convinced I wasn't going to get to the OS without restoring it but apparently I didn't need it (?)
I suppose with the Fastboot Enhance Tool I'll be able to also restore this?
You really only need to backup the "system" partitions (boot, dtbo, super) if you're changing to custom ROMs. If you're always on OOS then you can forget about backing them up.
You should be able to copy the full backup, including super files from your PC to your phone using ADB. I've done that lots of times.
I've never used the tool you referred to. But I do know that you can't use fastboot to flash the super partition - it's too big.
However, if you break it up into chunks (I did it in 512MB chunks) using SparseConverter (https://forum.xda-developers.com/t/tool-sparseconverter-v1-0-1.2749797/) then you can successfully flash it.
Just to confirm, if a ROM bootloops and I don't have access to a computer, there's no way to restore the TWRP backup? Seems like this defeats the point of even making on-device backups (AFAIK encryption can't be disabled for many roms)
tech.central said:
Just to confirm, if a ROM bootloops and I don't have access to a computer, there's no way to restore the TWRP backup? Seems like this defeats the point of even making on-device backups (AFAIK encryption can't be disabled for many roms)
Click to expand...
Click to collapse
If you can enter TWRP (even if your rom bootloops) there is a great chance you can restore backup in TWRP.