I have a Sandisk 1GB microSD. If I insert it in the slot, it shows up under settings->Storage->MicroSD, but it doesn't appear in the /mnt directory. Any thoughts?
-J
miatawnt2b said:
I have a Sandisk 1GB microSD. If I insert it in the slot, it shows up under settings->Storage->MicroSD, but it doesn't appear in the /mnt directory. Any thoughts?
-J
Click to expand...
Click to collapse
nevermind... need to go to /Removable. Thanks!
-J
miatawnt2b said:
nevermind... need to go to /Removable. Thanks!
-J
Click to expand...
Click to collapse
no problem
Related
My SanDisk 4GB Extreme III SecureDigital Card was working fine until I reformatted it in my XDA Exec and after that it has remained 2GB.... Can anyone help me get it back to 4GB?
try pocket mechanics or format it as something other then fat16
Rudegar said:
try pocket mechanics or format it as something other then fat16
Click to expand...
Click to collapse
I tried pocket mechanic pro.. and i also tried to reformat it again in my USB SD card reader as fat16/32... both the times 2GB 2GB 2GB ..... This 4GB card hasnt been marketed yet so i cant exchange it real quick. But the card remains 2GB!
who'd you buy it from, I like free 2gb cards
try formatting it as ntfs or use patition manager to resize the partition
or try making 2 partition on 2gb each
ionutzu said:
who'd you buy it from, I like free 2gb cards
Click to expand...
Click to collapse
LOL who said its free? it costs $80.. and its not 2GB... something messed up.. i need to get it back to 4GB.
Try writing zeros over the disk using a utility like 'dd' in Linux:
example: 'dd if=/dev/zero of=/dev/sd? bs=16k'
Replace /dev/sd? with the device name of the card when it's in a reader attached to your PC.
Once you've overwritten it with zeros, format it to FAT32 on an XP machine.
mikesol said:
Try writing zeros over the disk using a utility like 'dd' in Linux:
example: 'dd if=/dev/zero of=/dev/sd? bs=16k'
Replace /dev/sd? with the device name of the card when it's in a reader attached to your PC.
Once you've overwritten it with zeros, format it to FAT32 on an XP machine.
Click to expand...
Click to collapse
woah you totally lost me.. does this have to be done using linux redhat or something?
Rudegar said:
try formatting it as ntfs or use patition manager to resize the partition
or try making 2 partition on 2gb each
Click to expand...
Click to collapse
How can i make 2 partitions..... Partition Magic or any other program doesnt even show it in the options as partitioning....
Download a KNOPPIX disk, or SLAX, or any other Linux Live CD, boot up with it.
Get to a terminal.
Type 'dmesg | grep sd | less' to determine the 'device name' of your inserted SD card. I assume you're using a USB reader for it. If you're not sure, post the output of 'dmesg | grep sd' here - the live CD's have a full graphical environment with Firefox so it should be plenty easy to post here while running on one.
Once you're sure you have the right device name, use the command above. Note that if you use the wrong device name you may write zeroes all over your hard drive, so BE SURE.
mikesol said:
example: 'dd if=/dev/zero of=/dev/sd? bs=16k'
Click to expand...
Click to collapse
SD cards don't use 16k blocks. 512, 1024 for 2GB and 2048 for 4GB.
But all cards must be capable of 512byte blocks, that's how the linux
driver works on HTC phones.
mikesol said:
Download a KNOPPIX disk, or SLAX, or any other Linux Live CD, boot up with it.
Get to a terminal.
Type 'dmesg | grep sd | less' to determine the 'device name' of your inserted SD card. I assume you're using a USB reader for it. If you're not sure, post the output of 'dmesg | grep sd' here - the live CD's have a full graphical environment with Firefox so it should be plenty easy to post here while running on one.
Once you're sure you have the right device name, use the command above. Note that if you use the wrong device name you may write zeroes all over your hard drive, so BE SURE.
Click to expand...
Click to collapse
Hey thanks I am going to try the Knoppix method ^^ My drive C: D: E: X Y Z are occupied. I think some more might be but i will note them down. Do network drives also count? I am using an external USB card reader. I have an internal card reader which recognizes the card but cannot read internal files. Oh i can keep posting the observations here while i am fixing my SD card? Will you be around? Can i book an appointment with you?
Hello folks,
I am trying to move my google music cache to the external 32GB SD card so that it won't fill up my internal storage but somehow I fail.
Here is what I did so far:
format sdcard as ext2
manually mount sdcard since it won't automatically when ext:
Code:
mkdir /Removable/MicroSD
mount -r -w -t ext2 /dev/block/vold/179\:9 /Removable/MicroSD
mkdir /Removable/MicroSD/GoogleMusicData
Then move all data from /sdcard/Android/data/com.google.android.music/cache to /Removable/MicroSD/GoogleMusicData/cache
I did this with root explorer since I'm not too much of a terminal h4xx0r.
Delete the folder /sdcard/Android/data/com.google.android.music/
Link the new Folder on external MicroSD Card to the original location via this terminal command:
Code:
ln -s /Removable/MicroSD/GoogleMusicData /data/media/Android/data/com.google.android.music
Since /sdcard is already a link like the one I am setting up here, it is not possible to link to this linked location (/sdcard/Android/data/com.google.android.music).
Instead I had to link to the origninal destination of /sdcard which is /data/media.
Now the microSD card is accessible for root explorer. It shows read and write access.
But google music won't find it. It says that it doesn't have enough space to stream music so I figure that it somehow doesn't have access to the sd card.
What could be the issue here?
Also instead of 28GB free memory root explorer shows me only 364,44MB free memory. the command "df" in terminal however confirms 28GB of free memory.
I thought that a reboot might do it. But it doesn't. Instead it gets rid of all the hacking I've done in terminal. So I guess I would have to place a script in /etc/init.d for the link to be set everytime I reboot, right?
Help please?
We don't know how gmusic checks that, but I would suggest checking the perms on the mount, perhaps even mounting somewhere else.
Never done it and don't have the resources but I'm sure with root, making /mnt/sdcard a real microsd is possible.
Sent from my Transformer Prime TF201 using Tapatalk
Maybe this thread will help ?
Thanks for your response!
What do you mean by "checking the perms on the mount"?
I don't want to mount my microsd to /sdcard since then I would have 16 gigs of unused space on my internal memory.
I would rather just link this music folder to my external card and maybe some others later (e.g. DCIM and so on).
I have also tried the mount -o bind command instead of ln but that didn't do the job either. the folder com.google.android.music then only appeared under /data/media/Android/data/ but not under /sdcard/Android/data/ which I totally don't understand how that can happen.
I have root of course.
Does anybody maybe have a script by hand of a similar undertaking so that I can look into that and try to understand how this whole mounting and binding thing works?
I wanted to convert my external sdcard to ext4 so I can create a symbolic link. Mainly because one of the apps I use won't see the sdcard (devs tell me it's because the tf700 isn't using mass storage drives apparently) and I thought this might solve the problem if I could put a link on the internal card that pointed to the external. I'm aware that symbolic links cannot work with FAT32 partitions but will between ext4/3/2 partitions.
I formatted the card with minitool partition and the TF700 wouldn't mount it. It shows up in settings > storage as a MicroSD with a Mount option but this simply does nothing. Having trawled through some thread someone provided this script to mount an ext4 card.
Code:
mkdir /Removable/MicroSD
mount -o noatime,nodiratime -t ext4 /dev/block/mmcblk1p1 /Removable/MicroSD
chmod -R 777 /Removable/MicroSD
Which should be done at each boot. This seemed to work as I got to the card and was able to manually copy something to it but it seems to be flakey and unreliable. eg. a picture copied to it would fail to load. I managed to get it to after a while (not sure what I did). Then I tried an .apk file and it wouldn't install, giving an error. I also used Rom toolbox to specify Apps2SD destination to the external but trying to install anything will give "not enough space" error.
So I am stumped.
As I am rooted but NOT unlocked I can't install a rom which might be the solution but I'd like to know if what I'm trying to do is possible without that.
I find it odd that the TF700 can't deal with an ext4 partition since it can happily deal with them on the internal. I'm confused so any clear explanation of the situation would be welcome.
louiscar said:
and I thought this might solve the problem if I could put a link on the internal card that pointed to the external. I'm aware that symbolic links cannot work with FAT32 partitions but will between ext4/3/2 partitions.
Click to expand...
Click to collapse
The internal "sdcard" is not an ext4 partition, it's a FUSE filesystem that emulates some properties of FAT (no case sensitivity, no permissions) on top of ext4. It also does not support symlinks.
louiscar said:
I formatted the card with minitool partition and the TF700 wouldn't mount it.
Click to expand...
Click to collapse
Many users of the Data2SD mod had problems with Minitool - use gparted to create ext4 partitions.
louiscar said:
This seemed to work as I got to the card and was able to manually copy something to it but it seems to be flakey and unreliable. eg. a picture copied to it would fail to load. I managed to get it to after a while (not sure what I did).
Click to expand...
Click to collapse
Are you on the latest 10.4.4.25 firmware? Because that fixed something with microSD cards, and it's the only kernel so far that reliably works with my Sandisk "Mobile Ultra" microSD card, even with ext4.
_that said:
The internal "sdcard" is not an ext4 partition, it's a FUSE filesystem that emulates some properties of FAT (no case sensitivity, no permissions) on top of ext4. It also does not support symlinks.
Click to expand...
Click to collapse
Ok although I don't understand the Fuse fs (still trying to get to grips with basic unix stuff), I did think that symlinks were used internally.
_that said:
Many users of the Data2SD mod had problems with Minitool - use gparted to create ext4 partitions.
Click to expand...
Click to collapse
Ok I'll give that a go.
_that said:
Are you on the latest 10.4.4.25 firmware? Because that fixed something with microSD cards, and it's the only kernel so far that reliably works with my Sandisk "Mobile Ultra" microSD card, even with ext4.
Click to expand...
Click to collapse
Yes, I've just done the OTA to .25 a few days ago.
So basically what you are saying is that there's no reason why an external MicroSD formatted as Ext4 shouldn't work with the TF700?
Many thanks for the quick reply. I'm going to get gparted and give this a go.
How do I Make USB Drive via OTG Read As extSD? (not internal)
or​Really its for my Ouya and I want to increase Virtual Ram Using ROEHSOFT RAM Expander (SWAP)
Toxic_Dragon said:
How do I Make USB Drive via OTG Read As extSD? (not internal)
or​Really its for my Ouya and I want to increase Virtual Ram Using ROEHSOFT RAM Expander (SWAP)
Click to expand...
Click to collapse
go here
https://play.google.com/store/apps/details?id=net.shajul.usbotg
prantoroy said:
go here
https://play.google.com/store/apps/details?id=net.shajul.usbotg
Click to expand...
Click to collapse
Didn't work. I'm assuming app needs to recognize usb as extSD and so it doesn't work. Is there a method I can do editing vold.fstab. I've seen others on the forums use this file to make external sd read as internal but I haven't found how to make usb to read as extSD.
Like this for example http://forum.xda-developers.com/showthread.php?t=1757767
Toxic_Dragon said:
Didn't work. I'm assuming app needs to recognize usb as extSD and so it doesn't work. Is there a method I can do editing vold.fstab. I've seen others on the forums use this file to make external sd read as internal but I haven't found how to make usb to read as extSD.
Like this for example http://forum.xda-developers.com/showthread.php?t=1757767
Click to expand...
Click to collapse
YA Give Me time To do it
prantoroy said:
YA Give Me time To do it
Click to expand...
Click to collapse
NM I Found the Source! http://forums.ouya.tv/discussion/1745/fix-for-usb-flash-or-hard-drive-not-supported
Quick Recap
adb shell
mount -o remount,rw /system
After this you need to edit the file /system/etc/vold.fstab. There will be two lines at the end:
Change this:
dev_mount sdcard /storage/sdcard1 auto /devices/platform/sdhci-tegra.0/mmc_host/mmc2
dev_mount usbdrive /mnt/usbdrive auto /devices/platform/tegra-ehci.2/usb2
to this:
#dev_mount sdcard /storage/sdcard1 auto /devices/platform/sdhci-tegra.0/mmc_host/mmc2
dev_mount usbdrive /storage/sdcard1 auto /devices/platform/tegra-ehci.2/usb2
User: "alynnafoxie" on http://forums.ouya.tv/
***SOLVED***
Hey all, i stuck with a problem:
I am trying to write a sd card image from my internal memory to an external sdcard with my galaxy tab 2 with terminal emulator. I am running cyanogenmod 10.2
I got all the commands ready but it wont write to the external card because it only has a read permission, but whatever i try, i cant mount it as read/write.
so my question: how can i remount my external sdcard with write permission in the terminal emulator?
thanx in advance?
p.s. location of my external sd card is /storage/sdcard1
try:
/extSdCard
or
/external_sd
instead of /storage/sdcard1
Android-Andi said:
try:
/extSdCard
or
/external_sd
instead of /storage/sdcard1
Click to expand...
Click to collapse
thanks for your reaction, but it still doesn't work. I still get the message" /extSdCard is opened for read only"
set root for apps & adb in developeroptions?
run as "su" ?
remounted as rw?
Android-Andi said:
set root for apps & adb in developeroptions?
run as "su" ?
remounted as rw?
Click to expand...
Click to collapse
Yest i have done both.
and if i remount as RW it gives the following error:
ro,dirsync,nosuid,nodev,noexec,noatime,nodiratime,uid=1000,gid=1023,fmask=0002,dmask=0002,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0