Ext partition - LG Optimus Black

Ok this might be a noob question but im going to ask it anyway..
Whats the point of creating one on the sd card?
Is the only benefit that i can move my apps to the sdcard with tools like link2sd?
Or can i also let the phone think i have more internal memory?
Im running the jellybam rom but i cant find any info about ext partitions, anyone who can explain it to me?
Thanks and enjoy your weekend guys

Coldstream said:
Ok this might be a noob question but im going to ask it anyway..
Whats the point of creating one on the sd card?
Is the only benefit that i can move my apps to the sdcard with tools like link2sd?
Or can i also let the phone think i have more internal memory?
Im running the jellybam rom but i cant find any info about ext partitions, anyone who can explain it to me?
Thanks and enjoy your weekend guys
Click to expand...
Click to collapse
I don't know that there is an advantage for ext3 with a flash drive or SD card. See:
http://www.phoronix.com/scan.php?page=article&item=linux_f2fs_exfat&num=1
The article is mostly about f2fs vs exFAT, but some comments included.
"Earlier Phoronix tests have shown that F2FS from flash storage is already generally competitive with the popular Btrfs and EXT4 Linux file-systems."
"Seeing a user-space implementation of the Microsoft file-system outperforming the in-kernel "Flash-Friendly File-System" came as a shock."
With already slow SD transfer rates due to the media itself, I doubt you'll see an improvement in system performance. Maybe someone here has a better idea. I don't. But the worst you can do is nothing.
My only concern would be hooking up the 970 to a Windows machine; "stock", Windows may not see the extra ext2/3 partition. You'd need Linux to do that.

Hmm i've readed the article but cant find any info about what im looking for..
Anyone else who can help me?

Related

Ext3 as root filesystem?

Hi there,
I've seen all the posts about formatting the sd card with the ext3 filesystem, but i would like to know if there is a way to modify the root filesystem to be ext as well?
I know this is probably a daunting task, but im willing to learn and want to jump into android headfirst. Any suggestions would be appreciated. Thanks!
Sent from my SAMSUNG-SGH-I897 using XDA App
That's basically what Voodoo does, except it uses ext4 not 3. No such thing yet for Froyo unfortunately.
Well this may be OCD of me , but I like knowing the file system isn't some virtual filesystem. I'm still learning advantages and disadvantages of different file systems, but I know that FAT (or RFS) is horrible.
It sounds like I'd need to write my own ext4 driver, flash a kernel with that driver, make a partition on the main 1GB internal memory as ext4, and install the ROM over that. Am I missing anything, or does that sound right? And if that is right, are there resources on how to do that task?
Thanks so much, everyone!
sigmaelectric87 said:
Well this may be OCD of me , but I like knowing the file system isn't some virtual filesystem. I'm still learning advantages and disadvantages of different file systems, but I know that FAT (or RFS) is horrible.
It sounds like I'd need to write my own ext4 driver, flash a kernel with that driver, make a partition on the main 1GB internal memory as ext4, and install the ROM over that. Am I missing anything, or does that sound right? And if that is right, are there resources on how to do that task?
Thanks so much, everyone!
Click to expand...
Click to collapse
first of all, you need to start out with source for 2.2, which is not available yet....so everything else is pretty much not going to happen until source is available. there are couple of 2.1 kernels that have already been built and they work pretty well.
**EDIT**
and source has been released for the i9000. we are close now

[Q] Convert SDCard to MainMem so External_SD becomes SDCard?

Hi there,
Is there a way to make the add the internal SD card to the main memmory? So that there would not be an internal SD card anymore?
I do not mean swapping the moutpoints around so my External_SD becomes my primary and my internal my second....
I want to get rid of the internal one alltogether (adding it to main memory).
I figure that I'll have to format the storage in a certain way... would that do it?
Can someone tell me step by step what to do?
I do have CW-mod installed.
I did search the forum, but couldnt find anything conclusive. Just hints that it should be possible...
If there already is a thread where all this is explained, please point me to it, because I couldn't find it.
Thanks,
Pfeffa-rah
I don't think this is possible , never heard of someone who did it
I have no idea how to do that. My question is... why would you want to do that?
Having an internal_sd partition adds the benefit of having big app data (such as those in Gameloft games) sit in a very fast partition and still be called "sddata".
Also, it's mountable via PC so everything in there can still be backed up. So it's best of both worlds really.
This was discussed some time ago in this thread: http://forum.xda-developers.com/showthread.php?t=1013575
There were ideas on how to remount the cards at boot. I myself come to the conclusion that since more phones start to behave in this way, app developers will have to start dealing with it. It just sucks they are mostly slow on the uptake. My main problem was the Spotify cache location being hard coded so I resorted to hack the Spotify apk.
PS. salisbury_steak: What is it with people like you that every time someone has a question on how to do something, your immediate response is "But why would you want to do that?!".
sorech said:
PS. salisbury_steak: What is it with people like you that every time someone has a question on how to do something, your immediate response is "But why would you want to do that?!".
Click to expand...
Click to collapse
That was actually an honest question.
I wanted to understand why he wanted to do it. (i.e. What would be the advantages of it.) There was no supposed sarcasm in there.
how about the ability to install 5x more applications?
Having that stupid 5gb partition as sd card and the real sd card as a sub folder is retarded...
My 32GB class 10 cars is a lot faster than the internal one.
The internal 5gb memory is MUCH TOO SMALL!!! Most apps don't allow you to store data on the external card. If you like me and many others install some games that download aditional data + a nav app that downloads maps for europe + some streaming music app like wimp that can cache music for offline play then you are ****ed with LG's setup.
The setup CM7 uses solves the main problem but effectively wastes the 5gb by mounting it at emmc where like 0,0001% of apps are able to access it.
So adding those otherwise wasted 5gb to the main memory would be great. But i have not seen any solution to that yet :-(
Thank you Gensplejs for explaining that to them. I had no idea how to reply to that since it seemed so obvious to me.
This thread was ment to be a question about how to do it and not to discuss the usefullness of it. That is where I lost the way in other threads...
So, thanks for your replys all (realy).
But now, back On-Topic:
How would I do it?
Sent from my LG-P990 using XDA Premium App
Please don't blame me if you tried it and you screwed up your phone.. It's your choice...
Well, I don't know if this would work, but this is how I would do it (accepting the fact that I'd loose almost 2GB of /data's free space):
1. Format your internal sd card to the same file system as your /data partition is (ext3 or ext4)
2. Copy every file from /data 1:1 to your sdcard (cp -R /data/* /sdcard)
3. I don't know when and where the partitions are mounted (maybe init.rc??)...anyways change the target there and let /data point to the internal sd card partition (so it is ensured that it is mounted automatically to the new location)
4. Reboot and keep your fingers crossed
I think i figured how to do it in theory. First we need some free space at our microsd to cp /data. Then we should repartition with fdisk /dev/block/mmcblk0p8 and p9 into one partition and change vold.fstab to mount only externalsd at /sdcard as we do when we swap partitions. In theory it should work but i cant test it right now or make a script since ve gone vacations and i dont have a pc to restore in case of error
I agree.. certain apps wont store to sdcard.. its better to use the whole 8gb as phone storage, and use external sdcard as default sdcard.
Sent from my LG-P990 using XDA App
What ive found till now is that sd swapping is easy. You can do it by tweaking only vold.fstab. But repatriationing is a pain in the ass. Looks like lg has "faulty" partitions or something and to do it you must mesh up with with almost half partitions.
I had to rebuilt boot lgdrm recovery data and sdcard to make em half work. So it probably isnt worth the trouble. Also I think init.rc is built on the boot. So just remounting internal sd to /data wont work either.
sectors is not space
it says 7996, so thats 8GB
i saw it in hurry. the brain sometimes belives whats he want to belive
sorry
New to XDA
Hello everybody,
I'm new to android and i'm trying to find out how to solve the problem posted in this thread.
I see you've got the awnser but i don't know how to do this.
I've been searching google and XDA for ever but i just can't find the awnser.
Could you make a step by step howto or point out to a post how to do this.
I mean converting your external sd to ext4 and change the mounting points.
I'm a complete nood, i didn't get adb to work on my pc, ext4 recovery is not for the p990 2x.
I've read something abbout changing fstap for swapping te mounting points for sdcard and emmc, witch is also ok for me, but formating to ext4... wel i frankly don't know how to do this.
I'm quite stuk on this.
The only partitioning experience i've got is Gparted in Ubuntu or repartitioning in Windows 7.
Thans in andvance!
Greetz,
JMG
http://android.modaco.com/topic/347...-partitions/page__gopid__1821791#entry1821791
check this
you can expand data partition , but there is a limitation of 1.75gb
Thanks davjan
Thanks davjan,
As far i can see it's indeed not worth it.
I wil have to go on and try to find out how to change the filesystem to ext4 and swap the internal and external sd.
That way i get more usable space instead of a big datastorage witch cannot contain program data.
But thanks for the quick reply.
Jean Michel Gaar said:
Thanks davjan,
As far i can see it's indeed not worth it.
I wil have to go on and try to find out how to change the filesystem to ext4 and swap the internal and external sd.
That way i get more usable space instead of a big datastorage witch cannot contain program data.
But thanks for the quick reply.
Click to expand...
Click to collapse
what rom are you using? is your phone rooted?
swapping internal with internal sd is very easy
and most of the roms here on xda are ext4 , if you instal one of them they autoconvert to ext4
Jean Michel Gaar said:
Thanks davjan,
As far i can see it's indeed not worth it.
I wil have to go on and try to find out how to change the filesystem to ext4 and swap the internal and external sd.
That way i get more usable space instead of a big datastorage witch cannot contain program data.
But thanks for the quick reply.
Click to expand...
Click to collapse
I you read the link provided you'll see that it makes what you want: grow internal filesystem = lower SDcard usable space. The only thing is that it doesn't seem possible is to use the whole space: system limitation. 75Markus tried high /system and /data values and phone didn't work.
See in his Mediafire Folder, 'Nvflash + guide for changing Partitions:
http://www.mediafire.com/75markus
Ext4 is now common with custom ROMs (in fact all of them).
You should search in sd-ext partition system, which was designed to artificially expand filesystem on older phones using an 'ext' partition. I didn't heard anybody using this on O2X.
If you use CyanogenMod based ROMs, your external card will be mounted ad /sdcard by default.
Switching internal and external SD
Thanks guy's,
I'll check it out.
I've been using cyanogenmod 7.1 stable with vorkkernel 20110208.
But that gave me batterydrains while using maps and nextvid ate the same time (while i'm driving).
Now i'm trying MIUI 1.11.11 with latest swift extreme.
But MIUI is very buggy so i'm thinking of going back to CM.
The only thing is that my phone won't boot with the latest vorkkernel.

[Dev] Boot Android superuser on µSD

Hi all,
I have tried to boot with µSD card. It's a cool idea for people who share their Archos G9 tablet or if you are paranoid like me (wipe a SD-card is easier than wipe a full SSD Archos).
I test with Class 6 16Gb Samsung µSD. I feel that it's fastier on µSD than SSD.
If somebody is interested by a howto or a video, ask kindly me
Thaolia
Hi,
a howto would be great to have
Tha0lia said:
Hi all,
I have tried to boot with µSD card. It's a cool idea for people who share their Archos G9 tablet or if you are paranoid like me (wipe a SD-card is easier than wipe a full SSD Archos).
I test with Class 6 16Gb Samsung µSD. I feel that it's fastier on µSD than SSD.
If somebody is interested by a howto or a video, ask kindly me
Thaolia
Click to expand...
Click to collapse
Are you booting from and EXT4 partition on the SD card ? That might explain the performance boost, one of the thing we can do in the future is have an EXT4 partition on the internal storage of the device and run the os from there, that gets the speed up quite a bit... Same as $auron di with UrukDroid for the Gen8.
TjaXanK said:
Are you booting from and EXT4 partition on the SD card ? That might explain the performance boost, one of the thing we can do in the future is have an EXT4 partition on the internal storage of the device and run the os from there, that gets the speed up quite a bit... Same as $auron di with UrukDroid for the Gen8.
Click to expand...
Click to collapse
Unfortunately, gen9 is a bit more complicated for this...
I created a thread regarding this with some information I gathered if someone is interested. Take a look here.
Can we have an howto?
With Letama' post (http://forum.xda-developers.com/showthread.php?t=1395797),
I decide to work on rootfs img with a menu for choose your data partition. It's safer than all of SSD on a µSD.
can you please give me a how to
thanks
So, you're saying you can run the G8 off the external SD? If so, I'd be interested in this.

SanDisk Ultra 64GB microSDXC Class 10 Formatting

Just got the card for my i9305 and need advice from you guys formatting it. I'll usually put game files, music video, movies etc in it and I don't really see any file that could be larger than 4GB (if there are do give me an example). Now my question is what should I format it to? FAT32? NTFS? exFAT?. I'd probably go with exFAT cuz then you can put files larger than 4GB but I've heard that exFAT has issue getting the file corrupted and read many people complaining about it in this forum. NTFS can also consume files larger than 4GB but I've never heard anyone formatting it to NTFS. Now FAT32 is what most people are preferring. What do you guys think? Please explain this issue briefly so that I can take a decision.
Thank You!!
Ishan Sardar said:
Just got the card for my i9305 and need advice from you guys formatting it. I'll usually put game files, music video, movies etc in it and I don't really see any file that could be larger than 4GB (if there are do give me an example). Now my question is what should I format it to? FAT32? NTFS? exFAT?. I'd probably go with exFAT cuz then you can put files larger than 4GB but I've heard that exFAT has issue getting the file corrupted and read many people complaining about it in this forum. NTFS can also consume files larger than 4GB but I've never heard anyone formatting it to NTFS. Now FAT32 is what most people are preferring. What do you guys think? Please explain this issue briefly so that I can take a decision.
Thank You!!
Click to expand...
Click to collapse
exFAT vs. FAT32; exFAT always wins. And you can't be sure that you can read NTFS in Android.
CalInTheZone said:
exFAT vs. FAT32; exFAT always wins. And you can't be sure that you can read NTFS in Android.
Click to expand...
Click to collapse
okay..but what about the corrupting file issue? did u ever face that kind of problem??
Ishan Sardar said:
okay..but what about the corrupting file issue? did u ever face that kind of problem??
Click to expand...
Click to collapse
Never ever had a problem with a SD card if you don't count the sh*tt* Sony cr*p that I had the "pleasure" to own...
Ishan Sardar said:
okay..but what about the corrupting file issue? did u ever face that kind of problem??
Click to expand...
Click to collapse
I think what you're talking about is people switching from Samsung-based ROMs to AOSP-based ROMs. Microsoft is charging licensing fees for exFAT drivers, and while there are open source drivers available, none of them can be included in Linux or Linux-based projects (at least not in any official manner *hint* *hint*) due to patents that Microsoft have on the exFAT filesystem. The result of this is that people think their stuff is gone because Android reports it as uninitialised or corrupted, when in reality Android simply can't read it. Current CyanogenMod kernels (and I think Samsung-based as well) have FUSE support, which is a requirement of the current open source implementations *hint* *hint*.
Rekoil said:
I think what you're talking about is people switching from Samsung-based ROMs to AOSP-based ROMs. Microsoft is charging licensing fees for exFAT drivers, and while there are open source drivers available, none of them can be included in Linux or Linux-based projects (at least not in any official manner *hint* *hint*) due to patents that Microsoft have on the exFAT filesystem. The result of this is that people think their stuff is gone because Android reports it as uninitialised or corrupted, when in reality Android simply can't read it. Current CyanogenMod kernels (and I think Samsung-based as well) have FUSE support, which is a requirement of the current open source implementations *hint* *hint*.
Click to expand...
Click to collapse
that was really informative and useful thank you. I just didn't know that was the reason behind peoples complaining. Now I'm gonna have to ask you again...I know a very little or almost nothing about samsung's way of development, fuse support, microsoft charges etc etc cuz I've been a sony user for a very long time and this is my first change. so If I format my sd card to exFAT and install AOSP based rom then my file system is tend to be corrupted? is there any way to make my android read the data after I install AOSP based rom?
Ishan Sardar said:
that was really informative and useful thank you. I just didn't know that was the reason behind peoples complaining. Now I'm gonna have to ask you again...I know a very little or almost nothing about samsung's way of development, fuse support, microsoft charges etc etc cuz I've been a sony user for a very long time and this is my first change. so If I format my sd card to exFAT and install AOSP based rom then my file system is tend to be corrupted? is there any way to make my android read the data after I install AOSP based rom?
Click to expand...
Click to collapse
Yes, definitely, but I personally do not know how, you will have to look around, it might be difficult. I would suggest looking at how PhilZ custom recovery works, it has exFAT support.
If you simply install an AOSP-based (like CyanogenMod) without modifications you will not be able to read an exFAT formatted card at all.
Rekoil said:
Yes, definitely, but I personally do not know how, you will have to look around, it might be difficult. I would suggest looking at how PhilZ custom recovery works, it has exFAT support.
If you simply install an AOSP-based (like CyanogenMod) without modifications you will not be able to read an exFAT formatted card at all.
Click to expand...
Click to collapse
ah way too much hassle to find out how exFAT works on different roms besides I'll be changing roms quite a lot as I love to play around with my phone...I think I'll just go for FAT32 for now besides what could possibly be larger than 4GB if I'm only gonna put all the regular stuff like music, movie, games etc? anyway could you please tell me how to format it to FAT32? cuz mine is formatted to exFAT by default and I don't see any option in my pc to format it to FAT32, it's just NTFS and exFAT.
Ishan Sardar said:
ah way too much hassle to find out how exFAT works on different roms besides I'll be changing roms quite a lot as I love to play around with my phone...I think I'll just go for FAT32 for now besides what could possibly be larger than 4GB if I'm only gonna put all the regular stuff like music, movie, games etc? anyway could you please tell me how to format it to FAT32? cuz mine is formatted to exFAT by default and I don't see any option in my pc to format it to FAT32, it's just NTFS and exFAT.
Click to expand...
Click to collapse
I am assuming you are using Windows as Linux and OS X do not hide the option to use FAT32. Open a command prompt (cmd) and type "format /FS:FAT32 X:", where X is the drive letter of your SD card.
Rekoil said:
I am assuming you are using Windows as Linux and OS X do not hide the option to use FAT32. Open a command prompt (cmd) and type "format /FS:FAT32 X:", where X is the drive letter of your SD card.
Click to expand...
Click to collapse
damn man it took a good 3 hours....its so damn slow and after all that time now its saying the volume is too big for FAT32
any other way to format it to FAT32 safely?
Ishan Sardar said:
damn man it took a good 3 hours....its so damn slow and after all that time now its saying the volume is too big for FAT32
any other way to format it to FAT32 safely?
Click to expand...
Click to collapse
Your problem is your allocation size that is the problem with FAT32 when larger than 32GB, that is a big problem with MS standart software; it can't do it.
http://www.ridgecrop.demon.co.uk/index.htm?fat32format.htm is what you need and remember with large allocation sizes you don't want to but small files on the drive.
CalInTheZone said:
Your problem is your allocation size that is the problem with FAT32 when larger than 32GB, that is a big problem with MS standart software; it can't do it.
http://www.ridgecrop.demon.co.uk/index.htm?fat32format.htm is what you need and remember with large allocation sizes you don't want to but small files on the drive.
Click to expand...
Click to collapse
I tried the GUI app once before and it formatted my sd card to FAT32 instantly then I put it in my s3 and it recognized the card too then I formatted the card using my s3 again just to make sure it stays at FAT32 and lol it's gone back to exFAT again. Is this normal?
One more question when I start the gui it gives me several allocation unit size 512 to 65536 what should I select? Also after I format my sd to FAT32 will it behave normally? (I mean this was ridiculously fast while I mentioned the windows one took 3 hours lol) can I fill it up till the last bit? If the phone recognize the SD it means I won't have any problem with installing and rom or anything right?
Ishan Sardar said:
damn man it took a good 3 hours....its so damn slow and after all that time now its saying the volume is too big for FAT32
any other way to format it to FAT32 safely?
Click to expand...
Click to collapse
Look at "format /?" in a command prompt. It will tell you all the flags you can use, there should be one for quick format. And there are numerous programs which do this, just Google it.
Try EASEUS Partition Master 9.1.1 Home Edition
There's a newer version but I used 9.1.1, you can get it from filehippo.com.
If you delete the partition in a partition manager software, do not try to format with Microsoft Windows Disk Management.
This can damage the drive!
Default cluster size is 32kB for 32GB to 2TB
http://support.microsoft.com/kb/140365
IrfanCore said:
Try EASEUS Partition Master 9.1.1 Home Edition
There's a newer version but I used 9.1.1, you can get it from filehippo.com.
If you delete the partition in a partition manager software, do not try to format with Microsoft Windows Disk Management.
This can damage the drive!
Default cluster size is 32kB for 32GB to 2TB
http://support.microsoft.com/kb/140365
Click to expand...
Click to collapse
Yeah... do not use EASEUS Partition Master. There are, as I said, numerous much much simpler softwares that can do this, not to mention the fact that "format" can do everything you want, given the correct arguments.
Rekoil said:
Yeah... do not use EASEUS Partition Master. There are, as I said, numerous much much simpler softwares that can do this, not to mention the fact that "format" can do everything you want, given the correct arguments.
Click to expand...
Click to collapse
i suggest try using HP USB Disk Storage Format Tool to format it. remember to use usb card reader if not format tool cannot detect your SD card.

[Q] ? how can I overcome the 4gb file system limitation

I would like to repurpose my N1 as a little WiFi capable storage device. I have been combing the internet for solutions and tried a few things. I can't seem to get a combination of android OS partition scheme and file system to accomplish this. Can somebody point me in the right direction. I am not picky about any of the details but it would be nice to be readable from windows. I am currently messing around with ext4 and using ext2fsd but I am not really getting anywhere.
Thanks if u can help me out
dasbooter said:
I would like to repurpose my N1 as a little WiFi capable storage device. I have been combing the internet for solutions and tried a few things. I can't seem to get a combination of android OS partition scheme and file system to accomplish this. Can somebody point me in the right direction. I am not picky about any of the details but it would be nice to be readable from windows. I am currently messing around with ext4 and using ext2fsd but I am not really getting anywhere.
Thanks if u can help me out
Click to expand...
Click to collapse
You can flash a custom ROM (I recommend Evervolv KitKat) and use a2sd. Then you'll have up to 32 G on the external sdcard (which becomes a virtual "internal" sdcard.
Sent from my Nexus One
PhilipTD said:
You can flash a custom ROM (I recommend Evervolv KitKat) and use a2sd. Then you'll have up to 32 G on the external sdcard (which becomes a virtual "internal" sdcard.
Sent from my Nexus One
Click to expand...
Click to collapse
Hey thanks I already had a custom rom going with jelly bean and have a ext4 partition with a2sd install but it to make it visible even to linux seems to be a challenge and I dont know why. I also seem to get errors when downloading files bigger than 4gb which makes no sense. I dunno maybe i should get an otg card reader and put the old 4gb back in the phone and put the 32 gb in the card reader and use paragon software. Any body think this might work or have another suggestion.
dasbooter said:
Hey thanks I already had a custom rom going with jelly bean and have a ext4 partition with a2sd install but it to make it visible even to linux seems to be a challenge and I dont know why. I also seem to get errors when downloading files bigger than 4gb which makes no sense. I dunno maybe i should get an otg card reader and put the old 4gb back in the phone and put the 32 gb in the card reader and use paragon software. Any body think this might work or have another suggestion.
Click to expand...
Click to collapse
How about partitions sizes?
Sent from my Nexus 5
PhilipTD said:
How about partitions sizes?
Sent from my Nexus 5
Click to expand...
Click to collapse
Thnks again, The fat 32 partition is aprox 6gb and the ext4 partition is aprox 22gb so ya the ext4 is much bigger than the fat32 but that is what would make it practically useful. Right now I seem to be getting i/o errors around the 4 gb size area of a torrent? for a vmware image of a linux distro.

Categories

Resources