[QUEST] CWM backup from Nexus 4 to System - Nexus 4 Q&A, Help & Troubleshooting

Hello guys ,
How do i copy the backup created using CWM to my system(laptop) ?
As i understand the latest CWM backups are stored in locations which cannot be accessed by users . Is there any other way it can be achieved ?
Also please do provide the restore procedure for the same.
On nexus 4 running stock kitkat.
CWM version : 6.0.4.3
Any help would be greatly appreciated .

they can be acesses by users, at /data/media/clockworkmod or /sdcard/clockworkmod, u can use root explorer or adb to get them.
₢₢₢₢₢₢₢₢₢₢₢₢₢₢₢₢₢₢₢₢₢₢₢₢₢₢₢₢₢₢₢₢₢₢₢₢₢₢₢₢₢₢₢₢₢₢₢₢₢₢₢₢₢₢₢₢₢₢₢₢₢₢₢₢₢₢₢₢₢₢₢₢₢₢₢₢₢₢₢₢

Just plug your phone to your system(laptop) and look for the biggest by size folder. That should be your cwm backup. Also mind the name. I am not talking about /Android!!! Just copy it somewhere the regular way and then delete it. The restore is simple but you have to have it back on the same place in the phone's memory. The restore process is carried out from the recovery. GL.
Sent from my Nexus 4 using xda app-developers app

Related

[Q] CWM Can't delete backups

I just noticed that if I browse to /sdcard/clockworkmod/backup I cannot delete any of the backups. I I've tried with ADB and Terminal Emulator and ES File Explorer. Same error on all 3. Having the same issue on my brothers N7. Any ideas? Anyone else tried this and not have issues?
Mr. Monkey said:
I just noticed that if I browse to /sdcard/clockworkmod/backup I cannot delete any of the backups. I I've tried with ADB and Terminal Emulator and ES File Explorer. Same error on all 3. Having the same issue on my brothers N7. Any ideas? Anyone else tried this and not have issues?
Click to expand...
Click to collapse
I should mention I have tried fixing permissions. No luck.
You have to boot into recovery and install a zip file to delete them, it's in a thread here ( just use search ) or I can put in in my drop box. Only thing is it deletes all if you have more than one. Hope this helps.
Sent from my Nexus 7 using xda premium
Gigabitex2 said:
You have to boot into recovery and install a zip file to delete them, it's in a thread here ( just use search ) or I can put in in my drop box. Only thing is it deletes all if you have more than one. Hope this helps.
Sent from my Nexus 7 using xda premium
Click to expand...
Click to collapse
Why is it that way? That's weird. I also just tried changing permissions on a /system/app file and also got denied.
Not sure why we can't do it easily like other devices. This is the only way I've found that works. I got the zip file in a thread here somewhere, works well for me! No issues.
Sent from my Nexus 7 using xda premium
---------- Post added at 10:12 PM ---------- Previous post was at 09:49 PM ----------
Here is the thread I got it from http://forum.xda-developers.com/showthread.php?t=1900712 good luck.
Sent from my Nexus 7 using xda premium
try deleting backup from file explorer..i tried ES File Explorer https://play.google.com/store/apps/details?id=com.estrongs.android.pop&hl=en
I recommend to use TeamWin recovery.
CWM stores backups as a collection of blobs. So there is no shingle file that corresponds to a backup. On other devices you can choose to use tar backups, but not on the N7.
I ended up with 2 GB used by blobs when I only had one backup. That's when I switched to TWRP, which does the smartly thing if sitting backups as tar files.
Sent from my Nexus 7
BillGoss said:
CWM stores backups as a collection of blobs. So there is no shingle file that corresponds to a backup. On other devices you can choose to use tar backups, but not on the N7.
I ended up with 2 GB used by blobs when I only had one backup. That's when I switched to TWRP, which does the smartly thing if sitting backups as tar files.
Sent from my Nexus 7
Click to expand...
Click to collapse
Yes, I forgot to mention that I use an older version of cwm that doesn't have the blob issues the newest has. I will likely switch to twrp in time, I like how you can store backups to USB with otg!
Sent from my Nexus 7 using xda premium

[Q] Where are nandroid backups stored on Nexus 4??

I used ROM Manager to 'Backup Current ROM'. It seems like I saved a couple nandroid backups successfully but I can't find where they saved so I can transfer them to my computer. I checked internalstorage/clockworkmod/ but there is no "backup" folder present, only 3 small files called .nomedia, .salted_hash, and .settings.
When I go in ROM Manager and go to "Manager and Restore Backups" I can see three dated backups listed, where are those?
I just want to successfully perform a nandroid backup and move it to my computer. I have tinkered with this device twice and lost data both times because of unsuccessful backups to my computer (totally my fault). Still getting used to Android.
right under the "Backup Current ROM" option in ROM Manager you can see it says mnt/shell/clockwordmod/backup
It's where CWM stores backups, you cannot see the folder from computer. But you can pull it via adb or copy it to sdcard using a root explorer then move to computer
Sent from my Nexus 4 in a Faraday cage
KyraOfFire said:
right under the "Backup Current ROM" option in ROM Manager you can see it says mnt/shell/clockwordmod/backup
It's where CWM stores backups, you cannot see the folder from computer. But you can pull it via adb or copy it to sdcard using a root explorer then move to computer
Sent from my Nexus 4 in a Faraday cage
Click to expand...
Click to collapse
How exactly do I pull via adb?
provided you know how to use adb
adb pull "mnt/shell/emulated/clockwordmod" "C:/CWMbackups"
if you're not familiar with adb, well... go to the general section then read
Sent from my Nexus 4 in a Faraday cage
I'm having the same problem but I'm using TWRP. Is it possible to make TWRP store my backups in /data/media/0/TWRP instead? This is quite a mess to go through just to be able to make a copy of the backup on my PC...
Like the other guy said, just use root Explorer and copy the back ups, then past them in the faux sd card. This is the simplest way to do it. ADB can be challenging for the novice.
[email protected] via Nexus4
Don't know why...but my nandroid backups are in /mnt/shell/emulated/clockworkmod/backup
GretaLewd said:
Don't know why...but my nandroid backups are in /mnt/shell/emulated/clockworkmod/backup
Click to expand...
Click to collapse
Out of interest does anyone know why my backups are put there, I backed up using TWRP and it puts the backups there, but in recovery it looks to the sdcard/twrp folder so doesnt find the backups
same here. i've already browsed everything using file explorer but still cant find my cwm nandroid backup
Hi, i done the adb pull..
Later on if i wish to copy back to phone, do i need
to use adb push ? Thanks.
KyraOfFire said:
right under the "Backup Current ROM" option in ROM Manager you can see it says mnt/shell/clockwordmod/backup
It's where CWM stores backups, you cannot see the folder from computer. But you can pull it via adb or copy it to sdcard using a root explorer then move to computer
Sent from my Nexus 4 in a Faraday cage
Click to expand...
Click to collapse
thanks man
nsg86 said:
Hi, i done the adb pull..
Later on if i wish to copy back to phone, do i need
to use adb push ? Thanks.
Click to expand...
Click to collapse
You should be able to just drag and drop anywhere on the sdcard folder.
On another note why do I have to do an image verification every time I leave a comment?

Backup to computer

I have a rooted nexus 7 and I know how to do a nandroid backup and a Titanium Pro Backup for the apps. But all these would be useless if the tablet is lost or stolen. So, what does one need to copy to a separate computer to be able to restore in case of disaster?
I imagine copying the nandroid and Titanium backups should be the minimum (assuming I can find where these files are located in the nexus..... ), but what else should be copied to a different computer? Are the nandroid and Titanium backups alone enough to restore everything or do I need to copy more of the root, sdcard, other folders, etc?
Appreciate advice from the experts.
Sent from my Nexus 7 using Tapatalk 2
I make regular backups of my devices by just running:
adb pull /data/media
That pulls in all nandroids, titanium backups, pictures/videos, etc
AW: Backup to computer
I would backup all apps+data using titanium and then
Code:
adb pull /sdcard/
for all your music etc
Sent from my Nexus 7 running Android 4.2.2
I had the same "problem" and so I am currently writing a Java application which enables a remote backup, i.e. you can either backup whole images of the different partitions, or backup filesystems as tar files. Some days ago I wrote a small blog entry. The sources you can find on my GitHub account, but I can also provide some binaries.
Thank you all. But I am a newbie and come from the windows world and the device I would backup to is a windows laptop. So where do I enter the adb command?
Can I manually copy the sdcard contents to a folder in the windows laptop? If so, should this manual usb file copy to the laptop include the root?
Sent from my Nexus 7 using Tapatalk 2
AndDiSa said:
I had the same "problem" and so I am currently writing a Java application which enables a remote backup, i.e. you can either backup whole images of the different partitions, or backup filesystems as tar files. Some days ago I wrote a small blog entry. The sources you can find on my GitHub account, but I can also provide some binaries.
Click to expand...
Click to collapse
I read your blog entry and you are talking exactly about what I need. But because I am a newbie from the windows world the rest is over my head.
I have TWRP on my Nexus, so the OTG nandroid sounds simpler for me. I have read elsewhere that nandroid backups copied manually to a windows device via usb frequently fail when used to restore. Is that why you are uncomfortable with the TWRP OTG nandroid?
Thanks.
Sent from my Nexus 7 using Tapatalk 2
Anderson2 said:
Thank you all. But I am a newbie and come from the windows world and the device I would backup to is a windows laptop. So where do I enter the adb command?
Can I manually copy the sdcard contents to a folder in the windows laptop? If so, should this manual usb file copy to the laptop include the root?
Sent from my Nexus 7 using Tapatalk 2
Click to expand...
Click to collapse
You can't manually copy over 'root'
You can use windows, you know windows has a command prompt too right?
Sent from my Galaxy Nexus
I have Titanium Backup upload the backups to Dropbox after they run on a scheduled basis. I occasionally copy nandroids over but those aren't as important.
Sent from my SGH-I777 using xda premium
korockinout13 said:
I have Titanium Backup upload the backups to Dropbox after they run on a scheduled basis.
Click to expand...
Click to collapse
This
Then copy contents of /sdcard to your computer using any method you are comfortable with. If you have the drivers installed your device will show up as a storage device in my Computer.
Note 2 - Nexus 7 - Charge - Player 5.0 - Fascinate
Read twice, flash once
Pirateghost said:
You can't manually copy over 'root'
Click to expand...
Click to collapse
Aha! I didn't know I could not manually copy root. That explains things. I had assumed that if I was rooted and mounted root I could manually copy and paste it. Now I understand.
Thank you.
Sent from my Nexus 7 using Tapatalk 2

[Q] Restoring from Nexus Toolkit Backup

Last night I flashed a kernel and it caused a bootloop. No problem I have a backup from a few days ago. I will wipe data and flash cm and then restore tomorrow. So I flashed CM. When I went to restore via the nexus toolkit it wouldn't connect to my device. It was the new adb signing thing. So I updated the toolkit into a different folder to make sure I didn't lose the backup.
The thing is I cant find how to make the backup visible to the toolkit. I've tried putting it in the same folder as the previous version but it doesn't show on the toolkit. I've tried using NANDROID in CWM but it can't find a directory or something. What is the best way to get this backup restored? Can I get it into the toolkit?
Thank you for the help. I am at a loss of what to do here.
No one?
Sent from my Nexus 4 using Tapatalk 2
One more try and I'll give up.
I'm not to familiar with the tool kit but you can push it to cwr directory
mnt/shell/emulated/clockworkmod/backup
You can use adb to push or use a file explorer to move it over .(transfer to SD then use file explorer move to new directory)
Sent from my Nexus 4 using xda app-developers app
Thank you so much. I just couldn't find the folder. This is my first device without a real SD

[Q] Understanding Directories, and Backing Up

I want to make a backup of my Android I9505 by copying all the files to my laptop.
I don't understand the directories
Using ES3 I see
/ Device (Which I guess is root.)
0
extSdCard
I assume that exdSdCard is (as it almost says) the external SD Card.
So what are "/" and
"0"
I guess I should back up all directories. What do you think?
webmanoffesto said:
I want to make a backup of my Android I9505 by copying all the files to my laptop.
I don't understand the directories
Using ES3 I see
/ Device (Which I guess is root.)
0
extSdCard
I assume that exdSdCard is (as it almost says) the external SD Card.
So what are "/" and
"0"
I guess I should back up all directories. What do you think?
Click to expand...
Click to collapse
Hi,
0 is your internalSD ( /storage/ emulated/0/ )
/ is root directory
If you just copy folder like that , yes you will make a copy of the folders and the data inside of them but it will not work to restore your system , for that you will need something like a Nandroid copy or use Titanium Backup to be re install after you restore your rom
webmanoffesto said:
I want to make a backup of my Android I9505 by copying all the files to my laptop.
I don't understand the directories
Using ES3 I see
/ Device (Which I guess is root.)
0
extSdCard
I assume that exdSdCard is (as it almost says) the external SD Card.
So what are "/" and
"0"
I guess I should back up all directories. What do you think?
Click to expand...
Click to collapse
You are WAY overthinking this.
Install custom recovery. Use it to make a Nandroid backup.
That's a single zip file that you can later use to restore everything in exactly the same state as it was the day you made the backup. (Takes all of 5 minutes.)
Then if you want to store that backup zip file on your PC you can easily copy it to the computer and store it there for as long as you need.
Your way of doing this will take a lot longer to copy the files and won't ultimately work to restore the system.
Skipjacks said:
You are WAY overthinking this.
Install custom recovery. Use it to make a Nandroid backup.
That's a single zip file that you can later use to restore everything in exactly the same state as it was the day you made the backup. (Takes all of 5 minutes.)
Then if you want to store that backup zip file on your PC you can easily copy it to the computer and store it there for as long as you need.
Your way of doing this will take a lot longer to copy the files and won't ultimately work to restore the system.
Click to expand...
Click to collapse
Using ROM Manager, I boot to Recovery mode. I only see
- Reboot system now
- apply update from ADB
- Apply update from external storage
- wife data/factory reset
- wipe cache partition
- apply update from cache
No Backup option.
webmanoffesto said:
Using ROM Manager, I boot to Recovery mode. I only see
- Reboot system now
- apply update from ADB
- Apply update from external storage
- wife data/factory reset
- wipe cache partition
- apply update from cache
No Backup option.
Click to expand...
Click to collapse
Hi ,
Then i guess you are 100% stock , no root , no Custom recovery?
if so then you need an app that does not need root to back up your app , Titanium is good but you need at least to be root.
MAX 404 said:
Hi ,
Then i guess you are 100% stock , no root , no Custom recovery?
if so then you need an app that does not need root to back up your app , Titanium is good but you need at least to be root.
Click to expand...
Click to collapse
I have Root and I use Titanium Backup.
webmanoffesto said:
I have Root and I use Titanium Backup.
Click to expand...
Click to collapse
you are root but you do not wish to install a Custom recovery or custom rom , right?
If so use titanium to make a back up of your apps , contacts , settings , email , sms ..etc etc
If you want to make a nandroid you need to install a Custom Recovery
Just install a custom recovery.
It won't affect the operation of the ROM at all if you're completely happy with the stock rom.
Root and Recovery are mutually exclusive things. One has nothing to do with the other. Each exists independently of the other.
Skipjacks said:
Just install a custom recovery.
It won't affect the operation of the ROM at all if you're completely happy with the stock rom.
Root and Recovery are mutually exclusive things. One has nothing to do with the other. Each exists independently of the other.
Click to expand...
Click to collapse
+1

Categories

Resources