You are not logged in.

#1 2013-06-11 21:09:41

miromanyth
Member
Registered: 2008-05-18
Posts: 25

Nokia Lumia 920 - Windows Phone 8 will not mount

Hello!

I have a windows phone (I know I know...its a work phone) that I need to mount in Arch. It will not auto mount and doesnt show up in the 'blkid'. It should operate as a mass storage device.
My USB flash drives are mounting correctly otherwise - just the phone. Any ideas?

Thanks

Offline

#2 2013-06-11 21:14:20

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,215

Re: Nokia Lumia 920 - Windows Phone 8 will not mount

I have never seen a Windows 8 device in the wild.  What does the tail of the output of dmesg say after you connect the phone?  Does the phone require that you enable USB mass storage or, perhaps if it USB OTG, place the phone in device mode as opposed to host mode?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#3 2013-06-11 21:22:02

miromanyth
Member
Registered: 2008-05-18
Posts: 25

Re: Nokia Lumia 920 - Windows Phone 8 will not mount

this is output of dmesg | tail:


[ 2466.431685] sd 8:0:0:0: [sdc] Attached SCSI removable disk
[ 2466.606131] ISO 9660 Extensions: RRIP_1991A
[ 2480.244501] usb 1-1: USB disconnect, device number 12
[ 2483.415923] usb 2-6: new high-speed USB device number 5 using ehci-pci
[ 2560.549888] usb 2-6: USB disconnect, device number 5
[ 2569.282574] usb 2-6: new high-speed USB device number 6 using ehci-pci
[ 2936.298372] usb 2-6: USB disconnect, device number 6
[ 2989.634580] usb 2-6: new high-speed USB device number 7 using ehci-pci
[ 3108.331410] usb 2-6: USB disconnect, device number 7
[ 3113.616267] usb 2-6: new high-speed USB device number 8 using ehci-pci


...the phone settings do not have any options for changing the structure of the USB connection.

Offline

#4 2013-06-11 21:44:03

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,215

Re: Nokia Lumia 920 - Windows Phone 8 will not mount

Well, it looks like your phone is connecting as a high-speed device (good), but it would appear that it does not identify itself as providing a mass storage endpoint.

A brief look around the web leaves me with a feeling that you can browse it using Windows Explorer if you are on a Microsoft OS that is newer than Vista.   I've a bad feeling about that.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#5 2013-06-11 22:02:33

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,215

Re: Nokia Lumia 920 - Windows Phone 8 will not mount

Okay, I found this http://www.wpcentral.com/does-windows-p … se-it-does

You can share the microSD via USB, but you cannot share the internal drive for "Security" reasons.  Probably not an unreasonable design decision


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#6 2013-06-11 23:03:39

miromanyth
Member
Registered: 2008-05-18
Posts: 25

Re: Nokia Lumia 920 - Windows Phone 8 will not mount

*sighs*

Thanks for the info anyway sir. Guess I'll dual boot/vm or something smile

Offline

#7 2014-01-10 19:15:24

siddhant.sh
Member
From: India
Registered: 2014-01-09
Posts: 4
Website

Re: Nokia Lumia 920 - Windows Phone 8 will not mount

miromanyth wrote:

Hello!

I have a windows phone (I know I know...its a work phone) that I need to mount in Arch. It will not auto mount and doesnt show up in the 'blkid'. It should operate as a mass storage device.
My USB flash drives are mounting correctly otherwise - just the phone. Any ideas?

Thanks

Hi, It won't show up as a Mass Storage device. Microsoft introduced this thing known as "Media Transfer Protocol" for interfacing with portable devices. This is done for Android and Windows phones. So you should use

 libmtp 

. Then connect to the device using

 mtp-connect 

. That'll at least recognize your phone and will let you transfer photos, videos etc. I'll post a better explanation, I am in your situation myself at present.

Update- I can help you mount your phone at least-so that you can transfer media. Brute force has its own charms.

1. With libmtp installed, now install mtpfs and fuse from official repo.

2. Create a group known as fuse, and add yourself to it 

 $sudo groupadd fuse
$sudo gpasswd -a YOURUSERNAME fuse

3. Edit the fuse,conf file

sudo nano /etc/fuse.conf

The last line probably reads

#user_allow_other

Remove the "#" so you're left with:

user_allow_other

Save the file.

4. Connect your device to the pc now. Use

$ mtp-connect 

. Lots of text will come on the terminal.

5. To create the rules which allow Arch to detect the phone, create a new rule file like so:

$sudo nano /etc/udev/rules.d/51-lumia.rules

6. To get the correct idVendor and idProduct:

$mtp-detect | grep idVendor
$mtp-detect | grep idProduct

7. Add in this line of text in the rules file, with vid and pid as obtained from the last step( I have used dummy values here)

SUBSYSTEM=="usb", ATTR{idVendor}=="04e8", ATTR{idProduct}=="6860", MODE="0666"

8. Restart udev to account for the change in the rules.

$sudo udevadm control --reload

9. Then create a directory in your filesystem which you can use to access your phone.

sudo mkdir /media/WinPhone8
sudo chmod a+rwx /media/WinPhone8

10. Now to facilitate easy connect and disconnect, create these 2 aliases.

$ echo "alias phone-connect=\"mtpfs -o allow_other /media/WinPhone8\"" >> ~/.bashrc
$ echo "alias phone-disconnect=\"fusermount -u /media/WinPhone8\"" >> ~/.bashrc
$source ~/.bashrc

11. Use phone-connect command. Go to your media folder and access the media in WinPhone8 directory.

12. Disconnect after use.

Tell me if this works. It worked for me.
I got the idea from here: http://shkspr.mobi/blog/2012/01/connect … using-mtp/
and applied it for my Lumia 820.

Cheers

Last edited by siddhant.sh (2014-01-10 20:30:09)


The "sh" in my username is actually my shortened last name, and not a pseudo-geeky attempt at the shell. After 16 years of being caged by Windows, I have now decided to play with Linux and enter the world of FOSS.

Offline

#8 2014-01-10 20:07:50

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,215

Re: Nokia Lumia 920 - Windows Phone 8 will not mount

Is there a DropBox or Google Drive client for that phone?  That might be the cleanest way of moving files.  I ask, because I am pleased to admit that I have never even seen a Windows 8 phone.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

Board footer

Powered by FluxBB