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

Search This thread

dreas74

Senior Member
Dec 24, 2010
112
66
Nothing Phone 1
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://xdaforums.com/android/software/fix-extsd-fix-v1-0b-2016-01-18-t3296266


update 2
there is another solution: http://xdaforums.com/xposed/modules/xposed-marshmallow-sd-fix-write-t3403263
xposed module with grant access for selected apps

Update 3
also the module xinternalsd is a solution. you can try this.
http://xdaforums.com/xposed/modules/xposed-disablesignaturecheck-t2789267/


dreas
 
Last edited:

Wolfbreak

Inactive Recognized Developer
Aug 8, 2010
4,243
11,508
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/android-6-0-marshmallow-cannot-write-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.
 
Last edited:
  • Like
Reactions: Twenga and milocj

eymentuna

Senior Member
Jun 3, 2014
372
54
Osmaniye
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/android-6-0-marshmallow-cannot-write-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.


Screenshot_20160406-193537.png

Screenshot_20160406-193531.png
 

dreas74

Senior Member
Dec 24, 2010
112
66
Nothing Phone 1
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/android-6-0-marshmallow-cannot-write-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.


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://xdaforums.com/galaxy-s3/help/official-cm13-external-sd-write-fix-apps-t3275394/page3
 
Last edited:

boojay

Senior Member
Oct 15, 2010
634
164
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.
 

heross

Senior Member
Oct 14, 2007
826
208
+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. :good:

---------- 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/issues/detail?id=206631
 
  • Like
Reactions: iPAQ 6515a User
+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. :good:

---------- 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/issues/detail?id=206631
link doesn't work - no permission :(
 

ptmaniac

Senior Member
Jul 17, 2009
377
216
Aveiro
Nexus 7 (2013)
Sony Xperia XZ
The only thing that works nicely for me is the OBB ON SD xposed module.
It only works with the /android/data and /android/obb folders from internal memory to external sd so it's not a full solution, but at least the huge .obb files are working from external sd, if you have big games it frees a lot of internal space.

Module is here:

http://repo.xposed.info/module/com.smartmadsoft.xposed.obbonsd

Don't forget to enable the "detect sd on android5/6" option in the module config. I also disable playstore hooks so playstore doesn't crash when updating some apps. This way playstore will not crash but the .obb's will be downloaded to the internal memory when updating apps, you need to manually move them to external sd after update.
 

marceldossantos91

Senior Member
Jan 17, 2011
976
417
The only thing that works nicely for me is the OBB ON SD xposed module.
It only works with the /android/data and /android/obb folders from internal memory to external sd so it's not a full solution, but at least the huge .obb files are working from external sd, if you have big games it frees a lot of internal space.

Module is here:

http://repo.xposed.info/module/com.smartmadsoft.xposed.obbonsd

Don't forget to enable the "detect sd on android5/6" option in the module config. I also disable playstore hooks so playstore doesn't crash when updating some apps. This way playstore will not crash but the .obb's will be downloaded to the internal memory when updating apps, you need to manually move them to external sd after update.
Problem with this is - most of us just want r/w with our old apps and 3rd party apps, internal is still plenty storage space for apps, while some do offer to enable write access, many don't, and while this solution is sufficient for storage, i myself for example keep my entire 16gb open and put all my stuff on my 64gb sd. We only want r/w for apps, for most of us 16/32gb onboard is plenty for apps and games

Sent from my D6603 using XDA-Developers mobile app
 

Top Liked Posts

  • There are no posts matching your filters.
  • 31
    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://xdaforums.com/android/software/fix-extsd-fix-v1-0b-2016-01-18-t3296266


    update 2
    there is another solution: http://xdaforums.com/xposed/modules/xposed-marshmallow-sd-fix-write-t3403263
    xposed module with grant access for selected apps

    Update 3
    also the module xinternalsd is a solution. you can try this.
    http://xdaforums.com/xposed/modules/xposed-disablesignaturecheck-t2789267/


    dreas
    4
    The only thing that works nicely for me is the OBB ON SD xposed module.
    It only works with the /android/data and /android/obb folders from internal memory to external sd so it's not a full solution, but at least the huge .obb files are working from external sd, if you have big games it frees a lot of internal space.

    Module is here:

    http://repo.xposed.info/module/com.smartmadsoft.xposed.obbonsd

    Don't forget to enable the "detect sd on android5/6" option in the module config. I also disable playstore hooks so playstore doesn't crash when updating some apps. This way playstore will not crash but the .obb's will be downloaded to the internal memory when updating apps, you need to manually move them to external sd after update.
    2
    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/android-6-0-marshmallow-cannot-write-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.
    2
    It's a pain for me because without my SD card my device is useless
    Sony need to fix this
    2
    The only thing that works nicely for me is the OBB ON SD xposed module.
    It only works with the /android/data and /android/obb folders from internal memory to external sd so it's not a full solution, but at least the huge .obb files are working from external sd, if you have big games it frees a lot of internal space.

    Module is here:

    http://repo.xposed.info/module/com.smartmadsoft.xposed.obbonsd

    Don't forget to enable the "detect sd on android5/6" option in the module config. I also disable playstore hooks so playstore doesn't crash when updating some apps. This way playstore will not crash but the .obb's will be downloaded to the internal memory when updating apps, you need to manually move them to external sd after update.
    Problem with this is - most of us just want r/w with our old apps and 3rd party apps, internal is still plenty storage space for apps, while some do offer to enable write access, many don't, and while this solution is sufficient for storage, i myself for example keep my entire 16gb open and put all my stuff on my 64gb sd. We only want r/w for apps, for most of us 16/32gb onboard is plenty for apps and games

    Sent from my D6603 using XDA-Developers mobile app