Restore Backup from PC - General Questions and Answers

I have a backup file of my device p20 lite from PC this backup size is 15gb and i don't have memory card or USB Flash Drive i want to restore it using pc. I've TWRP installed on my device is there any way to restore from pc?

haidermiz said:
I have a backup file of my device p20 lite from PC this backup size is 15gb and i don't have memory card or USB Flash Drive i want to restore it using pc. I've TWRP installed on my device is there any way to restore from pc?
Click to expand...
Click to collapse
What tool was used to create the backup? If you used TWRP, you should be able to boot into TWRP then use adb shell commands, but you probably won't be able to restore the entire backup in one shot, you'll probably have to use shell commands to restore each partition individually. Your commands must be specifically correct or you'll brick your device.
It would be MUCH, MUCH, MUCH simpler if you just used an external sdcard or flash drive.
Sent from my LGL84VL using Tapatalk

Related

Full Android backup to PC possible?

Hello I wonder if making a full phone backup to PC's hard drive would be possible...I mean something similar to Acronis trueimage of Windows partition...but do this on phone with exclusion of the main firmware. Because of no SDcard slot I need store everything to connected PC HDD...
Looked at TitaniumBackup which probably is close to what I need but I'm afraid it lacks support for storing to networked location. Any working solution is highly appreciated
bflmpsvz said:
Hello I wonder if making a full phone backup to PC's hard drive would be possible...I mean something similar to Acronis trueimage of Windows partition...but do this on phone with exclusion of the main firmware. Because of no SDcard slot I need store everything to connected PC HDD...
Looked at TitaniumBackup which probably is close to what I need but I'm afraid it lacks support for storing to networked location. Any working solution is highly appreciated
Click to expand...
Click to collapse
Take backup using Cwm and u can reflash it using ir phone again.
Sent from my GT-I9103 using xda premium
You need to root (gain root/superuser access) your device and install a custom recovery. Clockwork Mod is one of the (CWM), TWRP is another (having used both, I prefer TWRP - but you can try either/both yourself). You can then copy or cut the backed-up files from the recovery's folder to your computer.
Thanks, probably give it a try if anything else fails. Would it be possible to mount a windows shared drive to phone's internal filesystem? So that TB could access it as internal folder...
use nandroid backup (cwm)
you must root your device
backup cwm will get what you want
or you can try this GO Backup Pro 2.9
http://www.1mobile.com/go-backup-pro-550518.html
Thanks for your suggestion
LEON_HEART said:
backup cwm will get what you want
or you can try this GO Backup Pro 2.9
Click to expand...
Click to collapse
Thanks for the advices. I finally managed to install CWM
CWM's backup = Nandroid?
This works for SDcard, however the condition to backup directly to my PC's hard drive is not met
Remember I suffer with lack of space on builtin SDcard so I need to exclude it from backup process at all even as temporary location.
One more question about CWM, where can I find the latest version? I have 6.0.1.2.
bflmpsvz said:
Thanks for the advices. I finally managed to install CWM
CWM's backup = Nandroid?
This works for SDcard, however the condition to backup directly to my PC's hard drive is not met
Remember I suffer with lack of space on builtin SDcard so I need to exclude it from backup process at all even as temporary location.
One more question about CWM, where can I find the latest version? I have 6.0.1.2.
Click to expand...
Click to collapse
Yeah, you need to be able to access files in the phone not on sd card, the phone has a seperate memory he wants to access, I think he is asking how to put the phone (everything) onto PC.... im not sure how to do this myself but I will look into it for you, I believe you can access that info but im not sure where the files you want are.
The backup is saved into /sdcard/clockworkmod/blob/ but the problem I have with it is that used soace in internal memory is over 1.5GB while free space on Sdcard is usually several 100s MB...
Sent from LT22i using Tapatalk 2

Easiest way to switch to RMA device using TWRP

I'm having trouble copying the nandroid backup from the old device to the new one - is there a trick.
So far I've:
Fastboot oem unlocked new device
Fastboot flashed same version (latest) of TWRP on new device
Copied TWRP backup to my computer
Tried to copy TWRP to new device via MTP in TWRP, but getting write errors. Also, TWRP can't seem to mount the /cache partition and wiping doesn't work.
Would appreciate some help.
Thanks,
Ryan
Update: here's what worked after-all
-Old device: nandroid from TWRP, copy all sd card contents to PC with USB 3 and check that they all made it over okay (usb 2 had more failures, but even with 3 it just stopped copying sometimes)
-New device here forward: For some reason I had to flash the factory image from Google to the RMA device - in addition to it removing the errors I was having, it made me not have to wait for the OTA updates to install.
-Fastboot oem unlock then fastboot flash TWRP recovery
-Nandroid from TWRP to create new folder in SD card with appropriate serial number
-Copy sd contents from pc to new device
-From PC in SD card, in TWRP folder, move the backup from the old device serial number folder to the new device serial number folder (if you skip this step, the nandroid won't show up)
-Restore backup from TWRP
Enjoy
ryanwalexander said:
I'm having trouble copying the nandroid backup from the old device to the new one - is there a trick.
So far I've:
Fastboot oem unlocked new device
Fastboot flashed same version (latest) of TWRP on new device
Copied TWRP backup to my computer
Tried to copy TWRP to new device via MTP in TWRP, but getting write errors. Also, TWRP can't seem to mount the /cache partition and wiping doesn't work.
Would appreciate some help.
Thanks,
Ryan
Click to expand...
Click to collapse
I achieved this using these steps:
fastboot oem unlock
fastboot flash recovery
fastboot bootloader
boot to recovery
create nandroid backup
reboot device
transfer contents of original phone via pc to new phone, making sure to put previous TWRP backips in the new TWRP backup folder
do NOT transfer any EFS backups
reboot to recovery
restore TWRP backup from previous device
I reflashed the factory image and was then able to copy over the TWRP backup to the appropriate location on the SD card, however the backup isn't showing up in TWRP to restore from.
Thanks - I'll try to copy all the contents over. I never check EFS in the backups, but thanks for the reminder. Would that pooch my phone?
justbabu said:
I achieved this using these steps:
fastboot oem unlock
fastboot flash recovery
fastboot bootloader
boot to recovery
create nandroid backup
reboot device
transfer contents of original phone via pc to new phone, making sure to put previous TWRP backips in the new TWRP backup folder
do NOT transfer any EFS backups
reboot to recovery
restore TWRP backup from previous device
Click to expand...
Click to collapse
Yes. Efs is tied to a specific imei
I'm still copying the contents of the phone over via Windows but it seems to stop (with no error) before it can do it all. Is there a trick or is this a problem with MTP or something?
justbabu said:
I achieved this using these steps:
fastboot oem unlock
fastboot flash recovery
fastboot bootloader
boot to recovery
create nandroid backup
reboot device
transfer contents of original phone via pc to new phone, making sure to put previous TWRP backips in the new TWRP backup folder
do NOT transfer any EFS backups
reboot to recovery
restore TWRP backup from previous device
Click to expand...
Click to collapse
ryanwalexander said:
I'm still copying the contents of the phone over via Windows but it seems to stop (with no error) before it can do it all. Is there a trick or is this a problem with MTP or something?
Click to expand...
Click to collapse
I found transferring via USB 3 would work far better than USB 2. I had in the past experienced Windows just stopping with USB 2.
Thanks. I'll give that a shot. I remember it transferring fine before - Now that I think about it, I'm pretty sure I was using USB 3 for that.
I'm still having trouble getting the backup from the old device to show up in TWRP. I even made a test backup with the new device to make sure it was going in the right folder.
justbabu said:
I found transferring via USB 3 would work far better than USB 2. I had in the past experienced Windows just stopping with USB 2.
Click to expand...
Click to collapse
ryanwalexander said:
Thanks. I'll give that a shot. I remember it transferring fine before - Now that I think about it, I'm pretty sure I was using USB 3 for that.
I'm still having trouble getting the backup from the old device to show up in TWRP. I even made a test backup with the new device to make sure it was going in the right folder.
Click to expand...
Click to collapse
Good luck. Just remember that TWRP will only look for backups in the folder it creates. It will be different on the new device.
justbabu said:
Good luck. Just remember that TWRP will only look for backups in the folder it creates. It will be different on the new device.
Click to expand...
Click to collapse
In other words, when you take a backup, TWRP creates /sdcard/TWRP/BACKUPS/<your serial number>
You may have to initiate a backup on the new device first to create the <your serial number> folder. That's no bad thing anyway. Always good to have a full backup of your new device including efs just in case.
Then, copy the backup from the <your serial number> folder to <your serial number> on your new phone AMD you should be good.
Everything worked out... For other readers trying to do the same thing here's the summary:
-Old device: nandroid from TWRP, copy all sd card contents to PC with USB 3 and check that they all made it over okay (usb 2 had more failures, but even with 3 it just stopped copying sometimes)
-New device here forward: For some reason I had to flash the factory image from Google to the RMA device - in addition to it removing the errors I was having, it made me not have to wait for the OTA updates to install.
-Fastboot oem unlock then fastboot flash TWRP recovery
-Nandroid from TWRP to create new folder in SD card with appropriate serial number
-Copy sd contents from pc to new device
-From PC in SD card, in TWRP folder, move the backup from the old device serial number folder to the new device serial number folder (if you skip this step, the nandroid won't show up)
-Restore backup from TWRP
Enjoy

Is there any way to copy my phone data in pc in fastboot mode?

My yureka is restarting again and again and i have lots of data in my phone memory. so guys it there any option to get my data form internal storage in recovery or fastboot mode?
In the recovery you can do a nandroid backup. But it will backup to your phone. If you phone supports it, and you have a recovery that supports it, you can backup your phone to a USB flash drive. I know my phone and TWRP can do it. Via fastboot you can also flash a custom recovery of you need to. And if your phone has a micro SD card slot, you could back it up to there via a compatible recovery. OTG cables a fairly cheap BTW many on eBay and amazon.
Have a nice day, sent from my HTC One M8
Boot into the recovery, make a nandroid backup, connect the phone to the pc, then adb pull the backup files and then you can use an application to extract the data
2) you can directly backup from adb
3) you can adb pull the directories that u know have the data that you need
Thank me if i helped.. ?

How to make a restore point on android?

Hi everyone. I guess this question, may be can be easy for many of you, or I don't know if is already posted , but please guide me.
I want to perform on android something like to a restore point on windows; I mean, that if I corrupt system or perform a hard reset after that restore point (or backup), I can restore everything (apps and customizations, and i hope, existing root access) exactly to when I did restore point.
I ask you this, because I think my device needs a factory reset to test something, but no matter the result of the test, I would need to waste hours and hours, by restoring everything to how it was before hard reset; so, if there's a tool that could save me those hours, wil be excellent.
So, thanks in advance, and please guide me.
for this you would need root. by stock, android cannot make a backup of your apps and settings. more exactly a twrp backup
Fytdyh said:
for this you would need root. by stock, android cannot make a backup of your apps and settings. more exactly a twrp backup
Click to expand...
Click to collapse
Ok, I have twrp installed. ¿How I perform and then restore that "restore point"? ¿Is the backup made by twrp very big? I mean, ¿Do I need how much sd card free space to perform a successfully backup?
Only to have mentioned it:
If phone's Android is rooted and USB-Debugging is successfully enabled on it then you can perform a NANDROID backup ( a really full backup ) by means of ADB using Android's dd system command what allows you to store the backup on desktop computer.
xXx yYy said:
Only to have mentioned it:
If phone's Android is rooted and USB-Debugging is successfully enabled on it then you can perform a NANDROID backup ( a really full backup ) by means of ADB using Android's dd system command what allows you to store the backup on desktop computer.
Click to expand...
Click to collapse
But there is a little problem: My usb support (mtp, adb and otg) is not working at all, so i guess my only possible option, is dump the restore point to the sdcard ¿or is there any other option?
Using TWRP to NANDROID backup the phone you can define the storage space where the backup sholuld go to: Internal Storage ( AKA /sdcard) , external Storage ( Memory Card ) or a Pen Drive via OTG cable. If you proceed with the latter 2, make sure to first mount it onto your device via the TWRP Mount option.
In your case backing up to Internal Storage doesn't make sense at all because you can't additionally save it to PC, too, due to lacking ADB support, IMO.
See also here: https://twrp.me/faq/backupexclusions.html

Clone a phone?

Hello,
i wonder if it's possible to clone everything from Android phone A to phone B with TWRP.
Meaning saving the (encrypted) data partition and the others on SD via TWRP, put that SD into another (identical) phone and restore.
Regards,
DocMAX
DocMAX said:
Hello,
i wonder if it's possible to clone everything from Android phone A to phone B with TWRP.
Meaning saving the (encrypted) data partition and the others on SD via TWRP, put that SD into another (identical) phone and restore.
Regards,
DocMAX
Click to expand...
Click to collapse
Typicaly, if the two devices are identical, you can backup one and restore on the other, but, I'm not certain whether encrypted data would restore correctly.
If Android on device A and device B is rooted then you can create a NANDroid backup of A and restore it to B utilizing Android's dd shell command.

Categories

Resources