Hello.
I have a black G1 that has been rooted, danger spl, latest radio, i followed everything from this forum. I currently have Super D 1.11 running on the phone. I decided that i wanted to run apps2sd and a swap partition so i went to micro-center and purchased a class 6 sd card. When I go and try and partition the card in the amon recovery 1.7 i keep getting this error.
Error: Input/output error during write on /dev/block/mmcblk0
Retry/Ignore/Cancel?
First I thought that the card was bad so i went back to micro-center and exchanged it for another one.
Still the same problem.
This only happens with this card, the class 2 cards i have work fine no problems at all.. What is going on here? Did anyone else have this problem? What can I do to fix it?
Chubb
T-Mobile G2 - Stock
T-Mobile G1 - Super D 1.11
i bought one of these from fry's the other day.
what i ended up doing was doing the same 'parted' commands off of a live CD of backtrack. it took a bit to get it going, mostly on my part cause i thought that the system was hanging when i was trying to create the ext2 partition. once it was done, i had a 1408mb ext2, 32 linux-swap, and the rest is fat32. i popped it into my G1 and upgraded the ext2 to ext4 in recovery and reinstalled Super E.
haven't had a problem yet.
Related
Ok, so since I went from my nice name brand 4GB class4 to a patriot 4GB class6 I have had all kinds of issues trying to get my apps to my SD. When ever I tried to reformat the card through windows vista or win7 it would disconnect, and when trying to launch computer management it would freeze until the phone was disconnected. I would also connect it, right click to format, i would get the popup asking if Im sure I want to format the card, and then when you click format it would fail immediately and the phone would disconnect as external media. So nothing I could do could reformat the card even tho at the time there was a 3.5GB FAT32/.4GB ext2 so I stuck it in Ubuntu. Same weird issues trying to format with GPartition. So I tried Partition manager which would only allow me to delete all the partitions and create ext2 but whenever I would create a FAT32 it would fail at the last 90% of the job and the phone would disconnect form the comptuer, I could then reconnect it and complete the job. I tried this about 20 times after number reboots in Vista and Win7 to no avail. I tried every updated ROM with every type of Apps2sd conversion and nothing is working, everything keeps installing to the phone even after all the commands are successful in the terminal. Finally this morning I got to work and tried with XP and it formatted first try, and now I am midway through resetting everything up. My major issue is that once I install a new build it will work until I setup the apps on the sd card, once I do that I hang on the second slpash screen.
In short I dont know what is going on but I wanted to report my issues incase anyone else was having similar problems. It would seem XP is my savior but that seems really odd.
I have the same issue in Vista. If I need to format the card I just use a reader instead.
Symptoms:
- SD card not recognized by Windows Vista or Windows 7
- If SD card is detected if you right click > format, that operation will instantly fail and the SD card will become disconnected.
- Opening Admin Tools > Computer Management > Disk Management will hang until you disconnect the SD card
- SD comes up as unallocated and needing a format but any attempt to format it will fail
- After installing Apps2sd it hangs on second splash screen
- After installing Apps2sd it hangs on android logo
- Cyclic Redundancy Check error when copying files to SD
- Phone and computer both not recognizing the SD card
Attempted fixes:
- Installing JFv1.5
- Installing 1.5Hr3Apps2sd
- Installing Dudes Apps2sd
- Installing everything imaginable from radios to RC29 and re-rooting
Chain of events that worked:
- Installed JFv1.5 - get a fresh download, install and wipe. You can do this by using another SD card, putting your SD card in another computer, or using a combo of adb or fastboot. Depending on how I messed up my phone determined which of those ways I could do it.
- Format your whole SD card to FAT32 - Same as above, depending on your situation you may need to use a card reader or a computer with linux or Paragon partition manager. I had more issues in Vista and Win7 than XP just FYI incase thats an option to you.
- Split your partition into FAT32/Ext2 - Take your total card size formatted to FAT32, mine was 3.8GB and I wanted .4GB (400MB) so in the below coding where it says "size" I used 3400M, make sure you use a capital M, for more info on this topic click here. Then, with an internet connection open up your terminal emulator and type each line and then enter:
su
cd /data
wget http://64.105.21.209/bin/lib/droid/sdsplit
chmod 555 sdsplit
/data/sdsplit -fs size -nc
reboot
Click to expand...
Click to collapse
- NOTE - The above 2 steps can be skipped if done in Paragon Partition Manager (which I owe thanks for saving my SD card when the Disk Management in all versions of windows and Gpartition in ubuntu failed to see the card, but not PPM)
- Part 1 of 2 for setting up Apps2sd - First step is to download this file. Extract those 2 files onto the FAT32 (windows visible) partition of your SD card. Then open up your terminal emulator and type out each line and hit enter:
su
mount -o remount,rw /dev/block/mtdblock3 /system
cp /sdcard/init.rc /data/
cp /runme.sh /data/
cp /sdcard/a2sd.sh /data/
reboot
Click to expand...
Click to collapse
- Part 2 of 2 for setting up Apps2sd - Once fully rebooted download this file and copy the AppstoSD2.apk to your SD card. With a file manager program (ASTRO for me) install AppstoSD2 off of your SD card. When it is done launch the program and select, Copy Apps to SD. Once that is done your phone will reboot. Once its back up and running choose the second option, Copy dalvik-cache to SD. Once that is done you will need to manually reboot.
- DONE!!! - Once I was done rebooting my phone now reports as having ~400MB of internal storage and it feels much snappier. I hope this guide helps someone.
Huge props to Stericson and MarcusMaximus for their help in fixing my phone. I suspect others may run into similar issues not knowing you need to split the sd card, then create those links with init.rc and a2sd.sh, and THEN install the appstosd program so maybe this will help someone else.
Update: Phone froze during a call, I pulled the battery, and it hung at the second splash screen, and the JF1.5 update.zip file on the SD card could not be found. I went and found my old reliable SanDisk 2GB, put the update on it from my computer, flashed, wiped, and once everything was good to go I tried to put the 4GB class 6 card I have been using but now the phone, linux, xp, vista, win7 all fail to recognize the card at all. I dont know what happened but my issues started when I got that card. I am taking the new Patriot 4GB class 6 card back to fry's and Im running my 4GB class 4 that I had before I upgraded. Everything is setup now and working fine so hopefully I just had a bad SD card.
I wouldnt use the phone to format your sd card. I had no issues formating on vista, winxp, win7 when using a sd card reader. I think it has something to do with the fact that you dont have direct access to the sd card when formating from the phone. I think Android just mounts the /sdcard partition and makes it writable through the usb. if that is the case then you dont have access to the partition tables on the card. Not a linux or android guru, just a theory.
1: Don't try to format the sd card using your computer when it's in your phone, if you need to format it, use a card reader.
2: ext2 isn't readable by Windows, so if your ext2 partition isn't showing up on the computer, that's normal.
i had haykuro adp 1.5 but flashed jf 1.5 to put apps on sd and its stuck on tmobile g1 screen.
Yes! The easiest way for me was throwing the card into my Ubuntu laptop and both the FAT and Ext2 partitions pop up on the desktop so you can backup or partition them easily.
And when my card crapped out last night and I put the class 4 back in I was not recognized on any computer but I could at least format it from the phone. From there Partition manager could see the drive and partition but the format was invalid. I then ran the SDSplit method and was able to get the partitions visible in Ubuntu (but not in Windows). From there I copied files (wallpaper, ringtones, etc.) to the SD card and rebooted and when it came back up Windows was able to see the files on the SD and now everything is setup again and good to go.
I have had 2 Patriot 4gb Class 6 cards that both have bad sectors within the first month...as well as randomly getting "bad_removal" from my phone with them. And then it finally losing the filesystem!
I am now using a Kingston 4GB Class 4 card and havent had any issues in 2 weeks.
Patriot isn't all that bad but I think these cards are duds.
Hi,
Just wanted to add:
I purchased a kingston 16 gb class 2 from ebay - working apps to sd no problems. I used it for 1 month.
Then I upgraded to an Adata 16 gb class 6 from newegg.com. Using it for 2 weeks now with no problems. Apps to sd and dalvik-cache to sd.
My firmware Haykuro 5.02H r4.
These 2 brands seem to be reliable.
I just ordered the A-Data 16GB cl6 card off newegg.com. When I get it I will see what happens and report back.
I tried to make an ext3 partition on my sd card for a2sd+ but here's what happened!
I firstly resized the wrong filesystem thingie, but that shouldn’t be any problem. Everything worked fine and I didn’t touch the sd card.
After that i found the sd card drive and ordered it to resize it with 512 mb. After that I said it to make it ext3 partition. Pressed apply but after a minute or so I got an error. It said to look at the detail screen but couldn’t find it.
Now is the problem, It doesn’t show up at all anymore in Gparted! The whole sd card dissappeared! I can find it in windows though and I can see (in disk manager) that it’s divided in 2 bits! But I can’t format the new bit to ext3 or do anything with it. Could also just be some fault.
I’m not sure about how or what but it’s killing me, i need this for a2sd+ and miui au, damnit. Please help!
I do have a HTC Desire
*EDIT*
Well, installed this program:
EASEUS Partition Master 6.5.2 Home Edition
Found the drive, made in an ext3 and primary, worked flawlessly! Problem solved =)
I have very similar issue, I have done EXT3 partition, first time visible for the phone and even for windows, then I unplugged SD card from phone and since then the card is invisible for either the phone and PC(win 7 64bit)
So, as the card cannot be seen I cannot reformat it back to FAT32 or anything else
here is what I did:
used MINITOOL PARTITION WIZARD
alocated SD card (Transcend 8gb class6) created 1gb EXT3 and 70mb Swap file(wanted 64 but it did 70instead, fair enough, should not cause the problem).
I did this in phone(HTC Desire), using mass storage connection, everything seemed fine, up until I took the card away from phone, then when I plugged it back in, phone could not see it any more. So I found my old reader, and tried it in there, same issue SD card just cannot be seen
Any ideas how to make it visible again?
Resolved, dont bother
I bought a new 16GB class 4 Kingston card from Ebay for my rooted htc desire with S-ON using RA v2.0.0 .it works fine but when I partition the card using recovery or or Easeus or Minitool partition to ext3 format it wont mount sd-ext and gives the error
cant mount /dev/block/mmcb1kop2
error mounting
i have also tried flashing recovery image with this sd card but it doesnt make any difference . i am starting to think it is the sd card as i dont have any problems with my 4GB samsung card .
Hmmmm
Similar issue here with a 16gig class6 (Traxxdata) card
Bought because i wanted to install custom rom with a2sd+ and thought my 8gig class6 would be a bit on the small side ..
Repartitionned under Linux with 14.5G Fat32 & 1.5G EXT3
Put in the phone , flashed Leedroid 2.3d , worked on 1st reboot , but never again afterwards , got erratic behaviour, corrupted ext3 partition, ext3 not mounted etc.....
Did a whole lot of tests :
- Smaller ext3 ( under 1gig ) -> same
- changed layout of sd -> same
- Use of ext2 instead of ex3 -> corruption
I always ended with either boot loop, stuck at boot logo or horrendous boot time when the phone decided to ignore the ext3 & redid the dalvik cache in internal memory ...
Funny ( well not really ) thing is that when using adb shell to check what was going on after the phone had taken ages to boot ( IF it finished booting ) i noticed the following :
/system/sd not mounted ( should be ext3 partition )
symlinks not in place ( makes sense , cause ext3 not mounted )
I then checked the a2sd+ script & found they were checking for the existance of the 2nd sd partition & mounting it only when found , so I tried to mount manually and ......
that worked ..... ( WTF? )
So I'm a bit lost , but my guess goes in the direction that it takes too long somehow
for the 2nd partition to be recognized & when it finally is , the a2sd script has already run maybe ??
Otherwise dunno , but fact is that my kingston 8gb class 6 works like a charm with 6.8 gig Fat32 & 1 gig ext3 ... no issue at all
So our common point is the 16gig in size , and this problem which i hope is fixable , but dunno how
1 thing i noticed though is that my 16gig card seems to heat a lot up more then my 8gig when i use it in my Sandisk microSD reader , so maybe it's draining more current & the desire has problems delivering that much ?
cheers,
G
soton123 said:
I bought a new 16GB class 4 Kingston card from Ebay for my rooted htc desire with S-ON using RA v2.0.0 .it works fine but when I partition the card using recovery or or Easeus or Minitool partition to ext3 format it wont mount sd-ext and gives the error
cant mount /dev/block/mmcb1kop2
error mounting
i have also tried flashing recovery image with this sd card but it doesnt make any difference . i am starting to think it is the sd card as i dont have any problems with my 4GB samsung card .
Click to expand...
Click to collapse
I bought one of these just over a week (Amazon), and although it seems to work with 'normal use'. It was nothing but a pain when used on a ROM that uses ext2sd/data2sd. Infact my Sandisk 2GB class 2 card performed far better.
Others have reported various issues with this specific card. My one will be going straight back for a refund.
to lee droid hello.
i am a "silent admirer". i have a rooted desire and i use only leedroid roms for more then a year. as always i never had any problems with any of the roms and install them all without wipe at all.
about a month ago i installes v. 2.3.
today i saw the thread about the new version 3.0 gb and downloaded the following files: 1. 3.0 gb leedroid rom.
2. the new radio ...56....
3. the ext3 file.
after downloading i checked the md5 of the first two files and found it OK.
i backed up my 16 gb sd and tried to install the 3.0 tom via rom manager.
the thing is that i believe that the rom was install OK but the rom did not go up and my desire got stuck with the dumb green "htc".
thereafter i restored the system which went well and tried again - this time with file and cach wipe.
again - all seems to go well but did not load.
tried to install the ext3 file - went ok but did not load.
from that moment i got really worried but nothing i tried (deleating the sd card and copying from backup) or thought i know didnt work and now i am the proud owner of stupid green "htc" screen.
please help
erezinna
p.s. i couldt read all the 53 pages of your thread so if anybody already got an answer - please send me there.
I had this same issue.
It seems that although I originally partitioned my SD card as ext3 at some point without me knowing the partition got changed to ext4 I really can't explain how as I never messed with partitions after I initially set them up.
if the EXT3 fix is not working for you try booting into gparted and checking the partition there. as soon as I did that and realized it had been changed to ext4 I deleted the partition and made a new ext3 patition and it worked flawlessly after that.
"try booting into gparted and checking the partition there"
where? when? who?
can you you be more gentle? i booted milion times and never heard of "gpart" (it is a secret socaity)?
it's a live cd that you boot into on your PC to partition the SD card with a ext3 partition.
just google gparted live cd
You need to verify that the second partition on your sd card is in fact ext3 or leedriod will not load
i have to burn it or ghost-burn it or just download it and transfer to my desire?
like i said in my previous post you need to boot into on your PC.
I have to ask how did you originaly partition your SD card?
dear larkspeed:
i did all you have suggested but the gparted (or the regular win 7) was unable to recognize the sd card at all.
i did recognize all the other harddisks on my computer. it is probably because of the ext4 and now i cannot delete it. (also i hardly can operate the phone - only basic functions).
what sould i do now?
Windows will not see ext4 at all but it will see the partition itself so you can delete and remake it.
Gparted should have seen it just fine and let you reformat it to ext3
However if neither windows or gparted can see the partitions on the card then it's very possible the card itself has a fault.
Stupid question but when you loaded gparted you did use the drop down in the upper right corner of the window to actually select your sd card right?
if not then you were looking at primary hard drive only
yes i did several times. you have to move with "tab" and keboard because the mouse does not work there.
if the sd card have a fault, should i format it or erase it totally or something?
if you are totaly sure you have a ext partition on that card you will need to delete that partition either with windows **** manager or gparted
if you just format the card it will only format the partition it can see which will be the fat32 partition.
Now I assume you are putting the micro sd into some kind of adapter to plug it into the PC.
Now I have 2 options for this a USB stick that the micro sd plugs into or a micro sd to sd adapter plugged into an internal card reader which plugs into a USB header on my motherboard.
both of these systems work fine for me.
if gparted is not seeing the card at all then I would think whatever system you are using to plug the card into your PC is not supported.
I have to ask when you plug the card in when in windows what size does it say the "removable drive" is?
1. i gparted the sd card into main fat 32 partition about 12 gb and 1.6 gb ext3 partition
2. i cloesd the program after compleating that and the device informed me that the sd card is damaged and needs formating
3. i formated it and moved the leedroid 3.0.
4. it refused to go into recovery because lacking .update.zip file so i copied that too.
5. i installed the 3.0 but i won't go.
6. what to do? give it up?
all I can suggest is to try a different SD card and see if it works then.
I got a new phone today (ZTE ZMAX Pro) and I took the SD card from my old phone and put it in my new one. I formatted it, unmounted it, and removed it properly. Whenever I try to format it as internal on my new phone, it sticks on 20% and comes up with the following error message: "java.util.concurrent.TimeoutException:Thread Binder_6 gave up waiting for partitionPrivate after 180000ms." I also got another one, the only difference being "Thread Binder_B."
So, I restarted it, and wouldn't you know it - it recognized the card. So, I formatted it for photo swapping or whatever it is, and it worked. I then tried formatting as internal, and it did the same thing I mentioned earlier. So, the card will work as usual after some restarts and removals, but is it pretty much screwed for internal formatting?
The card is a 64 GB SanDisk, and it works just fine on my computer.
EDIT: I just tried with a 16gb card, and it worked fine. I guess the question now is: is the 64 gb card able to be saved?