Related
I have had my iMate Jam for a few months now and recently upgraded from PCs to MACs. I have virtual PC wich allows me to do most of my active synching and installations, but I can't use NTRW as OSX drivers grab the SD card before Virtual PC does. Are there any tools native to OSX or Linux which will allow me to write my ROM dumps back to the memory card? If not has anyone successfully used NTRW through a PC virtualization program like Virtual PC?
Thanks in advance,
Steve
You can read and write the memory card using the Terminal:
insert the card in the reader and issue the comand: diskutil list
the result looks like this:
Code:
dueperdue$ diskutil list
/dev/disk0
#: type name size identifier
0: Apple_partition_scheme *233.8 GB disk0
1: Apple_partition_map 31.5 KB disk0s1
2: Apple_HFS Boot 233.6 GB disk0s3
/dev/disk1
#: type name size identifier
0: *483.9 MB disk1 <=== this is the Memory Card
In your sistem, the memory card can have a different identifier. You should be able to recognize it because of the size, and because it does not contain partitions. To be sure, you can issue the command: diskutil info disk1 (disk1 is the identifier of the memory card reader) the result should be something like this:
Code:
dueperdue$ diskutil info disk1
Device Node: /dev/disk1
Device Identifier: disk1
Mount Point:
Volume Name:
Partition Type:
Bootable: Not bootable
Media Type: Generic
Protocol: USB
SMART Status: Not Supported
Total Size: 483.9 MB
Free Space: 0.0 B
Read Only: No
Ejectable: Yes
OS 9 Drivers: No
Low Level Format: Not Supported
Once you find the identifier for the memory card, you can read the rom from it using the command dd if=/dev/disk1 of=the_filename_of_the_rom_backup.
**WARNING**: check the disk identifier accurately and perform a read the before trying to write, to ensure that everything is ok: performing the read on the wrong drive is harmless, but a write will damage the content of the disk!!!
To write the rom on the card the command is dd if=the_filename_of_the_new_rom of=/dev/disk1.
Thanks for the info, I was beginning to loose hope ;-) I'll give it a shot in the afternoon and report back.
Worked like a charm, you're a life saver
Hey thanks iDG. I knew there'd be a way, and like marsonist couldn't get VPC to do it. Now I can drag myself off this PC and work in style!
Cheers 8)
I was a wm5storage user ( http://www.modaco.com/index.php?automodule=downloads&showfile=1702 ) with my k-jam. (it converts temporally your storage card in a USB disk, plug an play in any windows Me - XP - 2000 - 2003 - Mac OSes)
No way to use it with TyTN. After this article ( http://forum.xda-developers.com/viewtopic.php?t=62408&highlight= ) I tried unchecking advanced USB functions in Settings>connections>usb to PC...
And now it works! Great to have it again, I don't need to have the USB dongle and is easy again exchanging files between any PC and my Phone!
8)
Great finding!!! Works fine on my TyTN too after disabling adv usb func
I've also updated the FAQ on the wiki...
I'm _VERY_ happy!! Thanks!! :lol:
When I uncheck the "enable advanced network functionality" I get an
error message "Failed to disable RNDIS to use serial"
M3100 using HTC rom
any ideas?
I've I-mate ROM, but may be you're trying to uncheck while something is in-use...
What is advanced USB settings needed for? Must be there for some reason, so just wondering what turning it off might effect?
Chris The Ninja Pirate said:
What is advanced USB settings needed for? Must be there for some reason, so just wondering what turning it off might effect?
Click to expand...
Click to collapse
It is explained here:
http://forum.xda-developers.com/viewtopic.php?t=62408
Basically, with advanced settings turned on you get a USB-Lan when connect your device to PC, if it is disabled you get the same behaviour as in previous WM2003 activesync. See the url above for more detailed explanation.
unchecked, installed, activated - PC shows new drive named Removable Disk (H but it is not accessible
Any ideas?
GRRR! damn smiley
Cheers pof, it all becomes clear! I will be WM5storaging!
So has anybody found a legitimate reason why you need to ENABLE advanced network functionality?
It seems to interfere with a lot of things (WM5Storage, SpriteBackup, Exchange Server Sync)...
Doesn't seem to be working properly for me. I switch on WM5 storage on my Vario II, connect the USB and it shows up as new hardware and installes Herme300 device as mass storage but it shows up as 0 bytes and there is no directory structure. Any ideas?
I tested in 3 Hermes device, HTC and I-Mate Rom, XP and XP Pro and even in VISTA and works
Whe I activate it I have a WM5storag HERM200 USB device in My computer panel, working and showing SD card content.
Have you:
1) 1.72 Sw version
2) checked removable class
3) DSK1:/SD memory card
4) Mounted EXT_ROM?
sergiopi said:
I tested in 3 Hermes device, HTC and I-Mate Rom, XP and XP Pro and even in VISTA and works
Click to expand...
Click to collapse
It also works under Linux
Ah, I hadn't mounted EXT_ROM. Is that essential? I didn't notice that in the WM5 thread.
No, isn't. Sometimes WM5storage keeps EXT_ROM as default disk, and this gives problems
sergiopi said:
4) Mounted EXT_ROM?
Click to expand...
Click to collapse
What does this mean?
Nope definitely does NOT work.
1) Version 1.72
2) Removable Class is checked
3) DSK1:/SD Memory Card selected
This loads as a USB mass drive labelled at Herme300 but shows 0bytes used 0bytes free.
Wonder if it is different on a Hermes 300 series????
mine doesn't work as well.
Sometimes, if i'm lucky it works for a while... but only able to work like 1 second.
I manage to copy some files like less than 100kb.
But after trying to enter a folder, my USB drive content just disappears... though it still appears as a drive in My Computer.
Chris The Ninja Pirate said:
Nope definitely does NOT work.
Wonder if it is different on a Hermes 300 series????
Click to expand...
Click to collapse
same with me, Vario II aka HERM300. system recognizes usb device, but then some error occurs and i can't get it mounted in system. here's output of dmesg:
Code:
usb 2-7: new full speed USB device using ohci_hcd and address 3
usb 2-7: configuration #1 chosen from 1 choice
scsi5 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 3
usb-storage: waiting for device to settle before scanning
Vendor: WM5torag Model: HERM300 Rev: 1.71
Type: Direct-Access ANSI SCSI revision: 00
usb 2-7: reset full speed USB device using ohci_hcd and address 3
SCSI device sde: 990976 512-byte hdwr sectors (507 MB)
usb 2-7: reset full speed USB device using ohci_hcd and address 3
sde: Write Protect is off
sde: Mode Sense: 03 00 00 00
sde: assuming drive cache: write through
usb 2-7: reset full speed USB device using ohci_hcd and address 3
SCSI device sde: 990976 512-byte hdwr sectors (507 MB)
usb 2-7: reset full speed USB device using ohci_hcd and address 3
sde: Write Protect is off
sde: Mode Sense: 03 00 00 00
sde: assuming drive cache: write through
sde:<6>usb 2-7: reset full speed USB device using ohci_hcd and address 3
sde1
sd 5:0:0:0: Attached scsi removable disk sde
sd 5:0:0:0: Attached scsi generic sg4 type 0
usb-storage: device scan complete
usb 2-7: reset full speed USB device using ohci_hcd and address 3
usb 2-7: reset full speed USB device using ohci_hcd and address 3
usb 2-7: device descriptor read/64, error -110
usb 2-7: reset full speed USB device using ohci_hcd and address 3
usb 2-7: reset full speed USB device using ohci_hcd and address 3
usb 2-7: reset full speed USB device using ohci_hcd and address 3
usb 2-7: reset full speed USB device using ohci_hcd and address 3
usb 2-7: reset full speed USB device using ohci_hcd and address 3
sd 5:0:0:0: SCSI error: return code = 0x70000
end_request: I/O error, dev sde, sector 8
Buffer I/O error on device sde, logical block 1
usb 2-7: reset full speed USB device using ohci_hcd and address 3
usb 2-7: reset full speed USB device using ohci_hcd and address 3
usb 2-7: reset full speed USB device using ohci_hcd and address 3
Did you uncheck the "advanced USB functions" in Settings>connections>usb to PC ?
That was exactly the same behaviour I was getting before, but all worked fine when I unchecked it.
Which rom are you using? Probably is a t-mob's rom only fault? :?
pof said:
Did you uncheck the "advanced USB functions" in Settings>connections>usb to PC ?
Click to expand...
Click to collapse
yes, i've tried both settings.. none is working properly.
pof said:
Which rom are you using? Probably is a t-mob's rom only fault? :?
Click to expand...
Click to collapse
well, i guess so.
For some reason I cannot mount my G1 in Ubuntu/Intrepid....the SD Card reads just fine through a USB reader, but when I plug in the G1 and touch "Mount," nothing happens on the desktop. I get a lot of garbage when I run dmesg which concludes with:
Code:
[ 4246.867266] end_request: I/O error, dev sdc, sector 0
[ 4246.867562] ldm_validate_partition_table(): Disk read failed.
[ 4246.867685] Dev sdc: unable to read RDB block 0
[ 4246.867887] unable to read partition table
If I try to manually mount with mount -t vfat, it says "Can't read superblock". I can mount successfully using -t usbfs so it is "seeing" the device...
I also tried formatting one of the cards with mkdosfs
Same behavior with both the factory 1GB card and a Kingston 8GB.
I read somewhere that perhaps it ONLY works with a USB 2.0 host controller (I have only 1.1 in this old box), but it was on the t-mobile forum which I do not consider to be all that reliable.
Can anyone corroborate the USB 2.0 theory or offer any suggestions?
Thanks!
Heya, I was in #android trying to help earlier .
As I said in IRC, USB 1.1 is flaky. It's not just T-Mobile forums that say this. Try a 2.0 port and it should work.
Edit: is the Windows machine you tried it on on the same PC? I remember you saying it mounted fine in Windows, but if it's on a separate machine with a 2.0 port that's kinda moot.
Must have been someone else in IRC, but thanks for trying to help both of us
Perhaps I will see if I can find USB2.0 controller laying around somewhere and then I could at least rule out that issue. Until then I can use the USB reader at least.
This is not really any help for you, but I run Kubuntu Intrepid and have had no trouble mounting my G1's SD-card over USB. It's a relatively new computer, though, so I know it's got a USB 2.0 controller on board.
If the controller is the issue, new ones can be found for less than $12 in whatever card format your desktop or laptop requires.
jzerocsk said:
For some reason I cannot mount my G1 in Ubuntu/Intrepid....the SD Card reads just fine through a USB reader, but when I plug in the G1 and touch "Mount," nothing happens on the desktop. I get a lot of garbage when I run dmesg which concludes with:
Code:
[ 4246.867266] end_request: I/O error, dev sdc, sector 0
[ 4246.867562] ldm_validate_partition_table(): Disk read failed.
[ 4246.867685] Dev sdc: unable to read RDB block 0
[ 4246.867887] unable to read partition table
If I try to manually mount with mount -t vfat, it says "Can't read superblock". I can mount successfully using -t usbfs so it is "seeing" the device...
I also tried formatting one of the cards with mkdosfs
Same behavior with both the factory 1GB card and a Kingston 8GB.
I read somewhere that perhaps it ONLY works with a USB 2.0 host controller (I have only 1.1 in this old box), but it was on the t-mobile forum which I do not consider to be all that reliable.
Can anyone corroborate the USB 2.0 theory or offer any suggestions?
Thanks!
Click to expand...
Click to collapse
I had this problem too, and it seems that when you write files to it, they disappear...try formatting on a windows box and see what happens...
pdspatrick said:
I had this problem too, and it seems that when you write files to it, they disappear...try formatting on a windows box and see what happens...
Click to expand...
Click to collapse
Yikes...i at least haven't had any disappearing files I will also try formatting the card in Windows just to see if it helps.
Hello
I had running 3LIT3 rom on my htc touch cruise for a week without problem (i realy love this rom). But few days ago USB2PC suddenly, without any obvious reason won't work. One day it worked next day.. it didn't. I guessed i have changed something in registry or install a stupid application, but after hard reset problem wass persisting.
Behaving is realy strange: When i plug usb cable and select USB mass storage (usb2pc popup), PC detects a new mass storage device (windows trying install drivers, linux dmesg show some lines). Then the "Storage Card" directory in device hides, BUT after a second it comes visible again. PC will show new removable drive after about 1minute. Linux show new dev (/dev/sdc and sdc1) but it can't be mounted.
I tried everything - change cable, use diferent PCs, hard resets, different rom upgrades, radio change (1.6x, 1.59.x) but everything without any effect.
Can anybody help me with this problem ?
Here is dmesg log:
Code:
usb 2-1: reset full speed USB device using ohci_hcd and address 125
usb-storage: storage_post_reset
usb-storage: usb_reset_device returns 0
usb-storage: scsi cmd done, result=0x70000
usb-storage: *** thread sleeping.
usb-storage: device_reset called
usb-storage: usb_stor_Bulk_reset called
usb-storage: usb_stor_control_msg: rq=ff rqtype=21 value=0000 index=00 len=0
usb 2-1: USB disconnect, address 125
usb-storage: storage_disconnect() called
usb-storage: Reset interrupted by disconnect
usb-storage: bus_reset called
usb-storage: unable to lock device for reset: -19
sd 43:0:0:0: Device offlined - not ready after error recovery
sd 43:0:0:0: [sdc] Result: hostbyte=0x05 driverbyte=0x00
end_request: I/O error, dev sdc, sector 96
__ratelimit: 54 callbacks suppressed
Buffer I/O error on device sdc, logical block 12
Buffer I/O error on device sdc, logical block 13
Buffer I/O error on device sdc, logical block 14
Buffer I/O error on device sdc, logical block 15
Buffer I/O error on device sdc, logical block 16
Buffer I/O error on device sdc, logical block 17
Buffer I/O error on device sdc, logical block 18
Buffer I/O error on device sdc, logical block 19
Buffer I/O error on device sdc, logical block 20
Buffer I/O error on device sdc, logical block 21
sd 43:0:0:0: rejecting I/O to offline device
sd 43:0:0:0: rejecting I/O to offline device
sd 43:0:0:0: [sdc] Result: hostbyte=0x01 driverbyte=0x00
end_request: I/O error, dev sdc, sector 336
sd 43:0:0:0: rejecting I/O to offline device
sd 43:0:0:0: rejecting I/O to offline device
sd 43:0:0:0: rejecting I/O to offline device
usb-storage: -- usb_stor_release_resources
usb-storage: -- sending exit command to thread
usb-storage: *** thread awakened.
usb-storage: -- exiting
usb-storage: -- dissociate_dev
this feature is not stable at all, so it's really hard to say what might cause this issue
I just formated SD card and flash ROM which was OK in past... but no success :-(
I have the same problem and also,failing when trying to reinstall official WWE ROM.
what about activesync? is it working?
I also use 3LIT3 ROM.
At first USB2PC worked strange. It worked but pop up screen (that pops up whet I plug the cable) didn't. So it allways worked the way it was set in settings (activesync or USB2PC).
I just wanted to post this problem but then I tried it again and it started working.
I have not used it for a while so I don't know if it still works or not.
well, the popup never worked for me, but SDHC is correctly mounted, when i choose USB instead of ActiveSync
i don't need to even reconnect the cable, it just works out of the box
EgorLev said:
what about activesync? is it working?
Click to expand...
Click to collapse
activesync is working well (simple serial mode).
I tried wm5storage, it works slowly and only sometimes for me.
The most strange thing is, usb2pc popup & usb2pc has worked correctly for a month with clear 3lite ROM on same PC and other computers too.
Now I had tried different SDHC card with same bad result :-/
Is existing a hardware setting inside of Polaris (ie. like bios for computers)?
kufor said:
well, the popup never worked for me, but SDHC is correctly mounted, when i choose USB instead of ActiveSync
i don't need to even reconnect the cable, it just works out of the box
Click to expand...
Click to collapse
I had used opal usb2pc popup, which i found somewhere here at xda.
I'm feeling a bit silly here, but how is everybody mounting their Internal Card in Linux in command line? Slackware 13.1
dmesg spits out a HUGE amount of data. I found this for the external sd.
usb 1-5: new high speed USB device using ehci_hcd and address 2
usb 1-5: configuration #2 chosen from 1 choice
scsi7 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 2
usb-storage: waiting for device to settle before scanning
scsi 7:0:0:0: Direct-Access SAMSUNG SGH-T959 Card 0000 PQ: 0 ANSI: 2
usb-storage: device scan complete
sd 7:0:0:0: [sdg] Attached SCSI removable disk
I mount that and well that's my External SD
I don't use slackware, I use Ubuntu, but try the following:
dmesg | grep sd?
You should see things like sg1 and sf1. The 's' stands for SCSI, which is the susbsystem that handles the SD cards, the second letter is the letter of the drive, and the number is the number of the partition.
You can use fdisk to check /dev/sd? as well, where the? is various letters.
Hope that helps.
Sent from my SGH-T959 using XDA App
Thanks yeah its showing
sda - sdg
Of coursse sda-sdf are all my drives and sdg seems to be the 2gig drive, but no sign of the 16gig internal.
Same results in Debug mode.
Unmount the 2 gig and try to mount the 16 manually.
kizer said:
Thanks yeah its showing
sda - sdg
Of coursse sda-sdf are all my drives and sdg seems to be the 2gig drive, but no sign of the 16gig internal.
Same results in Debug mode.
Click to expand...
Click to collapse
Is your phone in USB Debugging mode? If so, turn that off and try again.
Settings->Applications->Development->USB Development
NoDataFound said:
Unmount the 2 gig and try to mount the 16 manually.
Click to expand...
Click to collapse
I'll try that later when I get home. I was hoping I could avoid that, but I just can't get dmesg to even see the 16gig.
IDtheTarget said:
Is your phone in USB Debugging mode? If so, turn that off and try again.
Settings->Applications->Development->USB Development
Click to expand...
Click to collapse
I've tried it off and on. I know some mac users reported not being able to see it unless it was in debugging mode.
I normally only use windows for things, but I have this unRAID server and figured why not run some scripts so I could just plug in my phone and back it up and/or sync files one way or both. Just kinda stumping me why it doesn't like to see the 16gig LOL.
have you tried:
Code:
df -h
that should list all file systems and relevant sizes so it should be easy to identify (i think).
hope this helps.
Here is how āIā solved the mounting problem with my Android based Asus TFP Tablet. You might try it.