[Q] Remove mnt folder - Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A

Ok my friend i having problem with his xperia ray as when ever he try to install game the .apk file installs nicely but when he puts the data folder into android\data of game and when he starts a game the game isn't taking the game data from
SD card\android\data because i thinks the mnt folder before sd card i mean
mnt\sd card\android\data is causing the problem!!
Any method to remove the mnt folder??

Dont remove the mnt folder - you'll bork your phone... To the android OS you'd be doing something similar to physically cutting out the hard disk interface of your computer while it's working... a very, very bad idea.
you can however try formatting the sd card and perhaps it would be worth also stating the name of the software you're trying to run.

Easiest way to check if this is causing the problem is to either create a directory called 'SD Card' and mount the card there, or perhaps symlink the current /mnt/sdcard. There are a host of pages online telling you how to do this - have a google at it!

So Guys thanks!! but i'm unable to supply the data files to the game
even i put the data files in sdcard\android\data
the game still asks me to download the additional data files
the same game working fine in x10 mini as there is no mnt directory before sdcard
anymore suggestions please..

I downloaded gta 3 the info said that the problem you are talking about will show up and I had to like press back when the download data came up and then minimize the game then start it again or something like that I don't really remember.
Sent from my ST18i using xda premium

make me laugh
there's a sdcard folder in the root directory, that's exactly the same as mnt\sdcard...
I bet you did not explore it...

Related

Removed apps I shouldn't have...

Got a bit of a problem here...
Not even too sure what I'm doing, to be honest.
I rooted my phone, and removed a ****load of stuff with Titanium Backup...
Two of those were the Backup Assistant, and the default Launcher.
Right after doing so, I saw people were talking about how you shouldn't do just that. Also read that a way to fix it is to put the Fascinate's system dump APK's back onto my phone via the SD card... Here's my problem.
When I mount it via USB, to transfer files to my SD card, my phone says, "No SD Card Detected", and my computer just brings up a 14.7GB Removable Disk image. The contents of it include...
Code:
Android (Folder)
bluetooth (folder)
data (folder)
DCIM (folder)
launcherpro_backup (folder)
layar (folder)
LOST.DIR (folder)
media (folder)
PRIVATE (folder)
TitaniumBackup (folder)
Wapedia (folder)
busybox
com.sh
createlagfix.sh
playlogos1
su
superuser.apk
update (archive)
userinit.sh
What exactly am I looking at, and how do I get access to my SD card?
that should be ur sd card when connecting thru ur pc it read it the sd like a usb drive and will label as such seeing as the phone only has 2gb of space im positive that 15gb is ur sd
Sent from my FroyoEris using XDA App
I also removed my backup assistant as of now my phone still works fine just wanna get it back on there just in case anything happens. I downloaded the fascinate sys dump file put it on my sd card I tried opening the apk it didnt work. obviously im doing something wrong can anyone help me will gladly appreciate it.
Sent from my SCH-I500 using XDA App
devlp1213 said:
that should be ur sd card when connecting thru ur pc it read it the sd like a usb drive and will label as such seeing as the phone only has 2gb of space im positive that 15gb is ur sd
Sent from my FroyoEris using XDA App
Click to expand...
Click to collapse
Well that doesn't really help me at all. Whether or not it IS my SD card doesn't matter, I need my phone to recognize it as such. All applications say that I don't have an SD card inserted into my phone.
I'm not positive that I'd actually NEED any of those applications though, as I'm not sure how to get to the System folder in my phone in the first place. I need access to the Systems folder, so that I can replace all the APK files that need to be present before resetting my phone to factory settings.
I finally found a file management app (Astro) that will see my SD card as well as the actual folders on the phone. Problem is, I don't have permissions to paste the files I need, into the /system/apps folder...
Anyone know how I can get around this?
You'll need a file manager that's capable of accessing protected system folders. Root Explorer is by far the best app for this, and though it's not free, it's not terribly expensive (around $3). Otherwise, if you happen to know your way around linux terminal commands, you can install a terminal emulator app for free and copy files that way. If you have no idea what a terminal emulator is, or how to use a linux command line environment, then don't even attempt it, just buy Root Explorer.
ivorycruncher said:
You'll need a file manager that's capable of accessing protected system folders. Root Explorer is by far the best app for this, and though it's not free, it's not terribly expensive (around $3). Otherwise, if you happen to know your way around linux terminal commands, you can install a terminal emulator app for free and copy files that way. If you have no idea what a terminal emulator is, or how to use a linux command line environment, then don't even attempt it, just buy Root Explorer.
Click to expand...
Click to collapse
Didn't want to bother paying for it, so I just downloaded it, and loaded it on with a backup installer. (They worked fine with a lot of apps, just not the two I had to have on there.)
Used it to copy-paste the files I needed in the directory.
Hopefully now, when I reformat, things will be alright. Fingers crossed, will keep you guys posted.
Successfully factory reset. Booted up with TWLauncher, no snags. One strange thing, though, is the Backup Assistant app still isn't on the list. I hope I'm not missing something that'll come and bite me in the ass later, now...
(Also, SuperUser is still on there, which is kinda weird. I guess rooting it involves the SD card more than anything else, right?)
Theoretically, if I didn't ACTUALLY have Backup Assistant on here, and I tried to update to FroYo when it comes out... What's the worst that could happen?
DuoCultellus said:
I finally found a file management app (Astro) that will see my SD card as well as the actual folders on the phone. Problem is, I don't have permissions to paste the files I need, into the /system/apps folder...
Anyone know how I can get around this?
Click to expand...
Click to collapse
you have to copy paste via RootManager

[Q] Can't update apps on SD card

Dear All
I can't update the apps that moved on SD card, but has no problem after moving back to phone ? Anyone know the solution ? Thanks
I had the same problem. I was able to resolve the problem by mounting my phone to USB. Then delete the file smdl2tmp1.asec in the /sdcard/.android_secure/ directory.
After deleting the file from the sdcard, I was able to install all apps again
you can do two thgs.
1:delete the file smdl2tmp1.asec in the /sdcard/.android_secure/ directory wt he said if not
2:you may try this, go to setting and choose save to phone instead of sd card. this may allow updates.
cphkelvin said:
you can do two thgs.
1:delete the file smdl2tmp1.asec in the /sdcard/.android_secure/ directory wt he said if not
2:you may try this, go to setting and choose save to phone instead of sd card. this may allow updates.
Click to expand...
Click to collapse
i can't find the .android_secure folder. does my phone need to be rooted?
finally!
After reading through a million posts and blogs and pulling out my hair, it was the smdl2tmp1.asec causing all my problems!!! Thanks for the post! Of the hundreds I've read, this is the first reference to the right thing.
any other ideas?
I'm having the same problem. That directory on my phone says it's empty. Yet
, I still can't update apps on the SD card. Any other ideas?
Another path
My .android_secure folder was also empty but other sources said there's another folder to look,
./mnt/secure/asec/
this folder requires root access and using root explorer

[Q] moving apps data file to external sd card

i would like to move the apps downloaded data file to external sd card
i have try app2sd but result is not promising
it does not move the data file (still in the internal memory or known as /sd)
i using script manager to help with the code as below
#!/system/bin/sh
sleep 60
mount --bind /sdcard/external_sd/gameloft/ /sdcard/gameloft/
or
#!/system/bin/sh
sleep 60
mount -0 bind /sdcard/external_sd/gameloft/ /sdcard/gameloft/
Click to expand...
Click to collapse
which one is correct?
for now gameloft is successfull at the moment
but if i use on other folder like from "ea" it is not successfull it tend to read back to the internal memory card which require me to redownload the data again
sometime it can read at external but once i restart, it fail again
if i got few app needed to use the command (currently gameloft, ea, lexi-comp) i wanted the data to stay in external sd card
should i create 3 different file for the script manager to run or i just create one single file and dump all 3 command into one single file?
your reply is very much appreciated
I try something similar with DCIM and MEDIA
I tried something similar with folders DCIM / Camera, Media and Music
I create a script with the script program manager and even try to get into the rc.d but I have not found a way to run at startup and run it from root explorer no problem but to run automatically at startup does not work
Use this http://forum.xda-developers.com/showthread.php?t=1410262

[Q] Cant see files that I copy to the SD card over USB

I have been searching for answers on this and so far found nothing. Sorry if its already been covered somewhere I didn't find.
The SD card is working fine in the pone.
When I put it in a usb adapter to plug into my pc it mounts fine and I can copy files to it without any errors but when I put it back in the phone I cant see the files?
Same thing happens when I plug the phone into a pc with USB and copy the files.
The files are still there because when I plug back into the pc I can see them.
Anyone know why I have this issue please?
Many thanks
Ben
Try unmounting an remounting the sdcard in the Settings menu.
Have you tried other filemanagers than the stock one?
I can't confirm your issue but it sounds like a caching issue.
Have you tried turning it off and on again? =)
I have a similar issue , I have files that I have copied over to the phone sd card and wanted to use a file manager to move them around into different files however none of the file managers seem to see the files
Sent from my GT-I9300 using xda premium
d4fseeker said:
Try unmounting an remounting the sdcard in the Settings menu.
Have you tried other filemanagers than the stock one?
I can't confirm your issue but it sounds like a caching issue.
Have you tried turning it off and on again? =)
Click to expand...
Click to collapse
I am using ES File Explorer
I have tried rebooting the phone and also (after you said) mounting and unmounting the SD card. The Issue remains the same.
Does anyone else have this issue or any ideas?
If you're connected to PC as MTP mode, try to switch to camera transfer mode..
Maybe this will help?
External and internal sdcard mount points
After some more investigating I have discovered that what is displayed as /sdcard/ is in fact the phones internal flash memory and the actual SD card is mounted as something else.
There you have 2 folders in /mnt
/mnt/sdcard >> taht is the internal flash storage
/mnt/sdextcard >> that is the inserted sd card
http://mono-for-android.1047100.n5.nabble.com/detect-SD-Card-path-td5710218.html
This explains why I could see the files i copied to my sd card on my phone as my phone wont enable me to see the actual external SD card.
Was surprised I couldn't find an actual thread about this on the forum.
I can see that creating a mount point for called SDCARD within the internal memory will allow apps that default large content files to use this space without complaining but this means that although Samsung allow SD cards to be inserted they cannot be used with a standard set up?
So is there any way for me to get to this other mount point without root access?
I thought, for a change, I might hold off rooting my phone but this might spur me on...
Afaik Android does not have a concept of "internal" SD card. (Which is the or at least a reason why most phones have a separate data partition)
However when phone manufacturer's started offering internal storage capacity for normal files, they just used the sdcard.
The name of the external sdcard varies from phone to phone and manufacturer.
I can remember that the name of the external sd card on my S1 was /sdcard/external_sd/ (no /mnt as with the S3 !)
On current Cyanogenmod for the S1 it's /mnt/emmc/ which seems to be introduced as some sort of "standard".
This variety in naming shemes and the possibility of a phone not having internal SD-card storage, only having internal SD-card storage or having both _SHOULD_ make app developers give you the option where to store it.
If it doesn't it's a restriction in the app, not the sdcard.
Solution[/b[
If you are rooted you can easily bypass these restrictions with a simple trick. Make sure the app is terminated before attempting this!
Go to the terminal emulator and type:
Code:
su
mkdir /mnt/sdcardext/APPFOLDER
cp -rvf /mnt/sdcard/APPFOLDER /mnt/sdcardext/APPFOLDER
mount -o bind /mnt/sdcard/APPFOLDER /mnt/sdcardext/APPFOLDER
You've now told Android to re-route all filesystem access'es transparently to the external SDcard while the app still believes it's on the internal one.
Note that you'll have to run the following after every boot (or have it run as auto-start) since mount's are not persistant.
Code:
su
mount -o bind /mnt/sdcard/APPFOLDER /mnt/sdcardext/APPFOLDER
Thank you for the explanation on this d4fseeker. Really all I wanted to do at this time was be able to access the external SD or point to it as a content location. But I will bookmark the solution for forcing apps to use it.
No I know what I know I have rooted my phone, curtesy of Chainfires guide here and can now see the extSDCard directory
houseofcutler said:
I am using ES File Explorer
I have tried rebooting the phone and also (after you said) mounting and unmounting the SD card. The Issue remains the same.
Does anyone else have this issue or any ideas?
Click to expand...
Click to collapse
In ES file explorer, you can go to your external SDcard by open Menu (left capacitive button), then select Manager and then SD card Analyst.
it will show /sdcard,,, it means internal SDcard. You have to touch "Disks" icon (the second from the left), then select /mnt/extSdCard. Eventually you can browse your external SD.
I don't know if there is the easier way. Or you can use the stock explorer app "My files", it is easier to browse the external card but with less function than 3rd party app.
That does work thanks - Turns out I purchased Root Explorer a while back so I have installed that and set the home directory to be the external SD mount point. Still need ES though for when I am copying across my network
jackie_jerk said:
In ES file explorer, you can go to your external SDcard by open Menu (left capacitive button), then select Manager and then SD card Analyst.
it will show /sdcard,,, it means internal SDcard. You have to touch "Disks" icon (the second from the left), then select /mnt/extSdCard. Eventually you can browse your external SD.
I don't know if there is the easier way. Or you can use the stock explorer app "My files", it is easier to browse the external card but with less function than 3rd party app.
Click to expand...
Click to collapse
I have quite the same problem but another way around. I can see all the (music)files in the phone but when I connect the phone via USB to my PC I can only see a few (about 30) of the files in the folder. I have booted the PC and the phone, took the SDcard also out and in. Also when I insert the SDCard to the PC's cardreader I can see all the files, so I quess the problem is in the phone. Any ideas how to solve this?
Not sure what your issue is but my advise is to confirm you a definitely looking at what you think you are - that was my problem before.
For example when the Phone is connected to your PC:
Create a text file called phone.txt in the 'Phone' Directory
Create one called card.txt in the 'Card' directory
Then use the built in 'my files' browser or whatever app you use to see if the files are where you think they are.
Might help...
d4fseeker said:
Afaik Android does not have a concept of "internal" SD card. (Which is the or at least a reason why most phones have a separate data partition)
However when phone manufacturer's started offering internal storage capacity for normal files, they just used the sdcard.
The name of the external sdcard varies from phone to phone and manufacturer.
I can remember that the name of the external sd card on my S1 was /sdcard/external_sd/ (no /mnt as with the S3 !)
On current Cyanogenmod for the S1 it's /mnt/emmc/ which seems to be introduced as some sort of "standard".
This variety in naming shemes and the possibility of a phone not having internal SD-card storage, only having internal SD-card storage or having both _SHOULD_ make app developers give you the option where to store it.
If it doesn't it's a restriction in the app, not the sdcard.
Solution[/b[
If you are rooted you can easily bypass these restrictions with a simple trick. Make sure the app is terminated before attempting this!
Go to the terminal emulator and type:
Code:
su
mkdir /mnt/sdcardext/APPFOLDER
cp -rvf /mnt/sdcard/APPFOLDER /mnt/sdcardext/APPFOLDER
mount -o bind /mnt/sdcard/APPFOLDER /mnt/sdcardext/APPFOLDER
You've now told Android to re-route all filesystem access'es transparently to the external SDcard while the app still believes it's on the internal one.
Note that you'll have to run the following after every boot (or have it run as auto-start) since mount's are not persistant.
Code:
su
mount -o bind /mnt/sdcard/APPFOLDER /mnt/sdcardext/APPFOLDER
Click to expand...
Click to collapse
But doesn't this simply relocate 100% of APPFOLDER to the microSD card and still leave no option to have Apps in both flash locations? Or will programs like App 2 SD somehow now be able to relocate apps back to the internal flash partition (aka "internal sdcard")?
Ah, nevermind. "APPFOLDER" is a single application's appfolder, not a directory with all the apps. So this should be something an app could do on any rooted S3 with a nice gui and persistence through some service mod in init.d or whatever Android uses in its place, yes?
Ok, was just digging around in /mnt/sdcard and while a few apps have obvious directories there, most do not. What's more, being an android noob, I'm not sure where their directories would be located (app manager doesn't say either).
Anyone care to point me in the right direction? Also, is there a way to install some other standard linux shell commands like more and grep?
Thanks.
Sent from my GT-I9300 using XDA

[UPDATE]possibility to move ANY game data to sdcard2 ;)

hi there, thats it
is there any possibility to move the games-data to the sdcard2?
i couldnĀ“t get gl2sd to work correctly. it moves my data, but my games dont recognize it and begins to download the data again (yes, i mounted the storage ^^).
ive got a 32gb sdcard, it would be awesome to get something to work in that direction.
----
Update:
YES I GOT IT! thx google and a guy named sergey_f1 ( credits goes to him, i only changed it for tablet s)
here it is: (example galaxy on fire2)
mount -o bin /mnt/sdcard2/net.fishlabs.GalaxyonFire2THD /mnt/sdcard/Android/data/net.fishlabs.GalaxyonFire2THD
in scriptmanager with SU + Boot on
please confirm if i made something wrong. im not a dev nor am i used to it-basics ^^
but for now it rocks
This should work. One thing to be wary of for new users reading this:
You're not actually really moving game data anywhere. You are simply making the folder /mnt/sdcard/Android/data/ be actually stored on another filesystem device. Anyone who has used Linux would understand the concept of remounting a folder elsewhere. The biggest difference with this (for your average user) is that if you remove the SD Card, you will not be able to use those games properly as their data storage location is now completely invalid, not just that the files are missing. This also means that if you are, for example, copying files from the /mnt/sdcard/Android/data folder onto your PC, you won't save any space on your internal storage, since that folder is mounted elsewhere.
As you said, that should work, its just a good idea to know technically whats going on before people start remounting FS's all over the place.

Categories

Resources