switching sd cards - G1 Q&A, Help & Troubleshooting

i have a 2gb sd card in my phone now and just bought a class 6 4gb. my phone is rooted so i need to know how to transfer my info form the old card to the new one. if i put the new one in and just partition it wont i loose all of my data since its currently saved on the 2gb card?
thanks for the help

i think if u run recovery..(speakin runnin ravs recovery)
first..
back up sd card..
reboot to recovery
pull out old sd card
put new sd card format...fat+ext2+apps2sd
then switch ext2-ext3...
plug phone to computer
run adb shell ums_enable
put your bacced up sd folder in the sd card from your comp
wipe
wipe
run chose .zip from sd re flash your rom.. cyan/or whatever you choose
then run fix_permissions
fix uik
fix ext permissions
adb shell ums_disable on computer to unmount sd
restart and see if that works..
thats how i did mine.. i dont know if its politically correct but it worked for me!

Related

App2sd with more than one card?

I installed Cyanogen´s last version, and did a ext3 partition in my sd card...
All work fine, and now I have apps in sd card, BUT...when I try to change the card for another one, the phone hangs....
I can´t activate or deactivate sd card like I did when no app2sd before change it, because the option is disabled in settings and secondary sdcard is show with all ext3 space...
I have a lot of multimedia files and need more than one sd card, so... is not possible to change the sd card when you configured the phone for app2sd?
josepz said:
I installed Cyanogen´s last version, and did a ext3 partition in my sd card...
All work fine, and now I have apps in sd card, BUT...when I try to change the card for another one, the phone hangs....
I can´t activate or deactivate sd card like I did when no app2sd before change it, because the option is disabled in settings and secondary sdcard is show with all ext3 space...
I have a lot of multimedia files and need more than one sd card, so... is not possible to change the sd card when you configured the phone for app2sd?
Click to expand...
Click to collapse
because Cm rom automatically move your app, app-private, lost+found & dalvik-cache to your SD and when you boot your phone with a different SD it will definitely freeze because you don't have you dalvik-cache in ext partition
its a chicked & egg problem. Does anybody know if the phone can be connected to a computer when in recovery mode? Because if it can't, the phone needs to be wiped everytime the SD card goes bad or you need to replace it for some reason.
If recovery console can be connected to the computer, then the card can be backed up to a folder on the computer and restored back into another card.
devsk said:
its a chicked & egg problem. Does anybody know if the phone can be connected to a computer when in recovery mode? Because if it can't, the phone needs to be wiped everytime the SD card goes bad or you need to replace it for some reason.
If recovery console can be connected to the computer, then the card can be backed up to a folder on the computer and restored back into another card.
Click to expand...
Click to collapse
You can use adb from JF's or Cyanogen's recovery, or you can mount your card manually through the recovery console:
echo /dev/block/mmcblk0 > /sys/devices/platform/usb_mass_storage/lun0/file
best thing to do is this while in recovery, use adb and type
Code:
adb shell mount /system/sd/
adb pull /system/sd/ system_sd_backup
turn off phone, change sd card, go back into recovery, then
Code:
adb shell mount /system/sd/
adb push system_sd_backup /system/sd/
RaiderX303 said:
best thing to do is this while in recovery, use adb and type
Code:
adb shell mount /system/sd/
adb pull /system/sd/ system_sd_backup
turn off phone, change sd card, go back into recovery, then
Code:
adb shell mount /system/sd/
adb push system_sd_backup /system/sd/
Click to expand...
Click to collapse
These are fired from the computer, right? NVM. figured that. Thanks for the command. A nudge in the right direction is always very helpful! Now I know, I will not be in dark if my SD card gives up on me.
Similar Problem
I've got a similar problem...
My SD card has corrupted a couple of times, so I've ordered a new one. However, I've now got round to setting up App2sd and all is working well. A few questions about swapping cards around:
Am I right in thinking that I can use the above method (adb shell commands) to copy the relevant info across to the new SD card? Assumably after it's been partitioned.
I was thinking that a Nanodroid backup and restore would do the trick - not so convinced now...?

How can i mount the sd card and connect it to my pc?

Im looking for a way to access the files on my sd card through the shell in the bootloader, i ask this becasue i dont have a compatible card reader and i need to copy some files onto the card to flash as my android wont even boot up.
I tried mounting he sd card
mount sdcard
but this just mounts the card on the android, i need it to be mounted on my system.
Any help would be greatly appreciated, Sud0x3
Is ums_enable what you are looking for?
I gave it a shot, didnt work but i just got myself a new reader.

Switching SD Cards

Hello,
I am buying a 16 GB Class 6 Micro SD soon, and i was wondering if there is anything I should do to it before putting it into my phone. Should I be worried, since the new SD card isn't partitioned, about accidentally bricking my phone? If so, what should I do to it before putting it inside of my phone?
Thanks.
1. you will loose all applications, they are stored on the sd card, so duh!. (lots of force closes)
2. you can't brick your phone by replacing an sd card.
If you want to use or already using apps2sd, you will need to partition the new card to have an EXT partition. This is where the apps will be loaded on the sd card. You can use the latest from Amon Ra (located here http://forum.xda-developers.com/showthread.php?t=5666691) to partition the new sd card.
After rebooting from the partitioning, you will need to download all of the apps from the market again. Or you can backup using a rooted back up.
If you are not using any apps2sd currently, then you only need to ensure that the new card is formatted to fat32.
Thanks, so when I get the sd card I should just put it in, boot into recovery, partition it and then re-download all the apps and I'm done?
make a backup using what you like best (nandroid, switchrom, etc.) and copy all you fat32 to your computer.
put in new sd card, create desired partitions and mount to your pc so you can copy all your old files over (this will include your backup) then unmount and unplug from pc
restore backup and you will be right back to business as usual for the most part (may lose some passwords and other small things)

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.

Strange Sd card problem

Whenever i Install an gingerbread or cm7 Rom 2.3.7 on my x8,
after it the sd card in the phone is protected against writing, only reading.
The phone dont see the SD card anymore , and on my pc it see the card in my cardreader but i cant copy and paste things from it.
When i directly connect the phone with the sd card in it to my pc via usb, the pc dont see the sd card also.
Then when i flash back to the original Rom, the SD card is back normal like writing and reading and my phone sees the card.
Also i can Copy and paste like normal.
When i flash to froyo pro 24 (2.2.9 android) the phone also see the card like normal.
Looks to me something in 2.3 android versions mess with my SD card and set it on read only...
Does someone know what this could be?
Thnx in advance,
Henk
what sd card do you have? did you try format it?
It is the standard 4gb card that was in the box from the x8.
I install the roms via this sdcard.
I also formatted it but that did not solve the problem.
there is no ''lock''on the card, and after i flash it back to the original stock rom with flashtool it shows the card with no write or read protection.
In android 1.6 ,2.1 and 2.2 till version 2.2.9 i dont have the sd card issues.
I checked mini cm shakira,
herodroid
gx stock
prime hd and 2 other roms based on android 2.3.
Some i reinstalled and full wiped after the installation but that made no difference.
(offcourse i always full wipe/factory before installing the Roms )
In''storage settings it always say:
-total space
unavailable
-Available space
unavailable
-mount Sd card
Insert a sd card for mounting
-erase Sd card
erases all data on the phone Sd card such as music and photos.
(This is the only option that is highlighted and usable, and it erases only files when i tested it, it dont format the card)
I also tried to unlock the read only protection to place the mini sd card in the cardreader but i can't find an option to unlock that protection.
It only shows the files on the card but i cant copy and paste something.
(Both in windows7 and windows xp)
Some of them are on Stock kernel and the mini cm7 on an naa kernel.
(problem with the naa kernel was that i could not update the fix after flashing the rom in xrecovery,
since right after the flash from my sd card to mm7 my sdcard was on read only and write protected........had to reinstall the stock version by flashtool again and install xrecovery again and busybox,rooting, to start after with the flashing of custom roms again.
All of them did something with the sd card that it is read only when i place it in my sd card reader on pc ,and its not visible on the phone.
With some roms i can access the sd card via cwm or xrecovery to flash an rom zip but sometimes it says it cant mount''e'',
which is my sd card.
After i flashed my phone back to stock rom via flashtool, the sd card is visible again on the phone and not read or write protected.
Also on froyo pro 24(android 2.2) i dont have this sd card problem.
Could it be that there is some kind of driver for my sd card so that my phone reconize the sd card?
I really don't know what this issue could be and im stucked on 2.2 now.
you're using 2nd ext partition?
if yes, trying to solve it and boot via cwm and format it using partition sdcard (advance > partition sdcard) you need to backup your data first
if not using 2nd ext partition, try format using this http://hard-disk-low-level-format-tool.software.informer.com/ but i'm not test it yet
maybe u must check and repair your sdcard
1. try with another sdcard
2. make sure if your sdcard format is FAT
or
3. backup your sdcard data to your pc, then format it!
it must be work
Your idea doesnt work
BlackRabbit1703 said:
maybe u must check and repair your sdcard
1. try with another sdcard
2. make sure if your sdcard format is FAT
or
3. backup your sdcard data to your pc, then format it!
it must be work
Click to expand...
Click to collapse
Maybe the ROM doesnt have the necessary drivers. Any idea on how to install them?
Go to following directory via a root explorer app:
Root/system /bin
Find this file:
Fsck_msdos
Delete & Replace with froyopro's disk checker.(same file in froyopro rom)
Yes,this is the file which scan & fix ur sdcard For errors in startup.
This must help u.
Sent From My Black DRAGON

Categories

Resources