Random sd card clearing - G Tablet Q&A, Help & Troubleshooting

I have had my sd card randomly get cleared 2 or 3 times now. I have TNT Lite 4.40 installed. The last time, about an hour ago, I had put the tablet to sleep and it wouldn't come back awake so I had to hold down the power to get it to start up. It was stuck in the startup animation for 10 minutes so I turned it off and tried again. That time it started up but I got several force closes at startup and all apps on the sd card were gone. I rebooted again but still got the force closes. To get rid of the force closes, I cleared the Dalvik cache and Reset Permissions. I had to use Titanium Backup to restore all of the apps. All apps on the internal memory were fine.
Does anyone know what causes this and how I can prevent it in the future?

When you say "all apps on the sd card were gone", did you mean all apps on the internal sdcard were gone (ie. all apps explicitly "moved to tablet/SD card") ? Or was it the apps on the external SD card?
And, when you say "all apps on the internal memory were fine" did you mean all apps that came with the system (ie all apps in /system/app) are fine or all user downloaded apps (those in /data/app--not moved to SD card) are fine?

All of the apps that I'm talking about I downloaded. Some of them (less than 20) installed directly to the sd card (the internal sd card, not the external sd card). My external sd card remains empty.
When this happened before, I had moved all apps possible to the sd card (again, the internal sd card). Then when they all disappeared it took quite a long time to restore all of them from Titanium Backup because there were a lot more. So, I haven't moved any since then.

So, it looks like all user downloaded apps (ie. the ones that didn't come with the system), whether on /data or on /sdcard are gone after a reboot.
For a test, can you re-install 2 apps, one to /data and one to the (internal) SD card? Then reboot the system and see if the apps are still present.

No, not all user downloaded apps were gone; only the ones on the internal sd card (at /mnt/asec). The apps at /data/app have never disappeared. And this doesn't happen every time that I reboot. It has only happened a few times. I just don't know why.

OK.
1. This sort of usually happens only if you mess around with /system/etc/vold.fstab. You've not changed it right?
2. The files may have been deleted/moved during the filesystem check done before mount. Check for large files in /mnt/sdcard/LOST.DIR to see if they were recovered.
3. Unmount the internal SD card and see if the (deleted) apps are still in /mnt/sdcard/.android_secure.
4. Check the same .android_secure directory on the external SD card.

rajeevvp said:
1. This sort of usually happens only if you mess around with /system/etc/vold.fstab. You've not changed it right?
Click to expand...
Click to collapse
No, I haven't changed anything in /system.
rajeevvp said:
2. The files may have been deleted/moved during the filesystem check done before mount. Check for large files in /mnt/sdcard/LOST.DIR to see if they were recovered.
Click to expand...
Click to collapse
There are 5 files there but they are each only 8k.
rajeevvp said:
3. Unmount the internal SD card and see if the (deleted) apps are still in /mnt/sdcard/.android_secure.
4. Check the same .android_secure directory on the external SD card.
Click to expand...
Click to collapse
I'll do these steps the next time it happens. If I'm lucky, it won't happen again.

Related

SD Card Swap and Lost Apps

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.

Removal of sdcard, sd apps no longer works

Hey there, i needed my sd card for another phone, temporarly, so i removed it, used it, and inserted it into the sgs2 again.
Now, the apps that were on the sd does not work anymore. What can i do to make them work again, dont really want to loose the data.. "/
Thanks..
Well if they're on the SD card then you better put it back in, as that's unfortunately where the data now is.
Emp_M said:
Well if they're on the SD card then you better put it back in, as that's unfortunately where the data now is.
Click to expand...
Click to collapse
He clearly states
"so i removed it, used it, and inserted it into the sgs2 again"
Anyway, an obvious question would be, did you remove any data / files / folders from your SD card??
Anyway. Have you checked to see if your SD Card is Mounted?
System Settings --> Storage --> Scroll down to SD Card and click on Mount Storage!
Restart your phone (in any case) and wait a few minutes for everything to load back up.
Wezi said:
He clearly states
"so i removed it, used it, and inserted it into the sgs2 again"
Anyway, an obvious question would be, did you remove any data / files / folders from your SD card??
Anyway. Have you checked to see if your SD Card is Mounted?
System Settings --> Storage --> Scroll down to SD Card and click on Mount Storage!
Restart your phone (in any case) and wait a few minutes for everything to load back up.
Click to expand...
Click to collapse
thanks for *snapping* that dude, well it is mounted and i have tried to restart the phone several times. But nothing seems to be working.
thanks
Bump

[Q] Strange Recovery behaviour when trying to repartition internal sd

Hi,
I'm new to here.
I have a Computer Science Degree so my level of expertise with PC is high, but I'm fairly new to the Smartphones world, so I'm asking for help because there's something I can't manage to get it to work in my Samsung Galaxy SII (nobrand).
Let's begin with some info about the device:
The device was a 3.xx, then upgraded via Kies to 4.03 and succesfully rooted with CF's root. I routed my device since I wanted to have full control over it, but mostly because I wanted to install a firewall (to prevent some application from accessing the internet unless I specifically wanted them to do so) and widen the device's space reserved to install applications since it was over.
Before routing, I tried to pursue the "move to external SD" trick, but that resulted like a pain in the ass. The external sd was loaded discontinuously, so at eath boot up I was finding myself with broken or unaccessible application, frequent reboots, frozen system untill the sd was loaded, forcing me to cold re-boot the phone. That lead to sd burnout since probably at the 100th freeze, I cold-turned-off the phone during a write cycle and ****ed it up.
SO, this is the reason why I don't want to move applications to external sd anymore (here where I live it's said: forgive the first, club the second)
I noticed that there is a new trick that consists in repartitioning part of the internal SD to ext format and bridging it to the phone's memory tricking the phone to think applications are installed into the phone's memory where they are actyally installed into the internal repartitioned sd instead. (with some apps)
So after months of thoughts about resetting the phone and trying this solution, Yesterday I believed the time had come. In the meantime, Android 4.12 was officially released by Samsung, so I decided to take 2 peagions with 1 breadcrumb and did the match.
I first did a hard reset, then I installed everything new via Odin (downloaded the entire 900Mb pack and flashed it over). Everything went ok and I succesfully installed PhilZ Kernel 4.022b +root).
The Phone is now operative and fully working...
BUT
going to re-partition the external SD is a real nightmare I haven't been able to dig through.
I try to access the recovery with VolUp+Home+Power and the recovery loads. Immediately after booting, I receive the following error:
E: failed to Mount exfat /dev/block/mmcblk1p1 /sdcard
"Nevermind I thought...I don't have an external SD card so that might be the problem".
I went to "Advanced" and then "Partition Internal SD Card", I selected the sizes (2048/32), some rapid flashes and menu back to where it was. Consulting the log, the error is the same as before: E: failed to Mount exfat /dev/block/mmcblk1p1 /sdcard
Mhm...maybe I should select "external SD card". Result: Can't Mount SD Card
So we have...the internal sd card trying to Mount to /sdcard...that is the same as external? Something doesn't really work...
So...the card works in phone mode...but not in recovery mode...how strange...
Then i recalled that when I routed the phone, I installed the root via recovery/zip file, so It should actually see the internal sd card. BINGO! when I try to install something, It perfectly loads the internal contents of the card and a quick look to the path, unveils the problem:
THE INTERNAL CARD IS MOUNTED TO /emmc/
So...we have...recovery mounts internal card to /emmc but when he tries to repartition/reformat he tries to Mount...something to something else and fails.
So I'm stuck here. I heared this might be a problem because 4.12 changes mappings to devices and that I should tamper with vold.fstab but before destroying my phone I came here to ask some experts.
I also read that I might bind externalSD to internalSD, but I don't really uderstad what this mean. Is it something temporary? Will I be able to use external sd and internal sd or is it something I have to operate each time I want to use external SD.
Last but not least: Does that apply to my case? Because I saw that there is people applying that method that have problems loading internalsd in phone mode but my case is completely different. The phone works 100%, the only problem is that I can't repartition from recovery.
So CWM problem? PhilZ problem?
Please help me as I'm stuck.
EDIT: I found ICS SD Binder, but has someone any advice on how to map correctly internal & external SD card? Also...the phone when is on, mounts internal card to /sdcard. So where is the point? Should I Mount the internal card manually to /sdcard?
Man thats a long post. Most of it sounds greek to me. Anyway i have been using my s2 for sometime now. But i still could not fill 2gb of my internal memory with apps. And you dont have to partition your internal sd
pasanjay said:
Man thats a long post. Most of it sounds greek to me. Anyway i have been using my s2 for sometime now. But i still could not fill 2gb of my internal memory with apps. And you dont have to partition your internal sd
Click to expand...
Click to collapse
If you read his first sentence, it states that he has filled his memory with apps, he does not have any more room on his internal sdcard partition. Some of those apps he uses could take alot of memory.
Cosmic Blue said:
If you read his first sentence, it states that he has filled his memory with apps, he does not have any more room on his internal sdcard partition. Some of those apps he uses could take alot of memory.
Click to expand...
Click to collapse
yes i agree. but most of them can be moved sd card. Its just i have not seen people trying to repartition SGS2
pasanjay said:
yes i agree. but most of them can be moved sd card. Its just i have not seen people trying to repartition SGS2
Click to expand...
Click to collapse
he tried as stated here
Before routing, I tried to pursue the "move to external SD" trick, but that resulted like a pain in the ass. The external sd was loaded discontinuously, so at eath boot up I was finding myself with broken or unaccessible application, frequent reboots, frozen system untill the sd was loaded, forcing me to cold re-boot the phone. That lead to sd burnout since probably at the 100th freeze, I cold-turned-off the phone during a write cycle and ****ed it up.
Click to expand...
Click to collapse
@OP You may have enough knowledge about computer but when trying to apply it to the phone, you maybe causing problems with the phone. A little knowledge could be a dangerous thing.
pasanjay said:
yes i agree. but most of them can be moved sd card. Its just i have not seen people trying to repartition SGS2
Click to expand...
Click to collapse
This means you didn't read paying attention... I don't want to move application to EXTERNAL sd card...just re-partition the internal and move THERE some of them.
CWM has an option "partition internal sd card", that does not work because it tries to do things on /sdcard while the internal sdcard is mounted as /emmc and NOT /sdcard.

Is there a way to make more apps reside on sd card?

After downloading apps, I see that some, but not many, can be moved from internal storage to phone storage i.e. the SD card.
I have set my default to store on the SD card but that's still only means that those few that are already able to be moved there will be loaded there from the get-go. I tend to load lots of apps and as my internal storage fills up I wish there were a way to have more of them sit outside of internal storage.
Also, will backing up to the SD card mean that when I have to flash my ROM and start again that I will be able to resume/reload with data what I had from the SD card for Will I always have to go to the app store and reload every one of my apps, put in my logins, etc?
Tom19146 said:
After downloading apps, I see that some, but not many, can be moved from internal storage to phone storage i.e. the SD card.
I have set my default to store on the SD card but that's still only means that those few that are already able to be moved there will be loaded there from the get-go. I tend to load lots of apps and as my internal storage fills up I wish there were a way to have more of them sit outside of internal storage.
Also, will backing up to the SD card mean that when I have to flash my ROM and start again that I will be able to resume/reload with data what I had from the SD card for Will I always have to go to the app store and reload every one of my apps, put in my logins, etc?
Click to expand...
Click to collapse
Problem with pushing it to SD is flash a ROM or factory reset and the app is still there but you have to reinstall the apps anyways. You will also have to redo all your logins.

Emulated SD card I'd like to remove

I was attempting to root my Alcatel 9007t tablet, so I could move apps to my SD card, unsuccessfully.
So I ended up following some instructions and ended up emulating an SD card on my internal, or something or the other
It renamed my actual SD card to something else
So now, I have rooted my phone, I believe, but using link2sd card I can now move my apps, but I get an error on a certain few apps.
I can't link the data, or what have you, to the SD card, and I think its because of this emulated SD storage
Regardless, I would like to remove the emulated SD storage, and rename my SD card to something normal.
Getting to root this thing was difficult, so I would not want to start this whole thing over.
Or if I could get link2sd to link my data to my SD card , that would be excellent.
I am moderate noob so pls hlp
Footnote: no I cannot link to SD thru my storage settings, maybe is there somehow I can do that. I just want to link or move app data to SD card. This is from a downloaded apk that is making kit difficult. The app seemed to install to SD card, but the data is on the emulated SD on the internal
Halp
You will have issues as apps are not made to be on the sdcard and some apps even block the option.
zelendel said:
You will have issues as apps are not made to be on the sdcard and some apps even block the option.
Click to expand...
Click to collapse
OK but my tablet is rooted now and I can do it mostly with no problem.
I just want to rename and unemulate false SD card on internal and get it back to normal

Categories

Resources