Post Reply

[APP][4.0.3+][XPOSED] HandleExternalStorage

OP defim

25th March 2014, 03:20 AM   |  #1  
defim's Avatar
OP Senior Member
Thanks Meter: 874
 
1,665 posts
Join Date:Joined: Feb 2012
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


Why this app? Editing platform.xml and add media_rw to WRITE_EXTERNAL_STORAGE is boring.
Last edited by defim; 19th June 2014 at 05:16 PM.
The Following 67 Users Say Thank You to defim For This Useful Post: [ View ]
25th March 2014, 09:53 AM   |  #2  
Senior Member
Thanks Meter: 47
 
145 posts
Join Date:Joined: Jul 2005
Quote:
Originally Posted by defim

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!
The Following User Says Thank You to lssong99 For This Useful Post: [ View ]
25th March 2014, 02:51 PM   |  #3  
defim's Avatar
OP Senior Member
Thanks Meter: 874
 
1,665 posts
Join Date:Joined: Feb 2012
Quote:
Originally Posted by lssong99

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
Attached Files
File Type: apk HandleExternalStorage-DEBUG.apk - [Click for QR Code] (16.4 KB, 1072 views)
The Following User Says Thank You to defim For This Useful Post: [ View ]
26th March 2014, 02:34 AM   |  #4  
bobstone's Avatar
Member
Thanks Meter: 1
 
30 posts
Join Date:Joined: Mar 2013
More
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
26th March 2014, 08:39 AM   |  #5  
Junior Member
Thanks Meter: 2
 
11 posts
Join Date:Joined: Apr 2012
More
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 by Dunkel85; 26th March 2014 at 08:45 AM.
26th March 2014, 10:20 AM   |  #6  
Senior Member
Thanks Meter: 47
 
145 posts
Join Date:Joined: Jul 2005
Quote:
Originally Posted by defim

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?
26th March 2014, 01:54 PM   |  #7  
defim's Avatar
OP Senior Member
Thanks Meter: 874
 
1,665 posts
Join Date:Joined: Feb 2012
@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


Quote:
Originally Posted by lssong99

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"
27th March 2014, 03:06 AM   |  #8  
Junior Member
Thanks Meter: 1
 
26 posts
Join Date:Joined: Dec 2009
Thanks for the app. Looking for something like this since upgrading to 4.4.2
27th March 2014, 06:05 PM   |  #9  
Senior Member
Thanks Meter: 47
 
145 posts
Join Date:Joined: Jul 2005
Thumbs up
Quote:
Originally Posted by defim

@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!
The Following 2 Users Say Thank You to lssong99 For This Useful Post: [ View ]
27th March 2014, 11:28 PM   |  #10  
defim's Avatar
OP Senior Member
Thanks Meter: 874
 
1,665 posts
Join Date:Joined: Feb 2012
Quote:
Originally Posted by lssong99

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 by defim; 28th March 2014 at 10:28 PM.

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Top Threads in Xposed Framework Modules by ThreadRank