updated commandline sdcard writing tools - Upgrading, Modifying and Unlocking

these tool are use to read/write raw disk images.
warning1: so don't use them to write to disks that contain important information!
psdwrite and psdread
now support reading/writing from
- memory devices in a via-activesync connected wince device
( like the sd-card slot in your xda )
- memory devices connected to your windows pc, via usb or pc-card.
warning2: these tools should only be used if you understand what you are doing, they can easily damage your xda or desktop pc if used in the wrong way.

Wow, so people don't need an SD reader as long as they can access the SD via activesync? That's pretty cool because I have to borrow the reader at work.

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

[Q] Problem connected my S4 via"Total Commander"

I always connected my phone to my pc via usb and use "Total Commander" file manager. To connect android phones I install "TotalAndDroid" plugin and all worke perfect. Now with my new s4 I can't see the internal and sd memory via "Total Commander". What do I need to define in my galaxy s4 to use "Total Commander" as always ?
xperia_88 said:
I always connected my phone to my pc via usb and use "Total Commander" file manager. To connect android phones I install "TotalAndDroid" plugin and all worke perfect. Now with my new s4 I can't see the internal and sd memory via "Total Commander". What do I need to define in my galaxy s4 to use "Total Commander" as always ?
Click to expand...
Click to collapse
If your previous phones used versions of Android less than 4.0 (ICS), what may have happened was that your phone now supports the Media Transfer Protocol (MTP) rather than USB Mass Storage (UMS). There was a tradeoff to the move. One big one regarding Android is that MTP allows the device to remain mounted on the phone. OTOH, your phone's memory is no longer visible as a drive (that was the catch--in order for phone memory to be mounted on your computer, it had to be UNmounted on the phone). You should check your system and see if it supports MTP (most Windows systems will as the underlying technique was Microsoft's idea).
In my personal experience (I run a Linux system at home) I've found it easier to avoid the matter altogether and transfer files back and forth using an Android file manager (I've personally used ES File Explorer for years) and perhaps a Windows/SMB share.
If you MUST use your phone's SD Card as Mass Storage, there is a thread here that discusses a way to switch the SD Card to Mass Storage mode. However, it will require rooting the device.
WhosAsking said:
If your previous phones used versions of Android less than 4.0 (ICS), what may have happened was that your phone now supports the Media Transfer Protocol (MTP) rather than USB Mass Storage (UMS). There was a tradeoff to the move. One big one regarding Android is that MTP allows the device to remain mounted on the phone. OTOH, your phone's memory is no longer visible as a drive (that was the catch--in order for phone memory to be mounted on your computer, it had to be UNmounted on the phone). You should check your system and see if it supports MTP (most Windows systems will as the underlying technique was Microsoft's idea).
In my personal experience (I run a Linux system at home) I've found it easier to avoid the matter altogether and transfer files back and forth using an Android file manager (I've personally used ES File Explorer for years) and perhaps a Windows/SMB share.
If you MUST use your phone's SD Card as Mass Storage, there is a thread here that discusses a way to switch the SD Card to Mass Storage mode. However, it will require rooting the device.
Click to expand...
Click to collapse
:good::good::good:

[Q] File transfer using usb cable

Sorry if this has already been discussed, but I didn't found any answers regarding my issue.
So how can I transfer files from my pc using the pad's USB cable?
On my Sony phone with ics, it was enough to enable usb debugging mode and the pc sees it as a flash drive, using usb mass storage.
But here it seems there's no mass storage mode, only mtp and ptp which I don't like.
So what options do I have to actually see my 64 gb card when I connect the pad to the pc? Is it possible?
Cause even with debugging mode enabled it doesn't change anything, still have to use windows explorer and it's working very hard. Any help would be much appreciated.
Not sure I fully understand what's wrong with mtp option but I can fully see my 64GB card when connected to my pc via usb cable. I have successfully copied files to and from the SD this way with no issue. Explain what issue you may be seeing.
Usb Mode
gioni mnemonic said:
Sorry if this has already been discussed, but I didn't found any answers regarding my issue.
So how can I transfer files from my pc using the pad's USB cable?
On my Sony phone with ics, it was enough to enable usb debugging mode and the pc sees it as a flash drive, using usb mass storage.
But here it seems there's no mass storage mode, only mtp and ptp which I don't like.
So what options do I have to actually see my 64 gb card when I connect the pad to the pc? Is it possible?
Cause even with debugging mode enabled it doesn't change anything, still have to use windows explorer and it's working very hard. Any help would be much appreciated.
Click to expand...
Click to collapse
Can not see why you have any problems when my G Pad is connected I can see it as a device in My Computer " Not Devices " and when I open it up I see two drives. Internal and external SD card
Make sure you have loaded the LG USB Drivers
Plus it should come up with a list of what you want to do when connected click Open and view files
Thank you for the replies, guys.
Not sure if i made myself clear. Yes, my pc can also see my g pad device in My Computer, but it is not listed as a removable flash drive or an external hdd, thus i cannot see sd card properties, format options and so on. I usually use total commander for transferring files, because windows explorer is way too slow in doing this.
For example, if i want to download a movie or some songs directly to my tablet, how can i do that? With my sony phone is easy, my pc sees it as a removable flash drive, thus is easy to save files directly to it.
But with the g pad that option is gone, or at least i cannot find it. I must first download the files to my pc and only after that transfer them to my pad using windows explorer, which is really working hard. Basically, i have to wait one hour for downloading something, than another hour to transfer the files to my tablet, instead of downloading directly to the tablet.
And all this i believe is the effect of usb mass storage mode missing.
So in the end, is there an option to satisfy my needs?
gioni mnemonic said:
So in the end, is there an option to satisfy my needs?
Click to expand...
Click to collapse
In settings, go to "system", choose "PC connection", choose "media sync(MTP)".
MTP option does exactly what i was saying earlier, it only gives me the option to use windows explorer to transfer files.
It does not satisfy my needs, as i cannot save files directly to the tablet's SD card when downloading something, for example.
Can you people see the tablet's SD card as another DISK drive in your pc? With formatting options, sd card properties and stuff that you can do with a flash drive or an external hdd? This is my question, but i believe this is not possible.
Usb
gioni mnemonic said:
MTP option does exactly what i was saying earlier, it only gives me the option to use windows explorer to transfer files.
It does not satisfy my needs, as i cannot save files directly to the tablet's SD card when downloading something, for example.
Can you people see the tablet's SD card as another DISK drive in your pc? With formatting options, sd card properties and stuff that you can do with a flash drive or an external hdd? This is my question, but i believe this is not possible.
Click to expand...
Click to collapse
I have no problems it must be your USB drivers as mine sees it as a Device
I open mine up from my computer then open the SD card and transfer all my Movies and Pictures direct to the SD card I can open up files on Device or Card
Hi again, i've attached some print screens with the issue i'm trying to explain. The main thing that bothers me is the clearly slower speed for transferring files using windows explorer. With total commander it goes almost double the speed rate. Plus, why should i download a file to my pc instead of downloading it directly to g pad's sd card? Waste of time in my opinion.
But recently i did read somewhere that jelly bean does NOT support usb mass storage, so i guess that answers my question.

[Q] Filesystem for external SD card

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.

Categories

Resources