N4 USB mass storage - Nexus 4 Q&A, Help & Troubleshooting

I read it is not possible to do USB mass storage on the N4 because you would need position to be fat32.. and read that if you do enable it you couldn't read the partition on windows as it's ext4..
I run Linux so I can read ext4 no problem.. so is there a way to enable USB mass storage to use in Linux?
I hate the options we have for USB support to transfer files as half the time it don't work in Linux, and if I use on windows on other people's computers you need to download drivers..
USB mass storage you don't need any special drivers..
I doubt it, but hopefully when nexus 5 comes out they will give us an SD card slot and USB mass storage!

urhaxable said:
I read it is not possible to do USB mass storage on the N4 because you would need position to be fat32.. and read that if you do enable it you couldn't read the partition on windows as it's ext4..
I run Linux so I can read ext4 no problem.. so is there a way to enable USB mass storage to use in Linux?
I hate the options we have for USB support to transfer files as half the time it don't work in Linux, and if I use on windows on other people's computers you need to download drivers..
USB mass storage you don't need any special drivers..
I doubt it, but hopefully when nexus 5 comes out they will give us an SD card slot and USB mass storage!
Click to expand...
Click to collapse
Won't happen for Nexus 5. SD cards are not liked by Matias Duarte. And I think they've fully have moved to MTP. I do feel your pain win Linux. But you can get MTP to work. I have it working on my Ubuntu machine
Sent from my Nexus 4 using Tapatalk 4

I am using Kubuntu 13.10 and MTP is working very really well without issues, first Ubuntu version that have it working right for me.
You can also try Go-mtpfs which will mount the drive and you can manipulate the files just like UMS and using syncing app, but its not entirely bug free as of now: http://www.webupd8.org/2012/12/how-to-mount-android-40-ubuntu-go-mtpfs.html

I had mtp working, but seems only pictures and videos transfer.. no other file types..
Maybe I had something wrong..

urhaxable said:
I had mtp working, but seems only pictures and videos transfer.. no other file types..
Maybe I had something wrong..
Click to expand...
Click to collapse
Same here. I figured maybe I missed something. I have connected it using MTP and PTP. It will only allow transfer of pictures. I really need to know how to transfer files from computer to my phone. If I select zip to transfer it says not compatible. If I am connected to laptop and using Nexus 4 Toolkit, it recognizes the device, still can't manually transfer files though.

I've only been using Ubuntu for about a week and I'm having no trouble with transferring files via MTP. You need the Android SDK installed, just google it, I don't have a link. It seems to freeze up if I try to copy multiple large files, like a ROM plus Gapps for example, but it's fine if I copy them one at a time.

Related

[REQUEST] Add legacy mount option

Would it be possible to patch a USB mass storage option back into Honeycomb? The new MTP method doesn't work right now for Ubuntu users and has been a pain for some Mac users.
Read and search firstly... Other user can,mount as mass storage after disabling usb debugging option in settings
Sent from my GT-P7500 using XDA Premium App
Search and read firstly, that is Windows only.
Sent from my GT-P7510 using XDA Premium App
Live2Follow said:
Search and read firstly, that is Windows only.
Sent from my GT-P7510 using XDA Premium App
Click to expand...
Click to collapse
Pershoot is going to be working on this when he gets back from vacation I believe. Device will should be seen as USB mass storage in USB debugging mode
Please do not ask Questions or place Problem Threads in the Development Area
Development is for Development
Moving to General
used2hvatreo said:
Pershoot is going to be working on this when he gets back from vacation I believe. Device will should be seen as USB mass storage in USB debugging mode
Click to expand...
Click to collapse
Ahh that's good. Just hoping that someone was working on it.
BlackOtaku said:
Would it be possible to patch a USB mass storage option back into Honeycomb? The new MTP method doesn't work right now for Ubuntu users and has been a pain for some Mac users.
Click to expand...
Click to collapse
It isn't possible without a massive rearchitecture. The Tab has a single internal memory store formatted as ext4, so it can't be easily exported as USBMS for two reasons:
1) The filesystem is only easily readable by Linux boxes (USB mass storage exports the raw disk partition, not files)
2) Since it's one unified filesystem, it's difficult if not possible to unmount the filesystem so it can be accessed by a remote host
I believe Pershoot's solution uses adb push/pull to emulate mass storage. FYI Windows people can look at Droid Explorer, which, as I understand it, uses adb to browse the device filesystem.
The Windows solution linked above is just integration of an MTP client into the Windows Explorer shell - it isn't USB mass storage.
Edit: FYI, any platform that has ADB support (Linux, Windows, fairly certain MacOS) can send/receive files to/from our device using ADB push/pull. This is how I've been loading media into my device so far, although it could get annoying/slow for lots of small files like a music collection.

[Q] Please Educate about USB Storage Limits

OK, to get to this message, I had to read a warning about getting banned if not a developer thread.
Well, this is. Sort of.
I posted a question in the general forum and commented on the same subject in the Q&A forum. I think I know my answer but I would like to know why this problem exists.
I just got my tablet Friday evening. I figured it all out and was able to use external storage on drives and USB sticks. When I try to connect my phone as a disk drive, no files.
I am assuming that access to these files is for lack of root access, which I am not going to get because I immediately let it update to 3.2.
So, could someone tell me if lack of root is the answer and why? The phone does instantly show up as a disk drive on XP and Windows 7.
Thanks, and moderators, please don't kick me out.
Did you try mounting your phone, if you can? And yes root it would be easier with the usb mount app, or just use an app like es file explorer that can go into the root section without root then go to mnt and in one of those files should be your phone files, because i have an env touch and i use usb mass storage and it shows up on my iconia
Thanks. Yes, I did see the folder MNT but it did not show up. Using my usual file explorers, I can see the internal storage and the SD card. The next entry is the USB STORAGE where I find no files when the phone is connected.
If I connect an external drive or usb memory device, I can access all the files. When I connect the phone as a drive I see that nothing is there.
When I connect these same devices to my home pc running Win 7 and laptop with XP, they all connect the same way.
There is something in the OS that is not letting my tablet file system see my phone file system.
Thanks for the reply, I'll keep my eye on this thread.
I'm having the same problem, i can import photos or videos from the phone when the phone is on mtp mode (media transfer protocol) but when in file transfer mode (msc) nothing shows up in the mnt folder or in drive mount app. i'm running taboonay 2.2 with villain kernel. It works fine with external hdd ntfs or fat. When connecting the phone to my computer i had to install a driver from windows update and it shows as an xperia arc, do i also need a driver in my tablet? Has anyone already connected and android phone to an android tablet in mass storage mode?
Sent from my A501 using XDA App
Not sure Root has anything to do with it. I'm rooted on both phone and tab , and have no access to the files on my phone. When in "disk drive" mode, all it does is "charge".

How annoyed are you by MTP?

I am thinking of getting the M, but it appears the device uses MTP when you connect it a PC. I am coming from ThunderBolt, and certainly enjoyed simply mounting the SD card in Windows, then copying whatever I wanted in and out. I even recovered some files that I accidentally deleted. I would also copy files to the phone for books (in random formats) , apps (apk), videos, photos etc.
Judging by the name I would guess you can copy MP3s to phone under MTP. Can you copy other types of files? Is there a way to just mount the internal storage in Windows? Thanks!
Sent from my ThunderBolt using Tapatalk 2
You should be able to copy everything, if you double click on the device in Explorer (on Windows, anyway). It should give you a display of all the folders on the device, I think.
But yes, MTP sucks. For whatever reason, it simply doesn't work with my current phone. Even on a fresh clean install of Windows 7, the driver will not install, and this is seen across multiple computers, stock ROMs and custom ones. I haven't been able to transfer data to or from my phone using the USB cable in ages. I can do it over WiFi, thankfully, and I can also just pop out the microSD card if needed, but MTP still frustrates me to no end.
It works with my tablet just fine, though, so it's the Motorola driver that's messed up.
Engadget review also reported a failure to install drivers for MTP on one of their test machines, despite best efforts to trouble shoot.
Is there even a benefit to MTP? To me it sounds like pure pain.
Sent from my ThunderBolt using Tapatalk 2
cowisland said:
I am thinking of getting the M, but it appears the device uses MTP when you connect it a PC. I am coming from ThunderBolt, and certainly enjoyed simply mounting the SD card in Windows, then copying whatever I wanted in and out. I even recovered some files that I accidentally deleted. I would also copy files to the phone for books (in random formats) , apps (apk), videos, photos etc.
Judging by the name I would guess you can copy MP3s to phone under MTP. Can you copy other types of files? Is there a way to just mount the internal storage in Windows? Thanks!
Sent from my ThunderBolt using Tapatalk 2
Click to expand...
Click to collapse
Why would you be annoyed at all, you can just mount the device as Mass Storage (just like the Thunderbrick) and move files that way. MTP is not an issue.
jimmydafish said:
Why would you be annoyed at all, you can just mount the device as Mass Storage (just like the Thunderbrick) and move files that way. MTP is not an issue.
Click to expand...
Click to collapse
That's the answer I was hoping for, thank you! One last question : how do you mount the device as mass storage, using the standard Android dialog that shows up in the notification bar?
Please be patient with me, I don't have the phone yet.
Finally, my Thunder hasn't bricked yet, but it's getting close...
Sent from my ThunderBolt using Tapatalk 2
cowisland said:
That's the answer I was hoping for, thank you! One last question : how do you mount the device as mass storage, using the standard Android dialog that shows up in the notification bar?
Please be patient with me, I don't have the phone yet.
Finally, my Thunder hasn't bricked yet, but it's getting close...
Sent from my ThunderBolt using Tapatalk 2
Click to expand...
Click to collapse
It simply gives you the option when you plug it in - you can choose to mount it as usb storage, or mtp.
jntdroid said:
It simply gives you the option when you plug it in - you can choose to mount it as usb storage, or mtp.
Click to expand...
Click to collapse
Not anymore! Since the JB update, the USB mass storage option is gone! This pisses me off since I need that to connect to my vehicle's audio system. WTF would they remove that feature?!
Yeah. It makes me angry... I hate mtp. Gawd Google y u no usb mass storage?!? ¡¿¡
Sent from my XT907 using Tapatalk 2
I've never had this problem -- until I upgraded to KK. Now my work PC will not allow me to install the MTP driver. Haven't tried yet on my home pc, but I am not optimistic. Come on! Some genius hacker dude out there has to have figured this one out by now!
Wi-Fi file explorer is my method of choice.
Sent from my XT907 using XDA Free mobile app
I do not get it. My Maxx mounts what appears to be MTP but when in click on the phone icon in Win7 (actually Parallels desktop on a Mac) the internal SD is mounted! Just like before. That is with 444. So is 442 way different on the older msm8960s?
Now on a Mac it is doodoo.
I can access both SD cards from PC without any problem in MTP mode. I installed the drivers while I was on JB I think
mrkhigh said:
Wi-Fi file explorer is my method of choice.
Sent from my XT907 using XDA Free mobile app
Click to expand...
Click to collapse
I used to use that on my old phone but forgot about it. I'll have to give it another go. Thanks for the reminder.

[Q]Transferring files on cm9/10?

I have been trying to search the forum but having no luck. I switched from cm7 to cm10 recently and I am looking for a way app/utility whatever to have my sd card mount on my pc when I plug in usb so I can transfer files to my storage partition. I was using USB Mass Storage Watcher app(I think it was called) before, but it doesn't like cm10 very much. If there is no way to see usb connection from android to pc, what would be the next best option?
Hedgerow said:
I have been trying to search the forum but having no luck. I switched from cm7 to cm10 recently and I am looking for a way app/utility whatever to have my sd card mount on my pc when I plug in usb so I can transfer files to my storage partition. I was using USB Mass Storage Watcher app(I think it was called) before, but it doesn't like cm10 very much. If there is no way to see usb connection from android to pc, what would be the next best option?
Click to expand...
Click to collapse
That setting is built into CM10. Go to storage, then hit menu and USB configuration pops up. Select that. Select mass storage and back out. Now when you connect to PC both emmc and sdcard should show up as disk drives. The only app that I might use with that is my modified NookColorUMS app that I modified to work on CM9. It also works on CM10. Get it on my tips thread linked in my signature. And read about it in the second post in that thread. It allows you to mount any partition you want with UMS.
You might also look into using one of the transfer-over-wifi apps to get your data files onto Nook, I use WifiFileExplorer to this effect and never hassle with USB cords/connexions. Quick and sees everything.
Anniraff said:
You might also look into using one of the transfer-over-wifi apps to get your data files onto Nook, I use WifiFileExplorer to this effect and never hassle with USB cords/connexions. Quick and sees everything.
Click to expand...
Click to collapse
Love Wifi File Explorer Pro. I haven't taken an sd card out of my devices in months.
Thanks
Beautiful, I didn't think to hit menu after I was in the storage settings. I'll check out the wifi explorer too. Thank you guys!

[Q] Nexus 4 slow file transfer[Windows][Stock ROM]

Has anyone tried using MTP transfer?
I'm trying to copy some files from the phone to the computer but it seems impossible through MTP.
What other methods you can use to transfer files?
I had to use adb pull command to pull all my data before i unlock the bootloader. I'm assuming that custom ROMs will let you connect the phone as an external storage device but what about people who don't/can't install custom rom? Do they have to live with those slow MTP speeds while transferring something to the phone?
justFaisal said:
Has anyone tried using MTP transfer?
I'm trying to copy some files from the phone to the computer but it seems impossible through MTP.
What other methods you can use to transfer files?
I had to use adb pull command to pull all my data before i unlock the bootloader. I'm assuming that custom ROMs will let you connect the phone as an external storage device but what about people who don't/can't install custom rom? Do they have to live with those slow MTP speeds while transferring something to the phone?
Click to expand...
Click to collapse
i had that issue with a GS3 and someone told me to try a different usb port on my computer. so i did and everything transferred much faster like it should.
s10shane said:
i had that issue with a GS3 and someone told me to try a different usb port on my computer. so i did and everything transferred much faster like it should.
Click to expand...
Click to collapse
I tried everything and the only way i could get adequate speed was from adb.
I'm wondering why google didn't include external storage as an option to connect (in 4.2.2, i assume it's a software feature) like there is in some other phones that does not have sd card slot.
I don't think anything can fix MTP. It's so slow, that I have to use adb to transfer Clockworkmod backups.
I hate MTP so much.
The reason there's no mass storage option is because the geniuses at either LG or Google decided it was a good idea to make external storage a folder in /data/ rather than have a dedicated /sdcard/ partition.
Slow transfers with MTP on Nexus 4
** Note: You need a OTG cable with a power connector & ROOT
Nexus 4 - Stock ROM 4.3 ROOTED.
OTG cable with power connector
USB patch
StickMount app
An earlier version of Directory Opus (sorry, the trial expired and I did not note the exact version) seemed to do a good job of transferring files from the Nexus to the PC (Win 7), but when I tried it on another computer and it no longer worked (transfer stopped before it actually completed).
I tried the following and it worked for me:
Check these links:
http://www.androidcentral.com/android-advanced-usb-otg-nexus-4
http://forum.xda-developers.com/nexus-4/orig-development/usb-otg-externally-powered-usb-otg-t2181820
Use the patch that is suitable for your rom.
install StickMount, connect the usb otg cable to portable drive (in my case a seagate 320 GB Freeagent), the power, and then the phone.
The drive is mounted under /sdcard/usbstorage/sd1
You may need the ntfs-3g file from Chainfire's site.
Transfers were at 7 to 8 MBps from the Nexus to the portable drive [NO PC/Windows involved]. This is better than MTP and DirectoryOpus [when it worked] which was at around 4MBps.
The other option is to use SuperBeam app.
DirectoryOpus might work, but you probably need the right combination of MTP drivers, DirectoryOpus version and Windows version.

Categories

Resources