You are not logged in.

#1 2017-09-24 10:45:33

zaxdan69
Member
Registered: 2016-06-04
Posts: 271

[SOLVED]Android as usb storage doesn't mount

Hello,
I was using mtp to mount android storage but I have problems because a lot of files doesn't appear with mtp. So I'm trying to mount the device as usb storage(I have android 6, but there is an option to mount it as usb device), but it doesn't work. It works if I use this option from TWRP recovery mode though.
dmesg has this output when I connect the device as usb storage:

[  168.064620] usb 1-3: new high-speed USB device number 8 using xhci_hcd
[  168.227377] usb-storage 1-3:1.0: USB Mass Storage device detected
[  168.227533] scsi host9: usb-storage 1-3:1.0
[  169.255218] scsi 9:0:0:0: Direct-Access     Linux    File-CD Gadget   0318 PQ: 0 ANSI: 2
[  169.255566] sd 9:0:0:0: Attached scsi generic sg6 type 0
[  169.256461] sd 9:0:0:0: [sde] Attached SCSI removable disk

But I cannot mount it, or see it in gparted. Anyone knows how to fix this?
Thans in advance.

Last edited by zaxdan69 (2017-09-25 12:47:58)

Offline

#2 2017-09-25 09:49:29

codedcosmos
Member
Registered: 2017-09-25
Posts: 11

Re: [SOLVED]Android as usb storage doesn't mount

What phone do you have?

Offline

#3 2017-09-25 09:56:16

zaxdan69
Member
Registered: 2016-06-04
Posts: 271

Re: [SOLVED]Android as usb storage doesn't mount

It is a cubot note S.  It has support for mount as usb storage, so it should work. It's working from recovery as I mentioned above.

Offline

#4 2017-09-25 11:41:39

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: [SOLVED]Android as usb storage doesn't mount

MTP is awful. Try e.g. SimpleSSHD on the Android as an SSH server, then should be able to mount its filesystem using SSHFS.

Last edited by brebs (2017-09-25 11:44:05)

Offline

#5 2017-09-25 12:41:37

zaxdan69
Member
Registered: 2016-06-04
Posts: 271

Re: [SOLVED]Android as usb storage doesn't mount

I tried to configure sshfs but I couldn't and I read that simplesshd doesn't support write to sd card. So I prefer to use usb storage if it' s possible to fix it.
EDIT:
I just rebooted the device and now I can connect it as usb storage. It wasn' t arch linux' s fault after all. The problem was that the device didn't popup the dialog to activate usb mass storage. After the reboot it did and after the activation mounted automatically from arch linux. So the issue is solved.

Last edited by zaxdan69 (2017-09-25 12:47:42)

Offline

Board footer

Powered by FluxBB