FORUMS
Remove All Ads from XDA

[Xposed][MODULE][4.0+] XInternalSD

1,280 posts
Thanks Meter: 2,382
 
By pyler, Senior Member on 20th June 2014, 03:45 PM
Post Reply Email Thread
Change path to internal SD card on OS level! Android Storage API tweaks.

This module changes path to internal SD card. .


You can: change path to internal SD which is returned by System API, change path to obb dirs, app files, download dir (you can have everything on SD card!)

Control it in app settings.

If you change it to internal sd card path (e.g. /storage/extSdCard on Samsung Phones) and your phone is running Android KitKat and later, please enable also this module: http://forum.xda-developers.com/xpos...orage-t2693521 or this: http://repo.xposed.info/module/kz.vi...roid.sdcardfix (both do same thing well) [not needed anymore, module fixes it]

Detailed description is here: http://forum.xda-developers.com/show...4&postcount=11

@MBariya's description: http://forum.xda-developers.com/show...1&postcount=18

Open source! https://github.com/pylerSM/XInternalSD

Donate: https://www.paypal.com/cgi-bin/websc...=6NTYA2HMPQHVW

Download: http://repo.xposed.info/module/com.pyler.xinternalsd
The Following 177 Users Say Thank You to pyler For This Useful Post: [ View ] Gift pyler Ad-Free
 
 
20th June 2014, 04:20 PM |#2  
theknut's Avatar
Senior Member
Thanks Meter: 4,226
 
Donate to Me
More
I think you copy & pasted the wrong headine to this thread. Maybe from your previous modules.

Isn't this causing huge trouble for all apps who rely on this path? Like saving files there? If the path is now change the app can't read it's files anymore. What is the usecase for this module?

Care to share the source code?
20th June 2014, 04:37 PM |#3  
Lal Ayer's Avatar
Senior Member
Flag Mahendranagar,Nepal
Thanks Meter: 146
 
Donate to Me
More
nice buddy thanks
20th June 2014, 04:46 PM |#4  
OP Senior Member
Thanks Meter: 2,382
 
Donate to Me
More
Title fixed, thx.

Tested on Samsung phone with 4.2.2 - it works, no bug yet. Usercase? I switch /storage/emulated/0 to /storage/extSdCard

I know this is very experimental.

Source will be shared asap.
The Following 8 Users Say Thank You to pyler For This Useful Post: [ View ] Gift pyler Ad-Free
20th June 2014, 06:59 PM |#5  
MBariya's Avatar
Senior Member
Flag Jamnagar
Thanks Meter: 423
 
Donate to Me
More
It mean i can change any internal folder location to external sd card?
Or to change full internal to external..
Is it safe to do this?

Sent from my GT-N7100 using Tapatalk
The Following User Says Thank You to MBariya For This Useful Post: [ View ] Gift MBariya Ad-Free
20th June 2014, 09:59 PM |#6  
flexxoo's Avatar
Senior Member
Flag California
Thanks Meter: 115
 
More
This module needs more explanation of how you use it and for what you use it!!!


Sent from my SM-N900T using XDA Free mobile app
The Following 5 Users Say Thank You to flexxoo For This Useful Post: [ View ] Gift flexxoo Ad-Free
20th June 2014, 10:17 PM |#7  
Senior Member
Thanks Meter: 42
 
More
Quote:
Originally Posted by flexxoo

This module needs more explanation of how you use it and for what you use it!!!


Sent from my SM-N900T using XDA Free mobile app

Can I change /system/app to /storage/extSdCard?
j/k but it definitely needs some more details...
The Following User Says Thank You to poodleDoo For This Useful Post: [ View ] Gift poodleDoo Ad-Free
21st June 2014, 02:46 AM |#8  
lokitooxd's Avatar
Senior Member
Flag Santa Cruz-Bolivia
Thanks Meter: 56
 
More
:S... more information, details please

Sent From My Xperia Go ST27a Using XDA Premium App
21st June 2014, 05:39 AM |#9  
flexxoo's Avatar
Senior Member
Flag California
Thanks Meter: 115
 
More
I think that It works with apps from android/data and android/obb because it did for me!!! I'm still testing!!!

Sent from my SM-N900T using XDA Free mobile app
The Following 2 Users Say Thank You to flexxoo For This Useful Post: [ View ] Gift flexxoo Ad-Free
21st June 2014, 08:36 AM |#10  
Gassity's Avatar
Senior Member
Vladikavkaz, RNO-Alania
Thanks Meter: 167
 
More
Any difference between this and HandleExternalSD ?
21st June 2014, 11:58 AM |#11  
OP Senior Member
Thanks Meter: 2,382
 
Donate to Me
More
If you are app developer and you need e.g. save something on (internal) SD card, you need get path to internal sd card in the first place. You will use Environment.getExternalStorageDirectory() for that. Path "/storage/emulated/0" (real internal sd card) will be probably returned. This module hooks method Environment.getExternalStorageDirectory() and it now returns custom path. I changed it to "/storage/extSdCard" myself so apps will think that "/storage/extSdCard" is Internal SD Card.

If anybody can explain it better, please do it.

Module source: http://pastebin.com/VJ8CT5UR

If I remember correctly, HandleExternalSD solves KitKat SdCard breakage.
The Following 17 Users Say Thank You to pyler For This Useful Post: [ View ] Gift pyler Ad-Free
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