[Q] Unlock bootloader without losing data? - Nexus 5 Q&A, Help & Troubleshooting

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

Related

[Q] (i9020a, 2.3.4) Unlock bootloader & Restore apps/system settings

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

[Q] Install new ROM AND keep data?

Hello, long time lurker here. Thinking about finally making the plunge to a custom rom.
I have a lot of apps with my saved data, high scores, etc.
Wondering if it's possible to unlock, root, install custom rom and retain my apps and their data.
Will Titanium Backup do this, or should I suck it up and reinstall everything?
Titanium is perfect for such things. But TB requires root. If you are on the 2.20 firmware, I'm not sure whether the new temp root exploit will allow you to run TB or not. If not, your data will be wiped out when you unlock the bootloader (before permanent root is achieved).
unlock --> root --> backup all apps including app data using tit backup batch mode --> flash custom ROM --> restore apps including app data using tit backup batch restore.. jsut ensure that you are not trying to backup & restore /system apps
redpoint73 said:
Titanium is perfect for such things. But TB requires root. If you are on the 2.20 firmware, I'm not sure whether the new temp root exploit will allow you to run TB or not. If not, your data will be wiped out when you unlock the bootloader (before permanent root is achieved).
Click to expand...
Click to collapse
Telus version, so don't need to exploit, but I know unlocking the bootloader will factory reset my device, trying to see if there's a way to do this before I unlock
kancherlapraneeth said:
unlock --> root --> backup all apps including app data using tit backup batch mode --> flash custom ROM --> restore apps including app data using tit backup batch restore.. jsut ensure that you are not trying to backup & restore /system apps
Click to expand...
Click to collapse
That won't work. Unlocking the bootloader wipes data.
redpoint73 said:
That won't work. Unlocking the bootloader wipes data.
Click to expand...
Click to collapse
thanks for correcting
Oh wait, forgot about this little gem: http://forum.xda-developers.com/showthread.php?t=1671746
Follow that procedure, unlock the bootloader, restore data.
Now the trick is, on your version to get root you need to flash a rooted ROM (if I understand correctly). If you flash a stock rooted ROM, you may be able to do so without wiping data (which is normally recommended). Then you can run Titanium, and backup your app data.
Wiping data (factory reset) is normally advised when flashing ROMs. But if you flash a stock rooted ROM, it might be similar enough that it won't cause any serious bugs. Enough to get Titanium running. Then wipe, and flash a ROM of your choice.
That's just my thought anyway. Not 100% on any of that, since I didn't have to do it this way, personally.
Thanks! That sounds exactly like what I'm looking for.
Does it matter which stock rooted rom I use?
Such as: http://forum.xda-developers.com/showthread.php?t=1920424
So I would unlock, install recovery, install this rom. run titanium backup. install custom rom, restore with titanium backup?
area51avenger said:
Telus version, so don't need to exploit, but I know unlocking the bootloader will factory reset my device, trying to see if there's a way to do this before I unlock
Click to expand...
Click to collapse
I guess not a nandroid data backup. Since it requires twrp or cwm but u can use apps for backup that dont require root. Such as share cloud backup. Backup all apps and transfer them to pc the do what u have 2 do and then use apk manager app to batch install the apk files. But this backs up apps only not data not files.

I'm getting a new phone, how can i backup everything before rooting ?

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

Temporary Root is possible?

I'd like too temporarily root my Pixel,, just to use a data recovery tool, via USB.
Is that possible without erasing my data partition or losing any data at all?
gmsalomao2 said:
I'd like too temporarily root my Pixel,, just to use a data recovery tool, via USB.
Is that possible without erasing my data partition or losing any data at all?
Click to expand...
Click to collapse
You need to unlock your bootloader to get twrp on there in order to flash magisk and root. It's fairly straightforward to do but unlocking your bootloader will erase your data. There is no way round that.
Horgar said:
You need to unlock your bootloader to get twrp on there in order to flash magisk and root. It's fairly straightforward to do but unlocking your bootloader will erase your data. There is no way round that.
Click to expand...
Click to collapse
Thanks, man. Do you know any way of backup that restores everything seamlessly? Like app logins, cache, data, app settings... everything. Even the root and bootloader original state? So it doesn't even look like I erased anything?
gmsalomao2 said:
Thanks, man. Do you know any way of backup that restores everything seamlessly? Like app logins, cache, data, app settings... everything. Even the root and bootloader original state? So it doesn't even look like I erased anything?
Click to expand...
Click to collapse
Yes. You do a nandroid backup using twrp. But obviously it's a chicken and egg thing. You can't make that backup untill you get twrp on your phone. Tbh I don't make nandroid backups anymore, Google does a good job of it now so I don't have the need any more.
But If you want to root, make back up, flash custom ROMs etc, you have to unlock your bootloader. And you cannot unlock your bootloader without wiping data
Why do you need root to run a data recovery tool? What data are you trying to recover? Is there a specific tool you are trying to use, or will you use any means necessary to get your data off the phone? Does the phone boot? If you turn on USB debugging in the settings, you should be able to use ADB to communicate with the phone. That may be all you need.

Taking a full NANDroid backup without unlocking the bootloader

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

Categories

Resources