[Q] Can't extract NANDROID backup - Android Q&A, Help & Troubleshooting

I apologize if this question has been asked before; I have done some digging through the forums but I have been unable to find a complete solution/explanation for this problem. Essentially, I cannot copy NANDROID backups created through twrp recovery to my computer. I am using an HTC one AT&T version and a win7 computer. Obviously I have no sd card so I need to copy the backups from the internal storage. I find the backup folder just fine along with the backups I want (upwards of 3gb in size). However, when I try to copy them via USB or network transfer through an android file browser on the phone, only a few mb of files are copied, and no errors are generated. Other forum posts indicate that a simple copy and paste should work. While others indicate some sort of vague copy permissions setting preventing this action. The only solution that I've not tried is using "adb pull". I have no idea how to do that as I have zero experience playing with adb. Before digging into that and trying to figure out how to set up adb and find the relevant commands to do what I want, I would like to know if there is a simpler method of accomplishing copying my NANDROID backups. Any help would be appreciated, sorry if this is a noob question.

Related

[AVD][Q] Using the AVD Emulator sdcard for ROMs?

I'm looking to use the AVD emulator (running 2.3.3 right now) to see about running custom ROMs from the SDCard. Thing is I can access the SDcard from the emulator, but to push files to it I'd imagine I'd have to use adb. I'm curious to see if there is an easier way (or quicker for that matter) to put files to the SDcard without having to push single files and then copy to the SDcard via adb. Does anyone know if there is another way?
What I plan to do next after pushing a ROM to the SDcard is to see if I can change the bootloader or have the bl point to the sdcard to run the ROM from there. But one thing at a time first. Thanks!
Hi Climber Ty,
Firstly, as your title indicates, this is a question and therefore it shpuld be in q and a I think.
I tried the AVD myself too and if you type adb devices is adb it shows up fine, so pushing via that way should work.
As you stated, this probably can be done easier. I believe the installer makes an .img file for the AVD, which is somewhere in the sdk/avd folder. There are editors available for img files (just search google and you'll find them) I think you can just copy your files into this img file and then they will be on your sdcard, never tested this though.
Sent from my HTC Desire using XDA App
Questions or Problems Should Not Be Posted in the Development Forum
Please Post in the Correct Forums
Moving to Q&A

[Q] Unable to find backups in directory?

So I've made a couple Nandroid Backups and I am unable to find them in any of my directories. The reason I ask is because I'd like to rename a couple of them before I forget what I was running. I usually use ROM Manager (i know.. this is the only thing i use it for) to rename my backup files. It's just easy that way. RM isn't seeing my recent backups.. I dl'd CWM Manager app and it sees the backups if I go into "restore".. but there is no way to rename them. Also.. when i go into my phones files and into clockworkmod folder.. i still only see a couple old backups.. none of my new ones are anywhere to be found.
So i guess I'm wondering wtf the backups went to, and how do i find them in my directory? Thanks, appreciate any info I get
also if someone has a good alternative to ROM Manager for renaming backup files.. I would appreciate that as well, thanks guys!
I get the option of backing up to either sd or ex_sd. I don't suppose that gotcha?
As far as renaming, I use the ancient method of keeping a separate .txt file with the nandroid name appended with ROM and kernel. I have to edit the text file when I change ROMs or kernels, but all un-appended backups subsequent to the last appended ROM/kernel are still from that preceding combination.
Capiche?
geomax45 said:
I get the option of backing up to either sd or ex_sd. I don't suppose that gotcha?
As far as renaming, I use the ancient method of keeping a separate .txt file with the nandroid name appended with ROM and kernel. I have to edit the text file when I change ROMs or kernels, but all un-appended backups subsequent to the last appended ROM/kernel are still from that preceding combination.
Capiche?
Click to expand...
Click to collapse
I've haven't gotten the option to where my backups are kept. Regardless I'm still unable to find the backups anywhere I'm my directory.
sent from my Galaxy SII
Backups are in clockworkMod folder. in /sdcard or sdcard/external_sd/ depending on your kernal. the newer kernals have external sdcard as an option.
Strange that you cant find them. Delete the CWM folder and take another backup?
Maybe sdcard is full and backups arent getting saved?
MotoMudder77 said:
Backups are in clockworkMod folder. in /sdcard or sdcard/external_sd/ depending on your kernal. the newer kernals have external sdcard as an option.
Strange that you cant find them. Delete the CWM folder and take another backup?
Maybe sdcard is full and backups arent getting saved?
Click to expand...
Click to collapse
It is strange. Both my SD cards have plenty of space. The part that bugs me is that the app CWM Manager see's the backups if I choose restore, but yet I cannot find those files ANYWHERE in my phone. Believe me I've opened my clockworkmod folder countless times hoping to see them. When I boot into recovery and choose restore.. I only see the two new ones... then to get the old backups in recovery I have to choose restore from external SD. So My backups are there on the phone. They are just hiding somewhere and I have no idea where else to look. I'm really just trying to rename them. I know where to find em in recovery if I need to.. but it's bugging me I don't know where to find em in my phone directory.
Have you tried another file manager?
Sent from my GT-I9100 using xda premium
geomax45 said:
Have you tried another file manager?
Sent from my GT-I9100 using xda premium
Click to expand...
Click to collapse
I've tried using RootExploer as well as the stock file manager app. Even when I plug the phone into my PC via USB and search that way I cannot find the backups. Its driving me mad LOL
Not sure it should make too much of a difference but 1 of the two "missing" backups was taken with stock illusion kernel, the other backup I'm missing was taken with the new Siyah kernel 2.6.11.
sent via Galaxy SII
Backups SHOULD be in:
/sdcard/clockworkmod/backup
or
/emmcs/clockworkmod/backup (which is /sdcard/external_sd/clockworkmod/backup on Samsung firmwares - when in CWM itself it's /emmc, same for CM7)
So.. after days of confusion I found the files.. thanks to everyone for replying. There was another "clockworkmod" folder in my external SD card. I didn't realize that as I kept opening up the first clockworkmod folder I saw... at the very bottom. Below my music, with a couple other zips, was the other clockworkmod folder... same as the one on my SD card- clockworkmod> backup> ..zips!
FINALLY!
thank for all the replies!

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.

Major Problem! EPS file formatted (do have backup though)

To make a long story short, I have a Samsung S3 I9300 (International Version). I installed an AOKP-based ROM through CWM 6, it flashed successfully the second time around (was very laggy first time). Anyhow, I didnt get any mobile signal and found out my baseband, imei and meid were all unknown, After tinkering for hours, reverting to stock ROMS, etc. I accidently managed to format my EFS folder, thinking it would repair the problem since i have a backup. Thus.. now i cant boot up the phone. Stuck at samsung logo. I can get into revovery and download mode. And I HAVE a backup .tar and .img file on my INTERNAL memory (ya i know that sucks ) SO could my phone be repaired anyhow. Could its efs be brought back and restored?
Thanks in advance
Some more details
Stumbling through the forums, i found this thread http://forum.xda-developers.com/showthread.php?t=2087567&highlight=efs+file&page=2
The last post does mention a solution, however, my efs backup is located on the INTERNAL memory. Any idea how i could possibly access and recover and copy that to my pc?
boot into recovery and pull the files with adb
Thanks for the reply Glebun
But could you be more specific with your proposed solution? Im a noob i admit, and i'd really like to get my self out of this situation!
I boot into recovery.. i have cwm recovery 6.0.2.7
Now what is adb? Could you link me to the program and how exactly do i run it? and connect it? note that my phone cant even go past the boot screen
You need to learn to google.
Searching for "pull files with android adb" should get you started
Alright managed to do some googling as you mentioned and got as far as the point of connecting adb successfully to my device.. Just help me in one last step and ill be greatful. I've tried for hours but i cant seem to pull files from my device? I've tried 'adb pull /' 'adb pull /sdcard' 'adb pull /sdcard0' amd many more, but they return with '0 files found 0 skipped'
What to do?
i have atleast 8gb of data in my internal memory
The path is incorrect.
Type "adb shell", then "ls" for the list of all files and folders in the current directory. "cd %foldername%" to move to a folder
Thank you so much
I managed to recover the efs files successfully
I just need to restore them back to my phone without any hassle, and everything will be perfect!
I have 2 files now.
One is "efs.backup.tar.gz"
Second is "efsdev-mmcblk0p3.img.gz"
Suggest me a way to get these back onto my phone
https://www.google.com/search?q=efs.backup.tar.gz
first link. You haven't learned to search
Glebun I would really need some detailed help with this.
The internet and forums seem to be full of ways to backup the efs folder.
However no specific way to restore it back
I followed the first link and the fourth post gave me instructions to type this:
"gzip -d efsdev-mmcblk0p1.img.gz
cat efsdev-mmcblk0p1.img > /dev/block/mmcblk0p1"
I also typed
"gzip -d efsdev-mmcblk0p3.img.gz
cat efsdev-mmcblk0p1.img > /dev/block/mmcblk0p3"
but to no avail.
Then I proceeded to install efs proffesional in order to restore my efs backup but it crashes everytime the device is connected.
Could you please guide me through adb or through an application to help restore my efs back in place?
Sorry for any trouble
put the backup file on the internal storage and make sure you type in the correct path. read the whole instructions

[Q] Can't find certain directory's

Hello, first of all, this pertains to the Galaxy Player 4.2. However, I couldn't find a section devoted to that device, so I will post here.
I would like to root my device. I did a lot of googling and research on the topic, and came up with this thread being the agreed upon method.
I read through it and saw the issue with the WiFi not working after the process is finished. I also saw the solution people recommended being to copy the contents of /etc/wifi and paste them back after rooting.
My problem is this. I am new to Android, and I don't know where to find this directory in order to copy the files.
I tried to look using the My Files app, but that appears to only explore the internal SD card. I did some research on the subject, and most people said that it is in the /system folder. I can't find that either. I also found mention that you need root privileges to access that folder. But I don't understand: how can I copy the files before rooting, if I need root privileges to do it?
Maybe I am totally off, but if so please correct me. Where are these files stored?
Thanks!
OK, I have been messing with the Android Terminal Emulator and found the directory where the files are stored. I am trying to figure out how to copy them to the internal SD card now so that I can access them from my laptop. I did some reading and found out that the command for copy is "cp". I tried to use that command to copy the file, but it just tells me "cp: not found". I am not sure what this means, but I assume it means that it is not a valid command. Am I doing something wrong? Thanks!

Categories

Resources