Join now - be part of our community!

Some apps unable to properly access SD card after update

Ozach19
Visitor

Some apps unable to properly access SD card after update

Since last system update, some apps (audioteka.cz; mapy.cz) have problem accessing the SD card, reporting the storage failure. I can however access the card through file manager normally. Any advice? 

70 REPLIES 70
hrdlimar
Visitor

Experienced the same issue, but it seems to me that only DRM related applications are affected, ordinary ones can store data to the SD card as before (before the 41.2.A.199) .  
  • Spotify - there is not offered external storage any more
  • Google Play Music - if the storage location is set to "External", then when attemting to play a music, the application is crashing repeatedly. I can see in logcat following:
05-31 16:31:56.417 13723 13796 D MusicProfiler: http: duration=0399ms uri=https://r3---sn-vufvj1-2gbl.c.doc-0-0-sj.sj.googleusercontent.com/videoplayback?id=11bcb3cd117883bd&...
05-31 16:31:56.440 13796 13796 W DownloadThread: type=1400 audit(0.0:5798): avc: denied { write } for name="music" dev="ecryptfs" ino=18612320 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:ecryptfs:s0 tclass=dir permissive=0 ppid=2399 pcomm="main" pgid=13723 pgcomm="roid.music:main"
05-31 16:31:56.454 13723 13796 E TrackDownloadTask: Could not create file: /storage/0000-0000/Android/data/com.google.android.music/files/music/mplayback_2_1812.tmp: Permission denied
05-31 16:31:56.454 13723 13796 E TrackDownloadTask: java.io.IOException: Permission denied
05-31 16:31:56.454 13723 13796 E TrackDownloadTask: at java.io.UnixFileSystem.createFileExclusively0(Native Method)
05-31 16:31:56.454 13723 13796 E TrackDownloadTask: at java.io.UnixFileSystem.createFileExclusively(UnixFileSystem.java:280)
05-31 16:31:56.454 13723 13796 E TrackDownloadTask: at java.io.File.createNewFile(File.java:948)
05-31 16:31:56.454 13723 13796 E TrackDownloadTask: at com.google.android.music.download.TrackDownloadTask.download(TrackDownloadTask.java:150)
05-31 16:31:56.454 13723 13796 E TrackDownloadTask: at com.google.android.music.download.BaseDownloadTask.handleRun(BaseDownloadTask.java:209)
05-31 16:31:56.454 13723 13796 E TrackDownloadTask: at com.google.android.music.download.BaseDownloadTask.run(BaseDownloadTask.java:143)
05-31 16:31:56.454 13723 13796 E TrackDownloadTask: at com.google.android.music.download.SerialDownloadQueueManager.runTask(SerialDownloadQueueManager.java:131)
05-31 16:31:56.454 13723 13796 E TrackDownloadTask: at com.google.android.music.download.SerialDownloadQueueManager.access$200(SerialDownloadQueueManager.java:22)
05-31 16:31:56.454 13723 13796 E TrackDownloadTask: at com.google.android.music.download.SerialDownloadQueueManager$1.run(SerialDownloadQueueManager.java:78)
05-31 16:31:56.458 2788 1864 D ActivityManager: New dropbox entry: com.google.android.music:main, system_app_wtf, dc3109d5-892e-42da-8db6-5f956a9b858d
05-31 16:31:56.450 13796 13796 W DownloadThread: type=1400 audit(0.0:5799): avc: denied { write } for name="music" dev="ecryptfs" ino=18612320 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:ecryptfs:s0 tclass=dir permissive=0 ppid=2399 pcomm="main" pgid=1372
  • Netflix - the same as Spotify, the external storage is not available in the "App Setting"
  • Amazon Prime Video - the external storage can be set, but if I do so, then each movie download ends with "Download Error", this is what logcat says:
06-10 10:08:04.832 30031 30031 W UserDownloadExe: type=1400 audit(0.0:1732): avc: denied { write } for name="downloading" dev="ecryptfs" ino=27572436992 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:ecryptfs:s0 tclass=dir permissive=0 ppid=2415 pcomm="main" pgid=29842 pgcomm="hirdpartyclient"
06-10 10:08:04.842 30031 30031 W UserDownloadExe: type=1400 audit(0.0:1733): avc: denied { write } for name="downloading" dev="ecryptfs" ino=27572436992 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:ecryptfs:s0 tclass=dir permissive=0 ppid=2415 pcomm="main" pgid=29842 pgcomm="hirdpartyclient"
06-10 10:08:04.847 29842 30031 I AmazonVideo: Transitioning download UserDownload{Asin=amzn1.dv.gti.70ae1137-9ea2-c746-c8b0-b6381a185fac, Owner=xxaivxx, SessionId=Optional.absent(), State=DOWNLOADING, OwningAppPackageName=com.amazon.avod.thirdpartyclient} from state DOWNLOADING to ERROR (Optional.of(DISK_IO_ERROR))
06-10 10:08:04.856 29842 30031 I AmazonVideo.profiler: Metric[name=AmazonVideoownloadErrorCodeISK_IO_ERROR, type=[Counter, LocationD_CARD, Typerime], val=1]
06-10 10:08:04.856 29842 30031 D AbstractMetricsFactoryImpl: Setting non-anonymous customer ID and session ID to null, and anonymous tag to true as the metric entry was not recorded in non-anonymous queue.
06-10 10:08:04.856 29842 30031 D AbstractMetricsFactoryImpl: Setting non-anonymous customer ID and session ID to null, and anonymous tag to true as the metric entry was not recorded in non-anonymous queue.
06-10 10:08:04.856 29842 30031 D AbstractMetricsFactoryImpl: Setting non-anonymous customer ID and session ID to null, and anonymous tag to true as the metric entry was not recorded in non-anonymous queue.
06-10 10:08:04.858 29842 30031 I AmazonVideo.profiler: Metric[name=AmazonVideo:AutomaticRetryFailure:1, type=[Counter, LocationD_CARD, Typerime], val=1]
06-10 10:08:04.859 29842 30031 D AbstractMetricsFactoryImpl: Setting non-anonymous customer ID and session ID to null, and anonymous tag to true as the metric entry was not recorded in non-anonymous queue.
06-10 10:08:04.859 29842 30031 D AbstractMetricsFactoryImpl: Setting non-anonymous customer ID and session ID to null, and anonymous tag to true as the metric entry was not recorded in non-anonymous queue.
06-10 10:08:04.859 29842 30031 D AbstractMetricsFactoryImpl: Setting non-anonymous customer ID and session ID to null, and anonymous tag to true as the metric entry was not recorded in non-anonymous queue.
06-10 10:08:04.865 29842 30031 I AmazonVideo: Retrying errored download UserDownload{Asin=amzn1.dv.gti.70ae1137-9ea2-c746-c8b0-b6381a185fac, Owner=xxaivxx, SessionId=Optional.absent(), State=ERROR, OwningAppPackageName=com.amazon.avod.thirdpartyclient}, errorCode DISK_IO_ERROR after 15 with signal strength 4

It seems to me that SELinux does not allow to use dev="ecryptfs" for write, which is reason for Google Play Music crashes and Amazon Prime Video download errors.

I assume that disabling of SD card encryption would be workaroud.

I hope that next security update will fix the issue.

fluffygutss
Visitor

Bluetooth is failing and turning itself off, this is also happening to Nfc, anyone else getting this? 

Disk read/write error pops up when I try to download from webpages

Battery usage is exponentially dropping throughout the day. It tells me battery will die at midnight, then soon after it changes to 8pm, then 5pm etc. 

Sony needs to prioritize this and expedite the update. 

xevox
Visitor

June update is live! Downloading now and will report back!

Edit: R.I.P. Freshly formatted sd card, encryption turned off. Still completely broken. Definitely my last Sony phone.

fluffygutss
Visitor

Yeah it's not just the encryption hey, it's affecting battery and ram. Typing right now is a nightmare! 

Switching windows, yesterday I couldn't even answer phone calls, it took so long to register I pressed the answer button that I missed a call... Twice!!!! 

profile.country.en_GB.title
@5931181100023519
Visitor

Hello Jonas,

So it has been a month since this was first reported and the June security update has been released.

Is there any chance that there is a fix for this issue in that update? If not has there been any progress?

It's just that this bug basically means that I have no SD card.

Many thanks,

Jonas
Master

Hello everyone!

@fluffygutss, sorry for the late reply to your post, however based on the information you are experiencing the same behaviour as the rest of the users in this thread.

@hrdlimar, Thanks again for the excellent information! Slightly_smiling_Face

@xevox, Thanks for letting me know that this is not solved after the latest update.

@MarcusSan, I'm afraid that I have no new information regarding this behaviour and I will let all of you know as soon as I do. I understand that not being able to properly use your SD card is never fun and I hope this can be solved as soon as possible.

I'm very sorry for any inconveniences this may cause for all of you and I thank you for your patience.

fluffygutss
Visitor

Cheers Jonas,

I noticed there's not been any replies in this forum since last week.

Not sure if you've noticed this forum as well: https://www.google.com/url?hl=en&q=/t5/Xperia-XZ/XZ-Lagging-a-lot/m-p/1235124%23M8765&source=gmail&u...

It seems to be directly related.

I'm attempting a repair of my software (again) but it seems to be taking an astronomical amount of time. The Xperia Companion software failed on backing up my device so I opted to manually copying everything to my PC before trying the repair.

Is there any chance of sony giving us a method to roll back to previous android? This is crippling my use of the phone now. I can't use google home, apps and even phone call keeps crashing! I'm so devo right now.... Slightly_frowning_Face Can't record videos because they're chugging.

Kaycut
Visitor

I don't know why, but i have make several attempts and it works every time.

I was not able to move apps to sd card since 7.1.1 update. Here is how i do it:

1. try to move the app to sd card "Not enoght space message appears"

2. plug usb cable to your computer and phone

3. select file transfer mode

4. open an explorer and open any folder

5. close explorer

6. try to move the app to sd card "transfer succesfull"

I have reproduce this 4 times. My SD card is backed up and formatted with xperia option at menu in my phone. 4 hard reset and 4 sd card format. 

Best regards

xevox
Visitor

WOW. Still doesn't work on the  July update. Sony clearly couldn't care less about it's customers.

PathStrider
Visitor

The July update killed my third party apps ability to access the SD card.

My Xperia XA was working fine before that.