[Q] Can anyone tell me what is mounted at /mnt/sdcard? - Xoom Q&A, Help & Troubleshooting

I'm curious about what the Xoom is using to make apps think there is an "external" storage on the device. It is my understanding that with Honeycomb, there is no longer a partition on the internal storage formatted as FAT that is mounted as /mnt/sdcard. Rather the majority of the internal storage is now part of the /data partition. But then, what is mounted at /mnt/sdcard? Surely not the entire data partition? Since doing that would expose app's private data which other apps aren't supposed to access. So I'm guessing that it's probably a subdirectory on the /data partition that is mounted at /mnt/sdcard so that apps that hardcode that directory to use for external storage can still work. Is this correct? If so, what is the exact directory that is mounted there? Thanks.

Chirality said:
I'm curious about what the Xoom is using to make apps think there is an "external" storage on the device. It is my understanding that with Honeycomb, there is no longer a partition on the internal storage formatted as FAT that is mounted as /mnt/sdcard. Rather the majority of the internal storage is now part of the /data partition. But then, what is mounted at /mnt/sdcard? Surely not the entire data partition? Since doing that would expose app's private data which other apps aren't supposed to access. So I'm guessing that it's probably a subdirectory on the /data partition that is mounted at /mnt/sdcard so that apps that hardcode that directory to use for external storage can still work. Is this correct? If so, what is the exact directory that is mounted there? Thanks.
Click to expand...
Click to collapse
Consider /mnt/sdcard to be just a name for a portion/partition of the Xoom's internal flash memory that does not get touched when you flash a new kernel or ROM or get an OTA update. This has certain implied meanings to where android looks for certain files or multimedia. The external micro-sd card gets mounted at /mnt/external1 which on my Xoom also has a link to /MicroSD. I hope this helps clear up some of the confusion.

davidsos said:
Consider /mnt/sdcard to be just a name for a portion/partition of the Xoom's internal flash memory that does not get touched when you flash a new kernel or ROM or get an OTA update. This has certain implied meanings to where android looks for certain files or multimedia. The external micro-sd card gets mounted at /mnt/external1 which on my Xoom also has a link to /MicroSD. I hope this helps clear up some of the confusion.
Click to expand...
Click to collapse
Yes, I assume it is a part of the /data partition, which is unaffected when you flash a new ROM, because that is on the /system partition. The problem is that I don't think it's the entire /data partition, since that partition contain private app data that other apps should not be allowed to read. I'm just wondering which subset of the /data partition is mounted at that location.

If im not mistaken the /mnt partition is written in Fat32 so that when you connect your phone to a windows pc the pc will recognize it. so the sdcard in /mnt is what you see when you plug your xoom into the pc, and the /sdcard partition automatically writes changes you make to its files to the /mnt/sdcard version to reflect the changes that were made when you plug into windows pc. the true sdcard, the one you manually put into the top of the xoom is /mnt/external1, or /microsd in the main filesystem "/" Atleast thats what I believe, Im no dev

Use "mount" command in Terminal Emulator or ADB shell
All mounted devices and mountpoints will be listed there.

_TB_TB_ said:
Use "mount" command in Terminal Emulator or ADB shell
All mounted devices and mountpoints will be listed there.
Click to expand...
Click to collapse
That's what I'm hoping somebody would do, I don't own this device.

/data/media is underlying directory for the Android sdcard fuse file system that is mounted at /mnt/sdcard/

solarnz said:
/data/media is underlying directory for the Android sdcard fuse file system that is mounted at /mnt/sdcard/
Click to expand...
Click to collapse
Thanks! That's in line with what I was thinking.

very usefull this to me
so I guess it means that if my /mnt/sdcart space has become way too small in proportion to the available space on the card after a flash recovery so I can fix this by enlarging my /data partition, which thus is not really a partition, but merely an imbedded file system -an image file. Which can be enlargend with dd.
Thank for this discussion
Mikkel

Related

How to use external sd as normal sd

Hello to all,
With my desire HD my sd is used for storage all my app and games data. The internal memory is for app and I have a lot of apps and I have a 32gb sd
With my Transformer 16gb with another 32gb sd I can't have the same storage capacity of my dhd since after the instalation of some games and the download of relative resources I have my internal sd full!!
So I have discovered gltosd but it works good for gameloft and data directories but for other games such as roc or dead space which download data on different directory I can't use my external sd as storage!
Also titanium backup can't backup on my external storage but only in internal and so... Is not a safe backup!
So my question is.... Is possible to make the internal sd as system memory and external sd as normal sd??
Of course I have root and custom ROM.
Thanks
Inviato dal mio Desire HD usando Tapatalk
mattiadj said:
Hello to all,
With my desire HD my sd is used for storage all my app and games data. The internal memory is for app and I have a lot of apps and I have a 32gb sd
With my Transformer 16gb with another 32gb sd I can't have the same storage capacity of my dhd since after the instalation of some games and the download of relative resources I have my internal sd full!!
So I have discovered gltosd but it works good for gameloft and data directories but for other games such as roc or dead space which download data on different directory I can't use my external sd as storage!
Also titanium backup can't backup on my external storage but only in internal and so... Is not a safe backup!
So my question is.... Is possible to make the internal sd as system memory and external sd as normal sd??
Of course I have root and custom ROM.
Thanks
Inviato dal mio Desire HD usando Tapatalk
Click to expand...
Click to collapse
You CAN set Titanium Backup to use the external MicroSD card, which is at "/Removable/MicroSD/TitaniumBackup/". I have 382 apps and games installed on my 32GB internal storage and still have 26.31GB available. I have no apps installed on the MicroSD card, only *.zip files for ROMS and kernels and such.
sidneyk said:
You CAN set Titanium Backup to use the external MicroSD card, which is at "/Removable/MicroSD/TitaniumBackup/". I have 382 apps and games installed on my 32GB internal storage and still have 26.31GB available. I have no apps installed on the MicroSD card, only *.zip files for ROMS and kernels and such.
Click to expand...
Click to collapse
Thanks but where you have the app resources? On internal or external sd?
Inviato dal mio Desire HD usando Tapatalk
The answer to your basic question (can I make the external micro-SD card the main SD card is): yes, if and only if you are rooted.
Before I explain how, let me explain how the "internal SD card" works on the Transformer. (If you just want to know what to do, you can skip this section).
How the "internal SD card" works on the EEE Pad Transformer
Normally on Android, /data and /sdcard point to two separate file systems, one internal, and the other external. However on devices with an internal "SD card" this changes.
The simplest way to have an internal "SD card" is to simply partition the storage into two file systems, one for /data, and the other for /sdcard. Several devices do just that. The downside is that if you put too much space in /data it is effectively wasted, while too little space in /data limits the number of apps that can be installed or how much data they can store "locally".
To solve that it is possible to store the "internal SD card" data in the same filesystem as /data. A new directory was created called /data/media, all the files in the "internal SD card" are actually just files in that folder. They both therefore have the same amount of free space and total space. [1] But Android insists that /sdcard must be a FAT32-compatible file system, while /data must not be. The solution is simple. Create a fake file system driver that pretends to be fat32, but simply reads from and writes to /data/media. That is what the transformer does.
The fake FAT32-compatible filesystem is actually mounted at /mnt/sdcard. Finally there is a symbolic link called /sdcard, which points to /mnt/sdcard. There is one logical reason for doing that, which is is to make it easy change /sdcard to point to an external card. Thanks ASUS for making our job simple.
How to use an external SD card as the primary SD card
Use [highlight]adb shell[/highlight] or the Terminal Emulator app from the market to open a shell.
If the prompt ends with a "#", skip to the next step. Otherwise type [highlight]su[/highlight] (followed by enter) to get a root shell.
Type [highlight]mount -o remount,rw /[/highlight] to ensure the root file system is mounted read/write.
Type [highlight]rm /sdcard[/highlight]
Type [highlight]ln -s /Removable/MicroSD /sdcard[/highlight]
reboot
That should do it. One last thing you may want to do is to to move the files from the "internal SD card" to the external one, or delete the files stored there to free up space. To do this you can use the built-in File Explorer. From the menu in the top right, uncheck the "hide system files" option. Now you can find the "internal SD card" at /mnt/sdcard. Delete the files or copy them to /sdcard as you see fit.
Footnote:
[1] Oddly this means that unless you do what I've outlined in this post, using the built-in apps2sd functionality simply wastes space.
Not OP, but appreciate the great explanation.
Sent from my Transformer TF101 using xda premium
jsmith45 said:
The answer to your basic question (can I make the external micro-SD card the main SD card is): yes, if and only if you are rooted.
Before I explain how, let me explain how the "internal SD card" works on the Transformer. (If you just want to know what to do, you can skip this section).
How the "internal SD card" works on the EEE Pad Transformer
Normally on Android, /data and /sdcard point to two separate file systems, one internal, and the other external. However on devices with an internal "SD card" this changes.
The simplest way to have an internal "SD card" is to simply partition the storage into two file systems, one for /data, and the other for /sdcard. Several devices do just that. The downside is that if you put too much space in /data it is effectively wasted, while too little space in /data limits the number of apps that can be installed or how much data they can store "locally".
To solve that it is possible to store the "internal SD card" data in the same filesystem as /data. A new directory was created called /data/media, all the files in the "internal SD card" are actually just files in that folder. They both therefore have the same amount of free space and total space. [1] But Android insists that /sdcard must be a FAT32-compatible file system, while /data must not be. The solution is simple. Create a fake file system driver that pretends to be fat32, but simply reads from and writes to /data/media. That is what the transformer does.
The fake FAT32-compatible filesystem is actually mounted at /mnt/sdcard. Finally there is a symbolic link called /sdcard, which points to /mnt/sdcard. There is one logical reason for doing that, which is is to make it easy change /sdcard to point to an external card. Thanks ASUS for making our job simple.
How to use an external SD card as the primary SD card
Use [highlight]adb shell[/highlight] or the Terminal Emulator app from the market to open a shell.
If the prompt ends with a "#", skip to the next step. Otherwise type [highlight]su[/highlight] (followed by enter) to get a root shell.
Type [highlight]mount -o remount,rw /[/highlight] to ensure the root file system is mounted read/write.
Type [highlight]rm /sdcard[/highlight]
Type [highlight]ln -s /Removable/MicroSD /sdcard[/highlight]
reboot
That should do it. One last thing you may want to do is to to move the files from the "internal SD card" to the external one, or delete the files stored there to free up space. To do this you can use the built-in File Explorer. From the menu in the top right, uncheck the "hide system files" option. Now you can find the "internal SD card" at /mnt/sdcard. Delete the files or copy them to /sdcard as you see fit.
Footnote:
[1] Oddly this means that unless you do what I've outlined in this post, using the built-in apps2sd functionality simply wastes space.
Click to expand...
Click to collapse
Woow!!!!
So if I wipe all and start from the beginning and before install any app I'll made this operation I will have ~16gb internal memory???
It's possible to make a zip to flash after the rom??
Inviato dal mio Desire HD usando Tapatalk
jsmith45 said:
The answer to your basic question (can I make the external micro-SD card the main SD card is): yes, if and only if you are rooted.
Before I explain how, let me explain how the "internal SD card" works on the Transformer. (If you just want to know what to do, you can skip this section).
How the "internal SD card" works on the EEE Pad Transformer
Normally on Android, /data and /sdcard point to two separate file systems, one internal, and the other external. However on devices with an internal "SD card" this changes.
The simplest way to have an internal "SD card" is to simply partition the storage into two file systems, one for /data, and the other for /sdcard. Several devices do just that. The downside is that if you put too much space in /data it is effectively wasted, while too little space in /data limits the number of apps that can be installed or how much data they can store "locally".
To solve that it is possible to store the "internal SD card" data in the same filesystem as /data. A new directory was created called /data/media, all the files in the "internal SD card" are actually just files in that folder. They both therefore have the same amount of free space and total space. [1] But Android insists that /sdcard must be a FAT32-compatible file system, while /data must not be. The solution is simple. Create a fake file system driver that pretends to be fat32, but simply reads from and writes to /data/media. That is what the transformer does.
The fake FAT32-compatible filesystem is actually mounted at /mnt/sdcard. Finally there is a symbolic link called /sdcard, which points to /mnt/sdcard. There is one logical reason for doing that, which is is to make it easy change /sdcard to point to an external card. Thanks ASUS for making our job simple.
How to use an external SD card as the primary SD card
Use [highlight]adb shell[/highlight] or the Terminal Emulator app from the market to open a shell.
If the prompt ends with a "#", skip to the next step. Otherwise type [highlight]su[/highlight] (followed by enter) to get a root shell.
Type [highlight]mount -o remount,rw /[/highlight] to ensure the root file system is mounted read/write.
Type [highlight]rm /sdcard[/highlight]
Type [highlight]ln -s /Removable/MicroSD /sdcard[/highlight]
reboot
That should do it. One last thing you may want to do is to to move the files from the "internal SD card" to the external one, or delete the files stored there to free up space. To do this you can use the built-in File Explorer. From the menu in the top right, uncheck the "hide system files" option. Now you can find the "internal SD card" at /mnt/sdcard. Delete the files or copy them to /sdcard as you see fit.
Footnote:
[1] Oddly this means that unless you do what I've outlined in this post, using the built-in apps2sd functionality simply wastes space.
Click to expand...
Click to collapse
Thanks for details, very nice and easy to understand. I do have a couple follow-up questions though.
- First to set the stage: I have the 16GB version of the TF, and right now have a 16GB external microsd installed. Rooted with stock ROM at present.
- Are there any issues or reasons why someone should not do this? Would the only reason for doing this be low internal memory?
- Your final footnote about apps2sd. Wasn't completely clear on this. Are you saying, that if I want to use apps2sd, I should do what you outlined?
- Essentially just want to determine if it is best to do this or not. I have a NookColor that is rooted and have used it fine for a year now, and have placed most apps/data on the external microsd, so am familiar with having that way, but am unsure about the TF.
Thanks again (gave you a thanks!)
surfmly said:
- Are there any issues or reasons why someone should not do this? Would the only reason for doing this be low internal memory?
Click to expand...
Click to collapse
Another reason of doing it is avoid mixing sd content in the internal memory and making clearer that /sdcard is the external memory. But yes, the main reason would be wasting 16Gb for Android system... There shouldn't been any problems with this change if you follow the instructions. The TF and Android can handle it.
surfmly said:
- Your final footnote about apps2sd. Wasn't completely clear on this. Are you saying, that if I want to use apps2sd, I should do what you outlined?
Click to expand...
Click to collapse
If you use apps2sd, you link /data/app to /sdcard, but since /sdcard is part of the internal memory and its also linked to /data, you will be wasting more internal memory. If you do the changes sugested by jsmith45 and use apps2sd, since /sdcard will now be pointing to the real external sd card, you will be using the external card to store all your apps.
surfmly said:
- Essentially just want to determine if it is best to do this or not. I have a NookColor that is rooted and have used it fine for a year now, and have placed most apps/data on the external microsd, so am familiar with having that way, but am unsure about the TF.
Click to expand...
Click to collapse
If you use the TF with a little head and move the heavy games/apps to the sdcard, you shouldn't get out of space soon and won't need this kind of change.
AzureusPT said:
If you use the TF with a little head and move the heavy games/apps to the sdcard, you shouldn't get out of space soon and won't need this kind of change.
Click to expand...
Click to collapse
however, as was previously said, as the transformer has its "internal SD card" data in the same filesystem as /data, moving apps to sd is just shuffling them about in the same file tree, it doesnt actually move them to the real external sd card.
using this mod would achieve that- my only concern being that if that card fails then a lot of important data is lost.
i also wonder how well this mod would work using CWM??
bob dylan said:
however, as was previously said, as the transformer has its "internal SD card" data in the same filesystem as /data, moving apps to sd is just shuffling them about in the same file tree, it doesnt actually move them to the real external sd card.
Click to expand...
Click to collapse
lol, thats true. I typed without thought...
Still, you have around 10Gb of usable space in /data. The point on doing the trick of restoring /sdcard to external should be if you have enough apps to get to that size. Note that many apps that download aditional data, many times they save it on the real sd card.
What I ment to say about using it with head was that its wise to use the external card to save the big files (that could be movies, music, etc), and handle the internal with apps.
BTW... just came to me now... with simple apps it is possible to get to 10Gb? I'm not talking about Let's Golf instalation (+1Gb), just the weight of the apk itself...
thanks guys
I have followed the tutorial but my sdcard folder links to internal memory and not to removable/microsd.
Infact all resource of apps are stored in Internal SD and not in External SD as i want.
I have tried with adb and terminal emulator...is the same. My rom is Revolver 3.11...help
Edit: the problem is after the reboot! if i don't reboot the symbolic link is present....I think i have to create and automatic script for every reboot
Now i have fixed the problem but i think the solution is not very perfect.
Ok sdcard folder links to removable/microsd but...mnt/sdcard is linked to internal sdcard!!! So apps installs it self on mnt/sdcard/data and games such as Race of champions download the resources on mnt/sdcard too.
I think the best way is to change the link to mnt/sdcard also to removable/microsd...
Any advice?
mattiadj said:
I have followed the tutorial but my sdcard folder links to internal memory and not to removable/microsd.
Infact all resource of apps are stored in Internal SD and not in External SD as i want.
I have tried with adb and terminal emulator...is the same. My rom is Revolver 3.11...help
Edit: the problem is after the reboot! if i don't reboot the symbolic link is present....I think i have to create and automatic script for every reboot
Now i have fixed the problem but i think the solution is not very perfect.
Ok sdcard folder links to removable/microsd but...mnt/sdcard is linked to internal sdcard!!! So apps installs it self on mnt/sdcard/data and games such as Race of champions download the resources on mnt/sdcard too.
I think the best way is to change the link to mnt/sdcard also to removable/microsd...
Any advice?
Click to expand...
Click to collapse
Now that I got around to trying this I am seeing the same problem. I have tried twice and it doesn't appear the link works. My External MicroSD is not being linked to when opening /sdcard in file explorer. Testing by taking a picture to see where new photo resides... it ends up in both /sdcard and /mnt/sdcard and not in /Removable/MicroSD....
So you need to do anything else like have a freshly formated MicroSD with proper folder structure (i.e. same folders currently in the /mnt/sdcard folder)?
Thanks.
---------- Post added at 03:27 PM ---------- Previous post was at 03:23 PM ----------
jsmith45 said:
How to use an external SD card as the primary SD card
Use [highlight]adb shell[/highlight] or the Terminal Emulator app from the market to open a shell.
If the prompt ends with a "#", skip to the next step. Otherwise type [highlight]su[/highlight] (followed by enter) to get a root shell.
Type [highlight]mount -o remount,rw /[/highlight] to ensure the root file system is mounted read/write.
Type [highlight]rm /sdcard[/highlight]
Type [highlight]ln -s /Removable/MicroSD /sdcard[/highlight]
reboot
Click to expand...
Click to collapse
jsmith - this doesn't appear to be working for me. The link doesn't point to /Remvoable/MicroSD per the terminal client commands I run per above, it is still /mnt/sdcard.
Anyone getting this to work properly on TF101 (I am running rooted .21 via Nachoroot/Vipermod). Thanks.
---------- Post added at 03:44 PM ---------- Previous post was at 03:27 PM ----------
By the way, I confirm that the symbolic link is working without reboot.
Also, for something like storing photos from the camera (and video recorder) I don't see option in camera or gallery to change save path. It shows the path for saved photos as /mnt/sdcard/......
So even without rebooting, with symbolic link working (i.e. opening /sdcard does open my external SD card), the camera is saving photos on the internal SD (at /mnt/sdcard).
I was thinking that we would be able to make the external SD card used for these types of things. Many apps should be installed on internal (runs better many times, etc) but extra stuff like music, photos, videos, etc should use the external card. Looks like this mod wouldn't necessarily change that.
Also, I noticed that on my HTC Inc2, the external card is at /mnt/sdcard (or /sdcard). So if any app is setup to use /mnt/sdcard, it will use the external SD card. However on the TF, even with the mod in this thread, the app would use /mnt/sdcard which is the internal SD. Only if an app uses /sdcard as the path would it use the external SD and I am not sure if most apps use /mnt/sdcard or just /sdcard.
Thoughts on best next steps to get the external card to be used more/better are welcome
People let see my thread on dev section.... Probably I have found the solution!
Inviato dal mio Desire HD usando Tapatalk
I would like to play with something like this too..
As i have wiped TB backup a few times by mistake when loading on new Rom..
As it backups to the internal not external.. thus I have to manually copy it back and forwards on each backup..
sent from yet another MikG HTC Evo

[Q] Software Raid-0

Before I spend a bunch of time on this...
Has anybody tried to setup a software raid-0 using the internal flash memory and the external sdcard?
The technical challenges seem to be:
1) Build a kernel with raid support.
2) Partition the external and internal memory.
3) Format the raid.
4) Mount the raid.
5) Redirect mount points to the raid.
2) seems to be what I'm unsure about. I was thinking of using a 16 gig external card and pairing this with 16 gigs of the internal card. Is there a way to access the internal sdcard in an umounted state? If it isn't mounted then it might be possible to use a disk tool to re-partition the internal card.
Ologn said:
Before I spend a bunch of time on this...
Has anybody tried to setup a software raid-0 using the internal flash memory and the external sdcard?
The technical challenges seem to be:
1) Build a kernel with raid support.
2) Partition the external and internal memory.
3) Format the raid.
4) Mount the raid.
5) Redirect mount points to the raid.
2) seems to be what I'm unsure about. I was thinking of using a 16 gig external card and pairing this with 16 gigs of the internal card. Is there a way to access the internal sdcard in an umounted state? If it isn't mounted then it might be possible to use a disk tool to re-partition the internal card.
Click to expand...
Click to collapse
Maybe this is what you are looking for?
https://github.com/steven676/android-lvm-mod
Ologn said:
>Is there a way to access the internal sdcard in an umounted state? If it isn't mounted then it might be possible to use a disk tool to re-partition the internal card.
Click to expand...
Click to collapse
You can use the recovery (e.g. TWRP) without a mounted /data partition. However, re-partitioning the TF700 will be a challenge due to the double partition tables (the Tegra proprietary one, and the GPT near the end of the block device). Maybe it is easier to create a big container file on /data and use a loop device for lvm.
Loop back is great idea for testing too!
I think I'm going to drop back a step and write a small app to test the premise.

[Q] How to mount entire internal sdcard (/mnt/sdcard2) as /data

Since I'm using a custom ROM that make the External (bigger: 14GB) SD mount as the default /sdcard, and internal (smaller) as /sdcard2 or something I don't really need it and would much rather like to mount it entirely as /data
.. something similar to this script : http://forum.xda-developers.com/showthread.php?t=1716124 except that it "Mounts **/sd-ext** to /data" but I want to mount /mnt/sdcard2 to /data
. How do I do that?
Problems: I've found that Android would neither let that internal partition be ext3 (it switches it back to FAT even if I somehow manage to format it as ext3). Nor would it mount /data to a FAT partition. What can/should I do?
iBrickYouNot said:
Since I'm using a custom ROM that make the External (bigger: 14GB) SD mount as the default /sdcard, and internal (smaller) as /sdcard2 or something I don't really need it and would much rather like to mount it entirely as /data
.. something similar to this script : http://forum.xda-developers.com/showthread.php?t=1716124 except that it "Mounts **/sd-ext** to /data" but I want to mount /mnt/sdcard2 to /data
. How do I do that?
Problems: I've found that Android would neither let that internal partition be ext3 (it switches it back to FAT even if I somehow manage to format it as ext3). Nor would it mount /data to a FAT partition. What can/should I do?
Click to expand...
Click to collapse
you can't

[Q] Mounting to Adoptable Storage

So, I installed CM13 Alpha4 and Enabled Adoptable storage for my card. I downloaded Minion Rush to understand what data it stores on the actual sdcard (sdcard1) vs on the internal storage (sdcard0). The app instead of being on /data is on the external sdcard. All the data the game downloads goes to /sdcard/Android/data which is still about 200MB(Internal Storage). So, apps like WhatsApp, Instagram, etc will create their usual folders on the tiny 4GB Internal storage (sdcard0). On lollipop, I used Foldermount to keep all these folders on the actual sdcard and mount them to internal.
So, I tried the same with Adoptable Storage in the picture. (First I tried foldermount and set up the external card as portable but it failed).
Symlinking wouldn't work as they're different devices. (Or can it?)
The adoptable storage is mounted to /mnt/expand/blablabla/
Using this command to symlink
Code:
ln -s /mnt/expand/99d984f9-04df-445f-992d-abda2b2bcc6a/Mounted /sdcard/Mount
It returns "Function not Implemented".
Then I tried
Code:
mount -o bind /mnt/expand/99d984f9-04df-445f-992d-abda2b2bcc6a/Mounted /sdcard/Mount
and it sorta worked. When in adb shell, cd-ind to /sdcard/Mount, using ls displays all the contents of the folder "Mounted" in the adopted sdcard. However, using a file explorer on the device says the folder is empty. Tried Solid Explorer and ES. Moreover, the folder "Mounted" in adoptable has just one mp3 file and it isn't displayed in the Music app either, after mounting. Creating a file or folder in /sdcard/Mount using ES or Solid, fails. Can anyone help me figure this out, and is this even possible? (Tried foldermount here too. Toggle doesn't go green)
Another thought was to have a sdcard with two partitions. Tried that but when converting to adoptable, It formats to one partition. Is it possible to repartition without losing data after it's formatted as adoptable? It is somewhat possible to read write the card in Linux - Decrypting Android M adopted storage
This is just an idea to make better use of Adoptable storage.
Cheers!
AgentFabulous
Use following to have mixed storage from your external sd card both as adopted and portable storage. This can be done via android terminal app or through adb from your pc.
$ sm list-disks adoptable
disk:179_64
$ sm partition disk:179_64 mixed 75
$
gives me 75% as portable storage.
However I advise a reboot after setting

Mounting fat32 folder as ext4 folder possible ?

ok i saw few apps that could mount folders as folders on different partitions example Folder Mount , now i wounder if that's do-able via shell script , if so any body care to share the syntax ?
also i could notice the consistent denial of the possibility of mounting a folder with permissions on a fat32 partition and to resolve that all direct to re-partition sd to include an extra ext4 partition , however while browsing android system files i got to realize that ( .android_secure ) folder found on sdcard0 formatted as fat32 partition is mounted as ( /mnt/secure/asec ) folder which is ext4 , now how is that manageable and why nobody ever talk about it ?
thanks in advance

Categories

Resources