[Xperia SP General] s0ur0v:
Hi friends,

At last i have found a way to mount external storage as internal and vice versa for xperia sp jb 4.3(.205). For this, you just need to have init.d support in kernel so your system can run a script on each boot which will do the mount in background.

Requirements:

1. Root

2. ((1. Busybox ))

((2. Universal init.d ))

((3. Es File Explorer ))

3. The attached script named "swap"

4. Patience and cool brain

How to do:

1. Install busybox

2. Install universal init.d

3. Make a folder in your external storage named "0" and put all the files of your external storage into it

4. Make another folder in "0" and name it "xInternal". Cut your files from your internal storage into it( So now, you have all ur files of external storage in "0", and all your files of internal storage in the folder "xInternal" inside "0"

5. Download the zip and extract the script(swap) and place it in /system/etc/init.d (Go to your root of the device with any explorer, i used es file explorer, then go to system/ etc/ init.d and paste the script there.

[IMG="Place if the script"]http://xdaforums.com/attachment.php?attachmentid=2870270&stc=1&d=1406312018[/IMG]

6. Set the permission of the all checked (-rwxrwxrwx)

[IMG="Permission"]http://xdaforums.com/attachment.php?attachmentid=2870264&stc=1&d=1406311516[/IMG]

7. Change the owner of the file to "system"

[IMG="Permission"]http://xdaforums.com/attachment.php?attachmentid=2870264&stc=1&d=1406311516[/IMG]

8. Change the group of the file to "sdcard_rw"

[IMG="Permission"]http://xdaforums.com/attachment.php?attachmentid=2870264&stc=1&d=1406311516[/IMG]

9. Reboot and Die!!!:D Becaue you need to cut all files from the folder "Android" inside "xInternal" and paste it in the "Android" folder inside "0"

(So you have the files of your previous inter storage/"Android" in the folder "Android" of your present internal storage{which is actually your external sd})

10. Enjoy!!!!!!!!!!!

Download script

Issues:

1. You will see in settings that your external storage is changed as the same size of internal storage but internal is same as it is. :D Dont worry. Just dont look at this bcz its showing wrong info. you can install file commander and see by yourself that the script works

[IMG="storage from settings"]http://xdaforums.com/attachment.php?attachmentid=2870271&stc=1&d=1406312018[/IMG]

[IMG="storage from settings"]http://xdaforums.com/attachment.php?attachmentid=2870272&stc=1&d=1406312018[/IMG]

2. Es file explorer will show you that your internal storage is replaced with your external storage, but at the place of external storage, you will just see obb. But its wrong also, dont worry

[IMG="Es file explorer"]http://xdaforums.com/attachment.php?attachmentid=2870262&stc=1&d=1406311516[/IMG]

For your help:

Before using this script--

Internal storage: /storage/emulated/0 (size ex. 5 gb)

External storage: /storage/removable/sdcard1 (size ex. 16 gb)

After using this script--

Internal storage /storage/emulated/0 (size ex. 16 gb) [

External storage: /storage/removable/sdcard1 (size ex. 5 gb)

Proof:

[IMG="from Laptop"]http://xdaforums.com/attachment.php?attachmentid=2870265&stc=1&d=1406311516[/IMG]

[IMG="File commander"]http://xdaforums.com/attachment.php?attachmentid=2870263&stc=1&d=1406311516[/IMG]

Explanation:

The script mount and bind /mnt/shell/emulated with /storage/sdcard1, so u have a folder in sdcard 1 which names "0", if u go in /mnt/shell/emulated/, u will see 3 folder named "0", "legacy", "obb". You already created "0", and "obb" & "legacy" will be created automatically, so your /dev/block/vold/179.33(/storage/removable/sdcard1) will be mounted as /mnt/shell/emulated/ and you will get your sdcard1 space in your internal, means /storage/emulated/0/. And you will see all your files of sdcard1 in "0" bcz u have put those in in a folder names "0" in your sdcard1. tricky, huh???

And if you are using this and avoid annoying low internal space, just send me thanks by pressing thanks button and encourage me to make more useful things and tuts in future