Help switching SD cards, transfering EXT2 files to new card. - G1 Q&A, Help & Troubleshooting

Ok.. I feel like a noob right now, Maybe cause its late. I didnt have a issue finding the thread and info via google and here from when I switched from my 1GB to my 4GB using Ubuntu and terminal. Now for the life of me I cant find either info. Sigh.
I know I used terminal to copy the files with cp -a I think it was to the desktop and then back over to the new card. I tried using cp -a but had some errors pop up so Im thinking maybe I did it wrong. Did it with su as well. Anyways anyone able to help me real quick what was the terminal command to transfer the files to my desktop then back onto a new sd card? I wanna get to bed and sleep lol. Just wanna get out of my Class 2 and Goto 6
Edit: Ok nm found it finally.
http://forum.xda-developers.com/showpost.php?p=3522300&postcount=4 Good Ol Lucid. =D Ignore the post thanks.
Edit again: Same issues, I get error messages like this.
cp: cannot access `/media/disk-2/data/com.weathertopconsulting.handwx': Input/output error
Any ideas on that one?

Related

questions on nandroid and new sdcard...

ok so im on the latest JF rom with appstosd. everything is working great and i'm actually on the stock sd card partioned obviously. I was wondering, if I buy a bigger SD card and partion it, how would i go about making this new sd card exactly like the old sd card? would I make a nandroid backup of the old sdcard and then restore it on the new sdcard? could someone help me with this? is there extra steps i need to take to make the new sdcard just like the old one?
Thanks,
Boricua_Ace
Please try and search before posting a new thread. We all had to read way more than we wanted to figure this stuff out, there's no reason you shouldn't either.
To answer your question.
NANDroid doesn't touch your sdcard except to place the backup of your phone on it. You'll need a linux machine or adb to do what you want. If you're using linux it should be self explanatory. If you're using adb, try this:
adb pull /system/sd/app app
adb pull /system/sd/app-private app-private
reformat your new card using whatever method you used for the stock card.
adb /push app /system/sd/app
adb /push app-private /system/sd/app-private
i did search for what i was looking for specifically but need not come back with good results. thanks for the info! and i do not have a linux machine so i will be using adb which i have.
after i do those steps, do i then restore a backup from nandroid on the phone? i would also have to use apps2sd app again correct? and do i also moved everything from the Fat32 to the new sd card?
If all you're doing is replacing the sdcard and not wiping your phone (alt-w), then those are the only steps you'll have to take.
Considering all of the hybrid ways to get apps2sd i can see how this could be confusing. I'd suggest using just the sdsplit script to repartion/format your card since you probably used marcusmaximus's app to do it all initially.
Oh, and yes, you'll need to copy the stuff off of your fat32 and move them to a tempory folder on your pc too. Just copy it all back manually once it's repartitioned.
great thanks! i actually used partion manager to partion the old card. So i'll do it that way again. works for me. just wanted to make sure i dont miss any steps. i will not be wiping the phone. i'll also have to adb the dalvik-cache since i do have that on the old card correct?
No point in moving dalvik-cache since it will recreate itself anyway.
Just make sure, if you're using unionfs instead of symlinks, that you create the /system/sd/dalvik-cache directory before you reboot your phone.
thanks for all your help and patience in answering my questions. really appreciate it.
last question, im using the old appstosd app not appstosd 2 app. i believe this app uses symlinks correct?
boricuaace said:
last question, im using the old appstosd app not appstosd 2 app. i believe this app uses symlinks correct?
Click to expand...
Click to collapse
Unfortunately, I don't remember. I think that's correct, but you'd have to read through that thread to be sure.
I don't think symlinks are that picky and creating the /system/sd/dalvik-cache directory before you boot the phone with the new card will work in either case.
Someone should correct me if I'm wrong.
great, thanks again!
no problem. Good luck.

Apps2sd - read only file system

Hey guys,
I'm new to rooting my G1 but definitally not new to modding my electronics. I'm trying to set up my apps2sd but i'm having a little trouble. Trust me, I searched, I'm not a forum noob. My sdcard is already formatted in FAT32. I check my sdcard in settings on my phone and it shows almost 8gigs of available space and another area that says "sd card secondary" - unavailable.
I've looked at some tutorials and the first steps usually include typing this into Terminal Emulator.
su
mkdir /system/sd/app
I do this and this is what I get.
mkdir failed for /system/sd/app, read-only file system.
What seems to be the issue? Can I just mount the SDcard on my laptop and get on it and make a folder "system", then inside that folder "sd", and in that one "app"? Is this the manual way of doing it? Any help is greatly appreciated. I know you guys probably deal with stupid questions all the time. Thanks in advance.
Please read the stickies before posting. This should be in the Q&A forum.
Sorry I will post in the Q & A forum. Thanks for the good info, cleveland.
paolovazquez said:
Hey guys,
I'm new to rooting my G1 but definitally not new to modding my electronics. I'm trying to set up my apps2sd but i'm having a little trouble. Trust me, I searched, I'm not a forum noob. My sdcard is already formatted in FAT32. I check my sdcard in settings on my phone and it shows almost 8gigs of available space and another area that says "sd card secondary" - unavailable.
I've looked at some tutorials and the first steps usually include typing this into Terminal Emulator.
su
mkdir /system/sd/app
I do this and this is what I get.
mkdir failed for /system/sd/app, read-only file system.
What seems to be the issue? Can I just mount the SDcard on my laptop and get on it and make a folder "system", then inside that folder "sd", and in that one "app"? Is this the manual way of doing it? Any help is greatly appreciated. I know you guys probably deal with stupid questions all the time. Thanks in advance.
Click to expand...
Click to collapse
You might want to search some more. If you only have a FAT32 parition you are never going to make Apps2sd work. You might get apps to vd working if that is the route you want to go. Seriously, there are 20 threads on this topic. I wouldn't say anything but you pulled the I know what I'm talking about card.
What ROM are you running? If it says "secondary card unavailable" you are probably using a modded ROM and not one of the copies of a carrier ROM. That means that apps 2 sd is most likely automated if you setup your SD card correctly.
paolovazquez said:
Hey guys,
I'm new to rooting my G1 but definitally not new to modding my electronics. I'm trying to set up my apps2sd but i'm having a little trouble. Trust me, I searched, I'm not a forum noob. My sdcard is already formatted in FAT32. I check my sdcard in settings on my phone and it shows almost 8gigs of available space and another area that says "sd card secondary" - unavailable.
I've looked at some tutorials and the first steps usually include typing this into Terminal Emulator.
su
mkdir /system/sd/app
I do this and this is what I get.
mkdir failed for /system/sd/app, read-only file system.
What seems to be the issue? Can I just mount the SDcard on my laptop and get on it and make a folder "system", then inside that folder "sd", and in that one "app"? Is this the manual way of doing it? Any help is greatly appreciated. I know you guys probably deal with stupid questions all the time. Thanks in advance.
Click to expand...
Click to collapse
go to: http://forum.xda-developers.com/showthread.php?t=533731
install cyanogens recovery image if you havent yet, then format your card into Fat32, ext3 and if you like linux swap.
then get cyanogen 4.0.4 it will do apps to SD automaticaly

I want to switch from a 4GB to an 8GB card. Please help.

I can't find help for this anywhere . I've been Googling like crazy.
I have a rooted HTC Dream that saves all apps to my 4GB microSD card. I just got my new 8GB microSD card in the mail. My question is how do I transfer from one card to another without having to start everything from scratch? (By doing a hard reset/factory reset).
I tried partitioning my 8GB card on my Ubuntu desktop into the appropriate ext2 and FAT32 partitions, and then just simply copying and pasting into the appropriate partitions. I put the memory card in my phone, and well... it wouldn't boot. I tried this numerous times.
Luckily, everything worked fine when I just put back the original 4GB card.
Please help. I have no idea how to do this.
Best thing I can suggest is making a nandroid backup, then run the switchrom script, so everything is then stored entirely on your FAT32 partition. Copy your FAT32 to your 8GB FAT32, then switchrom everything back in place. No guarantees it'll work to be honest, although I see no reason it shouldn't if you've partitioned it in the same way.
On the old card
cp /system/sd/app/* /sdcard/app
Cp /system/sd/app-private/* /sdcard/app-private
Then copy those 2 folder to the fat32 of the new card, then:
Cp /sdcard/app/* /system/sd/app
Cp /sdcard/app-private/* /system/sd/app-private
You will have to remount /system and mkdir's first, though.
How/where would I do this? Doing it on my desktop didn't work, and I can't do it on my phone, since the phone won't boot with the new memory card.
mahasmb said:
How/where would I do this? Doing it on my desktop didn't work, and I can't do it on my phone, since the phone won't boot with the new memory card.
Click to expand...
Click to collapse
supremeteam256 said:
On the old card(as in from terminal on phone or better yet, recovery console.)
cp /system/sd/app/* /sdcard/app
cp /system/sd/app-private/* /sdcard/app-private
Then copy those 2 folder to the fat32 of the new card, then:
on the new card
cp /sdcard/app/* /system/sd/app
cp /sdcard/app-private/* /system/sd/app-private
You will have to remount /system and mkdir's first, though
Click to expand...
Click to collapse
This is what he meant lol, it was a hidden message, if ya can find it, luckily i can break the code
vamopyros_wrath said:
This is what he meant lol, it was a hidden message, if ya can find it, luckily i can break the code
Click to expand...
Click to collapse
i like you.
Cool...
Thanks for the replies so far but if booting into the "recovery console" is when you hold [Home] and then press [End call], then my phone still won't boot with the new memory card while trying that approach. Is there any other way? Maybe I did something wrong, I don't know.
Edit: (some hours later):
Alright, I decided to try and repartition the card on my phone instead of my desktop. I followed these instructions: http://androinica.com/2009/09/08/ho...tition-to-install-android-apps-on-an-sd-card/
And then I booted into recovery mode (and followed supremeteam256's instructions) to move the rest of the files to the new microSD card. It seems to work now. The apps are there and such. I'll post back again if there any problems or anything to note from this move. For both my future reference and anyone else that may benefit from this.
Thanks a lot for all your help everyone.
The only way to make sure this works is to use switchrom. Search on XDA. It is a script that should be standard in every recovery menu. I've changed cards and phones with zero problems. It will work every tine.

Blank SD card/ Unsupported Filesystem

Using Cyan's tutorials on his wiki, I rooted successfully and am now running Cyan's latest, with his 1.4 recovery.
I finished running the apps2SD tutorial and now the print command reads 2 partitions
Number Start End Size File system Name flags
1 17.4kb 7587MB 7587MB fat32 msftres
2 7587MB 8099MB 512MB ext4
But I'm getting a notification as soon as it boots into android that says.
Blank SD card
SD card blank or has unsupported filesystem
All the amounts under SD card & phone storage settings menu reads: Unavailable. And my internal phone storage reads 46.82MB
Download the recovery image in my sig and use that parition manager.
Thanks alot evilkorn. Worked perfectly.
Cyan should implement something like that into his recovery
CaliLove310 said:
Thanks alot evilkorn. Worked perfectly.
Cyan should implement something like that into his recovery
Click to expand...
Click to collapse
Well its based of 1.4 and cyan said hes spending more time on his roms because Amon_RA made such a good recovery lol
CaliLove310 said:
Thanks alot evilkorn. Worked perfectly.
Cyan should implement something like that into his recovery
Click to expand...
Click to collapse
I think I spoke to soon though. Everything works on the phone, but it wont mount on WinXP.
It mounts on my mac, but when i try to transfer anything to it it gives me an erorr.
The Finder can’t complete the operation because some data in “data” can’t be read or written.
(Error code -36)
"data" (in parantheses) Is the name of the folder im trying to copy to the SD
Mount the file system as -rw, you should be able to find the commands on here some place. I use root explorer so I don't need to remember it =p.
Is it easier with root explorer? Mind telling me how to use root explorer to mount it as -rw like you said
It says remount as R/W.
to mount as r/w in terminal or adb shell:
Code:
mount -o rw,remount /dev/block/mtdblock3 /system
to mount as r/o in terminal or adb shell:
Code:
mount -o ro,remount /dev/block/mtdblock3 /system
CaliLove310 said:
Is it easier with root explorer? Mind telling me how to use root explorer to mount it as -rw like you said
Click to expand...
Click to collapse
You can do this in ES FileExplorer too and its free.
having same issue
I didn't do anything fancy really.
I'm running a moto droid with the 2.01 update that I received over the air.
Today I launched twidroid and it completely ftoze the whole phone, non responsive even on the hardware buttons. I did a battery pull and upon restart the notification window says sd car blank or file system unsupported.
Tried browsing sd card with astro and it shows blank.
Any suggestions? I have a ton of photos and application settings I don't want to lose.
Thanks in advanced!
itsluy said:
I didn't do anything fancy really.
I'm running a moto droid with the 2.01 update that I received over the air.
Today I launched twidroid and it completely ftoze the whole phone, non responsive even on the hardware buttons. I did a battery pull and upon restart the notification window says sd car blank or file system unsupported.
Tried browsing sd card with astro and it shows blank.
Any suggestions? I have a ton of photos and application settings I don't want to lose.
Thanks in advanced!
Click to expand...
Click to collapse
I fail to properly understand the relevance with the Dream/G1 here..Your asking for help on a Droid in a Dream forum?..Maybe one of the other brotherns can fill in de blanks for me.. Thats like going into art class trying to get help for your driving test or putting cofee in ice cream ..Anywho try reformatting the sd something seems to be corrupted
having same issue
Except I didn't do anything fancy. My phone froze while using twidroid and upon reboot my sd card is blank or unsupported filesystem. How can I get my data back?
itsluy said:
Except I didn't do anything fancy. My phone froze while using twidroid and upon reboot my sd card is blank or unsupported filesystem. How can I get my data back?
Click to expand...
Click to collapse
I had this happen to me when using snes/twindroid/barcode/couple more and the weather widget to...Just format the sd in recovery and check for errors with your pc using a sd card reader.
this is the only
Ace42 said:
I fail to properly understand the relevance with the Dream/G1 here..Your asking for help on a Droid in a Dream forum?..Maybe one of the other brotherns can fill in de blanks for me.. Thats like going into art class trying to get help for your driving test or putting cofee in ice cream ..Anywho try reformatting the sd something seems to be corrupted
Click to expand...
Click to collapse
This thread came up on a google search for my issue. Although its a different phone the issue is the same so I figured it was worth a shot. I could start a new thread I guess but didn't want to overpost.
this is the only
Ace42 said:
I fail to properly understand the relevance with the Dream/G1 here..Your asking for help on a Droid in a Dream forum?..Maybe one of the other brotherns can fill in de blanks for me.. Thats like going into art class trying to get help for your driving test or putting cofee in ice cream ..Anywho try reformatting the sd something seems to be corrupted
Click to expand...
Click to collapse
This thread came up on a google search for my issue. Although its a different phone the issue is the same so I figured it was worth a shot. I could start a new thread I guess but didn't want to overpost.
Reformatting will pretty much guarantee that I lose my data. Any other suggestions?
this happened on my g1
I know the poster was getting flack for having 2.01 on his droid but I have cyanogen 4.9...... whatever he's at as of 12/25/2009.
This happened to me I was sending an sms it froze I popped the batt like I've had to do in the past except this time I'm getting a blank sd card error on boot. B4 I repartition and format is there a recovery option? Preferably something I can do from console since I'm in transit from the holiday?
I imagine since we used similar procedures to fix our "smart" phones maybe our recover procedures will be similar.
evilkorn said:
Download the recovery image in my sig and use that parition manager.
Click to expand...
Click to collapse
Please can you tell me where can I get Download the recovery image app ?
I am new just came from iPhone recently got HTC EVO and I am facing this Issue "SD Card blank or has unsupported file system" I tried everything please help.
thanks
Faisal
I have the same message on my G1
My phone is not rooted, and i don't know what to do!
I tried to format my sd card, i have tried with another card, and nothing; the same message!
I don't know what to do in this case....maybe if you have any solution to my problem.
Here is some info about my phone :
Model number : T-mobile G1
Firmware version: 1.6
Baseband version : 62.50s.17U_2.22.19.26I
Kernel version : 2.6.29-00479-g3c7df37 [email protected]#19
Build no : DRC92
anyone ? !!!!!!!!
i really need some help!!!!!
any solution to root without sd card ?

[Q] trouble installing honeycomb and market with SD boot

Hello all
still learning this android devlepment platform, so forgive me if this already has been covered. I've been trying to follow all the instructions as closely as I can but I've had no luck. I'm left with a few issues on my hands:
(first off, my full spec: I am running the nookhoney04.img file on an 8GB SD card - not sure what class # it is - on my nook color. no rooting done, I have only been working on this SD card. my computer is AMD64-based Windows 7 x64 with 8GB of RAM. though I may try tooling with it on my ubuntu virtual machine at some point...)
- I cannot seem to find the /system/build.prop file anywhere. I've done this in the past by inserting my nook-honeycomb-imaged SD card into my computer and simply browsing to it. what am I doing wrong here? the reason I can't do it via adb pull is part of another problem I've got below.
- when running the ADB on my emulator (which for some reason performs very poorly) to try to make the changes (install the apk's, do the chmods or even run the script) I can't seem to get this right either. I've loaded the apk's into the adb directory just as instructed but when I run the command adb -e install gmail.apk, it comes back to say "gmail.apk cannot be found." strange since it is sitting in the directory.
- when I run the script (install google apps and do chmods, etc) with the emulator running, it says "not enough space available." could this be due to the fact that I'm running a 3.5 GB image on a 8GB SD card without having expanded the image's app directory capacity to take advantage of the space on the card?
- is there any current way to improve the performance of running honeycomb from an SD card? i.e expanding the image to take advantage of more than its natural 3.5GB of space and make better use of the space on the SD card being used?
I'm just a tad confused. I've really been trying to follow instructions, read, educate myself, and learn, but it seems something is amiss here, so I turn to you all.
any advice is greatly appreciated.
thanks!
-apologies, this is a double post - I've posted the same question on the general android development forum.
Try this image:
It's much more complete than v04 and it's sorta kinda working, but far from perfect for everyday usage off course:
http://forum.xda-developers.com/showthread.php?t=1074471
giedrys said:
Try this image:
It's much more complete than v04 and it's sorta kinda working, but far from perfect for everyday usage off course:
http://forum.xda-developers.com/showthread.php?t=1074471
Click to expand...
Click to collapse
thanks a lot for the response, I will give this a shot.
woah - this is great! I wish I'd found this earlier! thanks so much
now I REALLY want to root it! or get a better sd card.... so begins the debate...
thanks!
Funny thing is-i don't think you even have to root to try this build-just burn the image to SD card and try.
and next time you can use proper "thanks" button instead of thanking me twice in your post

Categories

Resources