Created an 8GB NOOKIE Froyo bootable SDHC card from the 2GB image file. Deleted the last partition and recreated it with remaining space on SD card. Formatted it FAT32 and labeled partition 'sdcard'.
In Astro file manager it looks like that partition gets mounted to /mnt/sdcard. In ES File explorer it looks like /sdcard and /mnt/sdcard are the same file system (the sdcard partition).
Applications do not have a problem reading/writing to the partition/file system, but I was wondering about the music applications. Neither the stock media player nor winamp finds files that have been copied to the Music/ sub-directory created from sdcard mount point.
I was wondering if these applications are not scanning the "sdcard" partition.
I searched the forums and did not necessarily see this specific issue being addressed. Is anyone else having this issue?
Related
hi there,
just got my nc in the past few days and have hc v4 flashed to the emmc, runs great and love it. however, there is one quirk that bugs the hell out of me -- i have a samsung vibrant, which has an internal sd and a slot for an external. the internal is mounted as /sdcard and the external as /external_sd. this is great bc you dont need the external inserted to use apps that require sdcards.
is anyone aware of a way to get our /media mounted or symlinked as /sdcard instead? (or even as a subdirectory under /sdcard). i tried everything last night, from running mount commands under terminal emulator (kept telling me my syntax was wrong when it wasn't), trying symlink (told me operation not allowed), editing /etc/vold.fstab (no dice)... i think part of the issue is that the internal eMMC is mounted as /media in the actual /init.rc script.
is there anyway for me to preempt the init.rc or and trick the OS into seeing /media under /sdcard? I have a 256MB sdcard inserted to shut up the apps that require sdcards, but i would rather use my internal storage with those (since it's there for that reason...)
any ideas?
solution is here:
http://forum.xda-developers.com/showthread.php?t=966339
I'm a new nook user and successfully put nookie froyo on over the weekend. I would like to use my 5gb of internal memory for the reader apps (nook, aldiko etc) but they all only seem to look for an sdcard. I can see that media directory is there and I can see the files via ES File Explorer but can't figure out how to make the nook (or other reader apps) see this storage.
On my Samsung captivate the internal storage shows up as an sdcard and my external card is mnt under that so I was expecting a similar layout with the nook internal memory.
I'm not sure if this is just the way it is or have I done something wrong?
also when I go into SD card and Phone Storage settings it shows:
Total Space: unavailable
Available Space: unavailable
Mount and Format SD card options are greyed out
Internal Phone Storage Available Space: 513MB
WinoOutWest said:
I'm a new nook user and successfully put nookie froyo on over the weekend. I would like to use my 5gb of internal memory for the reader apps (nook, aldiko etc) but they all only seem to look for an sdcard. I can see that media directory is there and I can see the files via ES File Explorer but can't figure out how to make the nook (or other reader apps) see this storage.
On my Samsung captivate the internal storage shows up as an sdcard and my external card is mnt under that so I was expecting a similar layout with the nook internal memory.
I'm not sure if this is just the way it is or have I done something wrong?
also when I go into SD card and Phone Storage settings it shows:
Total Space: unavailable
Available Space: unavailable
Mount and Format SD card options are greyed out
Internal Phone Storage Available Space: 513MB
Click to expand...
Click to collapse
The apps would have to know to look for it at /media, and if they do, they should readily be able to access it on that path.
I just tested this myself, I copied my /sdcard/Books to /media, renamed /sdcard/Books to /sdcard/Books-bak (just to make sure I wasn't accidentally still referencing the old location) and in FBReader I changed my Library path to /Media/Books and it works fine.
So you have access to R/W the path, just the apps don't necessarily know to look there. FBReader you can change the path, but not sure about others.
thanks for mentioning FBReader. Aldiko, like many apps seems to insist on SDCard as the root and doesn't find anything. I d/l FBReader and set it to use the internal memory so thanks for that.
Many other apps are the same in wanting an SDCard for storage. It would be nice to have an app or setting that would allow us to map that directory to "SDCard"
WinoOutWest said:
thanks for mentioning FBReader. Aldiko, like many apps seems to insist on SDCard as the root and doesn't find anything. I d/l FBReader and set it to use the internal memory so thanks for that.
Many other apps are the same in wanting an SDCard for storage. It would be nice to have an app or setting that would allow us to map that directory to "SDCard"
Click to expand...
Click to collapse
Have not tried it, but creating a symlink would accomplish that.
i had the same problem with the initial flash of honeycomb but then i reflashed with "second edition" and it seems to be working fine now
cnewsgrp said:
Have not tried it, but creating a symlink would accomplish that.
Click to expand...
Click to collapse
Except fat doesn't have symlinks Yes, it would be nice to ln -s /media /sdcard/media or something but it won't work.
Is that /media partition only good for storage? I noticed the few apps I installed so far put files on the SD card, and when the SD is removed, the apps don't work anymore. I tried copying everything on the SD to the /media and left the SD out but the apps still didn't run. Do I have to put all the .apk files under /media and install them from there? I'm trying to use SD only for media storage and no app bits if possible.
drazil22 said:
Is that /media partition only good for storage? I noticed the few apps I installed so far put files on the SD card, and when the SD is removed, the apps don't work anymore. I tried copying everything on the SD to the /media and left the SD out but the apps still didn't run. Do I have to put all the .apk files under /media and install them from there? I'm trying to use SD only for media storage and no app bits if possible.
Click to expand...
Click to collapse
If an app requires an SD card, it requires an SD card. Period. It's not going to fall over to using /media magically.
You can use apps without the SD card of course, but again, if they need SD they are not going to work. Apps are installed in /data/app and typically app data in /data/data but a lot of apps, especially games, require SD storage.
How would I use adb to push a file to /media? I'm trying to store some movies in here and it gives me an error that media is read-only.
jv
I've got a question. Since I got a 16 GB mSD card, is there a way to resize /media (if there is a reason to) so that I have more room for applications?
johnnyv5 said:
How would I use adb to push a file to /media? I'm trying to store some movies in here and it gives me an error that media is read-only.
Click to expand...
Click to collapse
While I have not tried it, I would imagine that you could use Root Explorer to change the folder from R/O to R/W
You could alternately do an adb command "adb shell" and then use Unix commands to do that.
As most of you do I have space problem with the N1, and there is something I dont understand
inside /mnt directoy is obb, sdcard , asec and secure.
Now to my understand my entire sdcard contents is under "sdcard" directory
however both "/mnt/asec" and "/mnt/secure" are outside that directory and they contain apk's and some other files.
Here is my delima if application gets installed on the sdcard it still dumps the apk files in the "asec" directory which mean it doesn't matter if i install the application on the sdcard it will still take alot of space.
Is this correct and if so can i create a symbolic link the directory and dump in the sdcard itself instead of wasting viable internal memory space?
No, you're wrong. /mnt/asec/ mounts on /sdcard/.android_secure. So the APKs are on SD card. And you can't properly link the /data/data/ or the /data/dalvik-cache to FAT, the apps won't work - or the phone will crash when you unmount the FAT.
This is why there is Darktremor's A2SD/XPART/Link2SD/many others.
ok.
But how come if uninstall application I get free space even though they are on the sdcard?
edit: Or rather the bigger question is that i have plenty of space on my sdcard as i install more and more application some of the application space creep into the internal memory is there a way to know what is going on and how to prevent that space from being occupied in the first place.
You can't.
Application space is split into:
1) APK. (this is the APK itself - the installation file)
2) Data. (this is the data that the app creates and/or stores between and during uses)
3) Dalvik-cache. (this is a space that system uses to run the app)
Each installed app has all 3 parts.
Whatever you do on stock or CM7 ROM, you can't get parts 2 and 3 to SD. The only way to do it is using the add-ons mentioned in my previous post - Darktremor's A2SD/XPART/Link2SD/many others. They all do the same thing - given additional EXT partition on SD card, they selectively move any of the 3 parts for any app to the EXT partition, freeing phone's internal memory. Of course, if you don't have EXT partition on your SD card - you need to create it, repartition the card, to be able to use any of those add-ons.
thanks again
Hi!
There is a way on CM 10.1 /CM 10.2 to swap the external SD card to be seen as internal? The 11extsd2internalsd.txt is working on stock based roms, but not in CM and I can't find any solution for this. I don't want bind methods or swap images.
Edit:
FolderMount has the ability to mount folders which contains subfolders, like entire Android folder - you need to disable Destination folder checks. You can also mount entire partition, but you''ll loose the access to the internal sdcard and gallery will show duplicates as it thinks you have the identical data on both partitions.
I have tried to Google this issue with little success. What happens is I used to have the Xperia Ray (GB 2.3.4) where apps like ZDBox can detect my Samsung 32GB microSD and moved apps to SD without issue. Now with the SP, it cannot see the ext SD at all (but Cleanup Master still can). Another issue is that SD Tools was able to display the Samsung SD ROM data on the Ray but can't now with the SP. Also, SD Booster used to recommend 2048 for 32GB SD on the Ray, but now saying 512 is optimal? I am so confused. Is it a SP or JB 4.1.2 issue? Both are rooted BTW.
Because the Sp has internal memory mounted as SD card you won't be able to move apps to SD card.
To move apps and data a lot of people use link2sd to move apps to ext SD card and apps like folder mount to move game data/obb files to ext SD card.
Only works if rooted.
Sent from my C5303 using xda premium
zolaisugly said:
To move apps and data a lot of people use link2sd to move apps to ext SD card and apps like folder mount to move game data/obb files to ext SD card.
Click to expand...
Click to collapse
The problem is that link2SD din't move the /data/data/x folder to the ext2 Sd partition, then if you have a lot of files there (like music temporal files of Google Music) the benefits are poor.
themacboy said:
The problem is that link2SD din't move the /data/data/x folder to the ext2 Sd partition, then if you have a lot of files there (like music temporal files of Google Music) the benefits are poor.
Click to expand...
Click to collapse
It will not move it. It will mount it in this point.
Link2SD can move data to other partition. But. You have to had two partitions on sd card. First one in FAT on wich you hold any files (music, movies...) and second on wich you will move app data. With new version you can have on second partition ext2, ext3, or fat filesystem.
You need to have root of course. You can try make only one partition in sdcard, but in this case you have to make ext2 or ext3 partition on SDCard and I really dont know if it work. I didnt see option in link2SD where you can set your data partition so it will try to find second partition on sdcard.
I use 32GB sd card with 16GB with FAT filesystem and 16 in ext3 to move app data there.
To create 2nd partition you need to use PC and a partition creating tool I use easeus maker.
You need to create partition and make it primary,if you use fat32 it will be supported by stock ROM.
Once done put card back in phone start link2sd and it will find new partition and ask how to handle select format that matches yours.
Then you can link all the apps you want apart from system apps.
Sent from my C5303 using xda premium
I usually use AParted to format all my partitions on SD card from my phone.
As I said before, in my phone link2SD din't manage /data/data/x folder on second partition (ext2, ext3, ...), only manage /data/app/x and probably others.
Then if you try to move to ext2 partition (link) any app with a lot of data files stored, alll this files din't point to ext2, will remain in internal memory.
For exmaple:
Try to download Google Music app, link this app to ext2 partition. Now in app make ready a lot of file in offline mode. It will store all this temp song files in /data/data/com.google.andorid.music folder.
Now check in Link2SD and with any filebrowser, you will see that this files are always in internal memory because link2SD din't manage /data/data/x to link it to second partition on external sd.
Sorry I can't help any more as I dont use that app you said. I do use link2sd and have no issues when linking the app to the ext SD card.
Remember you may see info still on data/app but the contents are sym linked.
But if you are sure you have set 2nd partition correct to primary and using fat32( stock supports this)
I can't help you further sorry
Sent from my Nexus 7 using xda premium
I ended up just using Clean Master moving 19 apps to SD. There are many can't be moved but not too bad consider it is far more convenience than Folder Mount. I also removed SD booster which was tested to offer no speed advantage. Next will be battery drain problem. Boy I feel I have spent more time tweaking the android than actually utilizing it.
themacboy said:
I usually use AParted to format all my partitions on SD card from my phone.
As I said before, in my phone link2SD din't manage /data/data/x folder on second partition (ext2, ext3, ...), only manage /data/app/x and probably others.
Then if you try to move to ext2 partition (link) any app with a lot of data files stored, alll this files din't point to ext2, will remain in internal memory.
For exmaple:
Try to download Google Music app, link this app to ext2 partition. Now in app make ready a lot of file in offline mode. It will store all this temp song files in /data/data/com.google.andorid.music folder.
Now check in Link2SD and with any filebrowser, you will see that this files are always in internal memory because link2SD din't manage /data/data/x to link it to second partition on external sd.
Click to expand...
Click to collapse
Now I'll check that once again (I had to buy new SD Card) and you have right. Link2SD move only:
APK File - /data/app/*.apk
Dex files - /data/dalvik-cache/[email protected]*.dex
Libraries - /data/data/*/lib/app_libraries
And other things from /data/data/ stays there. Only libraries are moved from this folder ((
But Its a solution. Just use FolderMount from Google Play It works awesome.