yashsingh1/xdaforums huggingface dataset:
[Galaxy Tab 2 General] imnuts:
IMO, this is terrible advice. The script is probably getting run as root, and you're opening it up to be written by anyone. Imagine if malware edited the script? Think of what malware could do if it had root access...

Sent from my Galaxy Tab 2
[Galaxy Tab 2 General] xalien8dx:
Changed it to just user read, write, execute..

thanks
[Galaxy Tab 2 General] grassy-sneakers:
So, after this what happens to the internal SdCard. Does it, or is it still being used, and if so for what...?
[Galaxy Tab 2 General] truskillzz:
^ same ? and has anyone tested this and is it safe?
[Galaxy Tab 2 General] xalien8dx:
All this is is a modded script from mattiadj. It was written for the GS3, so I changed it to work on the 3113 tablet

Here is what it does quoted from mattiadj

The original internal sdcard is mounted by default from the system as /data/media as well as /sdcard and mnt/sdcard

so with this script it puts data/media as extSDCard and /sdcard and /mnt/sdcard are mounted to the original external SDcard

you can still access the internal SDcard from data/media or /extSDCard or mnt/extSDcard

my code

sleep 5
mount -o remount,rw /
mount -t vfat -o umask=0000 /dev/block/vold/179:25 /mnt/sdcard
sleep 5
mount -o bind /data/media /mnt/extSdCard

this can be easily modified to work on other systems.

Hope this helps,

N8
[Galaxy Tab 2 General] zljk:
Tried this out last night. For me it works only if run manually... After reboot, I get long "checking SD for errors" and when it actually mounts SD it gets mounted twice- as both internal sdcard and extSdCard.
[Galaxy Tab 2 General] jskolm:
I ran this with SCript Manager (Play Store) and it works great on my p3113. My External SD card was mounted as internal and my Internal Memory was mounted as ExternalSDcard. I am going to love having this script!
[Galaxy Tab 2 General] xalien8dx:
If your having problems with it mounting as your internal and external try unmounting/remounting your external card in settings under storage. Or if your skilled enough try changing the second sleep value in the script to a higher number like 10 that should fix it
[Galaxy Tab 2 General] drose1976:
Works famously. For the apps that have issues just clear data under settings and it seems to be golden.
[Galaxy Tab 2 General] king200:
I haven't done anything quite like this before but I have a use in mind. My GPS program, Sygic, puts the mapset on the internal sd card. Just the Western USA states are 500 mb If I get this running, and have Sygic do it's normal install, will the mapset to to the 32 GB MicroSD card that I have?
[Galaxy Tab 2 General] drose1976:
It should. For example, I use Amazon MP3 and when I downloaded a song before they went to the internal card. Now they are stored on the external. The device reads your external as though it is the internal.
[Galaxy Tab 2 General] kdog48:
so is there Anyway on how to force this to start on boot?
[Galaxy Tab 2 General] xalien8dx:
Yes

in script manager choose su and boot. If you follow the first post it will execute on boot. Or if you have a rom with init.d support place this script in your /etc/init.d folder, I dont have a rom with init.d support so I dont know if that would work but it should. If someone could test this and let me know I would appreciate it. Im not sure if you still have to set permissions to execute on it.
[Galaxy Tab 2 General] kdog48:
Well I've had problems downloading certain apps to SD it says insufficient memory delete 0mb of data so I actually will just manually use it haha
[Galaxy Tab 2 General] robteam:
Working 100% using a 32GB memory card! thanks for this!
[Galaxy Tab 2 General] frilli:
hi guys

is applicable to 2 10.1 GalaxyTab P5100?

requires Android 4.1.1 or 4.0.4. ?

Thank you.
[Galaxy Tab 2 General] dg1267:
If this works, I will name my next born child after you! ;)

Anyway, I would like to know if this will work on Cyangenmod 9.0.0? Or will it only work on the stock rom. I have my old stock rom of 4.0.4 saved if I need to go back... because I will if this works.
[Galaxy Tab 2 General] MadDogE134:
does root explorer have the 'su boot' option? never used it to run scripts...:silly:
[Galaxy Tab 2 General] Ivan Fuentes Hagar:
I already used the thank link... but stilll thank you so, so much! I just recently got my 8gb 3113... needless to say, I REALLY needed some space. If any, it was a good lesson for me to definitely choose the 16GB Nexus 4.

It's from SManager.
[Galaxy Tab 2 General] m.mcrespo:
Db have just one problem. U can't put games in data/data for external SD card. It's only problem that I see.

Enviado de meu GT-P3100 usando o Tapatalk 2
[Galaxy Tab 2 General] haga15:
insufficient memory - solved

OK, I finally managed to find a "solution"

I do not know why this problem occurred. It was vary strange but it seemed that no matter how many much space I was freeing by unistalling apps,

some apps would install without any problem - whether others (realy small ones) would not install. I did try to install these apps to an other P3110 that I rooted and installed the same script without any problem !

Some say that there is a bug in Google-Play, even have a special app to fix it ... returning to the original version and re-updating was also suggested but nothing of these worked for me.

Finally I just copied the apks in the root \ data \ apps and gave full rights (777). Then restarted and the apps are simply installed. :)
[Galaxy Tab 2 General] el_venga:
Has anyone tried this on pa 2.xx. It's cm10 based, not cm10.1. I see someone got it working on aokp milestone 1. I might still try it by my own but it'll take some time cause of backup.
[Galaxy Tab 2 General] :
int/ext memory swap

this tut was a life saver for me everything works perfectly.to enhance it more i do the way explained at the beginning of post and i also go into smanager one more time and do the following:

go into /mnt

then extsdcard..... android/data/os.tools.scriptmanager/log/onboot

click on that file and i select is executable also tick the su and boot then save

i do this also for the sdcard in /mnt

i do this so it boots sdcard as internal memory even when i poweroff or reboot.

its been working perfectly for me the past few days\

i also tried this on cm10 based roms and couldnt get it working for reasons unknown.mainly it doesnt show up correctly on smanager,but,i will try again
[Galaxy Tab 2 General] el_venga:
just tried it on PA 2.52. it kind of worked. the script seemed to disable the internal sdcard. it could work for me as long as i get no other issues installing apps. in storage settings the external sdcard is "seen" as both by the tab. this had already happened to me while messing around with Root External 2 Internal but it was the other way around. only the internal was mounted as both.

EDIT: over at apps manager, internal storage is still just for apps.
[Galaxy Tab 2 General] ady_uaic:
thanks mate, it worked like a charm o p3110
[Galaxy Tab 2 General] olszam:
Anyone can do it on CM10.1 because I did not work.
[Galaxy Tab 2 General] MicroMod777:
On p3113 storage gets swapped, but apps are still being install to internal storage which gets full. Any fix?
[Galaxy Tab 2 General] MicroMod777:
Guess there's no fix. Gonna try to do apps2ext to install all apps there on a Rom I'm building. I did this successfully on my Droid Incredible before.
[Galaxy Tab 2 General] Tsjoklat:
Have you tried the KK boot image? This has a sysctrl option to turn it on and off built into the kernel.
[Galaxy Tab 2 General] jim.reefer:
64g sd won't work

I have a 32 that works fine but the 64g wont work. Thanks in advance
[Galaxy Tab 2 General] hersh40:
I also had it working on 32gig card but won't work on 64gig card I just bought.
[Galaxy Tab 2 General] majorpay:
OK, so I have had this working for some time now, but recently I noticed my larger games won't update,and if I uninstall them, I can't reinstall them and get an error message. Also, when I attempt to open the gallery, it gives me the error that I am out of space.

I started digging around the file system using solid explorer, and upon trying to delete some items on the internal drive, it tells me they are read only. Any attempt to change permissions fails. Any thoughts?

Help?
[Galaxy Tab 2 General] Richcar:
At the top of the root explorer screen select and change mount R/W to mount R/O.
[Galaxy Tab 2 General] majorpay:
OK... This is interesting. After switching to rw, I was able to use everything like normal again, but should we really need to do this after every reboot for things like gallery and the market?
[Galaxy Tab 2 General] Richcar:
I don't have this problem I am using a class 10 Samsung SD card as my internal with this swap . may be you to free up some space you can go to settings/storage/miscellaneous files and delete some stuff and move most of your stuff from the external to the internal SD
[Galaxy Tab 2 General] MicroMod777:
I found real solution with Links2SD. I created a 8gb ext4 partition on Sd card were all my apps install there.
[Galaxy Tab 2 General] kidy3k:
Noob here: I did everything successfully and it worked perfectly. My question is, if i erase everything from my original internal memory will that effect the device at all?
[Galaxy Tab 2 General] jskolm:
I have deleted everything off my internal memory and it hasn't affected my device at all.... but I recommend copying off everything first then delete it. That way you have a backup of the data incase you need it.
[Galaxy Tab 2 General] kidy3k:
is there a solution to the apps still being downloaded to the sdcard? Or do i have to partition
[Galaxy Tab 2 General] hersh40:
Is there a way to get this to work with a 64gb card?
[Galaxy Tab 2 General] majorpay:
Alright... still getting no love on the r/o issue. Been monkeying with the script, but not getting anywhere.

The issue is when I open touch squid, the program complains the ini file is r/o, so I open storage/sdcard in root explorer, and sure enough, the location is r/o. As soon as I set it to r/w in root explorer, all is right with TS. Let root explorer time out or close, back to square one.

Gallery is still giving me grief about not enough space to open. I'm guessing it's related.

Anyone have a revision I can tack on to the script to make /storage/sdcard r/w permanently?
[Galaxy Tab 2 General] Richcar:
You may have to backup your stuff to your computer wipe or format your SD card reflash the rom and replace your stuff
[Galaxy Tab 2 General] kidy3k:
Is it possible to flash a new custom rom after succeeding the swap?
[Galaxy Tab 2 General] majorpay:
You totally know that wasn't the answer I was looking for, right? :P

Oh well, I guess I've got to do what I've got to do. I likely won't reflash the ROM as this is rooted stock with a locked bootloader, but I guess a factory reset + SD Card format is in order when I get some time on my hands.
[Galaxy Tab 2 General] icyboyice:
How do I switch to another ROM with this mod already in place with apps downloaded and everything? :what:
[Galaxy Tab 2 General] weishengkoh:
My tab 2 cannot work on this swapping to external card.

I have followed the instruction, holding on data folder at device giving it full permission then followed by putting script in.

After which I used Smanager locate the script and open as executable then ticked ( isexecutable SU and boot) then lastly save it. Then followed by restarting the device.

After it start up I check on storage everything still same. I go onto the es file explorer the funny thing is superuser denied my access? and same goes to smanager. And this cycle continues even if I do all over again. It seems that my superuser is having problem, I cant manually go superuser to select which app to give permission.

FYI- I tried using link2sd before this hence my sdcard has been partitioned.

Can someone enlighten me on my problem? I have been google-ing few days. =C
[Galaxy Tab 2 General] Richcar:
When you frist open scrip manager did you selected browse as root before you move on to the other steps ? .
[Galaxy Tab 2 General] weishengkoh:
Thank for the fast reponse.

It's because of that. I didnt read that prompt properly.

It works now. thank so much
[Galaxy Tab 2 General] kidy3k:
is it possible to change sd cards after this swapped. like currently i have a 16 gig in there that is partioned. i just bought a 32 gig,
[Galaxy Tab 2 General] writeCL:
sure, just copy everything from one card to the other :)

turn off tablet during switch
[Galaxy Tab 2 General] kidy3k:
That didn't work the first time. When i did that, everything went back to the original internal memory storage. I fixed it though. I just re-did the steps from the first step and it worked
[Galaxy Tab 2 General] writeCL:
well, it should have been understood that the steps would be:

- power off

- remove microSD

- copy EVERYTHING from microSD to the new one

- insert the new microSD

- power on

tablet won't even notice the switch..

if the script was set to boot and su in the first place , I see no reason to have to redo the steps you mentioned.
[Galaxy Tab 2 General] kidy3k:
its weird i did that, at least i think i did. lol everything is all good now tho.:o
[Galaxy Tab 2 General] hersh40:
This is what I get now. It does not seem to recognize my card properly. Without it I get the full card recognized as the external sd card.

View attachment 1957585
[Galaxy Tab 2 General] karaern:
does this script work on custom roms or its just for official releases? more interested on if it works on slimbeam build 5, anyone tried?
[Galaxy Tab 2 General] crz6662:
Didn't work on Slim 4.2.2 Build 3.4 Unofficial.20130414.
[Galaxy Tab 2 General] gonron:
Also didn´t work for me I have Slim 4.2.2 Build 5 OFFICIAL :crying:
[Galaxy Tab 2 General] androidbryce:
No longer works in sungsonic hd.

Sent from my Samsung Galaxy Tab 2 running Sungsonic HD!
[Galaxy Tab 2 General] karaern:
any ideas what script or app can be used with custom roms, in my case slimbean?
[Galaxy Tab 2 General] jskolm:
Check out Folder mount. I am using it with CM10.1 on my Tab 2 right now. The app works great.

http://xdaforums.com/showthread.php?t=2192122
[Galaxy Tab 2 General] karaern:
tried foldermount, but somehow couldnt understand if it can really give some advantage..

works good but i just dont see the freed space in the internal sdcard..

perhaps i did smth wrong or coudnt activate it, just saw that small green pin?!?

can you explain exactly how to activate this. meanwhile seems to work good.
[Galaxy Tab 2 General] redhawk0:
I tried File Mount with Slim also...I couldn't get it to work correctly. I have a Bible program with various Bible versions. They are on my microSD card. Even linking the internal directory to the microSD directory (where the version are located) it wouldn't recognize them correctly. I find the internal memory just isn't enough and miss my 32G SD card swap....I think it has something to do with the virtual mount points but I haven't been able to figure it out yet.

red....
[Galaxy Tab 2 General] qazmed:
hey no foldermount doesnt work like that if u have any big games like gameloft ones u can move the sd data to the extsd ok
[Galaxy Tab 2 General] izami123:
Script worked like a charm for me. :)

But can I flash the script in recovery to make it permanent?
[Galaxy Tab 2 General] axelxfire:
noobs trying to look wise is making you look like a fool

REALLY!!!!!!!!!!! Are you serious cause if you are than thank you captain obvious. you need to quit being a noob if your that scare of maleware than don't bother with rooting that is the number one warning before you root if your that worried don't bother rooting as a matter of fact go sell your android cause just having an android you run that risk of maleware rooted or not. if you werent being a noob it would be obvious that android is an open source so you run that risk anyway its no different than any phone desktop and laptop computers especially when its open source thats why you treat it like a pc and actually be responsible and have anti scanners on your device go to school and study cause until you do you just look like a fool cause if you are really that gullible than stay clear of electronics and fyi trojans are NOT viruses and anybody claiming they are don't know as much as they think they do and forget about using satalite charger cause hackers are going to have fun with that and take over the world so be aware cause theres no room in the high tech world for noobs
[Galaxy Tab 2 General] Zagnutty:
With that said, punctuation is your friend. :)
[Galaxy Tab 2 General] hersh40:
I asked a while ago but no one answered. So I'm going to try again. I hand the script working on my 32 gig micro sd but can't get it to work on 64 gig micro sd. Can anyone help?
[Galaxy Tab 2 General] kidy3k:
So I want to flash a custom rom. Will the swap still work if I do this?
[Galaxy Tab 2 General] FourPlay26:
A Quick Question, will this script work on the GT-P5110 Samsung Galaxy Tab 2 10.1?

Thanks
[Galaxy Tab 2 General] Zagnutty:
What class card is the 32? Maybe it has to do with transfer speeds?

I dont see why not. May have to reapply the script. Read previous pages and see if anyone else has used a custom rom with this.

I'm not positive, but I think I saw something in previous pages about it not working on the 10. Not sure though, so read previous posts.

And heres another thread regarding anoher swap script, for the 3110. Might be some useful info in that thread.

[MOD] Swap internal sdcard with external sdcard p3110 - http://xdaforums.com/showthread.php?t=1881967

Sent from a rooted candy bar
[Galaxy Tab 2 General] rsage:
Confused - hopefully someone can clarify. I've read conflicting information about where apps are installed after using this mod/script. Will apps still be installed on the old/original/small partition which commonly causes the "insufficient storage space available" error? Or will apps now be installed according to the remapped sdcard?
[Galaxy Tab 2 General] yamani_25:
Guys, any luck for P3100? i do really need it for my P3100

Thanks
[Galaxy Tab 2 General] ProfessorBean:
is their a GUI interface for this script? is there a list of roms this works on? i have the p3113 rooted and CM recovery so i'ts a little less-brickable, i can test out scripts :svetius:
[Galaxy Tab 2 General] darkmace71:
It works for my P-3100.
[Galaxy Tab 2 General] yamani_25:
oh great, but can you please share what did you do man?

thanks
[Galaxy Tab 2 General] darkmace71:
I basically just followed the instruction on the first post.

Make sure that the script file is place in /data/data

I use ES File Explorer (1.5 Cupcake) and SManager.

Hope it helps
[Galaxy Tab 2 General] explicitKC:
this is probably a stupid question but i just wanted to make sure. does this work with any rom?

edit

after reading more i have another question.. is it /data or /data/data?
[Galaxy Tab 2 General] ShapesBlue:
/data/data as indicated in the previous post to your question

Sent from my SCH-I535 using Xparent ICS Tapatalk 2
[Galaxy Tab 2 General] explicitKC:
i know but in OP it says /data. Which is why i was asking which one was correct
[Galaxy Tab 2 General] ShapesBlue:
Sorry wasn't trying to sound rude. It's data/data

Sent from my SCH-I535 using Xparent ICS Tapatalk 2
[Galaxy Tab 2 General] chiquito3:
This worked for me but after a reboot it stoped working. It says that the SD Card file sys tem is not compatible. Then after another reboot it does not recognize it anymore and goes back to the internal SD card of 4gb.

Any idea why?

Btw I'm on Sungsonic V3 ROM and it worked great the first time but then it didn't after first reboot.
[Galaxy Tab 2 General] St0n3s:
I'm a total idiot when it comes to doing something like this.

Any chance someone could write up a detailed step by step tutorial on how to do this?

Thank you in advance if you can :)
[Galaxy Tab 2 General] Lakland:
See the first post
[Galaxy Tab 2 General] St0n3s:
I did!

Do you think i'd be asking if i was able to figure it out?
[Galaxy Tab 2 General] St0n3s:
There is no option to do what you mentioned above.

"-----------------to do this with ES file manager just press and hold down on the file and look at its properties. At the bottom you can see Permissions, hit the Change button and check-mark everything for user"
[Galaxy Tab 2 General] rakeshbro:
Finally!!! it's working on my tab 2 p3110

Will this process work on other samsung device? Like Samsung Galaxy Core.
[Galaxy Tab 2 General] nycdave:
Does anyone know if there is a custom rom that this will work on???

I got it working on the stock rom but I really wanna upgrade to cm10 and im seeing thst its not compatible.

Thanks!!
[Galaxy Tab 2 General] king200:
I upgraded to the latest release of stock 4.2.2 and the script seems to no longer work. On the mount, I get resource ~ 'busy or being used'. I tried changing the sleep times to lower and higher values but that didn't work.

I'm from good at this sort of thing. I'd appreciate it if someone that knows would take a look and see if this can be fixed. I've been using the script since 4.0.x and I has been most helpful.
[Galaxy Tab 2 General] ShapesBlue:
No need to run the script if your on 4.2. It now enables app to SD. Don't forget to enable dev options as its disabled by default

Sent from my SCH-I535 using Xparent ICS Tapatalk 2

---------- Post added at 04:15 PM ---------- Previous post was at 04:13 PM ----------

Not sure about custom roms yet. I'm liking 4.2.2 so far except for the slight lagging at times

Sent from my SCH-I535 using Xparent ICS Tapatalk 2
[Galaxy Tab 2 General] king200:
I'm not so sure that helps that much. I think that moving data to sdcard (internal storage), moving the data from the system space /data/data. I don't think it's relocated to mnt/extsdcard. The data seems to be going to mnt/sdcard/Android/appname/. The benefit of moving an app to sdcard is that it frees up space allocated to system memory. That's has not been a problem for me because there is adequate space there.

I would be prevented from installing some apps. TomTom has a mapset that is >2gb. I don't have that much storage left (1.87 gb) on my internal sdcard. I wouldn't have the opportunity to move the maps to my MicroSD card. I also have to edit a .xml file to point TomTom app to the maps. The daily Wallstreet Journal uses about 700 mb/week that it caches in /sdcard in a .wsj..... The .FolderNames are hidden. The only thing I see in Developer Options is "allow mock locations" and I don't know what that is and I never had to use that before.

None of that was concern with swapping. The only programs that had trouble were the ones that leave the system and use Recovery. Mobile Odin and Rom Manager.
[Galaxy Tab 2 General] ShapesBlue:
I have a 32gb card and Yea I don't have much internal memory myself. Don't know off hand though. I used to use another script not this one that I think I still have on my Dropbox acct but I'm not certain if it works with 4.2 or not

Zooming through space with Hyperdrive on my S3
[Galaxy Tab 2 General] king200:
Actually, it is only moving the app and not the data from the app. When you are in the managing applications and move a selection to the sdcard, you can look at the previous lines and see how much actually gets moved.

Still need the script!
[Galaxy Tab 2 General] sjc001:
Where did you get 4.2.2 for 3113, please?
[Galaxy Tab 2 General] ShapesBlue:
Check out the following thread http://xdaforums.com/showthread.php?t=2421040

Zooming through space with Hyperdrive on my S3

---------- Post added at 10:00 PM ---------- Previous post was at 09:58 PM ----------

Yea I did notice a script I ran which was similar to this that swapped the internal and external but still managed to fill up the internal even though it was being used as external

Zooming through space with Hyperdrive on my S3
[Galaxy Tab 2 General] faisalemir:
works on p3110?
[Galaxy Tab 2 General] yamani_25:
Yea, so far its worked for me on p3110 and p3100
[Galaxy Tab 2 General] hysteria24h:
Not worked on P3100 stock rom 4.2.2,

Even on 4.2.2 now enables app to SD still not enough for 8Gb internal version

so plz help how to make it work on 4.2.2?thx
[Galaxy Tab 2 General] ShapesBlue:
Not sure how to get it to work. I also have the 8gb version

Zooming through space with Hyperdrive on my S3