Jump to content
Poweramp
Sign in to follow this  
battery

Can't delete files from SD card

Recommended Posts

Poweramp version 2.0.10 build 588 from Google Play 

My OS Android 6.0 Stock 

My music files placed in external SD card. I try to delete file from player and got message "access denied"

After this i pressed button "access", choose "extenal SD card", press "select all" (also I try choose only my music folder, not all SD card)

Then I got message "access allowed", but file not deleted. When I try to delete this file again, I got again message "access denied"

Another apps has no problems with access to files on external SD card.

Пожалуйста, решите мою проблему.

Share this post


Link to post
Share on other sites

You should use the Grant Access page to select the ROOT level of your SD Card when prompted, not the level that the current file is saved to. That should release access for the SD Card as a whole. Also check that you haven't write-protected the file or folder separately (which one use found was the problem).

Or do what I do and root your device and get rid of the stupid Google SD Card access restriction completely.

Andre

Share this post


Link to post
Share on other sites

Thanx for reply

Quote

select the ROOT level of your SD Card 

I'm doing exactly like you say

 

Quote

check that you haven't write-protected the file or folder

I check. There is no write-protect properties on my music files and folders

 

Quote

root your device

What should I do after that?

Marshmallow SD fixes require xposed module. There is no xposed for my firmware.

Share this post


Link to post
Share on other sites

I did it by manually modifying the /system/etc/permissions/platform.xml file (see http://zidroid.com/how-to-fix-extsdcard-mount-issue-on-kitkat-and-lollipop/ ) which was really easy once rooted, it just needs a basic text editor. However off-hand I don't know if that works with newer versions of Android, or what the equivalent newer methods might be.

Andre

Share this post


Link to post
Share on other sites
Quote

modifying the /system/etc/permissions/platform.xml 

It is not working in Android 6.

All SD fixes in Android 6 requires xposed

Share this post


Link to post
Share on other sites

MoZzZgG, I have been trying to understand why some apps can write to the external sdcard and others (like my New Playlist Manager) can not when dealing with android 6and above. Google have locked the external sdcard in terms of write permissions, for "security" reasons. However, I have found there is such as thing as Storage Access Framework which does allow writing

For reference:

https://developer.android.com/guide/topics/providers/document-provider.html

So, unless you implement this framework and use its methods, you are stuck. I suspect this framework only apples to api 21 or above so any apps using a lower api can not use it. (I have to find out exactly if this is true though)

Share this post


Link to post
Share on other sites
1 hour ago, M0ZzZgG said:

I format my card in exFAT, and problem solved

Interesting! I hadn't heard of that as a solution. I wonder if merely the act of reformatting it that was the fix, or if it was specifically exFAT that did the trick?

Andre

Share this post


Link to post
Share on other sites
4 hours ago, TheoKlink said:

IMO Google just want to get rid of the external sdcards. God knows why??

Google would love the level of control that Apple has.

Andre

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...