problem removing partitions - EVO 4G Q&A, Help & Troubleshooting

I have app2sd setup and due to some issue (perhaps unrelated) i want to remove it.
i've booted in to recovery and gone in to ADB shell and loaded up parted. when i do a print i see my 3 partitions. i use RM to remove them and i dont get any errors, just dumps back to the prompt. i do a print again and see no change.
I tried using the recover partition tool, but it doesnt work as well. i found a log and its doing the same thing i did by hand.
from recovery i mounted the SD to USB and tried to do it from there as well with disk manager and diskpart. with diskpart i never got any errors deleting, but, it didnt delete. with disk manager i could remove the ext and swap fine but not the fat, i just wasnt given the option.
is there some sort of lock or something im missing?

Its this program for windows i used it formats your sd card. I cant rememb er the name but i googled how to unpartition a micro sd card. Hope that helps a bit.
Sent from my PC36100 using XDA App

i wasnt able to find anything that did a full wipe of the SD. just format utilities that work with the already created partitions.
thanks

Related

help partitioning stock sd card

I've reformated the stock 8 gig that comes with the slide to fat32 on my pc and stuck it in my g1 to partition it through the recovery on there. But wen I get into sd parted on the consol it won't recognize the card. Something like mmcblk not recognizable
Assuming you're using AmonRA's recovery, have you tried using the standard auto-format options (ie, not using the console)?
Make sure you formatted the card correctly to begin with. Does your computer recognize it (as fat32)?
Just a few ideas.
Lol correct I am usin amon rah. That's the thing I couldn't get it to write partitions and it wouldn't let me like I was sayin so I did try the auto format. It said it was sucsessful and wen I went back into sdparted on the consol pressed print and it said it had been parted. So I then tried to manually partition my card to my likeing instead of the prestets from the automated version. And it was still unrecognizable. So I was like f it its reading that its parted when I push print so it mus be. So I roote my slide got into clockwork was gunna try wg went to wipe my ext partition to play it safe before I installed wg and it said there was no mountable ext.

[Q] How to remount a2sd ext2 partition?

Ok so the usb port on my HD2 is broken, so I thought I'd be slick and pop my sd card in the gf's slide to transfer a bunch of files to my card. All went well, til I put her card back in the slide and when i booted it back up, all her apps were gone. I put the chka2sd command in terminal emu, and it said apps were running from phone memory. So I tried the command a2sd reinstall, and it wouldn't go, it said ...to preserve boot integrity, yada yada, the ext is not mounted.
so my question is:
What command do I enter to re-mount the ext2 partition?
Sorry for being such a noob, and tia for help
Let me see if I got it... your gf's slide sdcard was just removed from the phone and then placed back in but the apps are gone? That's really weird o_o
All I can think of as a possible solution is to go into recovery and flash the apps2ext add-on package, that's the one that mounts the ext partition.
Sent from my T-Mobile myTouch 3G Slide using XDA App
It happens when you remove the sd card/sd card is removed while the phone is on.
Sent from my T-Mobile myTouch 3G Slide using XDA App
agentg1001 said:
It happens when you remove the sd card/sd card is removed while the phone is on.
Sent from my T-Mobile myTouch 3G Slide using XDA App
Click to expand...
Click to collapse
I did the same thing though, removed my sd card with ext mounted to load files from my computer onto it, since I don't have a usb cable, and when I put it back in, my apps wouldn't load. I just rebooted and it fixed it.
I think that putting YOUR sd card in screwed it up though. You might try typing a2sd cachesd in terminal emulator. That's what enables a2sd. But i'm not sure if that will clear the ext partition before it enables, although I don't see why it would. It only wipes when you partition the card.
Thanks guys, I'm gonna try n re-flash the activator, and try [email protected] reinstall again. I got Android to mount the ext2, but when I try the reinstall command in terminal emu, it says it can't because the ext2 is mounted r/o. I'll get it, just gonna be a pain. Worst comes to worst, total fat32 partition and format, and start all over.
huggs said:
Thanks guys, I'm gonna try n re-flash the activator, and try [email protected] reinstall again. I got Android to mount the ext2, but when I try the reinstall command in terminal emu, it says it can't because the ext2 is mounted r/o. I'll get it, just gonna be a pain. Worst comes to worst, total fat32 partition and format, and start all over.
Click to expand...
Click to collapse
If she was using titanium to back up her apps you could reformat the ext2, redo the whole a2sd cachesd in terminal and then restore her apps, but if there were backups you probably would've already thought of that.
It wouldn't be able to reformat or restore the apps to the ext2, because it's mounted as read only.
I think I borked the sd card, as far as being able to use it for a2sd
due to being mounted r/o, gparted won't recognize the ext2, a2sd won't reinstall because the ext2 is r/o, and the phone acts crazy if i flash the a2sd enabler zip, probly cause it can read the ext2, but cant write to it
looks like time for a new sd card, unless somebody can tell me how to change the r/w permission for ext2
huggs said:
It wouldn't be able to reformat or restore the apps to the ext2, because it's mounted as read only.
I think I borked the sd card, as far as being able to use it for a2sd
due to being mounted r/o, gparted won't recognize the ext2, a2sd won't reinstall because the ext2 is r/o, and the phone acts crazy if i flash the a2sd enabler zip, probly cause it can read the ext2, but cant write to it
looks like time for a new sd card, unless somebody can tell me how to change the r/w permission for ext2
Click to expand...
Click to collapse
Why don't you just delete the partition with gparted? You may not be able to modify it but you can certainly blow it out of the water. Just reformat the entire card to fat32 then repartition it. I even think you can do that with windows. Windows won't recognize it as ext2, but it will recognize it as an unknown partition and allow you to delete it.
MusicMan374 said:
Why don't you just delete the partition with gparted? You may not be able to modify it but you can certainly blow it out of the water. Just reformat the entire card to fat32 then repartition it. I even think you can do that with windows. Windows won't recognize it as ext2, but it will recognize it as an unknown partition and allow you to delete it.
Click to expand...
Click to collapse
GPartEd doesn't even see the partition, and I don't know how to do it with Windows, I've always used Linux for all my partitioning.
IDK, maybe all this has corrupted the card somehow?
She's using my HD2 at the moment, so it's definitely not killing her, but I don't know what to do at this point.
Wouldn't the partition be untouchable though, since it's read-only now?
huggs said:
GPartEd doesn't even see the partition, and I don't know how to do it with Windows, I've always used Linux for all my partitioning.
IDK, maybe all this has corrupted the card somehow?
She's using my HD2 at the moment, so it's definitely not killing her, but I don't know what to do at this point.
Wouldn't the partition be untouchable though, since it's read-only now?
Click to expand...
Click to collapse
Read only only means that you can't write to the partition, you can still delete it and stuff, it doesn't lock it completely.
In windows, go to start, right click on computer, click manage, and double click on disk management. When it loads it should show all of your drives and their partitions. Look for the memory card you are trying to modify, and there should be a partition of unknown type or something listed. It MIGHT be green outlined, but I don't remember for sure. Right click on it and click delete, it should warn you that the partition might be in use by other OSes but just ignore it, click okay, and then you should be able to right click on the fat32 partition, click extend, and extend it into the unallocated space that was left by the deletion of the ext partition.
Was able to delete the ext2 using gparted. Thanks guys, I really appreciate all your help and suggestions.
huggs said:
Was able to delete the ext2 using gparted. Thanks guys, I really appreciate all your help and suggestions.
Click to expand...
Click to collapse
No problem, happy to help!
Sent from my T-Mobile myTouch 3G Slide
MusicMan374 said:
Read only only means that you can't write to the partition, you can still delete it and stuff, it doesn't lock it completely.
In windows, go to start, right click on computer, click manage, and double click on disk management. When it loads it should show all of your drives and their partitions. Look for the memory card you are trying to modify, and there should be a partition of unknown type or something listed. It MIGHT be green outlined, but I don't remember for sure. Right click on it and click delete, it should warn you that the partition might be in use by other OSes but just ignore it, click okay, and then you should be able to right click on the fat32 partition, click extend, and extend it into the unallocated space that was left by the deletion of the ext partition.
Click to expand...
Click to collapse
hey i have partition my sd card using rom manager... i completed my process but my 2nd partition is unmounted i cant find it anywhere... not even the way u told... can i mount it if not can i at least delete it... pls help me

[Q] How to get widgets to run from SD card

i got my last question solved but I read somewhere that usin darktremors script would allow me to run widgets from sd card because the system thinks they are still in the correct place.
running GV1.5 partitions fat32/ext3/linux-swap.
I installed the script after mounting /data and /system from the recovery. After that I rebooted and ran the script commands. Moved a widget to sd card and it vanished from screen just like froyo.
what am I doing wrong?
I know you need to move the dalvik-cache for this to work. but recovery can't find sd-ext.
Huh? From what i know widgets will not work if u put them in the micro sd.
Sent from my HTC Vision using XDA App
lainvalenajr said:
Huh? From what i know widgets will not work if u put them in the micro sd.
Sent from my HTC Vision using XDA App
Click to expand...
Click to collapse
Using stock froyo a2sd (apps2fat) will not allow you to run widgets. If you partition your sdcard (ext partition) and use the old style a2sd (apps2ext) using darktremors a2sd package you can run widgets from the sdcard. Along with putting the entire app, not just 1/2 or 1/4 of it, on the sdcard plus all of it's data (optional).
If it's easy for you to understand it as the phone thinking the ext partition is part of the internal memory, that's good enough since it's basically what's going on.
Spastic909 said:
I installed the script after mounting /data and /system from the recovery. After that I rebooted and ran the script commands. Moved a widget to sd card and it vanished from screen just like froyo.
Click to expand...
Click to collapse
What you did wrong is moving the app to the sdcard. The commands you run in terminal move the apps to the sd ext partition. Specifically this one:
Code:
#su
#cd /system/bin
#a2sd cachesd
It will still show it as installed to the internal memory because it thinks it is. Even in a file explorer under data/app it shows the apps but that's part of the *trick*.
If you go into applications and move it to the sdcard it puts it on the fat32 partition which is where the froyo version puts them - don't do that. That's what you did wrong.
KCRic... huh i didnt know that. Ill try that. Spastic u should try that lol
Sent from my HTC Vision using XDA App
i installed the busybox 1.18.0.git
wiped everything in recovery and from recovery ran the script. After I rebooted I ran the commands in terminal.
then my phone rebooted...does that mean it worked?
Spastic909 said:
i installed the busybox 1.18.0.git
wiped everything in recovery and from recovery ran the script. After I rebooted I ran the commands in terminal.
then my phone rebooted...does that mean it worked?
Click to expand...
Click to collapse
Yeah. You can use titanium backup to make sure. Just open it and you should see a bar at the bottom showing sdext available/free. Also you can use a file explorer - got to /sdext and you should see an app, app-private, dalvikcache, data, and one or two other folders listed. If you do then it worked.
You can also use terminal to have a2sd check and make sure it's working but I don't want to load the thread with commands I'll post them if you want to learn a bit though
Sorry to resurrect this thread, I thought it better than making my own.
I'm running CM 6.1.3 and have an 8GB SD card inside.
1) How do I check how the SD card is formatted? And if it doesn't have an EXT3 partition, how do I partition it property?
and 2) Is there an easy, non-terminal way to send apps to the EXT3 partition, akin to hitting "move to SD card" in android settings. And since, as you said, it moves all the data to the EXT3 partition, not just some, is it best to keep most of my apps there, to free up internal memory as best as possible?
And PS, when I'm partitioning my SD card, will I need to create a SWAP partition? 1GB for an 8GB stick?
Thanks so much.
EDIT: I'm on an X10 if that helps..

8Gb SD card now only formattable to 1Gb?

I've been trying to format my partitioned SD card which is 8Gb in total, and I had a 7Gb FAT32 primary and a 1Gb EXT3 on it. A read only issue came up with it yesterday so decided to go and do a full format of the SD card in Gparted.
However, now, even when I delete all partitions on the card (using Gparted), it's only being reported as 1Gb capacity. I don't know what else I can do to get the other 7Gb back.
Any ideas?
hi
try this on windows pc
search on google "mini tool partition wizard home edition " it's free.
sorry i can't make link at the moment !
That program reports the SD card as just 1Gb as well.
Any other ideas how to retrieve my missing 7Gb anyone?
Just try to make a new partition in Rom Manager or your recovery.
In the process of trying to fix the issue I done a factory reset, but when I try to install ROM Manager Android crashes and restarts, and doesn't install it. Most apps install OK to the internal memory, but it doesn't like ROM Manager and some others and will just crash.
I did have it installed prior to my problems, but even in recovery I now can't access anything apart from wipe date/factory reset in the basic Android recovery. I can't apply the update.zip required to get into Clockwork recovery as it was on the SD card, which I have the problem with.
Any ideas?
In windows right click my computer then manage in the left click disc manger (I think its called that) look at the partitions if you have more then witch there will be for android (Linux) you can remove all of them and make 1 whitch will give you the full useable size of a 8gb SD card but this will effect you android phone
Hope this helps
Sent from my HTC Desire using XDA Premium App
That's the first thing I tried, and all partition programs I've tried are showing the same issue of hiding 7Gb. (GParted/mini tool partition wizard home edition/Windows Disk Management)
Do you have a Linux distro? Ok, try the following:
$ sudo fdisk -l
Find which sdX is your SD card. Then try:
$ sudo cfdisk -z /dev/<your SD card>
If even using this you can't get all your space back, you can try the cfdisk with -c/-h/-s options, but you will have to Google a little bit to find how these options work.
z3r0n3 said:
Do you have a Linux distro? Ok, try the following:
$ sudo fdisk -l
Find which sdX is your SD card. Then try:
$ sudo cfdisk -z /dev/<your SD card>
If even using this you can't get all your space back, you can try the cfdisk with -c/-h/-s options, but you will have to Google a little bit to find how these options work.
Click to expand...
Click to collapse
I've already tried GParted so same thing. Doesn't work.
Problem fixed.
I tried putting it in to a camera and formatting it, and that fixed the corrupt partition table.
barryfell said:
Problem fixed.
I tried putting it in to a camera and formatting it, and that fixed the corrupt partition table.
Click to expand...
Click to collapse
I have tried many things, nothing worked. I put it in a camera and formatted it as you suggested. It worked.
Thanks so much.

SD Card cloning issues

I have been trying to clone my 4gb class 4 sd card to the new 8gb class 6, but failed.
I am using Cyanogenmod 7 nightly and app2sd with data moved to sd. My computer OS is linux and I have android tools installed.
1. I partitioned new card with newest clockworkmod, which unfortunately results in ext2, not ext4 so I reformated ext2 to 4 using some partitioning software.
2. Copied content of fat32 partition from the old card, including recent nandroid backup.
3. Booted to recovery and tried restoring sd-ext several times, but I either get 'MD5 sum mismatch', or it starts fine but at some point it stops with error.
I then tried again but this time without reformatting ext2 to ext4 but the result was the same.
I also tried just copying sd-ext directly with 'sudo' but the phone acts just like the new installation then and even 'Fix Permissions' doesn't help.
Help!
I just recently did this myself two different ways, the first was to use acronis disk manager to clone the sd from a 8gb to 16gb. This worked fine but took an extremely long time.
I then upgraded from 4gib to 8 and created the partitions manually and copied over the data from one mount to another. Works fine here.
Did you try restarting your phone and double checking the partitions / types?
Plug both sdcards in the PC then use gparted to copy the two partitions across then grow the fat partition to fill the space if needed.
Sent from my HTC Desire using XDA App
mercianary said:
Plug both sdcards in the PC then use gparted to copy the two partitions across then grow the fat partition to fill the space if needed.
Click to expand...
Click to collapse
I have only one card reader in my laptop and connecting the card inside the phone makes the ext partition invisible for gparted. This makes copying partitions between two cards impossible.
impactor said:
I have only one card reader in my laptop and connecting the card inside the phone makes the ext partition invisible for gparted. This makes copying partitions between two cards impossible.
Click to expand...
Click to collapse
Put the phone in recovery, then mount USB, it works for me using amonra recovery.
Sent from my HTC Desire using XDA App
mercianary said:
Put the phone in recovery, then mount USB, it works for me using amonra recovery.
Click to expand...
Click to collapse
I am using newest ClockWork recovery and all I can see in gparted is the FAT partition. Not even empty space where EXT should be.
and thats definitely mounting USB mass storage not mount SD card?
Theres definitely FS issues on the new card if you're getting MD5 sum errors.
Firstly dont use anything other than gparted to partition (see signature).
Flatten the new card completely. Format any partitions that may be there out and start again, from scratch.
rootSU said:
and thats definitely mounting USB mass storage not mount SD card?
Click to expand...
Click to collapse
This is the only option in recovery menu. I think if I used something else, I wouldn't even see FAT partition. The ext is ext4, btw.
And we are talking the original card here, not the new one. The new one is in the reader.
impactor said:
This is the only option in recovery menu. I think if I used something else, I wouldn't even see FAT partition. The ext is ext4, btw.
And we are talking the original card here, not the new one. The new one is in the reader.
Click to expand...
Click to collapse
Which is the only option? What recovery?
If I boot into recovery and go to 'mount and storage', 'Mount USB storage' is the only option that actually makes the phone visible to the computer. There are pleny of mount/unmount (eg: mount /data) options above this one, but they're supposed to work internally.
Is it Amon-Ra / RMD? Does the size of the FAT partition tally with the total size of the card? did you say had a card reader? just use that if you have
ClockworkMod Recovery 5.0.2.0
If I switch cards, then the one in the phone will still be invisible and I need both at the same time to copy partitions.
Forget copying partitions. Your instinct with nandroid restore was right, however you need to get the fs on the new card sorted
Also I have noticed on ubuntu that the data copy remaining is inaccurate. I leave it for several minutes after it appears to have completed to ensure data is written before ummount
Sent from my HTC Desire using XDA App
rootSU said:
Forget copying partitions. Your instinct with nandroid restore was right, however you need to get the fs on the new card sorted
Click to expand...
Click to collapse
Except this doesn't get me anywhere. I tried with ext2, ext4, created in recovery or by gparted and every time got stuck on the same stage.
Then theres a serious issue that needs fixing. Best not to work around. The nandroid is the best option.
Have you a Windows machine? H2testw.exe is a great sd testing app
Sent from my HTC Desire using XDA App
Created partitions are not visible in Gparted if the card is in the phone, contrary to empty space. It took me many attempts in different configurations but I got it done, eventually, using gparted partition copying for EXT and regular copy for the FAT partition content

Categories

Resources