how to replace SD card after apps2sd - G1 Q&A, Help & Troubleshooting

I did apps2sd using the stock 1GB card just to see how it works and now I'm trying to replace that card with a class 6. Is there an easy way to do that without reinstalling all the apps? I'm thinking about making a backup wiht nandroid, and then restore the image after put int the new card.
Will that work?
ROM - Cyanogen 4.0.2
Recovery - Cyanogen v1.4

A nandroid backup will not backup your apps if they are apps2sd, copy your ext partion on your computer and then transfer them to your new card's ext partion then run fix_permissions from the recovery console for any paid apps and fc, oh and wipe your rom and reflash to reset up apps2sd on your new card

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.

Related

SD card transfers

is there any way to take all my old stuff from my old class 4 and put it on my new class 6
including the ext3 partition
need to backup your ext partition?
note: these backup commands must be run while phone is booted, not recovery.
to backup your ext partition to your current directory: adb pull /system/sd/ %CD%\sdbackup
to restore back to sdcard: adb push %CD%\sdbackup /system/sd
^^this is avaliable in the forums u just hav to search around and the normal sdcard i think you just have to mount it n copy it off simple...

Moving installed apps to a new and larger microsd card?

I am running Cynogen Mod 4.1.999.
I have 3 partitions on my stock 1GB microsdhc card.
I want to backup everything and move them to a new microsdhc card that I bought.
Is it possible to transfer the data in all the partitions to the new card without losing my installed apps? I have a friend who only transferred the files that he could see in Windows Explorer to the new microsd card but when he loaded it to his phone, all his apps were gone.
So is it possible to retain what I already have but on a new and larger microsd card?
Help is appreciated.
To move apps off of ext:
adb remount
adb pull system/sd/ %CD%\whateveryouwant
(this pulls everything off of the ext including dalvik which you can delete from the folder and puts it in your user directory. *C:\Users*)
to put back:
adb push %CD%\whateveryouwant /system/sd/
sdcard you just mount and put files into a folder and put them back.
it is not necessary to pull the swap partition.
Hope this helps!
make a ubuntu live cd, run it, mount sd, copy ext partition, put new card in make partitions in gparted since you are there and then copy files over, run fix permissions
simple
The easiest way to do what you're asking is to flash to Amon_RA's latest recovery. He's built-in "Backup and Restore Tool", which essentially does what Nandroid originally did and extended it to the ext partition of your SD card.
Run BART to backup your entire phone from the Recovery Console and you can then replace your SD card, partition it the way you want, and then run BART to restore your entire phone as well.

A new SD card

My HTC Dream currently holds 4.2.5 cyan rom. I would like to change to a higher capacity SD card. Can I just plug in the SD card right away and start using? Is the 4.2.5 cyan rom installed to the phone storage or the SD card?
Do I need to first format the SD card before I use it and if so, format to what version?
are you using apps2sd? If you are not, just plug in the sd card and go. If you are, you are going to need to partition it and reflash more than likely. The rom is stored on the phone, but apps, if you are using apps2sd, is obviously on the sd card, as well as some other things that could prevent it from starting up after the switch.
Yeah using apps2SD, so how should i go about using this new SD card to my phone?
format your new sdcard and copy over all the files from the ext off the old card
Format to which format? Fat32 or?
Erm how do I copy over all the files from the ext off the old card?
Sorry, a noob here.
format the new sd card to have both an FAT32 and EXT3
to backup/restore, you can get an ext viewer such as paragons EXTfs (free) just copy and paste to the new sdcard
B-man007 said:
format the new sd card to have both an FAT32 and EXT3
to backup/restore, you can get an ext viewer such as paragons EXTfs (free) just copy and paste to the new sdcard
Click to expand...
Click to collapse
Sorry, can I check with you, how to format the new sd card to have both an FAT32 and EXT3?
This application paragons EXTfs is a windows application?
Why don't you just format your new sdcard with the Amon_Ra recovery?
Just thinking out loud here and trying to keep it as simple as possible.
Here is what I would do:
Install Amon_Ra recovery (see my signature for the link)
Go to console and enter "switchrom -s YOURROMNAMEHERE"
Wait until it finishes then reboot back into recovery again.
Mount the SDCARD to your computer and copy the directories (to include the switchrom directory) then unmount the card. No need to unplug it yet from the usb port on the computer.
Remove the old SDCARD and replace it with your new (blank) one.
While in the recovery main menu select "Partition" and then "Partition SD".
This should make your FAT32/ext2 partition.
After that has completed mount the SDCARD to the computer and copy the old sdcard data to your new card (FAT32 partition).
Unmount the SDCARD and go to console again.
Type "switchrom -r YOURROMNAMEHERE"
After it has completed then you should now have your app and app_private directories on your EXT2 parition. If you need to convert ext2 to ext3 or 4 simply select those options from the partition menu in the recovery.
If you have anything else stored to your old sdcard's ext partition just adb pull those files. (adb pull /system/sd \backupdirectory)
I think that is probably the easiest way. Just my opinion/advice.
Binary100100 said:
Why don't you just format your new sdcard with the Amon_Ra recovery?
Just thinking out loud here and trying to keep it as simple as possible.
Here is what I would do:
Install Amon_Ra recovery (see my signature for the link)
Go to console and enter "switchrom -s YOURROMNAMEHERE"
Wait until it finishes then reboot back into recovery again.
Mount the SDCARD to your computer and copy the directories (to include the switchrom directory) then unmount the card. No need to unplug it yet from the usb port on the computer.
Remove the old SDCARD and replace it with your new (blank) one.
While in the recovery main menu select "Partition" and then "Partition SD".
This should make your FAT32/ext2 partition.
After that has completed mount the SDCARD to the computer and copy the old sdcard data to your new card (FAT32 partition).
Unmount the SDCARD and go to console again.
Type "switchrom -r YOURROMNAMEHERE"
After it has completed then you should now have your app and app_private directories on your EXT2 parition. If you need to convert ext2 to ext3 or 4 simply select those options from the partition menu in the recovery.
If you have anything else stored to your old sdcard's ext partition just adb pull those files. (adb pull /system/sd \backupdirectory)
I think that is probably the easiest way. Just my opinion/advice.
Click to expand...
Click to collapse
I don't have adb installed, that's why.
bryant_16 said:
I don't have adb installed, that's why.
Click to expand...
Click to collapse
Setup ADB on your computer
Use terminal and copy the directories on your ext
Maybe consider a root file directory application (I suggest SUFBS it's a paid app but very much worth it.)
How do you setup ADB?
Compared to the earlier method, which one will be faster and easier?
Sorry, a noob here.
Look. i'm not trying to be rude but you really need to read links like:
***Informative Links*** - Read before clicking "New Thread"
and if you were to do that instead of using the "noob" excuse (hard to be a noob when you've been using this forum since 2007... but whatever. Not judging.) you would come across this:
[HOW-TO] ADB for Dummies(How-To Learner's Guide)
So... yeah. I'm finished helping for the night. Good luck. No more spoons.
So should I use adb or?
Binary100100 said:
Why don't you just format your new sdcard with the Amon_Ra recovery?
Just thinking out loud here and trying to keep it as simple as possible.
Here is what I would do:
Install Amon_Ra recovery (see my signature for the link)
Go to console and enter "switchrom -s YOURROMNAMEHERE"
Wait until it finishes then reboot back into recovery again.
Mount the SDCARD to your computer and copy the directories (to include the switchrom directory) then unmount the card. No need to unplug it yet from the usb port on the computer.
Remove the old SDCARD and replace it with your new (blank) one.
While in the recovery main menu select "Partition" and then "Partition SD".
This should make your FAT32/ext2 partition.
After that has completed mount the SDCARD to the computer and copy the old sdcard data to your new card (FAT32 partition).
Unmount the SDCARD and go to console again.
Type "switchrom -r YOURROMNAMEHERE"
After it has completed then you should now have your app and app_private directories on your EXT2 parition. If you need to convert ext2 to ext3 or 4 simply select those options from the partition menu in the recovery.
If you have anything else stored to your old sdcard's ext partition just adb pull those files. (adb pull /system/sd \backupdirectory)
I think that is probably the easiest way. Just my opinion/advice.
Click to expand...
Click to collapse
Hi there, is adb absolute necessary here?

sd card help

I have 3 files on my sd card that needs to be pushed to my EXT3. These files are from my old sd card.
Files are
app
app-private
dalvik-cache
They are currently on my fat32 partition of my new sd card.
What commands do I use in adb to push these files to EXT3 ?
Can you give the commands for terminal as well because with my new sdcard I can't boot into the Rom
For some reason also with my new sd card I can't boot into the rom even after a nanoid restore and reflash of the rom.

Least painful way of upgrading sdcard?

In a few days, I will get my new sdcard, a 16gb one. How should I go about switching it the easiest way? I run ICS and it's partitioned to 1GB ext4 storage.
Sent from my Nexus One using Tapatalk
Copy and paste? You really don't need anything more.
I backup old card to pc (copy/paste as mentioned)
then use sdformatter outside of phone to format with full erase and size adjustment on
http://dl.dropbox.com/u/28338566/SDFormatter 2.0.mht
this is a sure way to fully format card
then I put back in phone partition 1gb ext4 no swap
then copy back files from pc to card
don't know any easy way, but the best imo
If you're using SD-EXT partition and don't have access to Linux:
Complete nandroid backup in recovery (it will back up the EXT partition too).
Mount USB from recovery, copy everything from card to PC.
Power off the phone.
Remove the card.
Insert the new card.
Boot to recovery.
Partition the new card (1GB EXT4, no swap).
Mount SD in recovery, copy everything from PC to card.
Unmount card.
Full nandroid restore (it'll restore the EXT4 partition).
Reboot and you're good.
Just copying what's on your SD card to PC will leave you without booting OS and apps.
On Linux you can copy EXT partition contents to PC, and copy them to the new card after repartitioning. But if you were on Linux, you woudn't be asking...
Jack_R1 said:
If you're using SD-EXT partition and don't have access to Linux:
Complete nandroid backup in recovery (it will back up the EXT partition too).
Mount USB from recovery, copy everything from card to PC.
Power off the phone.
Remove the card.
Insert the new card.
Boot to recovery.
Partition the new card (1GB EXT4, no swap).
Mount SD in recovery, copy everything from PC to card.
Unmount card.
Full nandroid restore (it'll restore the EXT4 partition).
Reboot and you're good.
Just copying what's on your SD card to PC will leave you without booting OS and apps.
On Linux you can copy EXT partition contents to PC, and copy them to the new card after repartitioning. But if you were on Linux, you woudn't be asking...
Click to expand...
Click to collapse
Agree, a little faster way will be to backup only sd-ext from recovery and restore only it to new card.
BTW, new card is good time to get rid of old junks in sdcard. Copy only whatever is required.
anubhav77 said:
new card is good time to get rid of old junks in sdcard. Copy only whatever is required.
Click to expand...
Click to collapse
That is very true

Categories

Resources