[Q] Link between folders possible ?How to make auto-script ? - Galaxy S I9000 Q&A, Help & Troubleshooting

Hello,
As I have a problem with not enough internal memory for gameloft titles, I`ve inserted my 8GB Sd card into my I9000, just to find out it is attached as "external_sd" folder.
I was thinking about using my external card as "gameloft" folder.
So my question is: how to make a link between "gameloft" folder on internal sd memory so that it links directly to inside of the"external_sd\gameloft" folder ? I know it can be done- I did smthg like this when playing with app2sd (moving dalvik cache, app and other folders to ext partition on my SD card on my previous phone).
I also need some proposal on how to automate the process of making this link - for example: how to create some script and put it in auto-startup, so every time I reboot my phone, the link persists.
I think this way many people would be able to increase their space with external SD cards

If you know how to make script put it in /system/etc/init.d folder and it will execute at every startup.Give full permission on script.

http://www.google.com/search?q=gameloft+game+external+sd
Coding rule #1: Don't reinvent the wheel if you don't have to.

Rubysz said:
http://www.google.com/search?q=gameloft+game+external+sd
Coding rule #1: Don't reinvent the wheel if you don't have to.
Click to expand...
Click to collapse
Coding rule #2: Square is a square, but inventing a wheel is something that runs the civilization forward
Really, you thought that I didnt check all the possibilities ? Using somebody simple program, wchich only changes settings inside of apk is not what I`m interested for, especially this works only for gameloft games, and I`d like to have the feature without digging in any apk file.
I was thinking about this - I also came up to conclusion, that dynamic links work only under linux partitions (for ex: ext2,ext3,ext4) and not on fat32 system, which we have on our internal memory and sd cards.
My second thought was that I remember in the times of good-old dos it was possible to make a link between folders, but in this case we have a mix - linux os + fat32 partitions.....
I have to digg how to make a auto-link script cause I dont remember too much of linux scripting/command line.
edit: do You think that using this command is enough: ln -s /sdcard/gameloft /sdcard/external_sd/gameloft
could it be so simple ? should it work with fat32 ?

bipbop said:
should it work with fat32 ?
Click to expand...
Click to collapse
No. FAT32 doesn't support
symlinking.
Sent from my GT-I9000 using Tapatalk

xxbeanxx said:
No. FAT32 doesn't support
symlinking.
Sent from my GT-I9000 using Tapatalk
Click to expand...
Click to collapse
ok, but what about mount command (mnt) ??
As I understand, Android = linux.
If so, we have internal memory mounted as "sdcard" folder and our external micro sd mounted as "sdcard\external_sd" , right ?
So, question is, can we make a script to unmount "sdcrad\external_sd" and mount as "sdcard\anything" ??I think this would be great , as we could mount the sdcard as any folder - for example as "Android" or "Gameloft", thus increasing available space very much .
Anybody can make this kind of simple auto-start script ?

bipbop said:
So, question is, can we make a script to unmount "sdcrad\external_sd" and mount as "sdcard\anything" ??
Click to expand...
Click to collapse
Have a look at /system/etc/vold.fstab
Sent from my GT-I9000 using Tapatalk

xxbeanxx said:
Have a look at /system/etc/vold.fstab
Sent from my GT-I9000 using Tapatalk
Click to expand...
Click to collapse
ok, going deeper
Is it possible to link mount point to another folder ?

Related

[MOD] Mount SD card as a folder of internal memory for CM7

This seems to be the best solution if you just want to stock mounting in cm7, I don't know if build.prop changes with every new nightly so you'll probably have to edit it after every flash.
Stikkontakt said:
SOLUTION:
1: Create a folder in your internal SD Card (in my case "ExternalSD")
2: Edit vold.fstab:
Code:
dev_mount emmc /mnt/sdcard/ExternalSD auto /devices/platform/tegra-sdhci.2/mmc_host/mmc1
dev_mount sdcard /mnt/sdcard 9 /devices/platform/tegra-sdhci.3/mmc_host/mmc2
3: Edit /system/build.prop
Code:
# Mount the internal SD card, too
ro.additionalmounts=/mnt/sdcard/ExternalSD
your external sd card is now mounted inside internal sd card. If you go to settings/storage, it will come up as unavailable, but the external content is inside your selected folder
Click to expand...
Click to collapse
nomedor said:
After that you can mount external sd as a folder of internal by using this command in terminal emulator:
Code:
mount /mnt/emmc /mnt/sdcard/_ExternalSD
The problem is that it can't survive boot and you have to write this command by hand every time. I tried to make it run on boot by adding the command in \system\etc\init.d folder as a text file but it didn't work, although it should.
Any help is welcome
Click to expand...
Click to collapse
That's why it didn't works!
Thanks for bring it up! I hope someone will help you becouse the way stock roms mount sd card is way better!
pushing it up, since this here is an interesting topic. It does indeed make more sense to mount sdcards like the stock roms mount it...
Hopefully someone can figure this out.
Also i noticed that if you do not mount emmc/_ExternalSD it gets recognised by the pc and otherwise not. This could be coincidence since i'm struggling hard with mounting my sdcards to my mac...
Unfortunately you are right, after this trick pc can only see the external sd card!
Maybe this isn't the right way to do it or somehow it needs to automatically unmount before you connect the phone on pc and then on disconnect remount it again.
Sadly my knowledge is limited, but I think that a real developer can do it in a heartbeat.
I'm not a real developer, but I remember that the modified fstab has to be put inside the kernel ramdisk.
I have found these two perl scripts somewhere on the net. They can be used to extract and repack the boot image. Could be possible that the base address has to be modified to work on the O2x, haven't tried it myself yet.
Zip including the scripts are here:
h t t p ://tuxfighter.de/Share/Scripts/
___
Sent from my Optimus 2X using Tapatalk
This is easy peasy lemon squeezy . For me at least since ex-dev.
Instructions:
Get root explorer (cba giving adb commands on my phone)
Mount r/w
Go to etc/vold.fstab
Mount r/w again
Long press the file and click open in text editor
Now at the bottom swap the mounts. Sdcard to /mnt/emmc
And
emmc to /mnt/sdcard
Save and exit.
Delete backup and reboot.
I will post a flashable zip if you want soon.
DONT FORGET TO THANK ME!
EDIT: just read first post properly. It should work on every boot. It is for me on my g2x. Try my easy method
The problem is that I can't find a way to mount external SD in "/sdcard/_externalSD" from vold.fstab where /sdcard is internal memory, just like stock rom.
It should be possible...
nomedor said:
The problem is that I can't find a way to mount external SD in "/sdcard/_externalSD" from vold.fstab where /sdcard is internal memory, just like stock rom.
It should be possible...
Click to expand...
Click to collapse
Have a look at the stock vold then
Sent from my LG-P999 using XDA App
I copied stock vold into CM7 and i got neither internal SD nor external SD then.
ranrick said:
I copied stock vold into CM7 and i got neither internal SD nor external SD then.
Click to expand...
Click to collapse
I've already tried that. I can't understand why people are not interested in this
yeah, there are almost no applications which can use /mnt/emmc. So 1 partition is almost useless at current situation.
Any progress?
Sent from my Optimus 2X using Tapatalk
ranrick said:
yeah, there are almost no applications which can use /mnt/emmc. So 1 partition is almost useless at current situation.
Click to expand...
Click to collapse
Y dont u put all your pics,videos and music in emmc and leave sdcard for application data?
Sent from my LG-P999 using XDA App
webstar1 said:
Y dont u put all your pics,videos and music in emmc and leave sdcard for application data?
Sent from my LG-P999 using XDA App
Click to expand...
Click to collapse
Because we have to do It for EVERY new photo/Video
Stock's ROM vold.fstab is mounting /sdcard/_externalSD but this is not working on CyanogenMOD, it could be a CM7 "problem" after all!
No update? CM7 way to mount sd sucks IMHO!
katun79 said:
No update? CM7 way to mount sd sucks IMHO!
Click to expand...
Click to collapse
if you want to test it (please do a nand backup before!), than try my kernel and add the -internal flag to it.
Download this
rename to vorkKernel-080611-internal.zip
and flash it.
It is untested, because I don't want this behaivour and I made it because a user requested it. So no gurantee that it will work etc.
Bennee:
From what i see in vold.fstab file in the flashable zip it only swaps paths...
Any luck mounting external sd in "/mnt/sdcard/_externalSD" ?
nomedor said:
Bennee:
From what i see in vold.fstab file in the flashable zip it only swaps paths...
Any luck mounting external sd in "/mnt/sdcard/_externalSD" ?
Click to expand...
Click to collapse
there is a additional mounting script + some permission fixes. Should be called on every boot up (mount /mnt/emmc /mnt/sdcard/_ExternalSD).
Benee said:
there is a additional mounting script + some permission fixes. Should be called on every boot up (mount /mnt/emmc /mnt/sdcard/_ExternalSD).
Click to expand...
Click to collapse
But it doesn't... _ExternalSD is empty with your kernel.

[Q] Convert SDCard to MainMem so External_SD becomes SDCard?

Hi there,
Is there a way to make the add the internal SD card to the main memmory? So that there would not be an internal SD card anymore?
I do not mean swapping the moutpoints around so my External_SD becomes my primary and my internal my second....
I want to get rid of the internal one alltogether (adding it to main memory).
I figure that I'll have to format the storage in a certain way... would that do it?
Can someone tell me step by step what to do?
I do have CW-mod installed.
I did search the forum, but couldnt find anything conclusive. Just hints that it should be possible...
If there already is a thread where all this is explained, please point me to it, because I couldn't find it.
Thanks,
Pfeffa-rah
I don't think this is possible , never heard of someone who did it
I have no idea how to do that. My question is... why would you want to do that?
Having an internal_sd partition adds the benefit of having big app data (such as those in Gameloft games) sit in a very fast partition and still be called "sddata".
Also, it's mountable via PC so everything in there can still be backed up. So it's best of both worlds really.
This was discussed some time ago in this thread: http://forum.xda-developers.com/showthread.php?t=1013575
There were ideas on how to remount the cards at boot. I myself come to the conclusion that since more phones start to behave in this way, app developers will have to start dealing with it. It just sucks they are mostly slow on the uptake. My main problem was the Spotify cache location being hard coded so I resorted to hack the Spotify apk.
PS. salisbury_steak: What is it with people like you that every time someone has a question on how to do something, your immediate response is "But why would you want to do that?!".
sorech said:
PS. salisbury_steak: What is it with people like you that every time someone has a question on how to do something, your immediate response is "But why would you want to do that?!".
Click to expand...
Click to collapse
That was actually an honest question.
I wanted to understand why he wanted to do it. (i.e. What would be the advantages of it.) There was no supposed sarcasm in there.
how about the ability to install 5x more applications?
Having that stupid 5gb partition as sd card and the real sd card as a sub folder is retarded...
My 32GB class 10 cars is a lot faster than the internal one.
The internal 5gb memory is MUCH TOO SMALL!!! Most apps don't allow you to store data on the external card. If you like me and many others install some games that download aditional data + a nav app that downloads maps for europe + some streaming music app like wimp that can cache music for offline play then you are ****ed with LG's setup.
The setup CM7 uses solves the main problem but effectively wastes the 5gb by mounting it at emmc where like 0,0001% of apps are able to access it.
So adding those otherwise wasted 5gb to the main memory would be great. But i have not seen any solution to that yet :-(
Thank you Gensplejs for explaining that to them. I had no idea how to reply to that since it seemed so obvious to me.
This thread was ment to be a question about how to do it and not to discuss the usefullness of it. That is where I lost the way in other threads...
So, thanks for your replys all (realy).
But now, back On-Topic:
How would I do it?
Sent from my LG-P990 using XDA Premium App
Please don't blame me if you tried it and you screwed up your phone.. It's your choice...
Well, I don't know if this would work, but this is how I would do it (accepting the fact that I'd loose almost 2GB of /data's free space):
1. Format your internal sd card to the same file system as your /data partition is (ext3 or ext4)
2. Copy every file from /data 1:1 to your sdcard (cp -R /data/* /sdcard)
3. I don't know when and where the partitions are mounted (maybe init.rc??)...anyways change the target there and let /data point to the internal sd card partition (so it is ensured that it is mounted automatically to the new location)
4. Reboot and keep your fingers crossed
I think i figured how to do it in theory. First we need some free space at our microsd to cp /data. Then we should repartition with fdisk /dev/block/mmcblk0p8 and p9 into one partition and change vold.fstab to mount only externalsd at /sdcard as we do when we swap partitions. In theory it should work but i cant test it right now or make a script since ve gone vacations and i dont have a pc to restore in case of error
I agree.. certain apps wont store to sdcard.. its better to use the whole 8gb as phone storage, and use external sdcard as default sdcard.
Sent from my LG-P990 using XDA App
What ive found till now is that sd swapping is easy. You can do it by tweaking only vold.fstab. But repatriationing is a pain in the ass. Looks like lg has "faulty" partitions or something and to do it you must mesh up with with almost half partitions.
I had to rebuilt boot lgdrm recovery data and sdcard to make em half work. So it probably isnt worth the trouble. Also I think init.rc is built on the boot. So just remounting internal sd to /data wont work either.
sectors is not space
it says 7996, so thats 8GB
i saw it in hurry. the brain sometimes belives whats he want to belive
sorry
New to XDA
Hello everybody,
I'm new to android and i'm trying to find out how to solve the problem posted in this thread.
I see you've got the awnser but i don't know how to do this.
I've been searching google and XDA for ever but i just can't find the awnser.
Could you make a step by step howto or point out to a post how to do this.
I mean converting your external sd to ext4 and change the mounting points.
I'm a complete nood, i didn't get adb to work on my pc, ext4 recovery is not for the p990 2x.
I've read something abbout changing fstap for swapping te mounting points for sdcard and emmc, witch is also ok for me, but formating to ext4... wel i frankly don't know how to do this.
I'm quite stuk on this.
The only partitioning experience i've got is Gparted in Ubuntu or repartitioning in Windows 7.
Thans in andvance!
Greetz,
JMG
http://android.modaco.com/topic/347...-partitions/page__gopid__1821791#entry1821791
check this
you can expand data partition , but there is a limitation of 1.75gb
Thanks davjan
Thanks davjan,
As far i can see it's indeed not worth it.
I wil have to go on and try to find out how to change the filesystem to ext4 and swap the internal and external sd.
That way i get more usable space instead of a big datastorage witch cannot contain program data.
But thanks for the quick reply.
Jean Michel Gaar said:
Thanks davjan,
As far i can see it's indeed not worth it.
I wil have to go on and try to find out how to change the filesystem to ext4 and swap the internal and external sd.
That way i get more usable space instead of a big datastorage witch cannot contain program data.
But thanks for the quick reply.
Click to expand...
Click to collapse
what rom are you using? is your phone rooted?
swapping internal with internal sd is very easy
and most of the roms here on xda are ext4 , if you instal one of them they autoconvert to ext4
Jean Michel Gaar said:
Thanks davjan,
As far i can see it's indeed not worth it.
I wil have to go on and try to find out how to change the filesystem to ext4 and swap the internal and external sd.
That way i get more usable space instead of a big datastorage witch cannot contain program data.
But thanks for the quick reply.
Click to expand...
Click to collapse
I you read the link provided you'll see that it makes what you want: grow internal filesystem = lower SDcard usable space. The only thing is that it doesn't seem possible is to use the whole space: system limitation. 75Markus tried high /system and /data values and phone didn't work.
See in his Mediafire Folder, 'Nvflash + guide for changing Partitions:
http://www.mediafire.com/75markus
Ext4 is now common with custom ROMs (in fact all of them).
You should search in sd-ext partition system, which was designed to artificially expand filesystem on older phones using an 'ext' partition. I didn't heard anybody using this on O2X.
If you use CyanogenMod based ROMs, your external card will be mounted ad /sdcard by default.
Switching internal and external SD
Thanks guy's,
I'll check it out.
I've been using cyanogenmod 7.1 stable with vorkkernel 20110208.
But that gave me batterydrains while using maps and nextvid ate the same time (while i'm driving).
Now i'm trying MIUI 1.11.11 with latest swift extreme.
But MIUI is very buggy so i'm thinking of going back to CM.
The only thing is that my phone won't boot with the latest vorkkernel.

[SD-EXT] Script to mount SD-EXT at boot

Many people have it but those who don't, need it badly
Very Big Thanks to Fire rat for sharing his knowledge with us
Here is his thread:-
http://forum.xda-developers.com/showthread.php?t=679572
What does it do?
If you have any second partition of SD Card
(ext2, ext3, ext4), it makes a directory SD-EXT in the root of mobile and mounts it at every boot.
NOTE: It is not a script for moving any Data or App from Internal memory to EXT Partition, it just creates that directory.
Its for those who are not using(or even using) any script for moving data to next partition and want to just make a prominent directory of SD-EXT.
For eg, if someone is using Link2SD, then the second partition is mounted as /data/sdext2 and not as /sd-ext
So they can't, well, do a lot of things.
Required:-
*Custom ROM with init.d support
*Busybox(not sure if compulsary, but it would be better to have it)
*Root Explorer
*Patience
*Mind
Method:-
1. Download the file in the attachment. Extract it.
2. Go to Root Explorer.
3. Copy the file (03mountsd) you just downloaded.
4. Go to /system/etc/init.d (There is also a shortcut- /etc in root of phone, both are same, NO PROBLEM)
5. Select Mount as R/W.
6. Make backup of your 03mountsd(some files for mounting SD Card may be different from 03mountsd, so you have to use common sense and choose the script which is used for mounting SD Card) [In special condition, there may be no script for mount the SD Card Partition, if so, skip thus step]
7. Paste the downloaded file in there.
8. Set Permissions. Every block must be ticked
Tick means X here
Read Write Execute
...X........X..........X......
...X........X..........X......
...X........X..........X......
9. Reboot
If correctly and successfully done, you will see SD-EXT directory in root of your phone after reboot
If it is not seen, reboot your phone
If again, check again if you had pasted it properly
If again, Download SManagerAds
Select to browse as root
Browse to /system/etc/init.d
And click on 03mountsd and click on (android skull with crossbones)[Root] icon and (blue gear)[Boot] icon and click save and Reboot.
Download
View attachment SD-EXT.zip
Regards
IamAreebJamal
Hmm good post but corn mode script solves this all .
If i helped you there is a tiny button in lower left side (thanks) click it
debsattam said:
Hmm good post but corn mode script solves this all .
If i helped you there is a tiny button in lower left side (thanks) click it
Click to expand...
Click to collapse
Cronmod doesn't work for me and many other users
And also for those who don't want to use scripts for transferring the data
i think this is the same method that i use and lost my IMEI number
marchellei said:
i think this is the same method that i use and lost my IMEI number
Click to expand...
Click to collapse
No; I am using it and I have IMEI
iamareebjamal said:
No; I am using it and I have IMEI
Click to expand...
Click to collapse
is this better than cronmod?
marchellei said:
is this better than cronmod?
Click to expand...
Click to collapse
I told you bro that it does not move any apk or data to sd-ext
This looks like it might solve a problem for me because I'm running both Titanium Backup and Link2SD and wanted to use TB to move app data to my ext2 partition.
Unfortunately I'm still using a stock ROM, so there isn't an init.d available to modify. However, I am using SManagerAds to run a V6 Supercharger script at boot. Does the 03mountsd script need to be in init.d?
Updated
Can anyone explain. ME the 6th step
And where can I find 03mountsd????
Thank you
Sent from my GT-S5830i using xda premium
I already have this sd- ext on my root. I am not using an scrpts. I just partioned my SD card and using Link2SD to move apps to sd
Sent from my GT-S5830i using xda premium
Can anyone explain it
rahulnandwani said:
Can anyone explain it
Click to expand...
Click to collapse
?????????????????????????
Sent from my GT-S5830i using xda premium
rahulnandwani said:
?????????????????????????
Sent from my GT-S5830i using xda premium
Click to expand...
Click to collapse
Nobody??????
Sent from my GT-S5830i using xda premium
iamareebjamal said:
Many people have it but those who don't, need it badly
Very Big Thanks to Fire rat for sharing his knowledge with us
Here is his thread:-
http://forum.xda-developers.com/showthread.php?t=679572
What does it do?
If you have any second partition of SD Card
(ext2, ext3, ext4), it makes a directory SD-EXT in the root of mobile and mounts it at every boot.
NOTE: It is not a script for moving any Data or App from Internal memory to EXT Partition, it just creates that directory.
Its for those who are not using(or even using) any script for moving data to next partition and want to just make a prominent directory of SD-EXT.
For eg, if someone is using Link2SD, then the second partition is mounted as /data/sdext2 and not as /sd-ext
So they can't, well, do a lot of things.
Required:-
*Custom ROM with init.d support
*Busybox(not sure if compulsary, but it would be better to have it)
*Root Explorer
*Patience
*Mind
Method:-
1. Download the file in the attachment. Extract it.
2. Go to Root Explorer.
3. Copy the file (03mountsd) you just downloaded.
4. Go to /system/etc/init.d (There is also a shortcut- /etc in root of phone, both are same, NO PROBLEM)
5. Select Mount as R/W.
6. Make backup of your 03mountsd(some files for mounting SD Card may be different from 03mountsd, so you have to use common sense and choose the script which is used for mounting SD Card) [In special condition, there may be no script for mount the SD Card Partition, if so, skip thus step]
7. Paste the downloaded file in there.
8. Set Permissions. Every block must be ticked
Tick means X here
Read Write Execute
...X........X..........X......
...X........X..........X......
...X........X..........X......
9. Reboot
If correctly and successfully done, you will see SD-EXT directory in root of your phone after reboot
If it is not seen, reboot your phone
If again, check again if you had pasted it properly
If again, Download SManagerAds
Select to browse as root
Browse to /system/etc/init.d
And click on 03mountsd and click on (android skull with crossbones)[Root] icon and (blue gear)[Boot] icon and click save and Reboot.
Download
View attachment 1453784
Regards
IamAreebJamal
Click to expand...
Click to collapse
Thanks dude it work's a treat on my HDC A9300 MTK6575 I had to download the .apk to get it to take but at last a striaght forward look at my partition :victory: Now if I can get TWRP to automaticly make a back it up all would be perfect. :good:
I will spread the news Thanks again.
rahulnandwani said:
Nobody??????
Sent from my GT-S5830i using xda premium
Click to expand...
Click to collapse
Sorry bro, this thread got out from my subscribed thread
And I forgot about it
Well, the script is in SD-EXT. zip file attached below.
Could something like this work for this situation?
http://forum.xda-developers.com/showthread.php?t=2227471
Mind of sharing some knowledge?
rahulnandwani said:
Nobody??????
Sent from my GT-S5830i using xda premium
Click to expand...
Click to collapse
Basicly, for what I read in the script, it's for mounting the sd-ext partition with appropriate permissions, now what I don't really get is, why would I need that?
Compatibility issues with certain apps?
El_Dark said:
Basicly, for what I read in the script, it's for mounting the sd-ext partition with appropriate permissions, now what I don't really get is, why would I need that?
Compatibility issues with certain apps?
Click to expand...
Click to collapse
I wanted just my sd-ext partition to be present at every boot
At that time, no data2sd or cronmod was working for our mobile
Can u help me !!
i used ungaze script and second partion not mounting as internal memory.
After every reboot the internal memory get back to default state.
as stated in trouble shooting i remove my sd in recovery mode and mounted sd ext by reinserting the sd and it works like charm.
but it cant be done in normal sytem reboot. so anybody please help me in this issue.
Thanks in advance for your helps.
============================================================================================
Hit THANKS if i helped You in this issue
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
WANT TO MAKE YOUR GALAXY Y AS A HIGH END DEVICE WITH 1.2GHZ , 1 GB INTERNAL STORAGE , HD GAMING , LAGGLESS
GO THE BELOW LINK
EMPOWER YOUR GALAXY Y
Click here

Solved! How to swap the internal sd storage with the external one

Hello everybody.
I'm searching for a way to swap between the internal sd storage and the external one on my Galaxy S3 Mini because the internal storage is not enough big to install games and other big apps. I've seen there is a way for the S3, but I don't know if it's possible for the Mini too...
So, please, if anyone can help me...
EDIT: I've found a way to do that, and it only needs to have a Galaxy S3 Mini i8190 rooted.
Okay let's go.
I took the method from this thread: http://forum.xda-developers.com/showthread.php?t=1886091
But it's not exactly the same on the Mini.
The following quote is the instructions taken from the thread with the improvements ( in red ) for the i8190.
NB: I can't answer to questions since I'm not expert at all, I got it working so I give you the solution, that's all I can do.
1. First, I'd recommend making a Nandroid backup of your phone.
2. Next, just to be extra safe, I would backup your internal SD card to your PC. While you are doing that, if you have data on the external SD card, back that up too.
3. Next, I would format your external SD card to fat 32. (You could probably use Ext format too, but I didn’t test that.)If you already have it in that format, and have content on it, this won't affect the content, but back it up just to be safe. It’s probably better to have the Ext SD blank to begin with, you can always copy back its content from your pc.
4. Next copy the contents of the internal SD to the External SD card. This is to avoid confusion about apps and such.
5. Next install script manager free from the play store:
https://play.google.com/store/apps/...anager&feature=nav_result#?t=W251bGwsMSwyLDNd
It will show up on your phone as S manager ads.
You MUST install BusyBox too!! https://play.google.com/store/apps/details?id=stericson.busybox
6. Download the mod from here: https://dl.dropbox.com/u/6305/SD Card Hack SG3/11extsd2internalsd
( save as ) And put it into the /data directory of your phone
7. You must edit this script for it to work on Mini. Change /mnt/sdcard to /storage/sdcard0 and /mnt/extSdCard to /storage/extSdCard
(This vary depending of your phone, so check where is located internal storage, it was /storage/sdcard0 for me, and the external SD, it was /storage/extSdCard for me.)
8. Open the script manager app, and select Browse as Root in the config screen. Tell it to remember this setting.
https://dl.dropbox.com/u/6305/SD Card Hack SG3/Script manager browse as root and save.png
9. Using Script Manager, navigate to that file in the /data directory. Press and hold the file name until the menu pops up, and click on properties.
(Unix geeks set them to 777, and everyone else copy the picture below. Click OK.
https://dl.dropbox.com/u/6305/SD Card Hack SG3/Permission settings 777.png
10. Click on the scipt now.. Click on the “Is script” button.
11. Now tap on the buttons that say Su, Boot, and Save. The file name will come up in yellow after the save.
https://dl.dropbox.com/u/6305/SD Card Hack SG3/Script manager setting after save.png
12. Reboot your phone and you should see the swap working and be able to access both internal and external SD cards. The external card will show up as sdcard, and the internal card will show up as extSDCard. Your apps should now install to the external card, since your phone will think it's the internal card. Is that confusing? It was to me too!
Good luck and please share your experiences specifying which ROM you used, so that others can avoid frustration.
Thank you’s always appreciated.
Click to expand...
Click to collapse
Try this it might solve you're solution. http://forum.xda-developers.com/showthread.php?t=1410262
Sent from my GT-I8190 using xda premium
No, sorry, I've already seen that but it's not a way to swap the internal with the external sd storage..
Jalubyc said:
Hello everybody.
I'm searching for a way to swap between the internal sd storage and the external one on my Galaxy S3 Mini because the internal storage is not enough big to install games and other big apps. I've seen there is a way for the S3, but I don't know if it's possible for the Mini too...
So, please, if anyone can help me...
Click to expand...
Click to collapse
for big apps or games you need to put a additional "external" sdcard in your galaxy s3 mini..... for example i have installed the game "Need for Speed - Most Wanted" 1,8GB of the game is on my additinal "external" sdcard and the rest (40mb) are installed on device.....
enox.co said:
for big apps or games you need to put a additional "external" sdcard in your galaxy s3 mini..... for example i have installed the game "Need for Speed - Most Wanted" 1,8GB of the game is on my additinal "external" sdcard and the rest (40mb) are installed on device.....
Click to expand...
Click to collapse
I've an external sdcard, I bought one of 32GB, but I can't use it as I wanted to because there is no way to install apps into the sd card. So I'm searching for a way to let know the phone that the external sd is the internal storage and that the internal storage is the external sd card.
I've found a way!
Well what is it then.
Sent from my GT-I8190 using xda premium
kicker63 said:
Well what is it then.
Sent from my GT-I8190 using xda premium
Click to expand...
Click to collapse
Please take a look at my first post. I edited it with the solution.
Hi Jalubyc
I've just tried your solution above and my phone is showing under storage
Device memory Total space 4.54GB
Available 378Mb
SD Card Total Space 29.71GB
Available 27.12GB
So it looks like my first attempt didn't work
Problems I found were firstly at step 6, I couldn't download the mod on phone. I was using chrome and there is no (save as) option. I can only save the link. On PC I saved the page as a text doc and edited the sdcard and extsdcard bits before saving the script. Where is the /data directory? Am I supposed to create a "data" folder in the root of my internal sdcard or copy to the data folder in the android folder? I put it in the android/data/ folder and it didn't work.
Once this is working is it safe to delete the contents of sdcard0 to get my 4.54gb back. I also take it any ROM updates would revert everything back
jazzzy786 said:
Problems I found were firstly at step 6, I couldn't download the mod on phone. I was using chrome and there is no (save as) option. I can only save the link. On PC I saved the page as a text doc and edited the sdcard and extsdcard bits before saving the script. Where is the /data directory? Am I supposed to create a "data" folder in the root of my internal sdcard or copy to the data folder in the android folder? I put it in the android/data/ folder and it didn't work.
Once this is working is it safe to delete the contents of sdcard0 to get my 4.54gb back. I also take it any ROM updates would revert everything back
Click to expand...
Click to collapse
Oh no you're totally out of the solution. The /data directory is at root of the phone, so not in a sdcard. Use chrome from your PC to save as and put in into your sdcard before putting it into the /data directory with ES Explorer or another file explorer that's supporting root.
For the ROM updates I don't know because I've never tried.
I still cannot save the script using 'save as' as I don't have the option. I have 'save link as' which saves it as a text document. Edited it as stated.
I've found the data folder but ES explorer wouldn't allow me to copy my script to it and is showing the folder as blank.I got root browser lite from the play store which worked okay in allowing me to copy to the data folder. I used s manager lite to do its stuff and rebooted. No success - .
I'm using Android version 4.1.2/ Build number JZO54K.I8190DXALL3 .
Are you positive about the /storage/ change to the script as I remember when using directory bind it was /mnt/extSdCard/ and /sdcard/.
There is a /mnt/sdcard/ too which contains the same files as other location so possibly script can run unchanged. Getting a bit frustrated now as I have an old HTC Desire with over 300 apps (70+ games) with internal memory of 137Mb out of 148Mb and 10Gb free on sdcard out of 32gb
---------- Post added at 02:20 PM ---------- Previous post was at 01:42 PM ----------
Ok working now. Your script changes were correct. Device memory total space 29.71GB with 27.12GB free. Sd card total space 4.64gb with 800Mb free.
Now to get my full 4.64Gb back which folder contents do I delete? I think deleting the contents of extsdcard in my files. Thanks you've changed my phone from a very limited phone to something much better.
It is a bit strange way to solve free space problems.
I have 8GB version with 4.5GB free the box. When I installed all games and apps that I needed there was something about 800MB free.
My solution is simple:
1. install Directory Bind
2. Make link: mount="/sdcard/Android/", source="/storage/extSdCard/Android/" with "Transfer Files" option
3. Wait till the end of process (can take alot of time depends from your data)
4. Enjoy!
After this simple manipulations I got 3.6GB free in internal memory, installed 2 additional games (including Need for Speed Most Wanted with huge data) and it shows 3.4GB now.
You can make as much links as you want, of course. But moving "/sdcard/Android/" to external SD is enough
I tried directory bind and it just copied the contents of my internal sdcard to my external sdcard. It didn't move the contents as it was supposed to. I ended up with a copy of the files on both sdcards. If I tried to delete from my internal sdcard it also deleted the contents of my external sdcard. I couldn't for the life of me figure out what I had done wrong as I'd followed the instructions as far as I could tell. Now my phone is seeing a massive internal sd card and a 4Gb external sd card. I still can't get spiderman total mayhem to work though it throws up an error while downloading the game data
you should not bind root folders via directory bind. And it makes symlinks so it will looks like content does not deleted from internal SD but it shown from external SD already.
flashable zip
Hi!
Do you think that is possible to install the mod via a flashable zip?
Many thanks!
Yes it is possible. Take a look of the post for the galaxy s3, it is explained. But you must edit the script to make it working.
plvigo said:
Hi!
Do you think that is possible to install the mod via a flashable zip?
Many thanks!
Click to expand...
Click to collapse
Not possible, we do not have a unlocked kernel, therefore we cannot load unsigned zips.
dolar4ik said:
you should not bind root folders via directory bind. And it makes symlinks so it will looks like content does not deleted from internal SD but it shown from external SD already.
Click to expand...
Click to collapse
Sorry I don't understand what you've written. What do you mean do not use to bind root folders? What's a symlink?Are you saying the folders I'm seeing on sdcard0 are dummy folders and the contents have been moved to extsdcard? I've swapped my sdcards over using the script now so no longer using directory bind.
Jalubyc said:
You MUST install BusyBox too!! https://play.google.com/store/apps/d...ricson.busybox
6. Download the mod from here: https://dl.dropbox.com/u/6305/SD C...tsd2internalsd
( save as ) And put it into the /data directory of your phone
7. You must edit this script for it to work on Mini. Change /mnt/sdcard to /storage/sdcard0 and /mnt/extSdCard to /storage/extSdCard
Click to expand...
Click to collapse
i have two questions:
1: What do i have to do with this data:
#!/system/bin/sh
#extsd2internalsd is a modification that allows to switch internal sd to external sd and viceversa. With this you can use default internal sd only for app storage #and the external sd to store all apps resource and all others stuff. The resut is a very big increase of installable apps on gs3
#All credits to Mattiadj of xda forum for the idea and script and to mike1986 for the cmw zip.
#xda thread url at
#Script Modified for U.S. Galaxy S3s by Zedomax at GalaxyS3Root.com to be compatible when sdcard is not inserted.
busybox mount -o remount,rw /
busybox mount -t vfat -o umask=0000 /dev/block/vold/179:97 /mnt/sdcard
busybox mount -t exfat -o umask=0000 /dev/block/vold/179:97 /mnt/sdcard
if busybox mount | busybox grep vold/179:97; then
busybox mount -o bind /data/media /mnt/extSdCard
fi
Click to expand...
Click to collapse
And 2: how do i edit what is on step 7?
jazzzy786 said:
Sorry I don't understand what you've written. What do you mean do not use to bind root folders? What's a symlink?Are you saying the folders I'm seeing on sdcard0 are dummy folders and the contents have been moved to extsdcard? I've swapped my sdcards over using the script now so no longer using directory bind.
Click to expand...
Click to collapse
Symlink
symlink in human words is just a folder redirect.
For example, you have symlink that links folder "/storage/mydata/" to folder "/sdcard/mynewdata/"
When some application, system or user will try to get data from folder "/storage/mydata/", the data data from "/sdcard/mynewdata/" will be shown but folder path will be not changed.
You should not link root folders such as "/sdcard/", "/" ... coz it may prevent problems.

There is a file on my internal memory I cannot delete. How do I get rid of it???

The name of the file in question is:
í/à=√f+ⁿ.bí£
Yes, that filename has a forward slash in it!!!!!!!!
How do I get rid of this file??
It is preventing me from running NanDroid backups, and I cannot format the partition (bizarrely).
I suspect the filename is corrupted.
If I run ls -il I do not get an inode number, just a series of question marks ?????
Have you tried renaming it and then deleting? Try also a different file manager if that doesn't work (Solid Explorer Trial shouldn't have any problem)
It can't be renamed unfortunately.
I have used a variety of android file managers with no success.
I'm rooted on CM10.1 and have tried CWM tools also.
Sent from my GT-N7000 using xda premium
Connect device as mass storage and delete from PC
still you can't delete it then install unlocker (attached here) to PC and delete with that
This should work otherwise
Last option copy data to PC and format internal memory.
dr.ketan said:
Connect device as mass storage and delete from PC
still you can't delete it then install unlocker (attached here) to PC and delete with that
This should work otherwise
Last option copy data to PC and format internal memory.
Click to expand...
Click to collapse
Thanks Dr. Ketan
I can't delete from Windows or Linux on a PC.
The forward slash confuses both O/Ss.
I'll give the UnLocker a go, thanks very much for that :thumbup:
I've tried formatting through CWM and Android, it fails for some reason.
Sent from my GT-N7000 using xda premium
The unlocker tool didn't do the job I'm afraid.
And Windows would not format the partition.
I found a Windows tool for formatting FAT32 on large memory sticks.
Copied all the files from my internal memory, apart from the dodgy file.
Used the FAT32 tool to format the partition.
Copied all my files back.
NanDroid now works
Awesome
Sent from my GT-N7000 using xda premium
Answer to Question found - please close this thread
Hi moderators.
I have an answer to the question I posed, so happy for this thread to be closed.
Thanks.
FabreFaction said:
The unlocker tool didn't do the job I'm afraid.
And Windows would not format the partition.
I found a Windows tool for formatting FAT32 on large memory sticks.
Copied all the files from my internal memory, apart from the dodgy file.
Used the FAT32 tool to format the partition.
Copied all my files back.
NanDroid now works
Awesome
Sent from my GT-N7000 using xda premium
Click to expand...
Click to collapse
Hello.
I have exactly the same problem as you. Could you explain the way you format the partition? I tried with 3 different usb format tools but I cant find the way to format it from my computer, they dont detect my internal memory as a usb drive and I dont know how to do it
Thank you very much.
diripirate said:
Hello.
I have exactly the same problem as you. Could you explain the way you format the partition? I tried with 3 different usb format tools but I cant find the way to format it from my computer, they dont detect my internal memory as a usb drive and I dont know how to do it
Thank you very much.
Click to expand...
Click to collapse
I had the same issue with multiple files not deleting. The solution I found was the following. I have Chasmodo's Asylym ROM installed, and its kernel has the TWRP recovery, and in advanced settings of that recovery mode you have the option to pick what you want to mount. I connected Note to my PC and picked Mount USB storage in TWRP, and the phone's internal storage was now accessible on my computer. After that, I just formatted it on my PC using the usual method: right click on the drive, Format, picked FAT32 and quick format. It cleaned the entire thing and the freakin files were finally gone. Do keep in mind that this wipes your entire internal storage.
Sent from my GT-N7000 using xda app-developers app
diripirate said:
Hello.
I have exactly the same problem as you. Could you explain the way you format the partition? I tried with 3 different usb format tools but I cant find the way to format it from my computer, they dont detect my internal memory as a usb drive and I dont know how to do it
Thank you very much.
Click to expand...
Click to collapse
Hi
So sorry I haven't replied earlier, I removed the subscription from the thread once I nailed the problem.
Basically you have to connect to the N7000 as a mass storage device.
There are different ways of doing this depending upon the Rom you are using.
This mounts the internal and external drive on the N7000 as drives in Windows.
Then using a FAT32 formatter you can format the internal drive.
It's that simple.
Take it easy.........FF
Sent from my GT-N7000 using Tapatalk
igesem rent
FabreFaction said:
Hi
So sorry I haven't replied earlier, I removed the subscription from the thread once I nailed the problem.
Basically you have to connect to the N7000 as a mass storage device.
There are different ways of doing this depending upon the Rom you are using.
This mounts the internal and external drive on the N7000 as drives in Windows.
Then using a FAT32 formatter you can format the internal drive.
It's that simple.
Take it easy.........FF
Sent from my GT-N7000 using Tapatalk
Click to expand...
Click to collapse
When I face these problems on Linux, usually I use " rm -i * ".
That is the interactive mode of "rm".
So basically the system will ask you to delete each file it founds on the directory. You'll answer "no" for each file except the one you want to delete.
The system should be able to pass the right info to the rm command (I think it will not pass the name but the inode) to delete it.

Categories

Resources