Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,811,472 Members 50,286 Now Online
XDA Developers Android and Mobile Development Forum

[FIX] CM7: Fixes for SDCARD issues

Tip us?
 
jcsullins
Old
(Last edited by jcsullins; 26th December 2011 at 11:40 AM.) Reason: refine text
#1  
Senior Member - OP
Thanks Meter 1,351
Posts: 179
Join Date: Jul 2010

 
DONATE TO ME
Default [FIX] CM7: Fixes for SDCARD issues

Here are a some fixes that should help with some (most?) of those having
'sdcard' issues (or hoping to avoid them):


The first fix should be applied by everyone. It fixes the fsck_msdos
program. This program is used to check your 'sdcard' for errors before
using it. This program can also correct many of these errors. After
this fix is applied, you should see a notification after booting:

Preparing SD card
Checking for errors.

This notification will last until it is done checking. That will last
around 30 seconds (can vary greatly depending on size of 'sdcard' and
number of files on it, etc.). If this notifcation is replaced with
one that states 'Damaged SD Card', then the fsck_msdos was unable
to correct the errors. Hopefully, with this fix (barring some other
major incident), all of the minor errors on the 'sdcard' will get
fixed before they become major errors that it cannot fix.

The fsck_msdos fix: http://www.mediafire.com/?g52q4zr03c3z1gx
Apply with your favorite recovery software.

NOTE: The fsck_msdos fix should be applied before any of the other fixes.
Also, you should boot at least once after applying the fix to allow it to
check/fix the 'sdcard'.

The other fixes are not true fixes, but work-arounds for the 50+
apps on sdcard issue. One of them allows you to increase the size
of your 'Internal storage' so you do not have to move apps to the
'sdcard'. The other allows you to move these apps back to the
'Internal storage' after you have encountered the 50+ issue.

After the "Preparing SD card" notification goes away, after about
a minute (can vary), do you see the following notification:

Removed SD card
SD card removed. Insert a new one.

If so, that (most likely) means that you have encountered the
50+ issue. To fix it, you will need to move apps back from
the 'sdcard' to the 'Internal storage' (or 'phone').

The next fix/workaround allows you to 'stash' some of the apps
on the 'sdcard' so that the 50+ issue does not come into play.
This will allow you to move apps back from the 'sdcard' without
encountering the "Removed SD card" error while attempting to do so.
Each time you apply this 'fix', it will 'stash' all but 40 of
the apps on the 'sdcard'.

So, apply this fix once. Then move apps back from the 'sdcard' to
the 'phone' (or 'Internal storage'). Note that apps that have been
'stashed' might show with a greyed-out icon with an 'SD Card' symbol
and the letters 'SD' -- do not attempt to move these. After you
have moved the apps from the 'sdcard' back to 'phone' (those that
haven't been 'stashed'), you apply the fix again. Applying the
fix the second time will 'unstash' the remaining apps (remember
that it will not allow more than 40 apps to be 'unstashed') thus
allowing you to move them off the 'sdcard' too.

Get it here: http://www.mediafire.com/?4n3fhag1d33127q
Apply with your favorite recovery software.


The last fix/workaround allows you to increase the size of your
'Internal storage'. This will allow you to store more apps on
your 'Internal storage' and avoid having them on the 'sdcard'.

To check your current 'Internal storage' space, go to
Settings/Storage and note the values under 'Internal Space'.
If the size of the 'Available Space' is not enough to hold
all the apps you are moving back from the 'sdcard' (or apps
that you will install in the near future), you will need
to increase the size of your 'Internal Space'.

You can increase the size of your 'Internal space' (or /data)
in increments of 256MB, 512MB, 1024MB and 2048MB. You apply
these 'fixes' with recovery software (tested with CWM and TWRP),
however, please note the warnings below.

********** PLEASE READ ALL WARNINGS BELOW **********
********** PLEASE READ ALL WARNINGS BELOW **********
data_plus_256mb: http://www.mediafire.com/?gxqjki8s255lwpw

data_plus_512mb: http://www.mediafire.com/?wh83t6urhnf82ad

data_plus_1024mb: http://www.mediafire.com/?zaeh4fd3pjinaga

data_plus_2048mb: http://www.mediafire.com/?xyxdx7xscee6mex
********** PLEASE READ ALL WARNINGS BELOW **********
********** PLEASE READ ALL WARNINGS BELOW **********

WARNINGS:

1) BACKUPS. BACKUPS. BACKUPS. As always, and especially when you
are resizing filesystems, you should have backups. This means
backups of all data (that you would care about losing) on the
Touchpad. These backups should be stored off of the Touchpad.

2) Before attempting to resize your 'Internal space' make sure
you have enough free space on your 'sdcard' to do so. Check
this from Settings/Storage/SD card/Available Space. You should
have enough space plus a very healthy 'safety margin'.
DO NOT ATTEMPT TO TAKE ALL (OR CLOSE) AVAILABLE SPACE FROM SDCARD.

3) Before applying this 'fix', make sure you have plenty of charge
on your battery.

4) Do not reboot, reset or otherwise interrupt the touchpad while
applying this 'fix'.

5) As soon as this 'fix' is complete, use the recovery software's
reboot command to reboot the system. Do not do anything else
in recovery after applying this 'fix'. This 'fix' does things
that recovery software are not designed to do and does not
expect to happen. REBOOT IMMEDIATELY AFTER APPLYING FIX.
The Following 9 Users Say Thank You to jcsullins For This Useful Post: [ Click to Expand ]
 
jcsullins
Old
#2  
Senior Member - OP
Thanks Meter 1,351
Posts: 179
Join Date: Jul 2010

 
DONATE TO ME
reserved ....................
 
jcsullins
Old
#3  
Senior Member - OP
Thanks Meter 1,351
Posts: 179
Join Date: Jul 2010

 
DONATE TO ME
reserved ..........
 
havikx
Old
#4  
Senior Member
Thanks Meter 61
Posts: 480
Join Date: Feb 2009
just got touchpad. i haven't encounter any issues with the sdcard yet. though i haven't installed too much yet. will keep eye on this. i like the tweaking of the partition sizes. seems easier than the webos doctor way.
#HTC One S w/ Unknown JB Tmo
#HTC G2 w/ andromadus ICS
#HTC HD2 w/tytung cm9
#HTC G1 w/ Bananabread ICS
Logitech Revue w/ 3.1 honeycomb
#HP Touchpad w/ cm10 cam preview 5
#Samsung GS2 w/aosp ics
general android modder and follower since android 1.0
The Following User Says Thank You to havikx For This Useful Post: [ Click to Expand ]
 
dundroid
Old
#5  
Member
Thanks Meter 8
Posts: 33
Join Date: Mar 2011
thank you for your effort,
I was wondering if this can enable the USB host feature as well?
I have the Micro SD to female USB, which works fine with my galaxy S II phone but never with the touchpad. I saw youtube work arounds which are not very practical (using an external source of power)

thanks again
 
jcsullins
Old
#6  
Senior Member - OP
Thanks Meter 1,351
Posts: 179
Join Date: Jul 2010

 
DONATE TO ME
Quote:
Originally Posted by dundroid View Post
thank you for your effort,
I was wondering if this can enable the USB host feature as well?
I have the Micro SD to female USB, which works fine with my galaxy S II phone but never with the touchpad. I saw youtube work arounds which are not very practical (using an external source of power)

thanks again
No, does nothing whatsoever related to USB host.
 
TKG26
Old
#7  
TKG26's Avatar
Senior Member
Thanks Meter 19
Posts: 267
Join Date: Aug 2008
I have the 32gig unit and over 100apps. And have had zero issues with the SD card... Am i just a lucky guy? Why would we not all have the problems? Not complaining im glad i have no issues but it find it strange how we all run the same hardware and there are only 3 maybe 4 android roms that can be installed.

Is there any explanation as to why some and not others have SD issues?

Ill keep this thread in mind if i should ever encounter issues.
TELUS
LG G3(in the mail)
Galaxy S3
Nexus 7
www.rcottawa.com
 
jcsullins
Old
#8  
Senior Member - OP
Thanks Meter 1,351
Posts: 179
Join Date: Jul 2010

 
DONATE TO ME
Quote:
Originally Posted by TKG26 View Post
I have the 32gig unit and over 100apps. And have had zero issues with the SD card... Am i just a lucky guy? Why would we not all have the problems? Not complaining im glad i have no issues but it find it strange how we all run the same hardware and there are only 3 maybe 4 android roms that can be installed.

Is there any explanation as to why some and not others have SD issues?

Ill keep this thread in mind if i should ever encounter issues.
Note that the first fix (fsck_msdos) should really be applied by anyone as
it helps prevent minor errors on the 'sdcard' from becoming major errors.

For the 50+ apps issue, it is not the total number of apps installed, but
the number of apps installed to the 'sdcard'. Go to Settings, Applications,
Manage Applications, SD Card ... how many of those have a checkmark
in the boxes on the right?
 
bilbo6209
Old
#9  
Member
Thanks Meter 11
Posts: 84
Join Date: Dec 2010
I got a warning that I was low on internal space today so I ran the 3 fixes; fsck_msdos, stash apps, and then I ran the data plus 1024mb and received a checksum failure 4 after the script ran. I rebooted and the tablet still has 186mb free space. I downloaded the data plus 2048mb zip and ran it in recovery, on reboot I still have 186mb free space and my free space on the sd card went down by 2gb. I'm sure I did something wrong but any help would be great.
 
jcsullins
Old
#10  
Senior Member - OP
Thanks Meter 1,351
Posts: 179
Join Date: Jul 2010

 
DONATE TO ME
Quote:
Originally Posted by bilbo6209 View Post
I got a warning that I was low on internal space today so I ran the 3 fixes; fsck_msdos, stash apps, and then I ran the data plus 1024mb and received a checksum failure 4 after the script ran. I rebooted and the tablet still has 186mb free space. I downloaded the data plus 2048mb zip and ran it in recovery, on reboot I still have 186mb free space and my free space on the sd card went down by 2gb. I'm sure I did something wrong but any help would be great.
I'm not aware of any error that says: "checksum failure 4"

When you ran the "data plus 2048mb", did it say "FAILED" or "SUCCEEDED"?

Please copy the full output from the "data plus" script that you get.

Also, are you 100% SURE that the size of the 'sd card' went down by 2gb?

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes