Unable to save files in SD card - Xperia Z5 Compact Q&A, Help & Troubleshooting

I'm having this problem since I acquired my z5c I just can't save files to SD card. All files I download can only be saved in internal storage and then I can only move them manually to SD card. Any solution for this issue? Thanks
Sent from my E5803 using Tapatalk

Root is the solution. This is google's fault. Began from kitkat

rolo143 said:
I'm having this problem since I acquired my z5c I just can't save files to SD card. All files I download can only be saved in internal storage and then I can only move them manually to SD card. Any solution for this issue? Thanks
Sent from my E5803 using Tapatalk
Click to expand...
Click to collapse
Yep, you can fix it. There's an easier fix.
It's about this app: http://forum.xda-developers.com/showthread.php?t=2684188
Install SD Fix: https://play.google.com/store/apps/details?id=nextapp.sdfix&hl=en
I know it says it's designed for KitKat, but it still works on my device
The manual way of doing it.
/system/etc/permissions/platform.xml needs to be modified in a certain way.
"The /system/etc/permissions/platform.xml is modified to specify that all applications which have the WRITE_EXTERNAL_STORAGE permission are registered as members of the Android UNIX group "media_rw". Membership in this group is necessary to write to the MicroSD card."

--jenana-- said:
Yep, you can fix it. There's an easier fix.
It's about this app: http://forum.xda-developers.com/showthread.php?t=2684188
Install SD Fix: https://play.google.com/store/apps/details?id=nextapp.sdfix&hl=en
I know it says it's designed for KitKat, but it still works on my device
The manual way of doing it.
/system/etc/permissions/platform.xml needs to be modified in a certain way.
"The /system/etc/permissions/platform.xml is modified to specify that all applications which have the WRITE_EXTERNAL_STORAGE permission are registered as members of the Android UNIX group "media_rw". Membership in this group is necessary to write to the MicroSD card."
Click to expand...
Click to collapse
But it says I need root, and I haven't rooted my device yet. (I won't do that until there's a more stable way to do it)
Sent from my E5803 using Tapatalk

Filemanager (eg. Total commander) will ask to set up permission when copying files from int. to ext sd without root. Not sure if it's a per app permission or system wide.

rolo143 said:
But it says I need root, and I haven't rooted my device yet. (I won't do that until there's a more stable way to do it)
Click to expand...
Click to collapse
Ok, sorry. In that case I didn't ever hear about a solution for that problem.

It's ok. I've always rooted all my devices but I really don't want to mess up with this one, I'm really happy with it and don't want to have troubles. Maybe later
Sent from my E5803 using Tapatalk

Related

Issue with SD card?

So I have this weird problem
I have a SD card inserted into my tablet and for a while it was working fine, but a few days ago it went funny
It mounts fine ie it shows in notification and I can access it via /mint/sdcard but it does not show any media in any app, is this related to ICS update? I'm running 4.0.5
Sent from my ARCHOS 80G9 using XDA Premium HD app
DarkhShadow said:
So I have this weird problem
I have a SD card inserted into my tablet and for a while it was working fine, but a few days ago it went funny
It mounts fine ie it shows in notification and I can access it via /mint/sdcard but it does not show any media in any app, is this related to ICS update? I'm running 4.0.5
Sent from my ARCHOS 80G9 using XDA Premium HD app
Click to expand...
Click to collapse
OK so I rebuilt the media database and it seems to be working again, will let you know if it happens again
Sent from my ARCHOS 80G9 using XDA Premium HD app
Is that the MicroSD card that you're talking about?
I use one exclusively for videos and using the Archos video app I have no troubles detecting it. Haven't used any third-party apps though.
theguy said:
Is that the MicroSD card that you're talking about?
I use one exclusively for videos and using the Archos video app I have no troubles detecting it. Haven't used any third-party apps though.
Click to expand...
Click to collapse
Yes the MicroSD
Stuff wasn't showing up in gallery, music, google music or videos
Sent from my ice cream powered Nexus S
My microSD card suddenly became read only... Don't know since when exactly, i think after official upgrade to 4.0.5
Tried to remount several times, yet still read only
Will try reformat, but since almost 24gb on it that's not the easiest solution..
VOODOOS!L said:
My microSD card suddenly became read only... Don't know since when exactly, i think after official upgrade to 4.0.5
Tried to remount several times, yet still read only
Will try reformat, but since almost 24gb on it that's not the easiest solution..
Click to expand...
Click to collapse
Sounds like some trouble with the filesystem or data corruption on your card.
Try using a linux host and run some file system checks.
Normally it should be possible to fix it.
BTW, have you checked dmesg output if you insert the card into your Archos device?
Regards,
scholbert
VOODOOS!L said:
My microSD card suddenly became read only... Don't know since when exactly, i think after official upgrade to 4.0.5
Tried to remount several times, yet still read only
Will try reformat, but since almost 24gb on it that's not the easiest solution..
Click to expand...
Click to collapse
I noticed this too. Apparently all firmwares after the very first release of ICS (So, not including that one) have this bug. Archos is not only aware of it, but apparently is said to have fixed it with the latest test firmware according to what an archos employee said over at archosfans forums. I'm about to install the test firmware to try it, and I'll report back in a bit.
Update: I can confirm that the permissions for the SD card have been fixed in the 4.0.6 TEST firmware. Which means all apps can now read AND write to the SD card again.
Sent from my ARCHOS 80G9 using Tapatalk
VOODOOS!L said:
My microSD card suddenly became read only... Don't know since when exactly, i think after official upgrade to 4.0.5
Tried to remount several times, yet still read only
Will try reformat, but since almost 24gb on it that's not the easiest solution..
Click to expand...
Click to collapse
Found this on the net and it worked for me (now have full r/w on SD card)
Simple solution for external sdcard write access on Android 3.2...if you're rooted
I've found a simple solution for gaining write access to the external sdcard (/mnt/sdcard2) on Android 3.2. The sdcard is mounted r/w, but the owning group is media_rw which is linked to the WRITE_MEDIA_STORAGE permission. Unfortunately, this permission was not required for access to the external sdcard prior to 3.2 so most file management utilities do not request it when they run...meaning they only have read access to the card.
The simple solution, if you're rooted, is as follows:
1. Using a root-enabled file manager, navigate to /system/etc/permissions and make sure you have mounted the file system r/w.
2. Edit platform.xml and find the WRITE_EXTERNAL_STORAGE permission.
3. Add an additional group definition for this permission...<group gid="media_rw" />
4. Save the changes to the file.
5. Restart your tablet.
After this change, any apps that request the WRITE_EXTERNAL_STORAGE permission (which includes almost anything that access either of the sdcards) will gain group membership in both sdcard_rw AND media_rw, giving them r/w access to both sdcard filesystems.
It works for 4.0.5 too as that's what I'm running atm .
Psi.
Or you could just try to update to the test firmware. It runs stable and fixes the issue without needing to root or modify permissions. (And It still fixes it if you are rooted too, like I am)
Sent from my ARCHOS 80G9 using Tapatalk
Thx a lot psiman24, i followed your instructions. using Rom Toolbox I was able to overwrite the file and now it seems to be working all fine again. Will wait for official release before installing 4.0.6
_________
Archos 80S G9 16GB TI4430, rooted [email protected] v1

[Q] How to download onto external sd card?

Every time I try to download anything the default location is the internal sd card. I try to switch it to choose the external sd card but it says "Can't find file or directory. Please make sure your SD card is ready, and USB Mass Storage is turned off."
I can not find the setting for the USB Mass Storage. But I'm able to see the sd card and see the folders and files I have on there with ES File Explorer.
Any help on this! Thanks!
*edit 4/14/2014*
Solved the problem but it requires root. See my tutorial.
_eroz said:
Every time I try to download anything the default location is the internal sd card. I try to switch it to choose the external sd card but it says "Can't find file or directory. Please make sure your SD card is ready, and USB Mass Storage is turned off."
I can not find the setting for the USB Mass Storage. But I'm able to see the sd card and see the folders and files I have on there with ES File Explorer.
Any help on this! Thanks!
Click to expand...
Click to collapse
In KitKat, write access to external SD card is blocked, you need to wait for a dev to MOD the system to allow for writing to external SD card.
idtheftvictim said:
In KitKat, write access to external SD card is blocked, you need to wait for a dev to MOD the system to allow for writing to external SD card.
Click to expand...
Click to collapse
Great....Thanks! I never noticed it on my S4, but then again I was rooted and running a custom rom on Day 1.
_eroz said:
Great....Thanks! I never noticed it on my S4, but then again I was rooted and running a custom rom on Day 1.
Click to expand...
Click to collapse
That is why you didn't notice it....the custom ROM probably had the MOD in it...
idtheftvictim said:
That is why you didn't notice it....the custom ROM probably had the MOD in it...
Click to expand...
Click to collapse
Try using the My Files app that is built in. As it is not third party it should have full access to the SD card
Gladyscoleman said:
You need to install application from Google play store. Apps names are MY File and ES File Explorer File Manager . its a internal application for android and with the help of this you full access of SD Card.
In case of any further assistance please feel free to contact.
Thank you.
Regards,
Coleman
Click to expand...
Click to collapse
I couldn't find my file.
What is that?
Can you provide a link.
Sent from my SGH-T999 using XDA Premium 4 mobile app
Gladyscoleman said:
You need to install application from Google play store. Apps names are MY File and ES File Explorer File Manager . its a internal application for android and with the help of this you full access of SD Card.
In case of any further assistance please feel free to contact.
Thank you.
Regards,
Coleman
Click to expand...
Click to collapse
Those apps let you read your external sd card. but my original question was about downloading to the external sd card which was already answered by idthiefvictim.
....
Gladyscoleman said:
Did you got required application or not ? if not then I can tell you alternate applications.
Click to expand...
Click to collapse
I already have those apps. They do not let me download off the web and save it on my external sd card.
_eroz said:
I already have those apps. They do not let me download off the web and save it on my external sd card.
Click to expand...
Click to collapse
No problem I have a solution for this issue. Please tell me your cell phone specs first ? like cell phone internal memory? and SD card memory?
Solved the problem but it requires root. See my tutorial.
Anyone tried using this app to fix the write permissions ... https://play.google.com/store/apps/details?id=nextapp.sdfix
Sent from my bad ass Kryon infused Note 3

[Xposed][MODULE][4.0+] XInternalSD

Change path to internal SD card on OS level! Android Storage API tweaks.
This module changes path to internal SD card. .
You can: change path to internal SD which is returned by System API, change path to obb dirs, app files, download dir (you can have everything on SD card!)
Control it in app settings.
If you change it to internal sd card path (e.g. /storage/extSdCard on Samsung Phones) and your phone is running Android KitKat and later, please enable also this module: http://forum.xda-developers.com/xposed/modules/app-handleexternalstorage-t2693521 or this: http://repo.xposed.info/module/kz.virtex.android.sdcardfix (both do same thing well) [not needed anymore, module fixes it]
Detailed description is here: http://forum.xda-developers.com/showpost.php?p=53568464&postcount=11
@MBariya's description: http://forum.xda-developers.com/showpost.php?p=53574331&postcount=18
Open source! https://github.com/pylerSM/XInternalSD
Donate: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=6NTYA2HMPQHVW
Download: http://repo.xposed.info/module/com.pyler.xinternalsd
I think you copy & pasted the wrong headine to this thread. Maybe from your previous modules.
Isn't this causing huge trouble for all apps who rely on this path? Like saving files there? If the path is now change the app can't read it's files anymore. What is the usecase for this module?
Care to share the source code?
nice buddy thanks
Title fixed, thx.
Tested on Samsung phone with 4.2.2 - it works, no bug yet. Usercase? I switch /storage/emulated/0 to /storage/extSdCard
I know this is very experimental.
Source will be shared asap.
It mean i can change any internal folder location to external sd card?
Or to change full internal to external..
Is it safe to do this?
Sent from my GT-N7100 using Tapatalk
This module needs more explanation of how you use it and for what you use it!!!
Sent from my SM-N900T using XDA Free mobile app
flexxoo said:
This module needs more explanation of how you use it and for what you use it!!!
Sent from my SM-N900T using XDA Free mobile app
Click to expand...
Click to collapse
Can I change /system/app to /storage/extSdCard?
j/k but it definitely needs some more details...
:S... more information, details please
Sent From My Xperia Go ST27a Using XDA Premium App
I think that It works with apps from android/data and android/obb because it did for me!!! I'm still testing!!!
Sent from my SM-N900T using XDA Free mobile app
Any difference between this and HandleExternalSD ?
If you are app developer and you need e.g. save something on (internal) SD card, you need get path to internal sd card in the first place. You will use Environment.getExternalStorageDirectory() for that. Path "/storage/emulated/0" (real internal sd card) will be probably returned. This module hooks method Environment.getExternalStorageDirectory() and it now returns custom path. I changed it to "/storage/extSdCard" myself so apps will think that "/storage/extSdCard" is Internal SD Card.
If anybody can explain it better, please do it.
Module source: http://pastebin.com/VJ8CT5UR
If I remember correctly, HandleExternalSD solves KitKat SdCard breakage.
OK so for us Xposed enthusiasts to understand this when do we need it?
jayinc11 said:
OK so for us Xposed enthusiasts to understand this when do we need it?
Click to expand...
Click to collapse
When app doesn't offer you where to save *some* files (app simply saves it in internal sd card).
pyler said:
When app doesn't offer you where to save *some* files (app simply saves it in internal sd card).
Click to expand...
Click to collapse
So this gives us the option to re-direct save location to our choice?
So, if all the folders that normally would be saved in /sdcard/ partition are now saved in /extSDcard/, and if your phone or tablet has a tiny /sdcard/ partition like mine (only 3GB), then there's little room for photos and videos, or even music... and you're always struggling to get just a little bit of extra space... but applying this module solves that problem, since the videos and photos will be saved directly to the microSD card, which in my case is 32GB, so no more worries about making videos or taking pictures.
Also, /android/obb/ folder will be saved in MicroSD card, so you can now update your games if you couldn't before... and many other apps that save large amount of information on /sdcard/ partition (like Sugarsync or GPS applications) , and that I couldn't use before because I didn't have the free space available for them on /sdcard/... I can now use them since all the apps' folders are saved directly to the microSD, and there I have all the space I need!!
But it needs to be fix because not all data is reading from external!!
Sent from my SM-N900T using XDA Free mobile app
---------- Post added at 02:36 PM ---------- Previous post was at 02:12 PM ----------
pyler said:
When app doesn't offer you where to save *some* files (app simply saves it in internal sd card).
Click to expand...
Click to collapse
It's there going to be any updates? ?
Thanks for this useful module by the way!!!
Sent from my SM-N900T using XDA Free mobile app
Yes, if you have KitKat, you need fix reading/writing from SDCard (google for app SDFix or use another awesome xposed module called HandleExternalStorage - link: http://forum.xda-developers.com/xposed/modules/app-handleexternalstorage-t2693521)
When app doesn't offer you where to save *some* files (app simply saves it in internal sd card).
Click to expand...
Click to collapse
<< this I meant as example usercase. This module will never show any dialog to choose where to save files.
Now i understand how to use this...
Great job @pyler.
I needed this for my 2 to 3 apps which has only file save location in internal memory. Now it get converted to extSdcard...
For them who are still in confusion..
This module replaces file save location from internal to extSdcard
But supports only in that apps which has location modification option only in internal sd...
For Example tubemate has only internalSdcard support in 4.4 ROM
I have used this module and location converted to extSdcard...
But u have to mention sd card path in module settings
Default is /storage/emulated/0 change it to /storage/extSdCard
This will not convert full internal sd card to extSdcard.... REMEMBER THAT
Sent from my GT-N7100 using Tapatalk
Yeah, I will have to change wording to avoid confusion.
pyler said:
Yeah, I will have to change wording to avoid confusion.
Click to expand...
Click to collapse
You are a genius man!!! It works with does huge games and thanks for the guy that explain how to change the path
Hopefully we will see more updates to be easy Friendly!! Thanks again!!!
Sent from my SM-N900T using XDA Free mobile app

SD card not enough space?

Hey guys I'm having an issue with setting my sd card as my download directory, when I set it to external sd and try to download anything wether it be a picture or a document I get Message saying their is not enough space cannot finish download, now I thought it might be my sd card going bad so I went out and purchased a New one 64GB, old one was 32gb but I'm still getting the same message, I can set it to internal memory dl the file and then transfer it to my sd after just fine so I know now it's not an sd issue.
Anyone have a solution to this issue or advice on what I should try thanks
Btw I'm using boat browser if it matters
Delete
have u tried running fix permissions or formatting sd card from ur pc
Sent from my VS985 4G using XDA Free mobile app
bayniner said:
Hey guys I'm having an issue with setting my sd card as my download directory, when I set it to external sd and try to download anything wether it be a picture or a document I get Message saying their is not enough space cannot finish download, now I thought it might be my sd card going bad so I went out and purchased a New one 64GB, old one was 32gb but I'm still getting the same message, I can set it to internal memory dl the file and then transfer it to my sd after just fine so I know now it's not an sd issue.
Anyone have a solution to this issue or advice on what I should try thanks
Btw I'm using boat browser if it matters
Click to expand...
Click to collapse
You could try the app SDFix by NextApp in the Play Store. It's free.
- Tapatalked from the G3 -
OP - Are you rooted?
KitKat has issues with access to microSD depending on what you are doing.
You will need to enable full access to SD.
Look in the root thread ot use Xposed with Tweakbox.
smokeuout said:
have u tried running fix permissions or formatting sd card from ur pc
Sent from my VS985 4G using XDA Free mobile app
Click to expand...
Click to collapse
Yes I've tried both with no luck
tech_head said:
OP - Are you rooted?
KitKat has issues with access to microSD depending on what you are doing.
You will need to enable full access to SD.
Look in the root thread ot use Xposed with Tweakbox.
Click to expand...
Click to collapse
Yes I am rooted, All I'm trying to do is set the sd card as my dl directory, so files save to my sd card and not internal memory.
I have xpososed as well as tweak box already installed
bayniner said:
Yes I am rooted, All I'm trying to do is set the sd card as my dl directory, so files save to my sd card and not internal memory.
I have xpososed as well as tweak box already installed
Click to expand...
Click to collapse
boat browser is not a privileged app. It will not write everywhere on the sdcard with default kitkat privileges. you can change them manually or since you are rooted use an app like sdfix or an xposed module to do the change for you.
more details here
http://www.droidviews.com/restore-write-capability-to-external-sd-card-on-kitkat-manually/
I have the same problem with the internal card. i can't download anything off of playstore anymore because it says insufficient memory. I am going to have to flash the stock b06 thing and start over. blows. Oh and there is like 12 gig available on the internal card and I dont see any other way around it. Maybe after refreshing I will be able to implement the newest root method and that will clear it up. Also I DON'T have a problem saving random objects to the samsung evo 64gb (omg you have to get one) because I did the kitkat fix and it worked fine.

(Q) Unable to take screen shots

No matter if im on kitkat or lollipop, Im unable to take a screen shot. Has anyone encountered this?
On kitkat, there is a popup that says "cannot copy, file damaged". On lollipop , the popup states, "insufficient space (i have plenty) or "it isnt allowed by your app or you organization". Any help would be appreciated.
Sos
Sent from my VS985 4G using Xparent Green Tapatalk 2
Has anyone experienced this?
Sent from my VS985 4G using Xparent Green Tapatalk 2
dablitzkrieg said:
Has anyone experienced this?
Sent from my VS985 4G using Xparent Green Tapatalk 2
Click to expand...
Click to collapse
Are you trying to write to the external SD card? If so, are you rooted? If not, writing to the external SD card is limited unless you're rooted and you change the security via a change to the build.prop file in the /system partition.
If you are rooted and have opened up write access to the external SD card, maybe your SD card is corrupted? How old is it and how often do you write to it? SD cards have limited lifespan and their effectiveness decreases with each and every write you do to it. It could take up to a year, but eventually, depending on how often you write to it, it will fail and files will become corrupted.
All the messages you posted make it sound like you are definitely trying to write to the external SD card and unless you have unlocked it (there is an app for this in the store but you have to be rooted to make the change), apps cannot write to the SD card, especially cameras UNLESS the camera has a setting that allows it to and it was updated correctly to work with the new KK security settings for external SD cards.
iBolski said:
Are you trying to write to the external SD card? If so, are you rooted? If not, writing to the external SD card is limited unless you're rooted and you change the security via a change to the build.prop file in the /system partition.
If you are rooted and have opened up write access to the external SD card, maybe your SD card is corrupted? How old is it and how often do you write to it? SD cards have limited lifespan and their effectiveness decreases with each and every write you do to it. It could take up to a year, but eventually, depending on how often you write to it, it will fail and files will become corrupted.
All the messages you posted make it sound like you are definitely trying to write to the external SD card and unless you have unlocked it (there is an app for this in the store but you have to be rooted to make the change), apps cannot write to the SD card, especially cameras UNLESS the camera has a setting that allows it to and it was updated correctly to work with the new KK security settings for external SD cards.
Click to expand...
Click to collapse
I am rooted and the SD card is only 2 weeks old. I don't understand it. I am able to take screenshots via a free app in the app store, bit this issue is frustrating.
Sent from my VS985 4G using Xparent Green Tapatalk 2
dablitzkrieg said:
I am rooted and the SD card is only 2 weeks old. I don't understand it. I am able to take screenshots via a free app in the app store, bit this issue is frustrating.
Sent from my VS985 4G using Xparent Green Tapatalk 2
Click to expand...
Click to collapse
You may be rooted, but did you apply the patch to allow writing to the external sd card? Just because you are rooted doesn't mean it will work still. The app itself isn't running as root. You have to apply the write to external SD card patch.
I believe I mentioned that in my post to you.
You can get the app here which requires you to be rooted (which you are):
https://play.google.com/store/apps/details?id=nextapp.sdfix
iBolski said:
You may be rooted, but did you apply the patch to allow writing to the external sd card? Just because you are rooted doesn't mean it will work still. The app itself isn't running as root. You have to apply the write to external SD card patch.
I believe I mentioned that in my post to you.
You can get the app here which requires you to be rooted (which you are):
https://play.google.com/store/apps/details?id=nextapp.sdfix
Click to expand...
Click to collapse
Thank you for this. Unfortunately, I ran the app and it stated "no action required".
Sent from my VS985 4G using Xparent Green Tapatalk 2
dablitzkrieg said:
Thank you for this. Unfortunately, I ran the app and it stated "no action required".
Sent from my VS985 4G using Xparent Green Tapatalk 2
Click to expand...
Click to collapse
Some apps may not have been updated to notify Android to use the new permissions to write to an SD card. This might be one of them. Not sure which app it is.
I know the stock camera with the G3 can write to the external SD card because it asks for the correct permissions. The permissions most apps asked for BEFORE KitKat no longer work. There is a new permission they have to ask for and if they don't, then Android won't allow the app to modify the contents on the SD Card. Until the app is updated to ask using the new permission, it will not work.
That is what it sounds like.
iBolski said:
Some apps may not have been updated to notify Android to use the new permissions to write to an SD card. This might be one of them. Not sure which app it is.
I know the stock camera with the G3 can write to the external SD card because it asks for the correct permissions. The permissions most apps asked for BEFORE KitKat no longer work. There is a new permission they have to ask for and if they don't, then Android won't allow the app to modify the contents on the SD Card. Until the app is updated to ask using the new permission, it will not work.
That is what it sounds like.
Click to expand...
Click to collapse
Thanks for the help. The only thing that fixed it was a flash back to stock. Thread can be closed
Sent from my VS985 4G using Xparent Skyblue Tapatalk 2
I have the same problem. I tried other screenshot apps, 2 different roms, and removing the sdcard to force a write to the internal memory. A file does get written, but I cannot open it or even copy it to my computer's desktop. The file cannot be deleted by the gallery app. If I hook the phone to my computer I can drag the screenshot to the trash and delete it that way.

Categories

Resources