Related
As Samsung changed the default mount point of phone memory to \mnt\internal_sd and give a symbolic link \mnt\internal_sd --> \sdcard, it gives a lot of issues.
Just wondering if there is any linux / phone mode expert can change the default mount point of memory to \sdcard ? If this is possible, then we can test and see if it can fix some issue (like run update.zip, GameLoft etc)
Anyone?
Probably can be done in the initramfs init.rc.. But we should first be sure why this new structure has been chosen. What kind of issues do you get by the way?
Many games simply don't work if their data is on the sdcard.
Sent from my GT-I9000 using XDA App
Or just wait for a better/official Froyo updates.
Kinda like wasting time fixing these bugs on test firmwares when you know the official version won't have this problem.
okay,
1. I removed the symbolic link /sdcard
2. created a new empty directory /sdcard and granted 777 to the new /sdcard
3. mounted the internal memory to /sdcard
has no luck
What the problem is? I installed Gameloft game like Asphalt to the phone memory, but then it says I need to have an SD card in order to download package from Internet.
Anyone have now any solution to this? I need to change the mount point of the external sd because i want to use spotify with a 16 GB micro sd.
Thanks! and sorry about my very very bad english :S
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 ?
Hello everybody!
As per title I am opening gallery and it sees only items installed in the internal sd, how can I let gallery look at .jpg files registered on the EXT SD ? I am not used to this filesystem. For example linking through USB to the car audio system let you listen only to songs installed on the internal SD.
ALL other considerations on the ROM are: perfect, particularly regarding battery life. Didn't find options for my SIP number account, using Sipdroid flawlessly .
Regards.
Alessandro
Try to force media files check. Go in Settings , Sdcard and memory, and unmount/remount sdcard.
Thanks for your reply, tried also folders rescan in dev tools, seems it scans EXT EMMC also but no results . Must look into some older thread in Acer Liquid, I remember smthg regarding a COOLIRIS.MEDIA file in sdcard in order to let device look into specific media for the type of files.
Will come back with results .
Regards , Alessandro.
So, I found that msg., but it regarded an old 2.2 version of Android for the Acer Liquid, and it said to cancel file in Android/data/, all the files in Cooliris.media, and reboot; maybe System remounts files in the SD when scanning for media and rebiults this file properlY ( it seems now untouched from the 23 of December ). Turning to EXT 4 as I am now maybe left EXT Sdcard unchanged: even if I set photos to be recorded in the external, photo is actually recorded only in internal SD ( which is a bit ..... full now, with nandroid etc. ) .
Need help.
Regards
Alessandro
solved
Found I had from 5/1/2012 a .NOMEDIA file in the root of External SD: deleted it and ... problem solved.
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.
Hi guys, I updated my P880 to V20B and now have problems with using the external SD properly. I found it being mountend to storage/external_SD and I can read/write there. BUT: I can't set a folder on it as the backup location in Super Backup (as I could before), my LG notes aren't backed up automatically to the external SD location (as it was before), and I expect many similar problems to arise with time.
Formerly, the external SD was mounted to mnt/sdcard/external_sd, if I remember correctly. Now this symbolic link (?) is missing. When I performed the update and then first booted the updated device, I had the external SD removed to make sure my backups were safe. Might that be the reason for the missing link? My questions are:
1. Should I flash the kdz again with the SD card inserted? Or at least perform a factory reset?
2. Or could the link be created afterwards, preferrably without rooting my device? Would that solve the problem, at all?
Any suggestions would be greatly appreciated!
Nothing?
How about formatting SD card ? Did you tryed that ? On 20a my card is read as storage/external_SD just fine.
dimi89 said:
How about formatting SD card ? Did you tryed that ? On 20a my card is read as storage/external_SD just fine.
Click to expand...
Click to collapse
Hey dimi, thanks for the suggestion! However, I am afraid you didn't read my post very carefully. I wrote that I actually CAN read/write to my external SD. But I cannot set the path in applications like Super Backup (when I navigate to some folder on storage/external_SD, the button "Select this folder" is inactive). And I suspected it is because it is no subpath of mnt/sdcard anymore. Also, some apps like LG notes don't write/backup to the external SD by default any more, and some of them unfortunately are not configurable.
That's the reason why I thought creating a simbolic link for mnt/sdcard/external_sd (as it was before) might solve the problem. However, I am absolutely not sure of this (plus: how to achive it) and would be happy about an expert's opinion.
pegnose said:
Hey dimi, thanks for the suggestion! However, I am afraid you didn't read my post very carefully. I wrote that I actually CAN read/write to my external SD. But I cannot set the path in applications like Super Backup (when I navigate to some folder on storage/external_SD, the button "Select this folder" is inactive). And I suspected it is because it is no subpath of mnt/sdcard anymore. Also, some apps like LG notes don't write/backup to the external SD by default any more, and some of them unfortunately are not configurable.
That's the reason why I thought creating a simbolic link for mnt/sdcard/external_sd (as it was before) might solve the problem. However, I am absolutely not sure of this (plus: how to achive it) and would be happy about an expert's opinion.
Click to expand...
Click to collapse
In super backup i couldnt set path since first day i downloaded it and today i tryed again with new version of app and it is the same.SMS backup is working fine so i suppoust it is problem with app (maybe in pro version it will work).
dimi89 said:
In super backup i couldnt set path since first day i downloaded it and today i tryed again with new version of app and it is the same.SMS backup is working fine so i suppoust it is problem with app (maybe in pro version it will work).
Click to expand...
Click to collapse
I can set path anywhere on storage/sdcard, but not on storage/external_SD. Also the Notes application doesn't back up to external SD, as it did before. Coincidence? Maybe. I will find out with time using other applications.
Am I right that creating symbolic links without root access is not possible?
pegnose said:
I can set path anywhere on storage/sdcard, but not on storage/external_SD. Also the Notes application doesn't back up to external SD, as it did before. Coincidence? Maybe. I will find out with time using other applications.
Am I right that creating symbolic links without root access is not possible?
Click to expand...
Click to collapse
Idk about creating links but it is not coincidence that you and me cant select any folder on external_SD i guess it is app bug or maybe as i sad premium version requirement.
dimi89 said:
Idk about creating links but it is not coincidence that you and me cant select any folder on external_SD i guess it is app bug or maybe as i sad premium version requirement.
Click to expand...
Click to collapse
It worked on 4.0.3.
Hi again, I made some progress here!
I managed to create a symbolic link to my external SD (I am on a rooted CM10.1.3 now), but that didn't help. I could use it within the ES file explorer for navigation, but not within Super Backup (didn't see it). So I tried to MOUNT the external SD instead. Here is the command I finally used:
mount -t vfat -o rw,umask=000 /dev/block/mmcblk1p1 /data/media/0/extSD
No errors, I can access my SD via this mount point with ES file explorer, and I can navigate into this top folder now with Super Backup and select it as backup location. BUT I can't actually back up here, as Super Backup can't write, I guess ("backup failed").
I was hoping that this "umask" parameter would do the trick, but unfortunately not. Interestingly: when I navigate with Super Backup to this new backup location, all the subfolders of my external SD card appear as files, not folders.
I am pretty sure, it is nearly done and only has to do with setting the right permissions.
Does anyone have an idea what I could try now?
EDIT: I just unmounted, applied "chmod 777 /data/media/0/extSD" and remounted again (this time with "rwx" parameter). No changes.
Ok, I am back to 4.0.3 ICS and everything is fine.