How do I push a cwm backup to my device - Nexus 5 Q&A, Help & Troubleshooting

So did a factory reset on my nexus then reinstalled 4.4.2 then cwm then root. Now I want to copy my old cwm backup that is on my computer to my phone.... how would I do this?

rans0m00 said:
So did a factory reset on my nexus then reinstalled 4.4.2 then cwm then root. Now I want to copy my old cwm backup that is on my computer to my phone.... how would I do this?
Click to expand...
Click to collapse
Connect your phone to your pc using the usb cable and drag and drop it

jd1639 said:
Connect your phone to your pc using the usb cable and drag and drop it
Click to expand...
Click to collapse
Negative. The folder where CWM keeps the backups is not accessible like that.

rans0m00 said:
Negative. The folder where CWM keeps the backups is not accessible like that.
Click to expand...
Click to collapse
It should be.
---------- Post added at 06:31 PM ---------- Previous post was at 06:18 PM ----------
jd1639 said:
It should be.
Click to expand...
Click to collapse
Try this from a cmd window
adb push your file /sdcard/clockworkmod/backup

jd1639 said:
It should be.
---------- Post added at 06:31 PM ---------- Previous post was at 06:18 PM ----------
Try this from a cmd window
adb push your file /sdcard/clockworkmod/backup
Click to expand...
Click to collapse
pretty sure it should be something closer to /mnt/shell/emulated/clockworkmod/backup
about to try this in a sec... just surprised there is not an easier way to get it on there since it was so easy to get it off

And pushing them to that location works.

rans0m00 said:
And pushing them to that location works.
Click to expand...
Click to collapse
Which location?

jd1639 said:
Which location?
Click to expand...
Click to collapse
/mnt/shell/emulated/clockworkmod/backup

rans0m00 said:
/mnt/shell/emulated/clockworkmod/backup
Click to expand...
Click to collapse
Thanks

You could just use airdroid and transfer it wirelessly. I had a problem on my old phone where cwm backups will generate corrupted md5 sums if I used a USB cable. Airdroid fixed that issue for me.
Sent from my Nexus 5 using xda premium

Can't access that location with airdroid as far as I know. It's a root location that is hidden.
Sent from my Nexus 5 using Tapatalk

rans0m00 said:
Negative. The folder where CWM keeps the backups is not accessible like that.
Click to expand...
Click to collapse
What difference does that make? He has the backup on his computer, he just wants to know how to push it back to his device. Does CWM not let you browse for the backup files when you restore? If so, then that's all the more reason to switch to TWRP.

So use airdroid to move it to SD card. Then use root explorer or some other file explorer with root permissions to move it where you need to be. BTW ..my twrp backups are stored on my SD card.
Sent from my Nexus 5 using xda premium

After this experience with cwm I am trying out twrp. Too much hassle.
Sent from my Nexus 5 using Tapatalk

Cwm still doesnt use /data/media/0 for sdcard. It uses /data/media which is a 4.1 location.
I explain it all in my thread here
http://forum.xda-developers.com/showthread.php?t=2534010
[ info] Storage: Nexus 5 Data (info / loss / recovery / prevention)
You can adb push to data media but its a ball ache. This is one if the reasons I like philz recovery. Its cwm based but implementing all the missing features and fixes that cwm should have.
-----------------------
Sent via tapatalk.
I do NOT reply to support queries over PM. Please keep support queries to the Q&A section, so that others may benefit

Had some issue time ago, find two way, both with CWM
Renamed the .zip in .jpg (i know it's not safe but it works)
Then plug phone and moved file from PC to sdcard/DCIM then with root explorer or other file manager rename in .zip, moved to /sdcard, reboot to recovery and choose install zip from /sdcard from CWM recovery
Other was similar but used airdroid to send file to /sdcard
Never got an issue with both of this method
sparato dritto dritto sul web dal mio N5
shoot right on the web from my N5

rootSU said:
Cwm still doesnt use /data/media/0 for sdcard. It uses /data/media which is a 4.1 location.
I explain it all in my thread here
http://forum.xda-developers.com/showthread.php?t=2534010
[ info] Storage: Nexus 5 Data (info / loss / recovery / prevention)
Click to expand...
Click to collapse
rootSU, I'm not sure how I missed seeing that thread before, but thanks. I've marked it for future reference because I know at some point, it's going to come in handy. btw, another vote for Philz here.

adrman said:
rootSU, I'm not sure how I missed seeing that thread before, but thanks. I've marked it for future reference because I know at some point, it's going to come in handy. btw, another vote for Philz here.
Click to expand...
Click to collapse
Yeah, its because it's not a sticky. I asked for it to be sticky but at the same time, I asked to have a "sticky roll-up thread" to replace all the stickies and have "sticky worthy" threads linked within it... and with that, the original request got lost

So wondering we have two votes for philz... I have never used it.... Always been twrp or cwm... What makes you guys want to use philz?
Sent from my Nexus 5 using Tapatalk

rans0m00 said:
So wondering we have two votes for philz... I have never used it.... Always been twrp or cwm... What makes you guys want to use philz?
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Its based on cwm so doesn't have the bugs and quirks (compatability issues etc) that twrp has but has all the functions twrp has and more...
Its a no brainer for me
-----------------------
Sent via tapatalk.
I do NOT reply to support queries over PM. Please keep support queries to the Q&A section, so that others may benefit

Related

Unofficial Guide To Installing K-exec and CM9 & CM10

Unofficial K-EXEC & CM9\10 Guide
cm9 Required Files / Downloads
CM9 ROM: http://goo.im/devs/BeansTown106/SGS3vzw/cm9/cm-9-20120719-UNOFFICIAL-d2vzw.zip
K-Exec Clockwork Mod: http://goo.im/devs/BeansTown106/SGS3vzw/cm9/d2vzw_recovery.img
ICS Gapps: http://goo.im/gapps/gapps-ics-20120429-signed.zip
cm10 Required Files / Downloads
CM10 Rom: http://goo.im/devs/BeansTown106/SGS3vzw/CM10/cm-10-20120721-UNOFFICIAL-d2vzw.zip
JB Gapps: http://goo.im/devs/BeansTown106/SGS3vzw/CM10/gapps-4.1.1-Kejar31-20120711.zip
K-Exec Clockwork Mod: http://goo.im/devs/BeansTown106/SGS3vzw/cm9/d2vzw_recovery.img
Click to expand...
Click to collapse
Setup Instructions
Step 1.- Transfer the CM9 or Cm10 Rom, ICS or JB Gapps, and d2vzw_recovery.img to the root of you emmc
Step 2.- push the kexec cwm to sdcard and install
Code:
adb push d2vzw_recovery.img /sdcard/
adb shell
su
dd if=/sdcard/d2vzw_recovery.img of=/dev/block/mmcblk0p18 bs=256k
sync
reboot recovery
Step 3.- reboot into recovery
Step 4.- wipe data factory reset
Step 5.- Install cm9 or Cm10 zip
Step 6.- Install ICS or JB Gapps
Step 7.- Profit You Should Be Booting into CM9 or Cm10
Click to expand...
Click to collapse
Credits
I take no credit for this.. its all cvpcs's work and the cyanogenmod team.. **the jb zip was also made by dhacker it is 100% stable i think better than ics ** i was just impatient and merged the data fix before it went live , Build now has kexec intergrated so all u need to do is flash this new recovery and the cm9 zip it will auto Kexec thanks to cvpcs
Click to expand...
Click to collapse
DISCLAIMER
Neither me or team cyanogenmod take any responsibility if u brick your phone doing this, make a backup and read over instructions 2-3x
Click to expand...
Click to collapse
Edit* just wanted to apologize for my previous post! I thought you were posting a guide in the oe development thread...when in reality your posting cm9/10 roms that you helped develop. I would suggest editing the title of the thread to reflect that its rom development and not just a guide. I do appreciate your work!!!
droidstyle said:
Sweet write up....but derp, what on earth made you determine this is original development?
Click to expand...
Click to collapse
This is meant for the newest roms ie: aosp, cm, aokp source builds. no?
I'm giving this a shot. Thank you for the write...I don't think even I scan even screw this up!
I know this is early stage so not a complaint here, just having data drops on 3G. Besides those I am in heaven! lol
Sent from my Galaxy Nexus using Tapatalk 2
So there's data now?
EM2_Rob said:
So there's data now?
Click to expand...
Click to collapse
Yeah I am as well curious, though it seems that if there are drops it would suggest that data is available... I assume this is the build that cvpcs posted about having shaky 4g? (And 3g it seems)
Please pardon the noobish question but is there a way to push these files with terminal emulator? I haven't been able to get ADB to work. I have it and the SDK installed but when i try to push something it says ADB is not a recognized command
Dcox28 said:
Please pardon the noobish question but is there a way to push these files with terminal emulator? I haven't been able to get ADB to work. I have it and the SDK installed but when i try to push something it says ADB is not a recognized command
Click to expand...
Click to collapse
Sure..just skip the first two ADB commands (make sure you have the files on your EMMC/internal storage). Start with the "su" command to get root and follow the rest of the directions.
Hello data is not dropping for me at all. Actually better signal then stock touchwiz. I recommend flashing this and trying.
Sent from my SCH-I535 using Tapatalk 2
papi92 said:
Hello data is not dropping for me at all. Actually better signal then stock touchwiz. I recommend flashing this and trying.
Sent from my SCH-I535 using Tapatalk 2
Click to expand...
Click to collapse
Nice... do you live in a 4g area? My experience has been this device is shaky on 4g, so I might hold out.... but I'm definitely tempted!
Marcismo55 said:
Sure..just skip the first two ADB commands (make sure you have the files on your EMMC/internal storage). Start with the "su" command to get root and follow the rest of the directions.
Click to expand...
Click to collapse
Thank you very much. I am almost scared to ask the next question but when plugging my phone in to the pc i get the window that pops up and lets me go to Card or Phone. Obviously emmc/internal storage would mean for me to copy these files to Phone but I also am rooted and have CWM installed. If I did a nandroid right now before installing CM9, would I be able to restore it if needed after installing the Kexec touch CWM?
Thanks again for all help.
Yeah, I would also like to know what the LTE situation is with this. Not really pressed, though, as it's early in development. Great to see work like this happening.
Any chance for a CM10 build?
edit*
My 4g is solid. I haven't dropped yet.
Sent from my SCH-I535 using Tapatalk 2
papi92 said:
My 4g is solid. I haven't dropped yet.
Sent from my SCH-I535 using Tapatalk 2
Click to expand...
Click to collapse
Whoa, really?! I didn't know CM9 for the S3 now had data! That's awesome, I'm so tempted to try it out now...
---------- Post added at 01:05 PM ---------- Previous post was at 12:49 PM ----------
Double post, but dumb question: What is "emmc"? Is that the folder that opens when you double-click "Phone" on the Card and Phone folder, which opens when you link the phone to a PC? That's where my previous img's were located...
My data shut off after about a half hour. Now I can't get it past No Service and Roaming (No SMS/MMS, Voice, nothing); just a heads up for those who want a preemptive taste of CM9.
Dcox28 said:
Thank you very much. I am almost scared to ask the next question but when plugging my phone in to the pc i get the window that pops up and lets me go to Card or Phone. Obviously emmc/internal storage would mean for me to copy these files to Phone but I also am rooted and have CWM installed. If I did a nandroid right now before installing CM9, would I be able to restore it if needed after installing the Kexec touch CWM?
Thanks again for all help.
Click to expand...
Click to collapse
I still have access to my backups using the included touch recovery so restoring nandroids should be fine.
minmongoblin said:
Whoa, really?! I didn't know CM9 for the S3 now had data! That's awesome, I'm so tempted to try it out now...
---------- Post added at 01:05 PM ---------- Previous post was at 12:49 PM ----------
Double post, but dumb question: What is "emmc"? Is that the folder that opens when you double-click "Phone" on the Card and Phone folder, which opens when you link the phone to a PC? That's where my previous img's were located...
Click to expand...
Click to collapse
The EMMC is the internal storage. Just place the files on the root of your internal storage (not in any folders)
minmongoblin said:
[/COLOR]Double post, but dumb question: What is "emmc"? Is that the folder that opens when you double-click "Phone" on the Card and Phone folder, which opens when you link the phone to a PC? That's where my previous img's were located...
Click to expand...
Click to collapse
https://www.google.com/search?sugex....,cf.osb&fp=3a50ef9c1ec22192&biw=1280&bih=623

Backup raw sector-by-sector image of a partition

I have a non-rooted Galaxy Tab 2 7.0 P3113 that was factory reset, so I'm trying to dump the data partition sector-by-sector to microSD to try to recover data.
Since there is no way to mount the internal memory as a hard drive through USB, it makes the most sense to use an aftermarket recovery which can read the sectors and write them to an image file on the microSD.
But I don't know if CWM or TWRP can do this. Obviously they can back up to microSD, but I've never heard of someone having issues with the 4gb file size limit of FAT32. That means the backups are always smaller than the full size of the internal memory!! Somehow they have a way of distinguishing used space from empty space, but the empty space is exactly what I need to copy in order to recover files.
Which brings me to the next issue-- the size of the partition images. TWRP apparently supports exFAT so that shouldn't be a problem. CWM seems to require some hacks. So does anybody know how to force TWRP to backup ALL sectors of a partition to microSD?
Edit: The DD command would also work but I don't know if it's enabled when you ADB in to a Galaxy in TWRP. I can't just try it because I lost the USB cable.
You can use Android Terminal Emulator on the phone and use the dd command providing you have Busybox installed.
Posted from my Fascinate using XDA Premium
MultipleMonomials said:
You can use Android Terminal Emulator on the phone and use the dd command providing you have Busybox installed.
Posted from my Fascinate using XDA Premium
Click to expand...
Click to collapse
The problem is that requires rooting and downloading/installing a big app, which will overwrite a bunch of data... Right? Unless you can keep the files confined to the system partition I guess.
Just found out that TWRP can split up the backup so it can even use a FAT32 microSD. Pretty cool.
I just wish I could find out if it backs up the "empty" sectors. I emailed Team Win and they didn't reply.
I imagine that you could write a CWM zip that would copy the terminal emulator apk to the /system partition, but if I were you I would just shell out for a stock USB cord to use with ADB shell. You can find them online cheaply, and if you plan on doing any sort of rooting/customizing, you'll need one.
Posted from my Fascinate using XDA Premium
MultipleMonomials said:
I imagine that you could write a CWM zip that would copy the terminal emulator apk to the /system partition, but if I were you I would just shell out for a stock USB cord to use with ADB shell. You can find them online cheaply, and if you plan on doing any sort of rooting/customizing, you'll need one.
Posted from my Fascinate using XDA Premium
Click to expand...
Click to collapse
Oh I ordered a cord. I just meant I couldn't try it right away.
I tried some ADB shell stuff before I lost the cord and I couldn't even get it to list partitions. They really lock it down I guess. As I understand, you do have ADB access from TWRP, but I don't know if all the commands work or if you have root access.
Edit: It turns out TWRP backs up the boot and system partition as IMG files using the DD command, but all the others are backed up as simple zip files. I guess they decided no one would want to get a raw image of the data partition. Seems strange because extracting files from raw sectors is a common method of recovering files from camera memory cards etc, so why not a tablet/phone?
http://www.icsforums.com/forum/showthread/13239
Try the adb root command.
Posted from my Fascinate using XDA Premium
MultipleMonomials said:
Try the adb root command.
Posted from my Fascinate using XDA Premium
Click to expand...
Click to collapse
That would give root access while you're connected to the Recovery with ADB shell? Just type "root"?
So long as the device is actually rooted... Oh. Darn. I just remembered that the stock ROM has a bug that stops this from working. There's a kernel (flashed with ODIN) that fixes this for p5xxx, but it's not for 3xxx tabs. Maybe that's because they don't have the bug, though. Try it and see, but it may or may not work.
Posted from my Fascinate using XDA Premium
MultipleMonomials said:
So long as the device is actually rooted... Oh. Darn. I just remembered that the stock ROM has a bug that stops this from working. There's a kernel (flashed with ODIN) that fixes this for p5xxx, but it's not for 3xxx tabs. Maybe that's because they don't have the bug, though. Try it and see, but it may or may not work.
Posted from my Fascinate using XDA Premium
Click to expand...
Click to collapse
Well it's not rooted to begin with.
I'd be happy to root IF I can root without writing anything to the data partition. So far that seems to be impossible.
What Android version are you using? I might be able to modify the standard root zip to use the /system partition exclusively.
Posted from my Fascinate using XDA Premium
MultipleMonomials said:
What Android version are you using? I might be able to modify the standard root zip to use the /system partition exclusively.
Posted from my Fascinate using XDA Premium
Click to expand...
Click to collapse
Wow, that's possible? I think that would be useful for a lot of people trying to recover data.
Oh and what about the cache partition? Does the camera app store pictures temporarily there? If so that would be another source to try to recover pics from. Or do apps ever store docs there? Or is it not worth trying to preserve?
I was planning to use CF Auto Root but I asked Chainfire about it and he said that it can format the data partition if it becomes unreadable, so I didn't want to risk it.
Android 4.0.3
Kernel version 3.0.8-378347-user
[email protected] #1
Build number IML74K.P3113UEALD3
Model number GT-P3113
Well I guess this is all moot because I can't even figure out how to flash TWRP for the P3113. I downloaded an the .img file, Odin recognizes my device, and I got it into Download Mode, but I don't know how to set up the img as a tar.md5. You would think whoever made that .img would have provided instructions on flashing it, or just uploaded it as a tar.md5 since that's what you need. That's something that really annoys me about the Android community-- folks assume everybody knows what they're doing.
But the worst is all the threads where people ask how to flash TWRP to a Galaxy Tab 2 7.0 with Odin, and the replies are all "Just use CWM".
I found a download for the TWRP 2.2 for some Galaxy phone but I can't even examine the format of the tar.md5 because the freaking download site requires registration. Even if I duplicated the format, no idea if it would work. http://forum.xda-developers.com/showthread.php?p=30694404
I think all you need to do is rename the file to "recovery. img" and use 7-zip to put it inside a tar archive, then flash the tar with ODIN.
Posted from my Galaxy Tab 2 with CM10.1
MultipleMonomials said:
I think all you need to do is rename the file to "recovery. img" and use 7-zip to put it inside a tar archive, then flash the tar with ODIN.
Posted from my Galaxy Tab 2 with CM10.1
Click to expand...
Click to collapse
Apparently it's not that simple. Somehow you have to integrate an MD5 checksum with Linux console commands http://androidadn.com/2012/09/how-to-convert-img-files-to-tar-md5-to-do-a-flash-with-odin3/
Edit: Better thread http://forum.xda-developers.com/showthread.php?t=1484304
This is the IMG file I'm talking about http://rootzwiki.com/topic/27140-recoverytouchtwrp211galaxy-tab-2-7-and-10662012/
Edit: I do have a Macbook running 10.6 Snow Leopard so I think this might work http://www.macupdate.com/app/mac/14503/gui-tar
Edit: It can create a .tar but I don't know how to turn it into a tar.md5
Also, I was reading about Heimdall. Anybody know if it will work with just the .img file? http://www.thepowerbase.com/2012/04/slay-odin-with-the-mighty-heimdall/
Yeah, if you can get Heimdall running, you should be able to flash TWRP with that.
Posted from my Fascinate using XDA Premium
---------- Post added at 07:01 AM ---------- Previous post was at 06:58 AM ----------
I will warn you, however, that I think that by default TWRP backs up to /sdcard, which is located in /data/media, so make sure to switch that.
Posted from my Fascinate using XDA Premium
MultipleMonomials said:
Yeah, if you can get Heimdall running, you should be able to flash TWRP with that.
Posted from my Fascinate using XDA Premium
---------- Post added at 07:01 AM ---------- Previous post was at 06:58 AM ----------
I will warn you, however, that I think that by default TWRP backs up to /sdcard, which is located in /data/media, so make sure to switch that.
Posted from my Fascinate using XDA Premium
Click to expand...
Click to collapse
There's now a TWRP for the Tab 2 7.0! http://forum.xda-developers.com/showthread.php?p=38809460&posted=1#post38809460
I installed TWRP and now I'm trying to use ADB to see if I have root access. But Windows fails to install drivers for the tablet while in recovery mode
Well I've tried every driver I can find but I can't install the tablet in TWRP Recovery mode. Windows sees it as "GT-P3113"
Wait... Can't I load a rooted system image onto the tablet from Odin? Wouldn't that leave the other partitions unaffected?

[Q] Bootloop, Need Help!

Hi everyone,
Long story short, my device wont boot. Ive got TWRP. I have the backup on my computer, but when i plug my phone in, i cant move the backup to my TWRP Backup directory because there is no way of getting to the internal storage. Im a noob with adb and i have no clue how to use it so can someone help with that. Thanks! :crying:
adb shell
mount /data
exit
adb push c:\users\provickers\desktop\backupfile /data/media/0/whereverTWRPbackupsGO
Sent from my Nexus 5 using Tapatalk
http://forum.xda-developers.com/showthread.php?t=2513701
[TUTORIAL] How to flash a factory image | Return to stock | Unroot/SAVE your Nexus 5
sent from my HAMMERHEAD
CRIME INC. said:
http://forum.xda-developers.com/showthread.php?t=2513701
[TUTORIAL] How to flash a factory image | Return to stock | Unroot/SAVE your Nexus 5
sent from my HAMMERHEAD
Click to expand...
Click to collapse
Not really an option...
rootSU said:
adb shell
mount /data
exit
adb push c:\users\provickers\desktop\backupfile /data/media/0/whereverTWRPbackupsGO
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
that means nothing to me. can you write that in super duper nooby language please
Just read the adb stickie in q&a then
Sent from my Nexus 5 using Tapatalk
rootSU said:
Just read the adb stickie in q&a then
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
I do adb shell
then mount /data
and it says: mounting /dev/block/mmcblk0p28 on /data failed: device or resource busy
Im currently in the home screen of TWRP
Maybe its already mounted by twrp in the mounts menu. If it is, skip that step. If not, mount in that menu
Sent from my Nexus 5 using Tapatalk
rootSU said:
Maybe its already mounted by twrp in the mounts menu. If it is, skip that step. If not, mount in that menu
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
alright thanks alot, hopefully it works!
rootSU said:
Maybe its already mounted by twrp in the mounts menu. If it is, skip that step. If not, mount in that menu
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Can u tell me where the twrp backups directory is? Coz obviously i cant get into my phone
I don't use twrp myself so im not sure where it is. If you use the ls command..... (thats LS in lowercase)
Eg....
ls /data/media/0
That will list all the directories on sdcard. I assume there will be a folder called twrp there. Within there not sure. But you can use ls to keep drilling down.
ls /data/media/0/twrp
I think there's a backup folder with dated folsers within it.
Take a twrp backup now and see....
Sent from my Nexus 5 using Tapatalk
Yes, the path's correct... TWRP makes a backup in /data/media/0/TWRP/3282387328 (random string)...
So, you will need to push the backup folder to /data/media/0/TWRP/... Now it will show up in the restore option.
vin4yak said:
Yes, the path's correct... TWRP makes a backup in /data/media/0/TWRP/3282387328 (random string)...
So, you will need to push the backup folder to /data/media/0/TWRP/... Now it will show up in the restore option.
Click to expand...
Click to collapse
Presuming he has the content of the random string folder, but not the folder itself, can he create a random string folder manually? Or must he take a backup and use that folder?
Sent from my Nexus 5 using Tapatalk
rootSU said:
Presuming he has the content of the random string folder, but not the folder itself, can he create a random string folder manually? Or must he take a backup and use that folder?
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Like you, I've stuck with Philz for a long long time now.. Can't say for sure about twrp. I guess there's no harm in trying to make a folder and check.
However, sometimes while doing that, I faced a md5 mismatch error in twrp. But that's on a HTC One X.. No idea whether twrp has changed this since then.
rootSU said:
I don't use twrp myself so im not sure where it is. If you use the ls command..... (thats LS in lowercase)
Eg....
ls /data/media/0
That will list all the directories on sdcard. I assume there will be a folder called twrp there. Within there not sure. But you can use ls to keep drilling down.
ls /data/media/0/twrp
I think there's a backup folder with dated folsers within it.
Take a twrp backup now and see....
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
I get "Permissions Denied". This is probably why nothing is working! What can i do?
ProVickers said:
Can u tell me where the twrp backups directory is? Coz obviously i cant get into my phone
Click to expand...
Click to collapse
/sdcard/TWRP/BACKUPS/your device serial number
Find the serial number in settings, about phone, status
Sent from my Nexus 5
Can't get to settings without booting phone.
OP can we keep this to one thread please? Its going to get confusing
Sent from my Nexus 5 using Tapatalk
i dont know why people dont do this, maybe they are worried of the little bit of space it takes in their storage, but i ALWAYS, since feb of 2009, keep a copy of my current rom and kernel in my storage. if i ever mess up doing anything, i always have my rom/kernel to flash again. no relying on computers(as im rarely around them). also, i always have one nandroid backup in my storage, just in case. it might not always be the most recent, but its there just in case.
@ProVickers
I'm not 100% sure of this but adb in TWRP doesn't work everywhere... You need to go to Advanced-Sideload.. then swipe right and then fire the adb push command..
rootSU said:
Can't get to settings without booting phone.
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
He can get the serial number from the bootloader, right?
simms22 said:
i dont know why people dont do this, maybe they are worried of the little bit of space it takes in their storage, but i ALWAYS, since feb of 2009, keep a copy of my current rom and kernel in my storage. if i ever mess up doing anything, i always have my rom/kernel to flash again. no relying on computers(as im rarely around them). also, i always have one nandroid backup in my storage, just in case. it might not always be the most recent, but its there just in case.
Click to expand...
Click to collapse
Agreed.
Although i always have my rom, kernel and titanium backup. My nandoids move to my NAS as i don't have the space. However, I never modify anything that may require a restore when I'm away from home
Sent from my Nexus 5 using Tapatalk

[Q] Lost all my data

I need your help, my phone decided to remove all of my files. As far as I know as long as something is not overwritten it's not really ever gone right? Is there any way to restore my lost data? I will do anything!
How did the data get deleted and are you rooted?
Sent from my Nexus 5 using XDA Free mobile app
jd1639 said:
How did the data get deleted and are you rooted?
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
I am rooted. I browsed my phone files through my pc and saw what uneeded files I can remove, I saw a folder named storage but on propeties it only showed 38mb and only had one folder so I didn't even assume it is my storage folder. As well as that I have never ever had my storage folder inside my storage folder when I mounted my phone on my pc.
There's a lot more there than you saw on your pc. I'd chalk it up to a learning experience and start over. I don't think you're going to be able to recover everything
Sent from my Nexus 5 using XDA Free mobile app
[info] Storage: Nexus 5 Data (info / loss / recovery / prevention)
http://forum.xda-developers.com/showthread.php?t=2534010
Sent from my Nexus 5 using Tapatalk
jd1639 said:
There's a lot more there than you saw on your pc. I'd chalk it up to a learning experience and start over. I don't think you're going to be able to recover everything
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
There has to be a way to restore the data, I didn't do anything unusual. My storage folder itself shouldn't appear in the ./ folder when I open the phone through the pc. This can happen to both simple users and expert. I got false information about the contents of this folder which led me to delete it. This is just the media files not /data or /system or anything.
Eden3319 said:
There has to be a way to restore the data, I didn't do anything unusual. My storage folder itself shouldn't appear in the ./ folder when I open the phone through the pc. This can happen to both simple users and expert. I got false information about the contents of this folder which led me to delete it. This is just the media files not /data or /system or anything.
Click to expand...
Click to collapse
Read the post rootSU linked you to. You may be able to recover the data. But it's a very involved process and as rootS said it's not for the faint of heart
Sent from my Nexus 5 using XDA Free mobile app
jd1639 said:
Read the post rootSU linked you to. You may be able to recover the data. But it's a very involved process and as rootS said it's not for the faint of heart
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
I am trying to do this now... wish me luck
rootSU said:
[info] Storage: Nexus 5 Data (info / loss / recovery / prevention)
http://forum.xda-developers.com/showthread.php?t=2534010
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Hey thanks for your help, I have installed all of the programs required and my phone is required in adb. I opened the Cygwin and entered the commands but it just wrote command not found. I also tried to add the destination at the beginning but it did not work either. How do I open adb using cygwin?
If I were you, try disk digger
Sent from my Nexus 5 using Tapatalk
rootSU said:
If I were you, try disk digger
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
disk digger, even pro, while it can restore alot of file types in cannot restore all of them... at least according to the play store page.
True but Its easier. I can't help you with cygwin so you're on your own there.
Sent from my Nexus 5 using Tapatalk
Eden3319 said:
Hey thanks for your help, I have installed all of the programs required and my phone is required in adb. I opened the Cygwin and entered the commands but it just wrote command not found. I also tried to add the destination at the beginning but it did not work either. How do I open adb using cygwin?
Click to expand...
Click to collapse
Do you have busybox instated on your device. Also, make sure you know what partition you want to recover. The one in the example may not be what you want. Google nexus 5 partitions xda.
Sent from my Nexus 5 using XDA Free mobile app
rootSU said:
True but Its easier. I can't help you with cygwin so you're on your own there.
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
You don't know how to operate it? After all you wrote the thread
Eden3319 said:
You don't know how to operate it?
Click to expand...
Click to collapse
I've never lost all my data. It's all backed up. Yeah I can use cygwin, but I can't test it to help because I don't have windows at home.
Eden3319 said:
After all you wrote the thread
Click to expand...
Click to collapse
No I didn't! I only wrote the link I gave you, not the links within that thread.
Sent from my Nexus 5 using Tapatalk
jd1639 said:
Do you have busybox instated on your device. Also, make sure you know what partition you want to recover. The one in the example may not be what you want. Google nexus 5 partitions xda.
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
I managed to work the adb issue out, but I'm returned with a 0 bytes file which is useless for me. I saw that issue on the thread as well but found no solution yet.
Alright I gave up the idea to restore it... although I lost some important files this is just too much work to get it back. What I wanna do now is create a task using Tasker to backup my entire device to my pc through wifi on the night (only changed files everytime). I know how to create the profile, but does anybody know how to create the task?
Eden3319 said:
Alright I gave up the idea to restore it... although I lost some important files this is just too much work to get it back. What I wanna do now is create a task using Tasker to backup my entire device to my pc through wifi on the night (only changed files everytime). I know how to create the profile, but does anybody know how to create the task?
Click to expand...
Click to collapse
yeah, I do this. Firstly I'd recommend foldersync. It's a stand alone app but it also plugs into Tasker. Take a look
I do mention this in the thread I linked you to.
Sent from my Nexus 5 using Tapatalk
rootSU said:
yeah, I do this. Firstly I'd recommend foldersync. It's a stand alone app but it also plugs into Tasker. Take a look
I do mention this in the thread I linked you to.
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Ok, I got it working! Thank you very much for your help!
Eden3319 said:
Ok, I got it working! Thank you very much for your help!
Click to expand...
Click to collapse
No probs!
Enjoy your new syncing

[Q] How to create a backup of the entire phone to restore it later?

Hi, I currently have my nexus 5 in 4.4.4, and I'd like to try Android L, but I want to know if there's a way to create a full backup of my phone, like an image, so I can go back to 4.4.4 with everything as I left it, including apps, contacts, images, and all that, my phone is rooted, so I guess there's a a way, but, would it be possible to restore it if I'm already in Android L? thanks!
saman0suke1 said:
Hi, I currently have my nexus 5 in 4.4.4, and I'd like to try Android L, but I want to know if there's a way to create a full backup of my phone, like an image, so I can go back to 4.4.4 with everything as I left it, including apps, contacts, images, and all that, my phone is rooted, so I guess there's a a way, but, would it be possible to restore it if I'm already in Android L? thanks!
Click to expand...
Click to collapse
Take a nandroid backup then copy your sdcard to your computer
rootSU said:
Take a nandroid backup then copy your sdcard to your computer
Click to expand...
Click to collapse
Is this going to work if I want to use it from Android L to restore it? thanks!
saman0suke1 said:
Is this going to work if I want to use it from Android L to restore it? thanks!
Click to expand...
Click to collapse
Your best bet would be to take a nandroid backup (which will go to sdcard) then connect in recovery and adb pull the entire /sdcard (which is /data/media/0) to your pc. Then whne you want to go back, adb push it back.
Click the link in my signature. In there you'll find a thread about adb and fastboot if you're unsure about adb push and pull commands.
rootSU said:
Your best bet would be to take a nandroid backup (which will go to sdcard) then connect in recovery and adb pull the entire /sdcard (which is /data/media/0) to your pc. Then whne you want to go back, adb push it back.
Click the link in my signature. In there you'll find a thread about adb and fastboot if you're unsure about adb push and pull commands.
Click to expand...
Click to collapse
I'll take a look at it, I appreciate the help, thanks!
No probs.
The good thing about adb is you can push and pull files to your device, even if you cant get into Android.
rootSU said:
No probs.
The good thing about adb is you can push and pull files to your device, even if you cant get into Android.
Click to expand...
Click to collapse
That's great! and I have used adb before, mostly with rooting and development, but not a lot with backups and all that, I'll give it a try, thanks!:good:
U can use cwm too
kanhaiya
Kanhaiya1.kk said:
U can use cwm too
kanhaiya
Click to expand...
Click to collapse
That would be the "nandroid" part of the solution I suggested. This will not backup the sdcard though
Yes u ri8
Bt i suggested an easy way.. & with the help of some apps like titanium backup or my backup he can restore all things..
kanhaiya
Another way you can do is install Gdrivesync and sync your /sdcard partition to your Google Drive account. It won't replace the files on the phone but this will enable you to be able to recover lost downloads. You can set it up to have it automatically sync every x hours and it's nice too because if you accidently want to install the latest update but it wipes your whole phone including any backups, at least you can get your data again and just have to set up your apps.
If by "easy" you mean "incomplete ", you're right
Sent from my Nexus 5 using Tapatalk
rootSU said:
If by "easy" you mean "incomplete ", you're right
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Hey, I was doing some research, but all the tutorials that I find talks about GooManager, CWM or TWRP. I thought there was a way to create the nandroid backup manually, if not, which of these would you recommend? after that I would pull the entire sdcard I guess right? thanks!
saman0suke1 said:
Hey, I was doing some research, but all the tutorials that I find talks about GooManager, CWM or TWRP. I thought there was a way to create the nandroid backup manually, if not, which of these would you recommend? after that I would pull the entire sdcard I guess right? thanks!
Click to expand...
Click to collapse
You can investigate adb backup. Never used it myself so not sure what it includes
http://forum.xda-developers.com/galaxy-nexus/general/guide-phone-backup-unlock-root-t1420351
rootSU said:
If by "easy" you mean "incomplete ", you're right
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
rootSU said:
You can investigate adb backup. Never used it myself so not sure what it includes
http://forum.xda-developers.com/galaxy-nexus/general/guide-phone-backup-unlock-root-t1420351
Click to expand...
Click to collapse
I'll check on that one; just wondering, have you ever used any of those that I mentioned? if so, which one would you recommend? Thanks!
saman0suke1 said:
I'll check on that one; just wondering, have you ever used any of those that I mentioned? if so, which one would you recommend? Thanks!
Click to expand...
Click to collapse
The only thing that has worked consistently for me is to grab what you want off the /sdcard and copy it to a pc. Then a nandroid of the rest of the phone. I've had mixed results with adb backup and backup apps.
Sent from my Nexus 5 using XDA Free mobile app

Categories

Resources