[Q] Using hidden storage - Nook tablet - Barnes & Noble Nook Tablet

After rooting I can create folders, move files into, etc in the "hidden storage" using root explorer. Problem is I can't get apps to see anything there.
Example: Created Music folder and moved files into it. They will play by going there with root explorer and tapping on one, but music player will not see them on its own.
So far I have not found a music player that will allow me to designate that folder as the one containing the music.

To my knowledge, third party apps still do not see the storage area mounted there. Hopefully with the CM7 ROM, that can be rectified!

ok - thanks. I have put a couple of movies in that space as it is not much trouble to drill to them and tap the one I want to play - saves sd card space. For now will use it for movies and storage of little used material.

hi cdo5
check it here
you will get all "hidden storage" to use

edwardxi - Tried both methods (rename/copy) and manually adding with the same results - in root explorer /mnt/internal opens and has all the files I placed in /data/usrdata, but neither of two music players on the system see them. Someway I am missing how to tie them to the /mnt/internal folder. Additional direction please.

Take a look at the end of http://forum.xda-developers.com/showthread.php?t=1355969&page=10 -- the thread on accessing the whole filesystem.
cfoesch discovered that parted is a viable tool for resizing (well, deleting and recreating) partitions on the device.
I used a nook OS sideboot card with a modified vold.conf (commented out all the lines, essentially) that did not mount any of the internal partitions and had parted on board, then used the ADB interface to delete partitions 10 and 11 and resized them.
parition 10 is 1 gig and called media;
paritition 11 is 13 gig and called userdata
I recreated them, tried to put filesystems on them and reassigned the default names in parted, powered down, removed my card, and forced a hard reset (8 failed boots.) This completely reformats and reinstalls, but leaves the partition sizes alone.
Before I started, still booted from the rooted internal OS, I used dd to make copies of the first 8 partitions
/dev/block/mmcblk0pX of=/data/X.img
and copied those out to an sdcard.
http://nookdevs.com/Dump_NookTablet_Partitions explains who is who.
If the hard reset won't work, you can copy those 7 dd images to your boot card, boot, and use dd to put them back - in fact, I did that preemptively, but I suspect I didn't need to.
The command there would be dd if=X.img of=/dev/block/mmcblk0pX
A hard reset after restoring the first 8 does work. (It would probably work to do only the first 7.)
My NT now has 4 gig for BN stuff and close to 10 gig for my files manageable by Calibre, etc.
The last thing I did was, after rooting, to remove the directory
/data/media/B&N Downloads and symlink it to the directory
/media/B&N Downloads
Now, my books and magazines from B&N download to media and I can manage those in Calibre as well.
At first, I tried doing that last step by linking to a directory on the sdcard.
I had two issues with just using the sdcard, which (in addition to being annoyed by the partitioning scheme on general principles) made me very interested in resizing /media:
- the sdcard I'm using fails to mount at boot some of the time. So the library gacks some of the time.
- the /media partition on internal memory supports permissions assignment enough that magazines can be read when they're downloaded to it. The sdcard does not support permissions, or at least mine didn't (despite some attempts to force it to by changing values in vold.conf) and so magazines would download there, but could not be read if they were on the sdcard.
I've tried fiddling with those permissions in vold.fstab, without luck, before doing my resize.
dev_mount sdcard /mnt/sdcard auto auto /device/platform/usb/mass/storage/lun1 /devices/platform/mmci-omap-hs.0/mmc_host/mmc1
dev_mount media /mnt/media 10 002 /devices/platform/usb_mass_storage/lun0 /devices/platform/mmci-omap-hs.1/mmc_host/mmc0
Looking at the introductory stanzas in vold.fstab it looks to me as if the magic is in that auto auto versus 10 002 -- somehow, the NT is able to assign a permissions mask to a vfat partition, which I had thought was not possible. But when I've tried assigning those values to /sdcard it hasn't worked. I'm forgetting the failure mode now - that is, I can't remember if they just didn't work, or if the sdcard became unmountable.

cdo5 said:
edwardxi - Tried both methods (rename/copy) and manually adding with the same results - in root explorer /mnt/internal opens and has all the files I placed in /data/usrdata, but neither of two music players on the system see them. Someway I am missing how to tie them to the /mnt/internal folder. Additional direction please.
Click to expand...
Click to collapse
I forgot one thing
when you copy sth to /mnt/internal
you should set right permissions(I got 9 "√" all)
I use TTpod player
it can access to /mnt/internal and play music well

Many thanks! The TTpod player did the job - I was able to select the folder and get play lists. Great.

edwardxi said:
hi cdo5
check it here
you will get all "hidden storage" to use
Click to expand...
Click to collapse
I tried this method and got stuck in a reboot loop.

porthos75 said:
I tried this method and got stuck in a reboot loop.
Click to expand...
Click to collapse
Im sorry to here that
but make sure you set right permissions
pls note that VERY IMPORTANT: change the File Permission using Root Explorer same as the old file too
Click to expand...
Click to collapse

Related

[Q] Once rooted, what is the best way to manage extra Internal Storage?

I have successfully rooted my Nook using my MAC and the NARS method. I believe this is considered softrooting. I do like the B&N Nook Reader and was hoping to continue to use it. I do not have a MicroSD card yet, but it is on the way.
The main problem I have is properly storing and utilizing files in the extra 15GB of internal space.
If I want to get files on my nook, I hook it up through the USB to my Mac. It only recognizes "MyNook"-- the 1GB of space that B&N allows me to use.
As many have suggested, I installed Root Explorer and can successfully move files out of that 1GB and into the extra 15GB space. However, those files do not show up in my Nook Reader software and it does not look like I can browse to those folders in the Nook Reader.
Am I going about this all wrong?
Is there a way to use my Mac to access that extra internal space?
Is there any way to get the Nook Reader to recognize the files in that space?
Lastly: I figured I would just install Aldiko to read those files, but it says that because it can't mount the SD card, it can't find files. But I don't have an SD card-- I have 16GB of internal storage!
boltcutter said:
I have successfully rooted my Nook using my MAC and the NARS method. I believe this is considered softrooting. I do like the B&N Nook Reader and was hoping to continue to use it. I do not have a MicroSD card yet, but it is on the way.
The main problem I have is properly storing and utilizing files in the extra 15GB of internal space.
If I want to get files on my nook, I hook it up through the USB to my Mac. It only recognizes "MyNook"-- the 1GB of space that B&N allows me to use.
As many have suggested, I installed Root Explorer and can successfully move files out of that 1GB and into the extra 15GB space. However, those files do not show up in my Nook Reader software and it does not look like I can browse to those folders in the Nook Reader.
Am I going about this all wrong?
Is there a way to use my Mac to access that extra internal space?
Is there any way to get the Nook Reader to recognize the files in that space?
Lastly: I figured I would just install Aldiko to read those files, but it says that because it can't mount the SD card, it can't find files. But I don't have an SD card-- I have 16GB of internal storage!
Click to expand...
Click to collapse
I had the same issue and solved it as follows:
I store my media (books, videos, mp3's, etc. ) in the /data/media directory - I get about 12Gb free. I set the directory to be R/W using Root Explorer and changed the permissions to allow "others" full read, write and execute (again using Root Explorer). I was then able to access the files in /data/media with my Ebook reader (Cool Reader), mp3 player (I use Mort Player) and videos (I use MVideo Player). I then changed the /data directory to RO.
docfreed said:
I had the same issue and solved it as follows:
I store my media (books, videos, mp3's, etc. ) in the /data/media directory - I get about 12Gb free. I set the directory to be R/W using Root Explorer and changed the permissions to allow "others" full read, write and execute (again using Root Explorer). I was then able to access the files in /data/media with my Ebook reader (Cool Reader), mp3 player (I use Mort Player) and videos (I use MVideo Player). I then changed the /data directory to RO.
Click to expand...
Click to collapse
Thanks so much for the suggestions. So, my other question is-- can you utilize the native Nook Reader to see these files? If not, can you reassign the small book icon in the notifications tray to go to Cool Reader-- or will that only go to the native Nook Reader?
Lastly, does anyone have an answer regarding accessing the internal storage via USB/Mac?
boltcutter said:
Thanks so much for the suggestions. So, my other question is-- can you utilize the native Nook Reader to see these files? If not, can you reassign the small book icon in the notifications tray to go to Cool Reader-- or will that only go to the native Nook Reader?
Lastly, does anyone have an answer regarding accessing the internal storage via USB/Mac?
Click to expand...
Click to collapse
http://forum.xda-developers.com/showpost.php?p=21324303&postcount=8 - those applications need to be moved to /system/app partition and fix permissions as explained here: http://forum.xda-developers.com/showpost.php?p=20774764&postcount=2 (Scroll down is the second HOW-TO)
Veronica
lavero.burgos said:
http://forum.xda-developers.com/showpost.php?p=21324303&postcount=8 - those applications need to be moved to /system/app partition and fix permissions as explained here: http://forum.xda-developers.com/showpost.php?p=20774764&postcount=2 (Scroll down is the second HOW-TO)
Veronica
Click to expand...
Click to collapse
Sorry, still very confused. I navigated to the /system/app and the Library.apk was in there already. I launched it and used Package Installer to reinstall it, but it works exactly the same as before.
I also installed Cool Reader and it doesn't seem to be able to navigate below the /mnt/media directory. Is it a permissions thing?
docfreed said:
I had the same issue and solved it as follows:
I store my media (books, videos, mp3's, etc. ) in the /data/media directory - I get about 12Gb free. I set the directory to be R/W using Root Explorer and changed the permissions to allow "others" full read, write and execute (again using Root Explorer). I was then able to access the files in /data/media with my Ebook reader (Cool Reader), mp3 player (I use Mort Player) and videos (I use MVideo Player). I then changed the /data directory to RO.
Click to expand...
Click to collapse
I had a similar thought about putting my movies in that same folder, so I followed your steps. When I plugged my NT into my computer, however, only the same two options popped up---MyNook and my sd card. So far as I can tell, the computer is still not recognizing the /data/media folder, so I'm still unable to sideload into that folder.
Have I missed a step? Am I doing something wrong? Do I need another program to "help" me sideload into that folder?
nashdude said:
I had a similar thought about putting my movies in that same folder, so I followed your steps. When I plugged my NT into my computer, however, only the same two options popped up---MyNook and my sd card. So far as I can tell, the computer is still not recognizing the /data/media folder, so I'm still unable to sideload into that folder.
Have I missed a step? Am I doing something wrong? Do I need another program to "help" me sideload into that folder?
Click to expand...
Click to collapse
You will not be able to see the internal storage on a PC (unless your PC is a Linux box) - it can only be seen on the device using a file explorer such as Root Explorer or ES File Explorer.
You sideload there by placing a file in one of the two partitions that you can see and then moving/copying it with one of the two aforementioned file managers.
docfreed said:
You will not be able to see the internal storage on a PC (unless your PC is a Linux box) - it can only be seen on the device using a file explorer such as Root Explorer or ES File Explorer.
You sideload there by placing a file in one of the two partitions that you can see and then moving/copying it with one of the two aforementioned file managers.
Click to expand...
Click to collapse
Yeah, I was afraid of that. Ah well... it'll do until they figure out how to safely expand the MyNook partition.
Sent from my rooted Nook Tablet using Tapatalk 8)
Is there a way to change the time zone to a non-American one? I've been trying but only lets me choose between time zones from the us. I live in Spain.
Thank you!
Hey, I can access the root and thus internal storage and also the mounted ext-sd card in Snowball's mod via my PC (Win 7). Try googling it to d/l it for free.
Silthion said:
Is there a way to change the time zone to a non-American one? I've been trying but only lets me choose between time zones from the us. I live in Spain.
Thank you!
Click to expand...
Click to collapse
No encontre españa, pero tambien hay otros horarios GMT +1
Change time zones: Settings -> Time -> Select time zone -> Check the box "Show all world time zones"
docfreed said:
I had the same issue and solved it as follows:
I store my media (books, videos, mp3's, etc. ) in the /data/media directory - I get about 12Gb free. I set the directory to be R/W using Root Explorer and changed the permissions to allow "others" full read, write and execute (again using Root Explorer). I was then able to access the files in /data/media with my Ebook reader (Cool Reader), mp3 player (I use Mort Player) and videos (I use MVideo Player). I then changed the /data directory to RO.
Click to expand...
Click to collapse
Okay, so I ran the script to give me access to my internal storage. Someone else is telling me I now need to put whatever files I want MX Player to see, in /mnt/internal. But you clearly state that you put them in /data/media. Either way, MX Player isn't seeing them, and I've got all rights checked on all of these locations.
What am I missing?
loribuono said:
Okay, so I ran the script to give me access to my internal storage. Someone else is telling me I now need to put whatever files I want MX Player to see, in /mnt/internal. But you clearly state that you put them in /data/media. Either way, MX Player isn't seeing them, and I've got all rights checked on all of these locations.
What am I missing?
Click to expand...
Click to collapse
Why are you running a script? I think that you are making it needlessly complicated for yourself. If you just follow what I did here: I store my media (books, videos, mp3's, etc. ) in the /data/media directory - I get about 12Gb free. I set the directory to be R/W using Root Explorer and changed the permissions to allow "others" full read, write and execute (again using Root Explorer). I was then able to access the files in /data/media with my Ebook reader (Cool Reader), mp3 player (I use Mort Player) and videos (I use MVideo Player). it will work
It might be easier to go back to the original clrboot file and start over. And make certain that the media partition that you place your stuff in is /data/media - there should be about 12 Gb free.
docfreed said:
Why are you running a script? I think that you are making it needlessly complicated for yourself. If you just follow what I did here: I store my media (books, videos, mp3's, etc. ) in the /data/media directory - I get about 12Gb free. I set the directory to be R/W using Root Explorer and changed the permissions to allow "others" full read, write and execute (again using Root Explorer). I was then able to access the files in /data/media with my Ebook reader (Cool Reader), mp3 player (I use Mort Player) and videos (I use MVideo Player). it will work
It might be easier to go back to the original clrboot file and start over. And make certain that the media partition that you place your stuff in is /data/media - there should be about 12 Gb free.
Click to expand...
Click to collapse
Because I was pointed to this, as the method to get acccess to all of our storage: http://forum.xda-developers.com/showpost.php?p=20401344&postcount=72
I followed your steps above, which is why I asked at all... because it didn't work for me. I will try going back to the original clrboot file. I assume I just rename it back to .sh and reboot, correct?
Where can I see how much space is free, once I do that?
*****UPDATE*****
So, not sure why this happened, but apparently the actual video files, which were in folders on my SD card, DID NOT move with the folders when I copied them to both /data/media/videos and /mnt/internal/videos. Just empty folders.
So, I need to get them back on my Nook, as I've since deleted them from my SD card, and try this again.
Funny, an app not showing me what's not there...
loribuono said:
Because I was pointed to this, as the method to get acccess to all of our storage: http://forum.xda-developers.com/showpost.php?p=20401344&postcount=72
Click to expand...
Click to collapse
I confirm it worked for me.
More than one way to skin a cat
Well no real harm done. Why no try with one file first instead of a whole folder - I usually do that when unsure - if it works then your good to go.
docfreed said:
Well no real harm done. Why no try with one file first instead of a whole folder - I usually do that when unsure - if it works then your good to go.
Click to expand...
Click to collapse
Yeah, doing that now. Something funky happened when cutting and pasting a folder with *.avi files within in. Only copied the folder but, of course, deleted the *.avi files. Next time, I'll know to only use copy and paste, and delete later.
UPDATE: Okay, here's what I did:
1. Deleted the clrboot file I had copied previously. Renamed original one back to .sh. Rebooted.
2. Tried getting all of this to work without redoing the clrboot file thing again. Didn't work.
3. Copied the clrboot zip from this site again, and copied it to /system/bin, after naming the original one with the .bk ext.
4. Rebooted.
5. Created a "Videos" folder in /data/media.
6. Set the /data/media folder's permissions to allow everything. All boxes checked.
7. Copied one *.avi file to /data/media/videos.
8. Specified that folder in MX Player.
9. MX Player doesn't see it.
UPDATE TO UPDATE: It sees it! Yea! It's seeing it in /data/media/videos and /media/My Files/videos. I don't need it in both places, but was playing around with different locations.
Now, if I could just get MX Player to stop crashing on me.
loribuono said:
Yeah, doing that now. Something funky happened when cutting and pasting a folder with *.avi files within in. Only copied the folder but, of course, deleted the *.avi files. Next time, I'll know to only use copy and paste, and delete later.
UPDATE: Okay, here's what I did:
1. Deleted the clrboot file I had copied previously. Renamed original one back to .sh. Rebooted.
2. Tried getting all of this to work without redoing the clrboot file thing again. Didn't work.
3. Copied the clrboot zip from this site again, and copied it to /system/bin, after naming the original one with the .bk ext.
4. Rebooted.
5. Created a "Videos" folder in /data/media.
6. Set the /data/media folder's permissions to allow everything. All boxes checked.
7. Copied one *.avi file to /data/media/videos.
8. Specified that folder in MX Player.
9. MX Player doesn't see it.
Click to expand...
Click to collapse
It might be worth a try using mVideo player (free in market)
loribuono said:
Yeah, doing that now. Something funky happened when cutting and pasting a folder with *.avi files within in. Only copied the folder but, of course, deleted the *.avi files. Next time, I'll know to only use copy and paste, and delete later.
UPDATE: Okay, here's what I did:
1. Deleted the clrboot file I had copied previously. Renamed original one back to .sh. Rebooted.
2. Tried getting all of this to work without redoing the clrboot file thing again. Didn't work.
3. Copied the clrboot zip from this site again, and copied it to /system/bin, after naming the original one with the .bk ext.
4. Rebooted.
5. Created a "Videos" folder in /data/media.
6. Set the /data/media folder's permissions to allow everything. All boxes checked.
7. Copied one *.avi file to /data/media/videos.
8. Specified that folder in MX Player.
9. MX Player doesn't see it.
Click to expand...
Click to collapse
The zip file is supposed to be unzipped.
In addition not all of the permission boxes are set on my clrbootcount.sh, though I use Root Explorer.
A Further Thought
Can you try to put back the original clrboot script, reboot and then try to load a file into your data/media partition - I am concerned about the results of using the modded script. I attached the original clrbootcnt file - it has a doc extension - please change clrbootcnt.doc to clrbootcnt.sh and then try to use it.

[Solved] Mounting ext. sdcard folders to int. sdcard

Hi folks,
As you know, the Sony media and video player didn't show the mp3 and videos on the external SD card in his library.
Now my idea was to mount folders of the external sdcard into folders on the internal sdcard.
Solution:
I created a script for mounting photo, video and music folders from ext. sdcard to the corresponding folders on the int. sdcard. After successful tests, I implemented init.d support on my Tablet S for a 'autostart' solution at boot time and moved the script to 'init.d' folder. For me it works great and fulfilled my requirements 100%.
Enclosed the content of my 'automount' script:
#!/system/bin/sh
# need sleep 75 for right timing maybe you can reduce it to 30
sleep 75
mount -o bind /mnt/sdcard2/Music /mnt/sdcard/Music
mount -o bind /mnt/sdcard2/Video /mnt/sdcard/VIDEO
mount -o bind /mnt/sdcard2/Fotos /mnt/sdcard/Pictures
Click to expand...
Click to collapse
Here you can find my [HOW_TO] for init.d support:
http://forum.xda-developers.com/showthread.php?t=1505340
P.S.: If it do not work for you, try to increase the sleep value. If you have a 'fresh' system 30 should be enough ... if you use two or three widgets 'sleep 75' could be ok ... and so on ...
I hope that someone has the technical knowhow how to do this, that would be great to access extra memory
also one interesting thing in build.prop:
Code:
ro.separated.external.storage=true
Would you try what happened if you change to "false"?
I found the same entry ... but do not know what it mean.
Saw the same thing myself, but don't have an SD card with me, so I wont get to try till I get home.
But I guess the change of the mount point in the /etc/svold.fstab is particularly promising. I still waiting for a rating of a expert. No one here?
Changed that line in true, rebooted.
Openend up Poweramp and this had to scan my folders again.
Sd Card still there and working but nothing more I think.
Can't really see if there's anything changed.
I tried:
Removing nosdcard from ro.build.characteristics
Changing ro.external.storage.removable to true
Changing ro.separated.external.storage to false
I haven't been able to see any difference.
Things I looked at:
The stock video player won't recognize videos on my SD card.
Videos on SD card will play if I navigate to them using Root Explorer
I can move apps to SD card using Titanium Backup, and play them from the SD card.
Anyone have some tips on what else I can look for?
50% Solution
Hi guys,
I tried a other way (and more secure) from a hint in an other forum.
If you use the following command with adb or a app like "scripter" on your tablet,
you will mount the external card into the internal, but step by step:
1. create a new folder /external_sd under /mnt/scard/
e.g. with adb shell : mkdir -p /mnt/sdcard/external_sd
2. then mount the /mnt/sdcard2 to this folder
e.g. with adb shell: mount -o bind /mnt/sdcard2 /mnt/sdcard/external_sd
3. now it is done and if you now refresh your media library, you will find all your media stuff on your media player.
Unfortunately you have to do the same after a reboot or switch off/on.
I am a little bit afraid to add this command line in init.rc or something else.
Do one of you have a proposal how we can make it permanent, without a risk?
obicom said:
Hi guys,
I tried a other way (and more secure) from a hint in an other forum.
If you use the following command with adb or a app like "scripter" on your tablet,
you will mount the external card into the internal, but step by step:
1. create a new folder /external_sd under /mnt/scard/
e.g. with adb shell : mkdir -p /mnt/sdcard/external_sd
2. then mount the /mnt/sdcard2 to this folder
e.g. with adb shell: mount -o bind /mnt/sdcard2 /mnt/sdcard/external_sd
3. now it is done and if you now refresh your media library, you will find all your media stuff on your media player.
Unfortunately you have to do the same after a reboot or switch off/on.
I am a little bit afraid to add this command line in init.rc or something else.
Do one of you have a proposal how we can make it permanent, without a risk?
Click to expand...
Click to collapse
I will check it for you if you want but after work, evening
These are good news
I am sure for you it is a "child's play", but I think helpful for all of us.
Please let me know if I can test something ...
THANKS IN ADVANCE !
-- Edit --
Maybe we can add this command to rescan media files after mount command:
mount -o bind /mnt/sdcard2 /mnt/sdcard/external_sd
pm enable com.android.providers.media/com.android.providers.media.MediaScannerReceiver
Click to expand...
Click to collapse
50%...............phew, getting closer, keep up the good work chaps.
http://www.androidtablets.net/forum...cation-discussion-post-root-2.html#post149151
Maybe this helps?
Good find there. Wonder if the Vizio is similar to the Sony.
Link2SD
If you want app data to be moved to external sd Link2Sd works but with a few extra steps only. Here is how I manage this on mine.
Installed Link2SD on tablet.
Formatted external card (in my case a 32GB microsd in an SD adapter) on my laptop using EASEUS to have to PRIMARY partitions 1st in FAT32 and second in EXT3 formats.
At first Link2SD does not recognise any ext partition present and if I try to recreate mounting script on it telling it EXT3 format it says something like could not do, directory does not exist or similar.
Then after a reboot Link2sd warning pops up saying the sd card was not mounted at boot and therefore the system did not load apps on it. You have an option to recreate a mounting script (which I did not need to do as did it already previously) and the quick reboot option (which is different from the regular reboot in the way that it only restarts the android interface not the whole hardware) - so I do this reboot and after everything starts you can see the extra partition and use it.
So currently quick reboot is needed after every total shutdown of the tablet - thankfully I almost never shut down the tablet completely unless run out of battery completely or some other rare reason or testing like this one.
Also note that quick reboot sometimes gives a close/wait warning just after it is done - I always chose wait and everything seemed ok after that.
Make sure you give Link2sd superuser permission. I decided to leave out Lib out of the app data I link because I noticed that if I move data back to internal storage link2SD shows that libs are unlinked already/ I know there is an option in link2sd to relink libs at boot but I was not able to confirm if it works and they tend to take little space internally anyway.
Regarding extra partition size I tried less than 1GB and ca 14Gb. With bigger than 1GB partition it seems to recognise its size in link2sd but once you move more than 1gb data to it does not reflect the increase above 1gb but still seems to make the apps I moved before and after that work still.
I wonder if multi mount widget could help when combined with link2SD somehow. My guess best solution would be to make android mount external card early in its boot.
Hope it helps
I tried today several things ....
@ps3taker
that sound a little bit more complicated then my solution with app scripter and the mount command.
I tried today several things to get a "autostart" solution but unfortunately without success:
- App "autostart (root)" don't work on Tablet S
- Change in svold.fstab need sd card eject and insert to be mounted after rboot
- Change in vold.fstab need sd card eject and insert to be mounted after reboot
- Add mount command in init.goldfish.sh don't work
- Startup script tweaks can't work, no "/system/bin/playlogosnow" on Tablet S
(http://forum.xda-developers.com/showthread.php?t=813309)
Someone additional ideas for a autostart option for the mount command?
-- Edit --
I did a little bit more investigations and find out, that after a reboot it needs a short time before the internal sd card is ready to use. Therefore it is senseless to search a solution during boot time. I guess this is the reason why the change in svold.fstab and vold.fstab didn't work.
That means we need a "autostart" App, as a Widget or a Virus scanner that mount the device and rescan the medias. Who is willing and to do that for us?
just create an init.d script and symlink the ext_sd folder to the desired folder on sdcard...
check if this device has:
/system/etc/install-recovery.sh
if it doesnt then check if the /init.rc (or other init.*.rc) files contain the text "install-recovery.sh"
if the text exists then just create the file /system/etc/install-recovery.sh which has the following at the top:
Code:
#!/system/bin/sh
followed by the symlink/bind code
and save file and give it 777 permission (chmod 777 /system/etc/install-recovery.sh)
that should automatically run the desired commands at each boot...
if the above is not possible then just create a GScipt script and execute it at startup
DooMLoRD said:
just create an init.d script and symlink the ext_sd folder to the desired folder on sdcard...
Click to expand...
Click to collapse
Hi DooMLoRD,
symlink will not work - because of fat32 sdcard! We've got to use mount -o bind, it works without problem, about autorun thing - thanks - i've got to try it
br
condi
@DooMLoRD & Condi
I did exactly this in my tests before, with the "install-recovery.sh".
The file "/system/etc/install-recovery.sh" don't exist but the the "init.rc" files contains the text "install-recovery.sh".
So I created the file "/system/etc/install-recovery.sh" with the commands:
#!/system/bin/sh
mount -o bind /mnt/sdcard2 /mnt/sdcard/external_sd
Click to expand...
Click to collapse
and give it 777 permission but unfortunately it dosen't work.
I guess the reason is the timing problem, that sdcard mount is not ready in this moment. I will try tomorrow add first the mount command for "/mnt/sdcard" in this file and will see what will happen.
Keep you informed.
thank you all for trying.
Could you please summarise what works currently please.
a) Do you manage to link apps to external sd as in rooted gingerbread?
b) or is it just for showing external sd media in the native player in a separate subfolder or something similar
c) do you manage to swap around external and internal sds, i.e. mnt\sdcard is now external as on gingebread and mnt\sdcard2 is the built-in/internal one
I think all of the above is useful but would like to know what's the initial plan.

[Q] /mnt/sdcard/ is mising

Hey folks,
first of all, I'm sorry if my following problem has already been discussed elsewhere in this forum, but I wasn't able to locate a thread or post that fits my exact issue as I don't want to mess up another thread with this.
So here is my problem:
I've recentally updated the resurrection remix rom from v1.9.1 to v2.1 on my SGS2. My phone boots up normally and works like a charm. But then I mentioned that both of my music-apps (poweramp and stock-player) are showing every song twice, as there would be file duplicates. So I checked the content of my external sdcard (where I put my music on) with both the stock-file-explorer and ES file explorer and found out, that my external sdcard wasn't mounted in /mnt/sdcard anymore but in /mnt/emmc and when I clicked on the sdcard-icon in the stock-app it only showed me my internal storage. With ES file explorer I can't access my external sdcard at all. I already plugged the sdcard out of the device, rebooted, plugged it back in and rebooted again. But nothing has changed. Further I've taken a look with MyPhoneExplorer and figured out, that the folder /mnt/sdcard doesn't exist anymore (creating it by myself failed) while /mnt/emmc was still there. Long story short, here are the facts:
/mnt/sdcard --> doesn't exist anymore
/mnt/emmc --> shows the content of external sdcard
sdcard-icon in stock-file-explorer --> shows internal storage
ES file explorer --> can't access sdcard at all (maybe I'm too stupid to use it)
music-apps --> show all the files doubled
Please help me, what can I do to get my external sdcard back at /mnt/sdcard and the music-apps to show every file only once?
let's just talk about the mount points first:
on stock roms, the internal sd card is mounted as /sdcard/ and the external sd card is /sdcard/external_sd/
on aosp roms the internal sd card _should_ be mounted as /sdcard/ as well and the external sd _should_ be mounted as /emmc/ (external multi media card).
in recent cm9 builds, suddenly those mount points were reversed, which does not make much sense in my opinion.
with the jump from ressurection 1.9 to 2.1 you might have just hit that switch. have you performed a full wipe before and/or after flashing the new rom? maybe that'll do the trick
on aosp roms the internal sd card _should_ be mounted as /sdcard/ as well and the external sd _should_ be mounted as /emmc/ (external multi media card).
Click to expand...
Click to collapse
Actually that's the case. But what is mnt-directory good for then, if there already are folder providing the content of internal storage and external sdcards? and just btw. wikipedia says that emmc stands for embedded multimedia card and this was invented to be used as an internal storage, that's confusing me.
have you performed a full wipe before and/or after flashing the new rom?
Click to expand...
Click to collapse
I followed the installation guide very strictly and performed the wiping and factory resetting before and after the flashing as instructed.
But if the files are where they should be, why is my music indexed twice no matter what I do?
ps: I managed to access my external sdcard with ES file explorer after doing an analyse of the sdcard through the manager-option of ES file explorer.
Unfortunately there doesn't seem to be a solution for the problem, beside waiting for the next version of the rom. But to those of you who may face the same or a similar problem, here's a little workaround:
In poweramp you can define the folders to scan, so just allow it to scan only /emmc/ and the doubled files will disappear. Unfortunately this is not possible for the stock-player. Maybe this is helpful.
i never bothered to look up emmc and just assumed the "e" stood for external.
if it stands for embedded it would actually make sense to switch the mount points.
the fact that one device can be accessed using several paths, e.g. /sdcard/ and /mnt/sdcard/ is a linux thing. same thing is present on pcs, servers and embedded systems (video game console, set top boxes, mediaplayers...). the mount point /sdcard/ is for convenience.
the "picking up files twice" issue you have with your music probably comes from some mount problem. but here's an idea:
in any music player, find a song that is present twice in a row, and look at its details. you should be able to find the full filename including the folder structure. then you will know exactly, what causes the duplicates. it might be that your card is mounted in some other folder as well.
other than that, as you said, it might be best to wait for the next rom revision, or get your post count up and post in the development thread directly, where they can probably help you. if that is a general bug of the rom, i guess you are not the first to realize it and people should be working on it as it sounds really annoying.

[Q] Cant see files that I copy to the SD card over USB

I have been searching for answers on this and so far found nothing. Sorry if its already been covered somewhere I didn't find.
The SD card is working fine in the pone.
When I put it in a usb adapter to plug into my pc it mounts fine and I can copy files to it without any errors but when I put it back in the phone I cant see the files?
Same thing happens when I plug the phone into a pc with USB and copy the files.
The files are still there because when I plug back into the pc I can see them.
Anyone know why I have this issue please?
Many thanks
Ben
Try unmounting an remounting the sdcard in the Settings menu.
Have you tried other filemanagers than the stock one?
I can't confirm your issue but it sounds like a caching issue.
Have you tried turning it off and on again? =)
I have a similar issue , I have files that I have copied over to the phone sd card and wanted to use a file manager to move them around into different files however none of the file managers seem to see the files
Sent from my GT-I9300 using xda premium
d4fseeker said:
Try unmounting an remounting the sdcard in the Settings menu.
Have you tried other filemanagers than the stock one?
I can't confirm your issue but it sounds like a caching issue.
Have you tried turning it off and on again? =)
Click to expand...
Click to collapse
I am using ES File Explorer
I have tried rebooting the phone and also (after you said) mounting and unmounting the SD card. The Issue remains the same.
Does anyone else have this issue or any ideas?
If you're connected to PC as MTP mode, try to switch to camera transfer mode..
Maybe this will help?
External and internal sdcard mount points
After some more investigating I have discovered that what is displayed as /sdcard/ is in fact the phones internal flash memory and the actual SD card is mounted as something else.
There you have 2 folders in /mnt
/mnt/sdcard >> taht is the internal flash storage
/mnt/sdextcard >> that is the inserted sd card
http://mono-for-android.1047100.n5.nabble.com/detect-SD-Card-path-td5710218.html
This explains why I could see the files i copied to my sd card on my phone as my phone wont enable me to see the actual external SD card.
Was surprised I couldn't find an actual thread about this on the forum.
I can see that creating a mount point for called SDCARD within the internal memory will allow apps that default large content files to use this space without complaining but this means that although Samsung allow SD cards to be inserted they cannot be used with a standard set up?
So is there any way for me to get to this other mount point without root access?
I thought, for a change, I might hold off rooting my phone but this might spur me on...
Afaik Android does not have a concept of "internal" SD card. (Which is the or at least a reason why most phones have a separate data partition)
However when phone manufacturer's started offering internal storage capacity for normal files, they just used the sdcard.
The name of the external sdcard varies from phone to phone and manufacturer.
I can remember that the name of the external sd card on my S1 was /sdcard/external_sd/ (no /mnt as with the S3 !)
On current Cyanogenmod for the S1 it's /mnt/emmc/ which seems to be introduced as some sort of "standard".
This variety in naming shemes and the possibility of a phone not having internal SD-card storage, only having internal SD-card storage or having both _SHOULD_ make app developers give you the option where to store it.
If it doesn't it's a restriction in the app, not the sdcard.
Solution[/b[
If you are rooted you can easily bypass these restrictions with a simple trick. Make sure the app is terminated before attempting this!
Go to the terminal emulator and type:
Code:
su
mkdir /mnt/sdcardext/APPFOLDER
cp -rvf /mnt/sdcard/APPFOLDER /mnt/sdcardext/APPFOLDER
mount -o bind /mnt/sdcard/APPFOLDER /mnt/sdcardext/APPFOLDER
You've now told Android to re-route all filesystem access'es transparently to the external SDcard while the app still believes it's on the internal one.
Note that you'll have to run the following after every boot (or have it run as auto-start) since mount's are not persistant.
Code:
su
mount -o bind /mnt/sdcard/APPFOLDER /mnt/sdcardext/APPFOLDER
Thank you for the explanation on this d4fseeker. Really all I wanted to do at this time was be able to access the external SD or point to it as a content location. But I will bookmark the solution for forcing apps to use it.
No I know what I know I have rooted my phone, curtesy of Chainfires guide here and can now see the extSDCard directory
houseofcutler said:
I am using ES File Explorer
I have tried rebooting the phone and also (after you said) mounting and unmounting the SD card. The Issue remains the same.
Does anyone else have this issue or any ideas?
Click to expand...
Click to collapse
In ES file explorer, you can go to your external SDcard by open Menu (left capacitive button), then select Manager and then SD card Analyst.
it will show /sdcard,,, it means internal SDcard. You have to touch "Disks" icon (the second from the left), then select /mnt/extSdCard. Eventually you can browse your external SD.
I don't know if there is the easier way. Or you can use the stock explorer app "My files", it is easier to browse the external card but with less function than 3rd party app.
That does work thanks - Turns out I purchased Root Explorer a while back so I have installed that and set the home directory to be the external SD mount point. Still need ES though for when I am copying across my network
jackie_jerk said:
In ES file explorer, you can go to your external SDcard by open Menu (left capacitive button), then select Manager and then SD card Analyst.
it will show /sdcard,,, it means internal SDcard. You have to touch "Disks" icon (the second from the left), then select /mnt/extSdCard. Eventually you can browse your external SD.
I don't know if there is the easier way. Or you can use the stock explorer app "My files", it is easier to browse the external card but with less function than 3rd party app.
Click to expand...
Click to collapse
I have quite the same problem but another way around. I can see all the (music)files in the phone but when I connect the phone via USB to my PC I can only see a few (about 30) of the files in the folder. I have booted the PC and the phone, took the SDcard also out and in. Also when I insert the SDCard to the PC's cardreader I can see all the files, so I quess the problem is in the phone. Any ideas how to solve this?
Not sure what your issue is but my advise is to confirm you a definitely looking at what you think you are - that was my problem before.
For example when the Phone is connected to your PC:
Create a text file called phone.txt in the 'Phone' Directory
Create one called card.txt in the 'Card' directory
Then use the built in 'my files' browser or whatever app you use to see if the files are where you think they are.
Might help...
d4fseeker said:
Afaik Android does not have a concept of "internal" SD card. (Which is the or at least a reason why most phones have a separate data partition)
However when phone manufacturer's started offering internal storage capacity for normal files, they just used the sdcard.
The name of the external sdcard varies from phone to phone and manufacturer.
I can remember that the name of the external sd card on my S1 was /sdcard/external_sd/ (no /mnt as with the S3 !)
On current Cyanogenmod for the S1 it's /mnt/emmc/ which seems to be introduced as some sort of "standard".
This variety in naming shemes and the possibility of a phone not having internal SD-card storage, only having internal SD-card storage or having both _SHOULD_ make app developers give you the option where to store it.
If it doesn't it's a restriction in the app, not the sdcard.
Solution[/b[
If you are rooted you can easily bypass these restrictions with a simple trick. Make sure the app is terminated before attempting this!
Go to the terminal emulator and type:
Code:
su
mkdir /mnt/sdcardext/APPFOLDER
cp -rvf /mnt/sdcard/APPFOLDER /mnt/sdcardext/APPFOLDER
mount -o bind /mnt/sdcard/APPFOLDER /mnt/sdcardext/APPFOLDER
You've now told Android to re-route all filesystem access'es transparently to the external SDcard while the app still believes it's on the internal one.
Note that you'll have to run the following after every boot (or have it run as auto-start) since mount's are not persistant.
Code:
su
mount -o bind /mnt/sdcard/APPFOLDER /mnt/sdcardext/APPFOLDER
Click to expand...
Click to collapse
But doesn't this simply relocate 100% of APPFOLDER to the microSD card and still leave no option to have Apps in both flash locations? Or will programs like App 2 SD somehow now be able to relocate apps back to the internal flash partition (aka "internal sdcard")?
Ah, nevermind. "APPFOLDER" is a single application's appfolder, not a directory with all the apps. So this should be something an app could do on any rooted S3 with a nice gui and persistence through some service mod in init.d or whatever Android uses in its place, yes?
Ok, was just digging around in /mnt/sdcard and while a few apps have obvious directories there, most do not. What's more, being an android noob, I'm not sure where their directories would be located (app manager doesn't say either).
Anyone care to point me in the right direction? Also, is there a way to install some other standard linux shell commands like more and grep?
Thanks.
Sent from my GT-I9300 using XDA

[Q] SGS III - ext. SDCard suddenly ReadOnly

Today I found - after trying to make a foto - that my SDCard doesn't seem to be not accessibl anymore - at least the cam app says this. After some ivestigation I found out that the SD is still accessible but all files and folders are in read-only mode. I checked the perms with ESFileExplorer and found no hint why (775 was set correctly) however the properties dialog of differnt file managers always says read-only. I tried to access, remove and create files/folders via pc o that card (format FAT32) w/o any problems. So I made a backup and format the card within the phone and what shall I say - it seems to work again.
Does anybody have an idea what this may have caused?
SGS III + JB 4.1.2 I9300XXELL5_I9300VFGELL1_VD2 + XXELL5_JKay_Deluxe_Stock_v14_5_4 + rooted with SGS Toolkit
Thanks a lot!!!
BTW: I used the search function already but I did not find an explainantion which matches fully to my problem
Possibly found a reason
Hm, may have found 2 possible reasons for that behaviour:
- SolidExplorer (strange behviour as after start of it a lot of files partly w/o filname (only . or @ or y) are displayed, partly not visible in other file managers and after some time I can't delete/change no file on that card anymore)
- Too high value vor SDBooster (used 1024 now reduced to 512) - but for my understanding this should not be the reason as it was working for a long time w/o problems.
Will investigate later and will inform about the outcome...
Help on this thread please.
Same problem here.. My torrents, my camera, sms backup and restore, titanium backup, everything else specially those i set as daily scheduled activities always end up having unsuccessful results..
The problem can be worked around by unmounting->re-mounting sd-card..... every 5 minutes or so...
HELP!!
format it
Why didn't I think of that in the first place? Geez..
So anyone here who really understands the problem?
Note(2)worthy response using Tapatalk HD.
I have exactly the same issue as you, at the very beginning, i notice this problem when i was taking photo and said my sdcard is not accessible, it then changes to use internal storage.
Let me list out my symptom and solution:
Symptom:
1. The sdcard looks fine, no special error thrown during android startup.
2. Just after startup, i am able to write file /copy file to the external sdcard
3. After a while, the external sdcard becomes read only. I can view/copy files from sd card, but not write/copy file to the external sdcard.
4. No apps can modify the files in external sdcard
5. By using ADB shell, type mount, and you will notice the /extSdCard is mounted as "ro", which means read only.
Description:
If you have the above symptom, your external sdcard probably have some problems...
When I was checking the mount details on step 5, i noticed that the default options is onerrors=remount-ro , it looks like the external sdcared is remounted as read-only because it has problem on external sdcard....
Solution:
I put the external sdcard to a Windows PC, and run scan disk (right click the drive >"properties" > "tools" > Check Now).
It really find problem on the FAT of the external sd card!!! It fix automatically and my external sd card is working fine now.
In my case, it doesn't need to root or format the sdcard.
Good luck!
.DayWalker. said:
Today I found - after trying to make a foto - that my SDCard doesn't seem to be not accessibl anymore - at least the cam app says this. After some ivestigation I found out that the SD is still accessible but all files and folders are in read-only mode. I checked the perms with ESFileExplorer and found no hint why (775 was set correctly) however the properties dialog of differnt file managers always says read-only. I tried to access, remove and create files/folders via pc o that card (format FAT32) w/o any problems. So I made a backup and format the card within the phone and what shall I say - it seems to work again.
Does anybody have an idea what this may have caused?
SGS III + JB 4.1.2 I9300XXELL5_I9300VFGELL1_VD2 + XXELL5_JKay_Deluxe_Stock_v14_5_4 + rooted with SGS Toolkit
Thanks a lot!!!
BTW: I used the search function already but I did not find an explainantion which matches fully to my problem
Click to expand...
Click to collapse

Categories

Resources