Can't access data of external SD after larger file transfers - Asus Transformer TF700

hi,
i'm using wifi file transfer pro to transfer files from/to my pc. i store my movies and other larger files on the external sd card (sandisk ultra 32GB uhs-1) because of I/O lag.
but after transferring some larger amount of data the external sd card is not accessible anymore until i reinsert it. i was able to copy one 300MB file, the other 300MB file was cut off at about 200MB. sometimes it's possible to transfer larger amounts of data, sometimes no problem at all.
the file system browsers on the tablet still show the files with correct size and let me browse through the directories, but i can't access any files anymore until the sd card is removed.
anyone else having this weird issue? no idea if it's the app or something else, but such file transfers shouldn't kill the sdcard.

What filesystem are you using on this card? Hopefully not NTFS?

no, i'm using fat32 as linux is my main OS and ntfs is always a pain there i guess i have to try to reproduce it again with logcat running.

Might be some problems with uhs-1 support, as it seems to work well for some under the .26 firmware and somewhat worse for others. In fact, logcat might be useful (although I'm not sure if I should say "good luck with reproducing it" ;>)

Related

mini-sd issues

I've got some interesting issues with my sandisk 2G mini-sd card...
When saving camera photos directly to SD, I consistently get file sizes of 0b. When trying to open these files I get, of course, failures.
At first, I thought my sd is bad... However, I can copy picture files taken with the same program from the internal memory into the sd card and view them without problems both on the phone and using external readers. So it seems the sd is not bad after all.
Any thoughts? I have no idea how to approach this further... in additional directions or tests anyone?
Thanks!
mikorely said:
I've got some interesting issues with my sandisk 2G mini-sd card...
When saving camera photos directly to SD, I consistently get file sizes of 0b. When trying to open these files I get, of course, failures.
At first, I thought my sd is bad... However, I can copy picture files taken with the same program from the internal memory into the sd card and view them without problems both on the phone and using external readers. So it seems the sd is not bad after all.
Any thoughts? I have no idea how to approach this further... in additional directions or tests anyone?
Thanks!
Click to expand...
Click to collapse
have you tried to format the SD card with an external reader? i have a 1GB sandisk with no problems at all...
also try to copy from the pc to the SD in the phone a big file (30-40 MB) ,i have read that there are some issues with the mini-SDs and you can identify these issues if you cannot copy big files in the mini-SD from the computer...

speed up your sd card

This may be obvious to some people but not all...myself included
If you find that your apps/games (or anything else) stored on your sd card are starting to take longer to load than usual, try connecting it to your computer and running disk defragmenter (or whichever program you prefer).
I did it to mine after a good 6+ months of use and found that it was heavily fragmented (took a few hours to complete on class 2 8gb so left it running overnight!)
If that doesn't make much difference then you might want to invest in a higher class sd card which of course will give you faster read/write speeds
EDIT: sorry i just realised this is in the wrong section!!!
To have more of an impact you can change the readahead value in sys/devices/virtual/bdi/179:0/read_ahead_kb from 128Kb to whatever suits your SD card type. In my case 2028Kb.
This cannot be achieved just by editing the file as it is overwritten on boot. Google for it or search market if you want an app to do it for you if you are rooted. Tasker works also.
Using a PC to defragment your phone's SD card can be bad. Bad as in, the computer will treat your SD card as if it's some memory expansion to itself. It will move files to places where it "thinks" they should be but actually they're in the correct place for the device. This is based on past experiences when I did it and that's exactly what it did. Example in the Android Secure folder (asec files), it caused apps which were moved to the SD card to have corrupted data (cause it depleted the values of some of the asec files). The method nobnut stated is the better option.
If you must do it on a pc, rather than use Windows own defragmenter, use an SD defragmenter program, like http://panasonic.jp/support/global/cs/sd/download/index.html.

Save to MicroSD?

This is my first tablet so please forgive these dumb questions. I've been spoiled for years with CM# on my phones so I'm having a hard time adapting.
Is there a way to force apps to use the MicroSD card when saving? Example: In Dolphin HD, you can set your download directory. It defaults to "/mnt/sdcard" which is internal memory. I want to change it to "/Removable/MicroSD" but it keeps telling me that path is not available and to pick another. I googled a bit but all they tell me to do is save to internal then copy to external. I know I'm going to get tired of that really soon...
Some apps allow me to save to the external card. I set K-9 to download attachments to the card and it took the path but when I actually save an attachment, it says it's successful but I can't find the attachment in either internal and external memory. And yes, I did confirm I typed in the right path.
Any suggestions?
TIA
I don't know if this is the issue, but ASUS has decided to mount the external memory cards under a directory in the root directory ("/Removable/microSD" and "/Removable/SD"). Have you rooted your TF700? Most other systems I've used (the SGS2 primarily,and the LG O2x) had the external cards mounted under /mnt/sdcard/(_)External_SD, or under "mnt/emmc" as is the case under CM#. It might drop down to not having write access to these directories (although that'd be strange and never encountered efore on my devices, at least)...
EDIT: under Opera, for example, I can save an embedded image on XDA on the external microSD and I can find it with Total Commander (and open it with QuickPic).Still, I'm rooted.
MartyHulskemper said:
I don't know if this is the issue, but ASUS has decided to mount the external memory cards under a directory in the root directory ("/Removable/microSD" and "/Removable/SD"). Have you rooted your TF700? Most other systems I've used (the SGS2 primarily,and the LG O2x) had the external cards mounted under /mnt/sdcard/(_)External_SD, or under "mnt/emmc" as is the case under CM#. It might drop down to not having write access to these directories (although that'd be strange and never encountered efore on my devices, at least)...
EDIT: under Opera, for example, I can save an embedded image on XDA on the external microSD and I can find it with Total Commander (and open it with QuickPic).Still, I'm rooted.
Click to expand...
Click to collapse
Thank you for the reply. I haven't rooted yet but plan to do so this weekend. I'll see if that makes any difference.
as for reading from the card, yes, I can confirm that I can do the same - anything I put on the external card, my apps can read from it. I just can't seem to make apps write to that card, only internal.
Thanks!
asoong said:
Thank you for the reply. I haven't rooted yet but plan to do so this weekend. I'll see if that makes any difference.
as for reading from the card, yes, I can confirm that I can do the same - anything I put on the external card, my apps can read from it. I just can't seem to make apps write to that card, only internal.
Thanks!
Click to expand...
Click to collapse
You're welcome. Indeed, I meant that I can save an online image using my browser of choice onto the external memory. That's what seems to be the bottleneck in your case.
MartyHulskemper said:
You're welcome. Indeed, I meant that I can save an online image using my browser of choice onto the external memory. That's what seems to be the bottleneck in your case.
Click to expand...
Click to collapse
Thanks for the explanation. Yes, I can confirm Opera works as advertised. Seems to be the only browser that can.
Stock and FF do not allow custom download directories
Dolphin HD didn't accept paths to external memory (and won't allow downloads larger than 2GB )
Chrome didn't allow downloads at all :crying:
Thanks again!

Can't copy to SD

Morning all. Anyone else have that problem? I can copy to the internal storage just fine, but if I try to drag and drop to the SD card I get the device has stopped responding or its disconnected error. I have windows 8.1, I'm rooted and drivers work fine, adb and fastboot functional, SD card is PNY 64gb xc formatted in NTFS. I also took out the micro SD card and put it in my laptop and was able to write to it just fine, the files even show up through the shield when I put the SD card back in and reconnected to laptop. So who knows what I'm missing?:laugh:
mta1981 said:
Morning all. Anyone else have that problem? I can copy to the internal storage just fine, but if I try to drag and drop to the SD card I get the device has stopped responding or its disconnected error. I have windows 8.1, I'm rooted and drivers work fine, adb and fastboot functional, SD card is PNY 64gb xc formatted in NTFS. I also took out the micro SD card and put it in my laptop and was able to write to it just fine, the files even show up through the shield when I put the SD card back in and reconnected to laptop. So who knows what I'm missing?:laugh:
Click to expand...
Click to collapse
You cant copy paste you have to use the applications menu and theres an option for move to sd. Never used it but i know its there.
Nvidia Shield Root and More
Doing a little bit of reading goes a long way.
hexitnow said:
You cant copy paste you have to use the applications menu and theres an option for move to sd. Never used it but i know its there.
Nvidia Shield Root and More
Doing a little bit of reading goes a long way.
Click to expand...
Click to collapse
You mean through the shields settings? Im talking about dragging and dropping using windows when shields plugged in via usb. But that is goo to know so I can apps to sd
mta1981 said:
You mean through the shields settings? Im talking about dragging and dropping using windows when shields plugged in via usb. But that is goo to know so I can apps to sd
Click to expand...
Click to collapse
Yeah, you can't do it through windows. With a file explorer, you could physically get the file to move but it wouldn't run. I believe with the built in option for moving files to SD, it will only move the .apk file, and not the actual data. So if you have a 3mb .apk, and a gig worth of data, it's pretty much useless. There is a tool on the play store called folder mount which basically allows you to swap mount points, and it allows you to save everything to SD, you have to have root for it though.
hexitnow said:
Yeah, you can't do it through windows. With a file explorer, you could physically get the file to move but it wouldn't run. I believe with the built in option for moving files to SD, it will only move the .apk file, and not the actual data. So if you have a 3mb .apk, and a gig worth of data, it's pretty much useless. There is a tool on the play store called folder mount which basically allows you to swap mount points, and it allows you to save everything to SD, you have to have root for it though.
Click to expand...
Click to collapse
Not a problem, I used your excellent root tool kit!! Today we learned a big lesson in fat32 and NTFS formats and what the Shield can and cannot do with each. Fat32 ftw
mta1981 said:
Not a problem, I used your excellent root tool kit!! Today we learned a big lesson in fat32 and NTFS formats and what the Shield can and cannot do with each. Fat32 ftw
Click to expand...
Click to collapse
Haha nice. Yeah fat32 is the way to go unless you have a giant sdcard then exfat works better. If i remember right fat32 has a 4gb file size limit.
hexitnow said:
Haha nice. Yeah fat32 is the way to go unless you have a giant sdcard then exfat works better. If i remember right fat32 has a 4gb file size limit.
Click to expand...
Click to collapse
So the shield will read and write to a 64gb card formatted in exfat?
hexitnow said:
Yeah, you can't do it through windows. With a file explorer, you could physically get the file to move but it wouldn't run. I believe with the built in option for moving files to SD, it will only move the .apk file, and not the actual data. So if you have a 3mb .apk, and a gig worth of data, it's pretty much useless. There is a tool on the play store called folder mount which basically allows you to swap mount points, and it allows you to save everything to SD, you have to have root for it though.
Click to expand...
Click to collapse
The built in move to SD will actually move the android/obb file that corresponds to the app, it will also create mount points on the SD for it. I'm not sure if it moves android/data though, I just haven't tried it, most big games use obb files though.
I have some weird problems with my 64GB card formatted to fat32. It all works perfectly for some time, then the SD will become read only to the Shield and I have to format it again. :\ I'm not sure if it's my SD card, the SDXC formatted to fat32, <that and using the built in move to SD, etc.
I treat the SD card like dark magic, when it's working I don't mess with the thing.
I hope that Nvidia releases an update that focuses on better SD support, it seems like they're planning something.
CDeviant said:
The built in move to SD will actually move the android/obb file that corresponds to the app, it will also create mount points on the SD for it. I'm not sure if it moves android/data though, I just haven't tried it, most big games use obb files though.
I have some weird problems with my 64GB card formatted to fat32. It all works perfectly for some time, then the SD will become read only to the Shield and I have to format it again. :\ I'm not sure if it's my SD card, the SDXC formatted to fat32, <that and using the built in move to SD, etc.
I treat the SD card like dark magic, when it's working I don't mess with the thing.
I hope that Nvidia releases an update that focuses on better SD support, it seems like they're planning something.
Click to expand...
Click to collapse
I gotcha thanks. I hadnt actually used it yet but have used it on other platforms and it was pretty much worthless. I had assumed it was the same since it was on my other devices. Thanks for clearin that up.

My Micro SD Card got corrupted. Instagram app was installed on SD card, now it can't be ran or reinstalled. (App is a ghost). How to fix this?

I have unrooted LG V20 H990DS.
Unfortunately my Micro SD Card got corrupted and I lost all the photos. As an extra insult to injury, Instagram app was installed on SD card and now I can't run it nor uninstall / reinstall it. The icon is simply grey. It also cannot be found under "apps" section of settings.
I can see the "com.instagram.android" folder under "root/config/sdcardfs" but I can't do anything with it since I don't have a root. If I go in Play Store the phone recognizes Instagram as not installed and when I try to install it I get the "Can't install Instagram - Try again, and if it still doesn't work, see common way to fix the problem"
Is there anything I can do or do I really have to factory reset my phone? -___-
Take out the trashware. Keep all social media apps off the phone! Malware.
SD cards normally don't corrupt themselves. A rootkit or malware is a possibility.
Bad card or hardware.
Do a low level format of card, then reformat in the phone. Do not remove the card from then on or "share" it with other devices. Do all data transfer to the card from within the phone only.
If this doesn't resolve the issue, replace the card with a good name brand V30 rated card like Sandisk Extreme.
blackhawk said:
Take out the trashware. Keep all social media apps off the phone! Malware.
SD cards normally don't corrupt themselves. A rootkit or malware is a possibility.
Bad card or hardware.
Do a low level format of card, then reformat in the phone. Do not remove the card from then on or "share" it with other devices. Do all data transfer to the card from within the phone only.
If this doesn't resolve the issue, replace the card with a good name brand V30 rated card like Sandisk Extreme.
Click to expand...
Click to collapse
I may have been a bit unclear.
I myself moved Instagram to SD card some time ago so I could save some space on my phone and now that my Micro SD card got corrupted, Instagram doesn't work anymore. It was not result of a virus or anything. SD Card is also in bad shape, it's recognized as RAW.
cinemafou said:
I may have been a bit unclear.
I myself moved Instagram to SD card some time ago so I could save some space on my phone and now that my Micro SD card got corrupted, Instagram doesn't work anymore. It was not result of a virus or anything. SD Card is also in bad shape, it's recognized as RAW.
Click to expand...
Click to collapse
Malware is always a possibility when erratic behavior is observed. Androids should be rock solid stable, if not there's a real underlying issue. Unfortunately I have no easy solutions for this at this stage as far as data recovery.
Meh, keep apps off the SD card. It's a security and reliability risk.
Only one folder on the phone with the name "dcim" in it.
Do a low level format on the PC to try and reuse it. Of course this will completely erase all data.
Recovering data from a flash drive that has lost its folder structure is a frustrating mess at best.
In the future redundantly backup the SD card redundantly to at least 2 hdds that are physically and electronically isolated from each other and the PC. Use the SD card as a data drive... apps and download folder go on internal memory. All files should be vetted before transferring to the data drive.
At the very least open files in the download folder, jpeps and png's especially to try detect malware -before- transferring to the data drive(s)!!! I've had scripted jpegs before but pick them off before they got into the database. They are real and will cause hell in any folder they are in. May not be detected by any antivirus. WYSIWYG, observe for changes in that folder after opening suspect file.
blackhawk said:
Malware is always a possibility when erratic behavior is observed. Androids should be rock solid stable, if not there's a real underlying issue. Unfortunately I have no easy solutions for this at this stage as far as data recovery.
Meh, keep apps off the SD card. It's a security and reliability risk.
Only one folder on the phone with the name "dcim" in it.
Do a low level format on the PC to try and reuse it. Of course this will completely erase all data.
Recovering data from a flash drive that has lost its folder structure is a frustrating mess at best.
In the future redundantly backup the SD card redundantly to at least 2 hdds that are physically and electronically isolated from each other and the PC. Use the SD card as a data drive... apps and download folder go on internal memory. All files should be vetted before transferring to the data drive.
At the very least open files in the download folder, jpeps and png's especially to try detect malware -before- transferring to the data drive(s)!!! I've had scripted jpegs before but pick them off before they got into the database. They are real and will cause hell in any folder they are in. May not be detected by any antivirus. WYSIWYG, observe for changes in that folder after opening suspect file.
Click to expand...
Click to collapse
Thanks for the reply!
I have solved the app part of the problem so factory reset is not necessary.
What I did was that I took my brother's Micro SD card and placed it into my phone, then I tried reinstalling Instagram from Play Store and it worked! This time it installed it back onto SD card. What I did after was just move the Instagram app from SD Card to phone storage via apps settings.
After that I removed my brother's SD card and was able to run Instagram once again directly from the phone memory.
It seems that the phone just wanted to see some SD Card inserted and then it would allow reinstallation of the app.
SD cards corrupt themselves, especially when formatted as adoptable-storage with ext4 journaling file system and full-disk encryption used for write-intensive applications
aIecxs said:
SD cards corrupt themselves, especially when formatted as adoptable-storage with ext4 journaling file system and full-disk encryption used for write-intensive applications
Click to expand...
Click to collapse
I never have that issue and use SD cards in both my N10+'s but all data is manually transferred to them. One app has permission to auto backup to the SD card, ColorNote. However it's firewall blocked... just in case.
Never use encryption on data drives and especially backup drives... you are the most likely one to end up locked out.
Samsung devices don't allow moving apps to MicroSD Card (which was the case here) as adoptable-storage isn't supported by Samsung at all (probably for performance reasons)
aIecxs said:
Samsung devices don't allow moving apps to MicroSD Card as adoptable-storage isn't supported at all
Click to expand...
Click to collapse
As it should be... the card/interface are too slow to run apps effectively anyway.
Critical data goes on the SD card.
Only apps, the dcim and download folders should be on internal memory. The dcim files can be regularly transferred to the card to free up memory... just rename that card folder ie Pics, etc.

Categories

Resources