Can't mount G1 in Ubuntu? - G1 General

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.

Related

Upgrading the shift's hdd with a strange and maybe wrong way. Any help ?

I had a Transcend External HDD (SJ18M TS120GSJ18M, inside 120GB PATA 1.8 inch HDD) from last summer, but only before some days I had the time to try the change. But I have a problem, the Bios recognizes the disk as 120GB, but when you try to boot, it says "Primary Master Hard Disk Error". I boot from an Acronis Bootable Flash Disk 16GB, where I Have my image od Vista with all my progs, but either the Acronis SWs do not Recognize the HDD (Toshiba MK1231GAL). The message is "Failed to read from the sector 0 of hard disk 0". I had understood that something was wrong from the summer, because all the Acronis SWs on my Notebook did not recognized the External Transcend HDD, eventhouth you see it in Windows (format, make partitions, copy, delete things). Have you managed to boot any Operating System from that HDD (after you put it inside HTC Shift) ??
See something interesting, on some sites as i was searching on Google, it says that MK1231GAL but with Part Number HDD1813 (like mine) is ATA7.
But on Toshiba Site, It says that MK1231GAL but with Part Number HDD1811 (not like mine) is ATA3-ATA4 compatible.
Does anyone know what is going on to inform me, please ??

Mount Internal Drive in Linux

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.

[Q] Transfer FROM Tablet TO USB Drive

Hi guys,
I'm getting tired of not being able to transfer files from my Nexus 7 [rooted] to a USB flash drive. I have Nexus Media Importer software installed, but it will only allow me to transfer files from the FlashDrive to the Tablet but not the other way...it's just plain dumb.
I usually download stuff via torrent to my Tablet and then distribute it to my friends, but when the files are over 4gb, bluetooth is way to slow and forget about the PC option, I don't have any PC to use...so don't tell me to transfer to a PC and then to the flash drive...
Any ideas?
EDIT: Also tried Stick Mount y USB Host Controller :/ NO LUCK!
Perhaps dumb questions, but since you didn't mention these details, everybody who reads your post is forced to guess.
1) Did you check the mount points (in each case) to see whether they were read-write (rw) or read-only (ro) ?
2) Should we assume that the USB stick only has a single partition, and that it is formatted in a FAT32 fashion? Or something else? What device/OS did you use to format the USB key to begin with?
If you are using any file system excepting FATx, the kernel you are using is also important - and you also failed to mention that.
BTW, I have successfully written large-ish files TO a FAT32 USB key on a OTG cable mounted via StickMount with a lightly-rooted stock N7 (essentially a stock ROM and stock kernel). "Large-ish" in this case is about 2.5 GB. (FAT filesystems are not capable of writing individual files larger than 4GB)
cheers
bftb0 said:
Perhaps dumb questions, but since you didn't mention these details, everybody who reads your post is forced to guess.
1) Did you check the mount points (in each case) to see whether they were read-write (rw) or read-only (ro) ?
2) Should we assume that the USB stick only has a single partition, and that it is formatted in a FAT32 fashion? Or something else? What device/OS did you use to format the USB key to begin with?
If you are using any file system excepting FATx, the kernel you are using is also important - and you also failed to mention that.
BTW, I have successfully written large-ish files TO a FAT32 USB key on a OTG cable mounted via StickMount with a lightly-rooted stock N7 (essentially a stock ROM and stock kernel). "Large-ish" in this case is about 2.5 GB. (FAT filesystems are not capable of writing individual files larger than 4GB)
cheers
Click to expand...
Click to collapse
No dumb questions at all, I just started this thread really quick because I am at work and can't be 'on the internet' for too long.
1) I just checked and Nexus Media Importer says 'read only', I haven't seen that :/ (that's dumb)
2) The owner of the USB Stick tells me he formatted it with Windows 7 but never changed the format, it's FAT32 since he bought it. The file I attempt to transfer is 4.1Gb...
About the kernel and ROM, both stock and ROOTED.
The owner of the USB Stick tells me that he recently used it to boot Win7 and install it on a friend's PC and maybe that's why it is on 'read only'. I've checked for the usual 'lock' switch but it doesn't have one...so that must be why. Don't you think?
Also, I could never use StickMount..it just times out attempting to mount :/
EDIT: One more thing, I downloaded 'USB Host Controller' (http://forum.xda-developers.com/showthread.php?t=1468531). I attempted to mount at /mnt/sdext and many other points but none of them worked...I'm using ES file explorer to look for the mount point but it doesn't exist.
Nanopane said:
1) I just checked and Nexus Media Importer says 'read only', I haven't seen that :/ (that's dumb)
Click to expand...
Click to collapse
Well, the name of the app includes the word "importer". That seems to imply only one direction, but I've never used the app so I don't know.
Nanopane said:
2) The file I attempt to transfer is 4.1Gb...
Click to expand...
Click to collapse
No matter how you mount a FAT32 filesystem, you will not be able to write a file to it which is greater than 4,294,967,295 bytes in length (2^32 - 1).
Apparently there is something called "exFAT" that is intended for large flash devices, but it seems to be not ready for prime time with Android yet. (Search titles here on XDA for "exFAT"). Also, the Wikipedia page for exFAT says that it is patent-encumbered. That's a deal-breaker for Android I suspect.
Nanopane said:
The owner of the USB Stick tells me that he recently used it to boot Win7 and install it on a friend's PC and maybe that's why it is on 'read only'.
Click to expand...
Click to collapse
Hard to say. Re-format it in windows and try again.
Thanks a lot Mr!
I'm gonna use some other app just to try to get it done, with a 'smaller' file. And regarding the USB Stick, let's just leave that behind...I can mount NTFS systems and give my friend the files in a Ext-HDD
Luckily there is always another option

[Q] Transfer files from N7 to External Hdd

Good Morning
I am having a panic, i am going on holiday soon and i take lots of photos. I have just got the N7 and i have managed to put photos onto the N7 via an OTG cable + card reader with SD card inserted and using Nexus Media Importer. Now i can see them and select them in the gallery but when i plug in my Ext Hdd then N7 recognises it but i can transfer the photos over.
What am i doing wrong
Tansk in advance
Slaine
Be rooted and install StickMount.
Sent from my Nexus 7 using Tapatalk HD
slainesco said:
What am i doing wrong
Click to expand...
Click to collapse
You failed to appreciate the significance of the word "Importer" in the app's name.
bftb0 said:
You failed to appreciate the significance of the word "Importer" in the app's name.
Click to expand...
Click to collapse
is there a good exporter app then
when i attached my fat32 1tb hdd i use stickmount and it says MBR signature not found
any ideas
slainesco said:
is there a good exporter app then
when i attached my fat32 1tb hdd i use stickmount and it says MBR signature not found
any ideas
Click to expand...
Click to collapse
You've barely said anything meaningful about your device - for instance if it is rooted (& what ROM and kernel you are using if so).
Your mileage will depend on both the kernel and ROM you have installed. I would think that most kernels should support FAT32, but the ROM used (e.g. stock) may not have an automounter/vold which will automatically mount the device as soon as it is plugged in.
For example, this is why people will use StickMount on lightly-rooted stock, but don't need it at all with CM10.1 - the stock kernel supports mounting of FAT HDDs, but the stock ROM doesn't take any actions automatically when they are plugged in.
Right now I'm running a recent CM10.1 nightly & just plugged into my N7:
1) a 8 GB FAT32 uSD card on a reader
2) a 150 GB HDD formatted in NTFS
In both cases, the USB device mounted (without any intervention on my part) successfully - but with the NTFS HDD in read-only mode. I would think it would have mounted the HDD in R/W mode had it been a FAT filesystem. Dismounting the devices was available via Settings->Storage.
Once you've got the device mounted, any root-aware file browser app should allow you (in principle) the ability to copy files bi-directionally. The "in principle" part is that I see reports on here complaining about successful mounts but no files showing up... so you are probably going to need to experiment.
good luck
PS I believe that SD cards in card readers can be written by Media Importer - why this doesn't extend to FAT HDDs I don't really know.
bftb0 said:
You've barely said anything meaningful about your device - for instance if it is rooted (& what ROM and kernel you are using if so).
Your mileage will depend on both the kernel and ROM you have installed. I would think that most kernels should support FAT32, but the ROM used (e.g. stock) may not have an automounter/vold which will automatically mount the device as soon as it is plugged in.
For example, this is why people will use StickMount on lightly-rooted stock, but don't need it at all with CM10.1 - the stock kernel supports mounting of FAT HDDs, but the stock ROM doesn't take any actions automatically when they are plugged in.
Right now I'm running a recent CM10.1 nightly & just plugged into my N7:
1) a 8 GB FAT32 uSD card on a reader
2) a 150 GB HDD formatted in NTFS
In both cases, the USB device mounted (without any intervention on my part) successfully - but with the NTFS HDD in read-only mode. I would think it would have mounted the HDD in R/W mode had it been a FAT filesystem. Dismounting the devices was available via Settings->Storage.
Once you've got the device mounted, any root-aware file browser app should allow you (in principle) the ability to copy files bi-directionally. The "in principle" part is that I see reports on here complaining about successful mounts but no files showing up... so you are probably going to need to experiment.
good luck
PS I believe that SD cards in card readers can be written by Media Importer - why this doesn't extend to FAT HDDs I don't really know.
Click to expand...
Click to collapse
Sorry for the lack off info. I have only had the N7 for over a week and it isnt rooted as up until one hour ago i hadnt a clue what that meant. So i guess it is stock and ive sinced realised Stickmount wont work.
I can mount a 32gb stick no hassles but the fat32 1tb external hdd with power supply just comes up with mbr signature not found
thanks

Can no longer mount USB Hard Drive after Marshmallow 3.0 update?

I can no longer mount USB Hard Drive after Marshmallow 3.0 update? My hard drive is this one:
http://www.amazon.com/Seagate-Backup-Portable-External-STDR2000103/dp/B00FRHTTJE/
And it worked fine before the update?
I've even tried installing StickMount to mount the USB HDD and that didn't work either?
When I plug the HDD into the Shield, ES File Explorer pops up and it shows the drive but when I click it, it says: "failed to open the file"
The USB HDD doesn't even want to show in the SETTINGS > STORAGE section either.
It's formatted in exFat.
Update: I've reformatted the drive to NTFS. Now, the drive will mount but it's "unwritable"?
Any ideas?
https://forums.geforce.com/default/topic/918873/ftp-write-not-working-after-3-0/
Looks like a similar issue, not being able to WRITE to an NTFS formatted drive, seems to be a stock issue, not related
to custom firmware, theres "talk" that nvidia is aware of the problem and "talk" that it'll be fixed "soon"........we'll see
Assuming this is the same issue
banderos101 said:
https://forums.geforce.com/default/topic/918873/ftp-write-not-working-after-3-0/
Looks like a similar issue, not being able to WRITE to an NTFS formatted drive, seems to be a stock issue, not related
to custom firmware, theres "talk" that nvidia is aware of the problem and "talk" that it'll be fixed "soon"........we'll see
Assuming this is the same issue
Click to expand...
Click to collapse
That's sounds like it! Yea, this is my experience:
exFAT: Can't mount / read / write
NTFS: Can mount / can read / cannot write
FAT32: Can mount / can read / can write
Can someone else please test and confirm these findings?

Categories

Resources