Storage connection problem in ubuntu - Galaxy S II Q&A, Help & Troubleshooting

Storage is not connecting in ubuntu.as it is showing connected in notification.
Sent from my GT-I9100 using xda premium

One thing I've noticed with Samsung phones/Ubuntu & file transfers/manipulation is connectivity is hit & miss until I install gMTP. I suspect it's some kind of driver issue & installing gMTP solves that. Once I do that, transferring files/etc is a snap the usual way via the Ubuntu File Manager (I.E drag & drop as per Windoze).
Could also be a simple case of not being able to mount it; sometimes my Ubuntu installation loses the ability to mount external drives temporarily for whatever reason (even the partition my Windoze installation is unable to be mounted), and logout/login again always fixes this. Try this, then the gMTP thing (I'm running Raring Ringtail).

Related

[Q] Ubuntu doesn't recognize my sdcard

So I just installed Ubuntu 10.10 on my PC and I'm really digging it. But when I try to mount my sdcard from the phone, it doesn't show up under my places menu. I'm running GSB 1.8.1. I don't have a problem mounting it under windows XP, and also have no problem using the wired tether function. Is there anything I can change on the phone or in Ubuntu to fix this?
I am running Ubuntu 10.04 LTS - inside a Virtual Machine - and I can mount the drive from inside the VM. (Believe me, that's even trickier than what you are trying).
But, 10.10 might have had some changes, and I wouldn't be surprised if your result depended on which desktop you are running; so maybe you need to mount the thing manually.
Try this:
With the phone unplugged, type
$ sudo /bin/bash
# tail -f /var/log/messages
This will continue to show you various kernel messages as they appear. Next, plug in the phone.
Hopefully, you will see some lines scroll by that mention USB.
Next, mount the SD to the PC from the phone. If all goes well, you should now see some mention of "SCSI" devices /dev/sdX, where X is probably "a", "b" "c" "d". Probably you will also see mention of the first partition on the device, such as "/dev/sdb1". Make a note of this drive device name.
Cancel the "tail" command (Ctrl-C) and do a
# mount | grep sdb1
( note device name "sdb1" ; use whatever you saw previously )
This will show you if the device is already mounted somewhere.
If the device has not been mounted, you can manually mount it, as in:
# mkdir -p /mnt/Eris_SD
# mount -o rw /dev/sdb1 /mnt/Eris_SD
( Again, note device name "sdb1" - use whatever you saw previously. If it doesn't recognize the file system, use "mount -o rw -t vfat /dev/sdb1 /mnt/Eris_SD" )
Hopefully that will do it. Don't forget to "umount /mnt/Eris_SD" when you are done.
If the device never shows up in the /var/log/messages file, then you have some other problems.
If you don't see anything in the log file indicating USB activity, well - you ought to investigate what is going on at the USB port.
Right now my phone is booted into Amon_RA; if I issue the "lsusb" command, I see:
Code:
Bus 001 Device 031: ID 0bb4:0c98 High Tech Computer Corp.
BTW, on my VM, it seems like I need to unplug the USB cable after I dismount the drive, or the next time I export the SD card to the PC, the kernel recognizes it, but the automounter doesn't automatically mount it.
Another thing that you might try to make things more automatic is the instructions in "Step #5" of this XDA post. This is meant for allowing an unprivileged user on your Ubuntu box to use ADB or fastboot without needing to "sudo" to root. I did this on my VM - I don't think that's the reason that the phone automounts into the SD drive, but perhaps it is related - the same "Vendor_ID" is in use when the phone is in "Composite ADB mode".
When you get to the part in these instructions about restarting the "udev" subsystem, unplug your USB cable first - and then see what you get when you plug it in and fire up the SD export from the phone.
hope that helps.
bftb0 said:
BTW, on my VM, it seems like I need to unplug the USB cable after I dismount the drive, or the next time I export the SD card to the PC, the kernel recognizes it, but the automounter doesn't automatically mount it.
Click to expand...
Click to collapse
I noticed this on my desktop with a full install of Ubuntu. I knew it was connected because the charge led was lit, but I would have to unplug the usb and plug it back in almost every time just to get it to mount or connect to the internet with wired tether. I never messed with it BUT it did seem to fix itself once I started doing the system updates on Ubuntu.
bftb0 said:
$ sudo /bin/bash
# tail -f /var/log/messages
This will continue to show you various kernel messages as they appear. Next, plug in the phone.
Hopefully, you will see some lines scroll by that mention USB.
Next, mount the SD to the PC from the phone. If all goes well, you should now see some mention of "SCSI" devices /dev/sdX, where X is probably "a", "b" "c" "d". Probably you will also see mention of the first partition on the device, such as "/dev/sdb1". Make a note of this drive device name.
Click to expand...
Click to collapse
When I got to this step, the log didn't show anything when I mounted the sdcard from the phone. On a whim I tried rebooting the phone into the recovery (AmonRA 1.6.2) and then the log showed it as /sdc. If I turn on USB Mass Storage from the recovery, Ubuntu recognizes it then. On a side note, I'd been having trouble getting ADB to recognize my phone until I did this. But shouldn't this also work with the phone fully booted? Maybe it's GSB?
EDIT: I flashed the Stock Sense 2.1 rom to see if everything worked and it did. I rerooted and restored a backup I made this morning to GSB, and Ubuntu recognizes my sdcard when I mount it, and ADB now works. Thanks for your help.
prsguitaruser said:
When I got to this step, the log didn't show anything when I mounted the sdcard from the phone. On a whim I tried rebooting the phone into the recovery (AmonRA 1.6.2) and then the log showed it as /sdc. If I turn on USB Mass Storage from the recovery, Ubuntu recognizes it then. On a side note, I'd been having trouble getting ADB to recognize my phone until I did this. But shouldn't this also work with the phone fully booted? Maybe it's GSB?
EDIT: I flashed the Stock Sense 2.1 rom to see if everything worked and it did. I rerooted and restored a backup I made this morning to GSB, and Ubuntu recognizes my sdcard when I mount it, and ADB now works. Thanks for your help.
Click to expand...
Click to collapse
In case this helps, GSB mounts the SD card through USB just fine with Windows. Don't take my comment as a Windows versus Ubuntu, thing, however. Just for whatever it's worth.
prsguitaruser said:
I flashed the Stock Sense 2.1 rom to see if everything worked and it did. I rerooted and restored a backup I made this morning to GSB, and Ubuntu recognizes my sdcard when I mount it, and ADB now works. Thanks for your help.
Click to expand...
Click to collapse
Glad to here you got this fixed
prsguitaruser said:
When I got to this step, the log didn't show anything when I mounted the sdcard from the phone. On a whim I tried rebooting the phone into the recovery (AmonRA 1.6.2) and then the log showed it as /sdc. If I turn on USB Mass Storage from the recovery, Ubuntu recognizes it then. On a side note, I'd been having trouble getting ADB to recognize my phone until I did this. But shouldn't this also work with the phone fully booted? Maybe it's GSB?
EDIT: I flashed the Stock Sense 2.1 rom to see if everything worked and it did. I rerooted and restored a backup I made this morning to GSB, and Ubuntu recognizes my sdcard when I mount it, and ADB now works. Thanks for your help.
Click to expand...
Click to collapse
Great news! I don't know how I missed your edit since I quoted it in my last response. I must've had this thread open in my browser from before, and went to respond to it after your edit.
OK, so I went back to GSB and had the problem again. I found out that ADB works and the sdcard mounts until I turn on wired tether, then if I turn wired tethering off, my sdcard still won't mount, nor will ADB recognize my phone, until I reboot the phone. Every time I've tried to mount the sdcard, I've made sure to turn tethering off. But it seems like tethering is what kills it.
prsguitaruser said:
OK, so I went back to GSB and had the problem again. I found out that ADB works and the sdcard mounts until I turn on wired tether, then if I turn wired tethering off, my sdcard still won't mount, nor will ADB recognize my phone, until I reboot the phone. Every time I've tried to mount the sdcard, I've made sure to turn tethering off. But it seems like tethering is what kills it.
Click to expand...
Click to collapse
Are you using the tethering abilities built into CM7 (for wired you have to use the Tether Widget from the market, but that's it), or are you using the "for root" apps? IMHO, the "for root" apps are redundant and don't work as well as the native tethering in CM6 and CM7.
roirraW "edor" ehT said:
IMHO, the "for root" apps are redundant and don't work as well as the native tethering in CM6 and CM7.
Click to expand...
Click to collapse
Really? Because I have never been able to get "native" tethering to work. They appear to be working but there not allowing data to pass through.
Also I only use the ones posted on Google's source page.
I believe there may be an issue here that isn't faulted by the phone or the tethering apps. I think it has something to do with the way Ubuntu reacts to the change between allowing data inbound and when it goes back to remounting the phone and its SD card. Honestly if you can I would say allow your Ubuntu to do its system updates then see what happens.
@ roirraW "edor" ehT, no harm intended at the top of my post. Just my personal observation of how these things generally work out for me. Heh.
Powered by: GSB CM7
wildstang83 said:
Really? Because I have never been able to get "native" tethering to work. They appear to be working but there not allowing data to pass through.
Also I only use the ones posted on Google's source page.
I believe there may be an issue here that isn't faulted by the phone or the tethering apps. I think it has something to do with the way Ubuntu reacts to the change between allowing data inbound and when it goes back to remounting the phone and its SD card. Honestly if you can I would say allow your Ubuntu to do its system updates then see what happens.
@ roirraW "edor" ehT, no harm intended at the top of my post. Just my personal observation of how these things generally work out for me. Heh.
Powered by: GSB CM7
Click to expand...
Click to collapse
Just curious, did you have the opportunity to try the native tethering under Froyo/CM6 as well, or did you only try it under CM7? I haven't needed the tethering since before I started to try CM7, so I actually don't know from personal experience if Cyanogen has made the tethering work correctly under it yet. I didn't have any trouble with it under CM6, besides the usual occasional semi-random tethering failures.
My ubuntu 10.10 install handles native tethering just fine. However, that stupid bug where the Eris loses data connection randomly. while natively tethered kicks in.
The only solution I've found is to use AziLink (seems to solve the random disconnect as well as pdanet does.)
Sent from my Eris using XDA App
adaneshade said:
My ubuntu 10.10 install handles native tethering just fine. However, that stupid bug where the Eris loses data connection randomly. while natively tethered kicks in.
The only solution I've found is to use AziLink (seems to solve the random disconnect as well as pdanet does.)
Sent from my Eris using XDA App
Click to expand...
Click to collapse
Thanks, I'll keep them both in mind. I tried PDANet a long time ago and it didn't keep the tethering from failing, but maybe they improved it.

MTP not working

I don't know what i'm doing wrong, but I can't seem to transfer files to my device for any extended period. I don't know what does it, but at some point, the connection always fails. Windows says the device isn't responding and closes the explorer window or stops copying files, but the device itself says everything is fine.
What am I doing wrong?
You may just need to download some Windows drivers:
http://support.asus.com/download.aspx?SLanguage=en&m=Eee%20Pad%20Transformer%20Prime%20TF201&p=20&s=16&os=32&hashedid=n/a
All you really need is the small USB driver (8 MB). I think that the Global button would be the easiest download. There is also the PC Suite, that includes the USB driver, but not sure you want all of the extra stuff included in that.
tedr108 said:
You may just need to download some Windows drivers:
http://support.asus.com/download.aspx?SLanguage=en&m=Eee%20Pad%20Transformer%20Prime%20TF201&p=20&s=16&os=32&hashedid=n/a
All you really need is the small USB driver (8 MB). I think that the Global button would be the easiest download. There is also the PC Suite, that includes the USB driver, but not sure you want all of the extra stuff included in that.
Click to expand...
Click to collapse
It's installed, but the problem is still presenting.
Well, what are some of the details? What type of files are you transferring? What folder are you copying them into?
Try creating a new folder on your Prime and copying into that folder to see if it makes any difference. Some users have been experiencing issues with the Music and Movie folders. If that is the case for you, try copying into the different folder. If that works, you'll probably just want to delete the old (bad) folder and rename the new one to the old name. Make sure you copy any items out of the old folder before deleting it.
tedr108 said:
Well, what are some of the details? What type of files are you transferring? What folder are you copying them into?
Try creating a new folder on your Prime and copying into that folder to see if it makes any difference. Some users have been experiencing issues with the Music and Movie folders. If that is the case for you, try copying into the different folder. If that works, you'll probably just want to delete the old (bad) folder and rename the new one to the old name. Make sure you copy any items out of the old folder before deleting it.
Click to expand...
Click to collapse
No, that doesn't help either. Any kind of file. ebooks, movies, sideloaded apps, it seems to be completely random, just sometime, out of nowhere, "File cannot be copied, device is not responding, skip or quit?" and sometimes if it's multiple files and I skip the one that DIDN'T work, it keeps going like nothing's wrong.
I did neglect to ask you what version of Windows you are using. But, I'm really not sure there is anything that can be done anyway. I assume you have MTP checked on your Prime settings or you would not even be able to see the Prime on your Windows machine. Anyway, I'm at a loss at this point.
Do you want a workaround that will work with a wi-fi connection?
1) Download Airdroid from the Market to your Prime -- it's free.
2) Run Airdroid on your Prime.
3) You will be given an http address like http://192.168.1.1:8888 and a password.
4) Enter the http address into your internet browser on your PC and enter the password when asked.
5) Click on the Files icon on the web page that shows up on your PC.
6) You will see your Prime's file structure on the left side of the page -- click on the folder that you want to move the files to.
7) Then click on the Import button ... upper right.
8) An new window will appear for importing. Click the Select Files button and any file you select in the browse window will appear in the list and automatically be sent to your Prime.
This is just one of the many things that Airdroid can do.
I have done this many times and find it quite easy and reasonably fast -- not as fast as your wired connection would have been, but at least you can do this.
Yes Your only options at this point is a slow wifi transfer or buy an sdcard to copy files to then transfer in the device it self. This seems very acceptable to some people.
MTP is garbage and has never worked well for me either.
I think this is an android hc/ics problem though.
Maybe once/if we start getting costum roms we will see a usb mass storage option. We will just have to wait for the unlock tool.
Might these filenames contain special characters?
Also, the MTP driver seems to have a hiccup sometimes, check your device manager (Win+R "dvcmgmt.msc"). If there's a little warning at the MTP device, mark it and hit delete or open it and hit Driver Details/Update driver.
Sometimes the queueing of files is also out of sync with the actual transfer to the device. I've had it happen that I wanted to copy a bunch of files, and the device must have reported "tranfer complete" on the first file while it was actually still busy, resulting in a "device busy" error on the next file. When I copied the next file by itself, it worked fine.
MTP is slower than regular USB mass storage because it is designed for hot (un-)plugging, so no delayed writes.
Conect your TFP to your PC once with USB debugging checked and once without being checked. See if drivers DL or update.... Check devise manager to see if drivers are installed if yes reboot computer... Some PCs will not recognize devices without rebooting. Next try a different USB hub and repeat something will work
Sent from my SPH-D710 using xda premium
Ciddy said:
Might these filenames contain special characters?
Also, the MTP driver seems to have a hiccup sometimes, check your device manager (Win+R "dvcmgmt.msc"). If there's a little warning at the MTP device, mark it and hit delete or open it and hit Driver Details/Update driver.
Sometimes the queueing of files is also out of sync with the actual transfer to the device. I've had it happen that I wanted to copy a bunch of files, and the device must have reported "tranfer complete" on the first file while it was actually still busy, resulting in a "device busy" error on the next file. When I copied the next file by itself, it worked fine.
MTP is slower than regular USB mass storage because it is designed for hot (un-)plugging, so no delayed writes.
Click to expand...
Click to collapse
I've noticed that when you change the file name sometimes it works. On my galaxy nexus I have the same problem. But I would transfer files it wouldn't work and then I change the file name and it would work
Lots of good suggestions here that you can try...
However, one more possible work-around that worked for my Ubuntu machine (where MTP is not working, either), in case nothing else works:
I switched to PTP (camera) on my TFP. I could copy just fine. However, this means two steps (a copy then move), because with PTP, I can only copy to the DCIM or Pictures folder.
Well PTP is faster. But it still tells me my camera wont play the file...
tedr108 said:
Lots of good suggestions here that you can try...
However, one more possible work-around that worked for my Ubuntu machine (where MTP is not working, either), in case nothing else works:
I switched to PTP (camera) on my TFP. I could copy just fine. However, this means two steps (a copy then move), because with PTP, I can only copy to the DCIM or Pictures folder.
Click to expand...
Click to collapse
Thanks for that idea. I was going to try that when I got some time but wasn't sure how it would handle it. I can handle just having to movie it to a diff folder once I get it on the prime.
Like the other poster said, can't wait to get a custom rom on this thing.
I ran into this annoying problem yesterday too. At first I thought it was an issue with the drivers on my Windows 7 box, so I went over to my Debian box and installed MTPFS, but no dice. The exact same thing happens - the computer is able to initialize the connection at first, and if you're quick enough you might even be able to copy/delete/move something, but after maybe 30 seconds or so the connection fails - transfers stop, renaming hangs etc. This was the exact same thing that happened on Windows 7 and so I must conclude it must be the TFP itself having issues with MTP. Running ICS IML74K.
MTP works but the date of all files and folders is wrong
tedr108 said:
Lots of good suggestions here that you can try...
However, one more possible work-around that worked for my Ubuntu machine (where MTP is not working, either), in case nothing else works:
I switched to PTP (camera) on my TFP. I could copy just fine. However, this means two steps (a copy then move), because with PTP, I can only copy to the DCIM or Pictures folder.
Click to expand...
Click to collapse
MTP works for me (Ubuntu 11.10). But I have found out, that once the internal storage is mounted in Ubuntu, the date of all files and folders are set to 1970-01-01.
Actually before, short after I had activated the Prime, I realised that the date was also wrong. I'm not sure now, but probably the same 1970-01-01. Then I adjusted the date and the upgrade to ICS went flawlessly.
Now I start thinking that this wrong date could be one of the reasons for many problems in TF Prime.
Does anybody have the same problem and know a solution?
I read in another forum when i was trying to get mtp to work on my nexus s that if you install media player 10 it can solve the issue of mtp not working in windows xp. Not sure if this applies to windows 7 though as i thought windows 7 was supposed to be able to use mtp out of the box.
-RioT- said:
Yes Your only options at this point is a slow wifi transfer or buy an sdcard to copy files to then transfer in the device it self. This seems very acceptable to some people.
MTP is garbage and has never worked well for me either.
Click to expand...
Click to collapse
On my Galaxy S2 MTP works like a charm, so it's not MTP in general. Maybe it's a bad USB cable, connector probs or Windows acts up.
It's May, and MTP is still garbage.

[Q] Rooted P7510 - Not being recognized by PC

Hey there,
Here is a list of what I have before I get started.
Samsung Galaxy Tab 10.1 Wifi (P7510)
Android Version - 3.2
Kernel Version - [email protected]#1
Build Number - INFAMOUS TAB 0.1 P7510UEKMM
Basically I have no access to my tablets internal SD card via my PC (Windows 7 and KIES)
I bought this tablet from a friend who rooted and flashed with the INFAMOUS mod.
I have searched all over the web for an answer and cant find something for this case specifically.
Each time I plug in my tab, my PC tells me that the Hardware ID is missing.
I can see the tablet in my Devices and Printers (displayed as SAMSUNG_android) as well as in my Device Manager. In device manager it says the drivers are up to date and functioning.
What have I tried?
USB Debugging (On and Off)
Clearing cache via recovery mode
Updating drivers via W7 and KIES via Samsung
I have tried following a few threads on installing the KIES software without internet connectivity. However I would rather not use the KIES Software anyway as it is kind of garbage.
I am looking to have access to the internal SD card so I can flash a new Rom on the Tab, however I would first like to even just have access to the file transferring.
Can anyone point me in the direction of help and me being able to enjoy this tablet?
I hope I have provided enough information. I am a pretty techy person and I understand how to do all of this but it seems like I am missing something really big.
Something to take note of, whenever the tab is plugged in (PC or Wall) there is a red x over the battery symbol and the tab charges very slowly.
Cheers
B
Snugglebutt said:
Basically I have no access to my tablets internal SD card via my PC (Windows 7 and KIES)
...
I am looking to have access to the internal SD card so I can flash a new Rom on the Tab, however I would first like to even just have access to the file transferring.
Click to expand...
Click to collapse
The Galaxy Tab doesn't expose the internal "sdcard" as a device that you can mount on your PC. If you enable it, it shows up as a MTD device.
The sdcard partition is formatted using a Linux native filesystem, not FAT, so Windows can't recognize it.
I use adb to push files onto the sdcard. ADB comes with the android SDK.
k1mu said:
The Galaxy Tab doesn't expose the internal "sdcard" as a device that you can mount on your PC. If you enable it, it shows up as a MTD device.
The sdcard partition is formatted using a Linux native filesystem, not FAT, so Windows can't recognize it.
I use adb to push files onto the sdcard. ADB comes with the android SDK.
Click to expand...
Click to collapse
As stated, make sure you have your tablet in MTP, and if so, make sure to update your drivers.
Settings > Storage > Additional Settings (top right) > MTP
To build on the above, if you have uninstalled Kies but also the Samsung USB drivers, you will be unable to connect the tab. Reinstall (or maybe uninstall and reinstall if you still have them) the drivers. A lot of the times that is the issue.
Go to Settings>Storage>Options/Info (The one on the upper right)>MTP(Check this one)
hope this help
FIXED
k1mu said:
The Galaxy Tab doesn't expose the internal "sdcard" as a device that you can mount on your PC. If you enable it, it shows up as a MTD device.
The sdcard partition is formatted using a Linux native filesystem, not FAT, so Windows can't recognize it.
I use adb to push files onto the sdcard. ADB comes with the android SDK.
Click to expand...
Click to collapse
To build on the above, if you have uninstalled Kies but also the Samsung USB drivers, you will be unable to connect the tab. Reinstall (or maybe uninstall and reinstall if you still have them) the drivers. A lot of the times that is the issue.
Click to expand...
Click to collapse
Ahhh ha! As soon as I uninstalled the driver that windows found and used the Google Driver that came along with the Android SDK, the tablet was recognized. Alas, I can finally use this tablet.
In the end it was as simple as a driver error, I spent a very long time searching last night and now I just feel silly.
The tablet still shows the red X over the battery symbol, whether I have MTP with USB Debugging on or off. I guess this can be avoided with certain ROMS. Anybody know of a ROM that avoids this?
Thank you all for your immediate responses!
B
Tid bit of info
H. Ess said:
As stated, make sure you have your tablet in MTP, and if so, make sure to update your drivers.
Settings > Storage > Additional Settings (top right) > MTP
Click to expand...
Click to collapse
Go to Settings>Storage>Options/Info (The one on the upper right)>MTP(Check this one)
Click to expand...
Click to collapse
By the way you two, there is no option in 3.2 for this.
In 3.2 its Applications/Development/USB Debugging
In storage there is no option to choose MTP, it seems that it always has been enabled and I cant find it anywhere in the settings to change it.
Thanks for the input though
Snugglebutt said:
By the way you two, there is no option in 3.2 for this.
In 3.2 its Applications/Development/USB Debugging
In storage there is no option to choose MTP, it seems that it always has been enabled and I cant find it anywhere in the settings to change it.
Thanks for the input though
Click to expand...
Click to collapse
For honeycomb and many others, debugging is always there. Under the storage option, you have an Additional Settings button usually and it should be present in there. I was always running3.2 until like a couple days ago so surprised its not there. Oh well problem solved lol
I'm having a similar problem with my tab not being recognised by my pc (win7 64) or in kies. It was originally an M380W (Korean) model, which I updated to a P7510. That all went fine, and the tablet works perfectly, except for the fact that my pc no longer sees it when it's plugged in. I tried uninstalling and reinstalling the drivers, but no dice. I'm going to see if adb works.

Phone Filesystem DATA is different in windows and android !!!???

To explain it simply,
My extSDCard used to have 2 folders once upon a time. Then I connected the phone to windows. Then unplug it.
Now I have renamed one of the folders from 'Pictures' to 'Pics'. And I add one extra folder with 2 GB of Data in it. This is done using Root Explorer Android App.
Now I connect the phone to windows PC. Windows still shows the original 2 folders [with one of the folders still named Pictures] and does not show the new 3rd folder, but only shows a reduction in available memory space.
What is happening!!!? Running Latest CM10.1 Nightly with Siyah Kernel.
Not sure how this problem started - I reckon its got something to do with Root Explorer. Not sure though.
You should provide a screenshot of the folder in root explorer and again in windows
Sent from my GT-I9300 using Tapatalk 2
I have had that kinda problem, don't know, but I figured out how to fix it, at least temporarily and partially, I think that's something related to MTP.
Try reboot your phone several times should help, or run media scan .
Another way to avoid this is use ADB commands to push and pull files will not not encounter this problem as far as I can tell
Sent from my GT-I9300 using xda premium
Yeah if i restart loads of times and then connect it to the PC, then the filesystem on the PC shows the updated android filesystem. But if I disconnect and make any more changes, then the same problems again...
Mr Faceless said:
Yeah if i restart loads of times and then connect it to the PC, then the filesystem on the PC shows the updated android filesystem. But if I disconnect and make any more changes, then the same problems again...
Click to expand...
Click to collapse
Run media scan or use ADB
Sent from my GT-I9300 using xda premium

[Q] connected my phone to ubuntu, all my files on external SD card are now gone

Hello!
I just updated my ubuntu to the latest version, 13.04, and I wanted to transfer some files to my Galaxy s2 (i9100). I have had problem earlier which included slow transfer speed and I got 4 dialog screens wanting me to connect both the internal and external Sd-card instead of 2.
When I tried to transfer my files to my external Sd card I got an error message,
Code:
Error creating directory: Input/output error
. I thought that it was weird but since I was in a hurry I didn't have time for it. I opened my audio map on the computer but I didn't see any files there. I thought it was just my computer being slow so I disconnected my phone.
When I later tried to listen to music I couldn't find any with Apollo so I opened a file manager and I couldn't see my files there either. I restarted my phone but the music is still not showing. I also found out that also all my pictures are gone from the external Sd-card.
The custom ROM I have is ReVolt 4.3 if that would be to any help.
That's it for using Ubuntu.Use Windows or MAC like a normal man.
GamingDj said:
That's it for using Ubuntu.Use Windows or MAC like a normal man.
Click to expand...
Click to collapse
I'm sorry, that's garbage. That's not a solution.
OP I'm sorry I don't know much about Linux, I haven't used it extensively. In what limited use I have of it, I haven't come across that error I'm sorry.
Sent from a galaxy far, far away
Have all your files gone? If so it must have got wiped during a faulty mounting procedure, I am guessing you tried to mount the device as a USB storage device, faulty cables or improper connection have been known in my experience to do that that's why I say MTP is always safer because android still has control over the memory,unlike UMS it doesn't un mount the memory when connecting to a host device.
And personally I prefer Linux over any other OS, especially ubuntu linux.
But again there could be some bugs with the latest ubuntu.
Edit: also not to alarm you input/output error usually in linux means a hardware issue related to the external memory connected. But as I said before it could be something else like improper connection or a driver error.
Sent from my GT-I9100 using xda app-developers app
king_below_my_lord said:
Have all your files gone? If so it must have got wiped during a faulty mounting procedure, I am guessing you tried to mount the device as a USB storage device, faulty cables or improper connection have been known in my experience to do that that's why I say MTP is always safer because android still has control over the memory,unlike UMS it doesn't un mount the memory when connecting to a host device.
And personally I prefer Linux over any other OS, especially ubuntu linux.
But again there could be some bugs with the latest ubuntu.
Edit: also not to alarm you input/output error usually in linux means a hardware issue related to the external memory connected. But as I said before it could be something else like improper connection or a driver error.
Sent from my GT-I9100 using xda app-developers app
Click to expand...
Click to collapse
Well, my photos have been replaced by some files with around 1 bytes in size and their name is similar to eachother.
I used the same cable and usb-port as before. I didn't know that you could use MTP on ubuntu. It seems like you have to install it yourself which I haven't done yet.
The weird thing is that I successfully conncted my external harddrive and it showed up on the computer and I managed to transfer some files to the computer. I didn't get any error message what so ever with the harddrive.
I have had this computer several years now and maybe it's time for an upgrade...
EzZn0 said:
Well, my photos have been replaced by some files with around 1 bytes in size and their name is similar to eachother.
I used the same cable and usb-port as before. I didn't know that you could use MTP on ubuntu. It seems like you have to install it yourself which I haven't done yet.
The weird thing is that I successfully conncted my external harddrive and it showed up on the computer and I managed to transfer some files to the computer. I didn't get any error message what so ever with the harddrive.
I have had this computer several years now and maybe it's time for an upgrade...
Click to expand...
Click to collapse
Replaced by small files you say? I think the files might have got corrupted, try running a disk error checking tool on your memory cards something like chkdsk(in Windows) for both your device memory, and didn't you say that you upgraded to Ubuntu 13.04? 13.04 supports MTP by default only in the previous versions were MTP a pain in the ass, we had to install the MTP library and had to install gMTP and it WAS a pain in the ass, but I haven't yet started using Raring to check how much efficient the new feature is, it will surely be polished from 13.10 onwards anyhow.
These kind of pain in the ass limitations force's me to dual boot windows with my Linux distribution(I occasionally change it).
Sent from my GT-I9100 using xda app-developers app
king_below_my_lord said:
Replaced by small files you say? I think the files might have got corrupted, try running a disk error checking tool on your memory cards something like chkdsk(in Windows) for both your device memory, and didn't you say that you upgraded to Ubuntu 13.04? 13.04 supports MTP by default only in the previous versions were MTP a pain in the ass, we had to install the MTP library and had to install gMTP and it WAS a pain in the ass, but I haven't yet started using Raring to check how much efficient the new feature is, it will surely be polished from 13.10 onwards anyhow.
These kind of pain in the ass limitations force's me to dual boot windows with my Linux distribution(I occasionally change it).
Sent from my GT-I9100 using xda app-developers app
Click to expand...
Click to collapse
I tried to run the chkdsk from windows 7 but after a while it just stopped. I will try again when I have more time on my hands. Maybe over night and see if it can find anything. Now my Audio map is gone and all the files in DCIM is called Q and have 0 bytes in size.
I did however find 2 albums that I had deleted myself in the .trash1000 map.
king_below_my_lord said:
Replaced by small files you say? I think the files might have got corrupted, try running a disk error checking tool on your memory cards something like chkdsk(in Windows) for both your device memory, and didn't you say that you upgraded to Ubuntu 13.04? 13.04 supports MTP by default only in the previous versions were MTP a pain in the ass, we had to install the MTP library and had to install gMTP and it WAS a pain in the ass, but I haven't yet started using Raring to check how much efficient the new feature is, it will surely be polished from 13.10 onwards anyhow.
These kind of pain in the ass limitations force's me to dual boot windows with my Linux distribution(I occasionally change it).
Sent from my GT-I9100 using xda app-developers app
Click to expand...
Click to collapse
Ok I have now searched my memory with these instructions. https://www.youtube.com/watch?v=KCtbHV2RKWs. It searched the whole memory but it didn't find any errors. I'd guess I'd be best off if I formatted the card again and start over.
I also checked with "chkdsk /f :f" from the command and I got the same results.
EzZn0 said:
Ok I have now searched my memory with these instructions. https://www.youtube.com/watch?v=KCtbHV2RKWs. It searched the whole memory but it didn't find any errors. I'd guess I'd be best off if I formatted the card again and start over.
I also checked with "chkdsk /f :f" from the command and I got the same results.
Click to expand...
Click to collapse
If it went through fine all must be well, formatting is a good idea though as it will probably remove any problematic data block problems.
Sent from my GT-I9100 using xda app-developers app

Categories

Resources