backup sd card and ext - Nexus One General

`Ok so I need to changed my sd cards and in the past I would use Bart to backup and restore my sd information and ext cache. However, I have 1.7 Amon (for some other reason I can't update to 2.0) Bart is not available.
My bootloader is locked. I need the steps to backing up my whole sd card and ext3 then to restore it on my new card. I have searched for this and I'm not finding the correct method I'm looking for.
BTW if I copy my sd card to the pc and try to transfer them to the new sdcard I get a error for like 71 files that say the name is to long to transfer. But, it doesn't show the full name so I can't find out what the files are. The all start with RES

Upgrade to 2.0 and Nandroid.

Lamar720 said:
`Ok so I need to changed my sd cards and in the past I would use Bart to backup and restore my sd information and ext cache. However, I have 1.7 Amon (for some other reason I can't update to 2.0) Bart is not available.
My bootloader is locked. I need the steps to backing up my whole sd card and ext3 then to restore it on my new card. I have searched for this and I'm not finding the correct method I'm looking for.
BTW if I copy my sd card to the pc and try to transfer them to the new sdcard I get a error for like 71 files that say the name is to long to transfer. But, it doesn't show the full name so I can't find out what the files are. The all start with RES
Click to expand...
Click to collapse
Partition the new card.. take the old files, put them on the new locations. It's that simple. If Windows is too retarded to store the files properly, maybe you should look into tar or something like that for Windows, I'm sure it's available.

khaytsus said:
Partition the new card.. take the old files, put them on the new locations. It's that simple. If Windows is too retarded to store the files properly, maybe you should look into tar or something like that for Windows, I'm sure it's available.
Click to expand...
Click to collapse
Windows can't read ext partitions properly so that won't work for that part. A Ubuntu live CD would though.

Ok I will try those options again.

Related

SD Card Problem

Ok well I removed my sd card from my G1, and when I put it back in it gives me a "Blank SD Card" notification. I tried resetting my G1, and it didnt work. So I mounted it on my laptop and now it says "Drive G is not formatted would you like to format now?." I am really not trying to lose all my data and apps, and I kno my stuff didnt get deleted, how can this b fixed?
One of two ways, in my eyes.
First try looking at paragon, it might be able to find the partitions again and hopefully repair them.
Two try a data recovery program, personally I like GetDataBack but it only works for FAT and NTFS and not EXT2 if your data and apps were on that partition.
Hmm I tried GDB and it took about an hour and what do u kno I need the licensed version to get my files off, and will Paragon work? Cuz I dont wanna waste another hour.
SD Card fix ok
just put the sd card inside the adapter that all sd card brings when you get it.ok
AND than insert it on your labtop and copy all your files to your computer and format your sd card..
jcarloss said:
just put the sd card inside the adapter that all sd card brings when you get it.ok
AND than insert it on your labtop and copy all your files to your computer and format your sd card..
Click to expand...
Click to collapse
As I said in the original post when I mounted it is said it needed to format, but anyway I found a program and got my files off, but I need to recover my ext2 partition which I dont think will happen
http://www.diskinternals.com/Linux-Recovery/
Never tried it but it might be worth a shot.
jashsu said:
http://www.diskinternals.com/Linux-Recovery/
Never tried it but it might be worth a shot.
Click to expand...
Click to collapse
Yea I tried it but I need the paid version to recover
Have you tried inserting the sdcard into a computer running ubuntu? It will probably recognize the ext partition without any trouble.
Will I b able 2 use ubuntu to restore it?
AsaSpades said:
Will I b able 2 use ubuntu to restore it?
Click to expand...
Click to collapse
I dunno, that's why I asked if you had tried it yet or not. You can always burn a Ubuntu livecd and test it without installing anything. As long as the partition table is intact it should be accessible.
jashsu said:
I dunno, that's why I asked if you had tried it yet or not. You can always burn a Ubuntu livecd and test it without installing anything. As long as the partition table is intact it should be accessible.
Click to expand...
Click to collapse
Its gonna b a long ass download, and the table is intact, but I just need to get the files off it, and id rather kno if ubuntu can do [email protected] b4 I download it, I wish I can jus find a free program for ext2 partitions
Blank SD Card
AsaSpades said:
As I said in the original post when I mounted it is said it needed to format, but anyway I found a program and got my files off, but I need to recover my ext2 partition which I dont think will happen
Click to expand...
Click to collapse
I loaded up Cyanogen's latest last week, formatted my 16gb to EXT2 and Fat32... all was working great for a week, then today, my G1 went blank. Upon a restart, the SD card came up with "Blank SD Card." Viewing the card from my card reader... can't read any files... what's the program that you "found?" I'll probably just fight through reformatting and rebuilding all my files... Later I'll perform file backup when I get it right.
this sound like your problem??
Hey asaspades, something like this happened to me a while back and I could read it on my laptop/cardreader and recover my files and reformat. Obv u have tried this. The thing is the same thing has hsappened not 10 min ago lol. When this happened before I was running my g1 as stock but now I have cyanmod (3.6.8.1 I think) amd apps 2 sd on ext2 partition. I am not at a computer atm but will try to recover the same way as before though I won't be able to access the ext2 partition (will try with ubuntu, hav wubi installer on pc). Oh and I rebooted after I realised something was wrong and now have a constant preparing sd card checking for errors notification. This sound kinda similar to your problem at all? I would like to know what is causing this. Maybe I just have a bad/corrupted sdcard lol. Anyway its really pissin me off not knowing
Left 4 a while and it now says damaged sdcard you may need to reformat.

[Q] Question on replacing SD Card

I have a lot of recoveries, and backups on my current SD card. I am going to replace it soon.
Before I do...Is it safe to assume you just do a huge copy, and paste it on the new SD card, then just insert in phone?
Can someone please provide some guidance?
Thanks a lot for any replies. I did a search as well, but only found for other phones, not sure if our MT4G has any quirks, that would make it different
Shouldn't be a problem. That's what I have been doing for years and nothing has screwed up.
Sent from my HTC Glacier using Tapatalk
same thing I do. just make backup copies onto your computer and when you get the new card, format it, then put the files on there. easy as that
Thanks guys!
Is it normal when copying/pasting, SD from Desktop to MT4G, that .data, and .img for backups cannot be transferred?
I cannot seem to transfer those two data types into my new SD. All I am copying is old Restores, that I know worked good, but that type of data won't seem to go over
Anyone have this happen? Is it normal? I am worried I don't have recoveries that will work
Confirmed, recoveries do not work, I get MD5 mismatch. How can I copy these back?
I did what was said as copying old SD files to Desktop, but on paste to new SD card, would not transfer some files.
lion766 said:
Confirmed, recoveries do not work, I get MD5 mismatch. How can I copy these back?
I did what was said as copying old SD files to Desktop, but on paste to new SD card, would not transfer some files.
Click to expand...
Click to collapse
I did this a couple of times ans had no problems you had with those two files. I suggest you reformat the card put the files in there again and upload a new rom. Flash clockwork recovery 3.0.0.6 then try to restore one of those nandroids.
Thanks for checking Lake, I will definitely try that! I hate the fact that I like so many ROMS that I switch back and forth every week. It's like a new phone every week! Minus the creaky buttons, ha!
uh oh, formatted card, now none of my backups will copy the .img or .data files. Oh geez
edit: quick format and format make a difference?
I did a quick, trying normal format now

[Q] SD card space issue - Noob needs help

I am very new to rooting, but I've installed CM7.1 on the Nook's EMMC without any hiccups. I want to flash the Mirage ROM on there, but when I put my Sandisk 8gb class 4 mSD card into my computer via USB reader, it shows I have very little space and thus am not able to copy any zip files. I've read around about partitions and such, but I wanted to ask the xda community before I try anything.
Again, I'm running on complete internal memory and would like to make use of the 8gb card to install different ROMs, etc.
Any ideas? Would really appreciate the help.
If you used the SD card for installation in the first place then it would have been partitioned with just a small boot partition to do the installation work. After you have it on emmc then the instal stuff on the SD is not needed any more and you restore the card back to its full size 8GB with just one partition for normal external storage use. You can either use the HP USB format tool or a partition manager. This will give you the full 8GB on the SD available for use by CM7.
If you then want to replace / update the emmc ROM you just connect to PC with USB, turn on USB storage and the PC will see the 8GB card completely. No need to ever take the SD out. You copy across any ROM zips you need and then reboot into recovery. The recovery then allows you to flash the zips that you put on the SD.
**Edit**Sorry to Bob, I mis-read initially***
You can use the HP USB format tool HERE to regain the full size of the card after using it as a boot disk.
bobtidey said:
If you used the SD card for installation in the first place then it would have been partitioned with just a small boot partition to do the installation work. After you have it on emmc then the instal stuff on the SD is not needed any more and you restore the card back to its full size 8GB with just one partition for normal external storage use. You can either use the HP USB format tool or a partition manager. This will give you the full 8GB on the SD available for use by CM7.
If you then want to replace / update the emmc ROM you just connect to PC with USB, turn on USB storage and the PC will sees the 8GB card completely. No need to ever take the SD out. You copy across any ROM zips you need and then reboot into recovery. The recovery then allows you to flash the zips that you put on the SD.
Click to expand...
Click to collapse
I think your first paragraph is completely true but the 2nd paragraph is deadly wrong. And if I'm wrong, I own you an apology.
To OP, as bob stated in his first paragraph, if you have been using your 8GB Sandisk uSD as an installer (CwMR image and ROM files), then yes, when you plug it in the PC, PC only see about 100+ MB. In order to regain fully 8GB, you have to reformat it again (using many tools out there).
BIG NOTE: if later, you need to update ROM again, you MUST create a flashable uSD again. So, my recommendation:
1. Get a cheap 1GB or 2GB uSD card and use it just for installer. Use your 8GB Sandisk as addition storage or
2. Use your 8GB Sandisk as an installer and LEARN how to flash/install ROM from ROM Manager. I DID NOT use this option so I don't have any experience. I can't help. From what I read from other members, this is a very good way to update ROM, quick and easy but it requires flashing CwMR into the eMMC, which I don't want to. This way will eliminate the process of insertion/removal the uSD off the NC. Other members will help you throuh.
To bob,
About your 2nd paragraph of updating ROM via USB, I don't think it works that way. If it does and has been verified, I am blast to learn from you.
I may be reading the OP's issue incorrectly but I think he/she wants to keep the bootable SD card for future repairs and updates and just drop additional ROMS to install on it. Since the original imaging only formats about as much as was originally needed the rest of the card remains unformatted. All that needs to be does is to use a utility like EaseUs Partition Manager (free) to stretch the existing partition to recover the remaining space. Then he/she can drop ROM .zips on it to his/her heart's content and flash them. I have several (including the 1.3 stock ROM) on my original installations SD card just for that purpose.
patruns said:
I may be reading the OP's issue incorrectly but I think he/she wants to keep the bootable SD card for future repairs and updates and just drop additional ROMS to install on it. Since the original imaging only formats about as much as was originally needed the rest of the card remains unformatted. All that needs to be does is to use a utility like EaseUs Partition Manager (free) to stretch the existing partition to recover the remaining space. Then he/she can drop ROM .zips on it to his/her heart's content and flash them. I have several (including the 1.3 stock ROM) on my original installations SD card just for that purpose.
Click to expand...
Click to collapse
Yeah that's basically what I'm trying to do. Just need Windows to recognize that there is more space and so I guess I have to use the EaseUs Partition program. Any steps on what to do or is it a pretty self-explanatory software?
trud22 said:
Yeah that's basically what I'm trying to do. Just need Windows to recognize that there is more space and so I guess I have to use the EaseUs Partition program. Any steps on what to do or is it a pretty self-explanatory software?
Click to expand...
Click to collapse
It is pretty self explanatory. You just highlight the partition and drag the button to the right to increase the size. After that you have to "complete" the process because at that point it is still waiting for you to make a final decision. It has been so long since I used it I can't recall the final instruction.
votinh said:
I think your first paragraph is completely true but the 2nd paragraph is deadly wrong. And if I'm wrong, I own you an apology.
To OP, as bob stated in his first paragraph, if you have been using your 8GB Sandisk uSD as an installer (CwMR image and ROM files), then yes, when you plug it in the PC, PC only see about 100+ MB. In order to regain fully 8GB, you have to reformat it again (using many tools out there).
BIG NOTE: if later, you need to update ROM again, you MUST create a flashable uSD again. So, my recommendation:
1. Get a cheap 1GB or 2GB uSD card and use it just for installer. Use your 8GB Sandisk as addition storage or
2. Use your 8GB Sandisk as an installer and LEARN how to flash/install ROM from ROM Manager. I DID NOT use this option so I don't have any experience. I can't help. From what I read from other members, this is a very good way to update ROM, quick and easy but it requires flashing CwMR into the eMMC, which I don't want to. This way will eliminate the process of insertion/removal the uSD off the NC. Other members will help you throuh.
To bob,
About your 2nd paragraph of updating ROM via USB, I don't think it works that way. If it does and has been verified, I am blast to learn from you.
Click to expand...
Click to collapse
I do use this method to install new zips all the time but maybe I wasn't clear that you use recovery to select and install the new zip from the SD card. You do not need to remove the SD card and use a new SD installer to put a new ROM on. When you put CM7 on emmc using the standard eyeballer method then you have clockwork on emmc.
So from an emmc install with a re-formatted SD which has all space available as a normal single partition user space.
1. Plug in USB and mount the drive.
2. Copy the new ROM zip onto root of SD card.
3. Unmount drive
4. Press power key for a few seconds to get menu and Select reboot into recovery.
5. In recovery then do whatever wipes are felt necessary and then select install zip from SD card. You will see the new ROM in the file list. Select and install.
6. Reboot system
Steps 4 and 5 can also be initiated by using ROM Manager.
Now it is also worth having a backup small SD installer card but you do NOT need this for routine ROM updating; only if something goes drastically wrong.
It is also good to reduce the number of times the SD card is swapped around. It can be fiddly and there is always the small risk of damaging the slot which is then very bad news.
First of all, I don't use "standard eyeballer method", in fact, I don't know what that is.
Secondly, I don't want to install CwMR into the eMMC.
Maybe those are the differences.

[Q] Android on SD and partitions etc NO CARD FOUND

Hello,
I am looking for some advice with regard to a speciifc problem I have with my HD2 which is running Android from SD using haret.exe etc to start the system from within Windows Mobile 6.5. The android files are currently held on a 8GB sandisk card. I have prefered this method of using android basically because I find it useful to remove the SD card and create a backup of the files onto my PC, which gives me peace of mind before installing new tryout software, just incase something goes wrong, I know I have the option to go back to a working system very quickly by reloading the files back to the SD card from the PC backup.
Recently I have been thinking that it might be easier if I could backup the files using the phone directly, so I decided to buy a 16GB card in order to partition it into two virtual 8GB drives and load my existing android os files onto one partition, whilst using the second partition to save a backup of android. I thought I should be able to create a backup of android from within WM6.5 instead of having to remove the card and rely on a PC all the time to do this job.
So, using MiniTool Partition Wizard Home Edition, I formatted and partitioned the new 16GB SD card, I used FAT32 for each partition and proceeded to copy my android files to the first partition of the new card. I installed the card into my HD2 and started the phone up which booted into WM6.5
From within WM6.5, I used the file explorer and could see both partitions appearing as separate SD cards, the first containing all my android os files etc, and the second partition was empty of course. Just as a test I thought I would try a copy and paste of a couple of files from the android partition to the empty partition, and this worked just fine. I thought to myself I am onto a winner here : ) Read on....
With that I decided to boot into android by clicking on haret.exe.
The system started to boot as normal and everything appeared to be going very very well. Booting completed and the system was ready to use..... Then I thought I would have a look around and see if it was running ok. OH DEAR.... It was reporting that it couldn't find the SD card, even though it had booted from it ! All my files and folders inaccessible and any programs that had been moved to SD card wouldn't start up or were missing from the list of installed apps. I still cant understand why the system has booted from an SD card that it cannot find once the system has booted......
This whole excercise was basically motivated by the need to be able to backup and restore the system from one partition to the other without the constant need to remove the SD card and do the job from a PC. (Constant removal of the SD card is starting to bother me incase I end up wearing the card slot out)
So basically my question is can this be done using my existing android install? (I wouldn't want to start again and install from scratch because the system is highly customised, and has took me a long time to get where it is now) I want to be able to have two partitions on my SD card, one which boots, runs android and holds all my files associated with android, and a second parition which I can use to create and restore a backup from within WM6.5.
This is not a desperate requirement, but I feel it would be a lot better than needing to rely on having my PC to hand all the time. This idea has come from my longstanding history of creating backups using GHOST and similar applications in Windows XP. I would like to do the same with my phone. Obviously I would still periodically make a backup to the PC for safekeeping but it would be more convenient to do it with the phone itself.
Any advice on where I am going wrong would be very useful. Also if you can suggest any other ways of making a strong reliable backup that makes an image of 'EVERYTHING' as is from within android directly, please let me know. I have had a look at Titanium backup, but not sure if it would make a mirror image of 'EVERYTHING' the way I would like to do it (like Ghost does in windows). The way I am doing it at present works fine, except for having to constantly remove the card and rely on having a PC about.
Oh by the way the android version on my SD card is Froyo 2.2 incase this matters (I have never bothered upgrading because it works and does what I need it to do)
Many Thanks
Tony
Brookbond said:
Hello,
I am looking for some advice with regard to a speciifc problem I have with my HD2 which is running Android from SD using haret.exe etc to start the system from within Windows Mobile 6.5. The android files are currently held on a 8GB sandisk card. I have prefered this method of using android basically because I find it useful to remove the SD card and create a backup of the files onto my PC, which gives me peace of mind before installing new tryout software, just incase something goes wrong, I know I have the option to go back to a working system very quickly by reloading the files back to the SD card from the PC backup.
Recently I have been thinking that it might be easier if I could backup the files using the phone directly, so I decided to buy a 16GB card in order to partition it into two virtual 8GB drives and load my existing android os files onto one partition, whilst using the second partition to save a backup of android. I thought I should be able to create a backup of android from within WM6.5 instead of having to remove the card and rely on a PC all the time to do this job.
So, using MiniTool Partition Wizard Home Edition, I formatted and partitioned the new 16GB SD card, I used FAT32 for each partition and proceeded to copy my android files to the first partition of the new card. I installed the card into my HD2 and started the phone up which booted into WM6.5
From within WM6.5, I used the file explorer and could see both partitions appearing as separate SD cards, the first containing all my android os files etc, and the second partition was empty of course. Just as a test I thought I would try a copy and paste of a couple of files from the android partition to the empty partition, and this worked just fine. I thought to myself I am onto a winner here : ) Read on....
With that I decided to boot into android by clicking on haret.exe.
The system started to boot as normal and everything appeared to be going very very well. Booting completed and the system was ready to use..... Then I thought I would have a look around and see if it was running ok. OH DEAR.... It was reporting that it couldn't find the SD card, even though it had booted from it ! All my files and folders inaccessible and any programs that had been moved to SD card wouldn't start up or were missing from the list of installed apps. I still cant understand why the system has booted from an SD card that it cannot find once the system has booted......
This whole excercise was basically motivated by the need to be able to backup and restore the system from one partition to the other without the constant need to remove the SD card and do the job from a PC. (Constant removal of the SD card is starting to bother me incase I end up wearing the card slot out)
So basically my question is can this be done using my existing android install? (I wouldn't want to start again and install from scratch because the system is highly customised, and has took me a long time to get where it is now) I want to be able to have two partitions on my SD card, one which boots, runs android and holds all my files associated with android, and a second parition which I can use to create and restore a backup from within WM6.5.
This is not a desperate requirement, but I feel it would be a lot better than needing to rely on having my PC to hand all the time. This idea has come from my longstanding history of creating backups using GHOST and similar applications in Windows XP. I would like to do the same with my phone. Obviously I would still periodically make a backup to the PC for safekeeping but it would be more convenient to do it with the phone itself.
Any advice on where I am going wrong would be very useful. Also if you can suggest any other ways of making a strong reliable backup that makes an image of 'EVERYTHING' as is from within android directly, please let me know. I have had a look at Titanium backup, but not sure if it would make a mirror image of 'EVERYTHING' the way I would like to do it (like Ghost does in windows). The way I am doing it at present works fine, except for having to constantly remove the card and rely on having a PC about.
Oh by the way the android version on my SD card is Froyo 2.2 incase this matters (I have never bothered upgrading because it works and does what I need it to do)
Many Thanks
Tony
Click to expand...
Click to collapse
Android looks at storage (and cards and file systems) differently. Assuming you created the partitions okay, you would have to use the Linux mount command (sorry, more reading).
A simpler way to accomplish your goal would be to have everything in one partition on the card. Create a folder and call it "Backup_Folder" or some other name meaningful to you. You will be able to copy/paste in Windows or Android.
Having said that you might want to read more about NAND installations when you have time. It would likely run better and give you more choices. Although a learning curve, once mastered it is as simple and safe as what you are now doing.
---
Junk: something you have kept for years, and thrown away two weeks before you need it...

upgrading from 8gb to 32gb microsd card

Good afternoon guys, there have been a lot of SS roms lately and I want to try them out. The 8gb card I used is filled up with my backups. WHen upgrading to a 32gb card, is it as simply as copying over the stuff in my 8gb to the new card including the other stuff needed to flash the new roms?
Any tips on making this as painless as possible is much appreciated. Thanks in advance for any help.
It's as simple as copying your old stuff over and inserting the card
Sent from my Nexus 5 using XDA Free mobile app
thanks chief. much appreciated.
Whenever I upgrade to a new/larger card, I prefer to make an image backup of my old card and restore the image to the new card (resizing if necessary). I use Acronis for this, but any image backup tool should work. Unlike Windows copy, this ensures that the file formats, hidden files, permissions, and everything else (except for the volume size) is exactly the same on the new card as it was on the old one. Whichever method of backup you use, don't forget to run h2testw to check your new card for errors before restoring your backed up files to it.
Once you've verified that all your important programs and data work with the new card, you'll be in a great position to make a nandroid backup (that you can always go back to) before trying out some new roms.

Categories

Resources