I just got my 8gb SDHC class 6 card, but i've no idea how to backup my apps2sd ext partition over since i'm having Windoughs Se7en :X.
Anyone got any ideas?
Phone : Nexus one AmonRA root/ Enom's TheOfficial Rom
Download astro file manager n use dat to backup all ure apps...thats what I did anyways..
After that, copy everything to ure desktop
I usually use amon_ra's recovrey mode to do a nandroid+ext backup+titanium
RinTinTigger said:
I usually use amon_ra's recovrey mode to do a nandroid+ext backup+titanium
Click to expand...
Click to collapse
Best answer so far :]
Thanks everyone, i finally managed it.
But i did it without titanium.
Here's what i did :
Boot to recovery, do a nandroid backup + ext
return to phone mode, MOUNT while on USB, copy all contents out to NEW Micro SD card (Via card reader or w/e you have handy. if not, just copy it to windows first then to your NEW card after you swapped it).
After that, swap the cards (of course, the new card needs to be partitioned if you want to use APPS2SD) into the phone and start in Recovery.
Nand restore, then just start the phone as usual
Or you can use ADB:
adb pull /sd-ext/* C:\SDBACKUP
(think that's right)
This should copy all the files in the ext partition of your SD card to folder SDBACKUP on the C: drive. You can later 'push' them back using:
adb push C:\SDBACKUP\* /sd-ext/
drewstiff said:
Or you can use ADB:
adb pull /sd-ext/* C:\SDBACKUP
(think that's right)
This should copy all the files in the ext partition of your SD card to folder SDBACKUP on the C: drive. You can later 'push' them back using:
adb push C:\SDBACKUP\* /sd-ext/
Click to expand...
Click to collapse
adb pull /sd-ext/ c:\sd-ext-backup\
worked for me, havent tried pushing back
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.
I've got a new 8GB card, and I want to transfer my stuff from my 2GB card.
so they way I see it I have to:
1: backup rom using cyanogens recovery
2: backup backup onto computer
3: backup data using mybackup
4: backup this backup onto computer!
5: SDparted the sd card, (do I need to create a swap? if so how much?)
6: transfer the apps partition to the new partition using adb or terminal, (do I just use this?
To backup your sd partition:
Code:
tar -cvvzf /sdcard/systemsdbackup.tar.gz /system/sd/
and then take the file off your sdcard and copy it to your new one.
To restore your sd partition:
Code:
tar -xvvzf /sdcard/systemsdbackup.tar.gz -C /system/sd/
Or you could just adp pull system/sd \computerdirectory
then cd to computerdirectory and adb push it to system/sd again.
7: then run the permissions thing
8: install rom
9: install the backups
am I missing anything?
cheers
im having real trouble with this guys!
i formatted the sd card, parted it, put all the stuff that was on the 2GB card on the newly partitioned 8GB, but i still cant get the ext3 partition backed up.
i cant seem to use terminal i just get adb:not found
can someone give me the terminal commands please!
thanks
do u have ubuntu if u do u can just copy everything off of ur old ext3 then paste to the new one
no im using windows vista.
I got it to work in the end but it didnt copy all of my apps!
Well that stinks
Doesn't ubuntu sound like an ethnic dish?
It's yummicous and is key to getting your computer's daily value of essential vitiams and minerials
Or.........
A ubuntu a day keeps the windows viruses at bay
Just a thought
Im really strugling here!
i've backed up my ext3 partition using adb.
i'm putting this ext3 partition on my new card, but its seems to be stalling when getting to the dalvik cache, its not doing anything after this.
also when I restarted my phone (thinking it might have finished) i get FC's on some of my apps.
i ran the fix_permissions script but it doesnt seem to be helping.
any ideas??
Put back in old card, appmanager or backup for root users, backup the apks
Put in new card, clean off your ext3 and reinstall apks using either of the before
mention apks
thanks man!
all sorted!
i like it when people say that there problem is solved. It makes you feel all warm and tingily inside, opps wait. nevermind i just have to pee
gridlock32404 said:
Well that stinks
Doesn't ubuntu sound like an ethnic dish?
It's yummicous and is key to getting your computer's daily value of essential vitiams and minerials
Or.........
A ubuntu a day keeps the windows viruses at bay
Just a thought
Click to expand...
Click to collapse
lol both r very true. i had it on my pc b4 it died becuase of lame as windows. a soon as i buy a new laptop, netbook, or pc guess what will be my os of choice
Hey I am in the same boat, windows chewed up my power supply so it was already messed up before I put on ubuntu. Now I am burned out so my choice of os is gonna be the same as yours
I have had my g1 for about a year now and I rooted it a few months ago. I've been trying to update the rom but everytime I try to format the sd card on my pc it says no disk found in drive F. I have tried it on other computers. I tried it via usb and a card reader. When I put update.zip into the root folder it says it cant find it. Please someone help! I need my phone to be amazing again!
Is the card formatted in Fat32?
Yeah its formatted to Fat32
you have to assign the a sd card a drive letter.
assign the sd card a drive letter.
How do I do this?
Well I just assigned it a letter and the same thing happens. I really am stuck.
What are you trying to update from? What update are you trying to apply? What recovery are you using? Do you have a file manager on your phone like androzip? If you can answer some questions, you may have a few workarounds....
xxwigglesxx said:
I have had my g1 for about a year now and I rooted it a few months ago. I've been trying to update the rom but everytime I try to format the sd card on my pc it says no disk found in drive F. I have tried it on other computers. I tried it via usb and a card reader. When I put update.zip into the root folder it says it cant find it. Please someone help! I need my phone to be amazing again!
Click to expand...
Click to collapse
You could try doin it with your phone (since you said you're rooted) using recovery
If you're using Cyanogen's recovery there's a good guide on androidandme.com
http://bit.ly/61CXFo
If you're using Amon_Ra's recovery I think it's automated, I've never used it before but from what I understand the you have the option to do it from the recovery menu
I'm currently running cyanogen mod 4.1.11.1 I'm not sure of the recovery image and I am trying to update to the next version of cyanogen. I think it might be a problem with my phone :S I really dont know. I have looked online and nothing seems to work I can put any update onto the sd card but when I try to update on my phone it says the file doesnt exist
it should say what recovery you are using in the recovery screen.
connect to wifi spot, download the new amon ra recovery, and move it from the download folder to the root of the sdcard using androzip (from the market).
follow the steps to flash the new recovery in the amon thread.
the next steps from there are up to you.....you can try to repartion your card using the menu option in recovery and then try to mount your g1 to your computer in the recovery menu. the recovery will allow you to choose what size partitions you want (fat32, ext, and swap) and do all of it for you. very handy.
once you get it to mount to your computer, you're in business.
if you think your card is ok as is, you could always download the htc file and cm4.2.6 directly to your g1, move them from download folder to sd root, wipe everything and flash.
either way, if you run into problems with your card, you maybe without phone until you get a good card.
good luck
Hey thanks for the great replies. Still no luck though I downloaded the amon ra recovery image and did what it said but when on the terminal emulator I type mount -a and it says 'mounting /dev/block/mmcb1k0p2 om /system/sd failed: no such file or directory'
Bump! PLEASE HELP ME
Ok so I rooted and flashed the recovery image. Now I want to apply the MoDaCo Custom Hero ROM. Whats the easiest way to partition the SD card to allow apps2SD?
When I was in the recovery mode there were partition options can it from there or do I have to go on the desktop and use the cmd prompt?
Just use the partition option in recovery.
Thank you for the quick response
hmmm apps2sd is not working. I got the Rom to work fine but before i flashed the rom I partitioned fat32+ext2+swap in the recovery screen so I can have apps2sd access and it does not work
Ok got the Apps2sd to work, but how can I see both partitions. I can't can only see the update.zip folder, footprints. and some other file but my music and photos are nowhere to be found and the Nanodroid back up. I did copy the nanodroid back up to my phone, but should it still be there on the main partition? Help please.
justin24 said:
Ok got the Apps2sd to work, but how can I see both partitions. I can't can only see the update.zip folder, footprints. and some other file but my music and photos are nowhere to be found and the Nanodroid back up. I did copy the nanodroid back up to my phone, but should it still be there on the main partition? Help please.
Click to expand...
Click to collapse
As should be obvious, partitioning the sdcard erased what was there.
2 things
1. Windows won't see that EXT3 Partition, it's not support by Microsoft.
2. The format to FAT SWAP EXT wipes the ENTIRE CARD, nandroid backups included.
I do an Nandroid anytime I go to mess with something in Shell or load a ZIP. Here in the past few days it seems like I do 2 or 3 a day lol.
More than likely you have a card larger than 2 gigs and the backups seem to be realativly small. I copy all of mine to a folder on my computer and Rename them with a small descript of the Rom build and Date. So I know what it is I can load back.
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!