SD Card Swap and Lost Apps - Samsung Galaxy Player 4.0, 5.0

I used the instructions from iJimaniac to swap my storage from internal to external (love the mass storage now!) however all my apps that I originally had moved to the SD card have suddenly disappeared and now i have to remember and re-install them. I made a copy of everything under /mnt/sdcard and moved it to my external SD card before making the switch so that everything would still be linked ok. Any ideas on what went wrong? Note: i took everything on my external SD card and put it in a separate folder on my external SD card so I wouldn't lose any of that.

Well, I used a PC to copy .android_secure folder from the real external_SD to the new "fake" external_SD. If that doesn't work, I would copy back the original vold.fstab then move all apps to internal, then use modified vold.fstab and move your apps back to sd if you want. Remember to reboot after making a change. Several reboots might even be needed for all apps to show up (might want to try that before anything). Hope this helps!

Ok well the problem is apparently that the .android_secure folder on the sd card is empty. Strangely it also has no permissions and refuses to let me change it. Whenever i try to replace it with the full .android_secure folder it gives me a black screen and i have to restart. Any idea what might be wrong?

Well, it might not actually be empty, it looks empty when viewed with an android file browser, but when you look at it on a computer (might need to disable "hide protected system files" in windows folder options) you should see stuff in it. So, you need to copy the .android_secure folder FROM your REAL microSD card TO your REAL internal memory using a pc, not an android file browser. To be clear, I have figured out that android transfers the app to your sd card when you select "move to usb storage", so that can be deceiving. Your apps were on the sd card, but now you need to transfer them to your usb storage by moving the .android_secure folder. Hope you figure it out!

Ah something decided to start working again and all my apps came back! Thanks for your help!

No problem! What was probably wrong was your player was rebuilding the dalvik-cache. It sometimes takes a while I find. Glad you got it working.

Related

Intermal Memory Mounted as /sdcard

I was confused for the first few days when I would tell an app to backup its settings on the sdcard and then later they couldn't be found. I just realized that HTC has the internal memory mounted as /sdcard and the MicroSD card mounted as /sdcard/ext_sd/
This is a great idea IMO and I always wished it was this way on my Incredible. I always hated how on my Droid and my Incredible that all my settings files were crapping up my sdcard instead of the internal memory (which I rarely ever used for storing stuff), it made it a pain to find things when you were placing the MicroSD card in other devices since you had to hunt through all the settings folders.
The more I use this phone the more I like it.
brando56894 said:
I was confused for the first few days when I would tell an app to backup its settings on the sdcard and then later they couldn't be found. I just realized that HTC has the internal memory mounted as /sdcard and the MicroSD card mounted as /sdcard/ext_sd/
This is a great idea IMO and I always wished it was this way on my Incredible. I always hated how on my Droid and my Incredible that all my settings files were crapping up my sdcard instead of the internal memory (which I rarely ever used for storing stuff), it made it a pain to find things when you were placing the MicroSD card in other devices since you had to hunt through all the settings folders.
The more I use this phone the more I like it.
Click to expand...
Click to collapse
Direct link is sdcard2
This messed with me for a lil while. I was trying to restore backups of my launchers and other stuff.
Had to mount it on my comp and move needed files to the internal sd and left other junk on ex sd.
now im rocking 7gb internal and ~20gb external. wtf am I going to do with all this space?
I'm not a fan of it by any means. I think they should have made internal SD2 and let the actual SD card be sdcard. Titanium saves everything to the internal memory now because of its name, which is stupid. And I don't see anywhere to change the directory Ti saves to, just the folder name. So anytime I do a backup, I have to copy the folder from internal memory to the SD card. I'm not sure what else is performing the same actions, hopefully not everything else.
This also really complicated folks like me with Exchange accounts that require encryption of your card. Since the internal memory is now listed as a sd card it encrypts the internal drive too stopping others programs from writing to it
Sent from my ADR6425LVW using Tapatalk
rboddy said:
I'm not a fan of it by any means. I think they should have made internal SD2 and let the actual SD card be sdcard. Titanium saves everything to the internal memory now because of its name, which is stupid. And I don't see anywhere to change the directory Ti saves to, just the folder name. So anytime I do a backup, I have to copy the folder from internal memory to the SD card. I'm not sure what else is performing the same actions, hopefully not everything else.
Click to expand...
Click to collapse
Ok so how do I save to my sd card not the internal mem
Sent from my ADR6425LVW using xda premium
rambo8987 said:
Ok so how do I save to my sd card not the internal mem
Sent from my ADR6425LVW using xda premium
Click to expand...
Click to collapse
Only think I have been able to figure is everything is saved to the internal sd and you have to manually move it to the extra sd.
Imagine all the people that arent tech savy. They are going to fill up the internal and think they have no more room.
rboddy said:
I'm not a fan of it by any means. I think they should have made internal SD2 and let the actual SD card be sdcard. Titanium saves everything to the internal memory now because of its name, which is stupid. And I don't see anywhere to change the directory Ti saves to, just the folder name. So anytime I do a backup, I have to copy the folder from internal memory to the SD card. I'm not sure what else is performing the same actions, hopefully not everything else.
Click to expand...
Click to collapse
1st, make sure that whatever from Titanium that is on /sdcard is moved over to /sdcard2 then in Titanium:
Press Menu button, scroll down to Backup Folder Location and press that. Press "DETECT!" and then press "WHOLE DEVICE" It should locate the spot on /sdcard2. After choosing that, press "Use the current folder" and you should no longer have to manually move stuff from internal to external.
What I have yet to try on this phone is to move my apps and pictures to the internal "sdcard" then use a program like "MyBackup Pro" to run scheduled App, Photo, and Data backups to the External card (I don't believe Titanium will backup your photos which is why I say use that). That would mean that not only would my apps, pics and data be stored in its own partition internally, but I would have a true redundant backup location in case my phone craps the bed.
I'm running 3.7.5 and don't see any option for Detect, all I can do is change the name.
rboddy said:
I'm not a fan of it by any means. I think they should have made internal SD2 and let the actual SD card be sdcard. Titanium saves everything to the internal memory now because of its name, which is stupid. And I don't see anywhere to change the directory Ti saves to, just the folder name. So anytime I do a backup, I have to copy the folder from internal memory to the SD card. I'm not sure what else is performing the same actions, hopefully not everything else.
Click to expand...
Click to collapse
You can change the Titanium backup directory (you'll have to do it during temporary root). I did and pointed it back to where my backup files were on the SD card that had been in my Incredible. It's possible it's only available with the paid Titanium version (but that is an app I didn't mind paying for).

Issue with music and pictures in external_SD

EDIT: Could this please be moved to the T-Mobile Samsung Galaxy S II Q&A section? I just found it. Sorry for the error.
I have a Telus Galaxy S II X (same as T-Mobile S2) running 2.3.5 not rooted that was bought on October 28th 2011. I do not want to use an SD card since I have almost 12GB of built in storage available. I had originally inserted an 8GB microSD and had music and images on it. I have since put that SD into my wife's phone since she only had a 2GB card and I have lots of internal space available.
When I put music and pictures in the external_sd or USB_storage folders which are the 11.54GB partition of my phone, the default music app and the 3 music app do not see the music. Pictures are also not seen by the gallery. If the music and picture folders are moved to the internal 2GB system partition, both music apps see the music and gallery sees the images. If I move the 2 folders back to the external_sd partition they are no longer seen. When I move an MP3 to the internal 2GB and started the 3 app, in settings, the storage section shows External 11GB (11GB free) since I moved my test MP3 to the internal memory. In the directory filter setting it shows external_sd and USB_storage as music directories. Something is definately wrong here.
I have defaulted my phone 3 times via hardware keys, via the OS, formatted USB storage and no change.
I called Samsung and this is what I was told...
"The USB Storage and external_sd are only for downloaded content via the phone (apps and other) and not for music and photos. You must use an SD card for music and other items."
This was after registering my Telus Galaxy S II X on the Samsung Canada Webs site. It is possible that the Telus version is different than other versions, but I find this ridiculous.
I cleared the music app cache, no change. Telus confirmed that the Samsung rep confirmed that ICS will be out for my phone in March/April. This will completely rewrite the system and will change everything, but I would like to know if what is happening right now is normal or if Samsung is feeding me a line. Any help/feedback is greatly appreciated. Thank you in advance.
I'm little confused of what you said, the phone (SGS2) has normaly ~ 11.3GB of internal storage allocated or mounted as /sdcard, regardless of the name this is the internal storage, then the external SD card is mounted as external_sd within the same folder structure (/sdcard/external_sd), if you don't have any SD installed the external_sd this not used. You may want to add your music in the internal storage (e.g. /sdcard/media/music) then you may want to make sure you don't have a .nomedia file in the folder (nor in the folder tree) specially in the root (/sdcard).
elbermu said:
I'm little confused of what you said, the phone (SGS2) has normaly ~ 11.3GB of internal storage allocated or mounted as /sdcard, regardless of the name this is the internal storage, then the external SD card is mounted as external_sd within the same folder structure (/sdcard/external_sd), if you don't have any SD installed the external_sd this not used. You may want to add your music in the internal storage (e.g. /sdcard/media/music) then you may want to make sure you don't have a .nomedia file in the folder (nor in the folder tree) specially in the root (/sdcard).
Click to expand...
Click to collapse
I thought the same thing, but after reading this is what I have come to understand. The Galaxy S2 4G has 16GB of memory. Some is OS, 2GB is internal use and 11.25GB is called USB storage (also has a directory called external_SD). The 11.25GB is part of \sdcard, but used or seen separately. The actual SD card is not the external_sd folder on the phone. I can't recall what the name was, but it is something else. See the attached screenshot from my phone. I will get my 2GB SD out and plug it in to see the name it is given.
When I refer to external_SD and USB_storage I am referring to the 11.25GB of storage availble in the phone.
EDIT: When I put an MP3 in the system storage 2GB everything is fine, but when I put it in the USB storage partition nothing is seen.
OK, seems that I remember incorrectly. When a microSD card is inserted it is seen in the external_sd folder. The problem that I have with that is the folders that I had placed in that directory before inserting the card, were stored in the 11.25GB portion, but no longer show up!
Here is more information on my issue.
When I insert a microSD card it appears as external_sd
With the card inserted the folders (music and images) that were in the external_sd folder which was part of the 11.25GB, were no longer visible
I removed the card, the music and images folders reappeared in external_sd. I moved them to the usb_storage folder and reinserted the microSD
I have attached 2 screenshots.
If I move MP3s and images to the microSD (external_sd) files are seen. If the microSD is not in the phone and the 11.25GB is used for external_sd then why are the music and pictures not being seen by the apps? Even with the folders and files in usb_storage they are not seen. It is ridiculous that 11.25GB of space would only be available for app data when installing apps.
EDIT: When files are in the \sdcard they are seen, there is no problem with that aspect, only when in the usbstorage 11.25GB portion. How can I see if there is a .nomedia file?
Xerses_frm_HoFo said:
Here is more information on my issue.
When I insert a microSD card it appears as external_sd
With the card inserted the folders (music and images) that were in the external_sd folder which was part of the 11.25GB, were no longer visible
I removed the card, the music and images folders reappeared in external_sd. I moved them to the usb_storage folder and reinserted the microSD
I have attached 2 screenshots.
If I move MP3s and images to the microSD (external_sd) files are seen. If the microSD is not in the phone and the 11.25GB is used for external_sd then why are the music and pictures not being seen by the apps? Even with the folders and files in usb_storage they are not seen. It is ridiculous that 11.25GB of space would only be available for app data when installing apps.
EDIT: When files are in the \sdcard they are seen, there is no problem with that aspect, only when in the usbstorage 11.25GB portion. How can I see if there is a .nomedia file?
Click to expand...
Click to collapse
Forget the external_sd folder, it is used for the external sd card when inserted. As what you refer to the USB Storage in the screenshot is the actual /sdcard or the 11.3GB, so when you write in the /sdcard you are you are using this 11.3GB portion. As you said when you put files in the /sdcard folder you should be able to "see" them. You can put music files in the /sdcard/media/music/ and the pictures in /sdcard/DCIM/pictures (just a suggestion).
There is another folder /sdcard/usbstorage, i'm not sure but this is used when mounted USB OTG (like putting a card reader).
---------- Post added at 03:54 PM ---------- Previous post was at 03:51 PM ----------
And when I said "is the actual /sdcard" is the /sdcard folder.
OK, I am going to try to put more than 2GB in and see what the storage meters say. My original understanding was that the full 11.25GB was only available via the usbstorage folder and the 2GB Internal Storage was \sdcard.
Will try and post back. This phone storage description should be made more clear somewhere!
Eureka!!!
Finally someone who understands how the storage system works in the S II X!
I dropped about 1GB of music into \sdcard\Media\Music and the USB Storage meter is the one that goes up. The Internal Storage meter stays at 673MB.
Thank you once again, this finally clears up how internal storage on this phone works. I can't believe that the Samsung support was unable to explain this to me when I told him what I wanted to do!
I will be putting this information (referring to you) in my post on Android Forums!
Thanks again!
Glad I could help...
Regards,

Thinking of upgrading sd card...does FAT allow more than 4GB on new standard

what is the typical file size for a typical file
ALSO can I simply copy and paste from the old to the new sd card, if some apps function off my external (ie cloud services) and expect programs to recognize all my data on my external card no problem?
Or is organizing, cleaning up syncs (ie maybe permissions change with a new card) a longer process than that?
BUUUUUMP
zetsui said:
BUUUUUMP
Click to expand...
Click to collapse
Not sure but your apps on sd card not surely gonna be copied unless you copy the .androidsecure folder from sd which is hidden on Media and Camera usb modes. You can copy it by using UMS mode.
It can be changed using an app but it requires root. On very old devices this is the default mode. all your data are likely to be preserved. BUT IF CAUSE OF ANY OR ALL DATA LOSS, I AM NOT RESPONSIBLE. And, plus don't copy from sd to sd. copy from sd to pc and from pc to sd. Better if you use a card reader which is also gonna show you the .androidsecure folder removing the need of anything. HIT THANKS IF I HELPED
or am i misunderstanding your question?
So your saying as long as I copy the hidden folder I'm good?
Also what Android version are you talking about? ICS file system VERY different from 4.1.2 and Kitkat

Folder not mounting

My galaxy s5 started showing memory full when all storage programs said there was about 5 gb left.
I downloaded foldermount and it said it found the issue so it was going to repair it.
Well after I rebooted. The internal sd card(phone memory) is not mounting.
When connected to the PC, it shows 128mb.
on ES FIle explorer SDCARD shows "???" and when I attempt to open it ask what file I want to open it with, but with the program storage analyzer it finds the "data" folder just fine and lists all the files and folders within it.
In the phone settings options, it can show the amount of memory being used along with the media, mp3, apps, so the Folder is still there along with all the info, it is simply not mounting properly?
Thank you.
UPDATE: I found the path of where all my files are at, but the phone is not mounting it as the internal storage?
It is located at data/media/0 and mnt/sdcard0 or mnt/sdcard1 are missing.
* Aside from Phone being rooted, there were no other modifications
* Phone is running on original OS(as opposed to roms or such)
*There is not an external sd card in the phone
Folder mount will not do anything for you really without an SD card. After you use it to clear space you need to unmount all the folder it mounted to view what is actually in the folders. If not it will show the folder that it is linked to and look like it never worked. Changing your system data to SD data in your case keeps it in internal memory and does not free it up. You need to use folder mount with a SD card for it to help you. Saved me over 500Mb with it on my s5
intenselyinsane said:
Folder mount will not do anything for you really without an SD card. After you use it to clear space you need to unmount all the folder it mounted to view what is actually in the folders. If not it will show the folder that it is linked to and look like it never worked. Changing your system data to SD data in your case keeps it in internal memory and does not free it up. You need to use folder mount with a SD card for it to help you. Saved me over 500Mb with it on my s5
Click to expand...
Click to collapse
Sorry, long story short,
My phone mnt/sdcard and sdcard links are no longer there. Is there a way to recreate the links? Certain apps are still able to function because they are using the actual link, device/media/ect, ect, /0/ folders as opposed to mnt/sdcard/
I saw on another forum that
su
echo mkdir /storage/sdcard0 > /data/local/userinit.sh
chmod 700 /data/local/userinit.sh
reboot
May help, but not sure if it is only for roms and not for original OS.
On another forum there was talk about recreating a syslink?
Solved:
Simply went to "system/bin" and erased the "sdcard" file and renamed the file "sdcard.backup" to "sdcard". Rebooted and it solved the issue.

How to avoid mounting external sdcard as sdcard0

Hello,
when inserting an external SD card, the internal memory card is then mounted as sdcard1 and the inserted external card is mounted as sdcard0. So Android starts writing a lot oft data to the external SD card.
How can I avoid this? Android should not touch the external SD card. I want to copy pix, music and backup manually to it.
Any suggestions?
Hi just go to settings =storage and then change default write disk to phone storage
yascooluk said:
Hi just go to settings =storage and then change default write disk to phone storage
Click to expand...
Click to collapse
Hello,
and you have tested this by yourself? If I insert an external SD card, switch to "default write disk to phone storage" and delete ALL data on this SD card, Android
immediately starts to write to data on it:
The folders "LOST.DIR", ".thumbnails" and "Android" are created. In the folder "Android" there is the folder "data" with several App-Data in it.
Even some Apps like WhatsApp start to write data to the external SD card.
So, switching to "default write disk to phone storage" does NOT keep Android away from writing data to it.
For example, on my Galaxy Tab Pro 8.4 the external SD card is mounted as "sdcard1" and no files are written to it automatically.
I browsed the web for hours, but did not find any solutions for this problem. It is not a big thing, but it is annoying.
:crying::crying::crying:
I have the same problem also on an old smartphone with MT6582 processor and Android 4.1.2.
It's an old problem, I think that it's a way of manage memory for smartphones based on MTK processors and there aren't solutions.
But I would like this to be denied
What about changing sdcard1 and sdcard0 , in the mount point file:
https://www.youtube.com/watch?v=sK2O92kgki0
You must be root.
When i have time to root my phone i will try.
I am having the same problem and it is very annoying. Why can't Android leave alone my Sdcard? I only want to storage music and some files there.
@yascooluk
Settings =>storage => default disk write storage "Phone" has no effect. Lots of Apps point to sdcard0, which is now the external sdcard.
@ndouchin
This Solution worked for Android Versions prior 4.3. In Android 5.1 there is no vold.fstab file, and swapping mounting points works differently now, but i didnt' figure it out yet.
Yes you are right, fstab is in boot.img in lollilop, if I believe what I read ;
http://forum.xda-developers.com/showthread.php?t=2426804
Maybe try to unpack and pack boot.img:
http://www.mtkroms.com/2015/02/unpackrepack-bootimg-and-port-kernel.html
Sorry I have no time to work on my device , i have not already rooting it, and the internal memory is enough for me.
I've managed to root my device, but i'm not skilled enough to do this boot.img operation. Too many things that can go wrong. As the source code for this device was already released, I'll wait and hope until some developer can find a solution.
XinternalSD is the solution. Try it. regards
Sent from my HERO1 using Tapatalk

Categories

Resources