Enable the Hidden Notification LED on the Google Nexus 6!

LED notification lights have existed on Android devices since the very beginnings … more

MX Player Ready to Rock on Lollipop

A good video player should be reliable and free. One of the XDA Community Apps, MX Player, meets both of … more

How to Disable Data Encryption on Nexus 6

In late September, Google decided to step on NSA’s toes and turn on encryption by default in … more

DJI Phantom 2 Vision+ Review – XDA TV

The holidays will be here in no time, so why not start thinking about gifts now? Youll be ahead … more

Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

***[Guide]SD Card problems When you've flashed a rom? *** Now Obsolete!!!

OP [vertigo]

31st August 2012, 02:44 PM   |  #1  
[vertigo]'s Avatar
OP Recognized Contributor / Themer
Flag Sheffield
Thanks Meter: 6,497
 
3,231 posts
Join Date:Joined: Jun 2009
More
Have you recently installed a new rom?
Have you lost your SDCard storage space?
Is your SDCard size now about 200kb?


Well fear not... The answers are out there... You've just got to search for them

But if you can't find the answer... Here is the solution

The reason your SDCard is showing the wrong size is that you've flashed a rom that is not meant for the hboot on your phone.

The solution is simple really, it can be done 1 of 3 ways


But before you start you need to know what hboot you're on. Get the phone into bootloader and it will show you what hboot you're on (If you don't know how to do this by now, give up and get an iPhone lol )


1. Download ESfile Explorer from Play Store and go to settings and then root settings and give it root privileges. Once thats done go to root of phone and go to /system/etc and find a file called vold.fstab and open it with a text editor and find this line

dev_mount sdcard /mnt/sdcard 34 /devices/platform/msm_sdcc.2/mmc_host

now for 1.25 hboot you will need to change where it says 34 to 33
and for 1.28 hboot you will need to change where it says 33 to 34


Save the file once done and reboot phone and voila you should have your sdcard back if you've done it right

2. Download the files I've attached for which hboot you are on and then make sure usb debugging is enabled in settings/developer options and plug your phone into computer. Then download the ADB & FASTBOOT zip attached and open zip and drag the folder onto your desktop, open the folder up and then open the zip for your hboot and drag the vold.fstab into the ADB & FASTBOOT folder. Double click on runme.bat and you should get a command prompt window pop up. With your phone connected you will need to type this

adb remount
then
adb push vold.fstab /system/etc
then
adb reboot

Once rebooted you should have your SDCard back

3. Probably the easiest way, just download the right hboot zip and get the vold.fstab from it and put it in the rom zip you flashed at /system/etc and flash it again... Or edit the one that is already there...

Told you it was Easy
Attached Files
File Type: zip vold-1.25 hboot.zip - [Click for QR Code] (458 Bytes, 1154 views)
File Type: zip vold-1.28 hboot.zip - [Click for QR Code] (458 Bytes, 1696 views)
File Type: zip ADB & FASTBOOT.zip - [Click for QR Code] (833.1 KB, 6717 views)
Last edited by [vertigo]; 2nd June 2013 at 02:16 AM.
The Following 16 Users Say Thank You to [vertigo] For This Useful Post: [ View ]
1st September 2012, 03:38 PM   |  #2  
marc0polo's Avatar
Member
Thanks Meter: 1
 
38 posts
Join Date:Joined: Aug 2012
Best guide evar!

It's actually pretty good.. I only wish it had been written sooner, as it would have saved me so much effort searching... Haha

Sent from my HTC Sensation XL with Beats Audio X315e
5th September 2012, 04:15 AM   |  #3  
Junior Member
Thanks Meter: 1
 
1 posts
Join Date:Joined: Sep 2012
Unhappy
Quote:
Originally Posted by [vertigo]

Have you recently installed a new rom?
Have you lost your SDCard storage space?
Is your SDCard size now about 200kb?


Well fear not... The answers are out there... You've just got to search for them

But if you can't find the answer... Here is the solution

The reason your SDCard is showing the wrong size is that you've flashed a rom that is not meant for the hboot on your phone.

The solution is simple really, it can be done 1 of 3 ways


But before you start you need to know what hboot you're on. Get the phone into bootloader and it will show you what hboot you're on (If you don't know how to do this by now, give up and get an iPhone lol )


1. Download ESfile Explorer from Play Store and go to settings and then root settings and give it root privileges. Once thats done go to root of phone and go to /system/etc and find a file called vold.fstab and open it with a text editor and find this line

dev_mount sdcard /mnt/sdcard 34 /devices/platform/msm_sdcc.2/mmc_host

now for 1.25 hboot you will need to change where it says 34 to 33
and for 1.28 hboot you will need to change where it says 33 to 34


Save the file once done and reboot phone and voila you should have your sdcard back if you've done it right

2. Download the files I've attached for which hboot you are on and then make sure usb debugging is enabled in settings/developer options and plug your phone into computer. Then download the ADB & FASTBOOT zip attached and open zip and drag the folder onto your desktop, open the folder up and then open the zip for your hboot and drag the vold.fstab into the ADB & FASTBOOT folder. Double click on runme.bat and you should get a command prompt window pop up. With your phone connected you will need to type this

adb remount
then
adb push vold.fstab /system/etc
then
adb reboot

Once rebooted you should have your SDCard back

3. Probably the easiest way, just download the right hboot zip and get the vold.fstab from it and put it in the rom zip you flashed at /system/etc and flash it again... Or edit the one that is already there...

Told you it was Easy

Help.

adb remount
remount failed: Success
The Following User Says Thank You to santafeng For This Useful Post: [ View ]
5th September 2012, 09:01 AM   |  #4  
[vertigo]'s Avatar
OP Recognized Contributor / Themer
Flag Sheffield
Thanks Meter: 6,497
 
3,231 posts
Join Date:Joined: Jun 2009
More
Have you got USB debugging on in developer options on your phone?

Sent from my Galaxy Nexus using xda premium
2nd November 2012, 10:04 AM   |  #5  
Junior Member
Flag Rotterdam
Thanks Meter: 0
 
1 posts
Join Date:Joined: Nov 2012
More
Thumbs up THANX!!!
I just wanna say that posts like this one are making my life so much easier! I would have NEVER found this myself...

Guys like you are AWESOME!!!

3rd November 2012, 11:26 AM   |  #6  
Junior Member
Thanks Meter: 1
 
12 posts
Join Date:Joined: Oct 2011
Quote:
Originally Posted by lexusis220d

I just wanna say that posts like this one are making my life so much easier! I would have NEVER found this myself...

Guys like you are AWESOME!!!


Am saying the same
4th December 2012, 07:36 AM   |  #7  
Junior Member
Thanks Meter: 0
 
10 posts
Join Date:Joined: Nov 2012
Quote:
Originally Posted by santafeng

Help.

adb remount
remount failed: Success

hahaha wtf

but seriously, lots of thanks to OP, this guide has saved my ass several times.
4th December 2012, 10:25 AM   |  #8  
anders3408's Avatar
Recognized Developer / Contributor
Flag Jerslev
Thanks Meter: 1,203
 
1,667 posts
Join Date:Joined: Dec 2009
Donate to Me
More
You can also just put my SD card fix to your SD card and then you can flash it easy if something is wrong. Also don't edit cold.fstab. some wrong line and phone is bricked for good.

Sent from my HTC Sensation XL with Beats Audio X315e using xda premium
The Following User Says Thank You to anders3408 For This Useful Post: [ View ]
22nd December 2012, 08:50 AM   |  #9  
Junior Member
Thanks Meter: 0
 
1 posts
Join Date:Joined: Sep 2010
Hboot version not one of the ones you listed
Quote:
Originally Posted by [vertigo]

Have you recently installed a new rom?
Have you lost your SDCard storage space?
Is your SDCard size now about 200kb?


Well fear not... The answers are out there... You've just got to search for them

But if you can't find the answer... Here is the solution

The reason your SDCard is showing the wrong size is that you've flashed a rom that is not meant for the hboot on your phone.

The solution is simple really, it can be done 1 of 3 ways


But before you start you need to know what hboot you're on. Get the phone into bootloader and it will show you what hboot you're on (If you don't know how to do this by now, give up and get an iPhone lol )


1. Download ESfile Explorer from Play Store and go to settings and then root settings and give it root privileges. Once thats done go to root of phone and go to /system/etc and find a file called vold.fstab and open it with a text editor and find this line

dev_mount sdcard /mnt/sdcard 34 /devices/platform/msm_sdcc.2/mmc_host

now for 1.25 hboot you will need to change where it says 34 to 33
and for 1.28 hboot you will need to change where it says 33 to 34


Save the file once done and reboot phone and voila you should have your sdcard back if you've done it right

2. Download the files I've attached for which hboot you are on and then make sure usb debugging is enabled in settings/developer options and plug your phone into computer. Then download the ADB & FASTBOOT zip attached and open zip and drag the folder onto your desktop, open the folder up and then open the zip for your hboot and drag the vold.fstab into the ADB & FASTBOOT folder. Double click on runme.bat and you should get a command prompt window pop up. With your phone connected you will need to type this

adb remount
then
adb push vold.fstab /system/etc
then
adb reboot

Once rebooted you should have your SDCard back

3. Probably the easiest way, just download the right hboot zip and get the vold.fstab from it and put it in the rom zip you flashed at /system/etc and flash it again... Or edit the one that is already there...

Told you it was Easy

Hi, my HBoot version is 1.27.111. I tried to experiment with some of the numbers you posted and my phone won't boot at all now (stuck in swirling cyanogenmod animation). Any recommendations?

---------- Post added at 08:50 AM ---------- Previous post was at 08:29 AM ----------

Quote:
Originally Posted by chefmarc

Hi, my HBoot version is 1.27.111. I tried to experiment with some of the numbers you posted and my phone won't boot at all now (stuck in swirling cyanogenmod animation). Any recommendations?

Quote:
Originally Posted by anders3408

You can also just put my SD card fix to your SD card and then you can flash it easy if something is wrong. Also don't edit cold.fstab. some wrong line and phone is bricked for good.

Sent from my HTC Sensation XL with Beats Audio X315e using xda premium

My phone appears to be bricked. any recommendations?
Last edited by chefmarc; 22nd December 2012 at 08:44 AM. Reason: mistake
2nd June 2013, 01:36 AM   |  #10  
jeanpean's Avatar
Junior Member
Flag diyarbakır
Thanks Meter: 0
 
2 posts
Join Date:Joined: May 2013
More
sorry
Quote:
Originally Posted by [vertigo]

Have you recently installed a new rom?
Have you lost your SDCard storage space?
Is your SDCard size now about 200kb?


Well fear not... The answers are out there... You've just got to search for them

But if you can't find the answer... Here is the solution

The reason your SDCard is showing the wrong size is that you've flashed a rom that is not meant for the hboot on your phone.

The solution is simple really, it can be done 1 of 3 ways


But before you start you need to know what hboot you're on. Get the phone into bootloader and it will show you what hboot you're on (If you don't know how to do this by now, give up and get an iPhone lol )


1. Download ESfile Explorer from Play Store and go to settings and then root settings and give it root privileges. Once thats done go to root of phone and go to /system/etc and find a file called vold.fstab and open it with a text editor and find this line

dev_mount sdcard /mnt/sdcard 34 /devices/platform/msm_sdcc.2/mmc_host

now for 1.25 hboot you will need to change where it says 34 to 33
and for 1.28 hboot you will need to change where it says 33 to 34


Save the file once done and reboot phone and voila you should have your sdcard back if you've done it right

2. Download the files I've attached for which hboot you are on and then make sure usb debugging is enabled in settings/developer options and plug your phone into computer. Then download the ADB & FASTBOOT zip attached and open zip and drag the folder onto your desktop, open the folder up and then open the zip for your hboot and drag the vold.fstab into the ADB & FASTBOOT folder. Double click on runme.bat and you should get a command prompt window pop up. With your phone connected you will need to type this

adb remount
then
adb push vold.fstab /system/etc
then
adb reboot

Once rebooted you should have your SDCard back

3. Probably the easiest way, just download the right hboot zip and get the vold.fstab from it and put it in the rom zip you flashed at /system/etc and flash it again... Or edit the one that is already there...

Told you it was Easy

sorry man I tried
but it doen't work(

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes