[APP][4.0.3+][XPOSED] HandleExternalStorage

Search This thread

defim

Senior Member
Feb 18, 2012
2,744
1,489
Motorola Defy
Nexus 7 (2013)
Enables read and write access to the external storage for all apps.

More infos about the problem:

This app has no user interface. Enable it in Xposed - reboot - done.

What does this app?
It adds the group media_rw to WRITE_EXTERNAL_STORAGE. This is done at runtime, the file platform.xml itself will not be changed. So /system has to not be writable


IMPORTANT
Xposed needs root access for installation and requires Android 4.0.3 and up


Website: http://tinyurl.com/nq32zze
Play Store: http://tinyurl.com/nnajr7f
Xposed Repository: http://tinyurl.com/ptgjr53
APK download: http://tinyurl.com/mzert7f


Why this app? Editing platform.xml and add media_rw to WRITE_EXTERNAL_STORAGE is boring.
 
Last edited:

lssong99

Senior Member
Jul 15, 2005
414
279
Enables read and write access to the external storage for all apps.

More infos @AndroidPolice: External Blues: Google Has Brought Big Changes To SD Cards In KitKat

This app has no user interface. Enable it in Xposed - reboot - done.

IMPORTANT
Xposed needs root access for installation and requires Android 4.0.3 and up


Website: http://tinyurl.com/nq32zze
Play Store: http://tinyurl.com/nnajr7f
Xposed Repository: http://tinyurl.com/ptgjr53

Why this app? Editing platform.xml and add media_rw to WRITE_MEDIA_STORAGE is boring.

Thanks for your effort!

I am on HTC One Max with stock root 4.4.2. However, this module doesn't seem to work. for Example, Titanium backup still cannot access the ext_sd for back up. Although ES File explorer can write to the ext_sd (even before I install your module), but before and after this module installed, I still cannot "move" file between directories INSIDE the ext_sd

Just let me know if anything I can help to get this working. It's not an option for HTC One Max to modify the Permission file, since after I modifying it, after reboot, all GAPP and some system process will FC on me. Once FC happened, only restoring of Permission file AND /data (from NAND backup) will get back (simple reboot/clear cache/Davlik won't work)

Thanks a lot!
 

defim

Senior Member
Feb 18, 2012
2,744
1,489
Motorola Defy
Nexus 7 (2013)
Thanks for your effort!

I am on HTC One Max with stock root 4.4.2. However, this module doesn't seem to work. for Example, Titanium backup still cannot access the ext_sd for back up. Although ES File explorer can write to the ext_sd (even before I install your module), but before and after this module installed, I still cannot "move" file between directories INSIDE the ext_sd

Just let me know if anything I can help to get this working. It's not an option for HTC One Max to modify the Permission file, since after I modifying it, after reboot, all GAPP and some system process will FC on me. Once FC happened, only restoring of Permission file AND /data (from NAND backup) will get back (simple reboot/clear cache/Davlik won't work)

Thanks a lot!


Can you see any error messages by this module in the Xposed log? I've attached a version with debug output. The count of the gids should be first 0, then a bigger value X and later X+1.
Btw, I don't know if this module works for your device! In fact it hooks the permissions reading and simply add the group at runtime - so maybe you will have also the FCs too
 

Attachments

  • HandleExternalStorage-DEBUG.apk
    16.4 KB · Views: 4,883
  • Like
Reactions: fernoct and rsalib

bobstone

Member
Mar 3, 2013
36
1
Im sorry but im not seeing the purpose of this app. Is there something im not thinking or or missing? Does it allow moving apps to the sd for those of us on the gs4 rooted without updating? Or if not, what?
Thanks
 

Dunkel85

Member
Apr 7, 2012
10
2
good question, i'm also not quite sure about the exact purpose of the app - a description of possible uses would be nice.

considering the linked article and the posts above, it's probably related to that new sdcard behavior of android, where apps are not allowed to access content anymore that they have not created themselves; so if an app can't access the storage, this might help.
 
Last edited:

lssong99

Senior Member
Jul 15, 2005
414
279
Can you see any error messages by this module in the Xposed log? I've attached a version with debug output. The count of the gids should be first 0, then a bigger value X and later X+1.
Btw, I don't know if this module works for your device! In fact it hooks the permissions reading and simply add the group at runtime - so maybe you will have also the FCs too

Thanks for the debug version, however, I didn't see anything related to HandleExternalStorage. (The log is long...). Anything I should note?
 

defim

Senior Member
Feb 18, 2012
2,744
1,489
Motorola Defy
Nexus 7 (2013)
@bobstone & @Dunkel85

If all your non-system apps could write to the sd-card you dont need it. The new "protection" is not active for all devices. You also need this only if you don't want to modify platform.xml


Thanks for the debug version, however, I didn't see anything related to HandleExternalStorage. (The log is long...). Anything I should note?

All messages are very early after system start, you could "grep HandleExternalStorage"
 

lssong99

Senior Member
Jul 15, 2005
414
279
@bobstone & @Dunkel85

If all your non-system apps could write to the sd-card you dont need it. The new "protection" is not active for all devices. You also need this only if you don't want to modify platform.xml




All messages are very early after system start, you could "grep HandleExternalStorage"

I found out that TB was actually FC due to th UnToaster module I using, not related to your module. I disabled the UnToaster module and now everything works just fine! TB is backing up to the ext_sd and I didn't get any of the FC's on GApp or anything else.

Thanks for your great help and module!
 

defim

Senior Member
Feb 18, 2012
2,744
1,489
Motorola Defy
Nexus 7 (2013)
I found out that TB was actually FC due to th UnToaster module I using, not related to your module. I disabled the UnToaster module and now everything works just fine! TB is backing up to the ext_sd and I didn't get any of the FC's on GApp or anything else.

Thanks for your great help and module!

Maybe my other module "EnhancedToast" for handling toasts works better ;)
 
Last edited:
J

JackoMJ

Guest
I found out that TB was actually FC due to th UnToaster module I using, not related to your module. I disabled the UnToaster module and now everything works just fine! TB is backing up to the ext_sd and I didn't get any of the FC's on GApp or anything else.

Thanks for your great help and module!
thx for this great help. I went crazy cause TB didn´t find the backup folder on extSD. Since i uninstalled UnToaster module everything is fine. :good:
 

blankingblank

Senior Member
Mar 3, 2014
90
22
Hi friends,

Forgive my ignorance, but will this module enable, say, exfat support on a rom that doesn't support it natively? Thanks for any and all feedback
 

blankingblank

Senior Member
Mar 3, 2014
90
22
No, no file system drivers are changed. This gives your apps only the permission to write to the extern storage

Thanks for the answer friend. So if I understand correctly, then the camera or gallery app could save pics to the ext SD using this module? The module pictures2sd does this already but sounds like this one could do that and more no?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 88
    Enables read and write access to the external storage for all apps.

    More infos about the problem:

    This app has no user interface. Enable it in Xposed - reboot - done.

    What does this app?
    It adds the group media_rw to WRITE_EXTERNAL_STORAGE. This is done at runtime, the file platform.xml itself will not be changed. So /system has to not be writable


    IMPORTANT
    Xposed needs root access for installation and requires Android 4.0.3 and up


    Website: http://tinyurl.com/nq32zze
    Play Store: http://tinyurl.com/nnajr7f
    Xposed Repository: http://tinyurl.com/ptgjr53
    APK download: http://tinyurl.com/mzert7f


    Why this app? Editing platform.xml and add media_rw to WRITE_EXTERNAL_STORAGE is boring.
    3
    Enables read and write access to the external storage for all apps.

    More infos @AndroidPolice: External Blues: Google Has Brought Big Changes To SD Cards In KitKat

    This app has no user interface. Enable it in Xposed - reboot - done.

    IMPORTANT
    Xposed needs root access for installation and requires Android 4.0.3 and up


    Website: http://tinyurl.com/nq32zze
    Play Store: http://tinyurl.com/nnajr7f
    Xposed Repository: http://tinyurl.com/ptgjr53

    Why this app? Editing platform.xml and add media_rw to WRITE_MEDIA_STORAGE is boring.

    Thanks for your effort!

    I am on HTC One Max with stock root 4.4.2. However, this module doesn't seem to work. for Example, Titanium backup still cannot access the ext_sd for back up. Although ES File explorer can write to the ext_sd (even before I install your module), but before and after this module installed, I still cannot "move" file between directories INSIDE the ext_sd

    Just let me know if anything I can help to get this working. It's not an option for HTC One Max to modify the Permission file, since after I modifying it, after reboot, all GAPP and some system process will FC on me. Once FC happened, only restoring of Permission file AND /data (from NAND backup) will get back (simple reboot/clear cache/Davlik won't work)

    Thanks a lot!
    2
    Thanks for your effort!

    I am on HTC One Max with stock root 4.4.2. However, this module doesn't seem to work. for Example, Titanium backup still cannot access the ext_sd for back up. Although ES File explorer can write to the ext_sd (even before I install your module), but before and after this module installed, I still cannot "move" file between directories INSIDE the ext_sd

    Just let me know if anything I can help to get this working. It's not an option for HTC One Max to modify the Permission file, since after I modifying it, after reboot, all GAPP and some system process will FC on me. Once FC happened, only restoring of Permission file AND /data (from NAND backup) will get back (simple reboot/clear cache/Davlik won't work)

    Thanks a lot!


    Can you see any error messages by this module in the Xposed log? I've attached a version with debug output. The count of the gids should be first 0, then a bigger value X and later X+1.
    Btw, I don't know if this module works for your device! In fact it hooks the permissions reading and simply add the group at runtime - so maybe you will have also the FCs too
    2
    @bobstone & @Dunkel85

    If all your non-system apps could write to the sd-card you dont need it. The new "protection" is not active for all devices. You also need this only if you don't want to modify platform.xml




    All messages are very early after system start, you could "grep HandleExternalStorage"

    I found out that TB was actually FC due to th UnToaster module I using, not related to your module. I disabled the UnToaster module and now everything works just fine! TB is backing up to the ext_sd and I didn't get any of the FC's on GApp or anything else.

    Thanks for your great help and module!
    2
    For those experiencing issues with their memory cards, try using chkdsk on your computer. It's possible that the extra write load on your external memory may simply be revealing preexisting problems (which, of course, wouldn't be this module's fault).