Hi,
I recently switched to this phone from other old with Android 4.1.
Model: GT-i9505
ROM: CM12.1 Optimized (http://forum.xda-developers.com/gal...lop/exclusive-antaresone-alucard24-s-t3066696)
Version: cm-12-1-20150524-optimized-jflte
I installed the ROM with all wipes and without sdcard, only with internal storage.
Then, I reinstall manually apps and the problem come with Whatsapp and the media paths.
The problem is that Whatsapp search the files of the conversations in /storage/sdcard0, and in the ROM, this location is empty.
The locations for the storage are:
Internal Storage
/mnt/sdcard
/sdcard
/storage/emulated/0
/storage/emulated/legacy
External Storage
/external_sd
/extSdCard
/storage/sdcard1
Here, tell me that /storage/sdcard0 would be internal storage by default... So what´s wrong??
I tried to change permissions with File Explorer, with same as sdcard1 or /storage/0/legacy for example, but always says it´s a Read-only file system.
I tried too in Google with "cm12 sdcard0", and seems it´s a problem related with the rom, and not find any solution...
Anyone have any idea??
Thanks!
P.D: Sorry for my poor english... I hope explained well..
It works fine for me. I'm on the same rom.
ps /storage/sdcard0 is NOT your internal storage.
That's /storage/emulated/0.
So you must have messed something up.
Lennyz1988 said:
It works fine for me. I'm on the same rom.
ps /storage/sdcard0 is NOT your internal storage.
That's /storage/emulated/0.
So you must have messed something up.
Click to expand...
Click to collapse
So, what do you see in /storage/sdcard0?
The content of internal storage (/storage/emulated/0)??
Albvadi said:
So, what do you see in /storage/sdcard0?
The content of internal storage (/storage/emulated/0)??
Click to expand...
Click to collapse
No it's empty. There is nothing there.
Lennyz1988 said:
No it's empty. There is nothing there.
Click to expand...
Click to collapse
I thought that same as FernBch says that by default has always been internal storage at sdcard0 and external at sdcard1, /storage/sdcard0 would be a symlink same as /mnt/sdcard or /sdcard...
If not, is there any way to create a symlink or something similar manually, to create a link between /storage/emulated/0 and /storage/sdcard0??
Thanks for your help!
No idea. But it shouldn't even be neccesary. It should just work. For me it works so maybe you messed something up?
Lennyz1988 said:
No idea. But it shouldn't even be neccesary. It should just work. For me it works so maybe you messed something up?
Click to expand...
Click to collapse
Well, I think don´t explain me very well (it´s difficult in other language). I´ll try do it better...
2 weeks ago, I had other phone with Android 4.1.1.
This phone had the storage in /storage/sdcard0, so WhatsApp take the media files from that path.
This week, I´d changed the phone and install the CM12.1 Optimized Rom and install WhatsApp restoring the database backup. All work perfect. WhatsApp works perfect at this moment, because if I´m, receiving a image or video, it saves in the internal storage, which is /storage/emulated/0. So far, all right.
The problem it´s when I want view a image received when I was the old phone. In the database, WhatsApp save the absolute path (you can view that in this post), so, when try to get the media, WhatsApp says that the file isn´t in sdcard, because /storage/sdcard0 it´s empty.
I tried to modify manually the blob field in the database, but don´t work (I think I corrupt the field in the modification), so, because of this, mi intention it´s create a symlink (or something like that) so that if I enter in /storage/sdcar0 see the same content there are in /storage/emulated/0 (same as /storage/emulated/legacy or /sdcard paths).
I hope I have now explained better.. :fingers-crossed:
Thanks again!!
Albvadi said:
Well, I think don´t explain me very well (it´s difficult in other language). I´ll try do it better...
2 weeks ago, I had other phone with Android 4.1.1.
This phone had the storage in /storage/sdcard0, so WhatsApp take the media files from that path.
This week, I´d changed the phone and install the CM12.1 Optimized Rom and install WhatsApp restoring the database backup. All work perfect. WhatsApp works perfect at this moment, because if I´m, receiving a image or video, it saves in the internal storage, which is /storage/emulated/0. So far, all right.
The problem it´s when I want view a image received when I was the old phone. In the database, WhatsApp save the absolute path (you can view that in this post), so, when try to get the media, WhatsApp says that the file isn´t in sdcard, because /storage/sdcard0 it´s empty.
I tried to modify manually the blob field in the database, but don´t work (I think I corrupt the field in the modification), so, because of this, mi intention it´s create a symlink (or something like that) so that if I enter in /storage/sdcar0 see the same content there are in /storage/emulated/0 (same as /storage/emulated/legacy or /sdcard paths).
I hope I have now explained better.. :fingers-crossed:
Thanks again!!
Click to expand...
Click to collapse
Aha I understand it now. No idea how it could be done. You should google about symlinking and experiment yourself.
Related
I just got the atrix from radio shack and trying to make my sd card from the epic work... all my files are in there including key files, backups etc...
well the atrix has a 'sdcard' folder and the epic's is now sdcard-ext
I need to make the current sdcard folder disappear and make the sdcard-ext the default sdcard folder...
how do I go about this?
Really? nobody has anything on this!?
The sdcard folder is hard coded into the stock atrix firmware. It may be possible to make the change by rooting and deodexing the firmware.
Easier option would be to just use the included file explorer or one from the market to copy the files over to the internal storage.
Sent from my MB860 using XDA App
I did that, which is PITA. and problem is, anything that stores data (like text logs, backing up data) is all going into sdcard, not sdcard-ext
so when I wipe data for whatever reason, I'm loosing everything everytime...
razorseal said:
I did that, which is PITA. and problem is, anything that stores data (like text logs, backing up data) is all going into sdcard, not sdcard-ext
so when I wipe data for whatever reason, I'm loosing everything everytime...
Click to expand...
Click to collapse
use the customized recovery to wipe out,
nothing in intermal memory card will be deleted
razorseal said:
I did that, which is PITA. and problem is, anything that stores data (like text logs, backing up data) is all going into sdcard, not sdcard-ext
so when I wipe data for whatever reason, I'm loosing everything everytime...
Click to expand...
Click to collapse
some apps will give you the option to save to a certain location but most are set to default to your sdcard(internal storage). its because android doesnt assume that you will be using a external sdcard. just backup the stuff you want to keep on your sdcard before you wipe it...what do you mean by making the sdcard folder disappear? sounds like you dont want to use the internal sdcard at all?
Hey, there is a possibility that may work for switching internal and external sdcards.
In /etc/udev folder, there are configuration files for naming the devices. If we can create a configuration file that will force the atrix to mount the external sdcard as if it is the internal card, then what you want will work.
I will experiment with doing this from the adb command line, but this might need to be requested under the development forum.
If I have any success in this, I will start a thread under development and see if we can create an automated method for doing this. Since some apps don't know about the external card, this could be quite handy.
Hey, so I have successfully swapped the internal and external sdcard mount points, the trick is to edit the file /system/etc/vold.fstab
There are two lines that set the mount point of the internal and external storage. Once these are swapped, the cards change mount points, and the external is now mounted on /sdcard instead of /sdcard-ext.
If you have experience changing /system files, you can make this change yourself.
root *DEFINITELY* required.
--- Changes made to lines 13-17 of /system/etc/vold.fstab ---
# external sd card
dev_mount sdcard_ext /mnt/sdcard auto /devices/platform/tegra-sdhci.2/mmc_host/mmc2 /devices/platform/tegra-sdhci.2/mmc_host/mmc1
# internal eMMC
dev_mount sdcard /mnt/sdcard-ext auto /devices/platform/tegra-sdhci.3/mmc_host/mmc0/mmc0:0001/block/mmcblk0/mmcblk0p18
Hello.
I'm using the latest aurora and I'd like to discuss an idea I had.
Since the U8800 has plenty internal memory and it's quite fast comparing to an average sd card, it'd be great if we could use the internal memory for the tasks that need "speed" instead of "space".
Running apps from the sd card is the perfect example!
So the idea would be, while keeping the external sdcard mounted on /mnt/sdcard, having /mnt/sdcard/Android/data, for instance, point to the «internal sdcard path»/Android/data.
What do you think would be the best solution:
- hacking the mount points?
- using links?
- other solution?
Any developer or filesystem savvy user can point the advantages or dangers of using this solution?
- e.g.: the system or some apps may check if the external sd-card is mounted before trying to read/write to /mnt/sdcard/Android/data... that would mean the system/those apss may think that path isn't reachable with the ext-sdcard unmounted, altough they can be read.
Suggestions? Rants? Ideas?
Regards!
I have wondered if the /data/app or maybe the whole /data partition could be mounted in the internal storage partition. That would give 2gb space for apps and associated files instead of 3-400 ish and would mean no need to move apps to sd card which would mean faster loads at startup due to internal memory being faster.
VuDuCuRSe said:
Hello.
I'm using the latest aurora and I'd like to discuss an idea I had.
Since the U8800 has plenty internal memory and it's quite fast comparing to an average sd card, it'd be great if we could use the internal memory for the tasks that need "speed" instead of "space".
Running apps from the sd card is the perfect example!
So the idea would be, while keeping the external sdcard mounted on /mnt/sdcard, having /mnt/sdcard/Android/data, for instance, point to the «internal sdcard path»/Android/data.
What do you think would be the best solution:
- hacking the mount points?
- using links?
- other solution?
Any developer or filesystem savvy user can point the advantages or dangers of using this solution?
- e.g.: the system or some apps may check if the external sd-card is mounted before trying to read/write to /mnt/sdcard/Android/data... that would mean the system/those apss may think that path isn't reachable with the ext-sdcard unmounted, altough they can be read.
Suggestions? Rants? Ideas?
Regards!
Click to expand...
Click to collapse
Well this is known for a while now . Quoted from my thread here:
vold.fstab - CHANGE THE DEFAULT SDCARD: -thanks to julle131
There is this file named vold.fstab at your /system/etc/ folder, which controls which of your sdcards (Internal/External) will be mounted when you connect your phone to the PC. The last 2 lines are the only that matter. These are the two possibilities:
EXTERNAL SDCARD MOUNTED (DEFAULT):
dev_mount sdcard /mnt/sdcard auto /devices/platform/msm_sdcc.4/mmc_host
dev_mount emmc /mnt/sdcard1 14 /devices/platform/msm_sdcc.2/mmc_host
INTERNAL SDCARD MOUNTED:
dev_mount sdcard /mnt/sdcard 14 /devices/platform/msm_sdcc.2/mmc_host
dev_mount emmc /mnt/sdcard1 auto /devices/platform/msm_sdcc.4/mmc_host
change them as you wish with a root explorer or before flashing.
Click to expand...
Click to collapse
Make this change and every app will use the internal sdcard. Gallery works ok with images to external sdcard, it just might take a while for the first refresh. But I don't know if you'll notice any difference in terms of speed....
Cheers
spirosbond said:
Well this is known for a while now . Quoted from my thread here:
Make this change and every app will use the internal sdcard. Gallery works ok with images to external sdcard, it just might take a while for the first refresh. But I don't know if you'll notice any difference in terms of speed....
Cheers
Click to expand...
Click to collapse
That's not what he talked, I think. He said that the apparel would be installed on the external sd card, but the data would be moved to the internal one. And we have speed, but the main card would be the external one.
I think its a great idea if I understood it right!
Sent from my U8800 using xda premium
mrasquinho said:
That's not what he talked, I think. He said that the apparel would be installed on the external sd card, but the data would be moved to the internal one. And we have speed, but the main card would be the external one.
I think its a great idea if I understood it right!
Sent from my U8800 using xda premium
Click to expand...
Click to collapse
Oh I see! Sorry about that. As far as I know apps are not choosing were to put their data. They just say to the OS "I want these things to be at the sdcard" and the OS puts them at the correct place. So you can't "hack" the app to "see" at somewhere else. On the other hand the OS initialises on boot which card is the primary and which is the secondary. So my knowledge stops there and I can't imagine a way to make this separation between app data and the rest...
I hope for someone else's help!
PaulMilbank said:
I have wondered if the /data/app or maybe the whole /data partition could be mounted in the internal storage partition. That would give 2gb space for apps and associated files instead of 3-400 ish and would mean no need to move apps to sd card which would mean faster loads at startup due to internal memory being faster.
Click to expand...
Click to collapse
Maybe this cannot be done, because I think that the mapping of the partitions and mounts comes from the bootloader, but there is already the solution of resizing the data partition using the space of internal storage.
PaulMilbank said:
I have wondered if the /data/app or maybe the whole /data partition could be mounted in the internal storage partition. That would give 2gb space for apps and associated files instead of 3-400 ish and would mean no need to move apps to sd card which would mean faster loads at startup due to internal memory being faster.
Click to expand...
Click to collapse
That's a great idea!
I almost don't use the so called "internal sd card", therefor I have 2GB of fast empty space being wasted.
Why not simply mounting the internal sd-card partition in the data folder and the data partition on the internal sd card folder?
I only use the internal sd card to hold ringtones and other small stuff that I need to be in accessible 100% of the time, so a few hundred MB are enough!
Me gusta!
Every ROM flashes it's own fstab, right?
So all we'd need to do would be, editing the fstab before flashing it.
-----------------
Regarding the my first idea... I don't think one can simply mount a path on another path. We'd need a "virtual" device pointing to /mnt/sdcard-internal/data/ then mount that virtual device on /mnt/sdcard-external/data/.
My knowledge of unix mount/filesystems is not much more than what's explained here: https://help.ubuntu.com/community/Mount
OK, just found this:
http://askubuntu.com/questions/11079/mount-a-directory-to-look-like-a-drive
there is a FUSE filesystem named bindfs that probably does exactly what you want. For example the following:
bindfs -n /media/USB-HDD-01/ISO/ /home/johnc/ISO-images
Click to expand...
Click to collapse
would result in ISO-images to show up as a mounted filesystem in the Places sidepanel in Nautilus. The -n is required because otherwise bindfs tries to use the allow_other FUSE option, which by default is not allowed for regular users (if you use bindfs in /etc/fstab this is not a problem).
The first directory you give is the existing one, the second directory you give is an empty directory under which the contents of the existing one will appear.
Click to expand...
Click to collapse
So, bindfs depends on FUSE... and there's a port of fuse to android: https://github.com/seth-hg/fuse-android but looking at the README I get the feeling that it's not really working. The last step would be having a kernel with FUSE support... and regarding that, I have no idea, how easy it is to get a kernel like that for our U8800 :\
Finding such a solution to expand the DATA partition indirectly would be great!
I used to apply genokolar's custom partition method as "1.2G DATA + 1.46G INTERNAL SD" before, but i found out that it has some issues with Official 2.3 Roms. One of them -the most important IMHO- is the BOOTLOOP problem occurring in some specific situations!!!
See the details in my post here:
http://forum.xda-developers.com/showpost.php?p=25853141&postcount=134
(Seems that I don't encounter the bootloops on Custom Roms, but i'm not %100 sure and never will be )
So i unfortunately gave up using it, and revert to the stock partition .
I will be grateful to the one who will find a better and reliable solution. Hope to see it soon...
I still have to gather more information on the official update "modus operandi".
My goal is to simply reformat both partitions and then swap their mount points.
If the official update formats the partitions before applying the flashing official ROM files, then partitioning changes shouldn't cause any failure on the official update.
But like I said, I'm still yet to confirm that info.
Gen's idea was great (I learned a lot just by looking at his scripts) but resizing partitions has its dangers.
Since "no one" really uses the internal memory, why not simply exchange its room with /data, right?
This would be awesome! I would love to have 2gb for apps, instead of cluttering my phone.. plus the 2gb of internal storage are just a waste for me.. I never use them.. so this would be great!
Note from the Author -
I am moving on to the N5 now and ditching my S3. I will continue to maintain this thread, however - please do PM me if you think that something needs to be changed or updated in this thread as I doubt I will be answering questions within the thread as much. Please don't PM support questions to me. Only PM updates that need to be made in the thread.
It's been a blast!
Regards
Dan
I see this question / problem comes up a lot. Rather than retype my answer every time, I have created this thread so I can easily just give people a link to it.
Scenario
You've flashed a 4.2 ROM for the first time coming from 4.1 but Titanium Backup cannot see previous backups on /sdcard and file managers cannot see your /sdcard data. You are concerned you have lost your data.
Or.... You're looking in the storage menu and you notice the total of the "used" should leave you more "free" space
Yes! Have I lost my data?
No
Background info
Older android devices have the below (simplified) layout.
/system - Where the ROM goes (internal memory)
/data - where your apps and app data goes (internal memory)
/sdcard - your sd card (removable media)
The S3 works differently
/system - Where the ROM goes (internal memory)
/data - where your apps and app data goes (internal memory)
/sdcard - your sd card (internal memory)
See that last part? The /sdcard is now on internal memory too. Samsung have actually used the clever FUSE file system, to create the /sdcard mount point (exFAT) inside /data (EXT4). So /sdcard is actually mounted to /data/media. That's how "internal storage" goes down if you install an app or if you take a photo. It all goes into /data at the end of the day.
Back to the problem
With 4.2, /sdcard is no longer mounted to /data/media
Now, It is mounted to /data/media/0
When you use a file manager (or titanium backup) to look in /sdcard, it looks pretty much empty (which it is). Because you're looking in /data/media/0 but all your data is in /data/media
So what to do?
Quite simple and very easy.
Use a file manager with root explorer capabilities. I prefer root explorer but ES* and Solid should manage this too.
Go to /data/media
You should see:
0
legacy
obb
Along with all your other folders. Legacy and 0 are the same. Leaving 0, legacy and obb UNTOUCHED, MOVE all the other folders (which you will notice are all your missing folders and files) into the 0 folder. The only folders that should be left behind are the 3 mentioned above.
That's it. Done.
Anything else to be aware of?
Yes actually, many older recoveries still probably see /data/media as the location of /sdcard, so nandroid backups may end up there instead of /0. For example, often you end up with /data/media/clockworkmod instead of /data/media/0/clockworkmod. Some recoveries have a setting to change the location to /data/media/0 (Such as Philz recovery)
Because the Settings > Storage > sdcard shows the space free and used for /data as "sdcard" but only looks in /data/app, /data/data and /data/media/0 to get the breakdown of what is using the space, you will find that anything just in /data/media will show aup s used space, but the breakdown of apps, pictures, media etc will not show these files so it appears that they do not add up.
Example...
You have:
1 GB apps
1 GB Pictures and Video
4 GB Nandroid (Misc) - but this is in wrong place /data/media
Used space will show 6 GB
But breakdown will show
1 GB apps
1 GB Pictures and Video
0 GB Misc
So it looks like you lost 4 GB. It's a good idea to check /data/media every now and again to ensure nothing goes there by accident.
I hope this helps.
*Since ES have changed their UI a bit, here is a little "How To" locate /data/media using ES.
Open ES File explorer and press the phone with a globe icon in the top left corner.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Under "Tools" choose "Root explorer" and accept the SuperUser access prompt.
At this pop-up, press back
Press the "/" button (Which means "root directory" in Linux world)
You will now be able to see /data and within there, /media
Here you see the 0, Legacy and Obb folders that I should have and also a ClockworkMod fodler which I shouldn't. You will see otehrs... Move everything except Legacy and Obb into "0".
Click to expand...
Click to collapse
Thank you!
Quite interesting, but it raises some small questions.
1) How are things mounted in alternative 4.2.x ROMs ? CM 10.1 ? Is the same problem present ?
2) For a way to dual-boot 4.1.2 and 4.2.2 what would be the best / simplest approach expected from a kernel like Siyah or GoogyMax ?
Thanks for this how-to/information! I hope someone will read it and the repeating questions will, maybe not disappear, but getting less.
xclub_101 said:
2) For a way to dual-boot 4.1.2 and 4.2.2 what would be the best / simplest approach expected from a kernel like Siyah or GoogyMax ?
Click to expand...
Click to collapse
I assume there will be no issue for dual booting as Siyah for instance creates a new folder in which the 2nd rom is placed. The kernel just has to know where to put this 2nd rom folder (not sure if it makes any difference at all). The only tricky thing will be to link the data for both roms as done by a plugin.
I see this question / problem comes up a lot. Rather than retype my answer every time, I have created this thread so I can easily just give people a link to it.
Scenario
You've flashed a 4.2 ROM for the first time coming from 4.1 but Titanium Backup cannot see previous backups on /sdcard and file managers cannot see your /sdcard data. You are concerned you have lost your data.
Or.... You're looking in the storage menu and you notice the total of the "used" should leave you more "free" space
Yes! Have I lost my data?
No
Background info
Older android devices have the below (simplified) layout.
/system - Where the ROM goes (internal memory)
/data - where your apps and app data goes (internal memory)
/sdcard - your sd card (removable media)
The S3 works differently
/system - Where the ROM goes (internal memory)
/data - where your apps and app data goes (internal memory)
/sdcard - your sd card (internal memory)
See that last part? The /sdcard is now on internal memory too. Samsung have actually used the clever FUSE file system, to create the /sdcard mount point (exFAT) inside /data (EXT4). So /sdcard is actually mounted to /data/media. That's how "internal storage" goes down if you install an app or if you take a photo. It all goes into /data at the end of the day.
Back to the problem
With 4.2, /sdcard is no longer mounted to /data/media
Now, It is mounted to /data/media/0
When you use a file manager (or titanium backup) to look in /sdcard, it looks pretty much empty (which it is). Because you're looking in /data/media/0 but all your data is in /data/media
So what to do?
Quite simple and very easy.
Use a file manager with root explorer capabilities. I prefer root explorer but ES* and Solid should manage this too.
Go to /data/media
You should see:
0
legacy
obb
Along with all your other folders. Legacy and 0 are the same. Leaving 0, legacy and obb UNTOUCHED, MOVE all the other folders (which you will notice are all your missing folders and files) into the 0 folder. The only folders that should be left behind are the 3 mentioned above.
That's it. Done.
Anything else to be aware of?
Yes actually, many older recoveries still probably see /data/media as the location of /sdcard, so nandroid backups may end up there instead of /0. For example, often you end up with /data/media/clockworkmod instead of /data/media/0/clockworkmod. Some recoveries have a setting to change the location to /data/media/0 (Such as Philz recovery)
Because the Settings > Storage > sdcard shows the space free and used for /data as "sdcard" but only looks in /data/app, /data/data and /data/media/0 to get the breakdown of what is using the space, you will find that anything just in /data/media will show aup s used space, but the breakdown of apps, pictures, media etc will not show these files so it appears that they do not add up.
Example...
You have:
1 GB apps
1 GB Pictures and Video
4 GB Nandroid (Misc) - but this is in wrong place /data/media
Used space will show 6 GB
But breakdown will show
1 GB apps
1 GB Pictures and Video
0 GB Misc
So it looks like you lost 4 GB. It's a good idea to check /data/media every now and again to ensure nothing goes there by accident.
I hope this helps.
*ES has updated it's UI and isn't as obvious as before how to get to /data/media so see below:
Open ES > menu > tools > root explorer
When prompted, accept root access request
At the top of the screen (you've probably defaulted to sdcard) press the "/" button to get to the root of your device. From here you can browse to /data/media
Just wanting to check I've got it right before I flash sentinel 4.6
I can use megawipe to clean up the internal memory.
Install the rom from external sd card
Copy everything from data/media in to data/media/0 and I should end up with just 3 folders with 0 my external sd card
Sent from my GT-I9300 using xda app-developers app
no, 0 will be your internal SD, not external
Glebun said:
no, 0 will be your internal SD, not external
Click to expand...
Click to collapse
But it was the external previously ???
Sent from my GT-I9300 using xda app-developers app
KingAzzA said:
But it was the external previously ???
Sent from my GT-I9300 using xda app-developers app
Click to expand...
Click to collapse
No, never.
/data/media has always been /sdcard. The 0 comes from 4.2 because it adds multi-user support and 0 is the default user. So /data/media/0 becomes /sdcard
/extSdCard is not affected by this at all.
So if I'm using megawipe to wipe everything off my internal sd card I don't need to move anything about once the rom is flashed
Sent from my GT-I9300 using xda app-developers app
KingAzzA said:
So if I'm using megawipe to wipe everything off my internal sd card I don't need to move anything about once the rom is flashed
Sent from my GT-I9300 using xda app-developers app
Click to expand...
Click to collapse
There would be nothing to move. Just ensure you back up photos etc to your computer first.
Make sure you have a rom to flash on your external sd too. I think megawipe wipes the ROM too.
Although personally I think its easier just to move the files
Reason I'm planning on using mega wipe is because everytime I uninstall an app it still leaves folders behind. Not sure which ones to delete so gonna go for a fresh start and reinstall the apps from titanium
Thanks for the help anyways.
It makes sense now
Sent from my GT-I9300 using xda app-developers app
Hmm...Seeing as someone is finally concerned about issues with the storage in 4.2,I'll first ask my question here before I move on to creating another thread,as I can't find anything no matter how much I search.
So,I was on UltimaROM 12 and,well,it freaked out some day (Dunno why,but it hadn't been working 100% well for quite a few days in addition to being slow like any Samsung ROM-The blame is on Samsung,not Kryten) and I thought I'd give AOSP another chance.So I installed Carbon ROM with Temasek's kernel and fell in love.The phone puts stock S3s to shame now.However,seeing as converting a 32gb microSD to FAT32 from exFAT is a loooooong process,I found this beauty and thought I could finally enjoy AOSP on the S3.However,now no music player finds my music,which is in the external SD card.PowerAmp for example (And any other I tried in fact) searches only in /storage/sdcard0 and /storage/emulated/0,without caring about what's in /storage/sdcard1.So that's about it,but as I listen to A LOT of music on the go,this drives me crazy.What's strange is that file managers and any other media application see the data in my external storage just fine,so eg in Gallery all my photos/videos are there.
Can anyone help before I resort to using binding commands (Or apps like FolderMount) to try and fix it?I just hope I won't have to format to FAT32,because I tend to watch HD movies on the phone and,well,i would kiss the movies bye-bye.
Thanks in advance guys!
Its not really related to this thread but most aosp rom / kernel combinations do not support exFAT so you may have to go to FAT32
Since exFAT is closed source, I would prefer to stay away from add on support modules
Its not long process to go to fat32. Copy data off. Format. Copy data back
Sent from my GT-I9300 using Tapatalk 2
rootSU said:
Its not really related to this thread but most aosp rom / kernel combinations do not support exFAT so you may have to go to FAT32
Since exFAT is closed source, I would prefer to stay away from add on support modules
Its not long process to go to fat32. Copy data off. Format. Copy data back
Sent from my GT-I9300 using Tapatalk 2
Click to expand...
Click to collapse
First off,thanks for replying.Secondly,it's not exFAT as it turns out.I tried an old microSD formatted to FAT32 and it had the same behaviour.Anyway...Thanks,I'll see what I'll do.
Sent from my GT-I9300 using xda premium
Odd stuff!
how can I fix this ? I have 4.86gb free storage for my device storage... but it said that I habe no free memory...
*this is happened when I open the GALLERY
babyyeobo14 said:
how can I fix this ? I have 4.86gb free storage for my device storage... but it said that I habe no free memory...
*this is happened when I open the GALLERY
Click to expand...
Click to collapse
can you provide details?
ROM
Screenshots of storage menu
rootSU said:
can you provide details?
ROM
Screenshots of storage menu
Click to expand...
Click to collapse
my Rom is wannam lite v7.0 (leaked firmware 4.2.2)
babyyeobo14 said:
my Rom is wannam lite v7.0 (leaked firmware 4.2.2)
Click to expand...
Click to collapse
Please now provide a screenshot of /data/media from a file manager please.
rootSU said:
Please now provide a screenshot of /data/media from a file manager please.
Click to expand...
Click to collapse
here sir.
Thank Blefish first ,with your contribution to U8800 ,so we users can enjoy the Kitkat.
I have learned that Kitkat will forbid app create file/folder in ext-SD root directory,instead apps can only created their data in /Sdcad/Android.So my Sdcard directory will be tidy.
When I installed Blefish 0516 edition,I found the feature didn't work.
And I found in dir ./storage , ext-SD was mounted as Sdcard0 while the internal storage was mounted as Sdcard1.I think the irregular mounted sequence between ext-Sd and internal storage is the reason why the feature didn't work.
And I didn't found vold.fstab in ./system/etc , so I can't edit it to change the mount seq.
Dear Blefish guru,I am looking for your help~
Jellybean and forward use a different method now. They are not using vold.fstab anymore. Rather, /fstab.qcom is used (in our phone). It cannot be edited manually, a boot.img must be unpacked and repacked in order to do so.
Did you mention that apps can write to /sdcard/ but cannot write to /storage/sdcard0? This ROM does not enforce write permissions as KitKat does by default, so I am not quite sure.
Blefish said:
Jellybean and forward use a different method now. They are not using vold.fstab anymore. Rather, /fstab.qcom is used (in our phone). It cannot be edited manually, a boot.img must be unpacked and repacked in order to do so.
Did you mention that apps can write to /sdcard/ but cannot write to /storage/sdcard0? This ROM does not enforce write permissions as KitKat does by default, so I am not quite sure.
Click to expand...
Click to collapse
Two days after installed 0516,many folders were created by apps in ext-SD root directory(./storage/sdcard0/),while only two folders were found in internal storage(./storage/sdcard1/).And it seems that the two folders were somthing like being created while using recovery or something like that,unlikely being created by apps.
Cause I am using another rom to find whether the seq between internal and ext-SD is normal,yet I found that in android 4.0.4 there is no ./storage,so I cannot know the seq between internal and ext-SD.
zhuld.lord said:
Two days after installed 0516,many folders were created by apps in ext-SD root directory(./storage/sdcard0/),while only two folders were found in internal storage(./storage/sdcard1/).And it seems that the two folders were somthing like being created while using recovery or something like that,unlikely being created by apps.
Cause I am using another rom to find whether the seq between internal and ext-SD is normal,yet I found that in android 4.0.4 there is no ./storage,so I cannot know the seq between internal and ext-SD.
Click to expand...
Click to collapse
In my ROM external SD (/storage/sdcard0) is the primary storage. This means Android creates it's Pictures, Download, Music & other directories there automatically.
/storage/sdcard1 is just a storage, like USB OTG storage would be. It's not in use if sdcard0 is present (some apps can still write to it manually like Camera).
The /storage is another jb/kk feature. I did not go with the older direct mounting to /mnt/ because it's just deprecated. Mine is configured according to this (Nexus One with internal storage added manually): http://source.android.com/devices/tech/storage/config-example.html
Blefish said:
In my ROM external SD (/storage/sdcard0) is the primary storage. This means Android creates it's Pictures, Download, Music & other directories there automatically.
/storage/sdcard1 is just a storage, like USB OTG storage would be. It's not in use if sdcard0 is present (some apps can still write to it manually like Camera).
The /storage is another jb/kk feature. I did not go with the older direct mounting to /mnt/ because it's just deprecated. Mine is configured according to this (Nexus One with internal storage added manually):
Click to expand...
Click to collapse
Thanks for so detailed reply.
But I still don't understand how to enforce write permission.As a perfectionist , I really don't want to see so many folders created by third-party apps in my ext-SD.
If it is convenient for you,could you inform me the way to enable the write permission in your rom? :fingers-crossed:
Hello!
These days I switched from Galaxy S2 to S4.
Now some apps like Whatsapp want to access sdcard0 to display the pictures from the chats.
The path from the database looks like this: /storage/sdcard0/WhatsApp/Media/Whatsapp Images/IMG-20141111-WA0001.jpg
But mnt/media_rw/sdcard0 or storage/sdcard0 has permissions rwx------ with no content of the internal SD.
The internal SD is linked to "mnt/sdcard" with permissions rwxrwxrwx.
Any idea how to fix the access problem between sdcard0 to internal SD???
Best regards
Frank
franklin84 said:
Hello!
These days I switched from Galaxy S2 to S4.
Now some apps like Whatsapp want to access sdcard0 to display the pictures from the chats.
The path from the database looks like this: /storage/sdcard0/WhatsApp/Media/Whatsapp Images/IMG-20141111-WA0001.jpg
But mnt/media_rw/sdcard0 or storage/sdcard0 has permissions rwx------ with no content of the internal SD.
The internal SD is linked to "mnt/sdcard" with permissions rwxrwxrwx.
Any idea how to fix the access problem between sdcard0 to internal SD???
Best regards
Frank
Click to expand...
Click to collapse
sdcard0 is your internal memory.
sdcard1 is your external memory (the actual micro sd card you bought or got with the phone).
That's how ES File Explorer shows it to me.
I have the same permissions you mentioned. What exactly is your problem?
Hi!
Sry, perhaps my english is nor very good...
My problem is, that Whatsapp will access the internal SD by sdcard0, but sdcard0 is empty or inaccessable!
CM 12 uses instead sdcard, not sdcard0
My Galaxy S2 has different permissions on sdcard0, can I change it permanently on CM12??? How??
franklin84 said:
Hi!
Sry, perhaps my english is nor very good...
My problem is, that Whatsapp will access the internal SD by sdcard0, but sdcard0 is empty or inaccessable!
CM 12 uses instead sdcard, not sdcard0
My Galaxy S2 has different permissions on sdcard0, can I change it permanently on CM12??? How??
Click to expand...
Click to collapse
So you're saying that you get errors from whatsapp?
I've used CM12 or rom based on CM12 and CM12.1 and haven't had any issues with apps accessing the sdcard, internal or external.
Yes, the App works, but can't display sent and received pictures from the last time...
I see only a blurred preview because of the sdcard0 directory problem...
I see. Do you have problems with other apps that need access to the internal memory?
I don't know what the problem could be, but one way to solve it is to try a different rom
I don't know exactly. My Phone isn't completely prepared....
I hab more problems to use the external SD, for example the camera app