Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,771,463 Members 50,860 Now Online
XDA Developers Android and Mobile Development Forum

[APP][4.0.3+][XPOSED] HandleExternalStorage

Tip us?
 
defim
Old
(Last edited by defim; 19th June 2014 at 05:16 PM.)
#1  
Senior Member - OP
Thanks Meter 732
Posts: 1,454
Join Date: Feb 2012
Default [APP][4.0.3+][XPOSED] HandleExternalStorage

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.
Motorola Defy+ aka MB526 Android 4.4.4 Cyanogen Mod
Samsung S4a aka GT-i9295 Android 4.2.2 Google Edition
My Android apps / Xposed modules: show Threads
The Following 60 Users Say Thank You to defim For This Useful Post: [ Click to Expand ]
 
lssong99
Old
#2  
Senior Member
Thanks Meter 46
Posts: 143
Join Date: Jul 2005
Quote:
Originally Posted by defim View Post
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
Old
#3  
Senior Member - OP
Thanks Meter 732
Posts: 1,454
Join Date: Feb 2012
Quote:
Originally Posted by lssong99 View Post
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, 762 views)
Motorola Defy+ aka MB526 Android 4.4.4 Cyanogen Mod
Samsung S4a aka GT-i9295 Android 4.2.2 Google Edition
My Android apps / Xposed modules: show Threads
The Following User Says Thank You to defim For This Useful Post: [ Click to Expand ]
 
bobstone
Old
#4  
bobstone's Avatar
Member
Thanks Meter 1
Posts: 30
Join Date: Mar 2013
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
Old
(Last edited by Dunkel85; 26th March 2014 at 08:45 AM.)
#5  
Junior Member
Thanks Meter 2
Posts: 10
Join Date: Apr 2012
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.
 
lssong99
Old
#6  
Senior Member
Thanks Meter 46
Posts: 143
Join Date: Jul 2005
Quote:
Originally Posted by defim View Post
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
Old
#7  
Senior Member - OP
Thanks Meter 732
Posts: 1,454
Join Date: 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 View Post
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"
Motorola Defy+ aka MB526 Android 4.4.4 Cyanogen Mod
Samsung S4a aka GT-i9295 Android 4.2.2 Google Edition
My Android apps / Xposed modules: show Threads
 
tmulhearn
Old
#8  
Junior Member
Thanks Meter 1
Posts: 21
Join Date: Dec 2009
Thanks for the app. Looking for something like this since upgrading to 4.4.2
 
lssong99
Old
#9  
Senior Member
Thanks Meter 46
Posts: 143
Join Date: Jul 2005
Quote:
Originally Posted by defim View Post
@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: [ Click to Expand ]
 
defim
Old
(Last edited by defim; 28th March 2014 at 10:28 PM.)
#10  
Senior Member - OP
Thanks Meter 732
Posts: 1,454
Join Date: Feb 2012
Quote:
Originally Posted by lssong99 View Post
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
Motorola Defy+ aka MB526 Android 4.4.4 Cyanogen Mod
Samsung S4a aka GT-i9295 Android 4.2.2 Google Edition
My Android apps / Xposed modules: show Threads

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes