CWM nandroid copying in KitKat 4.4.4 - Android Q&A, Help & Troubleshooting

I've been using Android and CWM for years with no problems till now that I'm using a rooted KitKat ROM (SlimKat). By default root is not enabled in SlimKat, but I did enable it along with USB debugging. I have CWM installed and it made a nandroid backup on my Moto G (1st Gen. which doesn't have an SD card). I want to make a copy of this backup and found it in /data/media/clockworkmod. However, to see this I had to use Root File Manager as a non-root user cannot see this directory.
So how do I copy this?
My thought was adb. However, even adb won't let me copy this to my Ubuntu Linux pc.
Marty
EDIT:
I thought running adb as sudo would work. It does on some directories, but not this one where the CWM backups are. Here's what I did in Ubuntu:
sudo adb devices
sudo adb pull /data/media/clockworkmod/
remote object '/data/media/clockworkmod/' does not exist

got it! I had to use another app and OTG to a USB flash drive. For some reason Root File Manager kept shutting down whenever I tried to write these backup files to my USB flash. SlimKat was installed with an app called Simple Explorer. It saw the same directory once I gave it root permission and then was able to copy my 2 nandroid backup folders to my USB flash drive.
Marty

it didn't work. Appeared to, but the file size isn't even the same Maybe if I write it to an ext4 partitioned USB flash it would get it right?
Marty

I think all that did work, but I found an official play store app for CWM called CWM Backup Manager that pulled the CWM backups to a place where they can be copied.
Marty

Related

How Do I Delete a Corrupted Nandroid Backup

NOTE: I have searched and reviewed the existing threads on items with similar wording. Several on how to recover corrupted files within the backup etc.. Although the questions and issues are similar none describe the issue that I am experiencing.
Samsung Galaxy Note
Rooted on AOSP xXx FJ,(Flappjaxxx) / FJ Mod of ICS UCLF6
Currently on CWM Recovery 5.8.4.3
Situation:
No prior issues experience with nandroid backup, had 2 other backups plus the one I'm referring to (one of AOSP xXx and FJ Modded)
Performed a nandroid backup to try out CM09 from FJ AOSP. All went well... including the CM09 install and apps.
Missed the S-pen functionality and wanted to flip back to FJ Modded ROM.
Attempted to restore the most recent backup... Failed. Booted into CM09 and went to Root Explorer and looked into the backup file. I noticed that the file has a lot of what appears to be random ASCII characters for file names etc... (indicated to me that this file was corrupted).
Since I had other backups, I went to one of the older ones and restored.
Problem: this corrupted backup is taking up about 1.9 GB and I want to delete but it will not allow me. Looked at permissions and it has RW
Question: how the heck do I delete this thing without having to take my SD card out and formatting the sucker?
Thanks in advance
You should be able to plug in your phone to your computer via USB and open folder to view files on the /sdcard. Make sure USB connection is set to "USB Mass Storage" option when connected. Once you opened the folder to view files, you can navigate to the clockworkmod folder, open, and find the backups within that folder and delete that way...
Sent from my MB865 using xda's premium carrier pigeon service
Did you try to delete it in recovery (sorry if there is no such option, never looked for it...) or in root explorer? You could always get a terminal like https://play.google.com/store/apps/details?id=jackpal.androidterm and do like this:
su (if you're rooted)
cd /sdcard/clockworkmod/backup
rm -r 2012-07-12.13.37
Same commands should work in adb as well
Try. Android Commander.
jje
Sent from my GT-I9300 using xda premium
I think that plugging the USB charger into your computer and manually deleting it should do the trick :fingers-crossed:
OK...
Thanks guys for your responses...
- did try connecting to a PC in mass storage mode and tried to delete... did not work
- use Root Explorer to do a delete as well... did not work
- looked to see if there was a delete option in recovery (first thing I looked for) did not find it
I'll try the other options and see where that goes.
JohnnyQ1964 said:
Thanks guys for your responses...
- did try connecting to a PC in mass storage mode and tried to delete... did not work
- use Root Explorer to do a delete as well... did not work
- looked to see if there was a delete option in recovery (first thing I looked for) did not find it
I'll try the other options and see where that goes.
Click to expand...
Click to collapse
If you download clockwork mod (rom manager) you can delete it in the android application in manage and restore backups.
Empty recycle bin on PC sometimes helps when deleted stuff sticks, make sure do this when plugged in ofc
If you're using Windows, run chkdsk ("Scan this drive for errors" in drive's properties) when connected as a mass storage device.
That should help.
If it won't, the guaranteed method is to copy the files you need somewhere else, format the card and put those files back.
to clairfy, you were able to locate the back up files in the folder "clockwork mod-backup" but then it would not delete when you tried?"
Thanks again for all your input.
PC crapped out this past weekend... new hdd installed and re-building with Windows 7 pro-64 (hmmm... maybe I should dual boot to Ubuntu), will need to reinstall some of the linux/android tools.
@frdd... already had terminal installed tried the commands but no luck... it reports back I'm missing files and i get a lot of errors. I guess I'm gonna have to learn Linux/Android
@icomrade... I've got the purchase ver of ROM Manager and haven't fully gone down that rabbit hole but will investigate
@NeverGone\RU... will leave that as a last resort as i've got a 32GB SD card (sucks up time)
@mankows5... yes did find all the directories and files as it should be... just can't delete that 1 backup
Yeah, try Rom manager. Manage and Restore Backups>Select the one you want to delete, then delete it.

[Q] Using ADB while in Recovery

I cannot for the life of me use ADB while in Clockworkmod Recovery on my Verizon Samsung Galaxy SIII. ADB works fine when the device is booted up but won't work when i'm in recovery. I need to modify or replace my build.prop file.
I've tried manually pointing the device in device manager to the drivers from Kies. (Won't recognize them.)
I've tried downloading the Android USB Drivers and modifying the INF file to match my Vendor ID for the SIII. (Doesn't match the catalogue entry.)
I've tried mounting system as RW.
I've also taken out the externalSD card and put a build.pop "package" so that I could flash it but ClockWorkMod doesn't recognize the card. It will only see the internal storage.
Any ideas? What else can I do besides ODIN Re-Flash / Nandroid Restore.
Thank you for any help you can offer.
Seeknay747 said:
I cannot for the life of me use ADB while in Clockworkmod Recovery on my Verizon Samsung Galaxy SIII. ADB works fine when the device is booted up but won't work when i'm in recovery. I need to modify or replace my build.prop file.
I've tried manually pointing the device in device manager to the drivers from Kies. (Won't recognize them.)
I've tried downloading the Android USB Drivers and modifying the INF file to match my Vendor ID for the SIII. (Doesn't match the catalogue entry.)
I've tried mounting system as RW.
I've also taken out the externalSD card and put a build.pop "package" so that I could flash it but ClockWorkMod doesn't recognize the card. It will only see the internal storage.
Any ideas? What else can I do besides ODIN Re-Flash / Nandroid Restore.
Thank you for any help you can offer.
Click to expand...
Click to collapse
Spent a little more time and answered my own question. This worked:
Tried using the Naked USB Drives here: http://forum.xda-developers.com/showthread.php?t=1379875 and booting up Windows 8 with Disabled Driver Verification.
Update 2: BUILD.PROP must be at CHMOD 644 (Permissions)

[HELP] I deleted my OS on my Live. How do I transfer zip file?

I made the biggest stupidity. I deleted my rom, using twrp recovery. I deleted sd card as well, I wanted to do a new flash but now I'm stuck. I have lupus jb kernel installed on my lww. I know there is a way to transfer zip files via sideload and then installing them. But I'm using a Mac. What can I do? Don't tell me to use windows, i have it installed on a virtual machine but i can't use internet. So please, I read some guides but are to difficult I already downloaded Android SDK for mac but I can't get to run adb commands.
I need your help, how can I transfer my rom zip file to sd card using this twrp recovery?? I'm a noob when it comes to use adb and stuff so please help me.
PD. I also can't activate usb debugging, because I have nothing installed on my phone, except the lupus kernel.
Nevermind, I solved it. TWRP is AWESOME! Just entered recovery, mount usb and I was able to put the zip file in sd card.
AW: [HELP] I deleted my OS on my Live. How do I transfer zip file?
There should be adb (and the android sdk) for mac, too
You could have installed it and sideload the zip. But mounting it was well, too :good:
Sent from my SK17i running Android 4.1.2

[Q] Can't delete CWM Nandroid backups

Hi guys, having an odd problem.
I've made some nandroid backups (about three) via CWM Recovery, and I can't seem to browse to them, or delete them.
It's definitely taking up space, and I'm not sure what to do now.
A backup that I made straight to my external SD card however, seems to be browse-able, so I'm a bit confused now.
Attached are some screenshots from ES File Browser (with root access turned on).
The last screenshot is going to /storage/sdcard0/clockworkmod/ (same directory, but now I can't seem to see anything about "backups").
I've also tried to delete these backups straight from CWM Recovery, but CWM says that it can't access the folder.
Oddly enough, if I do another backup (straight to internal), it seems to put all the files in /sdcard/Clockworkmod/backups but never to be accessed again.
Anyone have any ideas?
Delete via Windows Explorer .
jje
JJEgan said:
Delete via Windows Explorer .
jje
Click to expand...
Click to collapse
Thanks for the suggestion, but nope, that didn't work. (Obviously tried that first).
The folder was shown as empty via Windows.
After a lot of digging and trying different things (including Root Explorer and Terminal Emulator), I've managed to delete it.
I'll post the instructions so other people who may have similar problems in the future can follow it.
First, you'll need ADB and you'll need to reboot into CWM Recovery.
Once you've gotten that sorted, boot into CWM Recovery and go to "mount and storage" and then select "mount /data".
This will mount the /data structure which we need to use.
Afterwards in CMD, use the following:
Code:
adb root
adb shell
After this, you should be logged in as ~ (root)
Proceed to go into the directory using the cd function. (PROTIP: Use the ls function to check where you're going.)
You need to get to ../clockworkmod/backup/
You'll find that you can finally access the /backup/ folder, and you'll then be able to delete the files. Please note that the below command will delete ALL the files within this folder.
Code:
rm -rf *
Afterwards, do
Code:
cd ..
to get back to the ../clockworkmod/ folder and then run the below code to delete the now empty /backup/ folder:
Code:
rmdir backup
no, to be logged in as root you need to type in "su"

[Q] ADB Pull of Nandroid Backup 4.4.2

I have looked just about everywhere online, but I can't find any information. My problem is this: I have a T-Mobile Galaxy S4 running 4.4.2, I am rooted and have clockworkmod recovery touch 6.0.4.7 installed. I created a backup of my stock rom, but I am unable to transfer it to windows using ADB, I tried "adb pull /mnt/shell/emulated/clockworkmod" "C:\Android" and just tells me zero files copied. Also, adb does not recognize /data/media/clockworkmod. I tried using rom manager download server, but it just ends the transfer after about 200KB, without any visible errors. Do I need to change permissions of /data to make the transfer possible? Or Is there another alternative that doesn't require another minimally useful app?

Categories

Resources