I'm looking to use the other 15 gig to store music and then possibly create a symbolic link to the sd card or to the other 1gig of user space. is this possible? I'm looking to symlink to sdcard so music players may recognize it. (I realize I may need to format sdcard to ext2 or ext3 because fat32 does not support symlinks if I'm correct.) thanks.
hoping to also store nandroid backups on it too.
http://forum.xda-developers.com/showthread.php?t=1355970&highlight=storage - take a look to the last page of that thread.
Questions are no longer permitted in general forum, we have a new section for Q&A read the new rule (sticky)
~ Veronica
Related
Hello! I've searched all over the internet about this but haven't found any usable information about this. I was thinking about storing music files etc on the ext partition on my SD-card. I've a 8GB sdcard with a 64MB swap, 1024MB FAT32 and rest of the space goes to an ext2 partition. The problem is, how do I acess the ext2 partition in the phone? I know it is placed in /system/sd. But it seems it is only the super-user who has access to this folder. Is it possible to symlink the folder to another place and make it accessible for the user?
Every info I find is about storing apps on the ext-partition, which works. But having 6GB space for apps feels very overkill. FAT32 seems to be quite limited to speed when copying files, and also it have size limit of files.
The easiest and most recommend way to solve your problems is to repartion your card to:
0M swap (no use for swap on hero)
512M ext2 (see below)
rest as FAT (over 7G for your music)
If you plan on having every single one of the apps on the market you can give the ext2 partition 1024MB, no need to give it any more. There are numerous problems that can arise from having larger ext2 partitions, just of the top of my mind if you do have more data on the ext2 partition larger than your FAT free space you can't do a nandroid backup, you'll end up storing too much stuff on the ext partition which is usually wiped on ROM update and replacement, and it is much harder to access these files, as opposed to the FAT partition which is can be mounted as a USB drive to your PC.
Finally note I said ext2, and not ext3/ext4 because Ext3/4 are journaling file systems which are NOT suited for flash devices. They also have much more CPU overhead then ext2. Finally not all ROMs/kernels support ext3/ext4 and for a good reason!
BTW, please post questions in the either the Q&A or general sections. This is the DEVELOPMENT fourm.
Good luck.
Thanks for your reply, and sorry for posting in the wrong forum, which is quite obvious when I see it now!
Moved to Q&A as not development
erasmux said:
The easiest and most recommend way to solve your problems is to repartion your card to:
0M swap (no use for swap on hero)
512M ext2 (see below)
rest as FAT (over 7G for your music)
If you plan on having every single one of the apps on the market you can give the ext2 partition 1024MB
Click to expand...
Click to collapse
+1, Yeppers, wow a 6gb ext... That is some serious overkill,why?
Sent from my phone.
I was thinking to use the ext partition as a storage of music etc instead of the fat32 partition. The ext-partition is faster to copy files on, especially if you get a 32gb card and maybe you want to transfer big files. If I remember it right FAT32 table doesn't allow file-sizes more the 4GB, and it is also slower to copy to or from.
Any linux operating system should be able to read the ext partition on your sd card, or a program such as gparted is another thing to look into. Remember you can boot to linux without installing the operating system (boot from CD). Ubuntu or Knoppix is a good one to check out if you're new to it all.
Hehe, I think you did misunderstand my main question. The question is how to read the ext-partition directly from the phone with a file-manager (i.e. Astro File Manager). Not from a computer, from the phone, in the phone.
Vantskruv said:
Hehe, I think you did misunderstand my main question. The question is how to read the ext-partition directly from the phone with a file-manager (i.e. Astro File Manager). Not from a computer, from the phone, in the phone.
Click to expand...
Click to collapse
O in that case you have no chance lol. AFAIK there isn't any program designed for this purpose.
Vantskruv said:
Hehe, I think you did misunderstand my main question. The question is how to read the ext-partition directly from the phone with a file-manager (i.e. Astro File Manager). Not from a computer, from the phone, in the phone.
Click to expand...
Click to collapse
Well it depends where your ROM mounts it. I think most ROMs mount it to /system/sd, so you can use any file explorer with root permissions to browse there (i.e. ES File Explorer).
I've been running an 8GB NT on CM7 for a few days and thought it may be of use for anybody working on the 8GB version to have a backups of the original unaltered partitions.
These will obviously be of use if you accidentally wipe a partition or if you just want to return to complete stock. I believe Adam will be creating his ubunto total wipe restore disk which will make it a very simple process to return a modified NT back to complete stock.
You can download all the partition images HERE
I hope somebody finds them useful for development with the NT 8GB
If a moderator believes this is more of a General post than a Development one please feel free to move the thread to General section
Thanks
***UPDATE***
For some reason the file hadn't fully uploaed so wasn't working, thanks to Adamoutler for spotting it! RE-Uploaded now so should be the full file
How?
Were you able to root your 8GB NT?
I can't get mine to boot any of the root SD boot.img's
So I have a nook tablet running CM7.1.0. I put music on the internal memory(copied from my sdcard) and every music player I tried ( Winamp,TTpod, Meridian ) and none of the files won't play. I've read online that you have to mount something in the terminal. Anyone wanna help a Noob Out?
I've been dealing with the same I have all my music under /mnt/media/My Files/Music but I finally found an app that can scan from internal folders too PoweAmp, is a payed app but worth it.
BTW: WRONG SECTION TO POST THIS, NEXT TIME POST YOUR QUESTION IN Q&A SECTION READ THE RULES (STICKY)
~ Veronica
Sent from my Nook Tablet using xda premium
Couldn't you put a link in the uSD card's music folder pointing to the directory in the internal memory location? Hopefully with all of the newer devices coming out with larger quantities of on-board storage developers will begin coding to take use of it.
I have already tried with link, mount scripts but no go, good thing is that Team B has already fixed this issue, they got internal storage recognized and got it to mount to PC too. Can't wait for the fixes and new version of MIUI containing them.
~ Veronica
Wait, Team b made it possible to recognized on the computer ? How?
Moved To Q&A
Please post all questions in the Q&A section
Seeing how I'm not getting any response to my question about f2fs, I thought I should educate myself on the general topic of storage on android.
From what I understood the external SD card is mounted by vold automatically when it's detected, based on the entries in /etc/vold.fstab. I skimmed through the vold sources and saw only support for the FAT file system (Fat.h, Fat.cpp), so I guess if I was interested in adding support of another file system I would have to modify vold, right?
Then I see here (link 1), that the external storage is case-insensitive and permissionless, so I will probably have to chmod 777 everything that goes on the card if it's not FAT32, right? Probably apps creating files on the card will store them with some sort of permissions that will prevent other apps from seein/reading them. I wasn't sure what would happen, so I thought I'd search on the net about how to handle ext4-formatted cards - first resource I found is here (link 2), though it's cm-specific it seems like it should work with any android. So I tried using the sdcard binary to bind my sdcard to /storage/extSdCard, this had however no effect, I just get a message:
Code:
get_selabel_handle: file_contexts is loaded from /file_contexts
nothing else happens. I guess that has something to do with SELinux, however I have it set to permissive, so I have no Idea where to go from here.
I'm kinda stuck and would be thankful for any help or links to reading material on this topic.
p.S: I'm not allowed to post links, because the system apparently wants to see me post crap 10 times till it allows me to post links, so I edited them out. The first link is documentation of external storage on android and the second is the first search result for "ext4 sdcard android".
Hello guys,
I'm so sorry if this is not the place to post this, but I am very new around here and don't know exactly how things work.
Now. I am an Android user, but I am not an experienced one. I rooted my phone a while ago and started using LinkSD (I only used freeze feature) and today I decided I should link some apps so that I can clear up some space in my internal memory.
I followed a guide and partitioned my SD Card (FAT32 and Ext2 if that matters) then started linking the apps. However, I keep getting an error while doing this. I can easily link application files and library files, but whatever I do, I cannot link the dalvik-cache files. It keeps telling me: "Failure rm failed for /data/sdext/dalvik-cache/*com.anddoes.launcher*@classes.dex, I/O error"
As you can guess, the /.../ part changes with every app. I chose Ext4 (Ext2 didn't work) after I partitioned my sd card and opened Link2SD. Could this be relevant? Should I do the partition again and chose Ext4 instead of Ext2, would it help?
Thanks in advance!
(I use a General Mobile Discovery and Android 4.4.2 with Kernel 3.4.67)
evamore said:
Hello guys,
I'm so sorry if this is not the place to post this, but I am very new around here and don't know exactly how things work.
Now. I am an Android user, but I am not an experienced one. I rooted my phone a while ago and started using LinkSD (I only used freeze feature) and today I decided I should link some apps so that I can clear up some space in my internal memory.
I followed a guide and partitioned my SD Card (FAT32 and Ext2 if that matters) then started linking the apps. However, I keep getting an error while doing this. I can easily link application files and library files, but whatever I do, I cannot link the dalvik-cache files. It keeps telling me: "Failure rm failed for /data/sdext/dalvik-cache/*com.anddoes.launcher*@classes.dex, I/O error"
As you can guess, the /.../ part changes with every app. I chose Ext4 (Ext2 didn't work) after I partitioned my sd card and opened Link2SD. Could this be relevant? Should I do the partition again and chose Ext4 instead of Ext2, would it help?
Thanks in advance!
(I use a General Mobile Discovery and Android 4.4.2 with Kernel 3.4.67)
Click to expand...
Click to collapse
Have a look here and see if it aids you in your needs:
http://forum.xda-developers.com/showthread.php?t=2412319
Or possibly this:
http://forum.xda-developers.com/showthread.php?t=1320702
Moved to Android Q&A for more exposure. Good luck!
Neo
Forum Moderator
Evolution_Tech said:
Have a look here and see if it aids you in your needs:
http://forum.xda-developers.com/showthread.php?t=2412319
Or possibly this:
http://forum.xda-developers.com/showthread.php?t=1320702
Click to expand...
Click to collapse
Hello Evolution_Tech!
I just solved the problem using the link you gave me. As I suspected, choosing Ext4 while partitioning the card as Ext2 was the problem and it's solved now.
Thank you!
@ΠΣΘ thanks again!