hi guys i have a sd card that i formatted with two partitons fat32 and ext/3 and i want to add a swap partiton just incase i want to run a hero rom in the future. i have apps to sd so all of my apps are saved to the memory card so i was wondering if i could add a swap partiton without having to format sd card which reuslt in in me losing all my apps. thanks in advance.
djosiah said:
hi guys i have a sd card that i formatted with two partitons fat32 and ext/3 and i want to add a swap partiton just incase i want to run a hero rom in the future. i have apps to sd so all of my apps are saved to the memory card so i was wondering if i could add a swap partiton without having to format sd card which reuslt in in me losing all my apps. thanks in advance.
Click to expand...
Click to collapse
You can always make a backup of your ext partition and just reformat your card.
supremeteam256 said:
You can always make a backup of your ext partition and just reformat your card.
Click to expand...
Click to collapse
That's probably the easiest solution.
In the recovery console type:
cd sdcard
mkdir app
mkdir app-private
cp /system/sd/app/* /sdcard/app/
cp /system/sd/app-private/* /sdcard/app-private/
Your apps are now on your Fat32 partition, so copy everyrthing in your Fat32 to a folder on your computer. Use parted or whatever you want to add the partitions you want and copy everything back to your fat32
Go back to the recovery console
mount -o rw /dev/block/mmcblk0p2 /system/sd
cp /sdcard/app/* /system/sd/app
cp /sdcard/app-private/* /system/sd/app-private/
And you're done
AdrianK said:
That's probably the easiest solution.
In the recovery console type:
cd sdcard
mkdir app
mkdir app-private
cp /system/sd/app/* /sdcard/app/
cp /system/sd/app-private/* /sdcard/app-private/
Your apps are now on your Fat32 partition, so copy everyrthing in your Fat32 to a folder on your computer. Use parted or whatever you want to add the partitions you want and copy everything back to your fat32
Go back to the recovery console
mount -o rw /dev/block/mmcblk0p2 /system/sd
cp /sdcard/app/* /system/sd/app
cp /sdcard/app-private/* /system/sd/app-private/
And you're done
Click to expand...
Click to collapse
ok thanks for the help
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...
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?
hi there,
just got my nc in the past few days and have hc v4 flashed to the emmc, runs great and love it. however, there is one quirk that bugs the hell out of me -- i have a samsung vibrant, which has an internal sd and a slot for an external. the internal is mounted as /sdcard and the external as /external_sd. this is great bc you dont need the external inserted to use apps that require sdcards.
is anyone aware of a way to get our /media mounted or symlinked as /sdcard instead? (or even as a subdirectory under /sdcard). i tried everything last night, from running mount commands under terminal emulator (kept telling me my syntax was wrong when it wasn't), trying symlink (told me operation not allowed), editing /etc/vold.fstab (no dice)... i think part of the issue is that the internal eMMC is mounted as /media in the actual /init.rc script.
is there anyway for me to preempt the init.rc or and trick the OS into seeing /media under /sdcard? I have a 256MB sdcard inserted to shut up the apps that require sdcards, but i would rather use my internal storage with those (since it's there for that reason...)
any ideas?
solution is here:
http://forum.xda-developers.com/showthread.php?t=966339
I am using honeycomb rom, and booting from an 8gb sd carb. When i use astro to browse the file structure, i do not see anything in /media/ and i don't see the memory in /dev/ (though there are many files.) I have the hidden files visible.
Is the internal memory (the actual physically unremovable memory, not the ) just inaccessible when you boot from the sdcard? or what is it called?
I am using CM7 instead of honeycomb. The internal memory under CM7 is mounted to /emmc/ instead of /media/.
Hm, there is no /emmc/ directory...
From memory media isn't mounted on boot on HC-sdcard.
You'll have to use the following commands in terminal emulator on each bootup:
su
mount /dev/block/mmcblk0p8 /media
Sent from my Desire HD using XDA App
samuelhalff said:
From memory media isn't mounted on boot on HC-sdcard.
You'll have to use the following commands in terminal emulator on each bootup:
su
mount /dev/block/mmcblk0p8 /media
Click to expand...
Click to collapse
I'm from the Linux world, so this may be misguided, but can you add entries to /etc/fstab or its equivalent to always mount the emmc partitions?
Dennis