Want to try different ROM on my card but don't want to lose my present cm7 image. I thought I read that you could use win32diskimager to make an image that could be put back on but I don't seem to be able to. When I mount my card to my PC and ask win32 to read I get an error 8 message.
Is their some other free software that accomplishes this?
Pu the SD in the reader, open win32imager, select a directory and a file_name for your image, e.g. myimage.img, select the driver with the SD, read. It will create the image in the location you specified.
dd if=/dev/sdc of=cm7-sth-MMDDYYYY.img
AKross said:
Pu the SD in the reader, open win32imager, select a directory and a file_name for your image, e.g. myimage.img, select the driver with the SD, read. It will create the image in the location you specified.
Click to expand...
Click to collapse
Thanks worked fine after I gave it a directory & filename. Not the most intuitive software but free and it works.
GTT1 said:
Thanks worked fine after I gave it a directory & filename. Not the most intuitive software but free and it works.
Click to expand...
Click to collapse
I did this on my 16GB SD card and the image is only 4GB. I suspect it's only one partition. I am still looking into it.
Related
I'm currently using a 2GB MicroSD card with an apps2SD partition (Ext2) and a storage partition (FAT32)
I have a 4GB card that I'd like to move everything to. I could surely partition it the same way I did my 2GB card, but then it would be a blank, partitioned card. What's a good way to get all my apps and such moved over, as I'm running windows (which won't read the Ext2 partition)
Would Norton Ghost do it?
no try Ext2IFS_1_11a
can't remember where it is: if it doesnt work DL linux and boot into it from disc (no need to install) and copy onto disc from there...
Use linux.
plug in uSD card, do NOT mount. If it automounts, UNMOUNT it. Check device name "tail dmesg".
If device name is for example, sdb, then copy contents to hard disk;
"dd if=/dev/sdb of=~/sdbackup" -- this will create a file in your home directory called "sdbackup".
pull card, insert new card. If it mounts, unmount it. Again check device path.
"dd if=~/sdbackup of=/dev/sdb"
Now pull card, the data on the new card mirrors the old card. Plug back in. Note: we pull and then reinsert to make sure that the kernel reloads the partition table. There are other ways of forcing this, but this is the easiest and most fool-proof.
You have unpartitioned free space at the end of the card.
Use a combination of "parted" and "resize2fs" to resize/move partitions, or just use gparted to handle these operations graphically.
jook11 said:
I'm currently using a 2GB MicroSD card with an apps2SD partition (Ext2) and a storage partition (FAT32)
I have a 4GB card that I'd like to move everything to. I could surely partition it the same way I did my 2GB card, but then it would be a blank, partitioned card. What's a good way to get all my apps and such moved over, as I'm running windows (which won't read the Ext2 partition)
Would Norton Ghost do it?
Click to expand...
Click to collapse
Thanks for your help.
lbcoder said:
Use linux.
plug in uSD card, do NOT mount. If it automounts, UNMOUNT it. Check device name "tail dmesg".
If device name is for example, sdb, then copy contents to hard disk;
"dd if=/dev/sdb of=~/sdbackup" -- this will create a file in your home directory called "sdbackup".
pull card, insert new card. If it mounts, unmount it. Again check device path.
"dd if=~/sdbackup of=/dev/sdb"
Now pull card, the data on the new card mirrors the old card. Plug back in. Note: we pull and then reinsert to make sure that the kernel reloads the partition table. There are other ways of forcing this, but this is the easiest and most fool-proof.
You have unpartitioned free space at the end of the card.
Use a combination of "parted" and "resize2fs" to resize/move partitions, or just use gparted to handle these operations graphically.
Click to expand...
Click to collapse
Are these directions explicit/comprehensive? Will I need to partition first? I don't know very much at all about linux, but I've got an ubuntu cd downloading. I've poked at it a little before - I can at least get a terminal and follow your directions, if this is all there is to it.
edit
I'm trying copying things manually in ubuntu's file.. explorer.. thingy. Then I'll partition the new memory stick with gparted and copy the files there.
This seems more natural to me, since I'm not familiar with command-line operations much anyway. Personally, I don't see why it won't work.
edit again:
I don't have permission to copy the folders "app" "app-private" or "dalvik-cache"
How can I do this?
edit edit again
google found me a "sudo nautilus" command which seems to open a file browser window with more permissions. I still can't actually copy the folders I mentioned before, but I recreated them in my backup location and I can copy the contents. Maybe this will take care of it.
update:
nope, that worked for "app" and some (but not all) of "dalvik-cache" but not "app-private"
How do I gain permission to copy it?
I'm willing to go back to the terminal, but I get an error on the tail command. There's nothing found, or somesuch. Sorry, I meant to copy the message exactly but I forgot before I rebooted the computer I was doing it with.
Can anybody help me out a little more with this?
The error I get right off the bat is "tail: cannot open 'dmesg' for reading: no such file or directory"
The only access to linux I have is an ubuntu live CD
Code:
To run a command as administrator (user "root"), use "sudo <command>".
See "man sudo_root" for details.
[email protected]:~$ tail dmesg
tail:cannot open `dmesg' for reading: No such file or directory
[email protected]:~$ _
MontAlbert said:
no try Ext2IFS_1_11a
can't remember where it is: if it doesnt work DL linux and boot into it from disc (no need to install) and copy onto disc from there...
Click to expand...
Click to collapse
How do I make use of this? It sounds like it should make Ext2 partitions appear in Windows Explorer just like anything else...
I installed it, but the Ext2 partition still doesn't show when I plug in the SD card. Do I need to do something particular?
I have rebooted.
Can anyone please give me more information on this, please? I've been poking at it different ways and still can't get it to work. Who knows something I don't?
jook11 said:
Can anyone please give me more information on this, please? I've been poking at it different ways and still can't get it to work. Who knows something I don't?
Click to expand...
Click to collapse
Code:
dmesg | tail
All the information to do this has been stated in this thread by now.
Any way to transfer Froyo from one SD card to another?
I would like to move it to a larger card but on my mac only 2 partitions mount but would love to put it on different device
Can this be done with adb?
is there a tool?
For windows you can use Win32DiskImager. You just select the letter of the drive containing the sd card (must be on an sd reader, not nook itself).
For linux you can use the command dd. You just have to do:
dd if=/dev/sd"letter of mount point here" of=/home/User/Desktop/SD_Backup.img
(to check for the letter you can use gparted, it can be gotten from the synaptic package manager if running ubuntu)
As for Mac, i have no clue. That being said you can easily download an Ubuntu live cd and use that to back it up
MattJ951 said:
For windows you can use Win32DiskImager. You just select the letter of the drive containing the sd card (must be on an sd reader, not nook itself).
For linux you can use the command dd. You just have to do:
dd if=/dev/sd"letter of mount point here" of=/home/User/Desktop/SD_Backup.img
(to check for the letter you can use gparted, it can be gotten from the synaptic package manager if running ubuntu)
As for Mac, i have no clue. That being said you can easily download an Ubuntu live cd and use that to back it up
Click to expand...
Click to collapse
How do I know the mount points? Can I just make one. Img file that will expand to the 4partitions?
From 1.1 Nook Color with 1.1 ghz overclock
Load up gParted once in ubuntu, in the top right it will have an arrow pointing down that lets you switch physical Hardrives (or in our case an SD card). Unless you have multiple HDD that are 2GB or 4GB (whatever size your SD card is) it should be easy to be able to find which one is the SD card. It will be /dev/sdX where x is the letter its mounted under.
Once you get that letter open up a terminal and type
dd if=/dev/sdX of=/home/"You User Name Here, exclude quotes"/Desktop/Backup.img
again, where X is the mount letter
Once it's done it you will have all 4 partitions backed up into one img file, so once you wish to restore it you just type
dd if=/home/"You User Name Here, exclude quotes"/Desktop/Backup.img of=/dev/sdX
(and again, X being the mount letter)
If you just wanted to say backup your /system partition you would do
dd if=/dev/sdX2 of=/home/"You User Name Here, exclude quotes"/Desktop/Backup.img
no number = backs up entire card
1 = backs up boot
2 = backs up system
3 = backs up data
4 = backs up media (stuff that your nook see's as being on the sd card such as what you download from a browser)
Canadoc said:
How do I know the mount points? Can I just make one. Img file that will expand to the 4partitions?
From 1.1 Nook Color with 1.1 ghz overclock
Click to expand...
Click to collapse
Is there a way to make a working backup (that can be recopied to a different card) without switching out of Windows Vista 32 bit? The backups I made with Win32DiskImager or WinImage don't let the NookColor get any farther than the flashing 'android_' screen at start when I copy them to a different card.
Try packing your boot, system, data and sdcard partitions into a .img file then use winimage/win32 or dd to write the image to a new sd card. (Kinda like making your own custom ROM image.)
RileyGrant said:
Try packing your boot, system, data and sdcard partitions into a .img file then use winimage/win32 or dd to write the image to a new sd card. (Kinda like making your own custom ROM image.)
Click to expand...
Click to collapse
@ RileyGrant - Thanks for the quick reply. I haven't done much coding in years and the Nook is my first attempt at rooting/roms/etc (better to brick a $250 toy than a $500 one...). Anyway, I don't have any problems following instructions - can you point me to somewhere that would explain the above procedure in more detail?
Thanks!
ShadowKatcher said:
Is there a way to make a working backup (that can be recopied to a different card) without switching out of Windows Vista 32 bit? The backups I made with Win32DiskImager or WinImage don't let the NookColor get any farther than the flashing 'android_' screen at start when I copy them to a different card.
Click to expand...
Click to collapse
I have the same problem. I 'm trying to move froyo to a 16GB sdcard but it keeps getting stuck on the "Android_" text. Any advice?
You probably failed to reproduce system permissions while copying files.
An easy way of transfering a working OS from one SD to another would be to:
- Download my USB mass storage utility in dev forum
-Install it
- Mount each partition of your SD to your PC, one at a time.. And do the following for each of them:
- Make tar/zip files of partition content
- Then uncompress the files on each new partition of the new SD..
Don't forget to expand 4th partition for maximum SD capacity...
Sam
Sent from my HTC Desire using XDA App
Worked like a charm! Thanks Sam!
Need to have better/clearer instructions on the win32diskimager software to write autonooter to sdcard. Things I did:
1. 16gb microsd card in laptop via sd card adapter.
2. dl autonooter 3.0, unzaipped in seperate folder on desktop(124,627kb size img file)
3. dl win32diskimager-RELEASE0.2-r23-win32, unzipped
4. double click Win32DiskImager.exe under the unzipped folder
5. I select the aformentioned autonooter img file and the program automatically selects my sdcard, in my case g:
6. I click "write"
7. I get a Confirm overwrite message "Writing to a physical device can corrupt the device. Are you sure you want to continue?" I click Yes.
8. Write Error message appears- Not enough space on disk.
wha???
I am confident that I am doing something wrong in the whole windiskimager process, as the process was never explained very well. For example, when you go to the page to dl the win32diskimager there are 4 files 2 win32 files and 2 source files. One each for a .2 release and a .1 release. ok...wtf? what do I use? how do I use them etc etc etc.
It just seems to me that this particular step in the process could stand a little more clarification/simplification. just saying.
Thanks.
I had the exact same issue, someone told me that it might have something to do with using a built in SD card reader to your laptop, like I was using. He said that he tried that and an external reader with win32diskimager, and that the external usb reader worked fine.
I was able to work around this by using the method that involved WinImage instead of win32diskimager...I don't have the instructions on me at the moment but if you look around you may be able to find them.
rohit275 said:
I had the exact same issue, someone told me that it might have something to do with using a built in SD card reader to your laptop, like I was using. He said that he tried that and an external reader with win32diskimager, and that the external usb reader worked fine.
I was able to work around this by using the method that involved WinImage instead of win32diskimager...I don't have the instructions on me at the moment but if you look around you may be able to find them.
Click to expand...
Click to collapse
Actually you might just want to have both. I've the same thing happen with WinImage and had to use Win32DiskImager. As long as I don't run into both having the error, I'm good
Folks, I am trying to root my NC for the first time. I am following the instructions found here:
http://forum.xda-developers.com/showthread.php?t=942424.
I cannot get WinImage to write to the disk. I downloaded auto-nooter-3.0.0. It is about 125 Meg when unzipped. I open Winimage just fine, and point to the .img file. When I try to do the "Restore Virtual Hard Disk Image", it asks me for a VHD file. I checked all the folders I installed, and cannot find a .vhd file anywhere.
I did point it back to the image file and it says it cannot write it because the file is in use...
I also tried the alternate windows application, Win32ImageWriter. No good. It errors out as well. Gives me an undocumented error code: error 8.
There must be something wrong with my setup, but I cannot figure out what it is. I have a brand new MicroSD card, 8GB. The card is visible in windows explorer and it shows empty...
Any help would be appreciated.
Jim
Error 8 means you have to run win32imagewriter as administrator.
Using Win Image 32
Jim,
EDIT: use whatever version of Clockwork Mod that is recommended for the purposes that you are trying accomplish. The one I listed below may not work with what ever you are doing.
I had similar issues when I started to use it, also.
The following is info from another post I made on installing a rom to the Nook. Formatting the XD card with SD Formatter 3.0, and then using version 0.1 of Win Image seemed to be the answer.
A) Download the following software to your PC/MAC for formatting your XD card. This is the best one that I have found.
SD Formatter 3.0 for SD/SDHC/SDXC:
- Format your XD card. This step is very important to correctly write the EXT4 compatible bootable SD recovery.
B) You will need “Image Writer for Windows”
- I found that the “0.1 (truckstop) release” worked the best. The newer version seemed to always have some problem.
- Paste the unzipped folder to you C:\ directory. Put the EXT4 compatible bootable SD recovery file in the same folder. This will help prevent issues. This software is originally intended for a Linux environment and thank you to the developer for making it compatible with Windows.
- Make sure that the chosen device is your XD card. It automatically selects the correct one, but you never know. Go to “my computer” in windows and check to see what Letter has been assigned.
- Choose the EXT4 compatible bootable SD recovery file from Image writer directory.
- Click the “write” button. This will take a few minutes to finish.
- Now you can copy misc files to the flash drive. It is ready to boot your Nook into Clockwork Mod Recovery.
They don't trust me yet on this site, so I cannot post links to other sites. The required links are in my original post: http://forum.xda-developers.com/showthread.php?t=997764
Let me know it this helps.
SUBCAN
Solved: cannot write SD image
solved...
Thanks to both Subcan and n1bsbri for the replies. The one that put me on the right track was N1's statement that I had to run as admin. I was running as admin, but obviously I did not have write permission. I then just tried to write something to the card using dumb old windows explorer and found that the card was write protected.
I am embarrased to admit it took me hours to find a post that highlighted the fact that on some microSD adapters you had to tape (yes, good old Scotch Tape) over the switch to get it writeable. I did that, wrote the card, and the NC booted right up.
I cannot begin to tell you how many bad words it took me to figure that out...
Thanks to both of you for your replies. I am very new at this and I know I will have more questions... thanks for getting me over the hump!
Jim
Okay I'm a newbie wanting to root and uinstall CWR but have been confused after reading several How to's. My S7 came with v2.2 and I received and installed v3.2 on the first day.
I read a post mentioning this link: http://www.androidcentral.com/dell-streak-7-getting-bugfix-update. I "thought" that I followed the simple instructions but maybe not! I downloaded the file, renamed it "update.pkg" and while connected to my PC copied it to the root of my S7.
I put the S7 into recovery mode, selected install update.pkg from sdcard. Now this is where some of the confusion starts. While connected to my PC, nothing is refered to as a sdcard and I don't have one installed.
Okay back to the install. The S7 errors with four lines of text. It's looking for either "update.pkg" or "update.zip" with a file path: /mnt/sdcard/sdcard2/. I forget the exact wording but it's something like Failed or Can't Mount followed by the file path.
This left my S7 only booting to the Dell Logo and unable to connect to my PC beacause it wouldn't boot up. I had to do a factory reset which surprised me going back to v3.2 and not v2.2.
The file path mentioned above appears to show that it was looking for either file in the sdcard2 folder which is inside the sdcard folder. I had and since reinstalled the File Expert app which shows /mnt/sdcard/ and /mnt/sdacrd2/ or sdcard2 as a seperate folder not nested within the sdcard folder. Here again, the term/name "sdcard" is used and I don't have one. Is "sdcard" used to refer to the 16GB of internal memory? I assume so.
I'm not sure now if I would have used File Expert to copy "update.pkg" to the sdcard2 folder that I may have worked or not? On the linked page above, you see that I posted a comment about the problem and there is also another person has a screwed up S7 now too!
EDIT:
Nope, sdcard2 is indeed the optional sdcard slot which is empty and File Expert just errors.
When you boot into recovery and you are at the main menu with all the different options, choose the option to update from "internal" sdcard. The key is "internal" sdcard.
Sorry to not be more specific but I don't have my DS7 handy.
Good luck.
nagahtom said:
When you boot into recovery and you are at the main menu with all the different options, choose the option to update from "internal" sdcard. The key is "internal" sdcard.
Sorry to not be more specific but I don't have my DS7 handy.
Good luck.
Click to expand...
Click to collapse
I believe that there was only one option to install the update.pkg from but the point or question is, where is it looking for the file at? It appears that it's looking on the sdcard2 which isn't there!
This makes me wonder now, when a procedure states to put a file on your sdcard, just actually what are they refering to? The internal memory sdcard or an optional plugged in sdcard?
They are referring to the removable sdcard. If you don't have one, I'd suggest picking one up. It doesn't have to be a 32GB or even a 16GB. Then, put the update.pkg file on the root of that SDcard.
The filesystems can be very confusing on the DS7. Try it with a removable SD card and you should have better luck.
nagahtom said:
They are referring to the removable sdcard. If you don't have one, I'd suggest picking one up. It doesn't have to be a 32GB or even a 16GB. Then, put the update.pkg file on the root of that SDcard.
The filesystems can be very confusing on the DS7. Try it with a removable SD card and you should have better luck.
Click to expand...
Click to collapse
Yeah, why refer to the internal memory as sdcard?? The procedure for installing this update doesn't mention that an optional sdcard must be used either.
There's another thread where they appeared to have done that and it still failed! I may just wait till Dell puts it out OTA.