[Xposed][MODULE][4.0+] XInternalSD

Search This thread

pyler

Senior Member
Jan 13, 2013
1,280
2,369
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/xposed/modules/app-handleexternalstorage-t2693521 or this: http://repo.xposed.info/module/kz.virtex.android.sdcardfix (both do same thing well) [not needed anymore, module fixes it]

Detailed description is here: http://forum.xda-developers.com/showpost.php?p=53568464&postcount=11

@MBariya's description: http://forum.xda-developers.com/showpost.php?p=53574331&postcount=18

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

Donate: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=6NTYA2HMPQHVW

Download: http://repo.xposed.info/module/com.pyler.xinternalsd
 
Last edited:

theknut

Senior Member
May 4, 2009
990
4,148
www.theknut.de
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?
 

pyler

Senior Member
Jan 13, 2013
1,280
2,369
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.
 
Last edited:

MBariya

Senior Member
Mar 1, 2012
910
422
Jamnagar
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
 
  • Like
Reactions: alish mc

pyler

Senior Member
Jan 13, 2013
1,280
2,369
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.
 

mitushorizon

Senior Member
Feb 14, 2014
85
13
So, if all the folders that normally would be saved in /sdcard/ partition are now saved in /extSDcard/, and if your phone or tablet has a tiny /sdcard/ partition like mine (only 3GB), then there's little room for photos and videos, or even music... and you're always struggling to get just a little bit of extra space... but applying this module solves that problem, since the videos and photos will be saved directly to the microSD card, which in my case is 32GB, so no more worries about making videos or taking pictures.

Also, /android/obb/ folder will be saved in MicroSD card, so you can now update your games if you couldn't before... and many other apps that save large amount of information on /sdcard/ partition (like Sugarsync or GPS applications) , and that I couldn't use before because I didn't have the free space available for them on /sdcard/... I can now use them since all the apps' folders are saved directly to the microSD, and there I have all the space I need!!
 
Last edited:

flexxoo

Senior Member
May 15, 2010
472
114
California
But it needs to be fix because not all data is reading from external!!

Sent from my SM-N900T using XDA Free mobile app

---------- Post added at 02:36 PM ---------- Previous post was at 02:12 PM ----------

When app doesn't offer you where to save *some* files (app simply saves it in internal sd card).

It's there going to be any updates? ?
Thanks for this useful module by the way!!!

Sent from my SM-N900T using XDA Free mobile app
 

pyler

Senior Member
Jan 13, 2013
1,280
2,369
  • Like
Reactions: fernoct and MBariya

MBariya

Senior Member
Mar 1, 2012
910
422
Jamnagar
Now i understand how to use this...
Great job @pyler.
I needed this for my 2 to 3 apps which has only file save location in internal memory. Now it get converted to extSdcard...

For them who are still in confusion..

This module replaces file save location from internal to extSdcard

But supports only in that apps which has location modification option only in internal sd...


For Example tubemate has only internalSdcard support in 4.4 ROM

I have used this module and location converted to extSdcard...

But u have to mention sd card path in module settings
Default is /storage/emulated/0 change it to /storage/extSdCard



This will not convert full internal sd card to extSdcard.... REMEMBER THAT

Sent from my GT-N7100 using Tapatalk
 

Top Liked Posts