I want to get rid off the fat(32) primary partion on Android - Android Software/Hacking General [Developers Only]

is it possible to have just one or 2 ext partitions on the external SDcard to use with Android??
All I have researched is ppl crating a fat(32) primary at the beginning of sdcard and optional a second ext(234) partition. but I found out that the fat partition has many problems in the long run, files getting fragmented, bad sectors, etc, and I was getting a lot of problems like after opening ES file explorer the screen for the app went black and froze because it couldn't read from sdcard. I have /data mounted on the second ext4 partition of the same sdcard and that one has not any problems.
so this question probably have been asked somewhere else but I did a lot of Google-ING and also here and nothing in that direction yet.
I did try so far formatting the fat32 as ext4, and after booting ICS 4.0.4 doesn't see any SDcard. I have the mount-points switched so the external sdcard is now the internal and the other way around, so I can not see either one as the external that is the internal is now the external it should get mounted in a folder of the external. a bit hard to explain if someone hasn't done it yet.

Related

please help sd card problems

ok here is my situation i am running a rooted g1 with amon ra 1.5 recovery and cyanogen 4.2.12.2, i used the partitioning function from the recovery options to format my sd card , now that i have the fat32 , ext3, and swap partition i was able to move my cache and apps to the sd and everything is working great, the problem i am now having is i cannot access the fat32 partition , the mount/unmount option is faded i can see how much space is on it but i cannot put any of my files back on the card it also doesnt give me the option to mount the sd card anymore when i plug it into my computers i have tried it on my mac, windows xp laptop and my asus eee linux laptop
any help would be great thanks
You have probably corrupted the partition table somehow.
If you don't have anything precious on the card, try to wipe it and start over.
But since i know life i'm almost sure you have files there that you wish not to lose.
Tell me, did you format all the partition after creating them?
Did you unmount/re-mount the partitions after creating/formating and BEFORE you copied any files to them?
If the answer to any of the above question is "no", you've probably screwed up.
Regards,
Bushman
No I partitioned the card using amon ra recovery 1.5 it has the option to do the ext2, Swap and the fat 32 partitions all at once I did 96m swap 512ext2 and then upgraded it up to ext4 and left the remaining for fat32 , when I save files it does put them in the fat32 patitition I believe since my ext4 partition does not loose any space and I already ftp'd most of my files back to the card that would easily exceed the 512m partition I just can't get the mount option to come up now when I plug it into my computer other then that everything works perfectly
open console and type "dmesg", then insert the card and type it again, compare the few last lines, if there's anything diferent saying about MMC/SD, post it here (only the card related stuff)
Good luck,
Bushman

[Q] Link2SD and Partitions

I have an HTC Hero rooted with stock 2.1 firmware
I installed Link2SD and read through the development post on this forum but encountered and issue I cannot figure out how to resolve.
I reformatted my SD card with 2 primary partitions using MiniTool. I re-sized my standard partition to allow for an additional 400MB partition then formatted the unallocated memory to ext3 format.
So now I have 2 partitions that look like this in MiniTool (4GB SD card):
Partition FileSystem Size Status Type
-SDCard FAT32 3.30GB Active Primary
-AppsPartition ext3 400.06MB None Primary
(sorry cant get more spaces between words, dont use forums often)
I thought that was all I needed to do but when I put the SD Card into my Hero it just tells me I have a damaged SD Card. What do I do to fix this?
I just wanted to say I figured this out on my own. I don't know what the problem was but I reformatted the SD card from the Hero and it only formatted the SDCard partition and then I had to reformat the AppsPartition to FAT32 file system in order to be usable by link2sd and it worked.
No idea what caused the problem to begin with but got it resolved, that's all that matters right?
I had problems too until I formatted partition 1 as FAT (aka FAT16 - NOT FAT32), and the second as FAT32 or Ext2/3.
The key for me was the first partition being FAT.

[Q] Can't figure out SD Card Partitioning with Link2SD

I'm just wondering if anyone else has been able to make a second partition on their O3D/Thrill. I'm not sure if this problem I'm having is a limitation to the phone, or rom.
I'm using an LG Thrill with v20c baseband, Prometheus V1.4 rom.
I'm following this guide here:
http://forum.xda-developers.com/wiki/SD_card_partitioning
I have a 32gb micro sd. I've made my 2nd partition 10gb as ext2. When I put it in the phone it reads it, says it's ready to read/write media (in notifications bar). I then go to link2sd, it automatically asks me if the 2nd partition is ext2, ext3, ext4, or fat32/fat16. I tried ext2 and it says:
"Mount script cannot be created. mount: mounting /dev/block/vold/179:18 on /data/sdext2 failed: Invalid argument.
I then put it back into my computer and formated to fat32, same thing, then ext4, same thing. Each time I put it back into my computer Gparted sees the 2nd partition as "unknown", so I believe android is changing the partition type to something unrecognizable.
Well, being I haven't got a reply yet, I'll ask this,
Has anyone with an Optimus 3D partitioned their SD card?
Oh i did & got it worked but I stopped using the link2sd partitioning my sdcard, because somethings you should know. Well first, the sd has to be fat32 & when asking about the 2nd partition, chose fat32 and then reboot the phone. I tried ext2 or ext whatever just never work. After reboot and link2sd ask the same thing again, just pick the fat32 partion and reboot again. It worked for me after 3 reboot, strange don't know why.
Lastly, just let you know the 1st partition of the SD card won't show on your phone because theres already internal SD and external_SD folder only show the 2nd partition of SD card. But the 2nd partition won't show on your pc to transfer files, if you know what i mean. Like I wanted to use the 1st partition for music/movies and 2nd for apps (link2sd) but you have to partition the SDcard for the link2sd to work. So the external_SD folder is for 2nd partition, I looked everywhere for the movie on the 1st partition but never found it or maybe I should try root explorer...well I don't know maybe there's someone can help us out about the 1st partition OR maybe just my O3D SORRY for the long reading! lol

Formatting Question?

Hi all,
I have been reading about an issue that I have: 'android.process.media' keeps stopping.
One of the suggestions is that there maybe a corrupted file on your external sd card.
The fix is to either delete the file; good luck trying to find which file. or to reformat the sd card.
Since I have the keyboard dock and several 32gb microSD cards. I plan on copying all my files to the other card and then formatting the card in question.
However, it seems on the Asus tablet, I am not given the format option. I had it on my Samsung phone before the upgrade to ICS.
But one thing I wanted to do after some other reading is to format the card the same file system that is used on the internal memory.
If I have my facts correct, the internal memory is formatted as 'ext' and external SD cards get formatted as 'fat' (or is that fat32).
I think it's formatted as fat, is for compatibility with your PC.
However, the article, said that 'ext' is much more secure and less prone to corruption.
So is there anyway to format the external SD card in this 'ext' file system and how would one do that process?
Thanks!
Rob
You would need to do it in linux or find a windows program that could do it, as ext is not supported in windows. Im not sure the microsd will work right in the tablet formated as ext and your windows desktop wont be able to access .
Ok, I read in another thread, they suggested to put the microsd card in the phone and format from there.
I did do that.
And I have another question, my phone is rooted and it contains CWM.
I noticed in CWM, that you can fomat from there.
There are options to format areas, like /system /cache and the one I am interested in is /sdcard.
My question is this, is this /sdcard the external micro SD card or is it simply the partition /sdcard which is Samsung's internal memory. I don't want to take a change and format the internal SD card.
I think once formatted the external SD card, but I was on a different version of CWM, I have a different one after the ICS upgrade that was recommended by someone helping me do the ICS upgrade.
Anyway, thanks in advance!
Rob
Whoops almost forgot, there is thread on xda about formatting memory in ext4. I would like to try that and see if the Asus tablet can read that if I get to format the external card in ext4 Still looking for a Windows program that will format in that mode.
/sdcard is internal. /Removable is external.
I would be surprised if you can find a Windows program that reads, let alone writes, any type of ext filesystem (and forget about anything less mainstream like JFS or ReiserFS). Microsoft only made Windows compatible with their own filesystems, FAT32 and NTFS.

[Q] LG Optimus Logic (LGL35G) File system changes!!!

Ok first off i am infact a noob.
So heres the thing after rooting and removing almost everything i could i still do not have room to install apps even when link2sd move over to the phones fake built in sd card.
I am unsure how to do what i am asking or what info is needed but one issue is the phone has an internal memory of 1gb mounted as /sdcard
then my 16 gb class 10 sd card mounts as /sdcard/_ExternalSD
i did follow a thread of trying to use link2sd with a fat32 and an ext4 partition but in doing so the phone lost its ability to see the fat 32 partition and only saw the ext2 partition
so that attempt failed me.
my system and my data mounts continue to loose space after installing a few apps.
Now i live the flexibility of the droids but the major design flaw is the limited file system structures i removed almost all stock apps installed dolphin mini and holo launcher plus as system and removed stocks..
so my question how can i use my phones true sd card mounted as /sdcard/_ExternalSD for storage of apps and my phones fake sd card /sdcard for storage of the data mount ? can i possibly reassign space using some kind of secret partition manager to increase the data mount and sys mount and remove space from the fake sdcard mount?
Or how can i regain the fat 32 partition in my phone when the symlinks to the ext4 partition are holding up and working as intended
Im using a straight talk LG Optimus Logic (LGL35G)
It has no access to a recovery menu that is disabled all i can do is the basic wipe userdata with the vol down pwr and menu.
all changes i made to system remained root stays all sys apps i assigned stayed. no option for firmware update ect...
More details .
formatted 16gb class 10 sd to 10 gb fat32 primary and 6 gb ext2 primary
the fat 32 partition does not mount because the link2sd is confused by the existing /sdcard mount from the phones 1gb internal memory... and i dont know how to mount it or what to change to allow it to mount or what the mount should be called
I have read topics like
[GUIDE]Set up sd-ext partitions easy. http://forum.xda-developers.com/show....php?t=1750888
[HOW TO] Fix the "Low on space" problem (in plain English) http://forum.xda-developers.com/show....php?t=1488351
[DEV][19NOV] Native Mount DataOnEXT with DalvikOnNAND (Test #2) http://forum.xda-developers.com/show....php?t=1843062
But i am unsure what to do still and the partitioning sd card failed to work as needed.
does anyone have a work around or a mod to the link2sd script that can correct the loss of the fat 32 partition?
after moving apps to phone thin link2sd the symlinks holding after reboot
I have read topics like
[GUIDE]Set up sd-ext partitions easy. http://forum.xda-developers.com/showthread.php?t=1750888
[HOW TO] Fix the "Low on space" problem (in plain English) http://forum.xda-developers.com/showthread.php?t=1488351
[DEV][19NOV] Native Mount DataOnEXT with DalvikOnNAND (Test #2) http://forum.xda-developers.com/showthread.php?t=1843062
But i am unsure what to do still and the partitioning sd card failed to work as needed.
I am bumping this topic because I have the same problem.
I am not quite a noob, ever android phone ive gotten my first steps have been root then set up link2sd, and I've never had any issues.
But with this LG Optimus Logic, I just can't get it to work.When I have 2 partitions, both fat32, the phone only sees the smaller of the 2 partitions and link2sd shows that partitions as the 1st and 2nd partition. When one is formatted as ext2, the phone sais the sd card is blank.
Someone has ot have answers, this is irritating. Low disk space after installing a few basic apps.
maybe there is something we can change in the build prop making it so things mount differently. remember doing something like that on my epic 4g touch and motorola photon

Categories

Resources