Deleting Fat32 and Ext4 part of SD Card with Gparted - myTouch 3G, Magic Android Development

Hi,
I have one question, for the new cyanogen mod update 4.2.15.1 I deleted the Ext4 part of my SD card with Gparted and installed everything new. Now I saw that I still have my old pictures on the phone. If I want to delete everything (no old stuff on the phone any more) do I need to format the Fat32 folder as well? Will I have problems with the phone after that or is after the installation of the DRC83_base_defanged.zip everything runs smooth?
Maybe someone could help me with that, I don't wanna delete datas from the phone (fat32 part) what I couldn't install later.
Juergen

First of all, what does this have anything to do with android development? Can you post in the right section?
Second, your topic tells us what you did. Ok..
You still the old pics on your phone cause it's on another partition on your sd card... You should at LEAST know taht
Third, I don't even understand what you're asking.
1) You deleted Ext4
2) Installed everything new, what does that mean? I assume a new rom, but another ext? or what? Did you wipe the whole SD card? Partition it? Learn to be more specific
3) You saw that you have old pictures on the phone... ok...
4) If you want to delete everything, format the fat32 folder? Fat32 Folder??? Do you mean the fat32 partition on the SD card? And yes, if you don't want no old stuff anymore, you delete the things that are on the SD card.
5) I assume that you just wanna delete everything and I assume that your pictures are on that sd card. You know, you can put stuff on and delete stuff on an SD card. It's there for that reason. It won't cause problems.
If you took out your sd card when it has an ext and using a2sd then you'd have problems.
But still, You make absolutely no sense. From my knowledge, when you take pictures or stuff, it doesn't go on the ext. You say, "If I want to delete everything, do i need to format the fat32?" Then you say you don't wanna delete the data on the fat32 from your phone. What is your question? Do you want to delete or not? You install stuff on the fat32 part? Normally people have stuff installed in the Ext part.
jschmid75 said:
Hi,
Will I have problems with the phone after that or is after the installation of the DRC83_base_defanged.zip everything runs smooth?
Juergen
Click to expand...
Click to collapse
I cant answer this until I'm sure of what you even want to do. And what does DRC83_base_defanged.zip have anything to do with this right now? You flash that before flashing CM. I'm not sure why you want to suddenly install that
If what you wanted to do was keep everything from your SD card and get rid of the Ext, well then.. back up your sd card and partition the sd card.

the only thing I want to know is if there's anything I need to consider when I'm deleting my fat32 partition ? I formated my ext4, wiped it and installed the new rom.

Related

Someone make this app

To Dev:
Make an app where it asks if you'd like to save apps/memory/cache/etc to your SD card. =\
We already have that in two forms...
LucidREM's version of JF
Just open up terminal emu and type:
su
copy.sh app
copy.sh data (if u want to move data/data to sd)
And we have Astro. You can back up your apps to the sd card...
Simple as that...
There isn't a script thhat moves Cache to SD, but it's still extremely easy.
It's funny to see someone barking orders at developers when they can't even be bothered to search or read.
If you can't do the research what makes you think someone is going to jump just because you demand it?
no
(filler filler)
APrinceAmongMen said:
There isn't a script thhat moves Cache to SD, but it's still extremely easy.
Click to expand...
Click to collapse
Actually there is.
It's post on this forum somewhere, it's called transfer.sh
I saw THOSE posts but that's not exactly what I meant.
i'm guessing he wants an app that does the "run apps from sd card" hack
The Terminal commands
http://forum.xda-developers.com/showthread.php?t=494187
And the Transfer.sh Script
http://forum.xda-developers.com/showthread.php?t=471653
71CH said:
no
(filler filler)
Click to expand...
Click to collapse
Lol'd.
/agree
I think the OP wants a GUI to do it prettily, how about someone throw it together and put it up on the market, a fair price (hahahaha) would be $10. This might motivate the lazy folk who are terrified of the terminal to figure these rather simple processes out.
Honestly, with the scripts already written, all you have to do is enter a couple quick and easy commands into the terminal and bam! No problem.
It's one thing to ask for help doing something, it is quite another to ask someone to do all the work for you. Just my opinion.
the way i read the post seems like he wants to install apps BOTH on his sdcard and phone and have an app that can let him/her choose/select whether to install on sdcard or phone itself, not a awful question
but in my mind whats wrong with haviing ALL the apps on the sdcard, theres virtually no lag and you get more space on you phone
while on the sdcard app topic i got another question, only need a yes or no so i wont make a new thread:
- i have a 8gb card with 1gb ext2 and the rest fat32
- im am looking to buy a 16gb card and have a 2gb ext2
- can i copy paste all the files on the from ext2 to the other?
- do i need a memcard reader? because i dont see the ext partition when i mount my phone?
haitiankid4lyf said:
the way i read the post seems like he wants to install apps BOTH on his sdcard and phone and have an app that can let him/her choose/select whether to install on sdcard or phone itself, not a awful question
but in my mind whats wrong with haviing ALL the apps on the sdcard, theres virtually no lag and you get more space on you phone
while on the sdcard app topic i got another question, only need a yes or no so i wont make a new thread:
- i have a 8gb card with 1gb ext2 and the rest fat32
- im am looking to buy a 16gb card and have a 2gb ext2
- can i copy paste all the files on the from ext2 to the other?
- do i need a memcard reader? because i dont see the ext partition when i mount my phone?
Click to expand...
Click to collapse
Copying from one SD card to another should work. If not, just undo the apps-to-SD process by moving the files back to the phone (there should be instructions in this thread near the bottom) and re-do it with the other SD card.
I'm fairly certain you won't have to do the latter, though.
Depends- Are you on Windows?
If so, use a Live CD of Ubuntu to boot into (installing is optional), it will effectively allow you to view the ext2 partition (as Windows doesn't read ext2 partitions)
Good luck
haitiankid4lyf said:
while on the sdcard app topic i got another question, only need a yes or no so i wont make a new thread:
- i have a 8gb card with 1gb ext2 and the rest fat32
- im am looking to buy a 16gb card and have a 2gb ext2
- can i copy paste all the files on the from ext2 to the other?
- do i need a memcard reader? because i dont see the ext partition when i mount my phone?
Click to expand...
Click to collapse
you will need two things .. a card reader .. linux .. you can attempt to undo the apps to SD as stated but if you lack the space on the phone now you've run into a problem .. most people move apps to the SD because they lack space on the phone so trying to put them back will bring trouble
since many people have already touched on this i'll just direct you to the other thread:
http://forum.xda-developers.com/showthread.php?t=497275

Partitions, appstosd, MoDaCo

I used the recovery partition to create FAT32, ext2, and swap partitions on my sd card.
1) What size does it make each of these partitions?
2) What is each used for?
3) When loading the MoDaCo update.zip (and rebooting after first boot) after creating these partitions, what does it do with each of them? My free space on each seems to change, and I think it's loading some apps to the SD card? But not others?
4) How do you see how much space remains on the fat32 and ext2 partitions? Which one is shown in the SD card info settings page, and which one is used for USB mass storage mode? Neither seems to change much even after I install a bunch of >1MB apps.
Thanks for any help.
Also, what's taking up all my internal phone space? If the update.zip moved apps to the SD card, why do I only have 50 MB left of internal space?
jonnythan said:
I used the recovery partition to create FAT32, ext2, and swap partitions on my sd card.
1) What size does it make each of these partitions?
2) What is each used for?
3) When loading the MoDaCo update.zip (and rebooting after first boot) after creating these partitions, what does it do with each of them? My free space on each seems to change, and I think it's loading some apps to the SD card? But not others?
4) How do you see how much space remains on the fat32 and ext2 partitions? Which one is shown in the SD card info settings page, and which one is used for USB mass storage mode? Neither seems to change much even after I install a bunch of >1MB apps.
Thanks for any help.
Click to expand...
Click to collapse
32 mb swap, 500mb ext2 rest fat32
swap is for linux swap if its used in the rom, ext2 is for your apps, and fat32 is for your storage
yes it loads all of your /data/app and /data/app-private apps on your sd card, your /system/app stays there
you can do a df -h under adb to see your free space
jonnythan said:
I used the recovery partition to create FAT32, ext2, and swap partitions on my sd card.
1) What size does it make each of these partitions?
Click to expand...
Click to collapse
I believe it makes a 32MB Swap partiton, a 500 MB Ext2 partition and the rest fat32.
jonnythan said:
2) What is each used for?
Click to expand...
Click to collapse
The Fat32 is normal files like music, pictures, etc. The ext2 is used for apps2sd. Don't worry, 500MB is more than enough for this. The swap is used for bakcground applications so they run better without slowing the phone down as much.
jonnythan said:
3) When loading the MoDaCo update.zip (and rebooting after first boot) after creating these partitions, what does it do with each of them? My free space on each seems to change, and I think it's loading some apps to the SD card? But not others?
Click to expand...
Click to collapse
The Fat32 it shouldnt do anything. Obviously you will have less space because the other partitions are taking some of it's space. It loads the apps onto your ext2 partition but not all of them. System apps such as the calculator, browser, phone, etc stay on the system partition because it's faster.
jonnythan said:
4) How do you see how much space remains on the fat32 and ext2 partitions? Which one is shown in the SD card info settings page, and which one is used for USB mass storage mode? Neither seems to change much even after I install a bunch of >1MB apps.
Thanks for any help.
Click to expand...
Click to collapse
Do you have Windows, Linux or Mac. I don't know about Mac but I know Linux can view ext partitions natively (obviously, it's the native filesystem). For Windows you might be able to load the disk management application but if that doesnt show it you need a partitioning application or any other application that can read ext partitions off an sdcard. Don't know any off hand except paragon partitioning manager 9.0 (8.0 never seemed to work with my sd cards)
jonnythan said:
Also, what's taking up all my internal phone space? If the update.zip moved apps to the SD card, why do I only have 50 MB left of internal space?
Click to expand...
Click to collapse
See the above explanation.
nelson8403 said:
32 mb swap, 500mb ext2 rest fat32
swap is for linux swap if its used in the rom, ext2 is for your apps, and fat32 is for your storage
yes it loads all of your /data/app and /data/app-private apps on your sd card, your /system/app stays there
you can do a df -h under adb to see your free space
Click to expand...
Click to collapse
That answers my questions, thank you.
I found another though. I unmounted my SD card via Settings to see if the apps would fail to work in an effort to try to figure out if they were actually installed there. Predictably, they failed to work, but the system didn't pick the card back up after I reinserted it. So I rebooted the phone with the SD card in.
Then everything died. The apps didn't come back, but the phone still had them listed and tried to launch them, resulting in force-closes. An ext2 repair didn't fix it, so I just went back to my last Nandroid backup and reapplied update.zip.
I learned that this is a Bad Thing to do, but I'm wondering if this was a fluke or is it generally inadvisable to unmount the SD card for this reason?
im a noob to the whole android thing.but how do i partition the sd card and create ext2?????
jonnythan said:
I learned that this is a Bad Thing to do, but I'm wondering if this was a fluke or is it generally inadvisable to unmount the SD card for this reason?
Click to expand...
Click to collapse
Since this is a simple symlink, if you reboot the phone without the target of the symlink being there, and the phone tries to use it...
The results are left as an exercise for the reader.
Now for anyone who asks why it isn't smart enough not to break... that's like asking why your car doesn't run if you take half the spak plugs out.
posguy99 said:
Since this is a simple symlink, if you reboot the phone without the target of the symlink being there, and the phone tries to use it...
The results are left as an exercise for the reader.
Now for anyone who asks why it isn't smart enough not to break... that's like asking why your car doesn't run if you take half the spak plugs out.
Click to expand...
Click to collapse
Ah, but I'm asking why it still doesn't work once you put the spark plugs back in
It's not a big deal, I certainly learned not to do it.
jonnythan said:
Ah, but I'm asking why it still doesn't work once you put the spark plugs back in
It's not a big deal, I certainly learned not to do it.
Click to expand...
Click to collapse
Because booting the phone with it thinking the app was installed but it not able to find it trashed other data structures.
BTW, people trying to do stuff with the SD card removed after putting the apps on the SD card is probably one of the main reasons it currently is root only.
The OS needs to be modified to handle removable app storage gracefully (not something that happens in a standard phone.)
So should you format the card prior to flashing Modaco's ROM so the system knows to install all the apps to the ex2 partition. Or can you format the card AFTER you have already flashed Modaco's ROM and still have the apps automatically install on ext2 partition? I only ask cuz I formatted after flashing the ROM and wanna make sure it's installing it on the ext2.
I formatted mine afterwards and it moved all my apps over to the sd card automatically.

Formatting SD Card...

When I format my card by putting it in the slot my laptop has it doesn't wipe the ext partition... I say this because it's showing that the 2gig card is only a 1.27gig card. This can't be right?
Any help is appreciated.
What OS are you running?
Windows 7 (64 bit)
I don't have a card reader so I can't test it but try to right click on My Computer and select manage. Then go into Disk Management.
The problem is windows can't recognize ext partitions so it won't mount them
Otherwise look up a partition manager to run under windows. I always partition under linux or with dedicated tool you boot to off a CD. I am not sure a good one to recommend to run under windows. Maybe someone else can recommend one.
If you made a 4gb ext partition on an 8gb card, windows will now only see this as a 4gb card until you reallocate the ext partition.
I'm running Windows 7 64-bit and I use Paragon Manager to modify the ext partitions. I am not sure if there is a legitimately free version of this program.
Thanks everyone. I'm downloading Paragon Manager now. I made my ext partition too big and want to put more music on there. I also feel like partitioned the card twice... I think I have an ext 2 & an ext 3 partition.
Again, thanks!
Sd Formatter
mrcharlesiv said:
When I format my card by putting it in the slot my laptop has it doesn't wipe the ext partition... I say this because it's showing that the 2gig card is only a 1.27gig card. This can't be right?
Any help is appreciated.
Click to expand...
Click to collapse
I use SdFormatter from this link: http://www.sdcard.org/consumers/formatter_3/
Question:
Over the last few months I (like most people here) have tried several roms. I moved from the sdcard that came with the phone to an 8gb, no problems there.
The way I backup my sdcard is I make a folder on my desktop and literally just drag and drop the whole card over, hasn't let me down yet. When I switched I formatted the 8gb card and just copied my latest sdcard backup to the 8gb and everything works great. I am at the point where I have a lot of stuff on there from from things like apps I've uninstalled, etc. and I'd like to clean it up. I have everything I would want to keep backed up on my desktop.
So here is my question:
If I reformat my sdcard will the phone copy/install anything on the clean sdcard it needs to run?
If so then I'm thinking I could just copy what I want (nand backups, pictures, music, etc.)
Thanks
nebenezer said:
Question:
Over the last few months I (like most people here) have tried several roms. I moved from the sdcard that came with the phone to an 8gb, no problems there.
The way I backup my sdcard is I make a folder on my desktop and literally just drag and drop the whole card over, hasn't let me down yet. When I switched I formatted the 8gb card and just copied my latest sdcard backup to the 8gb and everything works great. I am at the point where I have a lot of stuff on there from from things like apps I've uninstalled, etc. and I'd like to clean it up. I have everything I would want to keep backed up on my desktop.
So here is my question:
If I reformat my sdcard will the phone copy/install anything on the clean sdcard it needs to run?
If so then I'm thinking I could just copy what I want (nand backups, pictures, music, etc.)
Thanks
Click to expand...
Click to collapse
Yes and yes. I have cleaned house a few times by deleting everything off my 8gb card and bringing back just my pictures, music and backups.
If you are using an ext partition to store apps and want to delete this data, you will need to format this with a program that can handle this ext partition or the easiest way is through recovery (wipe ext partition). Otherwise, if you want to keep your apps on the partition you can just delete everything off the card through windows or even format it there.
Thanks Danknee!!
I thought that was the case but wanted to make sure.
I haven't had the need to use a2sd yet so that's not a problem.
One more question:
I've formatted and put everything I want to keep back. Should I just reboot or do I need to reflash DC!.0, the reason I ask is because there was literally nothing on the card after formatting (not surprising). So I put HTC Sync back in case I need it, will the phone build the file structure it needs as it needs it or should I do anything else at this point?
Thanks
You can just reboot. The SD card doesn't have anything on it that would be replaced by flashing anyway. Since you aren't using apps2sd, you could technically have two different SD cards that you swapped in and out. You would just need to unmount and remount them to prevent corruption during the swaps.
Apps save settings on the card, but these will be resaved when you use these apps again. Conversely, the apps you never use again won't be taking up any space now.
danknee said:
You can just reboot. The SD card doesn't have anything on it that would be replaced by flashing anyway. Since you aren't using apps2sd, you could technically have two different SD cards that you swapped in and out. You would just need to unmount and remount them to prevent corruption during the swaps.
Apps save settings on the card, but these will be resaved when you use these apps again. Conversely, the apps you never use again won't be taking up any space now.
Click to expand...
Click to collapse
Awesome, thanks.
I totally understand what you just posted... So HTC ships these phones with SOME files that you can't get back by reflashing? (ie. HTC Sync) just curious
nebenezer said:
Awesome, thanks.
I totally understand what you just posted... So HTC ships these phones with SOME files that you can't get back by reflashing? (ie. HTC Sync) just curious
Click to expand...
Click to collapse
No, you can flash back to a stock sense ROM with no problems. What I meant was that you could actually use your phone with no memory card and it would be fully functional except that some apps couldn't save settings and data.
The SD card is completely optional and all the system files and system apk files are stored in your phone's internal memory.
danknee said:
No, you can flash back to a stock sense ROM with no problems. What I meant was that you could actually use your phone with no memory card and it would be fully functional except that some apps couldn't save settings and data.
The SD card is completely optional and all the system files and system apk files are stored in your phone's internal memory.
Click to expand...
Click to collapse
Sorry for the confusion... I understand the phone can operate sans sdcard. if I'm not mistaken I believe I installed HTC Sync on my pc from my sdcard meanin that if I deleted it without backing it up I would have to (Jeez, I just realized what a waste of time this is, but I'm in too deep to stop) get HTC Sync from another source, ie HTC's website?
LOL yeah, you are probably right about HTC sync. I downloaded sync from the HTC website anyway (to make sure I had the lastest version). Besides that, I can't think of anything else on the stock 2gb card that is irreplaceable..

[Q] Questions About A "Read Only" Micro SD

A week or so ago, I flashed this ROM onto my phone. ([ROM] (v1.2.6_r2) Nexus AOSP Gingerbread 2.3.4 - Faux123 [Jun-26-2011] - http://forum.xda-developers.com/showthread.php?t=1068367&page=189)
I had to end up switching back to stock ROM. Ever since the flash back to stock, my memory card has been "locked"
In the process of flashing my phone back to stock, my external Micro SD card became locked to "Read Only". I cannot format or erase any of the content that was stored on my card during the flashings. It literally seems to be "LOCKED" onto the card.
I've tried the windows format option in the Device Manager. I've also tried the Windows Command prompts. NOTHING has worked. Formatting the card in my phone does nothing. No data gets erased.
With the card in my phone, I can access all my files (movies, music, pics, etc). But I cannot modify, delete, or add any new content! (Example, I cannot select my External SD as a valid storage location for new pics in the camera.)
Does anyone have any ideas on how to reformat this card to get it working for me again. It is a 16gig card. I hate to throw it out.
Thanks.
I would recommend trying Panasonic's sdcard formatter. It seems to be pretty good at formatting sdcards that other programs have trouble with.
http://panasonic.jp/support/global/cs/sd/download/sd_formatter20.html
Another thing you could try, you can format your sdcard inside clockwork recovery mod. (Under the mounts and storage section if my memory serves)
mstrk242 said:
I would recommend trying Panasonic's sdcard formatter. It seems to be pretty good at formatting sdcards that other programs have trouble with.
http://panasonic.jp/support/global/cs/sd/download/sd_formatter20.html
Another thing you could try, you can format your sdcard inside clockwork recovery mod. (Under the mounts and storage section if my memory serves)
Click to expand...
Click to collapse
yes thats good one ! +1
avetny said:
yes thats good one ! +1
Click to expand...
Click to collapse
Thank you for the suggestions
That did not work. I ran the SD formatter and the windows formatter and my content is STILL on the card.
CWM won't format the card either.
Any other ideas?
Did you try partitioning the card? Just one 16GiB FAT32 partition?
Joe-retired said:
Did you try partitioning the card? Just one 16GiB FAT32 partition?
Click to expand...
Click to collapse
Joe -
That is officially over my head.
How would I go about doing that?
Can you get the card replaced under warranty?
Since you tried formatting the sd card, I am assuming you have backed up everything on it.
As easy way is in Clockwork recovery mod choose -> advanced; then choose -> partition;
when prompted for a partition size for the ext partition choose the smallest, also the smallest for swap (I think you can choose 0 for this one) continue to follow prompts and the card will be partitioned.
One more thing to try if that doesn't work:
http://gparted.sourceforge.net/livecd.php
Go to this site, download the cd or usb disk version and boot off it. Now, plug your card into your computer (NOT through the phone, use a usb reader. If you don't have one, you can probably pick up a cheap one for around 10 bucks.), you may need to rescan the disks after you plug the card in, to make sure gparted sees it. Now, delete the entire partition, so there is no partition at all on the card.
Boot back into windows, plug the card in, try to format it again. I've seen this happen when you have a damaged mbr on the sdcard. Also, when you format in windows, (if your system will allow it), id try to format it to a 64k cluster size instead of 32k. (on a 16gb card 32k is the default cluster size.) It'll speed it up a bit. (not really needed, but a nice boost.)
The last thing you can try, if all else fails, boot into clockwork recovery (assuming you have it installed) and format the sdcard through there.
If all that fails, I'd say you have a bad card. But try those steps first, hate to see you throw the card away if it's still good. )

partitioning internal sd

hey everyone. so if i partition the internal sd card what exactly am i doing? from what i understand, the g2x has 8gb onboard, 1.5 of that is for apps, and 5 goes to user data. the rest i assume is for android?
so if i create a 2gb partition on the internal sd, what am i changing and what does it do to the rest of the space? do i need to create the other partitions in windows later and format them?
168 views and no replies? anyone??
Ok, let me try to explain this one...
In three words, Don't Do It!!!
Your internal sd card is pretty much just that, it's a storage card built onto the phone itself. Now it is already partitioned, and allot!
Not only does this one physical card hold your "internal sd card" contents but it also holds your ROM, cache, all your apps, and even your recovery!
Even though it looks like these are separate drives they are all one physical card, your internal sd card.
Now if you try to add to this mix of partitions on this internal card you run the VERY HIGH risk of messing up the lines and sizes of these partitions. Many things in Android assume that some of these are a certain size or at a certain place, and if you mess with it all hell brakes lose!
Now people sometimes partition the external sd card because they want 2 different file types, like half fat32 (like a normal sd card) and half ext4/3 for apps it use in Linux.
Hope this helps!!!
Sent from my LG-P999 using Tapatalk
ok, well then i guess my question is more along the lines of why do we have that option in CWM Recovery and if i create a 2gb partition what happens? does it change the default 1.5gb partition so you have more room for apps?
dodgefan67 said:
ok, well then i guess my question is more along the lines of why do we have that option in CWM Recovery and if i create a 2gb partition what happens? does it change the default 1.5gb partition so you have more room for apps?
Click to expand...
Click to collapse
I'm honestly not sure, I've only ever messed with these partitions manually when unbricking my phone. So if you do it, you have a fairly good chance of bricking the phone, but i don't know how Android will react.
Sent from my LG-P999 using Tapatalk
thanks, i was just curious, since CWM gives us the option, but ive never done it and until i can find a good reason to i probably won't even mess with it
but it just seems kind of bad having 5gb on the internal card going to waste, i have backups to my external sd, all my data is there too, so i probably won't even touch that 5gb...
Just be glad it's not the other way around
Ill take too much space over not enough any day!
Sent from my LG-P999 using Tapatalk
well true, but still would like to know exactly what happens if you choose to run that in CWM Recovery
seek and ye shall find
found a guide for CWM and from what i see that option puts a partition on your external sd card so it can be used to install apps on IF the rom supports that. it says it does wipe everything else off the card though so you need to make a backup. you can also put a swap partition on it as well
looks like it does not touch the internal sd card phone memory which is what i thought it did
http://www.addictivetips.com/mobile...-and-how-to-use-it-on-android-complete-guide/

Categories

Resources