[Q] Filesystem for external SD card - Xperia Z1 Compact Q&A, Help & Troubleshooting

Can anybody tell me how to find out the file system in use for an external SD card.
When I connect my phone to the pc the only thing I get is Generic Hierarchical for the file system whereas a windows disk will show the info NTFS, Fat32 and so on.
I already tried with the mount command in a terminal window, this gives a lot of info but I could not detect the filesystem.
Is there a tool or a command that can be used in the terminal to show the formatting info of an external sd card?

Connect it to computer bypassing phone.
Either Windows or linux should tell you something.
You may put here output of 'mount' command you ran.
For you it tells nothing but for someone it does.
Logically thinking:
1. Phones are expected to be connected to computers in either media transfer or storage only mode.
2. Most of people use Windows
- conclusion is that external SD card is not formatted under Linux. Such ones would not be visible under Windows (in most cases).
There are other reasons, like files/dirs permissions, Android is completely not designed to manage Linux filesystems dependencies.

Related

USB Mass storage mode - can't see drive in Windows.

Hi, I'm having trouble when using USB mass storage mode on my Kaiser TyTN II with Android Froyo.
When I connect the phone can't see the SD contents from the FAT32 partition.
I have flashed on my TyTN II the latest 2.6.32 kernel from here, and i'm using the Incubus26Jc's Super FroYo RLS16. I have partitioned my 4gb SDHC using GParted to 3 partitions, one of ~3gb in FAT32, next to one in ext2 of ~64mb, and the last one in ext2, of ~1gb for the system.
Strangely enough when using Ubuntu Linux, it sees ands mounts all three partitions without problems. And when inserting my SD to a card reader on windows, it sees the FAT32 partition and I can browse it, but I want to do this with the card on my phone and on windows.
What can be wrong?
You can't do nothing, actually Adb driver for our kaiser is not working on windows...
I'm testing now on my Windows XP laptop and it works... strange.
My home computer is running Windows 7 (and ubuntu) can't it be a problem of w7?
tOz666 said:
I'm testing now on my Windows XP laptop and it works... strange.
My home computer is running Windows 7 (and ubuntu) can't it be a problem of w7?
Click to expand...
Click to collapse
Oo are you serious?
ADB was fixed in the latest version of l1q1d's kernel, but is still incompatible with Windows 7. At least, in my case it doesn't work in Windows 7, causes my computer to freeze until I pull the plug on the phone.
2.6.25 kernel has nice compatibility for Dual Mount SD Widget, check if Super Froyo supports .25 kernels. For me Not So Super Froyo is doing the job on .25 kernel. Default USB Mass Storage mode never works. You can use Dual Mount SD Widget to do the job
For adb, I had no problem with it on .32 while I am using XP.
HUGE EDIT:
Now I understand
Windows can ONLY ONLY see the 1st primary partition on your Removable Flash drive. Plus, linux FS are not recognizable for windows. (you can use Partition Magic or a linux FS supported partition software to actually view them that they exist).
If you want to partition your SD Card in windows, just install HITACHI Microdrive Driver for your SD Card's removable storage and it will identify as a removable hard disk. (I actually did that to have 3 partitions on my 16GB Data Traveler )
dark_prince said:
Windows can ONLY ONLY see the 1st primary partition on your Removable Flash drive.
Click to expand...
Click to collapse
Well I already knew that, but I want to see at least the FAT32 partition for application install, loading mp3, and occasional data storage.
I'm only a couple of days in the android on kaiser world, what is ADB? I read that you need some drivers to make it work, and can be used to install apps etc. but when I connect the phone it doesn't request me drivers unless I select mass storage mode. On Windows 7 it sees it as a Disk in device manager but can't see the drives. On XP it has no problems, it can browse FAT32 part.
So if Android is exposing the phone as a mass storage drive why it doesn't work in 7?
tOz666 said:
Well I already knew that, but I want to see at least the FAT32 partition for application install, loading mp3, and occasional data storage.
I'm only a couple of days in the android on kaiser world, what is ADB? I read that you need some drivers to make it work, and can be used to install apps etc. but when I connect the phone it doesn't request me drivers unless I select mass storage mode. On Windows 7 it sees it as a Disk in device manager but can't see the drives. On XP it has no problems, it can browse FAT32 part.
So if Android is exposing the phone as a mass storage drive why it doesn't work in 7?
Click to expand...
Click to collapse
Because android's itself "Turn on USB Mass Storage" mode doesnt work. Use a Multi Mount SD Widget or Dual Mount SD Widget or SD-Share to do the job
ADB is: http://developer.android.com/guide/developing/tools/adb.html
Just a tool to remotely administer your android device from command prompt
Try installing Hitachi Microdrive Driver in Windows 7 and see if it does any better
http://www.uwe-sieber.de/usbtrouble_e.html
dark_prince said:
Because android's itself "Turn on USB Mass Storage" mode doesnt work. Use a Multi Mount SD Widget or Dual Mount SD Widget or SD-Share to do the job
ADB is: http://developer.android.com/guide/developing/tools/adb.html
Just a tool to remotely administer your android device from command prompt
Try installing Hitachi Microdrive Driver in Windows 7 and see if it does any better
http://www.uwe-sieber.de/usbtrouble_e.html
Click to expand...
Click to collapse
Thanks for the tips. Are you suggesting that installing the Hitachi Microdrive Driver (by the way, I noticed that it's intended for Windows XP) could help in mounting the device using Android's built-in mount option?
cerebralgenius said:
Thanks for the tips. Are you suggesting that installing the Hitachi Microdrive Driver (by the way, I noticed that it's intended for Windows XP) could help in mounting the device using Android's built-in mount option?
Click to expand...
Click to collapse
Hitachi microdrive driver is intended to identify your Flash Drive as USB Hard Drive to see all partitions correctly in windows and allows you to partition your USB flash drive
Nope it wont help, since .32 kernel has not supported USB driver which hinders the USB Mass storage functionality, even through Dual mount apps.
If you are using Kyle's FAT Free Froyo or Not So Super Froyo, install a .25 kernel and then use Dual Mount USB app. It will work for sure.
Another Work Around:
If you just want to move some files to SD Card and you connect your network connection through wifi, you can try ES File Explorer to view Windows Based File Shares, just like you are seeing shared folders from another PC I use it since I connect my mobile and my PC through a wifi router

Install Windows from Phone?

I am not sure the correct section to put this into, but here goes.
I have heard ways to install Windows from a USB stick. I was wondering since I do not have a USB stick big enough and also a blank DVD on hand if I could place the image onto my Android SD card and install/reformat my computer that way.
Thanks!
PS. Please move to correct section if need be.
I don't think you could because the computer hardware doesn't recognize the sd card as a mass storage device, the software does, if you get what I mean.
I don't think it's possible to write a Windows live disk to the SD card and use it to format the Windows installation.
This in theory could be done. The one issue you might have is your computer might not recognize the SD card as a bootable option. If you can boot to USB device it might work. Also it isn't as simple as copying a windows install disk to the USB there is work that needs to be done to get it to read correctly and install. If you google linux pen drive I think it has a option to copy the windows cd to the drive boot to linux and install windows.
Yes you can do it. Sd card readers are on a usb connection to the motherboard of a pc. You have to make the sd card a bootable disk though the same way you would for a flash drive.
Never done it with the epic but I used to run puppy linux off my winmo samsung blackjack 2 on a thin client wyse computer. It had a micro sd card in it too. You would need to use a linux distro to be able to properly create a windows installation on another form of media though. Good luck
Sent from my SPH-D700 using XDA Premium App

Formatted SD to NTFS, any way to get it back?

Hi everybody,
I have a huge problem (for me anyway) and I can't find a solutions (i've searched for 2 hours now!). I hope somebody can help me.
I have a Sony Ericsson Xperia Arc S rooted. Basicly I wanted to transfer a big file on my SD Card. Without thinking i converted my Fat32 SD Card to NTFS with the command prompt in Windows XP. After converting I could still see all my files etc on my laptop.
When I disconnected the phone from my laptop, the phone couldn't recognize my SD card anymore and offers me to format it! So I figured I'd change it back, but I'm not able to connect the phone to my laptop trough USB, it just doesn't offer me the option.
When I insert the SD Card trough a MicroSD adaptor in my laptop, Windows won't recognize the disk either, and offers me to format it to a 512 byte disk - the SD Card is 16 GB.
I'm really freaking out now since there is alot of important documents and photos on the SD Card. Is there any way to force connect the SD Card trough the phone with the USB Cable? Since the files were available before disconnecting, i'm sure they're still there.
I tried 2 partition recovery programs (testdisk and File Scavenger) but they either recognize the Card as empty 512 or 1024 byte.
Is there any way I can format the SD Card back to Fat32 trough USB, or just even recover the files on it?
I hope my stupidity can be solved painless
Thanks in advance...
Didn't you make a back up of your files when you converted it to ntfs? Doesn't Windows normally format the card when you change its file system?
Sent from my Galaxy Ace using Tapatalk
I have a feeling the SD card might've gotten partitioned... ie. you have two partitions on there now instead of just one. Open a command line with the with SD card connected to the computer, do this:
diskpart
list disk
select disk #(get the disk # from "list disk")
clean
That should get you back to a single-partition sd card.
Does windows give you any clues in the disk management section?
Right click > My computer > Manage > Disk Management
Download minitool partition wizard and then plug in your sd card and open the program. Then delete every single partition you see (ON THE SD AND NOT YOUR HARD DRIVES) and then click create a new partition and then format it to FAT32 and you are good to go !
Had the same problem with a flash drive
right click on drive > properties > readyboost > uncheck the box. Try to format the drive again.
Oh boy... The convert Fat32 to NTFS cannot be undone.
The tool was included with Windows XP for those Upgrading from Windows 98, who would still be runing FAT32 on their hard drives. It allowed them to upgrade to NTFS without loosing any data...
Unfortunately, the only way to get the card back is to Reformat it. I'd recommend the Command Prompt, and the Command would look like this...
Code:
Format /FS:FAT32 /X (drive letter):
The /FS switch tells Format.exe to format the specified drive in a specific file system. In this case, we're forcing it to setup a FAT32 partition on the disk.
The /X switch tells it to dismount the drive before formatting. This makes sure that nothing else is currently using the drive, so that nothing else can mess with the drive while Format is working with it.
After the drive is formatted, go download some decent data recovery software (I've always had good luck with iolo Search and Recover, but your mileage may vary) and have it scan the drive to recover your media.
Also... DO NOT MODIFY THE DRIVE IN ANY OTHER WAY! IF YOU WRITE ANYTHING TO THE DRIVE, COPY FILES TO IT, CREATE FILES ON IT, SAVE THINGS TO IT, YOU WILL LOOSE ANY DATA YOU PREVIOUSLY HAD ON THE DRIVE! Naturally, formatting the drive has a chance of doing this anyway, however, the automatically detected sector size should match the original sector size, so the chances of loosing everything are slim to nil. All hell breaks loose when you start adding and removing things from the drive...

[Q] ADB Push / Pull in Terminal Emulator?

Anyone know how to ADB Push / Pull in Terminal Emulator?
And any extra knowledge with terminal emulator? Like mounting sdcard because I am really frustrated with trying to mount my SDCARD! lol
You can't use ADB in a terminal emulator on the phone. It's meant to be run from a computer with either Windows, Linux or Mac OS X.
An unsecure boot.img will provide you with the possibility of using the adb remount command.
The SD card can be in three different modes (the expressions used here aren't the official ones): "phone mounted", "USB mass storage mounted" or unmounted.
"Phone mounted": accessible from the phone's ROM, or through adb push and pull, as /sdcard/
"USB Mass Storage mounted": the SD card behaves like any other mass storage device, accessible solely from the OS that has mounted it. The Android OS can't access it in that mode. You need to properly unmount the card from the computer first to avoid possible corruption, then toggle mass storage off so that the phone can remount the card for itself.
Unmounted is only used to remove the card while the phone is on, again, to avoid errors and corruption. Not a good idea if you're using /sd-ext hacks like Darktremor apps2sd or s2e.

Format EXT SD card while in phone

How can I format to FAT32 while the card is in the phone? WINXP does not give option to format FAT32?
highlander07422 said:
How can I format to FAT32 while the card is in the phone? WINXP does not give option to format FAT32?
Click to expand...
Click to collapse
I'm assuming you have a large sd card and that's the reason WinXP won't do it. You can force it to from the command prompt "format /FS:FAT32 X:" where X is the drive letter.
chucktdriscoll said:
I'm assuming you have a large sd card and that's the reason WinXP won't do it. You can force it to from the command prompt "format /FS:FAT32 X:" where X is the drive letter.
Click to expand...
Click to collapse
In windows it shows up as a phone icon in My computer. It does not have a drive letter. It says Phone and card.
highlander07422 said:
In windows it shows up as a phone icon in My computer. It does not have a drive letter. It says Phone and card.
Click to expand...
Click to collapse
It's attached as a MTP device. You won't be able to change the format of the actual card that way. You'll need a USB adapter for the microSD card to do it (unless you're running a ROM that allows you to mount the external SD card as a mass storage device).
Oh OK. Thank you for this info.
Known Roms which allow mount as drive?
chucktdriscoll said:
It's attached as a MTP device. You won't be able to change the format of the actual card that way. You'll need a USB adapter for the microSD card to do it (unless you're running a ROM that allows you to mount the external SD card as a mass storage device).
Click to expand...
Click to collapse
Looking for a Rom which would support mount as drive (old UMD) (without custom drivers) ... not into the Iphone scene need it for scripting and connectivity to BSD/Unix plus Linux minimal use on windows.
workflow:
samsung galaxy s3 tmobile sgh-t999 - > terminal via audio ttl ~ 3 pin + USB (UMD) support
need for usb connectivity to enterprise storage arrays for data collection and remote terminal use
USB std /dev/sda (UMD) connection to run python and other shell scripts
send/receive log data and upload of installers and modules
Platforms I have used this on until removal of UMD
EMC: Isilon Freebsd/Clariion/Celerra/VNX
Hitachi AMS
HP EVA lustre ibrix
IBM stornext Sonas
NetApp bycast ontap
Dell exabyte equalogix
any help or direction is appreciated

Categories

Resources