Is there any way to copy my phone data in pc in fastboot mode? - General Questions and Answers

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.. ?

Related

Full Image Backup

What software can be used to do a full image backup? And would you be able to run the backup if the device does not boot? Can you write to the internal storage from antoher connected device?
thebrenda said:
What software can be used to do a full image backup? And would you be able to run the backup if the device does not boot? Can you write to the internal storage from antoher connected device?
Click to expand...
Click to collapse
If you unlock and root your Xoom you will install a custom ClockworkMod recovery (two custom versions available for the Xoom made by developers here in the xda Xoom forum) and with that you will be able to make a nandroid backup of your system image, to either the external micro sdcard (solarnz v3.2.0.0 R4c Recovery) or to a choice of media, I think (Rogue Recovery using v4.).
You would be able to restore from your saved nandroid by booting into the recovery menu (volume up + power to get to the red dual core logo, wait 3 seconds, then volume down, and then volume up and into your recovery menu).
The PC sees the Xoom as an MTP device. It doesn't act as a mass storage device (at this time) so while there are ways get info into it, it's not the same as actually writing to the internal storage.
is there any commercially available backup software?
thebrenda said:
is there any commercially available backup software?
Click to expand...
Click to collapse
No only the free recoveries. You can also just download the images from my sticky, its stock images from Motorola.
i want to install apps and customize my tablet. then take a back.
i run nightly backup on my home system and monthly on my phone. they have saved my ass a couple of times. open software, click restore, go watch TV, and I am back.
thebrenda said:
i want to install apps and customize my tablet. then take a back.
i run nightly backup on my home system and monthly on my phone. they have saved my ass a couple of times. open software, click restore, go watch TV, and I am back.
Click to expand...
Click to collapse
To back up apps and data, whatever you choose you can use Titanium Backup on the schedule of your choice. For backing up system image its a nandroid tthru CWM. As a programmer you might figure out a way to schedule auto backups...
okantomi said:
If you unlock and root your Xoom you will install a custom ClockworkMod recovery (two custom versions available for the Xoom made by developers here in the xda Xoom forum) and with that you will be able to make a nandroid backup of your system image, to either the external micro sdcard (solarnz v3.2.0.0 R4c Recovery) or to a choice of media, I think (Rogue Recovery using v4.).
You would be able to restore from your saved nandroid by booting into the recovery menu (volume up + power to get to the red dual core logo, wait 3 seconds, then volume down, and then volume up and into your recovery menu).
The PC sees the Xoom as an MTP device. It doesn't act as a mass storage device (at this time) so while there are ways get info into it, it's not the same as actually writing to the internal storage.
Click to expand...
Click to collapse
Using the method mentioned above I use the rogue recovery to make the nandroid back up and if you have a microsd you can tell the recovery to save the backup to the sdcard for external backups.
Sent from my Xoom using xda premium
thebrenda said:
i want to install apps and customize my tablet. then take a back.
i run nightly backup on my home system and monthly on my phone. they have saved my ass a couple of times. open software, click restore, go watch TV, and I am back.
Click to expand...
Click to collapse
This is what recovery backups are. You setup, run a nand backup. When something goes wrong, boot into recovery, restore, watch TV, reboot.
Sent from my Nexus S 4G

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

Bootloop due to a mistake

I have run into a problem, I was trying to install CM12 and besides factory reset I did format data in TWRP and and now internal memory was formated. I am not able to see any zip files of nandroid backup now. I had copied the nandroid backup to pc but phone's storage is neither shown in PC. What to do now.
If you can still boot in twrp use the adb sideload. Just seaech on youtube how to copy files by that.

cwm backup is empty

hello guys,
i have a problem with restoring my nandroid backup.
so the digitzer of my s3 mini is broken and does not work partially. e.g. i cant enter my pin to unlock screen lock and i cant use twrp. so i used cwm (i guess it was 6.0.2.8.) to backup everything to my ext sd card. i dont know exactly if the backup was successfull but i cant remember any error messages and my backup is about 3,5gb big and there r following files:
boot.img
cache.ext4.tar
cache.ext4.tar.a
data.ext4.tar
data.ext4.tar.a
data.ext4.tar.b
data.ext4.tar.c
data.ext4.tar.d
nandroid.md5
recovery.img
system.ext4.tar
system.ext4.tar.a
now i wanted to restore only data on a new device: moto g peregrine via cwm. i installed cm12.1 on my moto, the backup comes from cm12.1 too.
error: md5 checksum mismatch -> i cutted nandroid.md5 and created an empty file named nandroid.md5 and copied it into the backup folder. then cwm restored. well... it says it was restored. but when i start android no data is restored.
so i tried to restore it via tatanium backup. this app finds my backup, but only system apps r listed. no user apps. (i just tried it again, no apps at all)
then i tried to open/browse the tar archives with a shell extension in windows. they are empty.
then i wanted to extract them with appextractor but it doesnt find a backup to extract.
then i tried nandroid manager. it finds the backup, it says, its 3,44gb big. when i browse the data.ext4.tar its empty. then i click on restore nandroid backup. it boots into recovery but then it says:
sd card marker not found
.....
E: unknown volume for path [/mnt/sdcard1/clockworkmod/backup/2012-01-01.00.00.35]
cant mount backup path
im using cwm 6.0.4.8
so can sum1 plz help how to restore it? or is it broken? is everything gone?
and another question: twrp has adb sideload-support. i could make a twrp backup via the openrecovery adb script but my internal storage has not enough space. if i could tell twrp to backup on the ext sd card perhaps it works
greetz
daemonicvs said:
hello guys,
i have a problem with restoring my nandroid backup.
so the digitzer of my s3 mini is broken and does not work partially. e.g. i cant enter my pin to unlock screen lock and i cant use twrp. so i used cwm (i guess it was 6.0.2.8.) to backup everything to my ext sd card. i dont know exactly if the backup was successfull but i cant remember any error messages and my backup is about 3,5gb big and there r following files:
boot.img
cache.ext4.tar
cache.ext4.tar.a
data.ext4.tar
data.ext4.tar.a
data.ext4.tar.b
data.ext4.tar.c
data.ext4.tar.d
nandroid.md5
recovery.img
system.ext4.tar
system.ext4.tar.a
now i wanted to restore only data on a new device: moto g peregrine via cwm. i installed cm12.1 on my moto, the backup comes from cm12.1 too.
error: md5 checksum mismatch -> i cutted nandroid.md5 and created an empty file named nandroid.md5 and copied it into the backup folder. then cwm restored. well... it says it was restored. but when i start android no data is restored.
so i tried to restore it via tatanium backup. this app finds my backup, but only system apps r listed. no user apps. (i just tried it again, no apps at all)
then i tried to open/browse the tar archives with a shell extension in windows. they are empty.
then i wanted to extract them with appextractor but it doesnt find a backup to extract.
then i tried nandroid manager. it finds the backup, it says, its 3,44gb big. when i browse the data.ext4.tar its empty. then i click on restore nandroid backup. it boots into recovery but then it says:
sd card marker not found
.....
E: unknown volume for path [/mnt/sdcard1/clockworkmod/backup/2012-01-01.00.00.35]
cant mount backup path
im using cwm 6.0.4.8
so can sum1 plz help how to restore it? or is it broken? is everything gone?
and another question: twrp has adb sideload-support. i could make a twrp backup via the openrecovery adb script but my internal storage has not enough space. if i could tell twrp to backup on the ext sd card perhaps it works
greetz
Click to expand...
Click to collapse
You can connect a USB mouse and keyboard to navigate and select whatever you need to select or do in CWM or TWRP, it will work with either recovery.
As for transferring user installed apps and their data, you can try backing them up to your google account and then restoring them from google on the new device. Or use the USB mouse/keyboard along with ES File Explorer to go to your /data/app folder and create copies of your installed apps, the backups will be in your backup/app folder on internal, copy them to PC then go your Android folder on the device and copy the app data for those apps to PC, then transfer the app copies to the internal on the new device and install them or use adb to sideload each of those apk files to the new device, then transfer the copied app data for those apps to the Android folder on the new device, then boot to recovery and wipe only cache, do not factory reset in recovery then reboot.
I DO NOT GIVE HELP IN PM, KEEP IT IN THE THREADS WHERE EVERYONE CAN SHARE
hi,
You can connect a USB mouse and keyboard to navigate and select whatever you need to select or do in CWM or TWRP, it will work with either recovery.
Click to expand...
Click to collapse
but for this i need a special otg adapter cause the s3 mini doesnt support otg originally. and dont i need to install an app or something on my device and confirm a message on my screen? like u wanna do an adb backup. havent tried it yet. i will do i i guess.
As for transferring user installed apps and their data, you can try backing them up to your google account and then restoring them from google on the new device. Or use the USB mouse/keyboard along with ES File Explorer to go to your /data/app folder and create copies of your installed apps, the backups will be in your backup/app folder on internal, copy them to PC then go your Android folder on the device and copy the app data for those apps to PC, then transfer the app copies to the internal on the new device and install them or use adb to sideload each of those apk files to the new device, then transfer the copied app data for those apps to the Android folder on the new device, then boot to recovery and wipe only cache, do not factory reset in recovery then reboot.
Click to expand...
Click to collapse
this presumes that i can unlock my lockscreen. doesnt it?
i will try to backup my data with cwm again. perhaps the backup is corrupted. and i will try to do an adb backup and control the phone via keyboard and mouse if i can unlock the screen and/or confirm a popup message.
can anyone say if i can make a twrp backup to my ext sd oder pc via adb shell? i know the command "twrp backup <options> <foldername>" but can i change the path where the backup will be stored?
thx for your reply
daemonicvs said:
hi,
but for this i need a special otg adapter cause the s3 mini doesnt support otg originally. and dont i need to install an app or something on my device and confirm a message on my screen? like u wanna do an adb backup. havent tried it yet. i will do i i guess.
this presumes that i can unlock my lockscreen. doesnt it?
i will try to backup my data with cwm again. perhaps the backup is corrupted. and i will try to do an adb backup and control the phone via keyboard and mouse if i can unlock the screen and/or confirm a popup message.
can anyone say if i can make a twrp backup to my ext sd oder pc via adb shell? i know the command "twrp backup " but can i change the path where the backup will be stored?
thx for your reply
Click to expand...
Click to collapse
You can use adb to remove lockscreen. There's a couple different ways using adb, research them.
As for OTG capability, you can try adb side loading an app called Stickmount by Chainfire if you can find a way to enable it after installing it.
Sent from my SCH-I535 using Tapatalk
ok thx.
i wanna use the openrecovery script with "adb shell twrp backup DO" but it says not enough space. so i want to store the backup on my ext sd. but how can i change the backup location to my ext sd? i only can specify a foldername within the backup path. but noch path :/
like here
http://www.pocketables.com/2014/10/using-twrps-new-adb-interface.html
hope sum1 can help me

Restore Backup from PC

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

Categories

Resources