[Q] Enable applications to write to the external SD Card - AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin

Hi
I need to figure out how to add an application to the group media_rw so that it can write to the external Sd Card @ /mnt/extSdCard. I tried to make SD Card world writeable but it doesn't seem to like that. Since the group has write permission I need to get the id in question added to a group, but it doesn't seem to work like UNIX/Linux. Anyone have any idea how Android 4.2.2. does this? I am trying to do this on a Galaxy S4 I337M.
Thanks
Pete

Touch_Pete said:
Hi
I need to figure out how to add an application to the group media_rw so that it can write to the external Sd Card @ /mnt/extSdCard. I tried to make SD Card world writeable but it doesn't seem to like that. Since the group has write permission I need to get the id in question added to a group, but it doesn't seem to work like UNIX/Linux. Anyone have any idea how Android 4.2.2. does this? I am trying to do this on a Galaxy S4 I337M.
Thanks
Pete
Click to expand...
Click to collapse
If you're working at that level, you're in the wrong place - go to the XDA pure development forums. You're asking an Android question, and if you go up a few levels, there are a LOT of better places to ask.

Related

[Q] External SD Card problem in Thor's V14.2

Ok I have a Patriot Micro SD Card (16 GB Class 4) that the tablet does not read.
It does not show as External, or removable or nothing. I put it on my laptop and I can see it just fine.
I deleted everything from it and formatted it for FAT32 and still nothing. Anyone knows y this is happening?
I think its a problem with Thor's rom. I had the same problem and ended up restoring my previous rom because of Thor's rom not accessing the micro sd card.
Use ES File Manager to see the sd card. I found it under favourites (star icon) along the top. Thats wher I find the usb as well.
I am not running Thor's rom anymore but I read in his forums you need to rename External SD to Removable or something like that and then the rom will see it.
cruise350 said:
I am not running Thor's rom anymore but I read in his forums you need to rename External SD to Removable or something like that and then the rom will see it.
Click to expand...
Click to collapse
?????????WTF????
Post a link please, as I never had an issue, so please...
Maybe it was an app that needed a different naming convention.
marcos.lennis said:
Ok I have a Patriot Micro SD Card (16 GB Class 4) that the tablet does not read.
It does not show as External, or removable or nothing. I put it on my laptop and I can see it just fine.
I deleted everything from it and formatted it for FAT32 and still nothing. Anyone knows y this is happening?
Click to expand...
Click to collapse
Some custom ROMs mount their SDCards in a different manner than stock.
Some will be mnt/sdcard, some will be mnt/external sdcard, some will just be /sdcard.
Look for it, because it's there. I only played with that ROM for a few short minutes, but IIRC it's not mounted in the same place as Stock 3.2.
It's not mounted same as in stock HC. And I believe it's labeled as microSD. Don't have my tab on me to confirm, but yeah... had issues trying to find it at first too.
/removable/microSD
shaun298 said:
/removable/microSD
Click to expand...
Click to collapse
There ya go! Thanks Shaun, I knew it was a funky one, just couldn't remember where
does anyone know how to change this as it renders some apps unusable that don't have the ability to redirect to custom path. We should be able to change the mount as name right?
rhtb4theeyeblnks said:
does anyone know how to change this as it renders some apps unusable that don't have the ability to redirect to custom path. We should be able to change the mount as name right?
Click to expand...
Click to collapse
Why don't you go on tegraowners.com and post in Thors thread and he can probably answer your question.
cruise350 said:
Why don't you go on tegraowners.com and post in Thors thread and he can probably answer your question.
Click to expand...
Click to collapse
Considering what I know about linux, I thought someone here in xdaDEV might know where to put something along the lines of "mount --bind olddirectory newdirectory" line. It doesn't do any good for this forum to receive posts to solution that are related directly to development on a forum dedicated to specific devices. Perhaps you might be right and I would get better answers on setting mount names on TOforum and not here at xda-developers.
rhtb4theeyeblnks said:
Considering what I know about linux, I thought someone here in xdaDEV might know where to put something along the lines of "mount --bind olddirectory newdirectory" line. It doesn't do any good for this forum to receive posts to solution that are related directly to development on a forum dedicated to specific devices. Perhaps you might be right and I would get better answers on setting mount names on TOforum and not here at xda-developers.
Click to expand...
Click to collapse
It's nothing to do with that, and everything to do with Thor's ROM's not being a allowed on here, and discussion of them is generally frowned upon as flamewars usually ensue.
If you need support on one of his ROMs, then his site is where you have to go.
I do know it is kind of odd how sdcard is internal room?
and everything that you plug in is removable/ *
It confused my titanium backup to back up on device at first. had to change directory. I should probably check how recovery is backing up.
Then here is a another non thor thought. I have been experimenting with modifying the /etc/vold.fstab and chaing "dev_mount microsd /Removable/MicroSD" to "dev_mount microsd /mnt/externalsd"
From what I have read here in xda, I need to create that folder before hand at "/mnt/externalsd" using root explorer and changing permissions in "/mnt" "/ect" AND the file itself "/ect/vold.fstab" I have gotten vold to stick after reboot but not "/mnt/externalsd" I also think "drive mount" is interfering and setting mounts and would like to know where I might be able to find those settings. Any constructive non-redirectional thoughts are appreciated. I think Im on the right path but I know I'm missing something.

Take Kitkat update OR keep Jelly Bean ?

Hi all:
this time I see Google insist that any new smartphone should be ships with the latest Android version.
What Google is looking for in KitKat ?
For me I will not update to KitKat !
Because of the following:
"The WRITE_EXTERNAL_STORAGE permission must only grant write access to the primary external storage on a device. Apps must not be allowed to write to secondary external storage devices, except in their package-specific directories as allowed by synthesized permissions."
That means your microSD card is secondary storage and apps will not be allowed to use it, Google has screwed up the KitKat API as they think there is a big security problem with external SD cards !!!!!
Oh... your SD Card is completely useless, applications will no longer be able to create, modify or remove files and folders on your external SD card. As a for-instance, you can no longer use a file manager to copy files from your computer to the SD card over a network.
in short Google want you to use their cloud services instead of your SD card, I feel like we are going back in time, and Samsung is involved in this game.
one-option said:
Hi all:
this time I see Google insist that any new smartphone should be ships with the latest Android version.
What Google is looking for in KitKat ?
For me I will not update to KitKat !
Because of the following:
"The WRITE_EXTERNAL_STORAGE permission must only grant write access to the primary external storage on a device. Apps must not be allowed to write to secondary external storage devices, except in their package-specific directories as allowed by synthesized permissions."
That means your microSD card is secondary storage and apps will not be allowed to use it, Google has screwed up the KitKat API as they think there is a big security problem with external SD cards !!!!!
Oh... your SD Card is completely useless, applications will no longer be able to create, modify or remove files and folders on your external SD card. As a for-instance, you can no longer use a file manager to copy files from your computer to the SD card over a network.
in short Google want you to use their cloud services instead of your SD card, I feel like we are going back in time, and Samsung is involved in this game.
Click to expand...
Click to collapse
There is already a fix for that
I'm using KitKat and have no problem with ext.sd. everything is working good.
KK goes without saying!!!
KitKat!
Better kitkat :good:
KitKat. period. I flashed the stock firmware first before flashing custom formware. No issues.
yep, kit kat.
definitely kitkat.
Have a break (with jellybean). Have a KitKat.
cheers ~
Zoddex said:
There is already a fix for that
Click to expand...
Click to collapse
Well, my S4 is not rooted , that fix also could miss your phone, I don't know what is the point in having a MicroSD slot, then Kitkat will make it useless !!!
as it is not enough that Touchwize rom taking much of the phone storage, but Kitkat will make things even more hard !!!!
Guys just be aware of what you are going to do with your S4
Zoddex said:
There is already a fix for that
Click to expand...
Click to collapse
Link PLS ...
Mittaa said:
Link PLS ...
Click to expand...
Click to collapse
Here you have it (from Google Play): https://play.google.com/store/apps/details?id=nextapp.sdfix
kponto said:
Here you have it (from Google Play): https://play.google.com/store/apps/details?id=nextapp.sdfix
Click to expand...
Click to collapse
Better late than never, but thanks anyway LOL
Found the same solution weeks ago :good:
I would suggest go for KitKat as it's awesome for performance and battery is beastly
Sent From S4 I9500 Crash Rom Final 4.4.2

External SD Card Write Issues

I'm having an issue where I can't cut/copy/paste, create files(.nomedia), and delete files/folders on my external sd card using ES File Explorer. I can create folders though. Everything works on my internal storage. I tried using another app and still having problems. The preinstalled My Files app works on the external sd card.
Any one else having these issues? Any suggestions?
I had that issue with two new cards I put them in my phone and had to format them with the phone under settings for it to work
Sent from my SM-G900V using Tapatalk
syu78 said:
I'm having an issue where I can't cut/copy/paste, create files(.nomedia), and delete files/folders on my external sd card using ES File Explorer. I can create folders though. Everything works on my internal storage. I tried using another app and still having problems. The preinstalled My Files app works on the external sd card.
Any one else having these issues? Any suggestions?
Click to expand...
Click to collapse
KitKat changed the way Android deals with SD cards, particularly in regard to what applications can and can't do. Formatting the card in the phone might help for some things, but it won't solve everything since some changes are at the system level. Here are a couple of articles that explain the changes:
KitKat and SD cards — what's fixed, what's broken and what's misunderstood
External Blues: Google Has Brought Big Changes To SD Cards In KitKat, And Even Samsung Is Implementing Them
If you're going to root your phone, some progress has been made in being able to change the permissions needed to allow apps to access the SD card in the same way as has been the case on previous versions of Android. It's something to keep an eye on in regards to how it might or might now work with the S5: [APP][4.4][ROOT] SDFix: Modify device permissions to allow apps to write to MicroSD
Thanks for the info
bsweetness said:
KitKat changed the way Android deals with SD cards, particularly in regard to what applications can and can't do. Formatting the card in the phone might help for some things, but it won't solve everything since some changes are at the system level. Here are a couple of articles that explain the changes:
KitKat and SD cards — what's fixed, what's broken and what's misunderstood
External Blues: Google Has Brought Big Changes To SD Cards In KitKat, And Even Samsung Is Implementing Them
If you're going to root your phone, some progress has been made in being able to change the permissions needed to allow apps to access the SD card in the same way as has been the case on previous versions of Android. It's something to keep an eye on in regards to how it might or might now work with the S5: [APP][4.4][ROOT] SDFix: Modify device permissions to allow apps to write to MicroSD
Click to expand...
Click to collapse
Done reading and it helped.Thanks men
Yes. Might be it's working.. thanks @bsweetness

[Q] Verizon Galaxy S5 - use SD card as music/photo/video storage

Trying to find an answer before I buy this phone. Is there a non-rooting option that will let me download music/save photos/store movies straight to a microsd card? If not, which rom do you recommend?
I have never rooted before btw.
ajumbaje said:
Trying to find an answer before I buy this phone. Is there a non-rooting option that will let me download music/save photos/store movies straight to a microsd card? If not, which rom do you recommend?
Click to expand...
Click to collapse
Everything works better with root. Root just means that you have permission to modify system settings and files.
Kitkat, the latest version of the OS tightened security and no longer allows third party apps to freely write files anywhere on your SD card. Now they have to stick to their own directory on the card. This breaks or at least restricts what older apps can do.
But you should be able to find a newer app that does the things you asked about.. as long as the app has been updated to the new method of keeping all of it's files in one directory tree.
If you have root, you could change or remove those SD card restrictions.
.

[Q] vold.fstab - Swapping Internal / External SD Card(s)

Hey guys,
I haven't found any info on the forums about this yet. Does anyone know how to/or have a modified vold.fstab for the stock TouchWiz rom?
I have a general idea on what to do, but I'd rather not attempt this one by myself!
Thanks in advance - zmag
zmag said:
Hey guys,
I haven't found any info on the forums about this yet. Does anyone know how to/or have a modified vold.fstab for the stock TouchWiz rom?
I have a general idea on what to do, but I'd rather not attempt this one by myself!
Thanks in advance - zmag
Click to expand...
Click to collapse
if u want just transfer what ever u want on your sd card from internal,just use link2sd and NextAppSDFix
Airboner said:
if u want just transfer what ever u want on your sd card from internal,just use link2sd and NextAppSDFix
Click to expand...
Click to collapse
That's not what he's talking about. He wants to use his extSdCard as his internal storage. I used that on my s4 with a 64gb class 10 with awesome results
Hehe well you're correct thatsupnow, but I did consider Link2SD Pro - but I would rather edit the vold.fstab directly (and correctly)
There's also an app on the play store (free) called Root External 2 Internal SD, but it looks like it was made for the GS3 - again, would rather edit the source than install another app.
I am using NextAppSDFix at the moment, until I install Xposed and use the Xposed mod (which I suppose is no different than using the app)
But I havent seen any modded vold.fstab files for the GS5 yet, which honestly is surprising to me. I figured someone would've had one by now...
Maybe there's a rom that has this already? and can be used on the stock ND2 rom? Any input on the subject is greatly appreciated. Just wanna use my 64gb card instead of having 10gb.
Thanks in advance! - zmag
Yeah man development has been pretty slow. I wonder if the mod for the s4 could be manipulated to work on the s5?
zmag said:
I haven't found any info on the forums about this yet.
Click to expand...
Click to collapse
You didn't search very far if you didn't run smack into at least half a dozen forum threads detailing various ways to swap the internal and external SD cards. Not to mention threads that explain at length how to edit vold.fstab. However, while vold.fstab maps sysfs devices to filesystem mount points, it isn't a good idea to edit it directly as an update would easily break your mod..
A better method is to swap the internal and external SD cards is to employ a script to remount the two storage locations. Then transpose them using the -bind switch. A script to do this can be found here.
.
Ok, well I meant in the S5 forums - I didn't know that the S4 scripts applied at all.
Sorry for the trouble... I'm coming from an HTC Evo 4G LTE, I'm still getting acquainted with Samsung's file system.
I don't plan on updating from ND2 any time soon. If I do, I usually try and make a nandroid backup first just in case anything breaks on me.
Thanks again for the help!
my samsung s5 is not detecting the microsd
please help.
i tried in other cells the microsd and its working, and with a root software i can see that the cell read the microsd, but i cant use ir and i need more space in my cell.
or if someone please can copy and paste here the vold.fstab for the verizon samsung s5.
thanks
vold.fstab g900v
dev_mount sdcard /storage/sdcard1 auto /devices/msm_sdcc.2/mmc_host
Don't know if it helps

Categories

Resources