FORUMS
Remove All Ads from XDA

[SOLVED!!][Update!] MOD Full access for external SD-Card under Android 6 Marshmallow

53 posts
Thanks Meter: 46
 
By dreas74, Member on 6th April 2016, 03:28 PM
Post Reply Email Thread
hi guys,

i upgraded my z3c to the new marshmallow os, but i have no natively writing access to my external sd card.
the new api mounted my sdcard as "public:179,65" or "sd-serial". this is a crappy thing for older apps.

an example, i use grateful 1by1 music and nzb app. both apps can not use the new document provider api.
i have no idea what i can do. in cm13 is imo a patch integrated, but it's not separately available.
i try various mounting tools for the external sd but there doesn't work.

without full access for the sdcard the android mm is unusable for me.
is there a way for a solution?

many thanks
andreas


Update 1
one only hero has a solution for our problems.

the grateful member rufus.wilson found a solution.
he has implemented an idea from an other grateful member of this honorable forum, 65536

you can find the sdcard fix here:

http://forum.xda-developers.com/andr...01-18-t3296266


update 2
there is another solution: http://forum.xda-developers.com/xpos...write-t3403263
xposed module with grant access for selected apps

Update 3
also the module xinternalsd is a solution. you can try this.
http://forum.xda-developers.com/xpos...heck-t2789267/


dreas
The Following 30 Users Say Thank You to dreas74 For This Useful Post: [ View ] Gift dreas74 Ad-Free
6th April 2016, 05:18 PM |#2  
lokitooxd's Avatar
Senior Member
Flag Santa Cruz-Bolivia
Thanks Meter: 56
 
More
you mean something like this?... http://forum.xda-developers.com/show....php?t=2684188
6th April 2016, 05:46 PM |#3  
OP Member
Thanks Meter: 46
 
More
Quote:
Originally Posted by lokitooxd

you mean something like this?... http://forum.xda-developers.com/show....php?t=2684188

yes, but for mm.
the fix from kk doesn't work for mm.
6th April 2016, 06:09 PM |#4  
Wolfbreak's Avatar
Inactive Recognized Developer
Thanks Meter: 11,576
 
Donate to Me
More
I researched this Problem and it seems Google changed it completely in Marshmallow. The Value that we could set in platform.xml before is now hardcoded into the system. On Marshmallow the Permissions are different and the App Developers need to update their App for Marshmallow to use SD Card. I give you a Example of how it works. On Marshmallow the App first needs to ask for AppOps Permissions and if you try to copy something on SD Card it will make use of the new Document API which will request RW access over Documents App where you need to select your External SD Card and after it should work fine. Root Explorer for example uses this Method on Marshmallow but the Problem is alot Apps arent optimized for Marshmallow yet which causes the issues alot have with SD Card. The only Solutions i could find is to format SD Card as Internal or write the App Developer to fix that.

http://www.e-howtogeek.com/54331/and...ite-to-sd-card

I have found a Xposed Solution but im not sure if it will work with Marshmallow 6.0.1 but its worth a try.
You need Xposed Framework and the Module HandleExternalStorage to try it.
The Following 2 Users Say Thank You to Wolfbreak For This Useful Post: [ View ] Gift Wolfbreak Ad-Free
6th April 2016, 06:37 PM |#5  
eymentuna's Avatar
Senior Member
Flag Osmaniye
Thanks Meter: 54
 
More
Question
Quote:
Originally Posted by wolfbreak

i researched this problem and it seems google changed it completely in marshmallow. The value that we could set in platform.xml before is now hardcoded into the system. On marshmallow the permissions are different and the app developers need to update their app for marshmallow to use sd card. I give you a example of how it works. On marshmallow the app first needs to ask for appops permissions and if you try to copy something on sd card it will make use of the new document api which will request rw access over documents app where you need to select your external sd card and after it should work fine. Root explorer for example uses this method on marshmallow but the problem is alot apps arent optimized for marshmallow yet which causes the issues alot have with sd card. The only solutions i could find is to format sd card as internal or write the app developer to fix that.

http://www.e-howtogeek.com/54331/and...ite-to-sd-card

i have found a xposed solution but im not sure if it will work with marshmallow 6.0.1 but its worth a try.
You need xposed framework and the module handleexternalstorage to try it.


Click image for larger version

Name:	Screenshot_20160406-193537.png
Views:	7086
Size:	111.4 KB
ID:	3709679

Click image for larger version

Name:	Screenshot_20160406-193531.png
Views:	6822
Size:	43.0 KB
ID:	3709680
6th April 2016, 07:46 PM |#6  
lokitooxd's Avatar
Senior Member
Flag Santa Cruz-Bolivia
Thanks Meter: 56
 
More
You can try edit manually build.prop and add the code line, that app work for me in LP 5.1.1

Sent From My Monster Z2 - PureX v11 Rom
7th April 2016, 09:42 AM |#7  
OP Member
Thanks Meter: 46
 
More
Quote:
Originally Posted by Wolfbreak

I researched this Problem and it seems Google changed it completely in Marshmallow. The Value that we could set in platform.xml before is now hardcoded into the system. On Marshmallow the Permissions are different and the App Developers need to update their App for Marshmallow to use SD Card. I give you a Example of how it works. On Marshmallow the App first needs to ask for AppOps Permissions and if you try to copy something on SD Card it will make use of the new Document API which will request RW access over Documents App where you need to select your External SD Card and after it should work fine. Root Explorer for example uses this Method on Marshmallow but the Problem is alot Apps arent optimized for Marshmallow yet which causes the issues alot have with SD Card. The only Solutions i could find is to format SD Card as Internal or write the App Developer to fix that.

http://www.e-howtogeek.com/54331/and...ite-to-sd-card

I have found a Xposed Solution but im not sure if it will work with Marshmallow 6.0.1 but its worth a try.
You need Xposed Framework and the Module HandleExternalStorage to try it.

i know the new document provider.
also I contacted the devs from 2 apps, but there motivation is not high for a change to the new api.
Also I use xposed and I tried “handle external storage” and “xinternalsd” module.
Both works not for mm.
In my opinion is the format as internal not an option(speed, access).
When I use a beta xposed module and it bricks my phone, the internal sdcard data is lost.
Not a serious idea. I am not trust this crappy thing.
google has that stupid idea with the external sdcard from version to version. shaking my head.


Quote:
Originally Posted by lokitooxd

You can try edit manually build.prop and add the code line, that app work for me in LP 5.1.1

Sent From My Monster Z2 - PureX v11 Rom

what in 5.1 works, works not in 6.0. this solution is not useful.

the guys from cm13 have the same problem: http://forum.xda-developers.com/gala...t3275394/page3
8th April 2016, 08:54 AM |#8  
Senior Member
Thanks Meter: 165
 
More
I'm eager for a solution as well. MM Concept is great because it has fully functioning adoptable storage, but I'm missing some stock Sony features so would like to give beta a try. However, currently MM Beta (and I'm assuming MM Official) is/are lacking the ability to install apps to SD and the Z3C's paltry 16 GB is nowhere near enough to accommodate all the apps I have installed.
10th April 2016, 06:08 PM |#9  
Kasimodo's Avatar
Senior Member
Flag Android City
Thanks Meter: 92
 
More
+1 Need to fix this fu#@^n[ change!
12th April 2016, 08:08 PM |#10  
Senior Member
Thanks Meter: 208
 
More
+1 Why do I need an external SD if google refuses full access to my data. Why the users may not be master of their data? I hope a fix is in the pipeline.
What would the member say if Microsoft would restrict access to the hard drive. I think Windows would be a matter of days death. (

I hope a genial developer find a way to fix this.

---------- Post added at 08:08 PM ---------- Previous post was at 07:26 PM ----------

Here is a good theme for this permission issue:

https://code.google.com/p/android/is...tail?id=206631
The Following User Says Thank You to heross For This Useful Post: [ View ] Gift heross Ad-Free
13th April 2016, 08:39 AM |#11  
Senior Member
Thanks Meter: 102
 
More
Quote:
Originally Posted by heross

+1 Why do I need an external SD if google refuses full access to my data. Why the users may not be master of their data? I hope a fix is in the pipeline.
What would the member say if Microsoft would restrict access to the hard drive. I think Windows would be a matter of days death. (

I hope a genial developer find a way to fix this.

---------- Post added at 08:08 PM ---------- Previous post was at 07:26 PM ----------

Here is a good theme for this permission issue:

https://code.google.com/p/android/is...tail?id=206631

link doesn't work - no permission
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes