yashsingh1/xdaforums huggingface dataset:
[Galaxy Tab 2 General] king200:
I tried FolderMount from the Playstore https://play.google.com/store/search?q=foldermount. It works well. I don't know if it will permit the installation of an App that needs more space than is on the internal storage but once the app is installed, it relocates whatever the folder it uses and uses /mnt/extSdcarD.

I am guessing that if you know the name of the folder of the install, you can create that folder on /extSdCard, and use FolderMount to allocate the /sdcard folder to extSdCard. The app might install to the ExtSdcard then.
[Galaxy Tab 2 General] mastermind2077:
install ES File Explorer then you will find an icon in the left top corner press on it then choose Tools then enable Root Explorer (Make this option On).... thanx for all of you guys !!!!!!!!!!!!!
[Galaxy Tab 2 General] oceanserv:
is it work on P3100 with 4.2.2 JB stock rom (rooted)?

or i need to modifed the script ?

i'm looking any thread discuss about swap ext to int but i just could found this thread only.

sorry if my question already asked before.
[Galaxy Tab 2 General] hellonasty:
dont work on 4.2.2!
[Galaxy Tab 2 General] nycdave:
Will this work on stock rom??
[Galaxy Tab 2 General] rakeshbro:
Yes.
[Galaxy Tab 2 General] santamanga:
Hi. I´m very new to the galaxy tab. I have the p3110 and installed the nightly PAC ROM 4.3. I have 8 GB internal and 32 GB SD Card formatted as fat 32 (one big partition).

I tried the S91sdswap.sh script executed from /data by SManager at boot and as root, but it doesn´t work. When starting manually from inside SManager, I get the error: sh: /data/91sdswap.sh: No such file or directory.

Also, the S91 Script reads:

mount -o remount,rw /data

while the script provided in this thread remounts root:

mount -o remount,rw /

How can I get it to work on android 4.3? What are the right mount options?

here is what #mount says:

/dev/block/platform/omap/omap_hsmmc.1/by-name/DATAFS on /data type ext4 (rw,seclabel,nosuid,nodev,noatime,user_xattr,barrier=1,journal_async_commit,data=ordered,noauto_da_alloc,discard)
/dev/block/vold/179:25 on /storage/sdcard1 type vfat (rw,dirsync,nosuid,nodev,noexec,realtime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro)

#ls -n /

extSdCard -> /storage/sdcard1
sdcard -> /storage/emulated/legacy
usbdisk0 -> /storage/usbdisk0

Thanks, Stephan
[Galaxy Tab 2 General] santamanga:
hmn,

okay, when I manually mount it from the terminal i don´t get an error. (which brings me to the idea, that maybe the script has a linefeed/cr error)

In the terminal I tried like this:

mount -t vfat -o umask=0000 /dev/block/vold/179:25 /sdcard
mount -o bind /data/media /extSdCard

and then this actually affects the storage: external sd card now has the same limited space as the internal storage.

edit: I´m stupid! The error when starting the script was, because I set it to execute instead of script!

Now the script works, but as said, it limites the external storage to the extend of the internal, so there is sth wrong with the mountpoints I guess.
[Galaxy Tab 2 General] mestreflorin:
4.1.1 Stock Rooted Rom

Hey Geys, i'm on the stock rooted rom 4.1.1 (odexed) I was able to run the script and swap storage drives which now shows 58.9gb internal and 4 or so gb in my extsd. Problem is i install a few aplications and it sais my device il full :(

Is there a certain fix or something i didn't do right?

I have a p3113 on android 4.1.1. and an external sd card of 64 gb.

thanks !
[Galaxy Tab 2 General] ShapesBlue:
I've noticed even with the swap and running a script that the device will still pull from the internal even if you've attempted to swap it
[Galaxy Tab 2 General] nycdave:
other than stock, which custom roms will this work on? I cannot get it working on cm10.2 correct? if not then does anyone know if there would be a way to do a mem swap with cm10.2?

thank you!!!
[Galaxy Tab 2 General] ShapesBlue:
I haven't found it to work on any roms at all. I pretty much gave up with it. I'm running mokee open source. The best bet is to find a rom which initially doesn't have an install which is very big. I've noticed that cm doesn't seem to be very big

Sent from my SCH-I535 using Xparent ICS Tapatalk 2
[Galaxy Tab 2 General] zzmen:
Tab 2 P3110

Thanks for script, very good job. Finally someone find solution for Samsung`s huge sh****.

Works perfect on Tab 2 P3110 with JB 4.1.2

:)
[Galaxy Tab 2 General] igy_tab:
Perfect, thank you :good:
[Galaxy Tab 2 General] poflynn:
So basically there's no way around this beyond the workaround posted by [MENTION=2892669]mmilestone[/MENTION] (thanks BTW) and the manual instructions below?

Very disappointing :(
[Galaxy Tab 2 General] ShapesBlue:
I've tried nearly everything that's been posted about the swap and nothing actually works

Sent from my SGT2
[Galaxy Tab 2 General] A. Nieveen:
ehhh u arent rooted by any chance? Cuz then there way more options to try out. When rooted ur device try ROM Toolbox Lite + ROM Installer apps. The scripter option lets u add/alter/insert scripts/tweaks easy.

And i know there are some scripts for swapping ExtSD with IntSD.

Like this link for example

http://xdaforums.com/showthread.php?t=1704187
[Galaxy Tab 2 General] lorenzo_btbw:
works on p3110 with custom rom (romswell)?

thanks

OK i've tried and i've got this:

internal storage 28.22gb, but there isn't the sdcard.
[Galaxy Tab 2 General] kdog48:
Okay seriously...

http://xdaforums.com/showthread.php?p=31432868

THISSSS ISNT FOR YOUR TABBBBB LOL
[Galaxy Tab 2 General] lorenzo_btbw:
it works only on stock 4.0.4...lol...
[Galaxy Tab 2 General] kdog48:
Have you tried it with the ROM you are using though?
[Galaxy Tab 2 General] kdog48:
My bad. This titles need to be changed on these post.
[Galaxy Tab 2 General] king200:
Bravo to OP

Working aOK and erased all my regrets in not having a 16+ tablet. I wanted my GPS app, Sygic, to have the mapset on the Sdcard, as it is was on my phone, and now I've got it. TomTom, with a 2.25 GB mapset works fine too. Books, Music, Video, all on the inserted 32 gb MicroSD card.

---------- Post added at 07:24 AM ---------- Previous post was at 07:03 AM ----------

If my /data is now the real internal /sdcard, where is the original /data? What is it's space used for?

I have EXT4, 1.5 gb, primary partition on my MicroSD card. Wonder what that could be used for?

---------- Post added at 08:08 AM ---------- Previous post was at 07:24 AM ----------

Has anyone tried with rom that has init.d support? I am thinking of RomsWell 1.1 to get the latest Sept. update, and deodexed. It has init.d support but I won't do it if it won't do this script. Can I just put the existing script I have into the Rom.zip file?
[Galaxy Tab 2 General] dg1267:
In step 2 it says to change the permissions for the script. I am not getting that option! What am I doing wrong? Also, do we unrar the file before putting it in the /data folder or put the rar in there?
[Galaxy Tab 2 General] king200:
There is a small instruction on this page: http://xdaforums.com/showthread.php?t=1786014&page=6

It's the 3rd page from the OP. I read them last first. If you press the help button it will give you boxes to check. Root and boot need to be checked.
[Galaxy Tab 2 General] cloudstr5:
A little tip please: I've one galaxy tab 2 p3110 with italian stock rom 4.0.3

Can i use this script ?
[Galaxy Tab 2 General] xalien8dx:
Sorry guys if my original instructions are a little hard to understand. I will rewrite them as soon as I get home

As far as what ROM's this works on it should work on any.. Im using AOKP JB 4.1.2 http://xdaforums.com/showthread.php?t=1892049 and it works fine.

For the people having problems not showing the sdcard as external in your storage settings, it's there and working normally but the script needs adjusting for it to show properly. I will post an updated one for all those affected. In the mean time you can go to storage settings and Unmount the sdcard, then after its unmounted hit Mount sdcard. This will show it in the settings right. It still works properly regardless as far as the system is concerned.

Also for people running other tablets like the 3110 or whatever.. this can be modified to work very easily if you want, as I dont have a version to test on, someone with a 3110 and wants to try it please do and let me know.... only if you want too. It shouldn't cause any problems and if it does just remove the script but its up to you if you want to test it.
[Galaxy Tab 2 General] cloudstr5:
i'm waiting for micro sd 32 gb class 10 . when arrive i can try . I've tab 2 P3110 (it's the eu version of 3113) with stock 4.0.3
[Galaxy Tab 2 General] Ivan Fuentes Hagar:
I don't think they were hard at all... I'd say it's just a matter of people being too impatient to read instructions step by step.
[Galaxy Tab 2 General] asphaltsally:
I really believe I followed the instructions exactly but nothing seemed to happen. So I ran the script manually in SManager and got this output:

Command:

-c '/data/11extsd2internalsd.rar '

-------------

Out:

exec sh -c '/data/11extsd2internalsd.rar '

root@android:/ # exec sh -c '/data/11extsd2internalsd.rar '

ft: not found2internalsd.rar[1]: Rar!s

/data/11extsd2internalsd.rar[2]: syntax error: ')' unexpected

Any idea what I'm doing wrong?
[Galaxy Tab 2 General] freebird6:
unrar first, the script is compressed ......

By the way, it runs perfectly on my 3113 with Romswell 1.1
[Galaxy Tab 2 General] asphaltsally:
Perfect! I knew it was something simple I was just too ignorant to know. Thanks.:)
[Galaxy Tab 2 General] cloudstr5:
@xalien8dx

Tomorrow arrive 32 gb microsd card. Can you provide me this script for my tablet P3110 with stock rom 4.0.3 ?

Thanks
[Galaxy Tab 2 General] asphaltsally:
I finally got home and unpacked this on my computer and then ran it and it works perfectly. I'm thrilled!!! Can I donate to support you somehow?
[Galaxy Tab 2 General] :
Works perfectly on my P3113

Running JB 4.1.2 - Milestone 1

Thanks for this,

:good:
[Galaxy Tab 2 General] robteam:
Same here working using on aokp 4.1.2 milestone 1
[Galaxy Tab 2 General] lorenzo_btbw:
OK if you make a version for p3110 I'll be a beta tester
[Galaxy Tab 2 General] cloudstr5:
Don't need different version! I've tried 3113 version on my p3110 with stock rom 4.0.3 and works perfectly! :D
[Galaxy Tab 2 General] kdog48:
Hey I'm getting a problem with Google play music app

Its now giving me a music playback error. Is anyone else having a problem like this?
[Galaxy Tab 2 General] king200:
I had same problem with Camera. Go into app info for the playstore app, force stop, clear cache reboot and try again. For some reason, I had to do it 2x.
[Galaxy Tab 2 General] kdog48:
Thanks for the reply!
[Galaxy Tab 2 General] dskiller:
thankyou for this script

Im using cm10 nightly with this script.
[Galaxy Tab 2 General] lorenzo_btbw:
so, have you done a p3110 version?

thanks
[Galaxy Tab 2 General] Ouch-splat:
Worked great thx
[Galaxy Tab 2 General] cloudstr5:
Don't need a p3110 version. I've the p3110 too and used the p3113 version and works very well. All perfect and i have 32 gb of internal storage :D
[Galaxy Tab 2 General] WanShamz:
One question. what's gonna happen if I take out the memory card while the tablet is still running? gonna brick the phone?

---------- Post added at 08:29 AM ---------- Previous post was at 08:08 AM ----------

Just noticed WAZE suddenly stopped working when on the script. any thoughts?
[Galaxy Tab 2 General] lorenzo_btbw:
Ok internal storage works, but real internal (8gb) as an external storage isn't recognized
[Galaxy Tab 2 General] Jack_BP:
THNX!!

Tested this P3113 version and worked perfect on my P3110 with 4.0.3.

I just got this Tab 2 P3110 and Im about 3 days searching for this solution, this xalien8dx's solution was my salvation. THNX! Realy!

Just notice one weird thing after the change. On the Apps list at the Configuration Option, it keeps showing the internal memory, even if its not realy using for Apps anymore.

THNX!!http://xdaforums.com/images/smilies/wink.gif
[Galaxy Tab 2 General] Graphotism:
If any one experiences a problem with music "skipping" go to the settings of whatever app you use for music and change the buffering time. In MusicAmp I changed it from its default to "huge" there was no noticeable difference in loading times but I never had a problem after that. I am not using this script though (I use DivinityCyle's script he made for his gtab2 with cm10) but it does the same thing.

Jack_BP

"Just notice one weird thing after the change. On the Apps list at the Configuration Option, it keeps showing the internal memory, even if its not realy using for Apps anymore"

The device still uses the internal memory for installing applications. For example, your apk files will be kept in the system directory. And some app data is keep in there too (/system/data/data). I have 1gb of used space on my internal from apps but I have 17gb of installed apps. Don't you love xda?!...
[Galaxy Tab 2 General] Ripchain:
VZW Galaxy Tab 2 - SCH-i705 - internal sd and external sd swap

I got this working on my VZW Galaxy Tab 2 _SCH-i705"

Follow all the steps steps above.

You just need to edit the script.

change to /dev/block/vold/179:25 to /dev/block/vold/179:97

and change the last sleep to 10 from 5

The download to the script file is on the OP of this thread.

Enjoy 32 or 64 gb of space on your sdcard not extSdCard
[Galaxy Tab 2 General] king200:
I'm wanting to put up the JB release, P3110XXCLK5_P3110XEFCLK1_XEF.zip. It is for a 3110 but people are reporting it works ok for 3113, even Peel.

I don't want it unless I can swap internal and external sd. Is there a way I can tell beforehand if this script will continue to work?
[Galaxy Tab 2 General] shonan70:
i had a Galaxy Tab 2 P5113 decided to give it a go and it actually work thank you so much!! BTW i'm on CM10 Nightly
[Galaxy Tab 2 General] :
I am running JB release P3110XXCLK5 as above and can confirm that the script works

Good luck :good:

Regards,
[Galaxy Tab 2 General] Ivan Fuentes Hagar:
The IR, Peel, and sd swap? Sounds great! I'm glad someone asked, because I had the same doubt for whenever I decided to move to JB.
[Galaxy Tab 2 General] chiquito3:
Newbie question. If I flash a new rom to the tablet do I have to instal this script again?
[Galaxy Tab 2 General] drose1976:
Sure do.
[Galaxy Tab 2 General] mrpostmansav:
I have a VERIZON SCH-i705 too ---

Hey - I have the same tablet as you - I sent you a couple of PVT MESSAGES about this topic but didn't get a confirmation that they went through -

was wondering if you could help me out to get my tablet set up like yours so that I can take full advantage of my 64gb sdcard -

I have already rooted it - but I am a newbie to all this and I'm having alot of difficulty following the " original post " that is referenced. Thanks !!!
[Galaxy Tab 2 General] king200:
Somehow I didn't have to reinstall the script when going from GT3113 ICS to 3110. The script is in /data folder and I'm using Smanager.
[Galaxy Tab 2 General] drose1976:
You must have dirty flashed then. When you do a full wipe your /data folder is erased.

Sent from my Reloaded 500 BAMF
[Galaxy Tab 2 General] f29pc:
Thanks !!!!! Works great, I now have 29gb avalable on the internal SD. One question though... I'm planning on installing a huge app with a lot of maping data. Will this be automaticly installed on the internal SD, or will I still need to use something like Link-toSD or App2sd to get on the 29gb (now internal) SD?

Thanks Again..
[Galaxy Tab 2 General] mrpostmansav:
SD CARD

I tried this but no success... can you PLEASE POST the entire SCRIPT file that you use for the Verizon SCH i705 ?

thanks !!
[Galaxy Tab 2 General] king200:
I use the script and my maps for GPS Navigation installed to the MicroSD card. The app2sd will just install the .apk file and maybe davlik to the micro card but the GT has plenty of iternal memory for those things.

In mapping software, there is often a ..xml file in the on disk map folder. Editing that file will permit you to get where you want them without any scripts.
[Galaxy Tab 2 General] daventodd123:
Will this work for 4.2.1 CM10.1?
[Galaxy Tab 2 General] tapan15in:
Can anybody confirm that this script works in p3100??
[Galaxy Tab 2 General] Caldair:
Wow! Thank you for this! Now instead of the piddly 4gb left over on the internal memory I have ~60gb! That should take a little while to fill up.:laugh:

Thanks again.
[Galaxy Tab 2 General] Richdhill:
I might be missing something easy, but I have done all that I can, but still can't get the external card to change places with the internal.

I rooted, got all the files in place and can't get the script to execute. I need help, thanks
[Galaxy Tab 2 General] nycdave:
okay i am running cm10 on a 3113 but with the cm10 rom it ends up being listed as a 3110. i cannot get this this script to work at all. none of the apps are showing up as installed n the extsd and im getting frustrated. any help would be appreciated.

thanks!!!!
[Galaxy Tab 2 General] nycdave:
what are your stats? device? rom? everything... i cant get this **** to work at all on mine and i am sure I am missing something but i checked and rechecked everything.

just curious as to how you got it working.

---------- Post added at 02:26 PM ---------- Previous post was at 02:23 PM ----------

what are your stats? device? rom? everything... i cant get this to work at all on mine and i am sure I am missing something but i checked and rechecked everything.

just curious as to how you got it working.
[Galaxy Tab 2 General] Caldair:
I have a p3113 running latest stock 4.04 rooted with CFAutoRoot. I just followed the directions in the OP:

-download the .rar attached to the first post and extract the file 11extsd2internalsd to your devices /data folder.

-make sure to set the permissions on that stript file so that User has read, write, execute checked.

-install script manager (i use the ad supported free version) run it and browse to /data and open the script file.

-now tap the icons to enable both SU and Boot for this script and change the radio button from "is script" to "is executable" then click save.

-I then copied the contents of /mnt/sdcard to /mnt/extsdcard so all my app data would be in the expected place after the script is active

-reboot your tab and profit, hopefully.
[Galaxy Tab 2 General] nycdave:
my brother I love you!!!! thank you so much.

my biggest frustration is that I cant seem to get this mod to work on any custom rom. I have tried CM9, CM10, milestone 1. none of which work with ease. this kills me to no end because I want JB and not one rom has the capability to have this mod build into the code so that these work arounds would be necessary.

Im even more pissed that samsung has not allowed for this to be the case. my galaxy s2 works by installing the apps on the card so why not tablets??? pisses me off to no end. I guess I am stuck with the stock rom for now until someone figures out how to make this all come together seamlessly.

thanks again!!!!!!!!!!
[Galaxy Tab 2 General] kdog48:
Tab2lite RC3 I have it working on its a jelly bean release only 4.1.1 but its a great rom
[Galaxy Tab 2 General] jayce996:
Hello,

i got the P3110, and have rooted it, checked with root checker.

but i'm unable to copy anything to the data folder. do you have any advise for that?

is this script the only way to do App2SD with the official samsung ROM in 4.1.1?

thank you in advance and merry christmas
[Galaxy Tab 2 General] sshukrun:
I am not able to change the permissions es file manager wont give me the change option in properties I am definitely rooted and set the settings right in es
[Galaxy Tab 2 General] JeramyEggs:
Hey sshukrun, go into as file explorer. Open setting scroll down to the bottom where it says root settings. Choose root access, file explorer up to root, and mount memory. It should allow it after that. Also make sure you give us rights to esfile explorer.
[Galaxy Tab 2 General] androidmenon:
This script works perfectly, but there is one problem: I can't access my internal memory now (the one which is now shown as sd card). Has anyone faced a similar problem?
[Galaxy Tab 2 General] 0jmaster0:
I have 64gb microsd flash and this script not worked from the box(I mean simply copy and run). The only one result was - extsdcard and sdcard showed internal flash. Problem was in filesystem. Mine flash was formatted to exfat, so I had to change script to

Now I have one problem - I can't run anything from /mnt/extsdcard(I mean external card), every action asks for root. What is problem with mounting? Are there some kind of permissions for mounting?

My tablet is P3100, stock deodexed firmware 4.1.1
[Galaxy Tab 2 General] icyboyice:
Does this mod work on the cm 10.1 rom ? Which roms does it support ? Thanks
[Galaxy Tab 2 General] trem77:
Can't play audio files from the swaped internal memory,

Kdog you fix the problem with the audio playback in the swaped internal memory ? I cleared all cache of all apps still nothing says : "Sorry, the player does not support this type of audio file".

Any help will be appreciated.

Everything else looks ok.

Solved. Format the sdcard (internal), restore and reinstall the script :)

The only problem is if I transfer a mp3 from the external MicroSD (now sdcard 32gb) to the Internal Memory (now extSdCard ) I get "Sorry, the player does not support this type of audio file". The other way works perfect.

Any ideas how to fix that ?

Using a Samsung Galaxy Tab 2 7" GT-P3113

CWM, Rooted, Stock ROM, Firm 4.0.4.
[Galaxy Tab 2 General] icyboyice:
Can somebody confirm to me which roms/ setup this supports? I know stock ics works ...But i am on CM 10.1..?
[Galaxy Tab 2 General] zombiej79:
I'm also looking for what ROMs it works on I'm using sungsonic and would really like to swap as the 8 gig internal is just ridiculous and run out fast and would like to use the SD card for music and apps
[Galaxy Tab 2 General] pumkinut:
It's probably not going to work on CM 10.1 due to the fact that the directory structure has changed in Android 4.2.1 to account for a multi-user environment.
[Galaxy Tab 2 General] MoToKrusheR:
This works with AOKP jb 4.1.2 milestone 1 Rom for the 3113. Used the init.d folder option.
[Galaxy Tab 2 General] mark0725:
Not sure what I am doing wrong here. I was successful mounting the 32G SD card, but the internal was showing as SDCARD and not as extSdCard. I changed the second sleep to 10 seconds and now I receive the error "mount: Device or resource busy".

Using GT-P3113
[Galaxy Tab 2 General] kdog48:
No actually it still gives me an error, I've tried it on multiple roms it's something to do with an update they gave Google play music because it worked on the version that was on the stock 4.0.3 ice cream sandwich! So I'm still searching for a fix actually sorry! But if I find anything I will let you know!
[Galaxy Tab 2 General] avigade:
thats a way out but i'll go with the vold.fstab file

this method is way for swapping the memories...

i just did it by changing the path in the vold.fstab file in etc/

thats quite easy :P

---------- Post added at 10:52 PM ---------- Previous post was at 10:47 PM ----------

and yeah by changing the vold.fstab file means you dont need any external application to do this stuff....

all you need is to root your phone... install a good explorer which grants root permissions :D

vold.fstab file varies based on the devices ...
[Galaxy Tab 2 General] icyboyice:
How about CM10?

Ok thanks, figured that was the case,It has been proven to work on AOKP M1 ,How about CM10?
[Galaxy Tab 2 General] pumkinut:
It works in AOKP M1 due to the fact that it's still Android 4.1, as is CM 10. CM 10.1 is 4.2.1, which is where the multi-user environment was introduced and is the cause of the file system directory changes.
[Galaxy Tab 2 General] icyboyice:
Ok thanks for your help ! one more question, this is only for the 3113 , can i use it on my 3110 ?:confused:
[Galaxy Tab 2 General] qhinton:
Confirmed this works on ota 4.1.1 gt-p3113

It took me a minute because for some reason 4.1.1 has 2 data folders.

EXTRACT IT

PUT EXTRACTED FILE IN DATA/DATA

GIVE IT NECESSARY PERMISSIONS

FOLLOW INSTRUCTIONS ON HOW TO USE SCRIPT MANAGER