Replacing Old SD card. - G1 Q&A, Help & Troubleshooting

[Solved]Okay, I currently have a 2gb (don't even know the brand) MicroSD in my rooted Dream/G1. I am running SuperD 1.10.2. I have Apps2SD setup already. I just bought a PNY 4gb Class 4 MicroSD yesterday and I want to use it. How do i transfer EVERYTHING to it? And will I have to re-install all the apps that were installed on the 2gb card?
Thanks, xKr4zex

Krician said:
Okay, I currently have a 2gb (don't even know the brand) MicroSD in my rooted Dream/G1. I am running SuperD 1.10.2. I have Apps2SD setup already. I just bought a PNY 4gb Class 4 MicroSD yesterday and I want to use it. How do i transfer EVERYTHING to it? And will I have to re-install all the apps that were installed on the 2gb card?
Thanks, xKr4zex
Click to expand...
Click to collapse
The possibilities.....
You could do it the hard way or the easy way.
Hard way is by using adb and do
command prompt
adb pull /system/sd /sdbackup/sd
and partition your new card using amon_ra recovery
then
command prompt
adb shell
mount -a
exit
cd c:\sdbackup
adb push sd /system/sd
and that should do it.
Easy way
Make a nandroid backup with ext,
save the contents of you sdcard (especially nandroid folder)
partition your new sdcard with amon_ra recovery with your desired ext partition,
restore your backups from your old card,
place new card in phone,
nandroid restore and reboot.
You should be good.

Thanks for the reply. I also wanted to know, if I already have apps2sd and Linux swap enabled, do I have to disable>power off>new card>restore>re enable apps2sd and Linux?

Krician said:
Thanks for the reply. I also wanted to know, if I already have apps2sd and Linux swap enabled, do I have to disable>power off>new card>restore>re enable apps2sd and Linux?
Click to expand...
Click to collapse
You shouldn't have to re-do anything once your partitions are in place.
If your card is setup like FAT/SWAP/EXT3 (using EXT3 for example) for card 1 then as long as your partitions are FAT/SWAP/EXT3 for card 2 then everything should work just fine. Even if your swap partition is a different size it should be alright. The only thing is that if card 1 (old card) EXT3 partition is 500mb and if you are using 300mb of that card you need to have 300mb+ on card 2 EXT3 partition so that all of your data can fit on there after you do your nandroid restore.
I did this method personally when I went from a 8gb to a 16gb.
Old card was 8gb composed of ~7gb (FAT)/64mb (swap)/500mb (ext3)
New card is 16gb composed of ~13gb (FAT)/96mb (swap)/1gb (ext3)
I simply performed a nandroid+ext backup
Backed up my entire sdcard onto my desktop (including nandroid directory)
Put the new card in and repartitioned with Amon_RA recovery as posted above.
Restored the data from my backup that was on my desktop
Performed a nandroid+ext restore
Done. Very easy.
Just do it. You'll be amazed how complicated your making this.

I just did this this morning before seeing this thread and i did exactly as it says here. I only encountered one problem...My Music playlists didnt transfer how do i get those? I still have my old sd card with all the stuff in it by the way.

Thanks! Solved.

Krician said:
Thanks! Solved.
Click to expand...
Click to collapse
Remember to edit the title of your original post with FIXED or SOLVED

kalpa11 said:
I just did this this morning before seeing this thread and i did exactly as it says here. I only encountered one problem...My Music playlists didnt transfer how do i get those? I still have my old sd card with all the stuff in it by the way.
Click to expand...
Click to collapse
I think there are third party apps that will do that. I'm not sure what file that is exactly.

Related

[HELP]Apps/Data on SD: Switching to new SD card

Is it possible if I installed apps/data on SD card to switch to another card and install apps/data on it? I removed my current card and my phone stopped working. I will take help from anyone who has it.
if you want to, you should be able to copy everything to a backup folder and upload to another sd card. you need to do this in linux cause windows does not natively read ext2 partitions. shut down your phone, remove the micro sd card, put in your computer, copy everything to the backup folder, then re-partition your new (hopefully bigger) micro sd card. put back in the phone and boot it up. i have never tried this, but it should work, just as long as you have the ext2 partition the system can read from. good luck.
I agree fully with corp769. In addition, two important things to remember are:
* ext2 must be the second (primary) partition
* you must preserve UNIX access permissions by copying apps and data directories with cp -rp ! That's the reason apps on SD doesn't work without repartitioning.
* you must use a separate card reader, you cannot do this while the card is plugged into your G1. (Unless you can do some fancy mounting/unmounting stuff on the phone, that is. It's certainly easier and safer to use a card reader).
I too have never tried this, but it should work.
creid2352 said:
Is it possible if I installed apps/data on SD card to switch to another card and install apps/data on it? I removed my current card and my phone stopped working. I will take help from anyone who has it.
Click to expand...
Click to collapse
i did this on linux from a 2G card to a new 8G card .. my partitions are named so i utilize naming to distinguish one partition from the other:
make two folders on your linux desktop .. "SDD1" and "SDD2" .. the FAT32(sdd1) can be click-and-drag to the desktop folder .. the EXT2(sdd2) needs to be run inside Terminal to retain the permissions (unless someone know a better way)
ie: sudo cp -a /media/sdd2/* /home/LucidREM/Desktop/SDD2
then switch cards
ie: sudo cp -a /home/LucidREM/Desktop/SDD2/* /media/sdd2
obviously substitute your name for mine unless you call yourself "LucidREM"
In the exact same process when you have an error nfs :
In linux with the card reader
unmount both vfat and ext2 partitions and type :
fsck -p /dev/yourext2partition.
fsck.vfat -p /dev/yourfatpartition
that's how I manage to recover 2 MicroSD card
If you want to go the GUI route - go grab a copy of the GParted Live distribution. Put that on bootable media (whatever your case may be, USB or CD/DVD) then boot into GParted and use the GUI to copy and paste the partitions over. GParted will do a consistency check and fix any errors in both partitions first, then copy over into the new SD card.
Thanks a lot for the help everyone. I will give this a shot when I get home. Appreciate all the quick responses.
no prob man, just let us know if it works for you or not.
If you don't have linux, is there a program for windows or mac I can use to do this? Thanks
legaleye2005 said:
If you don't have linux, is there a program for windows or mac I can use to do this? Thanks
Click to expand...
Click to collapse
Yes download Wubi (which is like Linux in a box, and can be installed in like 10 minutes and ready to use and removed like a normal program) or download Paragon Partition Manager 9 Trial Version, it must be version 9 not 10. I recommend Wubi however, much easier, and who knows, you might fall in love with it like I did.
I tried the LucidREM instructions and it is looping on startup.
Is there a different way to do this?
Simplest Method
Just in case people still want to know how to change SD cards (ext partition and all), which I suspect will happen a lot since the 16GB cards are going to start dropping in price soon, here's the simplest and best way I know how to do it. I have done this a bunch of times without any issues. I've even used this to go from a G1 to a myTouch (with minor compatibility changes, of course). But simply changing/upgrading SD cards is a breeze.
First thing's first. You will need bart.sh which can be found here: http://forum.xda-developers.com/showthread.php?t=562292. If you are using a myTouch or simply don't want to bother typing commands, use Amon_RA's wonderful recovery menus with bart.sh already built in. The Nexus One version can be found here (http://forum.xda-developers.com/showthread.php?t=611829) but there are links to the recovery menus for the G1, myTouch, Hero, etc. on that page.
You will need to be familiar with how bart.sh works and this is way beyond this post. There is a ton of information on the bart.sh thread. So here are the steps that need to be done.
1) Run bart.sh, either in recovery console or via recovery menu, to backup your entire ext2/3/4 partition (as well as nandroid for simplicity).
2) Back up the fat32 portion of your SD card as you normally would by mounting your SD card to your computer. Make sure that this includes the new bart.sh backup which should be located in the bart folder in the root of you SD card.
3) Partition your new SD card using the method of your choice. Amon_RA's recovery menus have an easy and painless method for this but you can use parted or any other method you choose. If you use your device to partition your new SD card do NOT boot your phone after you partition the card. You will want to finish Step 4 first. Amon_RA's recovery allows you to mount your SD card from recovery to help you complete Step 4 if you do not have a SD card reader.
4) Using Amon_RA's recovery menu or an SD card reader copy the fat32 partition, which includes your bart.sh backup, from your PC to the fat32 partition of your newly partitioned SD card. From the recovery menu, restore your bart.sh backup.
5) Voila. You now have all of your partitions moved to a new SD card.
This process can be simplified into one sentence. Do a bart.sh backup and restore it to the new SD making sure the SD card has the proper partitions and that you don't forget about the fat32 partition. The above is just a list showing the proper order so that you don't lose any data during the process.

Upgrading SD Cards

G1: White (Like it makes a difference lol)
Recovery : RAs 1.3.2
Rom: MLIGN 3.0
SD: 8 gig class 2
Love MLIGN but obviously my sd is the only problem keeping my phone running smooth, so I am upgrading my SD to a class 6. Is there anything special that I need to do since my phone is already running MLIGN and RAs when I pop in the new sd? (i.e. partition?)
Thank you in advance!
you won't have apps on your ext unless you pull them on adb then push then onto the new card.
grandomegabosses said:
you won't have apps on your ext unless you pull them on adb then push then onto the new card.
Click to expand...
Click to collapse
Cant I just backup the apps on my comp, and place them on my sd card again?
chrisrodz07 said:
Cant I just backup the apps on my comp, and place them on my sd card again?
Click to expand...
Click to collapse
no because ext partition is linux, windows wont see the partition. i use paragon partition manager and just copy the partitions from my sd card
chrisrodz07 said:
Cant I just backup the apps on my comp, and place them on my sd card again?
Click to expand...
Click to collapse
If you know how to do it properly, you can
B-man007 said:
If you know how to do it properly, you can
Click to expand...
Click to collapse
Is the right way popping in the sd card, partitioning it, then adding the apps?
If it wouldnt be to much to ask, can someone take me step by step, or advise if the above method in red will work.
Thank you in advance
Well you need an ext file browser
try extfs browser by paragon
open up the ext partition on the SD. Take the folders app, app_private, and put them on your computer
partition the card, plug it in, and copy over the folders back onto the new ext partition

Switching SD cards HELP!

So I switched sd cards to a new 8gb class 6 one. I'm running mlign 3.2B right now. So what I did is I took all the stuff off the root of the card and put it in a folder on my computer. Then I opened up recovery with the new card in and put everything back on. When I rebooted it just loops at the htc screen with the android.
hiddengopher said:
So I switched sd cards to a new 8gb class 6 one. I'm running mlign 3.2B right now. So what I did is I took all the stuff off the root of the card and put it in a folder on my computer. Then I opened up recovery with the new card in and put everything back on. When I rebooted it just loops at the htc screen with the android.
Click to expand...
Click to collapse
You never transfered all the files in the ext2/3 partition over. I would make a full BART backup including the ext partition on the old sdcard, copy the files from the backup to the new sdcard, and just restore it from there to get a full copy of your ext partition back.
h.nocturna said:
You never transfered all the files in the ext2/3 partition over. I would make a full BART backup including the ext partition on the old sdcard, copy the files from the backup to the new sdcard, and just restore it from there to get a full copy of your ext partition back.
Click to expand...
Click to collapse
well instead, I just did the following: in recovery I partitioned at 128, 512, and rest, then I did ext to 3 then 4. Then I rebooted to recovery, put the rom on, wiped data, dalvik, and ext, then I flashed the rom. Then it says htc provider has stopped working, along with google maps.
Did you format the ol card?
You could do the EXT+Nandroid option in Amon_RA.
Ace42 said:
Did you format the ol card?
You could do the EXT+Nandroid option in Amon_RA.
Click to expand...
Click to collapse
well I did this just with it straight out of the box so no. Should I format it, and how?
every time I unmount the card it's fine, but once I remove the card the phone restarts.
hiddengopher said:
every time I unmount the card it's fine, but once I remove the card the phone restarts.
Click to expand...
Click to collapse
You cant take the sd out of the phone while its on b/c of swap or app2sd being active still.
Ace42 said:
You cant take the sim out of the phone while its on b/c of swap or app2sd being active still.
Click to expand...
Click to collapse
you mean sd card? and yeah I'm gonna try to use the adapter and format on the computer.
hiddengopher said:
you mean sd card? and yeah I'm gonna try to use the adapter and format on the computer.
Click to expand...
Click to collapse
Oh yeah lol, sorry about that meant to say sd card.
well now what happens is I partition, then when I try to upgrade ext it gives me an error telling me to do it using the console.

upgrading SD Card

Hey, sorry if this has been asked before (I'm sure it has, but I couldn't find anything through the search). I just bought an 8gb class 4 sd card that I'm looking to upgrade to from the stock N1 card. What exactly do I need to do to have everything run smoothly? Do I just need to copy everything from my N1 to my PC then pop in the new card and copy back or is there something special I need to do? I'm running CM 5.0.5.2 (upgrading to 5.3 after card swap) and Amon Ra 1.7.0.
Thanks for any help.
Basically you answered you own question. Only thing is are you planning to do app2sd?
Hi,
Thanks for confirming. I just wanted to make sure that I wouldn't run into any problems just copy/pasting. I was considering apps2sd but I dont use the phone for games or anything big like that so I wasn't sure if I really needed it.
Also, I'm pretty sure I need to format the new card before I copy everything back, right? Will the phone prompt/perform the format or do I need to do that from a pc?
Format the card to fat32. I use the pc to format. If you do want app2sd, the card is easily partition using Amon_Ra recovery. I would suggest to do partition now if you know this is something you want to so. Little less work now that when you have a lot on the card. This is just my view point on the matter. I love app2sd. I have 75 apps and only use 10 mb of internal memory with cm rom it is fast.
thanks for the clarification. How much space is recommended for the apps2sd partition and can it be expanded later on?
e/
I dont have a computer with an sd card reader, is there another way?
e2/
nvm, I can do it with the phone apparently
DreamScar said:
thanks for the clarification. How much space is recommended for the apps2sd partition and can it be expanded later on?
e/
I dont have a computer with an sd card reader, is there another way?
Click to expand...
Click to collapse
512mb is all you'll really need. You can use recovery and do USB mass toggle to access it. But one thing I think u might need class 6 card for ap2sd
Ok, so I've partitioned the sd card (ext-2 size 512, fat32 remainder). Do I need to do the upgrades to ext-4 or do I leave it as is?
A2SD will work with either ext2/3/4...
I'm running cyanogenmod 5.0.5.3 with apps2sd and amon_ra recovery 1.70 on a 4gb sd card planning on getting a 32gb card how do I swap this out and keep my existing ext.?

Tips After Purchasing New MicroSD Card

OK, so I just upgraded to a Transcend 8GB Class 6 MicroSD card from the stock card that was included with the phone originally.
Now, my issue is I have it partitioned for APP2SD and such for Nightlys.
If I partition the new card, I know I'll obviously take all the base data off my old card and put it on the new one. Now, all the apps and stuff on my ext3 part of the card....
Should I just:
A) Do nandroid backup +ext, put new card in and restore (I'm just taking a shot in the dark and assuming this would work)
B) Other method?
Any advice would be great
Shoot, my apologies.
I posted this in the development section by mistake. I had too many tabs open!
Well i just recently got a 32GB card. All i done was any apps i had on the sd card i moved back to the phone. Backed-up anything i had on old card (mp3s, photos etc). Plugged in new sd card, formatted it then thats about it.
Only thing that changed was beautiful widgets, but all that had to do is download some little file again.
Also, when partitioning, how much do you suggest for ext3? I was thinking about 32MB SWAP, 256MB Ext3.....ext3 is used for apps, right?
Thanks.
uoY_redruM said:
Also, when partitioning, how much do you suggest for ext3? I was thinking about 32MB SWAP, 256MB Ext3.....ext3 is used for apps, right?
Thanks.
Click to expand...
Click to collapse
personally i don't think 256 is enough. i currently have 756 and have 100mb free.
you can just do a nandroid +ext backup and it will restore it correctly as all it does is tar the sd ext directories then extract them on restore. obviously the partition has to be larger or equal in size.
i didnt partition my card at all. Is that bad? Wont the phone do it when you format it?
zok-star said:
i didnt partition my card at all. Is that bad? Wont the phone do it when you format it?
Click to expand...
Click to collapse
Are you using the FroYo FAT method or the A2EXT method?
wdfowty said:
Are you using the FroYo FAT method or the A2EXT method?
Click to expand...
Click to collapse
?? No idea, i just formatted the card via the phone. so im guessing froyo fat?

Categories

Resources