Files automatically disappearing from SDCARD - LineageOS Questions & Answers

I installed LineageOS 20 (lineage-20.0-20221121-UNOFFICIAL-Mi439) on a redmi 7A (pine version), through TWRP (twrp-3.7.0_12-0-mi439), along with Gapps (NikGapps-full-arm64-13-20230418-signed), and rooted thanks to magisk 26.1.
I installed a brand new (noname) 128GB microsd.
I tried to use the sdcard both as external, or formated as internal (configuration I kept). With external conf I used also App2SD III Pro to move apps to SD.
With both approaches I faced very strange behavior : files (pictures, mp3, docs... but it seems not to appear on apps) disappearing a while after having been transferred, whether this transfer was performed from PC through USB connection, through copy paste from internal memory to external SD, or thanks to FTP connection (using File Manager +).
After a while (minutes or hours by now, not more...) some folders which I expected to contain files appeared as empty when trying to go inside, although some app (like File Manager +) still said that the folder contained the correct number of files, but displayed nothing when going inside. And these folders were then impossible to remove. I tried it in many different ways, through apps, or through adb with the command that should work if empty, as well the ones to use to erase folder + its contents, with force argument. On such folder, I also noticed no difference in permissions compared to working folders.
And after a while these folder removal attempts leaded to a non responding SD card. Which at the end I had to re-format.
I am close to consider this SDcard as the root of the problem, but I would prefer to be sure before re-breaking (again...) all my configuration (which is in fact the one of the phone of my daughter who is beginning to curse me !).
Any idea to confirm this is the origin of the problem, that could work in my current configuration (sdcard formatted as internal), without breaking something else, taking also into account I'm using a windows PC ? I don't imagine a repair is possible, but if a solution exist, I would also be glad to hear.
Thanks a lot for those who had the patience to read everything, and a bigger thank for those who would be eager to help

Format in device. Reload it using the device interface.
Don't share the card with other devices as this can corrupt it unless formatted before using in the new device.

blackhawk said:
Format in device. Reload it using the device interface.
Don't share the card with other devices as this can corrupt it unless formatted before using in the new device.
Click to expand...
Click to collapse
OK I will give it a try as soon as she let me touch her phone To have a status on the sdcard first.
In case it's OK (fingers crossed), what would be the best to extend my internal storage, which is the initial reason for all these operations. App2sd with a unique volume, or partition the sdcard to use with Link2sd ? If partitionning is the best, considering all previous issues, what would be the best way to perform the partition (app to recommend ?) and what would be your advices concerning volumes sizes ? I have 32 GB internal and a SDcard of 128 GB.
I keep you posted on the test.

blackhawk said:
Format in device. Reload it using the device interface.
Don't share the card with other devices as this can corrupt it unless formatted before using in the new device.
Click to expand...
Click to collapse
Re-reading your answer I wonder if you also mean that if I format with my PC you believe it should then be able to work safely as an external device in the phone. Including with app data or maybe app itself linked in the sdcard.
In my various tests I indeed formated as external with the device but accessed it from the external by USB. Which I understand may cause corruption risk.
Anyway I also tried to reformat then with the device, as internal storage this time, and saw issues occurring without sharing it through USB. But I used FTP feature from File Manager +. Does it bring the same risks as direct USB connection ?

Always back to basics, have you tried with another SD card to make sure (as you mentioned possibly) that the card is kaput?

Zitouun said:
OK I will give it a try as soon as she let me touch her phone To have a status on the sdcard first.
In case it's OK (fingers crossed), what would be the best to extend my internal storage, which is the initial reason for all these operations. App2sd with a unique volume, or partition the sdcard to use with Link2sd ? If partitionning is the best, considering all previous issues, what would be the best way to perform the partition (app to recommend ?) and what would be your advices concerning volumes sizes ? I have 32 GB internal and a SDcard of 128 GB.
I keep you posted on the test.
Click to expand...
Click to collapse
I would never use the SD card to extent internal memory. That's just asking for trouble and slow performance.
Use the expandable storage as a data drive; all critical data goes here. Only apps and the download folder go on internal, the DCIM folder too if you have room there.
Buy name brand flash memory for reputable vendors. Go for fast V30 rated cards like the Sandisk Extreme. A flash memory failure wastes time, money and data.

Zitouun said:
brand new (noname) 128GB microsd...
I am close to consider this SDcard as the root of the problem
Click to expand...
Click to collapse
I'd guess that, too.
You might want to check how good/unfake/fast your SDCard really is:
https://alternativeto.net/software/h2testw/about/
or its equivalent for linux
https://alternativeto.net/software/f3/about/
It fills your card with unique files and reads them, thus you will easily spot fake drives and you'll know how fast they actually are.
Such complete write means quite some stress and writing will be throttled after some time but you will get information proper:
Average writing speed: 30.57 MB/s
...
Data OK: 238.31 GB (499776000 sectors)
Data LOST: 0.00 Byte (0 sectors)
Corrupted: 0.00 Byte (0 sectors)
Slightly changed: 0.00 Byte (0 sectors)
Overwritten: 0.00 Byte (0 sectors)
Average reading speed: 89.33 MB/s
No name and cheap brands or cheap models of good brands will cause trouble rather sooner than later: Try to go for high end cards that have a good writing speeds advertised (check for some proof online beforehand!). Even if this means that you can afford only half the size, you will be far better off.
Story: A friend of mine has a dash cam and he complained that it always screws up, no matter how big or what brand the card is. I told him to get a card with the highest writing speed he could get. Half a year later he reported back that all issues with the dash cam were resolved.

It's a V30 class 10, but from a French distrib Boulanger (it's a real multimedia shop name !), badged under their own "essentiel b" mark.

Zitouun said:
V30
Click to expand...
Click to collapse
Same like mine from the testing above, that should be 30MB/s at least. Wiki has actually a nice listing:
https://en.wikipedia.org/wiki/SD_card#Class
If you have a decent card reader (laptop?) you could test, too Ideally you should still have warranty, just in case something goes awry
Alternatively, perhaps another ROM would work better (and thus proving the cards are okay).
PS: Hehe, catchy name - I just hope their cards are not made of Boulangerite

Test just performed with H2testw, no issue found. I'm re-running a verif to see if after a few hours no retention issue occur.
Warning: Only 118872 of 118876 MByte tested.
Test finished without errors.
You can now delete the test files *.h2w or verify them again.
Writing speed: 14.0 MByte/s
Reading speed: 14.6 MByte/s
H2testw v1.4
Anyway I see here that this card is not as fast as expected. It was branded for 90MB/s in read which is not the reality.
I will try to get it refunded. And in parallel I ordered a Sandisk Extreme V30 U3 class 10, branded for A2 applicative perfs, allowing 90MB/s in write and 190MB/s in read. It should be night and day.
I keep you posted for next tests in the phone, probably this WE.

Zitouun said:
Test just performed with H2testw, no issue found. I'm re-running a verif to see if after a few hours no retention issue occur.
Warning: Only 118872 of 118876 MByte tested.
Test finished without errors.
You can now delete the test files *.h2w or verify them again.
Writing speed: 14.0 MByte/s
Reading speed: 14.6 MByte/s
H2testw v1.4
Anyway I see here that this card is not as fast as expected. It was branded for 90MB/s in read which is not the reality.
I will try to get it refunded. And in parallel I ordered a Sandisk Extreme V30 U3 class 10, branded for A2 applicative perfs, allowing 90MB/s in write and 190MB/s in read. It should be night and day.
I keep you posted for next tests in the phone, probably this WE.
Click to expand...
Click to collapse
On N10+ it transfers from internal to card at around 3-4gb @min.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

Zitouun said:
Writing speed: 14.0 MByte/s
Reading speed: 14.6 MByte/s
Click to expand...
Click to collapse
Weird that both values are so close to each other - usually I see read way higher than write. Could there be something else limiting? (but then write shouldn't be lower at all with a V30 which means sustained minimum of 30MB/s)
Wow! 90MB/s write and A2 sounds certainly like a good card. Looking forward to your new card!
@blackhawk Thanks! I was already wondering which program I could use on android...
I have a Kingston MobileLite G4
https://www.legitreviews.com/kingston-mobilelite-g4-usb-3-0-card-reader-review_158647
Was looking sometimes for a replacement but never found anything good - too bad Kingston stopped selling this very wonderful gem

Hello, some news of the topic :
I received the new sdcard and tested it the same way as the previous one... same perfs. So I guess the bottleneck of the test is very probably my PC / USB port / card reader adapter path.
I decided anyway to use the new card, that I tested with the phone with a specific app to test it. Better results : around 90MB/s in write, but also in read. Again there could be another limitation than the card itself, read perfs should be better.
I decided to give a chance to the old card, but didn't tested it yet.
I first tried to again (I know it's not recommended) to use the new sdcard configured as portable device. But I soon realised it's not possible this way to extend the internal memory for applications installs.
So came back to a test of sdcard formatted as internal. But the behavior in this mode in really strange, and not stable :
The system storage settings correctly sees both memories, internal and sdcard, with their correct sizes. Anyway it can't be used for files exploration or operations.
App2SD sees the cumulated memory (here 32GB internal + 128GB SDcard), and allows to move the apps to the SDcard. Which I did.
But other file managers (File Manager+, ES Explorer, EX explorer, Google Files...) all only see 32GB. So I basically have no mean to master the place where something is. No capacity to move something from internal to sdcard.
I tried then to restart the phone thinking it could solve the problem. But after the restart, the SDcard didn't mount normally. All apps were gone, and when finally the sdcard has been detected it was said as corrupted, needing to be reformatted... which I didn't.
I tried another restart, and at this one the sdcard was properly detected, and all apps back. But no improvement on all previous limitations.
So I learned why this mode is really not recommended. Not stable at all.
So came back to a new formatting of the sdcard, with the phone, as external (portable), after having cautiously re-moved all apps with app2SD to internal memory. It worked and I didn't lost anything.
So today I use the sdcard like this, and I'm able to access it from my PC directly through FileManager+ FTP server. No issue encountered so far.
Anyway I'm bit pissed off to understand it's not longer possible to extend in a stable way the internal memory of the phone, including for apps installs, like I used to do on my first smartphone (a Galaxy Ace with 512MB internal memory...), properly rooted, which CyanogenMod + Link2sd allowed me to use a lot longer than reasonable.
Thanks for the help !

Zitouun said:
pissed off to understand it's not longer possible to extend in a stable way the internal memory of the phone
Click to expand...
Click to collapse
Oh gee, I feel a bit sorry for the long journey and just end up at a crappy place.
Well, last time I tried to extend memory this way I was angry about the limitations of internalizing SD cards: No resizing but only 100%, no choice of cipher and difficult to access it without Android running. I managed the resizing and accessing but in the end I decided for portable memory (on 512GB card) like for music, films and several wiki (kiwix). Also I'd go for a phone with no less than 64GB flash built in already (and no more internalizing SD cards).
Sad to see that it hasn't improved but hey! at least we had some fun figuring it out, was a pleasure to meet you!

SigmundDroid said:
Oh gee, I feel a bit sorry for the long journey and just end up at a crappy place.
Well, last time I tried to extend memory this way I was angry about the limitations of internalizing SD cards: No resizing but only 100%, no choice of cipher and difficult to access it without Android running. I managed the resizing and accessing but in the end I decided for portable memory (on 512GB card) like for music, films and several wiki (kiwix). Also I'd go for a phone with no less than 64GB flash built in already (and no more internalizing SD cards).
Sad to see that it hasn't improved but hey! at least we had some fun figuring it out, was a pleasure to meet you!
Click to expand...
Click to collapse
For internal memory you should have at least 256gb. You will also want a SD card slot.
If either is missing it limits you greatly. The SD card is never used to extend internal memory; it's used as a data drive. A V30 rated card fills this role perfectly.
The internal memory is many times faster with a huge bandwidth by comparison. Use the right tool for the job.
This is the internal memory speed test for the N10+ vs the previous speed test I posted here for the V30 rated Sandisk Extreme SD card. Night and day difference.

blackhawk said:
For internal memory you should have at least 256gb. You will also want a SD card slot.
If either is missing it limits you greatly. The SD card is never used to extend internal memory; it's used as a data drive. A V30 rated card fills this role perfectly.
The internal memory is many times faster with a huge bandwidth by comparison. Use the right tool for the job.
This is the internal memory speed test for the N10+ vs the previous speed test I posted here for the V30 rated Sandisk Extreme SD card. Night and day difference.
View attachment 5902269
Click to expand...
Click to collapse
Impressive indeed !

SigmundDroid said:
Sad to see that it hasn't improved but hey! at least we had some fun figuring it out, was a pleasure to meet you!
Click to expand...
Click to collapse
Same !

Related

microSD card corrupted...

I decided to replace the 512 MB card in my Cingular 8525 with a 2 GB card. When I put the 512 card in its adaptor, the PC read the directory, showed a FAT format, but would not copy/read/or otherwise manipulate any of the files. I plugged the card back into the 8525 and found that it couldn't even see it. Giving up on any kind of file recovery, I tried to reformat it in the PC, but then IT couldn't detect the card! After I played with it awhile, I finally got it to start the format process, but it always failed just before the "green line got to the end" and, after several attempts, it reported "disk cannot be formatted."
Is there any way I can save this card, or is it a (VERY small) boat anchor?
I've seen yesterday in the Sandisk site and somebody told me that they have some kind of software tool (file recover, unformat, etc.), that's very capable, unfortunately it is not free, there's a trial version (does not allow to save any files). Sofware's name is "Rescue Pro", if you can get yourself a copy you might give it a try.
Another thing about an SD (in my experience), I'm talking about a Verbatim 512MB SD, i borrow it to a friend, when he was giving it back, just cancelled all his things up, stopped the card reader (from XP), extracted the SD and it was dead, fortunately I had kept my proof of purchase and they (Verbatim) exchanged it with a new one (in europe the warranty is at least 2 year long), they asked me to send it to Ireland to check if it could be recovered and within three weeks (just because there was christmas in the middle) I got a new one back.
hope this helps
Try putting it in a Digital Camera with SD Slot (put in SD Adapter first;-))
Then format it via your Digital Camera
Or
Download VaioSoft Recovery Manager and try to format with that one
http://vaiosoft.com/products/recoverymanager.htm
Eelcol
that link is not working please post another link for that software
What PQI support suggests
I´ve had trouble with PQI miniSD cards, so I asked support from PQI on corrupted files, this is their answer in order to check if the card is damaged or not and includes several tips on using memory cards, it´s alittle bit long to read, but maybe it worths, so here it goes:
Some hints of using flash memory cards
1. Do NOT remove the memory card while it is operating, otherwise it may be
damaged.
2. Do NOT turn off the device, while the operation of writing /reading is
not completed.
3. When the battery power of system is low, do not write to the memory card to prevent loss of data.
4. Make sure the device (card reader/phone/camera/pda/camcorder) has finished reading/writing to the card before you take another shot/turn it off or the data will be corrupt/lost and the card will be damaged. You can tell by the device indicator light where it flashes when it is reading and writing to the card. Wait until the indicator light is off and stops flashing before you take another shot/turn the device off or remove the card/drive.
Before you continue, please make sure you have a reader that can read and write to 2GB card properly. DO NOT use in built-in reader on laptop and desktop, or old readers made 2 years or longer ago, because these readers can only use up to 1GB card. I recommend using it in external USB 2.0 reader that is made within 1 year ago.
If you do not have such reader, then connect the device (gps/camera/pda/camcorder) to the computer with USB cable and the card inserted and if works you should see new drive letters show up under My Computer.
Otherwise, if used in devices that do not support the 2GB card, the card will be damaged.
Please try the following troubleshooting guide first and see if it can solve the problem. Try one step at a time. If one works, then you can stop trying. You don't need to try all of them.
The following guide will erase all the data on the drive/card. So make sure you backup your data first before you try the steps below:
1. First, remove the card/drive from your computer.
Download the low level format tool below to your computer.
http://hddguru.com/download/software/HDDGURU-Low-Level-Format-Tool/LLFsetup.2.36.1181.exe
Install the program into your computer.
You should see a new icon called "Hard Disk Low Level Format Tool".
a. Insert the card/drive and run the program.
IMPORTANT!!! MAKE SURE YOU SELECT THE CORRECT DISK OR YOUR COMPUTER MAY NOT START LATER!!!
It should shows as BUS: USB. Select the BUS: USB. Also check the size and make sure.
If you don't see BUS: USB, that means the card is unreadable and need to be replaced. In this case, please STOP here and close the program and DO NOT continue below.
b. Then click Continue->Low Level Format->Format this Device.
c. Wait for a few minutes until it finish successfully with a message of asking you to partition and format it. (if you see formatting error, you can stop the formatting and the card needs to be replaced.)
d. Flash Card:
Put the card back to your device (camera/phone/pda/camcorder) and then use the format utility in the device to format the card.
Please let me know your test results. Thanks.
Reference: Program homepage
http://hddguru.com/content/en/software/2006.04.12-HDD-Low-Level-Format-Tool/
2. Please go to the site below:
http://www.sdcard.org/Downloads.aspx
Please try to download the software sdfv2000.exe (for windows only) and the manual for your reference.
Install the sdfv2000.exe in your computer, then insert the card into the card reader (if you do not have reader, you can try to connect your device to the computer with USB cable) and then run it:
a. Check the drive letter and also the size and make sure it is the correct card.
b. Click Option:
Format Type: Full Erase ON
Format Size Adjustment: ON
c. Click OK, then click Format. Wait until it finish.
d. You will be prompted to remove the card after it finish. Then go ahead and insert it in your (camera/pda/camcorder etc) and see.
16. T-mobile MDA (cannot format 2GB mini SD card)
Please install the software below to your phone (you can download the free trial):
http://www.pdatopsoft.com/PocketPC/StorageTools---Analyze,-Defragment,-Verify,-Repair-and-Format
Then use the Storage Tools software above to format the card and see.
does this method also apply on mini sd and mmc rs dv cards?????
Actually this was given for miniSD´s
Awais said:
does this method also apply on mini sd and mmc rs dv cards?????
Click to expand...
Click to collapse
I assume that this applies to all types of SD cards, I don´t know about the others.
Awais said:
that link is not working please post another link for that software
Click to expand...
Click to collapse
http://vaiosoft.com
goto recovery manager
Eelco
luiggi said:
I assume that this applies to all types of SD cards, I don´t know about the others.
Click to expand...
Click to collapse
is there any technical differnece between mmc and sd cards???/
cuz we can also use mmc or rs dv cards in htc devices but sd card is not useable for nokia and other mmc supported sets
Thanks for all of the input! I tried formating it with my camera with no success, then took the easy way out: I took it back where I bought it and got it replaced.
I'm filing this information away for next time, though! Thanks again.
Awais said:
is there any technical differnece between mmc and sd cards???/
cuz we can also use mmc or rs dv cards in htc devices but sd card is not useable for nokia and other mmc supported sets
Click to expand...
Click to collapse
SD cards where made to improve the lack of speed of MMC cards, also they include the writing protection/lock, it is the small switch you see in one side of the SD.
Also, SD cards are slightly different from MMCs phisically, SDs are thicker than MMCs (that's why you cannot put them in a Nokia phone), the electrical specs should by backwards compatible (aside from phisycal differences).
Recently some updatings/improvements have been done to MMC specs, they claim to be the fastest memory card technology available, there are MMC plus, etc.
I know all these things that I read recently (I just can't remember where).
hope this info can be used, and one last thing is that information on this subject can be found easily on the net, it's juest a matter of look for it, personally I like a lot an electronics web site: www.epanorama.net
thanks for the useful info and that link too
hmm today i got a miniSD topram, 2gb and it worked fine it was fat format i believe so i went to the winxp format utility and formated with fat32 16k everything seemed to work fine then i put it in the pda phone and nothing it did not see it, so then i put it back in the PC to format back to fat and nothing it does not see the card now at all
what happend i have been trying a million apps to some how force a format but none have worked, windows pretty much hangs while trying to read the card and at end says there is no media there, so do other apps
Low level format
losborn said:
I'm filing this information away for next time, though! Thanks again.
Click to expand...
Click to collapse
Low level format tool once done good job for me
http://www.killdisk.com/
I would proberbly say its fubarred, but you could try using software like SCAN DISK and carios other things.
Memory card fixes
Guys
We've seen this issue quite a bit lately.. Memory card simply locks up Windows when inserted.. It seems to be related to a flakey FAT table on the card. Formatting does nothing... Disk manager can't deal with it either..
The solution we found that worked was to use Paragon Partition Tools to remove the partition table on the card.. Recreate it.. then reformat..
Unless the card is physically cactus, it works every time..
Good luck!
Andy
www.pressdigital.com.au
Press Digital Support Team
???
any link for a free-ware partitioning tool !!!
wanna know more about erasing and recreating partition table on micro-sd cards
http://hddguru.com/download/software....2.36.1181.exe
Thank you, Luigi.
This work perfectly. My microSD 2GB was formated a 1GB and with this program now is all OK. I have microSD a 2GB again.
memory card recovery
This tool can help you to recover your files from damaged media.
www softorbits com/flash-drive-recovery
This device cannot be accessed because it is smaller than 65535 sectors.
:crying: It says "This device cannot be accessed because it is smaller than 65535 sectors" when I tried to low level format using LLFT.
---------- Post added at 07:31 PM ---------- Previous post was at 07:08 PM ----------
losborn said:
Thanks for all of the input! I tried formating it with my camera with no success, then took the easy way out: I took it back where I bought it and got it replaced.
I'm filing this information away for next time, though! Thanks again.
Click to expand...
Click to collapse
Good for you. But I'm still getting headache as I can't contact the manufacturer.
I had formatted the micro SD card in ext4 format for using with app2SD. I had it in 2 partitions.
And then after a while, the card stopped functioning (with so little and useless 30MB storage).
I had tried things like recovery, formatting, partition recovery.
Nothing can return it to original state. I just want it to be blank. It's ok I lost all the data.

SD FAT32 partition is very slow

I stated this question before, googled and tried numerous things to solve it - no luck
I debranded the phone and rooted - used a goldcard (the same SD card I am speaking here about) - originaly Android 2.1 T-Mobile CZ . The SD is Kingston 16GB Class 10.
There are ppl (including me), who have a problem with copying files from PC to the SD Card. It's about 1.5-2MB/s . With my original 2.1 ROM the speed was 7-8MB/s .
When copying the other way - SD Card --> PC - 4,5-5MB/s . Before it was 11-12MB/s .
Just to be accurate - it's not only a mass storage problem. When Benchmarking the SD Card using some Android Apps - same speed :-(.
Read Speed - 5-6MB/s
Write Speed - 2-3MB/s
The card has 3 partitions:
- Swap with 384MB
- EXT4 1536MB for APPSD
- FAT32 ~ 14GB
Tried numerous partition settings, formatted the card all over and over again. Only the FAT32 partition is slow - EXT works well.
Formated with the "ClockworkMod Recovery Image", "Linux", "Windows 7" . Used even slow formating .
Any ideas why ?
iDaddy said:
I stated this question before, googled and tried numerous things to solve it - no luck
I debranded the phone and rooted - used a goldcard (the same SD card I am speaking here about) - originaly Android 2.1 T-Mobile CZ . The SD is Kingston 16GB Class 10.
There are ppl (including me), who have a problem with copying files from PC to the SD Card. It's about 1.5-2MB/s . With my original 2.1 ROM the speed was 7-8MB/s .
When copying the other way - SD Card --> PC - 4,5-5MB/s . Before it was 11-12MB/s .
Just to be accurate - it's not only a mass storage problem. When Benchmarking the SD Card using some Android Apps - same speed :-(.
Read Speed - 5-6MB/s
Write Speed - 2-3MB/s
The card has 3 partitions:
- Swap with 384MB
- EXT4 1536MB for APPSD
- FAT32 ~ 14GB
Tried numerous partition settings, formatted the card all over and over again. Only the FAT32 partition is slow - EXT works well.
Formated with the "ClockworkMod Recovery Image", "Linux", "Windows 7" . Used even slow formating .
Any ideas why ?
Click to expand...
Click to collapse
What speeds do you get wenn you use a cardreader and transfer directly from and to youre desktop?>
Heppieboeddah said:
What speeds do you get wenn you use a cardreader and transfer directly from and to youre desktop?>
Click to expand...
Click to collapse
Its no problem any rom or any card or any partition
Its problem AFTER root.
Any rom, any card after root, slow write to sd card via phone.
If unroot, all ok.
No diference partition FAT32+ext or only fat32 ... after root slow.
Even if using a cardreader - the speeds are the same...
Thats what brings me into thinking - it has nothing to do with a rooted phone - it has something to do with the rooting process - it corrupts the SD card somehow
frantacech said:
Its no problem any rom or any card or any partition
Its problem AFTER root.
Any rom, any card after root, slow write to sd card via phone.
If unroot, all ok.
No diference partition FAT32+ext or only fat32 ... after root slow.
Click to expand...
Click to collapse
Can you explain that to me? Why does it slow down. That would be nice to know!
frantacech said:
Its no problem any rom or any card or any partition
Its problem AFTER root.
Any rom, any card after root, slow write to sd card via phone.
If unroot, all ok.
No diference partition FAT32+ext or only fat32 ... after root slow.
Click to expand...
Click to collapse
I must disagree on this.
When I put the Card into my CardReader i got fullspeed on the other partitions.
Haven't unrooted yet though....
iDaddy said:
Even if using a cardreader - the speeds are the same...
Thats what brings me into thinking - it has nothing to do with a rooted phone - it has something to do with the rooting process - it corrupts the SD card somehow
Click to expand...
Click to collapse
Well, i think that might depend on the sdcard then. Just changed my card from a 8GB class 4 to 16GB class6.[Kingston] With a cardreader i really get the speeds to expect. Wenn tranfering through a usb-cable speeds decrease.
Heppieboeddah said:
Well, i think that might depend on the sdcard then. Just changed my card from a 8GB class 4 to 16GB class6.[Kingston] With a cardreader i really get the speeds to expect. Wenn tranfering through a usb-cable speeds decrease.
Click to expand...
Click to collapse
Yes, the speeds through the USB cable are allways a little but slower - but it's still kind of the same speed - see the difference - 2,3MB/s Mass Storage VS 3,1MB/s CardReader
frantacech said:
If unroot, all ok.
No diference partition FAT32+ext or only fat32 ... after root slow.
Click to expand...
Click to collapse
Well, if you are unrooted and thus not running any form of legacy A2SD, I suggest it's related to your EXT partitions.
IMO, any form of swap is going to slow your phone down, and this may be the case if the system is trying to buffer disk I/O in "memory", so I'd definitely be inclined to try deleting your swap space for starters to see if it makes an difference.
Regards,
Dave
iDaddy said:
Yes, the speeds through the USB cable are allways a little but slower - but it's still kind of the same speed - see the difference - 2,3MB/s Mass Storage VS 3,1MB/s CardReader
Click to expand...
Click to collapse
What app do you use to test the transferspeed on youre phone? I will do a test as well and let you know what speeds i get...
foxmeister said:
Well, if you are unrooted and thus not running any form of legacy A2SD, I suggest it's related to your EXT partitions.
IMO, any form of swap is going to slow your phone down, and this may be the case if the system is trying to buffer disk I/O in "memory", so I'd definitely be inclined to try deleting your swap space for starters to see if it makes an difference.
Regards,
Dave
Click to expand...
Click to collapse
That might be it.. I have no swap and a ext3 of 756MB. Maybe the OP shouldt try that.
In my case it's the A2SD+ that slows down the card
I am using the "SD Card Speed Test" app on the phone. - u can find it via Market...
Also - having no SWAP doesn't solve anything - as i said - tried all partition settings.
My SD Kingston 16GB Class 10 - only FAT32 partition, but early FAT32+ext4 indentical speed .. with any time hang during boot (with only FAT32 boot ok)
ROM AuraxTSense v7.6.1 Official HTC 2.2 ·720p|2.10
Root with R6 riskfreeroot Modaco
Before root speed ok
Test with original 4GB sd card identical result.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
getting 3MB/s and 6MB/s speeds
Rooted with R5
Edit: getting better but still extremely slow speed with my CardReader
4/7,5MB/s
Edit2:creating a NTFS/exFAT partition gives me speeds more than 10MB/s on the same card---
Test read/write from/to sdcard in pc via card reader
16GB Class 10
read
write
I have exactly the same problem. I think, A2SD+ causes that. When you copy a file via USB, your phone use EXT partition meanwhile(I guess it only mounts FAT32 partition). So that makes FAT32 partition slower. And when you use Card Reader, it doesn't use EXT partition so copying speed doesn't slow down. It's just my opinion of course.
Figure_desire said:
I have exactly the same problem. I think, A2SD+ causes that. When you copy a file via USB, your phone use EXT partition meanwhile(I guess it only mounts FAT32 partition). So that makes FAT32 partition slower. And when you use Card Reader, it doesn't use EXT partition so copying speed doesn't slow down. It's just my opinion of course.
Click to expand...
Click to collapse
I dont have ext, now. Only FAT32 (without ext) and slow.
Its no problem USB. If tested internal speed in phone (without usb) via SD Card test from market .. result slow... above picture
Everybody with rooted phone have slow sd card transfer to fat32, but everybody tuning wallpapers, mad
frantacech said:
I dont have ext, now. Only FAT32 (without ext) and slow.
Its no problem USB. If tested internal speed in phone (without usb) via SD Card test from market .. result slow... above picture
Everybody with rooted phone have slow sd card transfer to fat32, but everybody tuning wallpapers, mad
Click to expand...
Click to collapse
Hmm. It was just gueesing
I think the devs might look into that. It's important issue imo.
This is a known issue. There's a thread somewhere in here about it, but I can't find it anymore.
I average like 10/ Mb/s vs 7 Mb/s using cardreader with different write sizes. On my OpenDesire 4.0.10 I get about a steady 2Mb/s on both write and read.
* Problem did not exist pre-root on 2.1
* Problem is not SD card itself, except of course if you got a card that performs badly. The original one (class 2, 4gb) performs just as badly as my Class 4 16Gb. They perform really well using a cardreader though.
* Have had the problem since rooted and ran DeFrost in early june. I've only used Nexus Froyo ports until AOSP ones started popping up, so I can't speak for any other than DeFrost up to 2.3 and OpenDesire 4.0.10.
* Does not have anything to do with App2SD from what I can find out. Either native or modded. Why? I've never used it until two weeks ago.
* Problem surely must be Android related itself (maybe a bug? Any problems on the Nexus?), because the write/read speed is just as bad for the phone vs SD card internally as it's over USB Mass Storage mode.
I don't get it really. It's weird. Some of the devs surely must have gotten irritated about this weird behavior and investigated? Maybe we can call Kali to our aid this time? He's really been our savior in other instances and I suspect it's gonna be a simple fix in the end.
Questions which may make our quest easier:
* How's a original phone, non rooted HTC Sense 2.2 ROM performing?
* How's a rooted phone (Unrevoked, Clockwork, AmonRa etc), but nonrooted more or less original HTC Sense 2.2 ROM performing?
* How's a rooted phone, with rooted/modded HTC Sense 2.2 ROM performing?
* How's a fully modded, full of bloatware Sense mod yadda yadda performing? (you get my point)
I'm running OpenDesire 4.0.10 which is AOSP with quite a few bits and bobs, so I know how that performs. It uses a fork of Cyanogen Passion kernel, and I suspect the rest of the AOSP ROM's does more or less the same. If you got one that is not based on Cyanogen, or a Cyanogen that performs really well, please tell and post your results. Simple average reports with some details of your ROM. No super duper accurate over time diagnostics crap.
Could it be the root process itself that causes the problem? A glitch somewhere in a boot driver?
I switched from fake-flash (back in june version) to a Unrevoked AmonRA two weeks ago. Problem remains. So, got no clue there.
I'll do a speed test in AmonRA Mass Storage Mode tomorrow to see if problem is present there also. Then surely there must be something weird going on.
EDIT:
Please. Don't ask me how to benchmark your SD card (no windows buffered speeds here!), what the difference of/in ROM's are, which kernel is which, who's who etc. If you know what I'm talking about you'll also know what to do (enough ranting from me).
EDIT2 (outside main OS):
In AmonRA Recovery Image (installed with Unrevoked), speed is just as low as when android itself is loaded.
This worries me. Kernel related or not? Maybe AmonRA kernel just isn't configured for high speed storage and we're sidetracked.
In AmonRA Mass is speed low, identical, but without burst lag ( < 2MB/s )

Are apps stored on the ROM partition?

Phones typically have a partition of encrypted memory for the OS and Apps. Most Win7 Phones have 512MB of this ROM. In other phones, the ROM severely limits the number or size of apps. Are apps in Windows 7 Phone stored in the ROM as well?
I didn't think so until I saw some phones have 1GB of ROM. If just the OS + 60MB of pre-installed software is allowed, what's the advantage of 1GB of ROM?
ROM should be Read Only Memory, so I guess that nothing except maybe major system updates will be installed on the ROM.
ROM is a misnomer but nevertheless the ROM partition is what manufacturers refer to for application space.
I don't see the point of having larger ROM partitions unless apps will be stored on the ROM. I'm hoping that if Windows 7 Phone stores apps on the ROM, it can efficiently recognize and install only the necessities onto the ROM and string the rest of the app over the single storage volume. Otherwise, we're looking at an OS with severely limited app storage.
I read in the Microsoft spec that any app pre-installed by the manufacturer needs to be restorable. So they probably have a backup copy of the app in the ROM section in that case.
athompson said:
I read in the Microsoft spec that any app pre-installed by the manufacturer needs to be restorable. So they probably have a backup copy of the app in the ROM section in that case.
Click to expand...
Click to collapse
Yes you are correct, however, as stated in the original post, the limit for pre-installed software is 60MB.
I know that side-loading isn't possible, but I still have to ask: can you remove the sd card and load an app directly onto it with a card reader? I know that removing the card causes a hard reset, but if you pull the battery first, then can you remove the card, mess with it, replace the card and then replace the battery without having the device hard reset? It seems like you could at least access the sd card file system this way (but I'm probably missing something).
Farmer Ted said:
I know that side-loading isn't possible, but I still have to ask: can you remove the sd card and load an app directly onto it with a card reader? I know that removing the card causes a hard reset, but if you pull the battery first, then can you remove the card, mess with it, replace the card and then replace the battery without having the device hard reset? It seems like you could at least access the sd card file system this way (but I'm probably missing something).
Click to expand...
Click to collapse
Surely, if the OS is split between the SD and phone memory then trying to just use the SD in that way would result in corruption?
Also, I imagine that the OS does self consistency checks, in some way, so that when you reinserted the SD card it'd notice that it's been altered?
Of course, that's a guess and I could be completely wrong.
I think I read in another thread that a few people have pulled the sd card, and couldn't read it with a reader. I guess it's encrypted (makes sense, but it still sucks).
Farmer Ted said:
I think I read in another thread that a few people have pulled the sd card, and couldn't read it with a reader. I guess it's encrypted (makes sense, but it still sucks).
Click to expand...
Click to collapse
Da_G mentioned its like a RAID0 with striping between the internal flash and the external flash card. Striping means that the data is divided between the two storage divices, which makes access faster (since you can get them both in parallel). It also means that if one of the memory devices fails, all data is lost. Which comfirms what we've seen in the Microsoft documentation, that if you remove the flash card and replace it with a different one, all your data is lost.
athompson said:
Da_G mentioned its like a RAID0 with striping between the internal flash and the external flash card. Striping means that the data is divided between the two storage divices, which makes access faster (since you can get them both in parallel). It also means that if one of the memory devices fails, all data is lost. Which comfirms what we've seen in the Microsoft documentation, that if you remove the flash card and replace it with a different one, all your data is lost.
Click to expand...
Click to collapse
That makes me think, If it's like a raid0, and your internal memory has 8gb, then you dump in a 16gb card, will it be like raid where only 8gb of the 16gb will be usable (in the raid) ?
DavidinCT said:
That makes me think, If it's like a raid0, and your internal memory has 8gb, then you dump in a 16gb card, will it be like raid where only 8gb of the 16gb will be usable (in the raid) ?
Click to expand...
Click to collapse
That's a good point, it doesn't sound too cool, does it. From what I understand about raid0, the purpose is to divide the data between two different disks, so you can get twice the IO bandwidth (since you can load half the file from each one, get it twice as fast). Raid0 doesn't do any backup, so if either hard drive fails, the whole thing is unrecoverable. Which is why most people don't use raid0.
But since it doesn't do any backup, it means there's no 'wasted' space, which means the full 16gb will likely be usable.
RAID0 is in ", better expression is JBOD (but data is stripped between the drives somehow).
Anyway, it is similar to current WM. There is IMGFS with some reserved space (a lot more actually, so all image updates fit in there without flashing phone, I'd be guessing that about 200MB is left as reserved space). The rest of the storage is as userspace, where are all stuff installed.
DavidinCT,
Your thinking of RAID 1 (mirroring) RAID 0 is striping without parity. So it basically writes/reads across both .. it looks like one volume but writes/reads could be on either storage.. depending on where they were written..
So.. when you remove the card .. or if you alter the card... it beaks the stripe set.. and toasts the storage volume.. if the storage is encrypted that would additionally complicate things..

[Q] [How To] Replacing micro SDcard (rooted)

Hello!
I'm running Eclair on my DEFY, it's rooted via z4root.
I currently hold a 2GB microSD card and, as the volume of the apps is getting higher, I wish to upgrade to a 16GB microSD (a SunDisk one).
But I'm wondering if there's more to do then simply copy the apps to a temporary directory on my pc then fill in the new card.
Anyone has yet upgraded?
--- edit: made a deep search on the forum and find out I need a class 6/8 microSD, then I have to format prior to copy up everything that was on the old microSD.
Anything else should I know?
Cheers,
C*
Nothing special to do.
Just copy your actual SD contents on the new one and Go!
I went from the 2GB for a 8GB like this without any tricks...
etherea said:
--- edit: made a deep search on the forum and find out I need a class 6/8 microSD, then I have to format prior to copy up everything that was on the old microSD.
Click to expand...
Click to collapse
Class 6/8 is not needed, my 8GB is a Class2 and it work absolutly fine!
For apps the data rate ofthe SD is not really important, 'cause u'll never load large amount off data each time. And SD card are still very very very slow against RAM.
Flash memory have good random access time, that's much important than data rate.
Good data rate are only for large file transfert from/to an other device (PC, etc)
Last thing: by default le SD is not use for app installation on the defy, they use the 2GB internal memory.
You should use some App2Sd for extend this, and it's better to have Android 2.2 then.
Apps in android 2.1 arent stored on the sd card without a mod available on this phone yet.
Instead it is stored on the 2gb internal memory which should be pleanty for lots of apps
Le_Poilu said:
Nothing special to do.
Just copy your actual SD contents on the new one and Go!
I went from the 2GB for a 8GB like this without any tricks...
Click to expand...
Click to collapse
Fine, I thought there were some special "needings", I was stuck to the Motorola A1210 that was a bit tricly because of some apps hidden here and there on the microSD.
Le_Poilu said:
Last thing: by default le SD is not use for app installation on the defy, they use the 2GB internal memory.
You should use some App2Sd for extend this, and it's better to have Android 2.2 then.
Click to expand...
Click to collapse
Actually the major part of the apps is installed on the microSD, I've checked several times and the percentage is so parted:
Apps/Things on the microSD 85%
Apps/Things on the Phone 23%
I'm not using any program to move stuff, but I'm intrigued by App2SD.
So thanks again =)
add.thebad said:
Apps in android 2.1 arent stored on the sd card without a mod available on this phone yet.
Instead it is stored on the 2gb internal memory which should be pleanty for lots of apps
Click to expand...
Click to collapse
As said in the previous reply, I can see stuff is stored on the microSD mainly..
No just copy the stuff from you old card to the new one. And as for class 6/8 I'm using a class 4 and its fine
etherea=> dont mix apps installation et apps data
The apps files are installed on the internal memory, but every app can use SD (intern or extern, whatever is present on the phone) for store datas.
Think about GPS software. This kind of soft need 1, 2 or more GB for maps storage.
The apps itself is on the "apps" space on the internal memory and all the maps stuff are on SD (intern or extern)
You can use software like diskusages to see what is where
etherea said:
As said in the previous reply, I can see stuff is stored on the microSD mainly..
Click to expand...
Click to collapse
Apps are not stored on the sd, however some apps data is.
Well thank you both, I still need to read a lot about the phone and aout Android but your answers did clarify a bit =)
Then, I upgraded to a 8GB SanDisk microSD with no problem.
The only minor issue was a duplicate of a couple of non-vital directories and related data, which were wiped out almost in a second.
Everything's working fine and have now much more space to fill in =)
Thanks everyone for the suggestions and hints!
Guys I'm about to replace my micro sd with Kingston 16gb class 4 but, don't laugh , I cant remove the old one. What do i do? There is a red plastic thingy so i guess it holds it, but do i pull it or what ? Sorry for the dump question.
Deyan_pk said:
Guys I'm about to replace my micro sd with Kingston 16gb class 4 but, don't laugh , I cant remove the old one. What do i do? There is a red plastic thingy so i guess it holds it, but do i pull it or what ? Sorry for the dump question.
Click to expand...
Click to collapse
Have you tried to pull it up?
It's a bit hard to get removed, try with a fine stick, I made it using my nails =)

SD Card doesnt show up after attempting to format as internal storage from stock crdroid android 10 files app

After attempting to format as internal using the preinstalled files app, my SD card is no longer recognized by my device…
I believe it is now completely corrupt, as even Windows is unable to read it after attempting to use an SD card adapter. It's not even listed in the disk management program…
Please help as i was dependent on my sd card as i only have 16gb on this device...
Use a low level formatting app to make it readable again.
You can also try accessing it directly* in Windows>Disk management, scan for new devices option.
Windows however may not be able to format it as it has been corrupted.
I don't recommend using the SD card like that; it's bandwidth is much slower than the internal memory and will noticeably slow down the device. If possible put all data on the SD card, only apps and maybe the download folder go on internal memory.
*this is the best way to access drives. You can do transfers directly from this Window to/from other drives.
blackhawk said:
Use a low-level formatting app to make it readable again.
You can also try accessing it directly in Windows > Disk management, scanning for new devices option.
Windows, however, may not be able to format it as it has been corrupted.
I don't recommend using the SD card like that; its bandwidth is much slower than the internal memory and will noticeably slow down the device. If possible, put all the data on the SD card. Only apps and maybe the download folder go on the internal memory.
This is the best way to access drives. You can do transfers directly from this window to/from other drives.
Click to expand...
Click to collapse
The issue is that it does not appear in disk management at all, so I can't do anything you suggest. What is a low-level formatting app, and what does it do?
As I previously stated, I attempted to make my SD card internal storage because apps would not move to the SD card even after rooting the device and using app2sd. Using app2sd simply redirected me to the app options page, where I was told to go to storage and move to the SD card, despite the fact that there was no such option. This "not finding move to SD card" issue is unique to the Crdroid; in stock ROM, it worked flawlessly.
If the file structure gets corrupted it can render the card unreadable.
Go the the card manufacturer to see if they a low level formatting utility. Here's some more , but I haven't used them, scan download with online Virustotal first to be safe. Lexar may have one it's a memory recovery app but it probably low level formats.
I never saw a card get so corrupted that you couldn't see on Disk Management. It may be DOA.
Check Event Viewer for error messages but first reboot and try another PC port.
Check the driver in hardware management, try to update it or roll it back.
blackhawk said:
If the file structure gets corrupted, it can render the card unreadable.
Go to the card manufacturer to see if they have a low-level formatting utility. Here's some more , but I haven't used them. Scan them with online Virustotal first to be safe. Lexar may have one. It's a memory recovery app, but it's probably low level formats.
I never saw a card get so corrupted that you couldn't see it on disk management. It may be DOA.
Check Event Viewer for error messages, but first reboot and try another PC port.
Check the driver in hardware management, try to update it or roll it back.
Click to expand...
Click to collapse
If by DOA u mean is dead on arrival, it worked flawlessly before this. I have a SanDisk device. I'll try the formatting utility. Furthermore, I'm pretty sure the file structure is unreadable, and it is now fully corrupted…
Coming to think about it, i remember getting a Java error or something, but it was one of the disappearing notifs that appear at the bottom of the screen so i couldn't capture it…
thaynos said:
If by DOA u mean is dead on arrival, it worked flawlessly before this. I have a SanDisk device. I'll try the formatting utility. Furthermore, I'm pretty sure the file structure is unreadable, and it is now fully corrupted…
Coming to think about it, i remember getting a Java error or something, but it was one of the disappearing notifs that appear at the bottom of the screen so i couldn't capture it…
Click to expand...
Click to collapse
Try another card. If you can recover the victim card depends on if failure is hardware related.
Cards normally don't spontaneously go corrupt* so at this point even if you do recover it, I wouldn't trust it.
Once I have a SD card in a phone I leave it there and only access through the phone. Always format a new card in the phone before using.
Cards can be damaged by ESD, static electricity.
Avoid touching its contacts. On dry days touch an earth ground immediately before handling the card. If damaged by ESD it may manifest itself immediately or days, weeks or even years latter.
While they have some internal ESD protection it's limited, so a big enough charge or repeated ESD insults can destroy it.
This is the biggest threat to flash memory. Near lightning strikes can also destroy them by magnetic and/or capacitive induction.
*Don't share use in other devices like cams without formatting in that device first. That can cause file corruption.
blackhawk said:
Try another card. If you can recover the victim card depends on if failure is hardware related.
Cards normally don't spontaneously go corrupt* so at this point even if you do recover it, I wouldn't trust it.
Once I have a SD card in a phone I leave it there and only access through the phone. Always format a new card in the phone before using.
Cards can be damaged by ESD, static electricity.
Avoid touching its contacts. On dry days touch an earth ground immediately before handling the card. If damaged by ESD it may manifest itself immediately or days, weeks or even years latter.
While they have some internal ESD protection it's limited, so a big enough charge or repeated ESD insults can destroy it.
This is the biggest threat to flash memory. Near lightning strikes can also destroy them by magnetic and/or capacitive induction.
*Don't share use in other devices like cams without formatting in that device first. That can cause file corruption.
Click to expand...
Click to collapse
the point of asking for advice is cuz i dont have another card
try InitDisk

Categories

Resources